Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
estebank
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
511.
▲
by
estebank
2y ago
This is not an appropriate question to ask, that I see sometimes in these threads. "Because the author wanted" is good enough a reason for them to write a program in C. It being a new project written in C can also be good enough r
512.
▲
by
estebank
2y ago
This is an example of the tragedy of the commons: the watch time effect is tracked by YouTube, which maximises for it, but the drop off of visitors to the site is something YouTube doesn't "care" about (doesn't track it
513.
▲
by
estebank
2y ago
> don't work with binary libraries, None of the edition changes that Rust has made have any effect on the ABI. It also has no stable Rust ABI, so there wasn't an effort to formalize that, but 1) ABIs should always be versioned
514.
▲
by
estebank
2y ago
Gas has its own set of issues, from terrible leakage in every stage of distribution, to microparticules during cooking (which directly affects the health everyone that lives in the household), going through the ecological impact of produc
515.
▲
by
estebank
2y ago
The app manifest could state "I need this runtime installed". The OS can know whether it is already installed or not. The OS also knows whether it is internet connected or not. If a runtime that isn't installed is needed and
516.
▲
by
estebank
2y ago
> Hoping people will wander into the right place to ask rust questions is a non-starter. https://users.rust-lang.org is moderated by the project. It is linked from the https://www.rust-lang.org/ footer and mo
517.
▲
by
estebank
2y ago
https://users.rust-lang.org https://internals.rust-lang.org https://rust-lang.zulipchat.com
518.
▲
by
estebank
2y ago
When encountering panics, the runtime output will tell you how to get the backtrace: thread 'main' panicked at src/main.rs:3:7: called `Option::unwrap()` on a `None` value note: run with `RUST_BACKTRACE=1` envir
519.
▲
by
estebank
2y ago
Re #1, when writing Rust consider using cargo check instead of cargo build. It stops a few stages before code gen so it can give you feedback faster. It doesn't help when you want to run your runtime tests, but will speed up the cycle
520.
▲
by
estebank
2y ago
> One of the first things compilers do is throw away the original source code; outside of initial front-end codegen, there is no reference to the original AST That doesn't have to be an immutable fact for all implementations of co
521.
▲
by
estebank
2y ago
So, a single laptop hard drive a day? 50 tape drives a year? For the biggest repository of video there is? That's literally peanuts. There's some logistics in handling backup tapes, but that's a well understood process.
522.
▲
by
estebank
2y ago
If the speed limit that was deemed safe for an area is lower than the 85th percentile driver speed, then that road is poorly designed. It should instead be redesigned such that people slow down themselves, regardless of what the sign says.
523.
▲
by
estebank
2y ago
It's either https://github.com/rust-lang/rust/issues/112905 , https://github.com/rust-lang/rust/issues/84366 or (most likely) https://github.com/rust-lang&#
524.
▲
by
estebank
2y ago
Are you taking about the open unsoundness bugs?
525.
▲
by
estebank
2y ago
There are more error cases for invalid Rust code than for other languages, that might be true, but the friendliness of the errors is a consequence of project phylosophy and engineering effort, not a foregone concussion. Some errors fill in
526.
▲
by
estebank
2y ago
TBH, "somewhat immutable" is not "immutable". The Go approach aids to limit the effects of an attempted attach where you're misled into building your project with different code than originally intended, but does no
527.
▲
by
estebank
2y ago
Be aware that you cannot publish on crates.io if you do that: either you buy into the system (so that you can ensure that you can rebuild in perpetuity) or not at all (so you end up with a crate that can depenend partially on crates.io, but
528.
▲
by
estebank
2y ago
There are other possible reasons for them not matching: - files not being tracked in the repo - files being part of the repo not being part of the published crate - publishing with allow dirty from a local copy of the repo with changes that
529.
▲
by
estebank
2y ago
That's what you'd do if you wanted to try and improve the captions, not if you wanted to evaluate the LLM's quality.
530.
▲
by
estebank
2y ago
I would argue that it's not so much that governments dislike extra work but rather that the populace dislikes the additional tax expenditures that accompany it.
531.
▲
by
estebank
2y ago
The vast majority of water in western US goes to agriculture. You can of course make the obvious argument about local food production being necessary, but if the choice is more people can drink water at the cost of more expensive almonds an
532.
▲
by
estebank
2y ago
Remember Perl 6?
533.
▲
by
estebank
2y ago
You're in good company: multiple people want to experiment with taking ownership of the linking and codegen steps to enable this kind of behavior. I would be more than happy to see that happen. I feel that the problem is a project of t
534.
▲
by
estebank
2y ago
> But, we write compilers and linkers as batch programs that redo all the compilation work from scratch every time. I don't think that there are that many production level compilers that don't perform the kind of caching that y
535.
▲
by
estebank
2y ago
As someone who's more affected by the US behavior than the Chinese behavior, and very critical of it, what you're doing is whataboutism.
536.
▲
by
estebank
2y ago
Changing the underlying reality without improving the perception leads to a political disconnect. Improving the perception without improving the underlying reality just makes people happier, but not better off. You have to do both if your o
537.
▲
by
estebank
2y ago
> you need to look at perception and fix the reasoning behind it. Many times that perception is shaped by the media we consume, which has no obligation to have any connection to the reality on the ground. At that point whatever is done
538.
▲
by
estebank
2y ago
If your timeline holds, so is the rise of fascism and WW2.
539.
▲
by
estebank
2y ago
> Fifteen percent of officers will abuse their authority at every opportunity. The remaining 70 percent could go either way depending on whom they are working with. This is why I find it bizarre that the behavior of bad cops is minimized
540.
▲
by
estebank
2y ago
Rust's PathBuf uses an OsString as backing, which is merely a sparkling Vec<u8>. Displaying a PathBuf or OsString requires an explicit request to either validate that it is valid Unicode which can be handled by the caller, or for
More ›