Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TheLoneWolfling
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
TheLoneWolfling
11y ago
I will not rent anything that can be copied losslessly. (Among other things, this is the major reason I don't have netflix.) And I consider anything that can be (legally) taken from me without my consent, or that I cannot legally reenc
32.
▲
by
TheLoneWolfling
11y ago
Nevertheless, writing (essentially) append-only files is something that happens often enough that most filesystems should cope with reasonably well. And writing 20x slower than it could is nowhere near coping reasonably well. (Also: note th
33.
▲
by
TheLoneWolfling
11y ago
Potentially, although in that case it's still dsyslog's fault.
34.
▲
by
TheLoneWolfling
11y ago
PDFs are about the worst thing out there if you're frustrated about documents with embedded Turing-complete languages. And large bitmaps are rather bandwidth inefficient, and inaccessible to boot. I don't mind markup. I mind tech
35.
▲
by
TheLoneWolfling
11y ago
Let me make the connection a little more explicit: In {the burger case}, {removing sesame seeds} is an act that makes {the product} objectively worse, just in a way that will hopefully not make it worse enough to affect demand. And in {this
36.
▲
by
TheLoneWolfling
11y ago
In which case, what on Earth is rsyslog doing that it takes 1ms to append a line of text to the log file? I could see it if it was outputting something to software-based video - except that in that case, why is it trying to output to softwa
37.
▲
by
TheLoneWolfling
11y ago
I was speaking in the context of with JS disabled. There's a JS-based fade-in on page load (or at least there was; the author mentioned that it'd be changed at some point) that doesn't bother to have a fallback. And as such t
38.
▲
by
TheLoneWolfling
11y ago
Good theory. Alas, the author mentioned it took ~ 1 ms, which would be ~11.5 characters, and those log messages are a lot longer than 11.5 characters.
39.
▲
by
TheLoneWolfling
11y ago
Let me tell you a (probably-apocryphal) story: There was a giant multinational hamburger chain where some bright MBA figured out that eliminating just three sesame seeds from a sesame-seed bun would be completely unnoticeable by anyone yet
40.
▲
by
TheLoneWolfling
11y ago
Completely sidestepping the question of if the grandparent comment is correct, they are trying to imply that YouTube shouldn't be trusted.
41.
▲
by
TheLoneWolfling
11y ago
Thank you kindly! And again, the fade-in (although I don't like said effects personally) isn't the problem. The problem is that said fade-in is done via JS with no fallback. (Note that you can generally do fade-ins via CSS, IIRC,
42.
▲
by
TheLoneWolfling
11y ago
Except that it's relatively simple to make an append-only file both quick to write and reliable on flash... It seems that both the file system and flash controller punt the relatively common (and relatively simple) case of a file being
43.
▲
by
TheLoneWolfling
11y ago
> Adobe has made the file format available on the web Good for them. Nonetheless, my point stands. In many places, it is illegal to reverse-engineer file formats, and in many places it isn't illegal but may as well be due to the pot
44.
▲
by
TheLoneWolfling
11y ago
This is where you benefit by having a file system (or disk controller) that isn't brain-dead. Unfortunately, it seems like both the controller and file system are brain-dead on the RPi. Namely, you have a cache that detects this sort o
45.
▲
by
TheLoneWolfling
11y ago
> Nowaday’s fast Class 10 cards achieve their high read and write speeds only by buffering in advance, assuming that the subsequent blocks will be read or written next. That means they inevitably sacrifice random read and write speeds. T
46.
▲
by
TheLoneWolfling
11y ago
Better yet: a file the decompresses to multiple slightly different versions of itself. Say, one that is a version of itself with an additional one, and one that is a version of itself with an additional zero.
47.
▲
by
TheLoneWolfling
11y ago
Here's a fascinating thought. It should be possible to write an archive file that decompresses to a slightly different archive file. Say, the original archive file plus a zero byte. (Things get hairy because of the checksum in most arc
48.
▲
by
TheLoneWolfling
11y ago
A common misconception. There is no universal compression algorithm, by the pigeonhole principle. And your compression scheme won't work by the simple fact that the offset of where in Pi your data lies will, on average, take the same n
49.
▲
by
TheLoneWolfling
11y ago
What happened to the free market is that it isn't (a free market). It's illegal in many places to reverse-engineer the .psd file format - and there are many places where even if it's not illegal the potential lawyer costs are
50.
▲
by
TheLoneWolfling
11y ago
Tangentially related: What is the smallest self-hosted interpreter? What about the most efficient one? This isn't it (among other things, it isn't self-hosted).
51.
▲
by
TheLoneWolfling
11y ago
Don't forget the Pi (generally) uses flash. So seek speeds are irrelevant. If you're writing the following in 1ms: Apr 4 22:50:59 heating kernel: [14572.940927] Unhandled prefetch abort: breakpoint debug exception (0x002) a
52.
▲
by
TheLoneWolfling
11y ago
And then someone prevents you from running said oven until you pay them a ransom. (Or just starts turning on peoples irons at random, if it can turn them on as well) I personally think the security implications outweigh the potential benefi
53.
▲
by
TheLoneWolfling
11y ago
Perhaps a better quote would be "People don't want to buy a quarter-inch drill. They want (a) quarter-inch hole(s)!"
54.
▲
by
TheLoneWolfling
11y ago
Wait... It takes ~1ms to write a line to a log file?
55.
▲
by
TheLoneWolfling
11y ago
Agreed. As I said: it's a trivial fix.
56.
▲
by
TheLoneWolfling
11y ago
I find it rather... ironic, shall I say, when CSS actively hurts the readability of a site. This being one of those cases.
57.
▲
by
TheLoneWolfling
11y ago
For me, the utility of reading some random blog post that requires JS is far less than the potential consequences of enabling JS for every random blog post, given that most browser exploits require JS. As such, when the only reason that a s
58.
▲
by
TheLoneWolfling
11y ago
Sidestepping the question of if that actually adds anything to the article - they couldn't be bothered to do the fade-in correctly?
59.
▲
by
TheLoneWolfling
11y ago
It's not mine - it's from http://tantek.com/2015/069/t1/js-dr-javascript-required-dead
60.
▲
by
TheLoneWolfling
11y ago
Complex software is possible to get right in the same sense that it is possible for all the O2 molecules in this room to move to the other side of this room at the same time. It is technically possible, but improbable enough that, in the ab
More ›