WTF Bites
-
They're not difficult to use, but they're really not very discoverable.
I'd wager they're extremely easily destroyed by any programs that edit the file (i.e. unnamed stream) stream, copy it somewhere, or whatever. Because nobody special cases that shit.
-
copy it somewhere
" Are You Sure You Want to Copy This File Without its Properties?"
-
@Tsaukpaetra said in WTF Bites:
copy it somewhere
" Are You Sure You Want to Copy This File Without its Properties?"
Funny you’d mention it, I had that pop up 3 days ago copying something to a thumb drive and figured : “I don’t know. You’re not giving me the necessary information required to answer this.” Might be worth mentioning what fucking properties it’s talking about.
Also, that only pops up when you copy it with explorer, or maybe use
SHFileOperationWhateverExW
. Which nobody does. You read some bytes, you write some bytes, you don’t care about alternate data streams.
-
Some dialects of Spanish don't differentiate between B and V and pronounce them both as a voiced bilabial fricative instead of a voiced bilabial stop (English B) or voiced labiodental fricative (English V).
Wait, some dialects? Damn it, one of the two things I remember from my one (and only) Spanish language lesson is that
b
andv
are homonyms. And now you say I should forget it?It does not help that the other piece of information is: the word "comrade" is different in Spain and Cuba.
-
voiced bilabial fricative
voiced bilabial stop
voiced labiodental fricativeI'm sure that's how we nerds sound to non-computer people. Or, more on topic, it sounds remarably like
a monad is a monoid in the category of endofunctorscricket.Except that I understand what a voiced labiodental fricative is, unlike monads, monoids, endofunctors, and cricket.
-
-
@HardwareGeek said in WTF Bites:
Except that I understand what a voiced labiodental fricative is, unlike monads, monoids, endofunctors, and cricket.
This is cricket.
-
@Kamil-Podlesak said in WTF Bites:
Wait, some dialects? Damn it, one of the two things I remember from my one (and only) Spanish language lesson is that
b
andv
are homonyms. And now you say I should forget it?I believe it's true of Castilian (and possibly other Iberian dialects), but not of {many,all} Latin American dialects.
I took two years of Spanish in high school and had proper Castilian pronunciation drilled into me (but Latin American grammar; "Ignore vosotros. You'll never use it, unless maybe you go on to take a Literature class." ) However, more recently, Duolingo tends to emphasize Latin American Spanish, and the difference between b and v is clear, AFAICR.
-
-
@HardwareGeek said in WTF Bites:
Except that I understand what a voiced labiodental fricative is
That sounds like a You problem.
-
They're not difficult to use, but they're really not very discoverable.
I'd wager they're extremely easily destroyed by any programs that edit the file (i.e. unnamed stream) stream, copy it somewhere, or whatever. Because nobody special cases that shit.
Happens all the time. It's pretty much the reason why MS abandoned the idea after XP.
-
-
I'd wager they're extremely easily destroyed by any programs that edit the file (i.e. unnamed stream) stream, copy it somewhere, or whatever. Because nobody special cases that shit.
We (i.e., some people at work) discussed them at one point, and a suggestion that came up was to use them for caching. E.g., you have a file with data (foo.data), and you could attach cached data via (foo.data:cached). In this case, the cached version would essentially have been a processed version of the original data, optimized for use in a specific application (=faster loading, etc).
Ultimately, the problem is that -as you say- it's not discoverable and not very transparent for the user. Stuff like NVIDIA's drivers like to squirrel away cached stuff in random locations on the filesystem, but that's still easier to find than an ADS. Plus, similar-ish mechanism on other platforms are more limited (e.g., maximum size), so screw cross-platform stuff.
-
@cvi i.e. perfect for SSDS.
-
I've just approved two updates to two pull requests that looked exactly alike.
- The copy-pasta is clearly strong in this project. A lot of service functionality is just copied to all the components with one or two letter change (all the components have TLA names).
- The updates move a statement like
task>getId()
a couple of lines higher, obviously because an intervening statement destroystask
. That statement does not taketask
as argument, but if you squint hard enough, and are clairvoyant, you can sort of guess that it probably will. That's why I don't like C++ any more.
-
I forgot if I posted this before, but I was reminded of Nvidia's useless RTX 3050 performance chart.
Comparing raytracing performance against cards that does not have raytracing hardware, so the other cards (that wont even run the games) have an FPS of 0.
-
Status: I pressed the Play/Pause button on my keyboard to see what (if anything) would respond.
Any takers?
It was Teams. It played the "Incoming call" ditty.
Of course, it didn't play again after that.
-
@Tsaukpaetra I expected when revealing that…
-
I ordered two items for my wife to pickup from Lowe's when she is on her way back home after running errands. I go to print the receipt for her to show at pickup.
Bang up job on formatting an invoice that should all fit comfortably on one page. I know that the trend these days is for 5' of receipt plus space for your items, but that's a bit ridiculous.
It looks like they inserted a bunch of random shit at the end. I only had to print the first two pages.
-
@Polygeekery the worst is when they insert some shit at the beginning that you don't need at all and splits the useful stuff across the first and second pages.
-
#TODO: REMOVE THIS
comment added in 2017
-
@homoBalkanus easy enough....
TPS-0009167737: Removed TODO comment +0/-1
-
SELECT blah FROM contract WHERE contractId IN (SELECT contractId FROM TempTable WHERE contractId NOT IN (SELECT contractId FROM contract))
-
-
@loopback0 said in WTF Bites:
SELECT blah FROM contract WHERE contractId IN (SELECT contractId FROM TempTable WHERE contractId NOT IN (SELECT contractId FROM contract))
-
@loopback0 said in WTF Bites:
SELECT blah FROM contract WHERE contractId IN (SELECT contractId FROM TempTable WHERE contractId NOT IN (SELECT contractId FROM contract))
Now tell me that contractId is NOT NULL. Please.
-
@Zecc Does it matter that much? It's stupid either way. Slightly differently stupid, but stupid nevertheless.
-
@Bulb It matters somewhat. Three-valued logic adds another level of
sqlite> CREATE TABLE src(contractId DEFAULT NULL, val INT NOT NULL); sqlite> CREATE TABLE tgt(contractId DEFAULT NULL, val INT NOT NULL); sqlite> INSERT INTO src (contractId, val) VALUES (1, 1), (2, 2), (3, 3); sqlite> INSERT INTO tgt (contractId, val) VALUES (3, 3), (4, 4), (5, 5); sqlite> SELECT * FROM tgt WHERE contractId NOT IN (SELECT contractId FROM src); contractId val ---------- ---------- 4 4 5 5 sqlite> INSERT INTO src (contractId, val) VALUES (null, 4); sqlite> SELECT * FROM tgt WHERE contractId NOT IN (SELECT contractId FROM src); (no results)
I mean, the end result is still
SELECT blah FROM contract WHERE 1 <> 1
, but you won't be sure due to which kind of stupid. Doesn't that bother you? I want to know what kind of stupid. I want you to show me.Edit: wrote SQL keywords in upper case for your viewing pleasure.
-
@Zecc … the interaction of
null
within
seems to be even weirder than its interaction with other operators.
-
@loopback0 said in WTF Bites:
SELECT blah FROM contract WHERE contractId IN (SELECT contractId FROM TempTable WHERE contractId NOT IN (SELECT contractId FROM contract))
Now tell me that contractId is NOT NULL. Please.
It is indeed.
-
@Zecc … the interaction of
null
within
seems to be even weirder than its interaction with other operators.That's what happens when you combine "nothing is ever equal to NULL and nothing is ever unequal to NULL" with "X NOT IN Y is true if all elements of Y are unequal to X".
-
@loopback0 said in WTF Bites:
SELECT blah FROM contract WHERE contractId IN (SELECT contractId FROM TempTable WHERE contractId NOT IN (SELECT contractId FROM contract))
If that works and produces a non-empty result set, there's some extremely gnarly triggers about or
contract
is otherwise similarly screwy.
-
@loopback0 said in WTF Bites:
SELECT blah FROM contract WHERE contractId IN (SELECT contractId FROM TempTable WHERE contractId NOT IN (SELECT contractId FROM contract))
If that ... produces a non-empty result set
It does not.
-
In a way I am relieved this is just a no-op rather than some abuse of edge case shenanigans.
-
@Zecc timing / speedup query!
-
@Polygeekery said in WTF Bites:
It looks like they inserted a bunch of random shit at the end. I only had to print the first two pages.
Oh no! You missed the Terms & Conditions which have to be signed!
-
@loopback0 said in WTF Bites:
SELECT blah FROM contract WHERE contractId IN (SELECT contractId FROM TempTable WHERE contractId NOT IN (SELECT contractId FROM contract))
There might be a different issue. But that would come into work only when contractId is some varchar/char type.
"A " (note the space!) and "A" can be equal or not depending on the way the table are joined:
WHERE table1.field1=table2.field2
behaves different from
FROM table1 LEFT JOIN table2 ON table1.field1=table2.field2
Decades ago I deciphered an Access database which used that as a kind of protection.
-
@BernieTheBernie That would be a
bugmisfeature of Access then, because it does not make a speck of sense in $hell (nor $heaven or $earth or $disk or anywhere else).
-
@Polygeekery said in WTF Bites:
I took delivery of a X1 Titanium last week and I just don't like it and I don't know why.
I returned it. There was something about it that I just didn't like at all.
-
The fact that titanium is fireproof?
-
Obvious clickbait is obvious.
What are these "super hidden" files? Well, first of all they're not files. They're NTFS alternate data streams. Imagine being a Windows expert and not knowing about alternate data streams.
I have watched a fewe videos along the lines of this one. They were all titled in such a way that it made you think it would tell you something interesting, or possibly arcane knowledge, or something else. Not a single one of them ever did anything except make me think that the person producing the video was an absolute idiot.
-
who's gonna pay for a pond full of ducks?
Three words: roast duck futures.
One word and an acronym: Duck NFT
Yeah, that makes no sense, but neither do regular NFTs.
-
@HardwareGeek said in WTF Bites:
Except that I understand what a voiced labiodental fricative is, unlike monads, monoids, endofunctors, and cricket.
This is cricket.
I honestly did not see that coming.
-
But did you hear it?
-
@BernieTheBernie said in WTF Bites:
can be equal or not depending on the way the table are joined:
Wait, what?
-
@Polygeekery said in WTF Bites:
I ordered two items for my wife to pickup from Lowe's when she is on her way back home after running errands. I go to print the receipt for her to show at pickup.
Bang up job on formatting an invoice that should all fit comfortably on one page. I know that the trend these days is for 5' of receipt plus space for your items, but that's a bit ridiculous.
It looks like they inserted a bunch of random shit at the end. I only had to print the first two pages.
A bit after posting that someone called from Lowe's. They could not find one of the items that I had ordered even though they were showing it in stock. But they found a possible replacement item, which was actually the one that I wanted but it was not shown as in stock on the website or I would have ordered that one.
So the guy asks me if I want to cancel the order, change my order to another store that has the item I originally ordered in stock, or get the other one (which was ~$20 more expensive). I tell him that I will take the replacement and he starts saying all kinds of shit that was just confusing but it sounded like he was going to cancel my order and I would have to place a new one. I finally get that clarified and he says he can just cancel the first item and add the replacement to the order.
Fucking hell, this is all confusing to type out, I feel like I need to make a fucking flowchart to properly convey this shit.
So I ask if I need to do another transaction since there would be additional charges over what I had originally agreed to. He says no, he can just cancel the first item and add on the second. Which that seems sketchy that they can just add shit on to an online order without the customer somehow acknowledging it on their end. I see no way that could go wrong.....
So anyway, he fucked that up and somehow I got the second item (a ~$65 propane torch) for free and all I was charged for was the $6 piece of rebar. Nifty.
-
@Zerosquare said in WTF Bites:
The fact that titanium is fireproof?
-
@Zerosquare said in WTF Bites:
The fact that titanium is fireproof?
But it actually isn't. Titanium powder is highly flammable and will spontaneously combust. Titanium also cannot be welded unless it is completely enveloped in inert gas for that reason.
It is not quite magnesium levels of flammable, but it is definitely flammable.
-
Another proof that the best way to learn about things is to post something wrong.
-
@Polygeekery which, as I understand it, is why titanium stuff is so (comparatively) expensive. Ti isn't any more rare than Fe, really (or not much). It's just obnoxious to work with because it oxidizes rapidly and exothermically. Which is what keeps it from rusting/corroding--that layer of oxide shields the rest of it. But ignition is just rapid, exothermic oxidation.