WTF Bites
-
One of my buddies got Face Swap to work on him and a housecat though.
The best one I've seen is with a smoke cloud:
https://www.youtube.com/watch?v=ZSBLxOKx0fQ
-
I kind of want to see if I can fool the algorithm with something vaguely facelike.
My thoughts exactly.
@Maciejasjmj said in WTF Bites:
But here? "Oh, dear, silly me, that's not my face, those are my buttocks! Whew, glad you warned me!"
New challenge! Make facelike photo of buttocks.
-
-
@ben_lubar said in WTF Bites:
A MongoDB query equivalent to:
UPDATE posts SET reply_count = reply_count + 1 WHERE post_id = 26454;
Failed with an error equivalent to:
Duplicate key error: (posts.post_id, 26454)
So now I'm restoring the backup from 20 days ago on the staging server to see if I messed something up somehow. Because I don't want to take a new backup for this.
So by "queries are atomic per document", the MongoDB people mean "if you query a document while it's already being queried, it'll give you an error. maybe."?
-
@ben_lubar I suspect “atomic” here means that it makes your queries and documents emit a nice actinic glow when you turn the lights down.
-
All U.S. and Canada employees and contractors are required to complete emergency response
training for potential on-site, active shooter situations and other violent workplace threats.Cool. I took one of these recently. Towards the end there was some really interesting first aid stuff. When you take the course, would you mind reporting who made the course? I assume it's an online thing.
-
-
Press and hold a key on Windows, Linux, old Mac-s and pretty much every computer, ever?
Key repeats itself with configurable frequencyPress and hold a key on Mac El Capitan?
After a few seconds, you get this:No hints, no settings, no mouse interactions, no explanations what is happening at all. You have to google a magic terminal incantation if you want to get your normal keyboard back.
And that's if you're lucky and pick the key that has accents (like 'a'). For most keys, absolutely nothing happens. You just sit there, holding a key like an idiot and wondering why is your computer suddenly broken.
-
@cartman82 I haven't updated my Mac past Mountain Lion yet but if that's the case it's doubly stupid because Macs have had an easy way to get accented characters for decades already with the alt/option key.
-
@cartman82 EVERYTHING'S A PHONE!
-
@cartman82
"Here at Apple, we have courage. All you cowards need to learn how to use our new keyboard settings."
-
@cartman82 said in WTF Bites:
no settings
If they do add a setting it will be called something like Natural Keying
-
emergency response training for potential on-site, active shooter situations
Why did they feel the need add the qualifiers "potential on-site, active?" You don't really need to train for off-site (somebody else's problem) or inactive (what situation?) situations, and if the situation isn't potential (it's real), it's a little late for training.
-
@boomzilla said in WTF Bites:
@ben_lubar said in WTF Bites:
No
tests/
files were updated in the making of this PR.@Yamikuronue code coverage is like golf, right? A lower score means you're doing better?
-
@ben_lubar
I feel compelled to comment that Coverage Decreased -1.2% means that coverage is getting better. Though I suppose then one should also note that (-1.2%) would actually be a positive number since the () is negating the negative.Score one for the Department of Redundant Pendantry and Repeating Overly Technical Explainations
-
@ben_lubar
I feel compelled to comment that Coverage Decreased -1.2% means that coverage is getting better. Though I suppose then one should also note that (-1.2%) would actually be a positive number since the () is negating the negative.Score one for the Department of Redundant Pendantry and Repeating Overly Technical Explainations
I think the expanded form would be "Coverage decreased (went down by 1.2%)".
-
@ben_lubar
C'mon man, party foul! Who cock blocks a pendantry humo(u)r attempt like that?
-
@ben_lubar said in WTF Bites:
code coverage is like golf, right? A lower score means you're doing better?
Dirty little secret: Istanbul ignores any file that's not invoked during the test. The first test for a file generally drops the coverage because all the rest of that file is now being counted.
-
@Yamikuronue said in WTF Bites:
@ben_lubar said in WTF Bites:
code coverage is like golf, right? A lower score means you're doing better?
Dirty little secret: Istanbul ignores any file that's not invoked during the test. The first test for a file generally drops the coverage because all the rest of that file is now being counted.
Dirtier little secret: I missed a space between
function
and(
so 5 of the first 6 test runs failed. (Because of course code style is a fatal error and it doesn't let the unit tests run at all.) I did a force-push to fix that and the sixth test run picked that up instead of failing because it couldn't find the commit. So the -1.2% change is from having the MongoDB tests not run at all. The actual full test run was +0.3% coverage.
-
@ben_lubar said in WTF Bites:
So the -1.2% change is from having the MongoDB tests not run at all
Did I screw that up? It should be all or nothing: if eslint fails, you run 0 tests, and if it passes, you run all of them
-
@Yamikuronue said in WTF Bites:
@ben_lubar said in WTF Bites:
So the -1.2% change is from having the MongoDB tests not run at all
Did I screw that up? It should be all or nothing: if eslint fails, you run 0 tests, and if it passes, you run all of them
No, Travis CI screwed it up:
-
@ben_lubar I wonder how the fuck that last one ran?
-
@Yamikuronue said in WTF Bites:
@ben_lubar I wonder how the fuck that last one ran?
The first five used this: https://github.com/NodeBB/NodeBB/commit/5f16e206296e630f79313aa381fa39a656f2f256#diff-71bfafdcdc9e101544f43280d7752579R129
The sixth used this: https://github.com/NodeBB/NodeBB/commit/bd28b6f274a49bfc17a80e3c3491be97433fa64e#diff-71bfafdcdc9e101544f43280d7752579R129
-
@ben_lubar said in WTF Bites:
I did a force-push to fix that
Wait, were you rewriting your commit history? Don't do that.
-
@Yamikuronue said in WTF Bites:
@ben_lubar said in WTF Bites:
I did a force-push to fix that
Wait, were you rewriting your commit history? Don't do that.
Travis CI would have screwed it up anyway, since it pulls the PR by name and not by commit hash.
-
@ben_lubar Sure, but I think it'd have run twice if you didn't rewrite history and force-push. It can run multiple times per PR; it runs again when you add commits
-
@Yamikuronue said in WTF Bites:
@ben_lubar Sure, but I think it'd have run twice if you didn't rewrite history and force-push. It can run multiple times per PR; it runs again when you add commits
What I mean is this: https://travis-ci.org/NodeBB/NodeBB/jobs/171401356#L114
That line pulls the latest version of the PR regardless of whether I amended or not. The amend+force-push method just results in fewer one-byte commits when the PR is merged.
-
@ben_lubar
C'mon man, party foul! Who cock blocks a pendantry humo(u)r attempt like that?A greater pendant.
-
with the alt/option key.
Assuming they didn't get rid of that too...
As a vim user, fuck those new macbooks.
-
@cartman82 I haven't updated my Mac past Mountain Lion yet but if that's the case it's doubly stupid because Macs have had an easy way to get accented characters for decades already with the alt/option key.
Windows can also produce special characters by the typist's holding Alt and using the Numpad to type the 3 or 4 digits for the character's code.
-
@cartman82 I haven't updated my Mac past Mountain Lion yet but if that's the case it's doubly stupid because Macs have had an easy way to get accented characters for decades already with the alt/option key.
Windows can also produce special characters by the typist's holding Alt and using the Numpad to type the 3 or 4 digits for the character's code.
Remember though, this can only be done with the left Alt. The one on the right is used for Alt-Gr.
-
@cartman82 said in WTF Bites:
no settings
If they do add a setting it will be called something like Natural Keying
And they'll put it in the accessibility section, because anyone who wants it the other way must be disabled
-
As a vim user, fuck those new macbooks.
Using the escape key for vim/not binding caps lock to escape/not using
^[
is
-
-
@cartman82 said in WTF Bites:
no settings
If they do add a setting it will be called something like Natural Keying
And they'll put it in the accessibility section, because anyone who wants it the other way must be disabled
I've noticed Windows switched the terminology to "Ease of Access," which avoids such implications.
-
Am I missing something? It's a rabbit, A baby one at that, get a new one!
-
Just got a mail from a gaming store that I've used maybe once, years ago, and forgotten about. They're letting every registered user know that someone got their hands on their user database, so they reset all passwords. Well, shit happens, right?
And then they elaborated on what happened (rough translation):
However, today we found out that alongside the keys, the attackers managed to obtain roughly a half of all users' e-mails (we have over 200 000 users, 108 000 leaked). The leak also contains user passwords, which the attackers managed to obtain despite them being encrypted (MD5). We are now investigating and we will take appropriate measures to make sure this situation never occurs again.
Fucking hell. I really hope I wasn't using that same password anywhere else.
-
Who'd have thought that simply trying to mash stuff together which makes food doesn't actually result in real food?
Reminds me a bit of the anime Full Metal Alchemist where they try to resurrect their mother by simply mashing all the chemicals together which are inside a human.
-
Just got a mail from a gaming store that I've used maybe once, years ago, and forgotten about. They're letting every registered user know that someone got their hands on their user database, so they reset all passwords. Well, shit happens, right?
And then they elaborated on what happened (rough translation):
However, today we found out that alongside the keys, the attackers managed to obtain roughly a half of all users' e-mails (we have over 200 000 users, 108 000 leaked). The leak also contains user passwords, which the attackers managed to obtain despite them being encrypted (MD5). We are now investigating and we will take appropriate measures to make sure this situation never occurs again.
Fucking hell. I really hope I wasn't using that same password anywhere else.
One of these days it will be common knowledge that Hash!=Encryption...
-
The issues cropping up like this are on some level a function of Soylent’s approach to food. The company is continually iterating on its own product and is very public about the changes it makes.
No, I don't want my food to be agile
Ideally it stays in one place on my plate
-
@cartman82 To be fair, I can't think of a situation where I actually WANTED to do this:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
-
@cartman82 To be fair, I can't think of a situation where I actually WANTED to do this:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaWanted vs did? Glitched speech output FTW...
-
@Tsaukpaetra said in WTF Bites:
Glitched speech output FTW...
-
@coderpatsy said in WTF Bites:
@Tsaukpaetra said in WTF Bites:
Glitched speech output FTW...
SOI SOI SOI SOI
-
aeiou
-
Also Ubuntu doesn't support 32-bit UEFI boot because other reasons.
None of this makes sense to me but oh well
Edit: found this article
The TL;DR version is that it’s easier for the OS to get along with the firmware if they run at the same bitness (32-bit OS boots from 32-bit firmware, 64-bit OS boots from 64-bit firmware) and this is reflected as a fundamental principle of the UEFI Specification.
Apparently if tablet makers want 32-bit Windows, the firmware on those must be 32-bit too. Wonderful. Let's add this to the very long list of reasons why UEFI sucks.
-
@anonymous234 said in WTF Bites:
Also Ubuntu doesn't support 32-bit UEFI boot because other reasons.
None of this makes sense to me but oh well
Yeah, the wonders of idiots. All of my 64-bit "wintel" boxes have 64-bit CPUs, but the UEFI firmware is 32-bit only (how the fuck), and I haven't figured out how to slice in the Windows 32-bit EFI bootloader in a manner that it can thence load 64-bit windows.
-
Status: Really, Amazon? Shut up already! I got this shit a week ago!
-
The Windows version of iTunes () installs support files for ~35 different languages, rather than just for your default language. This amounts to 12,000+ files that can be safely deleted.
Extra bonus, iTunes creates a separate registry entry for each file.
-
Extra bonus, iTunes creates a separate registry entry for each file.
It should store the entire contents of the file in the registry entry too for extra safety.