WTF Bites
-
Looking at the actual machine now... Why is the top fan oriented to push the hot air down?
Am I the idiot here, or shouldn't it encourage the rising hot air to continue rising?
-
@Tsaukpaetra Shouldn't be an issue if there's at least one fan pulling the air out.
-
@loopback0 said in WTF Bites:
@Tsaukpaetra Shouldn't be an issue if there's at least one fan pulling the air out.
The power supply at the bottom I think is. The other one (also near the top) is similarly oriented to direct air inward..
It's not a high-performance machine anyways (the most exciting thing it does is run Chrome to view webmail).
Just bothers me somewhat.
-
Also, is that font, especially the f in if.
is keywords being in italic.
Well, not keywords because
public
,get
,private
,set
,this
andnull
aren't.Control flow keywords, I guess?
-
@levicki It's an urban myth that guys can't multitask.
-
@levicki It's an urban myth that guys can't multitask.
Multi-tasking is dumb. Jokes aside, I hate people who seriously brag about being able to multi-task. It either means you’re doing multiple jobs badly at the same time, or you don’t need a brain for any of them.
-
Some call it multitasking, others call it ADHD.
-
@Zerosquare said in WTF Bites:
Some call it multitasking, others call it ADHD.
I'm rather partial to the term "rapid context switching".
-
don’t need a brain for any of them.
Watching porn indeed does not require a brain. Chatting about your food barely requires a brain. Checks out!
-
@levicki said in WTF Bites:
@levicki It's an urban myth that guys can't multitask.
I can't be the judge of that, but still, their topic choice as well as their choice of a place to discuss it is really depressing.
Perhaps I shouldn't expound on the discussions that happen in some of the porn-chats I frequent of that's making you depressed.
I mean, porn chats? What is that?
-
@Tsaukpaetra said in WTF Bites:
Watching porn indeed does not require a brain.
Which is good, because your blood goes somewhere else
-
@Tsaukpaetra said in WTF Bites:
Watching porn indeed does not require a brain.
Which is good, because your blood goes somewhere else
The stomach!
Status: hungry. And thirsty.
-
@Tsaukpaetra said in WTF Bites:
@Tsaukpaetra said in WTF Bites:
Watching porn indeed does not require a brain.
Which is good, because your blood goes somewhere else
The stomach!
No, that's where the other person's blood goes.
-
-
@Tsaukpaetra said in WTF Bites:
thirsty.
Aren’t you always?
Unimaginably.
-
@Tsaukpaetra drink some water then.
-
-
I don't understand what's going on. The GPS is accurate, but offset...
Eyeballing it, it's about 15 miles west and three miles south of the actual location. Speed and time is correct though.
Edit: Also, this software is shit. It routinely crashes on one of the files (don't know which), doesn't save tracks between videos (yes, actually), and the responsiveness (web-speak-wise) is not there.
-
@Applied-Mediocrity said in WTF Bites:
DnSpy, anyone?
Because I'm procrastinating doing actual work, I decided to try it! Representative function:
WTF with those magic numbers?
But, I have sample code now, so maybe I'll remake the app myself!
Nah, is way too strong...
-
@Tsaukpaetra The most magical number appears twice. It should definitely get a name!
-
@Tsaukpaetra said in WTF Bites:
WTF with those magic numbers?
Edit: Wait, fuck, that's for MP4 files. The one for MOV files is different!!!
Also, apparently if the year is at least 2000 the magic numbers are slightly easier. Kinda.
-
@anonymous234 said in WTF Bites:
The "@" tells the system to switch from HTML to C#, but... why the double quotes?!?
… so that the template is still valid HTML (or XML or SGML or what it is), because that way an unmodified HTML parser can be used to process it and then the attributes can be scanned for the
@
s in the DOM. Though in this case they seem to break that with the@functions
syntax already anyway.It is common to do it like this in web frameworks, especially the JavaScript ones which simply use the browser's built-in parse and operate on the loaded DOM.
-
@levicki It's an urban myth that guys can't multitask.
And it is as much an urban myth that women can. At most they are a bit better at scheduling mental timer interrupts.
-
@anonymous234 said in WTF Bites:
Blazor syntax bugs me.
To specify an event handler with a lambda function you have to write<button @onclick="@(_ => DoThing("input"))">
The "@" tells the system to switch from HTML to C#, but... why the double quotes?!? Why do I have to quote something that's definitely NOT a string? And yes, the inner quotes just go straight there like that.
Because the lambda arrow contains a
>
, which is also the HTML tag-closing character. It's necessary to put it in a string to disambiguate.
-
@Tsaukpaetra said in WTF Bites:
@Tsaukpaetra said in WTF Bites:
@levicki said in WTF Bites:
it would greatly simplify the code?
Prove it.
Well... it is the sort of use case that reflection was designed for.
I must be . Every time I use reflection the code is messy, complicated, long, and (if SO is to be believed) less performant.
Joe Duffy, in his blogging about Midori, wrote that reflection was always something they intended to put in there at some point, but they never did because code generation always turned out to be a better option.
If you have metaprogramming, you can basically do everything reflection can do, but better. It's a shame C# doesn't support it.
-
@pie_flavor said in WTF Bites:
@topspin if only
operator==
wasEquals
rather than them being two separate things.Sometimes I feel Ben is clear and comprehensible compared to you.
Here, take this:
-
@levicki said in WTF Bites:
@Tsaukpaetra said in WTF Bites:
Prove it.
Here you go:
Thanks. I hate it.
-
@Tsaukpaetra said in WTF Bites:
@sloosecannon said in WTF Bites:
@Tsaukpaetra drink some water then.
Completed.
Still thirsty.
while (thirsty){ drinkWater(); } rinseGlass();
-
@Tsaukpaetra said in WTF Bites:
@sloosecannon said in WTF Bites:
@Tsaukpaetra drink some water then.
Completed.
Still thirsty.
while (thirsty){ drinkWater(); } rinseGlass();
Why would you rinse a glass you've only used with water?
-
-
@Mason_Wheeler said in WTF Bites:
Joe Duffy, in his blogging about Midori, wrote that reflection was always something they intended to put in there at some point, but they never did because code generation always turned out to be a better option.
I still need to finish reading that, my tab backlog is too high.
-
-
my tab backlog is too high
tabs are still big enough to see the title
you think your tab backlog is high....
i have four windows that are maximized open. all four windows have so many tabs open there's not enough room to show the favicons without squishing them.
it's probably time to open a fifth window so i can find the tabs i'm using again.....
-
@Vixen
VERTICAL
TABS
-
@Vixen I miss the vimperator plugin. It would print the number of open tabs in the status line. (Well, besides making firefox's UI somewhat tolerable. None of the webbly extension clones really work as nicely.)
-
@anonymous234 said in WTF Bites:
@Vixen
VERTICAL
TABSOr (perish the thought)...maybe close some tabs?
-
@anonymous234 said in WTF Bites:
@Vixen
VERTICAL
TABS@Benjamin-Hall said in WTF Bites:
maybe close some tabs?
-
my tab backlog is too high
tabs are still big enough to see the title
is using a browser too stupid to do that.
In Firefox, the tab bar is scrollable.And now for the == TR part:
Virtual desktops: 8,
Firefox windows: 7,
Tabs: 9+7+68+104+11+18+2 = 219But I could close 2 TDWTF tabs.
-
@anonymous234 said in WTF Bites:
@Vixen
VERTICAL
TABSI Wish Anything Was As Good As The Old Tree Style Tabs Plugin For Firefox That I Think Doesn't Work Anymore, a memoir by @hungrier
-
@Benjamin-Hall said in WTF Bites:
@anonymous234 said in WTF Bites:
@Vixen
VERTICAL
TABSOr (perish the thought)...maybe close some tabs?
Sounds good, but I fear it's too late for that. I guess I'll close them for good when I get a new job.
-
@Tsaukpaetra said in WTF Bites:
Why would you rinse a glass you've only used with water?
I'm guessing that on the Unger-Madison scale of cleanliness you're closer to Oscar than Felix.
-
Sounds good, but I fear it's too late for that. I'll close them for good when I get a new job.
Closing tabs - that's what spring cleaning is for, right?
-
@boomzilla said in WTF Bites:
@pie_flavor said in WTF Bites:
@topspin if only
operator==
wasEquals
rather than them being two separate things.Sometimes I feel Ben is clear and comprehensible compared to you.
Here, take this:
Thanks!
-
I Wish Anything Was As Good As The Old Tree Style Tabs Plugin For Firefox That I Think Doesn't Work Anymore, a memoir by @hungrier
Edit to add: I should look for a Panorama addon one of these days.
-
WTF of my day: So, you may remember this hubbub about our local Moodle instance? The one with the PHP version being EOL'ed for 3 years now?
Well, we pestered the vendor for about a month now to give us some info on when we could expect an update. Today we got the answer:
Well, we're indeed planning to release a new version. In Theory. No fixed date yet.
Our plan now is as follows: Our IT support guys will be on a traning course from this vendor. They'll ask for a definite date. If nothing is forthcoming we'll deactivate the vendor's instance and instead set up our own server.
And yes, before a certain someone begins to wail about cross-dependencies again: We also got an answer on this one - our vendor did choose a highly modular and containerized approach with zero interdependencies.
Which makes the lack of timely updates doubly confusing.
-
@levicki Because reflection is terrible for multiple reasons.
- S l o o o o o o o o o o o w
- Impossible to type-check
- Ugly and hard to read
A good metaprogramming system will solve all of these.
-
@levicki said in WTF Bites:
@Mason_Wheeler said in WTF Bites:
- S l o o o o o o o o o o o w
Now it's my turn to say "Prove it". You can't know unless you tried both approaches.
Past experience shows that doing the same thing with and without reflection generally results in a speed difference of 1-2 orders of magnitude. Is there any good reason why this specific case should be any different?
- Impossible to type-check
In this particular case you don't care about types, but it is possible to check types using reflection.
You're taking the term "type" too literally. If your reflection code asks for a member that was a part of the type at the time it was written, but then the base code gets refactored and the reflection code doesn't, you'll end up with an error at runtime because the shape of your type has changed. My point was that if you were running normal code, (either written manually or generated via metaprogramming,) this would get caught at compile-time.
- Ugly and hard to read
There is nothing ugly and hard to read in the method I wrote.
If you say so...
-
@levicki said in WTF Bites:
@Tsaukpaetra said in WTF Bites:
Thanks. I hate it.
Why?
It's a meme. Look it up.
-
@levicki said in WTF Bites:
There is nothing ugly and hard to read in the method I wrote.
That's like, your opinion, man.
-
@hungrier Vivaldi has vertical tabs and tab groups but no tab trees 😔