Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
estebank
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
631.
▲
by
estebank
3y ago
I'm amazed at how well this show was able to portray this whole conversation in just a few minutes https://youtu.be/pCzCJzwrB_c?si=F91rDfEj_MUodigP
632.
▲
by
estebank
3y ago
> You can't just keep slicing up the existing infra pie differently, you need to grow the pie. Converting 1 out of every 4 or 8 lanes on dense cities to be bus only would decrease the number of cars that can be physically on the roa
633.
▲
by
estebank
3y ago
Do you have any example of a city that had the effect you claim? And to push this conversation further into antagonism, why should the people of Manhattan prioritize people going from New Yersey to Brooklyn by car? The person doing that t
634.
▲
by
estebank
3y ago
> A policymaker that suppresses car demand will kill his city. And we are going to get front row seats to see if I'm right: Manhattan congestion pricing is coming, so we'll find out. I predict it's gone within 3 years. Fam
635.
▲
by
estebank
3y ago
There's an additional problem: traffic congestion isn't caused by the number of lanes, but the number of intersections. You can widen the highway all you want, but if the traffic still needs to be absorbed by a city with a handful
636.
▲
by
estebank
3y ago
https://matklad.github.io/2023/01/26/rusts-ugly-syntax.html
637.
▲
by
estebank
3y ago
Traffic will get worse until taking alternative means transportation is faster and then teach equilibrium. Even if you love driving, if driving takes an hour and the train 45 minutes, most people will just take the train, until traffic spee
638.
▲
by
estebank
3y ago
Integer overflows can be enabled in release mode by modifying your Cargo.toml with [profile.release] overflow-checks = true IMO it should have been the default.
639.
▲
by
estebank
3y ago
It's not the Java model because Java just makes every operation atomic (from the point of view of the model, I'm sure the JVM and javac must do optimizations to avoid some of them), while Rust enforces that multi threaded access m
640.
▲
by
estebank
3y ago
What memory fences does the Rust compiler emit without you asking?
641.
▲
by
estebank
3y ago
> Sometimes you don’t want libraries, instead you want to implement similar stuff in your own code. That's always the tradeoff, isn't it? You can implement the logic yourself, or modify three lines and immediately get parallel
642.
▲
by
estebank
3y ago
https://github.com/rayon-rs/rayon
643.
▲
by
estebank
3y ago
A really common thing in the Rust ecosystem is to write APIs that are impossible or at least hard to misuse. That cultural aspect plus the ownership system does help reduce those kind of problems. I've seen crates where there are "
644.
▲
by
estebank
3y ago
It was typo ^_^'
645.
▲
by
estebank
3y ago
Counting crates and comparing that with number of C++ libraries is making an obtological error. In Rust, a single team usually splits their project in multiple crates. Something like QT would be hundreds of crates on its own if it were writ
646.
▲
by
estebank
3y ago
> The Department of Defense spews so much greenhouse gas every year that it would rank as the 55th worst polluter in the world if it were a country, beating out Sweden, Denmark, and Portugal, according to a new paper from Brown Universit
647.
▲
by
estebank
3y ago
> Rust isn’t a fit for those use cases. Not without a mountain of work that no one is doing, nor would be likely to be accepted as it conflicts with the design goals of Rust. Could you elaborate?
648.
▲
by
estebank
3y ago
An example of this could be trying to mutably access disjoint parts of a Vec. The Rust language today doesn't understand that is safe today, because it would require tracking all indices used somehow to verify that the accesses are ind
649.
▲
by
estebank
3y ago
Just wait until we get IronRust through a clr rustc backend :)
650.
▲
by
estebank
3y ago
It's true that providing good actionable errors with useful context is hard and sometimes requires global knowledge. It still should be attempted . I see that if a project doesn't aim for that objective, then errors are the fir
651.
▲
by
estebank
3y ago
Instead of a large std tied to the stability guarantees of the labguage, I would like to see something akin yo "stdlib distributions", where a versioned set of community libraries can be depended on to interoperate without duplica
652.
▲
by
estebank
3y ago
Support for code navigation in the rust doc provided sources was implemented some time back. I think it wasn't enabled by default due to HTML bloat, it made the pages too big and slow to render on larger files. It'd be nice to rev
653.
▲
by
estebank
3y ago
With no intention to push back on Emacs being highly optimized, age of an application is not an accurate proxy for level of performance. If it were, grep would be faster than ripgrep. New software can apply optimisations discovered over the
654.
▲
by
estebank
3y ago
You would think that it would dynamically check the system on first run and set appropriate defaults.
655.
▲
by
estebank
3y ago
Thank you, this is indeed useful.
656.
▲
by
estebank
3y ago
> Actually using Rust, not so much Would you care to elaborate? There are some pain points that we're aware of, some of which we're actively working on, but there might be some you encountered that we don't know about and
657.
▲
by
estebank
3y ago
I'd claim that the Rust philosophy is "the general case is undecidable, but if we restrict the scope to 90% of the cases, we can automate the checks and give you an escape hatch for the remaining 10%". I personally appreciate
658.
▲
by
estebank
3y ago
I think the GP had something else in mind. You're mentioning a mode where the rules are more stringent, allowing for a faster check and consequently faster compile times. The GP is pictuting a mode where the checks are skipped altogeth
659.
▲
by
estebank
3y ago
My point is that in a lot of places in the US you can point a video camera at the street and record. In Germany, you can't. The law in some locales makes a distinction between manual recording (writing or drawing your surroundings) and
660.
▲
by
estebank
3y ago
In some locales sitting on the street writing down a list of people coming and going is legal, but leaving a camera pointed at the street isn't. Legislation like that makes a distinction between an action by a person (which has bounds
More ›