Better HN
topnewbestaskshowjobs
Log inSign up

kibwen

55,740 karma · joined Dec 20, 2011 (14y ago) · 9,374 submissions

Submissions

comment 9h ago · link · parent

> If there were lots of bots doing this, the insiders would benefit less and the market would benefit more from the early release of information (price discovery).

No, once there are lots of bots hoping for signals from insiders that X is true, then insiders who know that X is false become incentivized to send false signals that X is true to send the bots into a frenzy and make a net profit by taking the other side of the bet by taking advantage of the froth. In other words, even in the best case, the public receives no useful or actionable information.

comment 1d ago · link · parent

> Rust the language does not operate on the C concept of ambient authority. Rust's STD unfortunately does.

Rust's standard I/O abstractions are intended to be cross-platform, which means they're unfortunately going to be approximately the lowest common denominator of what the platforms natively provide. If you're okay with not strictly adhering to cross-platform abstractions, then the cap-std crate is the state of the art: https://crates.io/crates/cap-std

comment 1d ago · link · parent

Recommended further reading in this blog series by Ralf Jung: https://www.ralfj.de/blog/2020/12/14/provenance.html

comment 1d ago · link · parent

> If you have more than one reason to do something, just don’t do it.

This is self-help book pabulum. Many, dare I say most decisions in life have reasonable tradeoffs that will need to be enumerated, considered, and weighed in order to make an informed decision. How lovely it would be to live in a world where every decision worth making could be motivated by only a single reason, but the world is not so black and white.

comment 4d ago · link · parent

Rather, nobody wants them at the price point necessary to make them economically viable. In the context of tech, the cost to develop a next-gen fab doubles every four years; absent some major breakthrough, we have about 20 years before even the most advanced economies balk at spending $1T, $2T, $4T, $8T on a single fab, causing hardware to settle down like airline speeds have.

comment 4d ago · link · parent

You continue to fail to understand the point. Is this statistical significance in the room with us right now?

comment 5d ago · link · parent

The neolithic man had literally tens of thousands of years of tradition backing him up. That corporations have faith in the value of advertisements is precisely that: faith. You're kidding yourself if you think there's any evidence that the ad industry is anything other than a parasitic, cancerous, rent-seeking middleman propped up by corporate FOMO. Ad spend could fall to zero tomorrow and the world would be no worse off; better, even, since it would mean the death of Facebook and Google.

comment 5d ago · link · parent

> if advertising didn't work people wouldn't use it

If animal sacrifice didn't appease the gods then people wouldn't do it, says the neolithic man leading his goat to the altar.

comment 1w ago · link · parent

I can recommend System76 for Linux machines that just work. They have their own distro (Ubuntu/Debian-based) that's tested with the hardware they ship, I've never had a single need to fiddle with drivers or anything else. As a product line they're a little weird in that they seem to work with whatever hardware they can get their hands on from OEMs, so there's not much look-and-feel consistency from model to model and generation to generation, but I can attest that the current-gen Lemur Pro is excellent.

comment 1w ago · link · parent

Starlink satellites have such a low orbit that they experience non-negligible atmospheric drag, which is why they have to be replaced at such a rapid rate. All proposals for orbital datacenters propose placing them in sun-synchronous orbits for maximum solar exposure, which puts them right at the edge of the Van Allen Belt at best, meaning they'd be exposed to dramatically more radiation than a Starlink satellite.

comment 1w ago · link · parent

Nah, compared to other languages, the strictness of Rust makes maintaining codebases a joy. Like, I love Python, but maintaining a large Python codebase is a source of constant anxiety. The Rust compiler actually feels like it has your back.

comment 1w ago · link · parent

In this case the inline attribute probably isn't strictly necessary, because rustc heuristically inlines any functions that it deems trivial enough.

comment 1w ago · link · parent

Rust's three stability caveats are as follows:

"We reserve the right to fix compiler bugs, patch safety holes, and change type inference in ways that may occasionally require new type annotations."

https://blog.rust-lang.org/2014/10/30/Stability/#what-are-th...

