TIL (about the Dark Arts of HTML)
-
-
@anotherusername said in TIL (about the Dark Arts of HTML):
i don't know what they did to that site but it lags line a sunovabith with autoplay of flash/html5 video disabled.
-
TIL how our vision differs in darkness vs daylight:
-
@bb36e Yeah, cones and rods also differ in their angle of vision, which is why it's much easier to discern color and details while they are right in front of you. Peripheral vision is grey and blurry.
But TIL about the Purkinje Shift.
-
@bb36e said in TIL (about the Dark Arts of HTML):
Moonlight is about 400,000 times weaker than direct sunlight
It's pretty crazy how big the range of light intensity is.
Moonlight, according to Wikipedia, illuminates surfaces with around 0.3 lux. A typical indoors light bulb gives you between 50 and 100 lux. But direct sunlight, that goes up to 100,000 lux.
So a room can seem well illuminated, but in comparison with bright sun it's still essentially pitch black.
And you try to take a photo inside when you can see perfectly well and the camera can only see darkness. Because camera sensors are still nowhere near as good as our eyes at this.
-
@anonymous234 said in TIL (about the Dark Arts of HTML):
Because camera sensors are still nowhere near as good as our eyes at this.
Our eyes (like most of our other senses) have basically a logarithmic response. Cameras are more linear.
-
@anonymous234 said in TIL (about the Dark Arts of HTML):
And you try to take a photo inside when you can see perfectly well and the camera can only see darkness. Because camera sensors are still nowhere near as good as our eyes at this.
It's really our brains doing the real heavy lifting there. Our cameras aren't really that much less capable than our eyes; our brains are just vastly superior at stitching it all together.
Our brains understand and ignore a lot of the motion blur in video (and in real life) -- try pausing any movie when there's any significant amount of motion going on, and note how bad the still frame looks when it's not moving. Your brain stitches that all together, though, and you see the object moving; almost all of the blur that your eyes actually observe is filtered out by the brain when it's in motion. If you look at any of the individual still frames from the video, though, your brain won't filter out the motion blur. So when a camera tries to capture a still image of an object that's moving, it actually has to be better than our eyes, because when we look at the resulting image, and it isn't actually in motion, our brain won't filter out motion blur.
-
@anotherusername said in TIL (about the Dark Arts of HTML):
almost all of the blur that your eyes actually observe is filtered out by the brain when it's in motion. If you look at any of the individual still frames from the video, though, your brain won't filter out the motion blur.
It's funny that we add motion blur to CGI to make it better.
It's long known that sometimes you need to make pictures look worse to make them more palatable.
-
@accalia said in TIL (about the Dark Arts of HTML):
@anotherusername said in TIL (about the Dark Arts of HTML):
i don't know what they did to that site but it lags line a sunovabith with autoplay of flash/html5 video disabled.
I think I might have a clue why...
-
@anonymous234 said in TIL (about the Dark Arts of HTML):
@bb36e said in TIL (about the Dark Arts of HTML):
Moonlight is about 400,000 times weaker than direct sunlight
It's pretty crazy how big the range of light intensity is.
Moonlight, according to Wikipedia, illuminates surfaces with around 0.3 lux. A typical indoors light bulb gives you between 50 and 100 lux. But direct sunlight, that goes up to 100,000 lux.
So a room can seem well illuminated, but in comparison with bright sun it's still essentially pitch black.
And you try to take a photo inside when you can see perfectly well and the camera can only see darkness. Because camera sensors are still nowhere near as good as our eyes at this.
Not exactly. Cameras can do a lot better than us too, it just depends on how expensive the camera is and what task you want from it. Your eyes ain't gonna do Hubble Deep Field images, for example.
-
@dreikin that's mostly because our eyes can't do long exposure times. Astronomy is more about light gathering power than magnification or resolution or sensitivity anyway.
-
@zecc said in TIL (about the Dark Arts of HTML):
It's funny that we add motion blur to CGI to make it better.
And then we massively overdo it in video games, because more is always better, right?
-
@scholrlea said in TIL (about the Dark Arts of HTML):
And then we massively overdo it in video games, because more is always better, right?
-
@anonymous234 said in TIL (about the Dark Arts of HTML):
Wow, it's been a while since I've seen VGCats. Astonished it's still going.
-
-
@r10pez10 nice, they invented a version of volleyball that people with no arms can play.
-
TIL that a rather silly adult-as-in-adolescent text-based web game called Secret Society Wars has come back online. Or maybe they never went away, I'm not sure, but last I heard they'd shut it down some time around 2011. Not sure I want to bother playing it again because, well, it was really, really silly. It was sort of fun the first time around, but in a hokey sort of way, like a cross between Miniature Golf and a Dr Dirty performance at some red-light district dive, and I doubt they have enough new stuff to it to be worth the time. Still, now you know.
-
@heterodox said in TIL (about the Dark Arts of HTML):
Wow, it's been a while since I've seen VGCats. Astonished it's still going.
"Going" is relative. There's less than one new comic per month. It's not dead, but it's also definitely not the first thing on the artist's mind.
-
TIL Porcupines make weird but adorable noises
https://www.youtube.com/watch?v=cILZ_cB3_so&feature=youtu.be
-
TIL you can put
document.getElementsByTagName("video")[0].playbackRate = 3
or= 5
or whatever into the JS console to bypass the 2x playback limit on YouTube videos.I'm sure this is like super basic JS knowledge, but I don't care - to me, this is a YouTube fact, not a programming fact.
-
@pie_flavor I bet that'll break their buffering scheme.
-
@pie_flavor said in TIL (about the Dark Arts of HTML):
document.getElementsByTagName("video")[0]
Got something against
$('video')
?
-
@magus said in TIL (about the Dark Arts of HTML):
@pie_flavor I bet that'll break their buffering scheme.
It's already broke, so no great loss.
-
@zecc said in TIL (about the Dark Arts of HTML):
@pie_flavor said in TIL (about the Dark Arts of HTML):
document.getElementsByTagName("video")[0]
Got something against
$('video')
?Only as far as I have something against JavaScript in general. As such I know virtually nothing about it and remain ignorant of what
$()
even means.
-
-
@zecc said in TIL (about the Dark Arts of HTML):
@pie_flavor said in TIL (about the Dark Arts of HTML):
document.getElementsByTagName("video")[0]
Got something against
$('video')
?Do you have something against vanilla.js?
-
@pleegwat said in TIL (about the Dark Arts of HTML):
Do you have something against vanilla.js?
Yes. It's JavaScript
-
@pie_flavor As I understand, there's a library called jQuery that every site in the universe uses, and lets you save DOZENS of characters by typing
$('thing')
(where "thing" is a selector written in their own magic syntax, or maybe it's a standard CSS selector?) to get an element rather than having to typedocument.getElementSomethingSomething("thing")
.I've never touched javascript, that's what I've absorbed through social osmosis.
-
@anonymous234 said in TIL (about the Dark Arts of HTML):
lets you save DOZENS of characters
Apparently, the really good thing about it was that it let you save a different dozen characters depending on which browser you were using, making supporting IE at the same time as a sane browser much easier.
-
@pleegwat said in TIL (about the Dark Arts of HTML):
@zecc said in TIL (about the Dark Arts of HTML):
@pie_flavor said in TIL (about the Dark Arts of HTML):
document.getElementsByTagName("video")[0]
Got something against
$('video')
?Do you have something against vanilla.js?
This is in the context of devtools. At least Firefox and Chrome implement $ regardless of jQuery presence in the page.
-
My point is @pie_flavor can write
$('video').playbackRate = 3
instead of...huh...
pressing up to recall
document.getElementsByTagName("video")[0].playbackRate = 3
from history.
-
@zecc the console history is really nice now if you have a few commands like that... even in a new window after restarting the browser it'll remember the command history from the console.
-
TIL that doctors having bad handwriting is a multicultural phenomenon...
Russian:
Chinese:
-
@anotherusername said in TIL (about the Dark Arts of HTML):
TIL that doctors having bad handwriting is a multicultural phenomenon...
Russian:
I think he's actually just drawing barcodes.
-
-
@tsaukpaetra said in The Continuing WtfCorp Saga:
all of the sudden
TIL. All my life I've heard and said "all of a sudden," and that returns a little over twice as many hits on Google (58M) than "all of the sudden" (26M). It turns out "all of a sudden" dates back to Shakespeare ("Taming of the Shrew"), but "all of the sudden" was in use even (a little) before that.
-
TIL web gardening is a thing
-
-
@boner
NUMA: the bane of existence for database systems in virtual machines.(Or anything else that's generally high RAM utilization versus CPU utilization; SQL and Exchange's databases are the two most common instances of this in Windows Server land).
-
https://www.youtube.com/watch?v=JdvFSQFZfK8
TIL a lot of people have put effort into earning fake video game records.
Cheating at a useless talent. That's just low.
-
TIL Runescape, World or Warcraft and Guild Wars 2 all have a currency called "spirit shards".
So that's interesting I guess.
Also that Runescape ported one of its quests to... the Amazon Echo? so that's a thing apparently.
-
Well, poop.
-
-
@jbert said in TIL (about the Dark Arts of HTML):
Well, poop.
Staying in the same genre, just spotted this on Medium:
https://medium.com/the-awl/the-shirtless-shitters-among-us-1950d4b8916e
There are two types of people in this world: those who take their shirt off to shit and those who are now hearing about it for the first time.
-
TIL that what I had assumed was an anonymous quip or joke was not actual quote, and from one of the most famous British jurists and Conservative MPs of the early 20th century, Fredrick Smith, the 1st Earl of Birkenhead:
Smith to witness: So, you were as drunk as a judge?
Judge (interjecting): You mean as drunk as a lord?
Smith: Yes, My Lord.
F.E. Smith
(1872 – 1930) British statesman, politician & lawyer
-
@scholrlea said in TIL (about the Dark Arts of HTML):
TIL that what I had assumed was an anonymous quip or joke was not actual quote, and from one of the most famous British jurists and Conservative MPs of the early 20th century, Fredrick Smith, the 1st Earl of Birkenhead:
Smith to witness: So, you were as drunk as a judge?
Judge (interjecting): You mean as drunk as a lord?
Smith: Yes, My Lord.
F.E. Smith
(1872 – 1930) British statesman, politician & lawyerWikiquote editors seem not to have found a written source for that quotation yet...
Or was that what you were saying? There appears to be a train of thought derailment in here:
TIL that what I had assumed was an anonymous quip or joke was not actual quote, and from one of the most famous British jurists and Conservative MPs of the early 20th century
-
TIL that Mr. Trump (now Mr. President) required that he be filmed (and addressed as Mr. or Donald Trump) in at least one scene of any movie or other production requesting to film on one of his premises:
-
-
-
In Song Dynasty China, oxen carrying large explosive charges were used as self-propelled explosive missiles.