MurphyA/hacker-news huggingface dataset:
by viccis | 2025-05-17 20:03:30+00:00
To list off a few:

* No persist(). Not being able to cache dataframes is a nightmare when it's a workflow that involves taking a massive source of data, doing some rough filtering on it that gets it down to a tiny subset, and then doing more complex stuff with that.

* No good way to get usage info programmatically that I've found. For things like monitoring for periodic queries that get out of hand.

* Can't set Spark config. There are often ways to get around this, like when I recently had to set S3A credentials and needed a way that wasn't OS environment variables (this doesn't work for worker nodes). Eventually, through much documentation browsing and finally an exasperated hail mary question to ChatGPT that solved it (told me the things to pass into options() ) I got it working. But all the documentation and online QA resources just say to use Spark config.

* This is more of a Unity Catalog problem, but kind of applies because Serverless and UC often go very hand in hand (particularly when dealing with things that used to be stored in a cluster like credentials), but it drives me insane that I can only mount external volumes with the same block storage as my workspace provider. So I can't mount an external volume to an AWS bucket on an Azure UC. That means if I want to write stuff that can run the same regardless of what my customer is running their Databricks workspace with, I need to use less sophisticated approaches.

It's still nowhere near the pain that Databrick's attempt at copying Snowflake's VARIANT data type has caused me, but there are many times when I find myself having to work around serverless limitations. Especially when these limitations aren't really mentioned much upfront when Databricks pushes serverless aggressively.
by BoorishBears | 2025-05-17 20:03:49+00:00
My mental model: align with the world the very specific code I'm writing lives in. From domain specifics, to existing patterns in the codebase, to the stage in the data pipeline I'm at, performance profile, etc.

I used to try and form these kinds of rules and heuristics for code constructs, but eventually accepted they're at the wrong level of abstraction to be worth keeping around once you write enough code.

It's telling they tend to resort to made up function names or single letters because at that point you're setting up a bit of a punching bag with an "island of code" where nothing exists outside of it, and almost any rule can make sense.

-

Perfect example is the "redundancies and dead conditions" mentioned: we're making the really convenient assumption that `g` is the only caller of `h` and will forever be the only caller of `h` in order to claim we exposed a dead branch using this rule...

That works on the island, but in an actual codebase there's typically a reason why `g` and `h` weren't collapsed into each other to start.
by PaulRobinson | 2025-05-17 20:04:05+00:00
To some extent, that has already happened. Strictly is now in almost every major market under a different name (Dancing with the Stars, etc.), Attenborough nature-docs are widely revered and incredibly popular, and Top Gear got into almost every country except the US (which got its own version), until a series of controversies (first Hammond almost dying, then Clarkson punching a producer, then Chris Evans being himself, then Flintoff almost dying), pushed it into the "let's stop doing this" list - at huge cost.

For things where a format sale works (shows that need to be made locally to resonate, like Strictly), I think your concern is less of a risk. Attenborough/Top Gear style high-quality expensive content packages are more of a concern, but I think the worst we've seen there is that they end up doing weird things with the timings. You know in the UK that Attenborough docs run for 50 minutes, and there is then a 10 minutes "how we made it" bit? Foreign markets don't get that last bit - they buy the 50 minutes package, put ads around it to get it to an hour. In the UK we get a 10 minute filler DVD bonus track.
by bashkiddie | 2025-05-17 20:04:16+00:00
I can only guess:

Once upon a time we used to write by hand. It was considered time consuming.

Once upon a time we used to set books in lead letters. There were ligatures, where two consecutive letters hat a special spacing - like "fi" or "sz". If we allowed three consecutive letters, we would need to invent new ligatures.

It is probably easier/cheaper to just forbid the spelling.
by roxolotl | 2025-05-17 20:04:53+00:00
A family member experienced the muscle wasting side effects of statins. They didn’t even need them but they were overweight so their doctor thought it was a good idea to put them on statins. Took months to figure out what was wrong and it changed their life permanently damaging their mobility. Whenever they change doctors even though they don’t have cholesterol problems they still have to fight to be kept off of statins because they are overweight.

Statins are wonder drugs for those who need them. There’s absolutely no reason individuals should be deciding for themselves if they need them though. Bloodwork is required at a minimum to determine if they are needed. They are not NSAIDs.
by edude03 | 2025-05-17 20:04:58+00:00
I don’t know anything about IMS but I assume they have to stay on the call long enough for the debug headers to be sent (like the tracing the call thing in every spy movie but real) and if that’s the case can this be mitigated by “just”* not answering calls from unknown numbers?

*yes I’m aware that means people you know who have your number could also exploit this
by puzzledobserver | 2025-05-17 20:05:02+00:00
The Indian Supreme Court introduced the Basic Structure Doctrine in 1970, allowing the judiciary to overrule constitutional amendments if they are found to contradict the "basic structure" of the constitution.

It's original purpose, if I understand correctly, was to guarantee that fundamental rights were an essential part of the constitution and couldn't be amended away.

Wikipedia says that multiple countries appear to have adopted the principle: Pakistan, India, Bangladesh and Uganda.
by KaiserPro | 2025-05-17 20:05:22+00:00
Look, in the hands of a skilled artist, generative fill is really useful.

In the same way that the synth is superstitious is banging.

Sampling, when in the hands of a legend is also spectacular, see the prodigy and a break down of the samples they used. (or any half decent hiphop band)

Then you get akon who just sped up a single sample put a beat on it and shat out some halfarsed shit.
by astrange | 2025-05-17 20:06:05+00:00
Japanese transit-using society is old and middle-class; those are the kind of people who follow rules.

Americans are often more rule bound than Japanese people (we have HOAs and Nextdoor), but we just don't respect transit systems as much because we think of them as gifts we give to the poor/mentally ill/homeless.

And then a lot of Americans have an anti-gentrification ideology ("rent-lowering gunshots" or "neighborhood character") which says that anything made for poor people must be kept old and dirty or else rich people will show up and take it away from them.
by AnthonyMouse | 2025-05-17 20:06:08+00:00
These are independent problems.

To prevent the government from ignoring the constitution, create remedies in each of the other branches of government. The US doesn't make this as strong as it should be. Constitutional challenges in the judiciary get shut down as a result of standing or sovereign immunity when that ought not to happen, and there should be a better mechanism for states to challenge federal constitutional violations.

The two-party system in the US is caused by first past the post voting. Use score voting instead. Not IRV, not some other nonsense, a rated voting system that removes the structural incentive to avoid spoilers by limiting the number of parties.

"The existing system isn't perfect" is why you improve it, not why you give up.
by MacNCheese23 | 2025-05-17 20:06:18+00:00
I don't really get HA. It seems oversized for what most people need for their own home automation. Maybe I'm just jaded because my house is fully KNX wired, but the only "addon" I need is NodeRed for some Dashboard and Integrations of ESPs that are just for additional monitoring. It runs in a lonely docker container just fine and does not need a million dependencies.

Then again, I also don't understand why people buy every "smart"/cloud based device and try to glue everything together - when the hardware fails most likely the vendor does not exist or no longer supports it anymore and then you start all over again.
by lawnchair | 2025-05-17 20:06:18+00:00
Makes sense. We are still a bit under the radar. Terrateam focuses on Terraform and Tofu automation through GitHub pull requests. No long running agents or syncing YAML. Everything runs in response to pull request, comment, and merge events.

We are also expanding support beyond Terraform and Tofu. That includes Kubernetes, Ansible, and other tools that follow a plan and apply model. If it runs as a CLI with a dry run capability, we can orchestrate it.

On the VCS side, we started with GitHub and are adding support for GitLab and Azure DevOps.
by lxgr | 2025-05-17 20:07:17+00:00
Oh, nice! I wish you/they could share some war stories from that, but the combination of Apple and smartcard industry NDAs probably make that inadvisable.

I love the technology, but I'm not a fan of the culture of security by obscurity in that industry. What's worst is that it's at this point mostly unnecessary! Modern smart cards largely use standard algorithms and would probably hold up just as well or even better with their details publicly documented.

Also, small nit: Secure element. The secure enclave is Apple's cryptography and key management coprocessor running an L4-based OS; a secure element is a (generally not Apple specific) smartcard-like hardened microcontroller that can be embedded in devices, usually as part of the SoC of a contactless microcontroller.

The secure enclave primarily holds the user's and Apple's keys; the secure element can also hold somebody else's, e.g. payment or IC card issuers'. The latter is (somewhat ironically, given the name) somebody's trusted enclave in an otherwise untrusted device.
by arp242 | 2025-05-17 20:08:00+00:00
There's an interview with Bob Monkhouse about making TV in the 50s/60s; he wasn't allowed to say "condom" on TV, and would get fined if he said "bloody".

There's as always a "taboo" on some things. Lots of jokes about sex and religion today that would see you completely crucified in the past. Do you think The Thick of It could have been made in the 80s?

I never cared for Little Britain and haven't seen it, so I can't comment on their "jokes about transvestites", but this whining about "PC gone mad!" has been going on for 40+ years. A few decades ago it was about "you can't make fun of the pakis and nig-nogs any more!"
by mrweasel | 2025-05-17 20:08:04+00:00
There was a whole special interest group set up to handle the law suites: https://ulovliglogning.dk/ all the law suites are on their page, but in Danish. One of the previous ministers of justice flat said he didn't care, as long as it help catch "the bad guys". This a guy who was the leader of the Conservatives. A party that brands itself as the party of law and justice, except when they don't like the verdicts apparently.

You can also read about the reaction to the verdict in 2017 (again in Danish): https://www.version2.dk/artikel/bombe-under-ti-aars-dansk-te... where the EU deems the Danish logging unlawful, and the police and the government reacts by ignoring the verdict and wanting even more logging. There is a bunch of followup and related links at the bottom. The site is a tech news site owned by the Danish Engineers Union.

There's a Wikipedia page on what is being logged and retained: https://en.wikipedia.org/wiki/Data_retention#Denmark

It's somewhere between an over-interpretation of EU rules and a misunderstand of the usefulness of the collected data, but the end result is that every single person in Denmark is basically logged and tracked 24/7, unless they go completely offline.
by retrac | 2025-05-17 20:08:08+00:00
As mentioned in passing, it is also an entry to the Semitic languages, which are one of the great language families in historical and literary terms. A lot of the features listed are shared with its most distant cousin Akkadian, as spoken some four thousand years ago in Mesopotamia. Like the tri-consonant root system: Akkadian makarum "to flow (a river, irrigation, etc.)", but the derived noun is makkurum "commerce, business dealings". Arabic also has the mkr root, verb makara, noun makrum - meaning more like scheme or plot. (Fascinating little shift of meaning.)
by thayne | 2025-05-17 20:09:06+00:00
The title is... odd.

White dwarfs and neutron stars are generally considered "dead stars", since they no longer have active fusion processes. But they do radiate from energy left over from the star's "death". (Mostly thermal energy for a white dwarf, for neutron stars there is also a lot in angular momentum and the spinning magnetic field.) In theory, they will eventually radiate all of their energy away and become black dwarfs or cold neutron stars, but IIRC, that would take longer than the current lifetime of the universe.
Show HN: Free AI tool that fills web forms from plain text
by vozni | 2025-05-17 20:11:22+00:00
I built a free Chrome extension called FillApp.

It lets you fill web forms just by writing plain text like:

“Ship it from @NorthDelivery to @WestflowLimited”

It parses the form automatically and fills it with the right data, including tricky fields like dates, multiselects, etc. You can also save and reuse snippets across different forms.

It’s completely free and works with most modern web forms. Would love to hear what you think.
by WarOnPrivacy | 2025-05-17 20:12:26+00:00
Origin article: https://www.reuters.com/sustainability/climate-energy/ghost-...

two people familiar with the matter said...rogue communication devices not listed in product documents have been found in some Chinese solar power inverters by U.S experts who strip down equipment hooked up to grids to check for security issues, the two people said. The two people declined to name the Chinese manufacturers of the inverters and batteries with extra communication devices, nor say how many they had found in total. Both declined to be named because they did not have permission to speak to the media.
by gameman144 | 2025-05-17 20:12:34+00:00
I am not sure that the before case maps to the article's premise, and and I think your optimized SIMD version does line up with the recommendations of the article.

For your example loop, the `if` statements are contingent on the data; they can't be pushed up as-is. If your algorithm were something like:

if (length % 2 == 1) { values[i] += 1; } else { values[i] += 2; }

then I think you'd agree that we should hoist that check out above the `for` statement.

In your optimized SIMD version, you've removed the `if` altogether and are doing branchless computations. This seems very much like the platonic ideal of the article, and I'd expect they'd be a big fan!
by flembat | 2025-05-17 20:13:09+00:00
I let a popular agentic ai refactor some code for me today, it looked really nice, but despite the fact that it was meant to be splitting a file full of functions that already compiled and worked it rewrote them all and broke them comprehensively, it then tried to research how to fix them, even though working code was right there in the file and just kept making the code worse and worse. It also had some limit which meant it left the code partly refactored, ran out of its quota left everything broken and then when restarted suggested refactoring some more classes.
by zabzonk | 2025-05-17 20:13:47+00:00
Yeah, I agree it must have something to do with the forces on the model.

I loved playing with these things way back when (1960s) - the most frightening one was a model attached to a jetex rocket engine https://en.wikipedia.org/wiki/Jetex which after taking off immediately immolated itself, which I suppose is par for rocket powered aircraft, of any size.
by autobodie | 2025-05-17 20:14:32+00:00
>immensely gratifying to me because it means humans will always need humans

Just to confirm, this is sarcasm, right? It's hard to tell, and it's terrifying to me that so many people don't comprehend this as a basic fact at least by grade school.

Also, is it still gratifying if humans won't have other humans? Curation is harder to come by than ever before because it's less profitable. What is gratifying about that???
by dilyevsky | 2025-05-17 20:14:51+00:00
IMS is just SIP core + bunch of gateways + integration with base LTE infra (eNodeB, PCRF, etc) so "signaling messages" are just SIP messages. So depending on whether those compromising headers were included on things like SIP 180 Ringing messages and such it may not be enough to not answer the calls. Source: actually worked on deploying IMS at a telco (not this one)
by Melatonic | 2025-05-17 20:15:36+00:00
Seems to me there must be some middle ground here - maybe Google decides to keep this functionality around for apps that need it (and punish those who exploit it) and add some type of additional user interaction before an app can get full file system access. I know in MacOS, for example, the built in finder hides a lot of system files until you flip a switch manually to enable them. Could have something similar (with a warning).
by namenumber | 2025-05-17 20:15:52+00:00
mixcloud has been great for this for me. so many people post their mixes and their radio shows there that there is always something new to explore, and searching for something slightly off that i know i like leads to people using that in a mix so i know we're at least partly on the same wavelength when i start to listen. And then eventually you end up with a list of mixtape makers/DJ's/radio show hosts you trust which is cool, really feels like a world radio show at times.
by Calwestjobs | 2025-05-17 20:15:59+00:00
https://www.youtube.com/watch?v=-uQLvakPXOA

12 milion per day - iraqi mafia tasking 14 year olds with arson, robbery, murder in australia...

12 year old selling drugs in russia enabled by technology : https://globalinitiative.net/analysis/russia-drug-trade-orga...

EDIT: state backed use of proton : https://globalinitiative.net/analysis/lawless-cyberspace-why...
by Grosvenor | 2025-05-17 20:16:03+00:00
> The problem is that eventually you need to measure for placement Why do you need to be "placed"? I know the answer - resources.

But why can't each individual have sort of their own bespoke governess tutoring them all through school? Pay Gilbert Strang a million dollars to do a 32 week course in LinAlg. Yes I know a normal course is shorter, expand it to cover everything in exquisite detail, so even I can keep up. Alan Kay, Donald Knuth, and John Carmack can teach computer science. Continue on for each subject.

Then let students go as fast as they want. I'd have finished some subjects of HS by the time I was in 9th grade, and others I might still be trying. ¯\_(ツ)_/¯

Where you'd still need to be "placed" is social development. Which I think should actually be a subject.
by larodi | 2025-05-17 20:17:01+00:00
This article resonates so bad with me, like as if I did write it.

This all the author writes about is called collapse of context. And people been waking up to noticing it, writing about it, eventually becoming victims. Everyone who previously had a natural sect of some subculture is failing victing the moment they move the member base into faang social media. It kills the opportunity to mold your community around itself - it gets molded for monetization.

I dream the day when using social media would be considered as bad as a smoking or drinking habit, the endless scroll of mostly irrelevant content. Because even curated accounts are bombarded with advertised noised.

In recent years I wake up to the fact that I keep meeting people who are totally supposed to be in my bubble, very similar, lived in the same city, not a big one, 2m, but we have not found each other because of media noise, and technological alienation. Its amazing as if living in the black mirror already and for a while.

I keep investing massive efforts to get any public events gathering people spending hundreds of euros for promotion, prominent artists, in a time when delivery of information is supposed to be immediate. The audience, which includes all of us, fail to notice the information as there is so much of it. faang is milking everyone like crazy for the right to get to people supposed to be subscribed to our own content, which we don't own. it totally makes sense to have vanilla html at this point as i did with my event yesterday (tickets.dubigxbi.com), but then again - i need to submit a bribe to techbros to even let me emerge in the information sphere. like, I started considering running a bot farm, because this is what they deserve. 500$ of ads gets me mostly bot traffic, it is insane, paid advertising has never been so ineffective.

Besides, the way many grow to behave, and not only the young generation, is that they get addicted to endless scrollers in tiktok/insta/x and it is not us/them anymore searching the information. It is algorithms packing it for everyone, which is amazing way to put tubes in everyone's eyes and minds and feed it hallucinations of all sorts. But it is the world we woke into.
Show HN: Subscan – Subdomain discovery and misconfiguration scanner in Go
by omerimzali | 2025-05-17 20:17:29+00:00
Subscan is a Go-based CLI tool that helps bug bounty hunters and pentesters with subdomain discovery (passive and brute-force), scoring (HTTP/TLS/CNAME), and misconfig probes (takeovers, open .envs, S3 buckets, etc).

Output formats include JSON/CSV/HTML/Markdown. GitHub: https://github.com/omerimzali/subscan

Looking for feedback!
by harshreality | 2025-05-17 20:17:34+00:00
The kinds of planes you're thinking about, yes.

From what I understand, it's affected by two things:

1. The regulatory side, driven by the size and complexity of the plane. That in turn affects potential number of passengers and typical hiring arrangement (pay-per-seat vs charter vs personal use). If you google best single-pilot aircraft, you'll see things like the hondajet, pilatus pc-24, and citation cj2/3/4. Nothing larger or more complex than that.

2. Insurance requirements for particular flights. If you're hiring out a plane to carry other people, you need a different kind of liability insurance. That insurance might require you to have two pilots even for a small plane (like a stereotypical primitive prop plane, or a previously mentioned small jet like hondajet or citation cj2/3/4) that might in other situations be legal to fly with a single pilot. Or, for someone like an executive with hefty personal injury insurance, that person's insurance might not cover them if they fly in a plane with a single pilot.

That's not to say that all "for hire" flying requires two pilots. Consider small prop planes for sightseeing, or skydiving, or island hopping the Caribbean. Unless something's changed recently, you won't have two pilots for those kinds of flights.

The reason I brought up personal insurance for passengers: CitationMax (certified ATP pilot who flies his parents around in their private jet) on youtube has mentioned that his father's personal/executive insurance requires him to fly with two pilots. Even when they had a cj3+, they added a contract pilot when his father was onboard. Now they have a citation longitude, which is large/complex enough that it can never be flown with only one pilot, even if no passengers are onboard.