The Official Funny Stuff Thread™
-
@pie_flavor There's a reason California gives different-looking (rotated 90°) IDs to underage people. With "21 IN 20YY" in a red box. They have lots of anti-counterfeiting measures that make fake ids hard, but it'd be even harder to for a bartender to botch an age check on a real one. Assuming the bartender actually cares, of course.
-
@bb36e said in The Official Funny Stuff Thread™:
So why can't we just let our application query for the current 'stdin' or 'tty' or 'pty' or whatever and read keyboard events from there? Well, here's the key historical insight: A tty doesn't know about the concept of key press or key release events. It only knows about 'data stream in' and 'data stream out'. Many commonly used methods to detect terminal key press events in terminal are actually not detecting the key press, they are detecting the 'new input character being available event' which happens to be correlate closely with a key press. There is no such corresponding event that a tty knows about for the 'key up' event.
It should be noted, that Windows and Linux behave exactly the same way regarding key input.
In text mode, i.e. using stdin/stdout on Linux and console application in Windows, you only get new input characters and no key up events, while in graphics mode, i.e. using X or Wayland on Linux and windows application on Windows, you get the same keydown and keyup events.
-
@Bulb said in The Official Funny Stuff Thread™:
In text mode, i.e. using stdin/stdout on Linux and console application in Windows, you only get new input characters and no key up events, while in graphics mode, i.e. using X or Wayland on Linux and windows application on Windows, you get the same keydown and keyup events.
Text mode is actually two modes. In cooked (text) mode, your code gets complete lines of text whenever the user presses Return (or equivalent). In raw (text) mode, your code gets the character sequence for each character and has to do all the work. The former is much easier to write code to use — it's about as difficult as reading an ordinary text file — and the latter is able to support more complex applications (such as text editors).
GUIs are different. They deliver key events (key down and key up, with extra down events for repeating keys), mouse button events (button down and up), mouse motion events, window enter/leave events, focus change events, etc. These are typically then cooked a bit by the GUI toolkit library so that you don't have to deal with most of the details. One of the details that you shouldn't have to care about is that if the mouse leaves a button-like component with a button pressed and then releases the button, that should disarm the component so that a higher-level clicked event isn't delivered. It seems that not all toolkits actually get this right; those that don't should be named and shamed for being implemented by careless fuckwits.
-
@dkf said in The Official Funny Stuff Thread™:
those that don't should be named and shamed for being implemented by careless fuckwits.
for some reason a person who-shall-remain-nameless decided the mouse down event was all we needed for detecting button clicks. Guess who got pissed off when a mis-click failed to be aborted due to this?
-
@dkf said in The Official Funny Stuff Thread™:
Text mode is actually two modes.
… which is still somewhat the case for both Linux and Windows. In this case the difference is that in Linux you switch between the modes with
ioctl
, while in Windows you have a separate API for each that you can mix.
-
https://www.youtube.com/watch?v=URsW8K9kQK0
Making dreams a reality.
-
@Bulb said in The Official Funny Stuff Thread™:
In text mode, i.e. using stdin/stdout on Linux and console application in Windows, you only get new input characters and no key up events
Console applications in Windows can read from the keyboard buffer on demand using BIOS/DOS interrupts, or can re-map the BIOS interrupt handler to trap keydown/keyup events before they're even passed to the system interrupt handler.
-
@HardwareGeek said in The Official Funny Stuff Thread™:
@pie_flavor There's a reason California gives different-looking (rotated 90°) IDs to underage people.
So, just turn them 90° in the opposite direction
-
-
-
@Lorne-Kates style fundraising is spreading...
-
@pie_flavor said in The Official Funny Stuff Thread™:
Context? Is it funny because it's installed in 2019 and expired in 2017 or is there something else?
-
@obeselymorbid said in The Official Funny Stuff Thread™:
@pie_flavor said in The Official Funny Stuff Thread™:
Context? Is it funny because it's installed in 2019 and expired in 2017 or is there something else?
I figured it was because the company was apparently only open for two days.
-
@obeselymorbid said in The Official Funny Stuff Thread™:
@pie_flavor said in The Official Funny Stuff Thread™:
Context? Is it funny because it's installed in 2019 and expired in 2017 or is there something else?
It's a billboard with a shitload of small text.
-
@hungrier said in The Official Funny Stuff Thread™:
It's a billboard with a shitload of small text.
Pretty sure I saw it in another thread here... Could have been some random web site - I remember the description being along the lines of "I tried to tell the client this was a bad idea, but they said to use this"
-
@boomzilla said in The Official Funny Stuff Thread™:
@Lorne-Kates style fundraising is spreading...
Not surprised to see that on Fremont, just outside the ‘Nugget.
-
@jinpa said in The Official Funny Stuff Thread™:
@obeselymorbid said in The Official Funny Stuff Thread™:
@pie_flavor said in The Official Funny Stuff Thread™:
Context? Is it funny because it's installed in 2019 and expired in 2017 or is there something else?
I figured it was because the company was apparently only open for two days.
And had “limited” in its name. There was truth in that there advertisement...
-
@obeselymorbid It's funny because it's impossible to read.
-
@dcon Ah, I see we both browse CFH.
-
@pie_flavor said in The Official Funny Stuff Thread™:
@dcon Ah, I see we both browse CFH.
AH! That's where it was...
-
-
@pie_flavor I didn't even think of that, but that must've been where I saw it. I thought it was either here or on r/CrappyDesign
-
@hungrier said in The Official Funny Stuff Thread™:
So, just turn them 90° in the opposite direction
So...
@Bulb said in The Official Funny Stuff Thread™:
It should be noted, that Windows and Linux behave exactly the same way regarding key input.
yada-yada keydown and keyup events.What if the keyboard is flipped turned upside down?
-
This post is deleted!
-
@dcon said in The Official Funny Stuff Thread™:
@pie_flavor said in The Official Funny Stuff Thread™:
@dcon Ah, I see we both browse CFH.
AH! That's where it was...
Might as well link to the original then, and apparently it's about an IPO which explains the opens / closes:
It also somewhat explains the finer print.
-
Pretty amusing job listing, but them asking for a salary history is probably illegal in their state:
-
@Polygeekery said in The Official Funny Stuff Thread™:
Pretty amusing job listing, but them asking for a salary history is probably illegal in their state:
Also the 'put "Best Job Ever" in your subject line' would be kind of a turnoff for me. If you want a salesman, hire a salesman. If you want to exclude people with integrity, include a requirement like that.
-
-
@jinpa said in The Official Funny Stuff Thread™:
Also the 'put "Best Job Ever" in your subject line' would be kind of a turnoff for me. If you want a salesman, hire a salesman. If you want to exclude people with integrity, include a requirement like that.
are you getting on about?
-
@Polygeekery you didn't read the entire ad did you?
-
@boomzilla I read it. I do not see how that requirement for a response would:
@jinpa said in The Official Funny Stuff Thread™:
exclude people with integrity
-
@Polygeekery because they don't want to lie about the job. Laugh! It's funny.
-
@boomzilla this is not the proper thread for laughter.
-
@Polygeekery said in The Official Funny Stuff Thread™:
@jinpa said in The Official Funny Stuff Thread™:
Also the 'put "Best Job Ever" in your subject line' would be kind of a turnoff for me. If you want a salesman, hire a salesman. If you want to exclude people with integrity, include a requirement like that.
are you getting on about?
I am not terribly surprised that it is utterly incomprehensible to you.
-
@Polygeekery said in The Official Funny Stuff Thread™:
@boomzilla this is not the proper thread for laughter.
You rang?
-
@Rhywden it would have been better with a Lurch gif, but that would have negated your "Germans have no sense of humor" joke. So...well played.
-
-
@Polygeekery
The ad: Experience - Entry level
Also the ad: Previous experience in IT, customer service, or other related fieldsThough, I suppose you could probably count Starbucks Barista as customer service experience
-
-
@hungrier said in The Official Funny Stuff Thread™:
It's a billboard for an insurance company with a shitload of small text.
-
-
@boomzilla To me it looks more like pigeons doing a little black magic by sacrificing the dog.
-
@boomzilla said in The Official Funny Stuff Thread™:
I only have Netflix and Facebook, which circle of hell am I ending up in?
Also, I hope they have elevators.
-
-
They're lucky that wasn't me. I wouldn't shut up about it for about three months.
"The ground literally tried to swallow me!"
-
-
-
@dcon said in The Official Funny Stuff Thread™:
This reminds me of the old joke (which was told to me by a member of Group X):
Q. Why do [Members of Group X] have big noses?
A. Because air is free and they want to get all they can.If this is true, then in recent years, [Members of Group X] must have smaller noses than they did.
-
Truth.
-