ReportWire

Category: Humor

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

  • Just Beastly

    Just Beastly

    [ad_1]

    Not to be outdone by Michael R., another prolific
    participant styles himself The Beast In Black.
    A handful of his experiences follow here. [psst. Mr Black.
    Check out this explanation of a
    half-closed interval)

    Buyer Beast bemoans
    "I knew that the global situation was bad, but
    when Amazon starts offering disdiscounts (or
    discountcounts, perhaps?) you know that the
    world is truly up the toilet without a paddle roll."


     

    Norse Beast had a dinner date in Oslo?
    "I've heard that that location is a nice place to visit
    or meet up, but you wouldn't want to live there."

    02

     

    Past Beast predicted we'd post this after the events
    in question out of an abundance of caution, lest we provoke
    a paradox and disappear in a flash of logic. He was right.
    "This malware scanner works to detect malware from the
    future too (the screenshot is from 2024-02-16)", he explained.
    It finds <0days! (Or. Maybe it creates them.)

    03

     

    Speaking of paradoxes, Gamer Beast should ask Zeno
    why it's taking so long. But he's blaming F. Ross Johnson.
    "Given this level of Lehman-Brothers-level money
    math, no wonder we still haven't got Half Life 3."

    04

     

    And now that we have reached the end of this week's treats,
    a timely comment on progress.
    "It looks like the Microsoft devs
    have dipped their toes into hacking
    on Linux – here the time remaining stayed at 0.0ns and the
    progress stayed at 100 percent while the bandwidth
    numbers slowly went to almost (but not quite) 0 b/s
    over a good few seconds.
    "

    05

     

    [Advertisement]
    Utilize BuildMaster to release your software with confidence, at the pace your business demands. Download today!

    [ad_2]

    Lyle Seaman

    Source link

  • Foreign Guy Slamming Diet Cokes At Bar Absolutely Dominating Pool Table

    Foreign Guy Slamming Diet Cokes At Bar Absolutely Dominating Pool Table

    [ad_1]

    PHILADELPHIA—Noting that the quiet, intense individual clearly came to win, locals at Gelman’s Tap reported Wednesday that a foreign guy was slamming Diet Cokes and dominating the pool table. “I’m not exactly sure who that guy is, but he doesn’t speak much English, he got here exactly when the place opened at six, and he hasn’t relinquished the table since,” said customer Joey Shattuck, adding that the man paid only in cash, refused to drink a drop of alcohol, and repeatedly screamed at himself in a “Baltic-sounding language” whenever he missed a ball. “He pointed his stick at me, chugged an entire Diet Coke, and proceeded to sink every single ball without saying another word. I think the whole game lasted about two minutes. I still don’t know his name.” At press time, patrons had reportedly decided to move on to playing darts after the foreign guy looked at everyone, slapped a $20 bill on the table, and asked if they wanted to start betting money.

    [ad_2]

    Source link

  • “Just Stop Oil” Meme: The Weird Logic Behind Their Actions

    “Just Stop Oil” Meme: The Weird Logic Behind Their Actions

    [ad_1]

    How exactly throwing paint at artwork is going to help stop climate change and to switch away from fossil fuels? Can somebody please explain?

    The post “Just Stop Oil” Meme: The Weird Logic Behind Their Actions first appeared on Crazy Funny Pictures.

    [ad_2]

    liver

    Source link

  • ‘Fluent In Finance’: 55 Posts And Memes About The Nightmare That Is Economy At The Moment

    ‘Fluent In Finance’: 55 Posts And Memes About The Nightmare That Is Economy At The Moment

    [ad_1]

    J.P. Morgan’s outlook for 2024 said that it will probably be the year when the U.S. consumer will begin to bend, although not yet break.

    There are quite a few reasons why they believe this: diminished excess savings, plateauing wage gains, the restart of student loan payments, an uptick in subprime auto and millennial credit card delinquencies… The list goes on.

    But to find out what the people think of the economy and how they’re navigating its challenges, the subreddit r/FluentInFinance is the place to jump into. With 326K members, this vibrant community is a hub for insightful discussions, advice, and, most importantly, memes on all things money.

    [ad_2] Dominyka
    Source link

  • Extended Models

    Extended Models

    [ad_1]

    If I’m being completely honest, I’m mildly anti-ORM. I’m not about to go on a rampage and suggest they should absolutely, never, ever, ever be used, but I think they tend to create a lot of problems. Instead of being a true mapping between our object model and our relational model, they’re their own tool, with its own idosynchracies, and a lot of “magic” that conceals its actual operation. For simple applications, they’re great, but once you start getting into something more complicated than basic CRUD operations, you’re in for a world of hurt. And that’s before someone makes a mistake with eager vs. lazy fetching.

    Today’s anonymous submission offers us a good example of another way the mismatch can go wrong between objects and relations.

    class Category_Product_Model extends Product_Model {
      protected $table_name = "categories_products";
    }
    

    Product_Model is the model for our products in our ecommerce solution. Category_Product_Model is the join between products and categories. In no sane world would we consider Category_Product_Model a subclass of Product_Model– this implies that we can use a Category_Product in place of a Product. How much would you charge for a link between a product and it’s category? I happen to know that Legos belong in both the “toy” category and the “model building” category- what price would you put on that information? Who’s the vendor? (Me, I guess?) How many of those links do I have in inventory? Why… as many as you like. It’s just information.

    There are a few reasons this code might be like this. The most likely, I think, is that someone just didn’t care. It’s all models, pick one, inherit off it, and move on to the next. But there’s another reason, which would be so much worse.

    You see, they could have put functionality into Product_Model. It could be more than a simple model object, and have helper functions- helper functions which Category_Product_Model also wants to use. Instead of doing the right thing and refactoring that functionality out of the models, someone decided that inheritance was a convenient way to inject useful functionality into classes.

    Our anonymous submitter points out that this code had been in production for seven years by the time they found it, and this use of “creative subclassing” was rampant throughout their data model.

    [Advertisement]
    Otter – Provision your servers automatically without ever needing to log-in to a command prompt. Get started today!

    [ad_2]

    Remy Porter

    Source link

  • Ghost Baby

    Ghost Baby

    [ad_1]

    “Mom took me to have my picture taken and this is what she got back. To this day we have no clue who the ghost baby is.”

    (submitted by Dawnique)

     

    The post Ghost Baby appeared first on AwkwardFamilyPhotos.com.

    [ad_2]

    Team Awkward

    Source link

  • ‘Spaceballs’ sequel announced with Brooks and Gad teaming up

    ‘Spaceballs’ sequel announced with Brooks and Gad teaming up

    [ad_1]

    Say what you want about Hollywood being unoriginal, I’m all ears. But the Spaceballs sequel is happening no matter what fans think. According to Variety, Amazon MGM has ordered a follow-up to the 1987 Star Wars parody.

    The good news is that Mel Brooks will produce. No plot details have been released, so it’s hard to tell what this movie will actually be about. But we can do what we do best and speculate wildly!

    [ad_2]

    Zach

    Source link

  • Nvidia

    Nvidia

    [ad_1]

    Workers install cooling fans on a supercomputer that will train Tesla’s new Autopilot. The supercomputer will consist of 50 thousand Nvidia H100 accelerators. Such a data center requires approximately 75 megawatts of electricity. Located in a gigafactory in Texas.

    [ad_2]

    Source link

  • 9gaggers…

    9gaggers…

    [ad_1]

    Tags: wholesome, meme, girl, hottie, humor

    7177 points, 293 comments.

    [ad_2]

    Source link

  • Mostly In One Line

    Mostly In One Line

    [ad_1]

    Today's a day for a smorgasbord. We're going to start with a classic kind of bad code, from astephens:

    pbUpdates.Value = int.Parse(Math.Truncate(percentage).ToString());
    

    Here, we want to truncate a floating point down to an integer, but take a trip through a string to do it. Why? Probably because the person responsible knew about int.Parse but not how to actually cast.

    Thomas's predecessor had a solid idea of where exceptions come from:

    Try
        ' snip
    Catch ex As Exception
        Me.Response.Write("error in my code " & ex.ToString())
        Me.Write_error(ex)
    End Try
    

    I appreciate the honesty: your code is bad.

    Sylnsr wonders if this stored procedure has anything to do with generating reports?

    this.sqlDataSource1.SelectCommand = "rptGetVoidReportDataForReport";
    

    Nah, couldn't be- it says void in the name, so it obviously doesn't return anything.

    Finally, Adam wonders exactly what is left to do on this one:

    pdfBytes = pdfConverter.GetPdfBytesFromUrl(urlToConvert);   //TODO: This is the code we want to use.
    

    TODO? Or TODONE?


    .comment { border: none; }

    [Advertisement]
    Keep the plebs out of prod. Restrict NuGet feed privileges with ProGet. Learn more.

    [ad_2]

    Remy Porter

    Source link

  • Surgeon General Calls For Social Media Warning Labels

    Surgeon General Calls For Social Media Warning Labels

    [ad_1]

    U.S. surgeon general Vivek Murthy has called for warning labels on social media platforms similar to those on tobacco or alcohol, stating that social media preys on developing brains and contributes to excessive use. What do you think?

    “He’s going to lose a lot of followers over this.”

    Max Welch, Nougat Expert

    “Isn’t Jake Paul enough of a warning?

    Alyssa Lindestaf, Ambling Instructor

    “Sounds like someone needs to unfollow his ex.”

    Lukas Vicenik, unemployed

    [ad_2]

    Source link

  • “Trying To Discreetly Record My Stalker”: Mom Spied On For A Month Finally Identifies Stalker

    “Trying To Discreetly Record My Stalker”: Mom Spied On For A Month Finally Identifies Stalker

    [ad_1]

    A woman shared the disturbing moment when a stranger spied on her through her window while she was feeding her baby boy.

    Lissa secretly recorded the man as he looked through the window, his hands and face pressed against the glass. 

    “I wish this was a joke, but it isn’t. Almost a month of being followed and watched. #stalker,” the alarmed mother-of-two captioned the video, which has been viewed nearly 29 million times since it was posted on Saturday (June 15).

    Highlights

    • Lissa recorded a stranger pressing his face and hands against the window while she was feeding her baby.
    • Police did not take Lissa’s statement or watch her video, the mother-of-two said.
    • Lissa later identified the stalker as Angelo Tyrone Cooper, a convict arrested for assaulting and raping five women in 2005.

    In a follow-up clip, Lissa explained that the video was taken at a Ronald McDonald House, where she’s currently staying. The program provides housing for families with hospitalized children so they can stay close to their kids at little to no cost.

    Image credits: heyy.itslissa

    Image credits: heyy.itslissa

    The 18-year-old’s first encounter with the stalker took place when she went with her family to McDonald’s. After her husband left to order food, the man approached Lissa, telling her that he had seen her in the dining room of the housing program.

    The man added that he was also staying at a Ronald McDonald House and asked the mom where her husband was.

    “I pointed to my husband cause he was walking over now, and the guy stopped talking after that and started slowly walking backwards.

    “It was a really odd situation. It wasn’t until the next day that I saw him in the window.”

    “I wish this was a joke, but it isn’t. Almost a month of being followed and watched,” Lissa captioned the video

    @heyy.itslissa (THIS IS NOT MY HOME) I wish this was a joke but it isnt. Almost a month of being followed and watched. #stalker ♬ original sound – Ralyks

    When the mom contacted the housing program’s staff for help, she was told that the man was being treated for mental health issues, and her claims of being threatened were dismissed.

    The following day, the 18-year-old saw the man outside the house once again, so she decided to record him to have evidence of the incident. 

    “That video was a very short moment of what I witnessed. He stayed there for a very long time. Other people came into the room, and he was not scared off or intimidated.”

    In a separate post, the mom shared that she was approached by the stalker while eating with her family at McDonald’s

    Image credits: heyy.itslissa

    Image credits: heyy.itslissa

    Image credits: heyy.itslissa

    Image credits: heyy.itslissa

    However, Lissa explained that the police were not interested in seeing the video. They told her they would patrol the surrounding area to see if they found the man, but they ended up driving off without looking for the stalker.

    “They said they didn’t need a statement from me. They didn’t write a report or hear my story. I’m not sure what to do from this point.”

    Lissa is currently staying at a Ronald McDonald House, which provides housing for families with hospitalized children

    @heyy.itslissa Replying to @parisaricha ♬ original sound – Lissa🤍🦋

    In another update, Lissa shared that she had identified the stalker as Angelo Tyrone Cooper, a convict from Clarksville, Tennessee, who was arrested for assaulting and raping five women in 2005.

    Most of the victims were acquaintances who were driven to motels and raped, according to police reports.

    She later identified the man as Angelo Tyrone Cooper, a convict who was arrested for assaulting and raping five women in 2005

    Image credits: clarksvilletoday

    Image credits: heyy.itslissa

    The 18-year-old claims the police dismissed her case and did nothing to help her

    @heyy.itslissa♬ original sound – Lissa🤍🦋

    In the comments, the woman clarified that relocating isn’t a possibility because she needs to be close to her hospitalized daughter. 

    She hasn’t posted any updates since identifying the alleged stalker on Sunday (June 16).

    ADVERTISEMENT

    [ad_2] Karina Babenok
    Source link

  • All the Cases Covered

    All the Cases Covered

    [ad_1]

    David‘s application has loads of unit tests. Many of the unit tests even go so far as to exhaustively test every combination of parameters. So seeing something like this is pretty common:

    [Test]
    [TestCase(false, false, false, false, false)]
    [TestCase(false, false, false, false, true)]
    [TestCase(false, false, false, true, false)]
    [TestCase(false, false, false, true, true)]
    [TestCase(false, false, true, false, false)]
    [TestCase(false, false, true, false, true)]
    [TestCase(false, false, true, true, false)]
    [TestCase(false, false, true, true, true)]
    [TestCase(false, true, false, false, false)]
    [TestCase(false, true, false, false, true)]
    [TestCase(false, true, false, true, false)]
    [TestCase(false, true, false, true, true)]
    [TestCase(false, true, true, false, false)]
    [TestCase(false, true, true, false, true)]
    [TestCase(false, true, true, true, false)]
    [TestCase(false, true, true, true, true)]
    [TestCase(true, false, false, false, false)]
    [TestCase(true, false, false, false, true)]
    [TestCase(true, false, false, true, false)]
    [TestCase(true, false, false, true, true)]
    [TestCase(true, false, true, false, false)]
    [TestCase(true, false, true, false, true)]
    [TestCase(true, false, true, true, false)]
    [TestCase(true, false, true, true, true)]
    [TestCase(true, true, false, false, false)]
    [TestCase(true, true, false, false, true)]
    [TestCase(true, true, false, true, false)]
    [TestCase(true, true, false, true, true)]
    [TestCase(true, true, true, false, false)]
    [TestCase(true, true, true, false, true)]
    [TestCase(true, true, true, true, false)]
    [TestCase(true, true, true, true, true)]
    public void UpdateClientSettingsTest(bool canCreateBeneficiary, 
    	bool canCreatePayment, bool canCreateDeal, 
    	bool canEditPlan, bool isPayrollEnabled) 
    {
    
    }
    

    What a nice thorough test! Every possible case is tested! Despite the name “Update”, it inserts a pile of permissions records.

    There are just a few problems with this test. The first is that the test isn’t set up to use a mock or in-memory database or anything that makes it easy to clean up: it uses a real test database. It also doesn’t do any cleanup between test cases. The test only passes because it ignores failures on inserts.

    The other problem with the test is that the method it’s testing only writes to the database. It contains no logic. It simply takes six parameters (the five passed to this test, and a user ID), and constructs an INSERT statement to execute. The exhaustiveness of the test proves nothing, because all our code does is insert a record. Because the test is unsanitary, other tests confirm that the permissions settings behave as expected, but that’s more by accident than intent. It also means that, for this test suite, order matters– on a fresh database, if this test doesn’t run first, other tests will fail.

    But hey, what a nice thorough unit test. It covers every possible case!

    [Advertisement]
    Continuously monitor your servers for configuration changes, and report when there’s configuration drift. Get started with Otter today!

    [ad_2]

    Remy Porter

    Source link

  • Would you still have eaten it?

    Would you still have eaten it?

    [ad_1]

    Tags: facepalm

    5291 points, 119 comments.

    [ad_2]

    Source link