HNHacker News
TopNewBestAskShowJobs

plus

523 karma · joined March 6, 2014

submissionscomments
plus··on An Interesting Fourier Transform – 1/f Noise (2007)
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?
plus··on Remove .zig Files from Bun
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
plus··on Matt Godbolt sold me on Rust by showing me C++
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).
plus··on Elliptical Python Programming
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.

plus··on Derivative at a Discontinuity
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.
plus··on Is Python That Slow?
Faster than what?
plus··on Family medicine is in decline
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.
plus··on Family medicine is in decline
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).
plus··on Rust in Linux Revisited
Thanks for the clarification, I was definitely under the misapprehension that Fuchsia was basically 100% C++.
plus··on Rust in Linux Revisited
Fuchsia is written in C++, not Rust.
plus··on The Bug in the Computer Bug Story (2022)
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?
plus··on Twitter Okta Leak Exposes Class of "Protected Users"
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.
plus··on Twitter Okta Leak Exposes Class of "Protected Users"
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?
plus··on Vaping: A harm reduction tool or a public health concern? Experts weigh in
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.

plus··on MLow: Meta's low bitrate audio codec
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.
plus··on We have 4 days to contest KYC being required by internet services
I would also find a link to those arguments to be satisfactory.
plus··on We have 4 days to contest KYC being required by internet services
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?
plus··on GPU compute in the browser at the speed of native: WebGPU marching cubes
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).
plus··on Framework Series A-1
nrp is Nirav Patel, founder of Framework.
plus··on The Boring Phone
I accidentally entered my birth year as 79xx, instead of 19xx, and it blocked me from reading the article. So that's cool.
plus··on FTC bans TurboTax from advertising 'free' services, calls deceptive advertising
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.
plus··on The possibility of making money from shredded banknotes using computer vision
Is it possible that rather than cheating customers, they are simply trying to increase the density of the paperweight to make it more effective?
plus··on Epic vs. Google: Google Loses
The judge cannot override the jury's ruling, so unless Google's appeal succeeds, the ruling stays.
plus··on Sony announces a9 III: first full-frame global shutter camera
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?
plus··on Elephants are scared around bees
I know I'm anthropomorphizing the bees, but the queenless hive almost sounds like it's in mourning.
plus··on Blue Frontier and its energy-efficient AC
Presumably into the (outside) air.
plus··on An open-source alternative to QuickBooks
Discord and Discourse are two separate things.
plus··on What's new in Matplotlib 3.7
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.
plus··on 🥺: the best sudo replacement
I believe it was a joke.
plus··on The New Hydrogen Car That Travels 2k Km with a Single Tank
If HFC vehicles ever become mainstream, hydrogen is going to have to be produced on-site at filling stations. Hydrogen is extremely difficult and dangerous to transport. If you try to use pipes, the hydrogen will be able to leak out of even the smallest of cracks, and can even diffuse through metals. It's extremely difficult to compress and becomes a serious explosion hazard.

I'm somewhat optimistic that HFC will play a role in the future of transportation, but there are still a lot of issues that need to be ironed out.

Page 1 of 4Next →