Better HN
topnewbestaskshowjobs
Log inSign up

plus

527 karma · joined Mar 6, 2014 (12y ago) · 121 submissions

Submissions

comment 1mo ago · link · parent

Claiming “Zionist infiltration” of the government is not the same thing as criticizing Israel.

comment 3mo ago · link · parent

This makes me think of the Cauchy distribution, a probability distribution whose average follows the distribution itself rather than converging (hence, the distribution has no "mean" despite being symmetric). Is there any connection here, or is that just a coincidental similarity?

comment 6mo ago · link · parent

The linked PR has been flagged as AI slop, but there seems to be an equivalent PR that's still open: https://github.com/oven-sh/bun/pull/30683

comment 1y ago · link · parent

Aside from the obvious bit size changes (e.g. i8 -> i16 -> i32 -> i64, or f32 -> f64), there is no "hierarchy" of types. Not all ints are representable as floats. u64 can represent up to 2^64 - 1, but f64 can only represent up to 2^53 with integer-level precision. This issue may be subtle, but Rust is all about preventing subtle footguns, so it does not let you automatically "promote" integers to float - you must be explicit (though usually all you need is an `as f64` to convert).

comment 1y ago · link · parent

For those who are curious, `...` is a placeholder value in Python called Ellipsis. I don't believe it serves any real purpose other than being a placeholder. But it is an object and it implements `__eq__`, and is considered equal to itself. So `...==...` evaluates to `True`. When you prefix a `True` with `-`, it is interpreted as a prefix negation operator and implicitly converts the `True` to a `1`, so `-(...==...)` is equal to `-1`. Then, you add another prefix `-` to turn the `-1` back into `1`.

`--(...==...)--(...==...)` evaluates to `2` because the first block evaluates to 1, as previously mentioned, and then the next `-` is interpreted as an infix subtraction operator. The second `-(...==...)` evaluates to `-1`, so you get `1 - -1` or `2`.

When chaining multiple together, you can leave off the initial `--`, because booleans will be implicitly converted to integers if inserted into an arithmetic expression, e.g. `True - -1` -> `1 - -1` -> `2`.

> There should be one-- and preferably only one --obvious way to do it.

This article is obviously completely tongue-in-cheek, but I feel the need to point out that this sentence is not meant to be a complete inversion of the Perl philosophy of TIMTOWTDI. The word "obvious" is crucial here - there can be more than one way, but ideally only one of the ways is obvious.

comment 1y ago · link · parent

I've personally always thought of the Dirac delta function as being the limit of a Gaussian with variance approaching 0. From this perspective, the Heaviside step function is a limit of the error function. I feel the error function and logistic function approaches should be equivalent, though I haven't worked through to math to show it rigorously.

comment 2y ago · link · parent

Faster than what?

comment 2y ago · link · parent

Connecticut. Everything is like this here. I have genuinely considered moving because of this. My current employer has another location in California, and as much as I hate the idea of moving back there, it might be necessary for my own physical well-being.

comment 2y ago · link · parent

I've been experiencing this exact issue in the US. Lately a medical issue of mine has been getting worse, and the earliest I can see a new PCP is in May 2025. I managed to get a referral to a specialist by visiting urgent care, but they referred me to a different specialist, and I won't be able to see the latter until late January 2025. Meanwhile my medical issue is continuing to get worse, and I have no one I can talk to about it. I'm looking into alternative options but things are looking bleak. I'm probably going to have to go out-of-network and drive 2 hours to find a doctor that has wait times on the order of weeks (as opposed to the in-network providers, that have wait times on the order of months).

comment 2y ago · link · parent

Thanks for the clarification, I was definitely under the misapprehension that Fuchsia was basically 100% C++.

comment 2y ago · link · parent

Fuchsia is written in C++, not Rust.

comment 2y ago · link · parent

I mean, the sentence "The first actual case of a bug being found" implies that "bug" was already being used in the context of a malfunctioning computer. Otherwise, why would they write it?

comment 2y ago · link · parent

This confirms that vx-underground is aware of the claim, and that it likely leaked from them, but they are very explicitly not verifying the claim. It doesn't seem particularly verifiable at the moment.

comment 2y ago · link · parent

I saw some folks on Twitter pointing out that "TatetheRailsman" is likely a typo of "TatetheTalisman", which is Tristan Tate's (Andrew Tate's brother) account. Weird that it would be typo'd in their list of protected users. I also don't really buy this from a technical perspective. Why on okta? Why is the list of users and keywords so short? Why is everything a screenshot?

comment 2y ago · link · parent

It's not a false dichotomy, the article is very clearly about whether the harm reduction benefits (which clearly exist) outweigh the public health risks (which also clearly exist).

And, of course, there's nuance to that question. It's not like our only options are to keep the status quo or ban vapes entirely. One of the ideas presented in the article is to ban flavored vapes, since that's one of the main points of attraction to non-smokers (especially children), and non-flavored (or tobacco-flavored) vapes will still be viable alternative to smokers.

comment 2y ago · link · parent

It's not exactly reasonable to expect super high fidelity audio at the bitrate constraints they're targeting here, and it certainly sounds a lot better than the Opus examples they're comparing against.

comment 2y ago · link · parent

I would also find a link to those arguments to be satisfactory.

comment 2y ago · link · parent

I ask this 100% genuinely, since this isn't a subject I've ever given any mind to. Why should we oppose this? What are the potential negative outcomes if this goes through? Can you steelman the argument for why people support this, and explain why you find the arguments unconvincing?

comment 2y ago · link · parent

I assume it's just mislabeled, it's a high-angular-momentum hydrogenic orbital, chosen because it looks cool and because it's trivial to evaluate (a spherical harmonic times a simple radial term).

comment 2y ago · link · parent

nrp is Nirav Patel, founder of Framework.

comment 2y ago · link · parent

I accidentally entered my birth year as 79xx, instead of 19xx, and it blocked me from reading the article. So that's cool.

comment 2y ago · link · parent

My understanding is that if a 1040EZ is appropriate for you, then TurboTax will also be free. It's only if you have a more complex filing situation that they charge. Please correct me if I'm wrong, though.

comment 2y ago · link · parent

Is it possible that rather than cheating customers, they are simply trying to increase the density of the paperweight to make it more effective?

comment 2y ago · link · parent

The judge cannot override the jury's ruling, so unless Google's appeal succeeds, the ruling stays.

comment 3y ago · link · parent

Are you sure that's an artifact of the light source emitting colors sequentially, and not an artifact of the camera sensor detecting colors sequentially?

comment 3y ago · link · parent

I know I'm anthropomorphizing the bees, but the queenless hive almost sounds like it's in mourning.

comment 3y ago · link · parent

Presumably into the (outside) air.

comment 3y ago · link · parent

Discord and Discourse are two separate things.

comment 3y ago · link · parent

In the past, I've saved Matplotlib figures to .svg so I could touch them up in Inkscape. Not the most ergonomic process, but when push comes to shove it is workable.

comment 3y ago · link · parent

I believe it was a joke.
12345