ReportWire

Category: Humor

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

  • Future Documentation

    [ad_1]

    Dotan was digging through vendor supplied documentation to understand how to use an API. To his delight, he found a specific function which solved exactly the problem he had, complete with examples of how it was to be used. Fantastic!

    He copied one of the examples, and hit compile, and reviewed the list of errors. Mostly, the errors were around “the function you’re calling doesn’t exist”. He went back to the documentation, checked it, went back to the code, didn’t find any mistakes, and scratched his head.

    Now, it’s worth noting the route Dotan took to find the function. He navigated there from a different documentation page, which sent him to an anchor in the middle of a larger documentation page- vendorsite.com/docs/product/specific-api#specific-function.

    This meant that as the page loaded, his browser scrolled directly down to the specific-function section of the page. Thus, Dotan missed the gigantic banner at the top of the page for that API, which said this:

    /! NOTE /! NOTE /! NOTE /! NOTE /! NOTE /! NOTE /! NOTE /!
    This doc was written to help flesh out a user API. The features described here are all hypothetical and do not actually exist yet, don’t assume anything you see on this page works in any version
    /! NOTE /! NOTE /! NOTE /! NOTE /! NOTE /! NOTE /! NOTE /!

    On one hand, I think providing this kind of documentation is invaluable, both to your end users and for your own development team. It’s a great roadmap, a “documentation driven development” process. And I can see that they made an attempt to be extremely clear about it being incomplete and unimplemented- but they didn’t think about how people actually used their documentation site. A banner at the top of the page only works if you read the page from top to bottom, but documentation pages you will frequently skip to specific sections of the page.

    But there was a deeper issue with the way this particular approach was executed: while the page announced that one shouldn’t assume anything works, many of the functions on the page did work. Many did not. There was no rhyme or reason, to version information or other indicators to help a developer understand what was and was not actually implemented.

    So while the idea of a documentation-oriented roadmap specifying features that are coming is good, the execution here verged into WTF territory. It was a roadmap, but with all the landmarks erased, so you had no idea where you actually were along the length of that road. And the one warning sign that would help you was hidden behind a bush.

    Dotan asks: “WTF is that page doing on the official documentation wiki?”

    And I’d say, I understand why it’s there, but boy it should have been more clear about what it actually was.

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

    [ad_2]

    Remy Porter

    Source link

  • Non-S*x Workers Share the Horniest Professions

    [ad_1]

    As much as jobs discourage it, many folks have hooked up with their coworkers – some have even ended up dating. We wanted to test this theory, and see which professions are truly the horniest.

    From Ren Faire employees to Olympians, here’s what our research dug up.

    Enjoy!

    [ad_2]

    Zach

    Source link

  • 39 Examples Of Technology And Innovation Applied To The Ones Who Really Need It

    [ad_1]

    Article created by: Inga Korolkovaite

    Instead of mindlessly chasing profits, some companies and entrepreneurs develop their products focusing on people with disabilities. They create swings for wheelchair users, versions of paintings that even the blind can enjoy, and their work is making the world a better place.

    So, to celebrate society’s advancement towards inclusivity, Bored Panda has collected pictures of some of the most brilliant accessibility inventions. Continue scrolling to check out the entries, upvote your favorites, and let us know in the comments if any of them could be improved!

    #1 Ted Rummel, Amazing Doctor Paralyzed From The Waist Who Can Still Perform Surgeries Thanks To Remarkable Stand-Up Wheelchair

    #2 This Carousel In Hong Kong Has A Sea Turtle Mounted To The Floor For Physically Impaired Children

    Image credits: cuttyranking

    #3 This Park Has A Swing For Wheelchair Users

    The freefall that these swings provide is about 4.3 feet (1.3m) and they can safely take on a load of up to 4,400 pounds (2,000 kg). Moreover, the rope pull included within the design allows those with upper body mobility to swing themselves independently. 

    Image credits: Kittenblack

    #4 This Retirement Home Has A Fake Bus Stop To Keep Residents With Dementia From Wandering Off

    Image credits: lolwut3000

    #5 Zack Nelson Designed An Off-Road “Wheelchair” So That His Wife Can Go Places She Never Imagined, It’s Now Up For Mass-Production

    Image credits: notawheelchair.com

    #6 A Color Blind Viewer

    The Tennessee Department of Tourist Development and Tennessee State Parks have partnered to install “color blind” viewfinders at five state park locations across the state. In total, there are 11 of them installed in Tennessee.

    Image credits: aegist1

    #7 If You’re An Elderly Or A Person With Physical Impairment, You Will Receive A Card That Enables You To Cross The Road With A Longer Countdown Time (Singapore)

    Image credits: Caesar95

    #8 My Daughter Is Blind And For Her 9th Birthday Party We Made Braille Chocolate Message Slabs – “I Love You” And “Happy Birthday” In Braille

    Image credits: mack3r

    #9 This Kettle Fits In To A Tilting Mount To Help People With Arthritis Pour

    Image credits: reddit.com

    #10 This Picnic Table Has Seating For Adults, A High Chair, Kids Table And Table Accecible With A Wheelchair All In One

    Image credits: FatTortoise

    #11 Emergency Alarm Chords Running Along The Floor Of The Disabled Toilet In Berlin Airport In Case Someone Falls Over And Requires Assistance

    Image credits: EGPL21

    #12 In The City Of Kızkalesi, Turkey, This Beach Includes An Access Ramp So That Physically Impaired People Can Swim

    Image credits: Creapills

    #13 This Man Lost His Legs So He Built A Ramp Onto His Trike To Use His Motorized Wheelchair To Drive It

    Image credits: AirsGaming

    #14 This Wearable Microphone One Of My Students Gave Me To Beam Directly To His Hearing Aids

    Image credits: CadeVision

    #15 A Rubik’s Cube For The Blind

    Image credits: imbadatgrammar

    #16 This Chair Allowing People With Disabilities To Go In The Sea. Free For Anyone To Use, Santa Cruz, Portugal

    Image credits: roryWolf

    #17 The Town Next To Mine Just Installed An Accessibility Matt On The Beach For Wheelchairs And Strollers

    Image credits: canadianvintage

    #18 My Uncle Didn’t Like Being Unable To Do Higher Up Chores After Becoming Disabled So He Designed And Made His Very Own Automatic Wheelchair Lift

    Image credits: modomario

    #19 This Sink And Tilted Mirror Is Perfectly Adapted To A Help A Disabled Person

    Image credits: p_o_l_o

    #20 This Park Has Ramps Throughout It So Kids In Wheelchairs Can Play Too

    Image credits: Benal_apg

    #21 This Tesco Branch Offers A Lanyard To People With Hidden Disabilities To Signal To Staff That They Might Need Extra Help While Shopping

    Image credits: jonitfcfan

    #22 This Apartment Complex Pool With Wheelchair Access

    Image credits: hailaaron

    #23 Not My Van But I Finally Got To Drive An Adaptive Vehicle, Me Being Disabled. Crazy Dreams Come True

    Image credits: Crawlerz2468

    #24 This Surf Shop Offers Free Rental Of A Beach Wheelchair To Elderly Or Disabled People

    Image credits: notyouroldlady

    #25 These Shampoo And Conditioner Bottles Have Braille On Them To Identify What They Are For The Blind/ Visually Impaired

    Image credits: OhSampai

    #26 I Adapt Cars For Disabled People For A Living, A Guy Rocked Up On This Beast Today

    Image credits: Bisto

    #27 In Basel, There’s A Model That Allows The Visually Impaired To Experience The Layout Of The City

    Image credits: JebSenrab

    #28 The Accessible Ramp Is Built Into The Staircase

    Image credits: DavidMaspanka

    #29 This Braille Edition Of UNO

    Image credits: creepyalfredopasta

    #30 This Truck Has A Slide Out Door And Elevator For A Wheelchair Bound Driver

    Image credits: fiddlydiddles

    #31 This Shopping Cart For People In A Wheelchair (Spotted At Lidl In Germany)

    Image credits: Dom24seven

    #32 The Wheelchair Bumpable Buttons In The Elevator At A Spinal Cord Health Care Centre

    Image credits: LisaLies

    #33 Found At My Local Publix. This Grocery Cart Lets You Push Around Special Needs Adults Instead Of Children

    Image credits: chibipan222

    #34 This Wheelchair Bathroom Uses Impairment Friendly Buttons To Lock The Door

    Also outside the bathroom the button for the automatic door has a green/red ring to signify if the bathroom is occupied

    Image credits: liquid_bacon

    #35 The Uni Where I Study Has A Special Chair For Disabled People To Go Down Stairs During An Emergency

    Image credits: nikini845

    #36 This Park Has A Nature Trail For The Visually Impaired

    Image credits: Herpderpington117

    #37 This Wheelchair Accessible Playground Carousel

    Image credits: buck_satan

    #38 This Hotel’s Rooms For Physically Impaired People Have A Second, Lower Peephole

    Image credits: herelieskarma

    #39 In Japan And Many Other Countries, Sidewalks Have Paths For The Blind

    Image credits: DrTommyNotMD

    [ad_2]

    Asli Akalin

    Source link

  • Not mine, just I think I know that face

    [ad_1]

    Tags: Peak, male, man

    2647 points, 270 comments.

    [ad_2]

    Source link

  • 43 Times Wedding Guests Messed Up So Bad The Couple Instantly Regretted Inviting Them

    [ad_1]

    Article created by: Gabija Palšytė

    No wedding is complete without something going wrong. Mistakes, big or small, are bound to happen, whether by the spouses-to-be or their guests. Mess-ups by the latter probably sting more, as it’s something that the bride and groom can’t really prevent or control. While some faux pas aren’t that bad and can be easily laughed off, others end up ruining the special day and staying in the memory forever. 

    People have shared many such memorable stories over on wedding planner Ruby Straaten’s Instagram post, which we gathered below for you to react to. To find them, all you have to do is scroll down.

    I decided not to keep my bouquet, it was huge (way bigger than I expected) and really beautiful and I thought any one of the guests would be honoured to have it. So I tossed it, and the girl who caught it immediately threw it on the ground and yelled “TOUCHDOWN!”. I remember just seeing my bouquet explode on the ground and being too shocked to respond. Her partner (who she had been hoping to marry) told me later that was the moment he realised she was not the kind of person he wanted to spend his life with.

    ringtailweavingco/ , Browne And Dixon Photography Report

    Bride and wedding guests hugging and shaking hands outdoors, capturing moments guests messed up at the wedding celebration On an opposite note, we had this wonderful couple at my wedding that silently celebrated their 22nd wedding anniversary whilst celebrating our special day with us. We had no idea but the fact they kept it silent was so respectful, even though we wouldn’t have minded

    josephdrfsharpe , Getty Images Report

    Couple frustrated with wedding guests messing up as groom cuts cake during reception with a visible argument nearby. My first husband smashed the cake in my face after we agreed to no cake–smashing. The marriage lasted 10 months and I found out later that his best friend bet him $10 to smash the cake in my face. $10! Worked out well for me in the end, though!

    tepster105 , PJ Rhymeswiths Report

    Couple sitting outdoors kissing passionately, illustrating moments wedding guests messed up so bad the couple regretted inviting them. My husband and I eloped; just the two of us in a foreign country with witnesses we met locally. We got married in jeans, sneakers and t-shirts. Pure effortless bliss.

    katfernweh/ , Corryne Wooten Report

    Close-up of a wedding guest making a shocked and exaggerated face, capturing a moment of wedding guest mishap. A brother of one of the groomsmen had his own party somewhere at the venue and came out swinging at my husband. Thank goodness for my husband and one of the other groomsmen who just grabbed his fist and threw him into the arms of his family who rushed him away. My husband then calmly walked out and joined me on the dance floor for our first dance. I didn’t find out till later.

    hickey8003 , Dmitry Vechorko Report

    Woman with curly hair and fur collar looking seriously at a man during a tense moment at a wedding with guests messing up. She walked around telling everyone from the family, “if you think this is a good wedding… wait until mine next year!!”

    kenzi_h_/ , 150 Billi Report

    Bride and groom sitting in a vintage car, reflecting on wedding guests messed up moments causing couple's regret. My brother set my wedding dress on fire with a flaming sambuca. My now ex husband was so drunk he didn’t know it was his wedding by the end of the night and my ex mother in law jumped into the wedding car with us after the wedding.

    monstar_hair , Getty Images Report

    Crying newborn baby on a cushioned bed representing wedding guests messed up moments causing regret for the couple. Brought their baby and it cried all during the ceremony. Could not hear the ceremony for the baby crying on the video. No babies should be allowed to come to a wedding no children under the age of five.

    lessielhill/ Report

    Hands wrapping a wedding gift with ribbon on blue patterned cloth, illustrating wedding guests messing up moments at a celebration. My sister-in-law who had just eloped with a guy she met three months prior wrote this to us in her gift card: ‘I hope the two of you are as happy and in love as I am one day’ …. 🫤 She’s now divorced btw and I just celebrated my 30th anniversary.

    sheilantonelli , Ivan Report

    Red wine being poured into a glass held by a hand, illustrating wedding guests messing up moments at celebrations. Completely ignoring me at my own wedding and criticising me loud enough for me to hear. So I accidentally on purpose dropped a glass of RED wine upon her silk gown! And NEVER spoke to her again!

    8976.kitty , Jeff Siepman Report

    Mount Rushmore National Memorial showcasing four presidential faces carved in granite against a clear blue sky, symbolizing history and legacy. My husbands mom… asked us to give her a tour of Yellowstone before our wedding. Then asked if we could go to Mount Rushmore. We got married in Utah. Then she showed up to our fairly fancy rehearsal dinner in a track suit. Then told me parents they couldn’t sit it the table they were assigned to. Then her speech was purely there to one up my dad’s, very well thought out speech. Then she left early from our reception. Where I come from, the families stay after and help clean stuff up. Gather gifts and flowers and whatever. Nope. They left early.

    My mom, gave a speech in graphic detail of my birth, mentioning her cervix and all.

    Needless to say, my wedding would have been great without either of them.

    clara_the_exploradora/ , Getty Images Report

    Wedding guests taking a photo of bride in white dress, capturing moments guests messed up during wedding events. Had their phone in our faces as we cut our cake and let their kids run around throwing water activated gel pearls from our centerpiece and glow sticks around. I had never been more stressed.

    tonya.hrycyk/ , Getty Images Report

    Young girl in a white dress holding colorful balloons at an outdoor wedding with guests and decorations in the background Not mine but something I found annoying as heck.
    Allowing kids with phone and iPads on while the ceremony is happening. And letting them scream because you turned down the volume or took digital devices away …

    mochicaramelu , Getty Images Report

    Woman at outdoor wedding with disappointed expression, surrounded by guests causing wedding guests mess-up regrets. My mother in law was going around telling everyone who would listen that her son really didn’t want to get married and the proceeded to leave the reception with the left over dinners. We have happily married for 30 years!

    sheilac1215 , Rowen Smith Report

    Group of diverse wedding guests socializing outdoors, capturing moments of guests messing up and causing couple regret. My mother in law invited her side of the family to our destination wedding without our approval or notice.

    aaron15w/ , 150 Billi Report

    Young woman in a light shirt talking on the phone, against a textured wall, reflecting on wedding guests messing up moments. Took a phone call during my ceremony and then because my wedding was outside instead of muting it like was asked of everyone he stood up and walked off to the side and took the phone call while we were trying to get married within ear shot of all our guests and us. We literally had to stop the ceremony and wait for him to finish his call. It was so rude!

    cdamacfam , A. C. Report

    My sister- who had meltdowns the entire wedding week- stating she wasn’t involved enough or loved enough- grand finale … she cussed out our mom and my friends at the reception and had to be escorted out by another friend who then missed the entire reception. Heartbreaking.

    shirli.kelly.lipscomb/ Report

    My so called best friend walked out half way through my ceremony and proceeded to vomit (several times) all over the stairs where we were supposed to get our pictures done. She has a pity party all night saying she had a trapped nerve in her back…but she was lactose intolerant and had been drinking milk based alcohol the entire day. She ruined all the picture, complained about where she was sitting, didn’t dance the entire night, left without saying goodbye and hasn’t spoken to me since

    thelittleteacup22 Report

    Close-up of hands adjusting settings on a vintage Minolta camera capturing moments of wedding guests messing up. My father may he rest in peace, was a wedding photographer in the 50s. He shot a whole wedding with no film. He noticed early but was too embarrassed to tell anyone.

    frank.burkelynnnan , Alora Griffiths Report

    Told another guest “I won’t be inviting her to my wedding” during speeches at my wedding. Then talked about her wedding to everyone

    tatum.usher/ Report

    Woman in a red dress and bold accessories standing on outdoor steps, illustrating unusual wedding guest behavior. I’ve saw woman once do three wardrobe changes at a wedding (she wasn’t the bride or a bridesmaid)

    the_jesse84 , 150 Billi Report

    My sister in law ate the cake decorations off the cake before it was cut. And Aunty Doreen turned into a nasty drunk and went under the table tanked. Truely!!

    clpbomb Report

    My hair stylist got sloshed and shouted out during my ceremony so the groomsmen carried him off and he passed out wandering around the property in a random stream.

    wa.nder.the.alpines Report

    Matron of honors sister…got drunk, stepped on and ripped my dress, ended up getting arrested later that night for drunk in public.

    wam2015/ Report

    They brought their four kids that were not invited. And the older one around 12 or 13 threw up in the coat closet.

    margek1027 Report

    Spent this special day only with our 6 best friends – everything was perfect! 100% can recommend!

    izizwe Report

    Woman with curly hair applying red lipstick, highlighting wedding guests mess ups causing regret for the couple. A klepto aunt stole my lipstick and bra from the room I was going to get dressed in. Luckily it was a home wedding and I had another bra. The lipstick was a special colour. No substitute.

    liz.page.921 , Daria Gordova Report

    SIL Found out what color my bridesmaids were wearing, then wore the same color dress. She ended up in MANY bridal party photos. We did not get along. My father got drunk and got into a screaming match with his wife, they ended up leaving before the reception even started.

    livvxo6 Report

    Inviting a guest who missed most of the ceremony and reception to chase Pokemon around the streets.

    nikkifloyd87 Report

    [ad_2]

    Edvinas Jovaišas

    Source link

  • It Morphing Time!!

    [ad_1]

    Tags: power rangers, Hot, nostalgia

    4309 points, 220 comments.

    [ad_2]

    Source link

  • Undefined Tasks

    [ad_1]

    Years ago, Brian had a problem: their C# application would crash sometimes. What was difficult to understand was why it was crashing, because it wouldn’t crash in response to a user action, or really, any easily observable action.

    The basic flow was that the users used a desktop application. Many operations that the users wanted to perform were time consuming, so the application spun up background tasks to do them, thus allowing the user to do other things within the application. And sometimes, the application would just crash, both when the user hadn’t done anything, and when all background jobs should have been completed.

    The way the background task was launched was this:

    seeder.RunSeeder();
    

    It didn’t take too much head scratching to realize what was running every time the application crashed: the garbage collector.

    RunSeeder returned a Task object, but since Brian’s application treated the task as “fire and forget”, they didn’t worry about the value itself. But C# did- the garbage collector had to clean up that memory.

    And this was running under .Net 4.0. This particular version of the .Net framework was a special, quantum realm, at least when it came to tasks. You see, if a Task raises an exception, nothing happens. At least, not right away. No one is notified of the exception unless they inspect the Task object directly. There’s a cat in the box, and no one knows the state of the cat unless they open the box.

    The application wasn’t checking the Task result. The cat remained in a superposition of “exception” and “no exception”. But the garbage collector looked at the task. And, in .Net 4.0, Microsoft made a choice about what to do there: when they opened the box and saw an exception (instead of a cat), they chose to crash.

    Microsoft’s logic here wasn’t entirely bad; an uncaught exception means something has gone wrong and hasn’t been handled. There’s no way to be certain the application is in a safe state to continue. Treating it akin to undefined behavior and letting the application crash was a pretty sane choice.

    The fix for Brian’s team was simple: observe the exception, and choose not to do anything with it. They truly didn’t care- these tasks were fire-and-forget, and failure was acceptable.

    seeder.RunSeeder().ContinueWith(t => { var e = t.IsFaulted ? t.Exception : null; }); 
    

    This code merely opens the box and sees if there’s an exception in there. It does nothing with it.

    Now, I’d say as a matter of programming practice, Microsoft was right here. Ignoring exceptions blindly is a definite code smell, even for a fire-and-forget task. Writing the tasks in such a way as they catch and handle any exceptions that bubble up is better, as is checking the results.

    But I, and Microsoft, were clearly on the outside in this argument. Starting with .Net 4.5 and moving forward, uncaught exceptions in background tasks were no longer considered show-stoppers. Whether there was a cat or an exception in the box, when the garbage collector observed it, it got thrown away either way.

    In the end, this reminds me of my own failing using background tasks in .Net.

    [Advertisement]
    BuildMaster allows you to create a self-service release management platform that allows different teams to manage their applications. Explore how!

    [ad_2]

    Remy Porter

    Source link

  • This Instagram Page Shares Work Memes So Relatable It Hurts, Here Are 46 Of The Funniest

    [ad_1]

    [ad_2]

    Edvinas Jovaišas

    Source link

  • Urgent decision making

    [ad_1]

    Tags: restroom, confused, urgent

    938 points, 218 comments.

    [ad_2]

    Source link

  • I Will Try To Make You Laugh With These Silly Slice Of Life Comics (13 Pics)

    [ad_1]

    [ad_2]

    Asli Akalin

    Source link

  • Solve a Captcha to Continue

    [ad_1]

    The first time Z hit the captcha on his company’s site, he didn’t think much of it. And to be honest, the second time he wasn’t paying that much attention. So it wasn’t until the third time that he realized that the captcha had showed him the same image every single time- a “5” with lines scribbled all over it.

    That led Z to dig out the source and see how the captcha was implemneted.

    <Center>Click a number below to proceed to the next page. <br>Some browsers do not like this feature and will try to get around it. If you are having trouble<br> seeing the image, empty your internet cache and temporary internet files may help. <br>Please ensure you have no refresher add-ons installed on your browser.<br />
    <table border=1><Tr><td colspan='3' align='center'>
    <font style='font-size:36px;'><img width='150' title='5' alt='5' src='valimages/5.gif'> font>td>tr>
    <Tr>
    <Td align=center><font size='6'><A href='valid.php?got=crimied&linknum=1'>1a>font>td>
    <Td align=center><font size='6'><A href='valid.php?got=crimied&linknum=2'>2a>font>td>
    <Td align=center><font size='6'><A href='valid.php?got=crimied&linknum=3'>3a>font>td>
    tr>
    <Tr>
    <Td align=center><font size='6'><A href='valid.php?got=crimied&linknum=4'>4a>font>td>
    <Td align=center><font size='6'><A href='valid.php?got=crimied&linknum=5'>5a>font>td>
    <Td align=center><font size='6'><A href='valid.php?got=crimied&linknum=6'>6a>font>td>
    tr>
    <tr>
    <Td align=center><font size='6'><A href='valid.php?got=crimied&linknum=7'>7a>font>td>
    <Td align=center><font size='6'><A href='valid.php?got=crimied&linknum=8'>8a>font>td>
    <Td align=center><font size='6'><A href='valid.php?got=crimied&linknum=9'>9a>font>td>
    tr>table>
    Center>
    

    Look, I know there’s a joke about how hard it is to center things in CSS, but I think we’ve gone a little overboard with our attempt here.

    Now, the PHP driving this page could have easily been implemented to randomly select an image from the valimages directory, and there was some commented out code to that effect. But it appears that whoever wrote it couldn’t quite understand how to link the selected image to the behavior in valid.php, so they just opted to hard code in five as the correct answer.

    The bonus, of course, is that the image for five is named 5.gif, which means if anyone really wanted to bypass the captcha, it’d be trivial to do so by scraping the code. I mean, not more trivial than just realizing “it’s the same answer every time”, but still, trivial.

    Of course, out here in the real world, captchas have never been about keeping bots out of sites, and instead are just a way to trick the world into training AI. Pretty soon we’ll roll out the Voight-Kampf test, but again, the secret purpose won’t be to find the replicants, but instead gather data so that the next generation of replicants can pass the test.

    [Advertisement]
    Keep all your packages and Docker containers in one place, scan for vulnerabilities, and control who can access different feeds. ProGet installs in minutes and has a powerful free version with a lot of great features that you can upgrade when ready.Learn more.

    [ad_2]

    Remy Porter

    Source link

  • Nap time

    [ad_1]

    submitted by /u/WorriedAtmosphere393
    [comments]

    [ad_2]

    /u/WorriedAtmosphere393

    Source link