ReportWire

Category: Humor

Humor | ReportWire publishes the latest breaking U.S. and world news, trending topics and developing stories from around globe.

  • John Deering for Nov 27, 2023 – John Deering, Humor Times

    John Deering for Nov 27, 2023 – John Deering, Humor Times

    John Deering is chief editorial cartoonist for the Arkansas Democrat-Gazette, the state’s largest newspaper. Five times a week, his cartoon comments entertain (or sometimes enrage) readers throughout Arkansas, in Washington, D.C., and across the country.

    Winner of the National Press Foundation’s 1997 Berryman Award, Deering also gained top honors in the 1994 national John Fischetti Cartoon Competition and was the seven-time winner of the Arkansas Press Association’s Best Editorial Cartoonist award.

    Deering’s work is collected in two books: Deering’s State of Mind (1990) and We Knew Bill Clinton … Bill Clinton Was a Friend of Ours (1993, with Vic Harville). He is a 14-year member of the American Association of Editorial Cartoonists.

    Born in 1956 in Little Rock, Deering has been drawing since his childhood fascination with science fiction and dinosaurs — subjects he made into comic books. After studying art with Truman Alston, Deering focused on commercial and fine art at the University of Arkansas at Little Rock. Along the way, he found his strength in interlocking art with comment.

    At the Democrat-Gazette, Deering advanced from layout artist to editorial cartoonist in 1981-82. His promotion to chief editorial cartoonist in 1988 made his cartoons the state’s best-known. Deering also creates the comic panel Too Much Coffee.

    He and his wife, Kathy, have a daughter and two sons, and live in Little Rock. He still draws dinosaurs.

    Check out his comic strips, Zack Hill and Strange Brew.

    John Deering

    Source link

  • Zero Failures

    Zero Failures

    Parsing strings into other data types is always potentially fraught, what with the edge cases and possible errors. This is why most languages provide some kind of helper methods that try and solve those hard problems.

    C# has a number of them. One, for example, would be Int32.Parse– it attempts to parse a string into an integer, and throws an exception when it fails. Similarly, there’s an Int32.TryParse function, which avoids throwing an exception and returns an error code instead.

    Which brings us to this code, from A Barker.

    public int Pieces
    {
        get {
            int p;
            Int32.TryParse(PiecesTextBox.Text, out p);
            if (p != null)
            {
                return p;
            } else {
                return 0;
            }
        }
        set {
            PiecesTextBox.Text = value.ToString();
        }
    }
    

    So, the first, and most fundamental problem with this code, is that it’s not really a property, in the sense that the language intends it to be. It wraps a text box up as an integer, which is always going to be a fraught and problematic way to handle values in your view. Program state and view state are honestly different things, and should be compartmentalized. Also, minimize logic in properties, because when you assume something is an accessor but is actually doing complicated calculations, you’re asking for problems in debugging.

    That’s a bad design choice. But also, this code is wrong, but will fortunately still work the same way as code that’s right.

    ints, in C#, are “value types”. They are not references, and cannot ever be null. if (p != null) is a meaningless operation- it could never be false. TryParse‘s behavior is that it will attempt to parse the input, and if it fails, it sets the output to the default for its type and returns an error code.

    In other words, you could remove the if/else and the behavior of the code would be unchanged: try and parse the text box, and if you fail, just treat it like a zero. I suppose I should say the behavior is almost unchanged, since the compiler doesn’t optimize out that pointless condition, at least in my testing.

    Remy Porter

    Source link

  • Sit

    Sit

    Tags: humor

    2467 points, 86 comments.

    Source link

  • John Deering for Nov 25, 2023 – John Deering, Humor Times

    John Deering for Nov 25, 2023 – John Deering, Humor Times

    John Deering is chief editorial cartoonist for the Arkansas Democrat-Gazette, the state’s largest newspaper. Five times a week, his cartoon comments entertain (or sometimes enrage) readers throughout Arkansas, in Washington, D.C., and across the country.

    Winner of the National Press Foundation’s 1997 Berryman Award, Deering also gained top honors in the 1994 national John Fischetti Cartoon Competition and was the seven-time winner of the Arkansas Press Association’s Best Editorial Cartoonist award.

    Deering’s work is collected in two books: Deering’s State of Mind (1990) and We Knew Bill Clinton … Bill Clinton Was a Friend of Ours (1993, with Vic Harville). He is a 14-year member of the American Association of Editorial Cartoonists.

    Born in 1956 in Little Rock, Deering has been drawing since his childhood fascination with science fiction and dinosaurs — subjects he made into comic books. After studying art with Truman Alston, Deering focused on commercial and fine art at the University of Arkansas at Little Rock. Along the way, he found his strength in interlocking art with comment.

    At the Democrat-Gazette, Deering advanced from layout artist to editorial cartoonist in 1981-82. His promotion to chief editorial cartoonist in 1988 made his cartoons the state’s best-known. Deering also creates the comic panel Too Much Coffee.

    He and his wife, Kathy, have a daughter and two sons, and live in Little Rock. He still draws dinosaurs.

    Check out his comic strips, Zack Hill and Strange Brew.

    John Deering

    Source link

  • Mike Luckovich for Nov 24, 2023 – Mike Luckovich, Humor Times

    Mike Luckovich for Nov 24, 2023 – Mike Luckovich, Humor Times

    Mike Luckovich of the Atlanta Constitution received two amazing honors in 2006, winning both a Pulitzer Prize and the Reuben award for Outstanding Cartoonist of the Year. This was the second Pulitzer for Luckovich; his first was awarded in 1995. He had previously received the Reuben award for Editorial Cartooning in 2001, but this was his first time to be named the overall outstanding cartoonist by a group of his peers. The Reuben awards are distributed each year by the National Cartoonists Society and are considered professional cartooning’s highest honor.

    Impressive as these achievements are, they are only the latest in a long line of awards for Luckovich. He was a runner-up for the Pulitzer in 1987 before garnering the 1995 win.  In 1989, he won the Overseas Press Club’s award for the “Best Cartoons on Foreign Affairs for 1989,” and in 1991, he was awarded the National Headliners award for editorial cartoonists. In 1994, a Luckovich cartoon was selected by voters in a Newsweek magazine poll as one of the four best editorial cartoons of the year.

    After freelancing and selling life insurance to make ends meet following his graduation from the University of Washington in 1982, Luckovich landed his first cartooning job at the Greenville News in South Carolina. After nine months at the News, Luckovich was hired by The Times-Picayune in New Orleans, where he stayed for four years before moving on to Atlanta.

    Luckovich’s cartoons, syndicated nationally by Creators Syndicate, appear in more than 350 daily publications, including The Washington Post,The San Diego Union-Tribune, The Denver Post, Newsday, New York Post, The Cleveland Plain-Dealer, The Dallas Morning News, the Boston Globe, the Seattle Times, the Los Angeles Times, the Chicago Tribune, the Nashville Tennessean and the Houston Chronicle, and are reprinted regularly in Time, Newsweek and the New York Times.

    Luckovich and his wife, Margo, have four children. His hobbies include exercising and collecting unique ties.

    Mike Luckovich

    Source link

  • Cthulhu Turkey: Weird American Thanksgiving Dish

    Cthulhu Turkey: Weird American Thanksgiving Dish

    Americans are weird people. They eat the craziest things. Like Cthulhu turkey. It’s an octopus stuffed inside a turkey, sitting on top of crab legs, and sometimes garnished with bacon strips. What’s Cthulhu? It’s a monster created by H.P. Lovecraft first introduced in his short story The Call of Cthulhu in 1928.

    Happy Thanksgiving and enjoy some Cthulhu turkey!

    Happy Thanksgiving and enjoy some Cthulhu turkey!

    Happy Thanksgiving and enjoy some Cthulhu turkey!

    Happy Thanksgiving and enjoy some Cthulhu turkey!

    Happy Thanksgiving and enjoy some Cthulhu turkey!

    Happy Thanksgiving and enjoy some Cthulhu turkey!

    Happy Thanksgiving and enjoy some Cthulhu turkey!

    Happy Thanksgiving and enjoy some Cthulhu turkey!

    Happy Thanksgiving and enjoy some Cthulhu turkey!

    Happy Thanksgiving and enjoy some Cthulhu turkey!

    Happy Thanksgiving and enjoy some Cthulhu turkey!

    Happy Thanksgiving and enjoy some Cthulhu turkey!

    Happy Thanksgiving and enjoy some Cthulhu turkey!

    Happy Thanksgiving and enjoy some Cthulhu turkey!

    Happy Thanksgiving and enjoy some Cthulhu turkey!

    Happy Thanksgiving and enjoy some Cthulhu turkey!

    Happy Thanksgiving and enjoy some Cthulhu turkey!

    Happy Thanksgiving and enjoy some Cthulhu turkey!

    Happy Thanksgiving and enjoy some Cthulhu turkey!

    Happy Thanksgiving and enjoy some Cthulhu turkey!

    Happy Thanksgiving and enjoy some Cthulhu turkey!

    If you’d like to find out more about Cthulhu, check out H.P. Lovecraft’s book The Call of Cthulhu on Amazon. Please note that this site is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate affiliate we earn from qualifying purchases.

    liver

    Source link

  • How To Eat Healthy In Just 3 Bites

    How To Eat Healthy In Just 3 Bites

    Eating right is a great way to boost your immune system as well as your mental health, but changing your habits and sticking to a regimen can be daunting. Fortunately, you don’t have to do any of that hard work, if you follow The Onion’s tips for eating healthy in just three bites.

    Source link