Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pornel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
331.
▲
by
pornel
1y ago
Rust has a combo: people come for safety, stay for usability. Languages struggle to win on usability alone, because outside of passion projects it's really hard to justify a rewrite of working software to get the same product, only wit
332.
▲
by
pornel
1y ago
Unicode wanted ability to losslessly roundtrip every other encoding, in order to be easy to partially adopt in a world where other encodings were still in use. It merged a bunch of different incomplete encodings that used competing approach
333.
▲
by
pornel
1y ago
It's quite the opposite. The number of high-quality maintained libraries is growing . Rust keeps growing exponentially, but by Sturgeon's law for every one surviving library you're always going to have 9 crap projects that a
334.
▲
by
pornel
1y ago
It applies to Ring and not other doorbell cameras, because Amazon is collecting and selling access Ring video feeds.
335.
▲
by
pornel
1y ago
Google Pixel Buds have a translation feature, and a bunch of other "Gemini AI" gimmicks, available in the EU. Apple managed to get approvals for medical devices and studies (highly regulated everywhere), custom radios and satellit
336.
▲
by
pornel
1y ago
GDPR is about collection and processing of personally identifiable information. These are specific legal terms that depend on the context in which the data is collected and used, not just broadly any data anywhere that might have something
337.
▲
by
pornel
1y ago
[flagged]
338.
▲
by
pornel
1y ago
High-throughput transit isn't there to be better in 1:1 comparison with one person's car trip, but to make better cities possible. If you only imagine this as a static scenario where everything is the same except you swap car for
339.
▲
by
pornel
1y ago
I didn't think LLM's sycophancy would work on me. And yet, I've realized that a few research and brainstorming sessions with LLMs I thought were really good and insightful were just the LLM playing "yes and" improv
340.
▲
by
pornel
1y ago
There's hardly any Rust in there. It's shelling out to the git command. This could have been a couple lines of bash. Actually doing this in Rust with lower-level libraries like gix would have been interesting.
341.
▲
by
pornel
1y ago
Value of TSLA has been disconnected from the actual car business for a while, and instead vaguely betting on Musk figuring out something with robots, taxis, or AI or whatever. Now I wonder if it's tied to any future of the company at a
342.
▲
by
pornel
1y ago
I've meant you don't need to worry about motors failing in old EVs, unlike engines that are the primarily concern in old ICE cars. Apart from battery degradation, the other thing that may be the final nail in the coffin for an old
343.
▲
by
pornel
1y ago
I don't think you'll find anything much better than basis universal, assuming you want textures compressed on the GPU and the simplicity of shipping one file that decodes quickly enough. I've followed development of the encod
344.
▲
by
pornel
1y ago
Breakthrough in image generation speed literally came from applying better differential equations for diffusion taken from statistical mechanics physics papers: https://youtu.be/iv-5mZ_9CPY
345.
▲
by
pornel
1y ago
EV motors typically outlive the rest of the car. Leaf is old enough that there's a whole cottage industry of battery repairs, replacements, and repurposing them for solar energy storage.
346.
▲
by
pornel
1y ago
The absolutely worst efficiency I've experienced was 2.7km/kWh at 120km/h in DS3 e-tense. That was a v1 Stellantis drivetrain, without a heat pump. Peugeot e208, Corsa-e, etc. are the same thing. Stellantis sucks at EVs, espe
347.
▲
by
pornel
1y ago
It depends where your contributors are coming from. For example for Rust, the crates index is the discovery mechanism. Contributors will come to your repo by whatever link you put in your package's metadata. I've split my Rust pac
348.
▲
by
pornel
1y ago
You won't reach the limits of weight and handling of EVs when driving on public roads in ways that don't risk jail time. Most people don't take their old Toyota to a race track, so they don't need their Leaf to beat a La
349.
▲
by
pornel
1y ago
It gets exponentially better with bigger adoption, because chargers being in use pay for installation of more chargers (and batteries got cheaper, so charging stations have their own storage and are less limited by the size of their grid
350.
▲
by
pornel
1y ago
This uses blockchain only for marketing buzzwords. Stablecoins require trusting that the coin issuer doesn't print money. This goes against the core premise of blockchain being trustless! This is just a payment API with extra steps (al
351.
▲
by
pornel
1y ago
Chain of thought seems to be an extraction algorithm for information buried deeper. The models hold more information than they can immediately extract, but CoT can find a key to look it up or synthesise by applying some learned generalisati
352.
▲
by
pornel
1y ago
Maybe it's not a coincidence that public services got worse when everything moved online. In the process lots of things have been captured by private companies that consolidated and got richer and more powerful than many countries. Now
353.
▲
by
pornel
1y ago
Borrowing isn't for mutability, but for memory management and limiting data access to a static scope. It just happens that there's an easy syntax for borrowing as shared or exclusive at the same time. Owned objects are exclusively
354.
▲
by
pornel
1y ago
Those who TL;DRd - it's for the factory, not the cars! Old EV batteries are great for energy storage. A worse weight-to-capacity ratio doesn't matter for batteries sitting on the ground. A battery that holds only 70% of its origin
355.
▲
by
pornel
1y ago
To a large extent yes, but Rust adds more dimensions to the type system: ownership, shared vs exclusive access, thread safety, mutually-exclusive fields (sum types). Ownership/borrowing clarifies whether function arguments are given on
356.
▲
by
pornel
1y ago
XSLT is merely a glorified compression/decompression mechanism. XSLT used as a "stylesheet" in browsers isn't dynamic, so it's like browsing static HTML pages, but expanding of on-the-wire data representation into r
357.
▲
by
pornel
1y ago
For as long as mom was feeding me, I never needed to shop at a grocery store. But here the mom is a robot taking produce for free. Not a good business for grocery stores.
358.
▲
by
pornel
1y ago
You can implement this in Rust. It's an equivalent of Rc<Cell<(Option<Box<T>>, Option<Box<T>>)>>, but with the Rc replaced by a custom shared type that avoids keeping refcount by having max 2 owners.
359.
▲
by
pornel
1y ago
This can be done with exclusively owned objects. That's how io_uring abstractions work in Rust – you give your (heap allocated) buffer to a buffer pool, and get it back when the operation is done. &mut references are exclusive and
360.
▲
by
pornel
1y ago
The Nano model is 3.2B parameters at 4bit quantization. This is quite small compared to what you get from hosted chatbots, and even compared to open-weights models runnable on desktops. It's cool to have something like this available l
More ›