The breakage in question here falls under changes to type inference, which are allowed within reason when they're relatively minor, when steps have been taken to mitigate any breakage in the broader ecosystem, and when the compiler has emitted warnings regarding the imminent change during a grace period, all of which have been done here.

comment 1w ago · link · parent

In addition to what the sibling commenters have written, in order for this to compile, the variable would need to be declared as mutable.

comment 1w ago · link · parent

Unfortunately, that isn't how any of this works.

comment 1w ago · link · parent

Proposal here: https://github.com/rust-lang/libs-team/issues/820

Looks like part of the motivation was for things with long names like `some_struct_a.some_field_b.some_subfield_c`, where needing to name the field twice would have pushed people to using `^= true` instead, which is a bit more roundabout to decipher and risks people forgetting the idiom and writing `^= false` by accident. Not necessarily the most useful API, but not unmotivated and harmless to add.

comment 1w ago · link · parent

Rust supports dynamic linking. What a stable ABI provides is cross-toolchain dynamic linking.

comment 1w ago · link · parent

There's no paradox here. You can use any benchmark you like to prove that Rust is a fast language. The work that the compiler does is irrespective of the language that rustc is written in.

comment 1w ago · link · parent

Basic use cases like that have always been possible in Rust, either via defining your own enum with zero variants (`enum Foo {}`), or by using a function return type of `!` which was hardcoded to work for certain things, e.g. infinite loops. What this release does is generalizes it so that `!` can participate in types in general, and the coolest part is that pattern matching is aware of this, so for example if you have a `Result<u8, !>` where the error variant is impossible, a `match` over this would allow you to omit the impossible error arm, and furthermore because this enum now effectively only has a single variant, it would allow you to use the pleasant irrefutable destructuring assignment syntax `let Ok(foo) = blah();`.

comment 1w ago · link · parent

Agreed. Too much complexity for too little gain for too narrow use cases. HTTP/1.1 will outlive HTTP/2.

comment 2w ago · link · parent

> I am already using a bagger, while you are arguing for electric shovels.

This demonstrates that you continue to misunderstand the analogy.

Let's speak plainly. Someone who attempts to use LLMs to generate assembly directly will be outcompeted by someone who uses LLMs to generate code in a high-level language, which then uses an ordinary compiler to generate assembly. The value of a high-level language is that it defines a more constrained abstract machine than the machine that a CPU represents, which both humans and LLMs alike benefit from.

comment 2w ago · link · parent

Worth noting that I have no love whatsoever for traditional mathematical notation. We can do better.

comment 2w ago · link · parent

You appear to be trying to refute my comment on the topic of historic arguments against SpaceX being about perceived economic infeasibility rather than physical infeasibility by pointing to a quote that asserts economic infeasibility, which makes it look like you're agreeing with me?

comment 2w ago · link · parent

A present that requires an annual subscription somewhere between $600 and $2000? That's not a gift, that's a puppy.

comment 2w ago · link · parent

The point remains that the costs of solving storage for solar are less than the costs of solving transport for ethanol, especially when you consider how dreadfully inefficient ethanol is as a fuel source, double-especially when you consider how dreadfully inefficient combustion engines are. It's no contest.

comment 2w ago · link · parent

Ethanol goes into a boring tank, but to be useful that boring tank has to be pumped into a tanker and driven, using more fuel, to somewhere it can be distributed. That's way more energy-intensive than running a cable, so forget storage, just run the cable and let the grid operator take care of the storage at utility-scale.

comment 2w ago · link · parent

> You can even sign away constitutionally protected rights, like free speech.

The text of the first amendment only asserts that "Congress shall make no law [...] abridging the freedom of speech", so signing away your ability to speak isn't in conflict with the Constitution.

28.

Two-dimensionsal version control with Jujutsu(redblobgames.com ↗)

3 points · by kibwen · 2w ago · discuss

comment 2w ago · link · parent

By using an OS that doesn't view you as cattle to be milked and eventually sent to the slaughterhouse.

comment 2w ago · link · parent

> It is impossible for someone's statement of preference to be incorrect.

I prefer to believe that this statement is incorrect.

12345
313