WTF Bites
-
@levicki said in WTF Bites:
of the day -- next iPhones for 2020/2021 will be fully wireless (no connectors whatsoever). Such courage!
According to people who aren't Apple.
-
@loopback0 said in WTF Bites:
@levicki said in WTF Bites:
of the day -- next iPhones for 2020/2021 will be fully wireless (no connectors whatsoever). Such courage!
According to people who aren't Apple.
It will probably happen sooner or later, though, since the MacBooks are running on USB C now. For the MacBooks, the "has to be incompatible with everything else" is achieved by having only a single fucking port, so while that port is standard, you need to carry a backpack full of adapters so the MacBook can be super "lightweight". But they can't do that with the iPhone, since other phones are using USB C too.
So once they go fully wireless, they managed to not have complied with the EU directive of requiring standardized chargers at every single point in time.
-
@hungrier
Because it's :Belgium: style!
-
It will probably happen sooner or later, though, since the MacBooks are running on USB C now.
Yes, iPhones will go wireless because MacBooks use USB-C. Two totally related things.
For the MacBooks, the "has to be incompatible with everything else" is achieved by having only a single fucking port, so while that port is standard, you need to carry a backpack full of adapters so the MacBook can be super "lightweight".
Or just one USB-C/Thunderbolt 3 device that has all the ports required, if it's really a problem. Just like the docks most people where I work (and lots of other workplaces) have to connect their Lenovos and Dells to the devices on their desk.
They're the current USB/Thunderbolt standard ports - I could understand the complaint if they were Lightning ports but they're not.
-
Related WTF:
The iPad Pro website which scrolls the content sideways when you scroll vertically.
-
@loopback0 Sounds like it'd be really disorienting on a mobile device
-
@hungrier Seems to work normally on mobile.
-
@loopback0 Different features on mobile and desktop? Lets hope it catches on
-
@levicki they’ll ask you to unlock it and image over WiFi, then?!
-
@levicki they’ll
ask you to unlock it andimage over WiFi while it goes through the x-ray, then?!FTFN
-
Can anyone think of a reasonable explanation why installing VS2019 unpinned all solutions from VS2015 (except one, as if to tease me) and cleared the rest of the entries appearing in the taskbar right-click menu?
Also, why my WiFi stopped working after the first reboot?
-
Thanks a lot for removing Git Bash from my File Explorer context menu by the way.
-
Time to renew my vehicle license plates. I've always done online renewals, and it usually works great. Not this time, because whatever "registration number" I need to complete the form is not on the notice they mailed me, nor is it on my actual vehicle registration slip. The website even includes helpful screenshots of the forms in question, with circles showing you where the relevant bits of information are. Naturally, the screenshots don't look anything like the actual forms I have in my possession, and there's no value on them that matches the website's field validator.
Time to go stand in line at the DMV for 62 straight hours only to be told I'm missing some form or another and that I need to try again later.
-
You're missing some form or another, try again later.
There, just saved you 62 hours
-
Time to go stand in line at the DMV for 62 straight hours only to be told I'm standing in the wrong line and need to go the that line and then be told you're missing some form or another and that I need to try again later.
-
@dcon Don't get me started on the last motorcycle I bought. It was titled in Missouri, I bought it in Iowa, and I live in Nebraska. All three states claim the other two states processed things incorrectly, and I'm unable to get the bike titled because none of them will budge on how they think title transfers should work.
-
@loopback0 Sounds like it'd be really disorienting on a mobile device
It's disorienting enough on a laptop!
Seriously, how they even managed to do it? The scrollbar shows vertical. What kind of CSS wizardry is this!?
-
What kind of CSS wizardry is this!?
the kind that needs 6.8 megabytes of CSS and 42.91 megabytes of JS to show you 2 kilobytes of content.
-
@Gąska It appears to be basic noob javascript:
That
transform: translateX
updates when you scroll. :womp_wah:
-
@Vixen I actually checked and while it is a few megabytes, it's nothing too major.
However, it loads the images dynamically as you scroll. I wonder how many development hours were sunk into this feature.
-
@Vixen I actually checked and while it is a few megabytes, it's nothing too major.
try loading that over GSM EDGE or Hotel speed wifi and tell me that.
;-P
-
@Vixen I said too major.
-
Thanks a lot for removing Git Bash from my File Explorer context menu by the way.
That sounds like it was trying to do you a favour.
-
What kind of CSS wizardry is this!?
If you shrink the browser small enough it starts working normally (i.e. the content scrolls vertically) like magic. On mobile it matches the orientation of the device.
Even if the effect is silly on desktop, there's some clever CSS involved.
-
@loopback0 3px wizardry
-
Can anyone think of a reasonable explanation why installing VS2019
You're young and need the munniez?
Seriously, I thought the huge WTF of the 90s when MS applications regularly brought their own versions of core OS components to
improve your experiencesubtly fuck things up had slowly been phased out. Apparently not so.
-
@Zecc E_NO_REPRO
-
@loopback0 said in WTF Bites:
Related WTF:
The iPad Pro website which scrolls the content sideways when you scroll vertically: https://www.apple.com/ipad-pro/What browser/OS am I supposed to view this on? It scrolls vertically and acts like a normal web page for me in Chrome on Windows 10. I tried various different window sizes to no avail.
-
@LB_ It's sideways for me with the same browser and OS. Do you have JS enabled?
-
Today in dumbshits who can't configure a simple web server: Cisco.
Yeah, the security certificate for cisco.com has expired. However, going to www.cisco.com works fine. Herpderp.
-
FFS I've just spent two hours trying to configure EF6 in different ways, trying to get an entity with a known Id to load.
Butcontext.Foo.Find(fooId)
just kept returning null.The problem? By default it expects the table name to be plural, but in the existing database it is singular.
AND INANITYFRAMEWORK COULDN'T JUST SAY "YOUR TABLE NAME IS WRONG LOL".Edit: INB4 someone suggests
modelBuilder.Conventions.Remove<System.Data.Entity.ModelConfiguration.Conventions.PluralizingTableNameConvention>();
-
@Zecc Which is why I write raw SQL, have the
SqlException
s creep into server error responses and let our customers report them to us. Same result, less confusion
-
std::fs::read_link(d.path())?.into_os_string().into_string().unwrap_or_else(|x| x.to_string_lossy().into_owned());
-
Status: Fucking asshole developers....
-
@Tsaukpaetra: now you're responsible for electronics stuff, too? Your job is getting way out of hand.
-
@Zerosquare said in WTF Bites:
@Tsaukpaetra: now you're responsible for electronics stuff, too? Your job is getting way out of hand.
Nah, this is the other company I'm "helping out".
I just banged out an Arduino controller sketch that makes a joystick with six buttons, a hat, and a rotary controller for inputs.
If I'm bored I'll also make the analog inputs become XY axis (because that's not currently used, the joysticks aren't pots).
-
std::fs::read_link(d.path())?.into_os_string().into_string().unwrap_or_else(|x| x.to_string_lossy().into_owned());
Dunno what the point of
into_string
is if you're just going to callto_string_lossy
in the error case, or why you wouldn't just convert thePathBuf
into a string in the first place.std::fs::read_link(d.path())?.to_string_lossy().into_owned()
-
@pie_flavor To avoid cloning the buffer just to discard the original immediately. There should be an
into_string_lossy
variant, but there isn't, so this is how to assemble it.
-
Cisco continues delivering:
Yo dawg, I made a certification for your certification so you can certify that you are certified.
-
@levicki Says the man who can't even write C correctly.
-
@pie_flavor said in WTF Bites:
@levicki Says the man who can't even write C correctly.
Nobody can write C correctly, so that's an empty statement.
-
-
@PleegWat Dammit - d while mousing over to the "Reply" button.
-
Nobody can write C correctly
The secret is to start holding ⇧ before you press c and only release it afterwards.
-
@Zecc Make sure Caps Lock is off though or your ⇧ key might have undefined behaviour.
Always beware nasal demons!
-
@Tsaukpaetra said in WTF Bites:
Status: Fucking asshole developers....
I, for one, would never disagree with that.
...but I also don't get the connection with this.
-
@levicki said in WTF Bites:
@Bulb I thought high-level language features are meant to make your code easier to write and more readable, not an endless stream of pointless shit?
They are if you don't refuse to spare a few heap bytes like @Bulb does. Low-level optimizations will always look low-level.
-
@Zecc Make sure Caps Lock is off though or your ⇧ key might have
undefinedimplementation-defined behaviour.
-
@boomzilla said in WTF Bites:
@Tsaukpaetra said in WTF Bites:
Status: Fucking asshole developers....
I, for one, would never disagree with that.
...but I also don't get the connection with this.
Name doesn't match behaviour. That snipped does something very similar to this one:
FILE * fpout = fopen( name, "r" );
EDIT: Note the variable is called
fpout
, but the file is opened for reading.
-