WTF Bites
-
Bonus round: Answer checking afterwards.
-
@pie_flavor said in WTF Bites:
@topspin One of several interpretations of the question. I interpreted it as "B••••••O". The question was apparently meant as (BO••••••)∪(B••••••O)∪(••••••BO).
You what now??
Okay, I'm an ESL speaker, but I am sure the question is phrased very poorly if that's the case.
Makes it a bit trickier, too, because you have to use inclusion-exclusion to not double count those that belong to more than one category.
-
You what now??
Oh, I interpreted it your way first, but when I interpreted it the way I said afterwards, I came up with an answer that was exactly half of one of the choices, so I assumed that was the correct interpretation. Never would I have come up with the correct interpretation.
-
@pie_flavor said in WTF Bites:
Bonus round: Answer checking afterwards.
-
Was turned off for a few days and today it wouldn't boot anymore, just a black screen. After some troubleshooting with a boot image I realized it's not a hardware error and (guess I should've checked that first) booting with an older kernel still works. Old one was
2.6.32-754.2.1
, "new" one is2.6.32-754.6.3
.On a few CentOS-6 machines I had the issue recently that the initrd wasn't being regenerated after a kernel update so they panicked a few seconds after loading the kernel. Reinstalling solved it :-S
Whoa, WTF.
Isn't a super old Red Hat version supposed to be stable enough to not fuck up the machine with buggy kernel updates? Well, yum remove'ing the newer kernel fixed the boot problem and now I get security warnings.Shit happens. They patched a few serious bugs there and with a gazillion different configurations out there there's usually one or two where stuff blows up. Especially if you backport everything to a kernel that's many years older than the ones most people test with.
-
I know I'm late to the party (I Hate Oracle Club has been around for like 15 years), and what I discover about PL/SQL is surely common knowledge out here, but still - why the fuck does right padding an empty string to 15 characters results in an empty string?
-
@Gąska the first expression in
RPAD
can't be null.
-
@loopback0 that's why I did
RVAL(NVL(column, ''), 15)
. Specifically to avoid nulls fucking up things.
-
@Gąska Yeah but that's still equivalent to
RPAD(null,15)
.edit: in case you're not aware, Oracle treats empty strings as null.
-
WTF of my day: So, back to Cordova. When I tried to deploy my development build to my iPhone, XCode notified me that my phone was on iOS 12.1 but I did not have the proper tooling installed on the Mac.
So I clicked on "Update" in the store.
The "Time Remaining" stands at
03:59
for two hours now. The size of the update package? 2 GB. Actual download speeds seem to be at roughly ISDN speeds.What are their servers powered with - hamsters?
-
@pie_flavor said in WTF Bites:
@pie_flavor Honorable mention to this question:
https://i.imgur.com/zy2ufd0.png
Because the correct answer's scientific notation is ×1029, not ×1030.Where is ×1030?
-
-
@Rhywden So, since this took so long I went away and let it do its thing. Came back and pressed a key to wake up the screen.
What did I see: "The app store needs an internet connection to continue!" You had one the whole time! You're connected via LAN and since I was streaming Netflix in the meantime I would've noticed an outage!
Okay, restarted the app store. Then it wanted my AppleID's password again (because official updates obviously are a security risk!) and after that it presented me with:
0 of 6.1 GB.
Of course, that's what it showed me before I clicked on "Resume" (though, at 0 of 6 GB, what exactly is there to resume?)
Now it stands on "Waiting" for five minutes.
Hell, Windows Updates for all its faults at least gives the impression that it does something (if mostly ineffectually).
-
-
@pie_flavor said in WTF Bites:
@pie_flavor Honorable mention to this question:
https://i.imgur.com/zy2ufd0.png
Because the correct answer's scientific notation is ×1029, not ×1030.Where is ×1030?
Also, 2^101 - (101+1) ≈ 2^101 ≈ 2.54e+30
-
@pie_flavor said in WTF Bites:
@pie_flavor Honorable mention to this question:
https://i.imgur.com/zy2ufd0.png
Because the correct answer's scientific notation is ×1029, not ×1030.Where is ×1030?
Also, 2^101 - (101+1) ≈ 2^101 ≈ 2.54e+30
Nah, (2^101)-(101+1)=103-102=1
-
@Rhywden Okay, it has found the missing files it already downloaded. But also found some more to download - it's now at 2.9 GB to download.
Which will obviously take six(6) hours.
-
@PleegWat I see what you did there.
-
XCode
There is no hope
Yes. It's now at 200 MB from 6.2GB (previously it was at 400 MB of 2.1 GB). And now it will take 14 hours.
Seriously?
-
@pie_flavor said in WTF Bites:
@pie_flavor Honorable mention to this question:
https://i.imgur.com/zy2ufd0.png
Because the correct answer's scientific notation is ×1029, not ×1030.Where is ×1030?
Whoops, sorry. It was the other way around.
-
@Tsaukpaetra said in WTF Bites:
Status: Wow...
View source is amusing as well:
<label for="user-password">Password:</label> <!--<input name="ssn411" type="text" maxlength="75" id="ssn411" autocomplete="off" class="input-rounded" onkeyup="return noNumbers(event)" />--> <input name="ssn4" type="text" maxlength="75" id="ssn4" autocomplete="off" class="input-rounded" /> <input name="keyNum" type="text" id="keyNum" style="display:none" /> <input name="pwd" type="text" id="pwd" style="display:none" />
And
noNumbers()
seems to be all sorts of weird...0_1541364771851_view-source_childguardonline.net_ParentValidation_PPlogin.aspx.html
-
@Rhywden So, since this took so long I went away and let it do its thing. Came back and pressed a key to wake up the screen.
What did I see: "The app store needs an internet connection to continue!" You had one the whole time! You're connected via LAN and since I was streaming Netflix in the meantime I would've noticed an outage!
Okay, restarted the app store. Then it wanted my AppleID's password again (because official updates obviously are a security risk!) and after that it presented me with:
0 of 6.1 GB.
Of course, that's what it showed me before I clicked on "Resume" (though, at 0 of 6 GB, what exactly is there to resume?)
Now it stands on "Waiting" for five minutes.
Hell, Windows Updates for all its faults at least gives the impression that it does something (if mostly ineffectually).
Sounds like a normal xcode update.
-
@Rhywden Okay, last one but I thought that a reboot might help? It did: It's only 2.9 GB now but somewhere along the line we lost 170 MB and now it's at 0.035 of 2.9 GB.
-
@dcon You can say what you want about Visual Studio - that thing is huge but it installs fast.
-
@dcon You can say what you want about Visual Studio - that thing is huge but it installs fast.
I think every time I have to update xcode, I'm posting "waitingwaitingwaiting" in the status thread. I don't think it's ever installed in less than 6 hours. VS? Yeah, always quick.
-
@dcon You can say what you want about Visual Studio - that thing is huge but it installs fast.
Speak for yourself. Slow as fucking molasses for me.
-
@pie_flavor said in WTF Bites:
Slow as fucking molasses for me.
Molasses is fast if you throw the tin it is in as well.
-
@dcon Xcode is only half as bad as iOS updates when they come out. The download servers are seriously at dialup speed with all the world downloading the next set of “70 new emojis”.
-
@loopback0 said in WTF Bites:
edit: in case you're not aware, Oracle treats empty strings as null.
Found the WTF.
-
Firefox has this "interesting" failure mode...
I suspect that it has something to do with memory limitations, but once borked, it persists in borked-deding even if there is plenty of available memory, until either Firefox is restarted or, if you can identify the specific process which has borked-ded*, until that process has been killed so that it can automatically start a new, un-borked-ded process.
*The easiest way to do this is to use Task Monitor: in the Applications tab, right-click a Firefox window and go to process; make note of the process that it highlights because that's the main Firefox process -- killing it will kill the whole browser. Then hit F5 in one of the borked-deding tabs, and look for the process with CPU usage that isn't the main one.
-
@anotherusername does firefox not have its own task manager like Shift+Escape in Chrome?
-
@pie_flavor said in WTF Bites:
That's simple and small enough to list them out:
00111111111111
00011111111111
00001111111111
...
00000000000011
They probably also mean to include
01111111111111
and
00000000000001
but the question does say 0s and 1s.
-
@djls45 So you're aiming for a "then"/"than" angle? Interesting. Didn't occur to me.
-
@pie_flavor said in WTF Bites:
https://i.imgur.com/N6IYSsd.png
(308,915,776)Since the first and last two letters are fixed, there's only
46 letters to arbitrarily pick, so 26^46 =456976 ??308,915,776
-
@pie_flavor said in WTF Bites:
@topspin One of several interpretations of the question. I interpreted it as "B••••••O". The question was apparently meant as (BO••••••)∪(B••••••O)∪(••••••BO).
You what now??
Okay, I'm an ESL speaker, but I am sure the question is phrased very poorly if that's the case.
Makes it a bit trickier, too, because you have to use inclusion-exclusion to not double count those that belong to more than one category.Yeah, that's very poorly worded.
BO•••••• => 266 permutations
B••••••O => 266 permutations
••••••BO => 266 permutations
----------------------------------------------
B•••••BO => 265 permutations (3 occurrences, so discount 2 to get rid of overlap)
BO•••••O => 265 permutations (3 occurrences, so discount 2 to get rid of overlap)
BO••••BO => 264 permutations (3 occurrences, so discount 2 to get rid of overlap)
----------------------------------------------
3×266 - 4×265 - 264 = 926,747,328 - 47,525,504 - 913,952 = 878,307,872I think someone's math is wrong, because I'm getting a very different number than any of the given responses, but I'm too tired at the moment to try to figure out where.
-
Yes, this is the kind of information I just couldn't live without!
Shit, it's 16.00! Cool!
-
@kt_ But if it had failed, you'd have gotten an error message that more or less goes "Error, LOL" without any information about what went wrong.
-
@kt_ But if it had failed, you'd have gotten an error message that more or less goes "Error, LOL" without any information about what went wrong.
Nah, it would've said "SPANK SPANK! BAD USER!".
-
-
Yes, this is the kind of information I just couldn't live without!
Shit, it's 16.00! Cool!
Well, it does say "NVM" right there.
-
I think someone's math is wrong, because I'm getting a very different number than any of the given responses, but I'm too tired at the moment to try to figure out where.
I got something slightly different. No idea how to get any of the available options.
Assuming we do want |(BO••••••)∪(B••••••O)∪(••••••BO)|, define the individual parts as
A = (BO••••••)
B = (B••••••O)
C = (••••••BO)
the result is then |A∪B∪C| = |A| + |B| + |C| - (|A∩B| + |B∩C| + |A∩C| - |A∩B∩C|) with
|A| = |B| = |C| = 266
|A∩B|= |B∩C| = |C| = 265
|A∩C| = |A∩B∩C|So, in sum, we have 3*266 - 2*265 = 902,984,576
-
@anotherusername does firefox not have its own task manager like Shift+Escape in Chrome?
It has
about:memory
and
about:performance
It doesn't appear to anymore, but
about:performance
used to show the memory usage of each individual Firefox process. It didn't show anything that Task Manager doesn't, though (and it didn't give any way to kill a process anyway). Half the time, if a process was having problems, it wouldn't even show that process... it was off doing its own thing and not posting back its status to the main process. (I may have also occasionally used the process of elimination to kill Firefox processes that didn't show up in theabout:performance
process list...)So no, there's not really an easy way to get the PID corresponding to a misbehaving tab. At least, not easier than what I described. You could hit the "Measure" button on
about:memory
to get a memory report, and that would identify which process each web URL is running in...But with as long as it takes to generate the report, and then searching for the URL of the page whose process you're trying to kill, it's basically easier to just use Task Manager.
-
Ever hear of "blood oranges"? Well, these are the next incarnation of sanguine citrus fruits.
I've recently learnt about 'bleed orange'...
I don't know how common it is elsewhere in the world, but here in the USA I've heard and read the phrase "bleed {color}" in reference to being a fanatic supporter of a sports team represented by their main color, and then by extension and application, to being a fan or member of almost any sort of organization.
-
@djls45 So you're aiming for a "then"/"than" angle? Interesting. Didn't occur to me.
These are quizzes written by the ultimate of math nerds (math teachers), so grammar isn't necessarily their strong suit.
-
@anonymous234 Yes, that's the default behavior of WPF: On Error Resume Next. I wrote a few rants about it. Hardly anyone seems to understand what I mean. But really: when some error happens in the "Binding", the default is "On Error Resume Next". Only when you know the details of WPF, you can configure some listeners to enable you to log the problem, or do something else with that information.
-
Today I gave a presentation in class, which I was relying on having two screens for - one on my laptop and one on the projector. Except when I plugged it in, the wackiest fucking thing happened. The projector wrapped vertically. The bottom of the screen was about halfway up the screen, there was a big black bar below it, and then the top of the screen was about two inches from the bottom. I unplugged everything and plugged it back in again, I've used this projector before, and several students used it after me with no issues. But I could not get mine to work properly. So all my slide titles were split across the top and bottom. How the hell does this happen?
-
@pie_flavor Sounds like something from the analog age that should be impossible in this century.
-
Microsoft: "confirmation dialogs should never use OK/Cancel, they should use the verbs of the actions they do"
Also Microsoft: "no, we won't extend the MessageBox class to let you use custom strings for the buttons, go create your own lol"
-
Status: Based on the call stack, I'm not entirely sure this crash is my fault, but since it's a Release Build there can be no helpful or meaningful information gleaned from this 367MB dump I took.
-
@pie_flavor Did you double-check the screen resolution and extended display properties while the projector was plugged in?