Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ploxiln
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
92 ms
·
841.
▲
by
ploxiln
11y ago
Every packet you send has headers, cookies, etc. injected long before it reaches the public internet? really? Not for TLS (https). Not for vpn connections. Really, pretty much never. It was big news when it came out that Verizon was doing t
842.
▲
by
ploxiln
11y ago
If you want to provide support for people during a "major stressful event in life", have the government provide that support (paid for by taxes of course). If you try to force private businesses to do that on their own, they will
843.
▲
by
ploxiln
11y ago
It's not that a single request is 40x faster (it may be no faster), it's that 40x requests can be handled in the same amount of time. The limitation is then the processing of the connections both in userspace and in the kernel, an
844.
▲
by
ploxiln
11y ago
It's not a matter of protecting employers or employees "more" (and how would you directly compare? you would need to convert all policies to some sort of "protection unit"). It's a matter of protecting people w
845.
▲
by
ploxiln
11y ago
This "penalty" you propose would be a cosmetic thing, it wouldn't really make a difference. Many devs would choose to use the module as a dependency of their modules. The real solution to the sub-dependency-insanity of npm is
846.
▲
by
ploxiln
11y ago
Kinda funny isn't it, after a decade where one might be required to use a proprietary VPN or email client that only runs on windows. And those things didn't use standard, published, or even consistent protocols, nor were they open
847.
▲
by
ploxiln
11y ago
> This actually happens: You thought it was a cool hack someone wrote a H264 decoder in pure JavaScript? Ads use that to implement auto play video where it would be not allowed by the browser. See, the problem is just bloat. Things will
848.
▲
by
ploxiln
11y ago
yes, yes, we know, no one is responsible for anything that they do ...
849.
▲
by
ploxiln
11y ago
I created this logrotate rule to rotate the docker json log files: /var/lib/docker/containers/*/*-json.log { copytruncate rotate 2 size 40M missingok nocreate nocompress
850.
▲
by
ploxiln
11y ago
Not really, it was an educated guess, and then a description of how binaries and libraries work on modern unix systems. Here's a quick demo based on the trivial example of the memcached docker images I mentioned in another thread:
851.
▲
by
ploxiln
11y ago
One really easy one: write a shell script to do most of the image building (run by the Dockerfile), instead of adding a bunch of RUN directives in the Dockerfile, especially if you clean up intermediate files with a "make clean" o
852.
▲
by
ploxiln
11y ago
Size of programs, in terms of disk, memory, cpu time, and network usage, is bloated by multiple orders of magnitude by all the confused people who think the only thing that matters is "developer productivity". Maybe 20% is worth
853.
▲
by
ploxiln
11y ago
It could well be due to things like shared libraries. A larger distro will have more options enabled, causing more shared libraries to be linked into the same running processes, and thus more shared libraries to be fully loaded into memory.
854.
▲
by
ploxiln
11y ago
But I did make a case: no patent lawsuits. That's easily big enough to counter any downsides.
855.
▲
by
ploxiln
11y ago
If patents were granted fairly and litigated fairly and efficiently, sure, they'd be great. But they just can't be. Many millions of dollars are spent gaining bad patents and litigating them unfairly. In practice, they're a t
856.
▲
by
ploxiln
11y ago
I don't think this is "zero empathy for the end-user", I think this is desperation. As companies and "product managers" get more statistical data on real-world clicks and usage and do more usability studies, they se
857.
▲
by
ploxiln
11y ago
Shell script interpreters like bash do. You can change a bash script while it's running (append, or truncate and re-write) and it'll keep going from the same offset. But then again, shell script is in a different class of language
858.
▲
by
ploxiln
11y ago
I'm surprised rename() wasn't mentioned in the article, it's a well known technique to atomically update a file, which is very practical for small-ish files. Note that in the general case, you should fsync() the temporary fil
859.
▲
by
ploxiln
11y ago
"fixing schools" is a fundamentally different kind of problem - it's one where we can't even agree on what a "big success" would look like. For who exactly? (only "low-performing" children?) To what e
860.
▲
by
ploxiln
11y ago
We live in a magical world where there might be no one with enough rights to release it, but many entities with enough rights to block it.
861.
▲
by
ploxiln
11y ago
Alternatively, you could call them busy-bodies ;)
862.
▲
by
ploxiln
11y ago
Are you sure it isn't 300/20? (also you have a pretty good deal - I have 200/20 for $80)
863.
▲
by
ploxiln
11y ago
That's a great link / experiment, thanks. By just counting the literal airtime of the beacons, I think it underestimates the effects a bit, because it doesn't account for the contention of the remaining air time, which would
864.
▲
by
ploxiln
11y ago
20 or so SSIDs beaconing adds up to a lot of airtime. Consider: * beacons are sent at a low "common" rate, perhaps 6mbps * beacons still include the preamble and the DIFS before that * 802.11n/ac get high bandwidth fr
865.
▲
by
ploxiln
11y ago
On the downside, even today, Tcl can't handle characters outside the basic multi-lingual plane. It only does UCS-2, it can't handle UTF16 surrogate pairs. If you convert an astral-plane codepoint, such as some popular emoji, from
866.
▲
by
ploxiln
11y ago
The problem here is, what if you want to use a new competitor to Netflix, perhaps one with more content and a snappier UI? But you can't because they didn't pay-off your ISP? (In addition to them paying their own ISP, and you payi
867.
▲
by
ploxiln
11y ago
You might be surprised about what does some random writes. Imagine you have a bunch of services which don't directly use the disk, but all log to some rotating log files. Or maybe every once in a while, something needs to fsync a rando
868.
▲
by
ploxiln
11y ago
"most people" in "the world we live in" are completely hopeless. You won't get to them until you sink completely to the level of the services you are trying to replace. So you won't help people who can be helpe
869.
▲
by
ploxiln
11y ago
You're not going to convince everyone to agree with you, or even just with what you think is most important. That's ok. You can agree to disagree. Especially if this is an acquaintance at a party, or a coworker, and the topic is n
870.
▲
by
ploxiln
11y ago
Presumably Apple's design teams are well paid to keep producing all that value they produce, and the income taxes are captured in the US.
More ›