TIL (about the Dark Arts of HTML)
-
TIL the "read only" attribute in Windows folders does not in any way or form mean "read only".
-
@anonymous234 said in TIL (about the Dark Arts of HTML):
TIL the "read only" attribute in Windows folders does not in any way or form mean "read only".
/me thinks about it for a while before nodding.
that actually makes a certain amount of sense. though i would have probably taken a readonly flag on a folder to mean that you can only read the directory entry not write to it (so list files, but not create files)
it's massively counterintuitive either way, which is why permissions really should be additive, not subtractive. You either have the read permission, or you don't, likewise for write, and execute. and each file or folder has three categories of permissions "Owner", "Group Member", and "Others". if you are the owner of the resource you get owner permissions, if you are not owner but are a member of the group that groupowns the resource you get the Groupie permissions, otherwise you get the other permissions.
* The fact that i just described POSIX permissions is no coincidence.
-
@accalia said in TIL (about the Dark Arts of HTML):
that actually makes a certain amount of sense.
"Zero" is a certain amount of sense.
-
@Zecc said in TIL (about the Dark Arts of HTML):
@accalia said in TIL (about the Dark Arts of HTML):
that actually makes a certain amount of sense.
"Zero" is a certain amount of sense.
no, i mean it makes a certain amount of positive sense. given the constraints of backwaRDS COMPATIBILITY AND filesystems and stuff.
it's still braindead, and stupid, but it is understandable
-
@accalia Had a problem with your Caps Lock key there, did you?
-
@Zecc said in TIL (about the Dark Arts of HTML):
@accalia Had a problem with your Caps Lock key there, did you?
Yip Kyon YIP!
-
@accalia said in TIL (about the Dark Arts of HTML):
execute
A concept that only makes sense at all with POSIX semantics. Executability in Windows is a property of the filename. ;)
-
@dkf said in TIL (about the Dark Arts of HTML):
Executability in Windows is a property of the filename.
Which does make a limited amount of sense. In linux you get the old "You clicked an executable text file. What do you want to do?" dialog.
-
@PleegWat said in TIL (about the Dark Arts of HTML):
In linux you get the old "You clicked an executable text file. What do you want to do?" dialog.
It's not really all that much better on Windows, unless you really like the “Search the Windows Store” dialog.
-
@dkf said in TIL (about the Dark Arts of HTML):
A concept that only makes sense at all with POSIX semantics. Executability in Windows is a property of the filename.
FEH! a stupid idea that would have been eliminated by just using POSIX in the frist place!
@PleegWat said in TIL (about the Dark Arts of HTML):
In linux you get the old "You clicked an executable text file. What do you want to do?" dialog.
Well the alternative is
@dkf said in TIL (about the Dark Arts of HTML):
the “Search the Windows Store” dialog.
and i for one would rather the linux approach.
also Linux doesn't try to hide the file extension for you leading you to try to open
iloveyou.txt
and instead actually openiloveyou.txt.exe
-
@accalia That doesn't fix anything in that type of trojan attack though.
-
@PleegWat said in TIL (about the Dark Arts of HTML):
@accalia That doesn't fix anything in that type of trojan attack though.
no technilogical solution that allows the computer to remain functional and communicate with other computers will fix a trojan horse attack.
Mitigate, maybe. make difficult, maybe. prevent, no.
if you make the user believe there's a funny cat photo, they will do everything in their power to see the funny cat photo.
-
@PleegWat said in TIL (about the Dark Arts of HTML):
That doesn't fix anything in that type of trojan attack though.
In practice, the best options seem to be ones that encourage people to stop and think. Stuff downloaded off the internet by a browser or email client shouldn't be automatically executable; there should be an extra step of “ah yes, did I mean to do this?”. The exact mechanism isn't quite so important. But to be fair, Windows seems to be a bit better in this regard than it used to be: the UAC dialog now usually only pops up at times when you'd expect it to, so the question it is asking actually feels relevant.
There's a separate question about when is a file executable or not (independent of OS metadata). That's much trickier…
-
@dkf said in TIL (about the Dark Arts of HTML):
In practice, the best options seem to be ones that encourage people to stop and think.
Yeah but the thing is, people don't want to have to think about this. Not that they are stupid (well, a lot are, but that's not related), more that what we, as developers or otherwise used to the arcane of the system, see as important steps of a process, most users see as simply one thing ("get this from the interwebz").
So all the flak Microsoft/Apple/... get for making things automatic is actually not so stupid. You don't bother (anymore) checking anything before starting your car, except that there are no red lights on the dashboard, because all the intermediate checks and stuff are hidden from you. Yes, that means you cannot do much by yourself except driving, but on the other hand this is what most people want to do...
In that regard, it's good to remember that computers in the general public are about 30 years old at max (more like 15 or so, I'd say), so even taking into account that things move faster, that's about the state of the auto industry in the 30's or so... far, far away from where we are now!
-
TIL:
http://i.imgur.com/w5guR89.png
http://i.imgur.com/SmBSRyL.png
http://i.imgur.com/QAqkbeC.png
http://i.imgur.com/DVVZCwZ.png
http://i.imgur.com/sa61cXx.png
-
TIL my new tablet can charge itself.
This will come in handy!
-
@anonymous234 did it ever calculate the time to a full charge?
-
@Jaloopa Since the charge rate would undoubtedly come out negative, time to full charge would be before you even plugged it in. Now that's what I call a fast charge!
-
TIL Stan Lee has met Grumpy Cat and therefore this photo exists:
De-oneboxed: https://www.facebook.com/realstanlee/photos/a.490635691542.270978.26500661542/10154678620116543/?type=3&theater
Hmph, photo is cropped in onebox:
-
@Zecc
Why is Grumpy Cat wearing sunglasses?
-
TIL "﷽" is a single Unicode character.
-
@anonymous234 why would a box be more than one character?
-
@Jaloopa said in TIL (about the Dark Arts of HTML):
@anonymous234 why would a box be more than one character?
fonts.
-
@accalia and the fonts are different on iOS too.
-
@anonymous234 said in TIL (about the Dark Arts of HTML):
TIL "﷽" is a single Unicode character.
Am I the only person who has a little bit of an issue with a religious sentence being given its own Unicode codepoint? Are they also going to make a codepoint for the sentence, "In the name of the Father, the Son and the Holy Spirit"?
I mean, you want to make a glyph for the sentence, and put it in Unicode's Private Use Area, that would be perfectly fine.
-
@anotherusername said in TIL (about the Dark Arts of HTML):
a religious sentence
What does it mean? Is it a Hebrew thing or something?
-
@anotherusername Just think how easy it would be to use War and Peace as your Discourse password if it was all condensed into a single Unicode character!
-
@Jaloopa how do you confuse Hebrew and Arabic? They look nothing at all like one another.
It's Arabic, and it means "In the name of Allah, the Most Gracious, the Most Merciful".
-
@anotherusername said in TIL (about the Dark Arts of HTML):
how do you confuse Hebrew and Arabic?
By never having any exposure to either, and only seeing the text in a small screenshot
-
@Jaloopa I didn't know what it was either, and all I saw was this:
But the character has a Wikipedia article redirect, and if you google it, that's one of the top results:
Anyway, this is Hebrew:
And this is Arabic:
They're very different. Hebrew letters are boxy and disconnected. Arabic is a flowing, connected script. About the only things they have in common is that they're both written from right to left, and they both have a bunch of dots and squiggles adorning the text.
(I have no idea what the text in either image means.)
-
@anotherusername
Front page article readers would recognize Hebrew from this:
-
TIL that USB 3.0 flash drives can quit functioning as USB 3.0 if they are so packed full of pocket lint that the USB 3.0-specific pins are blocked.
-
Status: New project, new collection of broken code, this time simulating large neural networks in real time.
-
@Arantor said in TIL (about the Dark Arts of HTML):
@accalia and the fonts are different on iOS too.
And my Moto G has an entirely different glyph for that, with the first and second parts of the phrase stacked vertically. (Sorry, no screenshot because getting the image off my phone, cropping it, and posting it is more work than it's worth.) However, Chrome on my desktop, which has about 70,000,000 fonts installed (including at least 3 specifically Arabic fonts) displays only the missing-character box.
-
@HardwareGeek it's more of a decoration than anything else. You could probably have as many different versions of it as you have artists:
-
@HardwareGeek said in TIL (about the Dark Arts of HTML):
because getting the image off my phone, cropping it, and posting it is more work than it's worth
Just use https://photos.google.com/ to get the latest images in your phone!
Edit: did that for you
-
YIL that apple brandy makes a decent burger glaze.
-
TIL "narcissus" and "daffodil" are the same thing. I'd heard of 'em both, seen plenty of them, but always called those daffodils; I never realized they mean the same thing until today.
-
@anotherusername I read that as "narcissist", and was really confused. Now I'm just disappointed. :(
-
@Erufael To be fair, our local narcissist is also a daffy dill.
-
@anotherusername said in TIL (about the Dark Arts of HTML):
TIL "narcissus" and "daffodil" are the same thing.
May I interest you in the differences between fettuccine and tagliatelle?
-
@flabdablet said in TIL (about the Dark Arts of HTML):
daffyd
-
TIL Tumblr is built on PHP as they just moved to PHP 7 now they ported their custom extensions.
-
TIL there's such a thing as a laser harp:
https://www.youtube.com/watch?v=vGuPoh4qqj8
-
@RaceProUK one of the lucky 10,000, I see.
https://www.youtube.com/watch?v=9DlwQJX3qag
Tried to make one for a uni project once. Almost worked, but in the end we've burned the lasers out and re-shipping would be both costly and take too long.
-
TIL about the Ubuntu .nsf exploit
- Ubuntu had support for a type of file called NES Sound Format
- NES Sound Format is literally just NES code. Playing NSF files involves emulating a NES
- The NES emulator (or should I say, one of them, since Ubuntu shipped with two implementations) in Ubuntu had a vulnerability
- Ubuntu "preloads" sound files when you navigate to the folder containing them (for the preview feature that plays a small part when you hover your mouse over them)
And that kids is why you need to watch your attack surfaces.
-
TIL
-
@Boner ha ha. very funny.
-
TIL Target Australia has no no affiliation whatsoever with US' Target Corporation, even though they have essentially the same branding.
-