542 points · by zjcqoo · 5y ago · 179 comments
I made a few fun plugins that would encode data (after deduping, compressing and encrypting them) into PNG or BMP and store them on Flickr (which gave you 1TB of free storage for images) or Picasa (now Google Photos). It was actually relatively efficient and not slower than the other methods, and it looked super cool to have albums full of what looked like images of static. It was a blatant violation of their ToC, so obviously not serious.
The code is still online, it's from 2014/2015. The Flickr plugin with the PNG encoder is here [3], and I'm not entirely sure if I ever published the Picasa one.
[2] https://github.com/syncany?q=plugin
[3] https://github.com/syncany/syncany-plugin-flickr/tree/develo...
[1] https://jio.nexedi.com/ [2] https://github.com/nexedi/jio
FUSE let Linux do all kinds of interesting things. Forgot about this one, thanks!
[1] DSLreports discussion from 2004 https://www.dslreports.com/forum/r11192502-GmailFS
Once the cloud storage companies launched and provided free/cheap tiers for huge storage we mostly lost the need for it.
I still have emails that I uploaded with it. Need to sit-down and look how that extension worked
In the desktop world, this is pretty much the same idea as FUSE [1] for filesystems. It's really fun/easy to use FUSE libraries in languages like Python [2] to make mountable filesystems this way, which then allows for integrations with all of your favorite local software / shell commands / etc.
> proxy.golang.org does not save all modules forever. There are a number of reasons for this, but one reason is if proxy.golang.org is not able to detect a suitable license. In this case, only a temporarily cached copy of the module will be made available, and may become unavailable if it is removed from the original source and becomes outdated. The checksums will still remain in the checksum database regardless of whether or not they have become unavailable in the mirror.
[1] https://www.flickr.com/photos/barosl/albums/7215763383971356...
https://www.pcgamer.com/kingdom-hearts-pc-save-files-are-tuc...
I can't remember the last time I created a website in a professional setting that would work without JS. Everything is written in things like React, Angular and Vue.js these days. And that seems to be the case for most modern websites. Atleast things made here in Oslo.
* instant load times
* stable performance
* no tracking, and sometimes even no ads
* no stupid animations that break scrolling, ask you to sign up for newsletters, etc
* no hijacked back button, or disabled highlighting/copy/paste, or pop ups/unders
Unless you're trying to play games, or use some complicated web application like an IDE, javascript offers absolutely nothing of value to you. It only exists to benefit the owner of the website. For 99.999% of web browsing use-cases, HTML/CSS is all that's needed.
The only situation I can think of where javascript has the potential to offer an improved user experience is with infinite scrolling. That's personal preference though, so if it's something you value, I could understand wanting to enable javascript.
(also, I just checked and noticed that Twitter refuses to work if you disable js. Fuck you, Twitter.)
Sites like the new Reddit design, Facebook, twitter etc. are just incredibly slow even on my beefy desktop and it its 100% because of how long the JS takes to execute.
We're off loading the performance hit in developer experience and server side rendering to the end user at the cost of a crummier user experience with many websites these days that strictly wouldn't need JS for most of the functionality. I'm not happy about this trend.
> viewing text/parsing XML
to
> allowing remote sites to execute code on your machine, immediately when you load a site.
That's quite a big jump, regardless of all the browser sandboxing.
The whole idea of articles, documents, and so on, for the web was semantic content held at a url, crosslinked to related semantic content, etc.
I do understand the idea of SPAs, but not the idea that everything should be an SPA.
This is such a basic thing to refuse that what’s actually weird is that you find it weird.
This is not to say that JS isn't being abused a lot -- but then again, it's soft tech, it's the internet and the abuse comes at little cost (compared to most industries). I always thought it's a huge part of what makes it fun and speeds all progress along like crazy.
Calling someone Amish of the internet because they refuse to be tracked, refuse to take part in voluntary remote code execution or just do their computing on a computer from 2010 on a poor internet connection is just sad.
If you want to live in a world where everything is a SPA by all means go for it, but be prepared to be criticised for making a blog post or a news story that is literally a bunch of text paragraphs interleaved with images require Javascript.
Doing so is not progress.
A website which does not work without JavaScript is by definition unprofessional. That doesn't apply to web applications, which of course use JavaScript heavily, and need to (at least until WebAssembly is ready for prime time — and even then JavaScript is required as a shim).
The Web is a web of hyper-linked pages, documents. It does not require JavaScript, although of course many pages are improved with the dynamic behaviour enabled by JavaScript.
I don't mean to sound flippant, nor do I mean to insult anyone's favorite browsing style, but insisting on this might be shouting into the wind? I could never make a business case for it, at least.
I propose that rather than ‘Web applications’ these be called ‘browser applications,’ because they are applications that run within the browser runtime. It is basically a coincidence (and a convenience) that they happen to rely on the same technology used for the Web.
What I don’t understand is why folks write browser applications for things that the Web platform already handles well. The Web is pretty cool! Not perfect, but then nothing is.
> The Web is a web of hyper-linked pages
The web is an open specification that has evolved greatly over time. Pretending like these principles are religious are exactly the antithesis of an open standard. It requires debate and discourse.
I use Vivaldi because it makes easy to have JS off by default and enable for each website that really needs it. (I do not know if Chrome/Chromium made this thing easy too)
So you fill in this entire form, hit submit, and then find out that you really needed JS and now you have to fill in the form all over again. How is that easy?
No, you need it to pad your resume.
That said, a lot of what you are doing in a browser application is re-implementing your own version of stuff that the browser already does, and the browser's version of it is accessible by default. So a JS-free application is almost always fully accessible for no extra development cost (as long as you check it for things like foreground/background contrast).
With how prevalent tracking on the internet is, despite GDPR's attempts. Yes, it is an issue.
Third party cookies is a much bigger concern there, and mostly orthogonal to the use of Javascript.
That's due to GitHub Pages not having any rewrite mechanism other than the 404.html hack. You can host the same thing on Netlify/Vercel/any other host with proper rewrite support, including a server of your own, and not have this problem.
I think you are overestimating the number of people who have JS disabled outside of this website.
https://caniuse.com/serviceworkers
It works on 96% of user's browser.
> Service workers are disabled in private browsing mode because they are impossible to use without setting up state tied to the origin and URL scope. This inherently requires writing to disk.
Had no idea this wasn't permitted.
No shit.
A while back I wrote a blogpost[1] about using PNG chunk functionality to "hide" a arbitrary data in PNGs without it affecting the way a PNG is displayed. I'd love to see this being used together with this project.
[1]https://blog.brian.jp/python/png/2016/07/07/file-fun-with-py...
https://www.pcgamer.com/kingdom-hearts-pc-save-files-are-tuc...
“Hosting SQLite databases on GitHub Pages or any static file hoster”: https://news.ycombinator.com/item?id=27016630
You can still make out who's who in them. Sorta.
If you encode some binary data in a fake photo, after a resolution change and a lossy compression, you will only get garbage.
This was 20 years ago or so... So many memories!
It's not free for the image hosting sites.
That being said, it's a cool util.
https://twitter.com/rafalpast/status/1316836397903474688?s=2...
It's a hard life running an image uploading service. You have to wonder how much they're being payed in ad revenue.
I use it a lot for a project trying to detect manipulated images including stego encoded images.
[0] : https://i0.hdslb.com/bfs/article/484c1e1a0c41d4482f6fc121132...
Imgur has really fallen over the years. It was first created by a redditor who was frustrated by how terrible free image hosts were at the time, like ImageShack and Photobucket. If an image hit the front page of reddit, it would very quickly turn into a "This image has reached its bandwidth limit", not to mention you usually couldn't directly link an image, and the image view page was riddled with ads.
Over time, though, Imgur has tried to become a social network, and is trying to stop being the go-to place when you just want to host an image.
But, to be fair, I don't really blame them. Image hosting gets expensive quickly, especially when everyone on reddit uses you. Of course, now reddit lets you post images directly to them, which on one hand, leads less traffic to Imgur, but on the other hand, the traffic going to Imgur is now more likely to see ads and browse the gallery, rather than just directly download an image.
A new host emerges to address the sorry state of existing hosts, with a streamlined and straightforward path to uploading. Then the cold, hard reality begins to set in: you cannot make money as a dumb pipe that delivers user-supplied images. Monetization strategies begin subtly at first. Before you know it the site is desperately trying to sell your image on a coffee mug, or hijack links to display ads, or grow into a social networking site. Something- anything- that pivots away from straightforwardly posting images and linking to them.
One day, some bold new creator sees the sorry state of existing hosts, recognizes an opening, and the cycle begins anew.
If anything is provided for free someone will come and ruin it...
I mean, if you gotta serve a malware payload, you are not going to host it yourself, so hidding it in an image on a public website is a good strat.
If the image gets recompressed during sharing, is it still possible to decode the website from it?
One of the problems I had when trying to build something like this in the past is that saving & sharing images was very lossy at the time. So I ended up using iCalendar and PDF attachments.
This is one of those things I would almost certainly only play with for fun, but it’s so damn clever, I just love it.
[1]: 635484
copy /B foo.gif+bar.zip foobar.gif
on imageboards back in the day.As for downvotes, just ignore them, there are pitchforks everywhere, not worthy to even spend one second thinking about.
Oh too bad services workers and javascript are disabled. Your website won't load images then.