Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kibwen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
kibwen
2mo ago
I take umbrage with this gross mischaracterization. After no more than ten practice games to acquire familiarity with the rules, a game of Twilight Imperium rarely takes more than 14 hours.
62.
▲
by
kibwen
2mo ago
It's just not worth it for individuals to volunteer their time for the benefit of the world's most valuable company.
63.
▲
by
kibwen
2mo ago
For the example given in the arrayref docs, I'd say you should be using std::slice::as_chunks, stabilized in 1.88: https://doc.rust-lang.org/std/primitive.slice.html#method.as...
64.
▲
by
kibwen
2mo ago
> the fact that `go build` can easily be run in off-line mode and doesn't execute any code other than the go toolchain itself You can trivially run Cargo in offline mode, via the --offline flag. Nothing about this capability, in e
65.
▲
by
kibwen
2mo ago
I'm not sure what namespacing has to do with anything here. Namespacing would not even remotely have prevented anything like the OP.
66.
▲
by
kibwen
2mo ago
In a large enough C codebase, you may even find yourself somehow using all of these simultaneously. :)
67.
▲
by
kibwen
2mo ago
Counting the number of crates in the dependency graph in order to gauge exposure is a misunderstanding of how Rust works. In Rust the crate is the unit of compilation. Unlike in Javascript, the fact that a crate has dependencies on other cr
68.
▲
by
kibwen
2mo ago
> Windows has its internal weird mechanisms. If you have a serious proposal, then I encourage someone to seriously propose it. Cargo is an understaffed open source project that, like the rest of the Rust project, relies largely on volu
69.
▲
by
kibwen
2mo ago
"There is a cult of ignorance in the United States, and there has always been. The strain of anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that de
70.
▲
by
kibwen
2mo ago
On the topic of RNG, the functionality of the getrandom crate is getting ready to be exposed from libstd: https://github.com/rust-lang/rust/pull/157168
71.
▲
by
kibwen
2mo ago
JSON support is provided by serde_json, which is owned by dtolnay, a longtime member of the Rust standard library team. Regex is provided by the regex crate, owned by burntsushi, a longtime member of the Rust standard library team. Director
72.
▲
by
kibwen
2mo ago
> Why does every build have the ability to run arbitrary code by default in the first place? Nearly every time that you see a build script in use it's to support building C code, which has no standard build process and which often
73.
▲
by
kibwen
2mo ago
`cargo add` just modifies your Cargo.toml, it doesn't build anything.
74.
▲
by
kibwen
2mo ago
Rust, like C, C++, and every other systems programming language, is all about giving users the power to make mistakes. The philosophical difference when it comes to Rust is simply that it tries to force the user to flip off the safety on th
75.
▲
by
kibwen
2mo ago
Cargo is a cross-platform tool, so when it ships a sandboxing solution it will need to be a cross-platform solution, and because this is a security feature it needs to be bulletproof, so no half-measures like Docker. Something like a WASM r
76.
▲
by
kibwen
2mo ago
Cargo has been working on min-publish-age, and the PR to stabilize the feature is in its final comment period and currently expected to land in Rust 1.100: https://github.com/rust-lang/cargo/pull/17335#issueco
77.
▲
by
kibwen
2mo ago
At the very least, it wouldn't be overly onerous when adding a dependency that requires a build script to require an opt-in via Cargo.toml, e.g. `build-script = true`. You'd make it viral so that any transitive dependency that req
78.
▲
by
kibwen
2mo ago
The vast and overwhelming majority of build scripts are building C code, so the other solution is to move away from integrating with C dependencies to native Rust dependencies, in which case adding friction to build scripts would be less no
79.
▲
by
kibwen
2mo ago
First we need capability-based OSes, like we should have had decades ago if worse-is-better hadn't stuck us with Unix. I don't need to care whether or not a program was written in a capability-aware language if the OS fundamentall
80.
▲
by
kibwen
2mo ago
The idea that Rust has a small standard library is a weird meme. Rust has an enormous standard library. Look at any Rust release and you'll see dozens of new library APIs added, and consider that Rust has about nine releases a year, me
81.
▲
by
kibwen
2mo ago
LLMs are not even remotely comparable to compilers. This attempt at analogy is neither humorous nor insightful.
82.
▲
by
kibwen
2mo ago
> IMO it could a meme "What would Rust people do?" when deciding what should not be done You betray your own ignorance here. Rust became massively successful despite having no corporate mandate or Big Tech progenitor, precise
83.
▲
by
kibwen
2mo ago
"Study: Communing With The Gods of Mount Olympus Via the Oracle at Delphi Is Not Always Faithful"
84.
▲
by
kibwen
2mo ago
> Chris (also created swift) talked in the past the reason for not fully open-sourcing was more because he wanted to get all the core design decisions right. He said this was a big thing Swift got wrong as it scaled too quickly being fu
85.
▲
by
kibwen
2mo ago
> it was designed by expert C++ programmers as what they imagine a good C++ will look like This also describes Rust. The mistake here is thinking that being an expert C++ programmer means that you can't also be an expert OCaml pro
86.
▲
by
kibwen
2mo ago
It was a political stunt, not a serious proposal. > The Corps of Engineers studied this project in the 1950s and 1960s, but no official proposal was ever developed.
87.
▲
by
kibwen
2mo ago
Wars will be fought over water, but of all the foolish reasons the US could invade Canada over, water isn't one of them. The US has ample shoreline on every Great Lake, and essentially none of the Mississippi watershed lies north of th
88.
▲
by
kibwen
2mo ago
Leaving this here for no particular reason: https://www.rifters.com/real/STARFISH.htm#prelude
89.
▲
by
kibwen
2mo ago
There won't be a petro-anything. In 30 years the oil industry will no longer be the resource upon which the whole world turns, and will instead be just another industrial input.
90.
▲
by
kibwen
2mo ago
Whether or not it disrupts anyone else isn't relevant to the point here. Your mind and focus are sacred, and surrendering to notifications is damaging to your brain. You have the right to damage your brain all you want, and I have the
More ›