3 ms·
Sadly the .js file[1] backing that page is 860 kilobytes of minified unreadable gibberish, containing the various strings that can appear in the code editor har
by nyanpasu64 5y ago
Sadly the .js file[1] backing that page is 860 kilobytes of minified unreadable gibberish, containing the various strings that can appear in the code editor hard-coded in the same line of text as minified React. I don't know how much of the file is frameworks and how much is responsible for making editable code, but shipping nearly a megabyte of JS to the browser feels sad.
I've noticed that the editable text in the laptop screen isn't as overexposed as the rest of the laptop's screen.
On that note, why is it so hard to photograph a screen with the right exposure? Automatic exposure always gets the brightness wrong, and even if you manually fix the exposure level, it's hard to reliably map black to near #000000 and white to near #ffffff and gray to near #808080.
[1]: https://s3-eu-west-1.amazonaws.com/developer-portal-assets/live/client/main.8dc76bdd.js https://s3-eu-west-1.amazonaws.com/developer-portal-assets/l...
- mgmgmgmgmg 5y agoit's almost like they used a js compressor
- tyingq 5y agoPrettified: https://raw.githubusercontent.com/tyingq/devbbcjs/main/main.js https://raw.githubusercontent.com/tyingq/devbbcjs/main/main....
- quicklime 5y ago> I don't know how much of the file is frameworks and how much is responsible for making editable code I don't think very much. This is a contenteditable <textarea> element with a CSS transform to project it onto the screen in the photo. From digging through the minified js, there's just a small amount of code that sets it up and puts some canned text in there (of which there are a few choices, but still not a huge amount).
- dannyw 5y agoThe colour space of a photo, is nearly always not the same as the colour space of a photograph.
- antientropic 5y agoWhat's the difference between a "photo" and a "photograph"?
- sharken 5y ago> The word ‘photo’ comes from the Greek word for light. > A photo may also be referred to as a ‘photograph’, this is a combination of the Greek words for light and drawing; A photograph is a drawing made of light. Source https://shuttermuse.com/glossary/photo/ https://shuttermuse.com/glossary/photo/ According to Wikipedia the two words mean the same thing: https://en.m.wikipedia.org/wiki/Photograph https://en.m.wikipedia.org/wiki/Photograph Photo seems to be the more popular version lately which is hardly surprising: https://books.google.com/ngrams/graph?content=photo%2Cphotograph&year_start=1800&year_end=2000&corpus=15&smoothing=3&share=&direct_url=t1%3B%2Cphoto%3B%2Cc0%3B.t1%3B%2Cphotograph%3B%2Cc0 https://books.google.com/ngrams/graph?content=photo%2Cphotog...
- scrollaway 5y agoTrying to assume as much good faith in the original comment, GP may have been talking about the difference between the original photo and the resulting published jpeg file.
- orf 5y agoYou’re going to have a heart attack when you try to cat an executable on your local machine!