Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pornel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
661.
▲
by
pornel
2y ago
It has similar features to ZIP: supports multiple files and directories with random access, in-place updates, and has a central directory. But it also can optionally merge consecutive file bodies for improved cross-file compression, and
662.
▲
Shared Brotli Compressed Data Format (multi-file archive format)
(datatracker.ietf.org)
2 points
by
pornel
2y ago
|
1 comments
663.
▲
by
pornel
2y ago
Credible reduction in car dependence needs well connected fast passenger rail networks, and changing urban sprawl to something denser with more local amenities. The first one is a major infrastructure project, the latter is largely unpopula
664.
▲
by
pornel
2y ago
There will be eventually only one faction left using C++ — the legacy too-big-to-refactor one. The other faction that has lost faith in WG21, and wants newer, safer, nimble language with powerful tooling is already heading for the exits. He
665.
▲
by
pornel
2y ago
Which Linux distribution has packages for macOS, Windows, and Android?
666.
▲
by
pornel
2y ago
World's response to the climate crisis is already dangerously delayed, and we're at a point where we need anything ASAP. We've ran out of time to massively overhaul infrastructure everywhere. The US and UK apparently can'
667.
▲
by
pornel
2y ago
I wouldn't be surprised if that created kafkaesque problems with other institutions that require name to match the bank account exactly , and break/reject non-ASCII at the same time.
668.
▲
by
pornel
2y ago
In 2013 Google Reader has been shut down, and Google defederated from XMPP. That has been the beginning of the end of "Web 2.0". Before that we were naively thinking all those APIs were free, and only the old enemy Microsoft wante
669.
▲
by
pornel
2y ago
I also think Rust has picked the right default, but I wouldn't mind having an opt in to the other pair of trade-offs. There are traits like `ToSql` that would be mostly harmless. Serde has tricks for customizing `Serialize` on foreign
670.
▲
by
pornel
2y ago
Of course it can change, that's what removal of coherence does. It seems to me to be a logical impossibility to allow orphan implementations, and allow crate updates, and not have trait implementations changing at the same time. It
671.
▲
by
pornel
2y ago
I'm new to GPU programming, and WebGPU and Rust's wgpu seem pretty nice to me (except the bindings!). The API is high-level enough that it's easy to learn. It hasn't grown deprecated parts or vendor-specific extensions y
672.
▲
by
pornel
2y ago
How about downgrading duplicate implementation in the binary to a warning? SQL has CREATE TABLE IF NOT EXISTS. Rust could have `impl Trait if not already implemented`.
673.
▲
by
pornel
2y ago
This doesn't solve the hashtable problem: Crate A implements Hash(vA) for T Crate B implements Hash(vB) for T Crate C has a global HashSet<T> Crates A and B can both put their T instance in the C::HashSet. They
674.
▲
by
pornel
2y ago
You're talking in hypotheticals, but Norway has 80%+ market share of BEVs, and quite a few towns with 20,000+ residents. There are already many multi-megawatt charging locations built all around UK and Europe. It's an expensive in
675.
▲
by
pornel
2y ago
> and any rest stop that takes more than 10 minutes is no go for me. You're pretty uncompromising. There are already BEVs that need 18 minutes to recharge. That's close to a 10-minute rest stop + gas station stop. In real world
676.
▲
by
pornel
2y ago
This problem is already solved in places with more developed infrastructure: • Workplaces can have chargers in their parking lots. In places where cars are parked for many hours, slow chargers are sufficient, which makes them relatively che
677.
▲
by
pornel
2y ago
Here's more about electric tugboats: https://www.youtube.com/watch?v=mu9XZIpOTcw They can have super high torque. Quiet motors allow them to operate where diesel wouldn't be allowed due noise pollution.
678.
▲
by
pornel
2y ago
Nix also breaks if you try to update it, and you'll eventually have to update for security issues. I'm stuck with a defunct Nix project I can't update, because crane and fenix flakes made breaking changes, and nix is giving m
679.
▲
by
pornel
2y ago
These are cheap "city" EVs with small batteries and slow charging. They have all the compromises and annoyances that people don't like about EVs. The desirable EVs have 2x-3x more range and charge 3x-4x faster. That completel
680.
▲
by
pornel
2y ago
For compatibility with the Web content, the `click` event has become a device-independent activation event. Sites can't be expected to listen for events from every kind of device, so instead all devices send `click`s. They care, becaus
681.
▲
by
pornel
2y ago
I'm amazed how well the Send/Sync bounds work. Finding all possible data races in arbitrarily large and complex programs (even across 3rd party dependencies and dynamic callbacks) seems like a challenging task requiring specialize
682.
▲
by
pornel
2y ago
How does it prevent two actors from waiting on each other?
683.
▲
by
pornel
2y ago
Because most applications aren't written in C++. People don't write web apps in C++, because they would have to deal with memory safety issues in addition to all the other issues related to auth, injections, etc.
684.
▲
by
pornel
2y ago
If that was the plan from the start I'd expect them to be more careful about dependences on reference counting and implicit allocations. It's more optimized than ObjC, but still has things like loops that iterate over a logical co
685.
▲
by
pornel
2y ago
I'm concerned that Bluesky has taken money from VCs, including Blockchain Capital. The site is still in the honeymoon phase, but they will have to pay 10x of that money back. This is Twitter all over again, including risk of a hostile
686.
▲
by
pornel
2y ago
True, you need to know what is and isn't possible in the borrow checking model to avoid learning it the hard way after writing the code. There are some gotchas that you need to learn (e.g. self-referential structs won't work, or &
687.
▲
by
pornel
2y ago
I've used it a while ago, but got burned by very uneven support across compilers — MSVC required special tweaks, and old GCC would create crashy code without warning. It was okay for basic embarrassingly parallel for loops. I ended up
688.
▲
by
pornel
2y ago
Apple wants to migrate away from C++, including code in the kernel, so they need a safe, low-overhead language. Swift has originally been designed as an ObjC replacement, mostly for UI glue code, with conveniences more like a scripting lang
689.
▲
by
pornel
2y ago
Maybe. It depends how strong the watermark was, and how good the photo was at reproducing the image.
690.
▲
by
pornel
2y ago
Yes. The data is embedded in the pixels of the image, and it's embedded in a way that survives recompression of the image and some editing.
More ›