Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cyberax
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
241.
▲
by
cyberax
3mo ago
Up until ~2015 one of the world's most deployed browser engines was Sciter. A work of _one_ person. A fast embedded browser engine, a binary about 4Mb in size. It was used to render the UI in apps like our favorite McAfee antivirus. Th
242.
▲
by
cyberax
3mo ago
I played around with it as a replacement for embedded WebKit in a desktop app. It's getting there! It's obviously not ready yet, but it's also not "infinitely far" anymore. I'm donating to them, because I think
243.
▲
by
cyberax
3mo ago
One interesting thing about JPEG is that you can do some lossless manipulations with it. In particular, you can concatenate multiple images together. Unfortunately, no common JPEG libraries expose these operations. Your only option is to us
244.
▲
by
cyberax
3mo ago
I have a 25GbE setup using Thunderbolt, kinda similar to the author's. Except that my fan is held together by a piece of string, not a 3D-printed enclosure. I found that SMB on macOS is just bad. If I try to heavily load it (e.g. by do
245.
▲
by
cyberax
3mo ago
Modern elevators have regen braking, so they can recover most of the energy spent on going down. Older elevators used braking resistors for that. (BTW, going _down_ while empty is typically more energy-consuming for the elevators because th
246.
▲
by
cyberax
3mo ago
I'm talking about the rate hikes in 2010-2011 after the economy started picking up. It caused the double-dip recession in 2012: https://www.macrotrends.net/global-metrics/countries/euu/eur... and https:
247.
▲
by
cyberax
3mo ago
Look at outcomes, not just words. Bernanke made a correct prediction that the rate had to stay low and that it wouldn't result in high inflation. Meanwhile, the ECB started raising the rate once the economy stopped crashing. And that p
248.
▲
by
cyberax
3mo ago
I made plenty of spontaneous trips. But even then I just need to pop into my garage, plug in the car, and it'll likely be close to 100% charged within 1-2 hours. Just enough time for me to get breakfast and read the morning YC news. An
249.
▲
by
cyberax
3mo ago
It was likely quieter on average and likely not working during the night. BTW, I grew up a few blocks away from a steel foundry, and it typically was emitting a low humming noise. It faded into the background and was not a problem. We could
250.
▲
by
cyberax
3mo ago
> “5-10 minutes every two hours” … lol, that’s good when you’re going from LA to San Diego. If I had to stop every two hours on a road trip I’d get a train ticket, it would feel a lot faster. Sorry, now you're spewing nonsense. LA t
251.
▲
by
cyberax
3mo ago
> Providing a safe online experience and protecting users from harm is a top priority at Google Play. No, it's not. Your top priority is squeezing as much money as possible.
252.
▲
by
cyberax
3mo ago
> Some years ago I was playing with the idea that the Reality might invent new laws when people look for them, and doesn't bother with laws when no one observes them There are several books from Greg Egan with this idea in mind: Per
253.
▲
by
cyberax
3mo ago
Because there's no way to make that one connection that works well. IPv6 transitional state is fundamentally less stable than IPv4. If you mean that one connection should be able to use multiple address families and addresses, then yes
254.
▲
by
cyberax
3mo ago
Happy Eyeballs was a bad fit for network-level implementation exactly because of sockets. But there's nothing inherently app-level about using multiple probing connections in parallel and then selecting the best one. If the IPv6 author
255.
▲
by
cyberax
3mo ago
> More concerning is the risk of exhausting server socket resources when probe-based connects don't hang up quickly if they don't want to use a connections. TCP connection cookies solved this problem in 90-s! They fell out of u
256.
▲
by
cyberax
3mo ago
Well, yeah. And I also can do IPv6 without any of these new-fangled application-level TCP by using raw sockets. War story: many years ago I was developing a service that runs computational tasks inside containers. That was when K8s didn
257.
▲
by
cyberax
3mo ago
Honestly, I think that it is _the_ reason. IPv6 is a terrible protocol, but it could have worked. The problem was that the early IPv6 migration strategies all focused on getting IPv6 connectivity to clients as fast as possible (like 6to4).
258.
▲
by
cyberax
3mo ago
Yes, there is. GAI was standardized in 2002, so it's not a part of the original sockets. And it still does not support Happy Eyeballs.
259.
▲
by
cyberax
3mo ago
That's theoretically true. But I don't know any public Internet-facing apps that care about that. For non-public networks, sure. For things like TCP-to-RS232 connectors that can only service one connection at a time. Happy Eyeball
260.
▲
by
cyberax
3mo ago
Nope. They have to be coupled for the Happy Eyeballs to work. Another option is for sockets to accept multiple addresses and address families in "connect" calls, so that only one connection wins.
261.
▲
by
cyberax
3mo ago
Raw addresses could have been an advanced option, rather than a requirement for every program.
262.
▲
by
cyberax
3mo ago
You absolutely can establish multiple TCP connections for POST methods. You just can't send any _data_. This is even used by browsers, this trick even has a slightly creepy name: "Happy Eyeballs".
263.
▲
by
cyberax
3mo ago
It's called a "loading dose" and it's a common trick in medication dosing. If your drug has an elimination half-life of 1 day, then it takes about 4 days to reach the steady-state concentration if you take normal doses.
264.
▲
by
cyberax
3mo ago
PrEP is effective even when taken after the event. The approved protocol is to take a loading dose (2x the normal dose) and then follow up with regular doses for 3 days.
265.
▲
by
cyberax
3mo ago
Yep, agreed. Garmins are great! I tried Fenix and I liked its feature set, but it's just too large for me physically.
266.
▲
by
cyberax
3mo ago
Sockets won over over-engineered monstrosities like STREAMS or X.whatever And yet, sockets are a terrible interface. They don't provide a way to get the details of the underlying connection for features like migration, checkpointing, o
267.
▲
by
cyberax
3mo ago
Pebble Time 2 is available again! I bought one. It doesn't have all the Garmin features, but it's free and I don't have to worry about it's software getting redesigned.
268.
▲
by
cyberax
3mo ago
You totally can! But it'll just look like it's made out of aluminum :(
269.
▲
by
cyberax
3mo ago
You can use TPM with secure boot to store the password. TPM checks that the firmware is the same and that the OS is signed by trusted (by _you_) keys, and if everything matches it makes the key available for reading by the OS.
270.
▲
by
cyberax
3mo ago
Why is it round?!? WHY? Round watches are bad. A circle is the worst shape for watches. Good watches are not round. Roundness is an anti-feature. Really. Just use a rounded rectangle shape. It will end up _smaller_.
More ›