Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pornel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
64 ms
·
871.
▲
by
pornel
2y ago
I have first hand good experience from France, Belgium, Netherlands, and Germany. I've also driven across Poland, and that was where I had to start planning charging, rather than just go wherever, which is why I say west Europe, not ju
872.
▲
by
pornel
2y ago
Charging has gotten pretty decent in the last couple of years. I used to be annoyed that signs for highway services don't show which ones have chargers, but they've fixed that by installing chargers at every one of them (at least
873.
▲
by
pornel
2y ago
Rust's async is in some places more difficult to use, because Rust is obsessed with avoiding allocations and dynamic dispatch. Languages like C# and JS allocate a new object for every Promise and every listener. Rust bends backwards to
874.
▲
by
pornel
2y ago
From what I've asked people, the complaints fall mainly into two categories: * familiarity and aesthetics. Rust uses fewer round () parens, and more <> and {}. This makes it look alien, and people say it's unreadable when th
875.
▲
by
pornel
2y ago
GC is perfectly fine for ~99% of applications, which is why all the languages in the last few decades adopted it, and eliminated themselves from being direct C/C++ competitors. Lack of GC isn't a requirement for most programs. How
876.
▲
by
pornel
2y ago
The article says surprisingly little about the state-of-the-art in realistic cloud rendering. It's now feasible to pretty accurately simulate light propagation through the atmosphere and the clouds. The blue skies and red sunsets can b
877.
▲
by
pornel
2y ago
C with its notion of an object , TBAA, and pointer provenance is already disconnected from what the machine is doing. The portable assembly myth is a recipe for getting Undefined Behavior. C is built on an abstract machine described in the
878.
▲
by
pornel
2y ago
C can add a whole alphabet if str?cpy functions, and they all will have issues, because the language lacks expressive power to build a safe abstraction. It's all ad-hoc juggling of buffers without a reliably tracked size.
879.
▲
by
pornel
2y ago
I don't get how can each file system have a custom lifecycle for inodes, but still use the same functions for inode lifecycle management, but apparently with different semantics? That sounds like the opposite of an abstraction layer, i
880.
▲
by
pornel
2y ago
The suggestions are purely about file paths, and don't affect the code. It's like advising "symlink __init__.py as __myproject_init__.py". The author opens files via search, doesn't want to have multiple files with
881.
▲
by
pornel
2y ago
There is a trick in truly exclusive references (marked noalias in LLVM). C++ doesn't even have the lesser form of C restrict pointers. However, a truly performance focused C or C++ library would tweak the code to get the desired optimi
882.
▲
by
pornel
2y ago
In the UK, roads entering the roundabout are often curved sharply towards direction of the traffic on the roundabout, so that it's more like merging lanes than entering a junction, so collisions are more likely to be sides hitting sid
883.
▲
by
pornel
2y ago
For Rust users there's a significant difference: * it's a Cargo package, which is trivial to add to a project. Pure-Rust projects are easier to build cross-platform. * It exports a safe Rust interface. It has configurable levels o
884.
▲
by
pornel
2y ago
Range is such an important differentiator for EVs that I doubt they'd opt for a lower one if they could have a higher one for marginal cost, at no risk to reliability/longevity of the car.
885.
▲
by
pornel
2y ago
This sounds like they're unlocking battery reserve capacity to be freely usable. NMC batteries wear out quicker if they're fully discharged or kept fully charged, so automakers typically keep extra 3-5% of the battery hidden from
886.
▲
by
pornel
2y ago
The answer depends on a still unresolved issue of whether RFL can build usable safe and zero-overhead abstractions around kernel APIs. This work isn't complete, and it's hard to say whether the current issues are from immature int
887.
▲
by
pornel
2y ago
In this article, Reda explains the current copyright laws in the EU, not a hypothetical policy of the Pirate Party. They're not a member of the PP any more AFAIK. I expect that people professionally dedicated to a copyright reform are
888.
▲
by
pornel
2y ago
GPL doesn't apply/doesn't have to be agreed to when the usage is allowed by the copyright law in another way. GPL can't override copyright exceptions like fair use (details vary by jurisdiction, but the principle is the
889.
▲
by
pornel
2y ago
For an European, it's really hard to compare the value of social services, especially healthcare. The US healthcare costs seem to be highly variable depending on person/provider/medical history, and the whole pricing model is
890.
▲
by
pornel
2y ago
When it's time to replace, you'll get a larger battery for less money. You may be able to sell or reuse the old battery for stationary power storage. Nissan Leaf (one of the oldest BEVs) launched with 24kWh batteries. Now it has 4
891.
▲
by
pornel
2y ago
The mistake was calling it Anna's Archive, and not Anna's AI startup.
892.
▲
by
pornel
2y ago
JPEG's compression is very similar to blurring. It converts the image into frequency domain, and reduces precision of the frequency data, with a special case when the data rounds down to zero. However, whole-image blur crosses the 8x8
893.
▲
by
pornel
2y ago
Demos, and links to the paper: https://news.ycombinator.com/item?id=40896762
894.
▲
by
pornel
2y ago
This is a clever algorithm for computing global illumination in real time, for any number of lights. The site shows 2D, but the algorithm can work in 3D, both screen space and world space. It's based on a penumbra hypothesis — that ray
895.
▲
Radiance Cascades PoC
(tmpvar.com)
2 points
by
pornel
2y ago
|
1 comments
896.
▲
by
pornel
2y ago
Signal handlers are not threads. Rust doesn't have anything that expresses the special extremely restrictive requirements of signal handlers. A safe-Rust thread-safe Send+Sync function is allowed to call `format!()`, or `Box::new`, or
897.
▲
by
pornel
2y ago
There are, but safety of their implementation is not checked by the language. Rust doesn't have an effect system nor a similar facility to flag what code is not signal-handler-safe. A Rust implementation could just as likely call somet
898.
▲
by
pornel
2y ago
It does have invulnerability to data races. However, that guarantee applies only to data types and code in Rust. The dangerous interaction between signals and other functions is outside of what Rust can help with.
899.
▲
by
pornel
2y ago
From deals with ISPs that benefit from the caching of the traffic. The whole world fetching stuff from us-east-1 is an inefficiency that Cloudflare fixes, so the more customer traffic Cloudflare can cache or generate directly from its edge
900.
▲
by
pornel
2y ago
5 is misleading. This isn't a typical model where paying customers subsidize the rest. Cloudflare makes money from the free traffic by caching it. Caching dramatically reduces the amount of data that needs to be transferred over the ba
More ›