News for hackers. Stuff that matters.

plus

Claiming “Zionist infiltration” of the government is not the same thing as criticizing Israel.
Re:An Interesting Fourier Transform – 1/F Noise on Monday August 10, 2026 @10:48AM (#49244440)
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?
Re:Remove .zig Files from Bun on Thursday May 14, 2026 @09:34AM (#48135164)
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
Re:Matt Godbolt sold me on Rust by showing me C++ on Tuesday May 06, 2025 @02:39PM (#43908281)
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).
Re:Elliptical Python Programming on Thursday April 10, 2025 @10:50AM (#43644383)
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.

Re:Differentiating DIScontinuous functions on Wednesday December 04, 2024 @06:20PM (#42323132)
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.
Re:Is Python That Slow? on Friday November 22, 2024 @07:23AM (#42213247)
Faster than what?
Re:Family medicine is in decline on Monday October 28, 2024 @10:37AM (#41971454)
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.
Re:Family medicine is in decline on Monday October 28, 2024 @10:00AM (#41971078)
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).
Re:Rust in Linux Revisited on Monday September 02, 2024 @01:02AM (#41422730)
Thanks for the clarification, I was definitely under the misapprehension that Fuchsia was basically 100% C++.
Re:Rust in Linux Revisited on Saturday August 31, 2024 @08:45AM (#41408511)
Fuchsia is written in C++, not Rust.
Re:The Bug in the Computer Bug Story on Friday August 30, 2024 @10:54AM (#41401310)
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?
Re:Twitter Okta Leak Exposes Class of "Protected Users" on Wednesday July 24, 2024 @06:15PM (#41062764)
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.
Re:Twitter Okta Leak Exposes Class of "Protected Users" on Wednesday July 24, 2024 @06:13PM (#41062751)
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?
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.

Re:MLow: Meta's low bitrate audio codec on Thursday June 13, 2024 @11:34AM (#40670947)
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.
I would also find a link to those arguments to be satisfactory.
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?
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).
Re:Framework Series A-1 on Tuesday April 23, 2024 @10:55AM (#40132682)
nrp is Nirav Patel, founder of Framework.
Re:The Boring Phone on Wednesday April 17, 2024 @01:50PM (#40067956)
I accidentally entered my birth year as 79xx, instead of 19xx, and it blocked me from reading the article. So that's cool.
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.
Is it possible that rather than cheating customers, they are simply trying to increase the density of the paperweight to make it more effective?
Re:Epic vs. Google: Google Loses on Monday December 11, 2023 @08:36PM (#38608137)
The judge cannot override the jury's ruling, so unless Google's appeal succeeds, the ruling stays.
Re:Sony announces a9 III: first full-frame global shutter camera on Thursday November 09, 2023 @10:11AM (#38205993)
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?
Re:Elephants Are Total Scaredy-Cats Around Bees on Tuesday October 24, 2023 @11:24AM (#38000461)
I know I'm anthropomorphizing the bees, but the queenless hive almost sounds like it's in mourning.
Re:New AC technology uses 60% less energy on Friday October 13, 2023 @10:55AM (#37871339)
Presumably into the (outside) air.
Re:An open-source alternative to QuickBooks on Tuesday May 30, 2023 @12:35PM (#36126958)
Discord and Discourse are two separate things.
Re:What's new in Matplotlib 3.7.0 (Feb 13, 2023) on Wednesday February 15, 2023 @02:22PM (#34809169)
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.
Re:Sudo Replacement on Friday January 20, 2023 @07:01PM (#34462056)
I believe it was a joke.

Older »