MurphyA/hacker-news huggingface dataset:
by andrewfromx | 2025-05-21 15:23:35+00:00
My point is this:

Having worked at multiple IoT companies with many millions of connections. This is the way.

People tend to overcomplicate things with K8S. I have never once seen a massively distributed IoT system run without a TON of headache and outages with k8s. Sure, it can be done, but it requires spending 4-8x the amount of of development time and has many more outages due to random things.

It's not just the network, its also the amount of config you have to do to get a deterministic system. For IoT, you dont need as much bursting (for most workloads). Its a bunch of devices that are connected 24/7 with fairly deterministic workloads, that are usually using some type of TCP connection that is not HTTP, and trying to shove it into an HTTP paradigm costs more money and more complexity and is not reliable.

https://news.ycombinator.com/item?id=44032250
by daveguy | 2025-05-21 15:23:37+00:00
> Satya says: "I’d say maybe 20%, 30% of the code that is inside of our repos today and some of our projects are probably all written by software".

Well, that makes sense to me. Microsoft's software has gotten noticably worse in the last few years. So much that I have abandoned it for my daily driver for the first time since the early 2000s.
by byoung2 | 2025-05-21 15:24:28+00:00
I've been impressed with the memory feature, but I do see how it could be dangerous, especially if you use it for hobby projects and serious projects. For work, I use ChatGPT to generate my weekly status reports for work, and that will come in handy when doing my annual review or updating my resume. But I would not want that context to spill over into a personal project
by 98codes | 2025-05-21 15:24:55+00:00
Makes me wonder if the pattern will continue to follow, and we start to find certain agents—maybe due to config, maybe due to the training codebase and the codebase they're pointed at—that will become the single one out of the group we can rely on.

Give instructions, get good code back. That's the dream, though I think the pieces that need to fall into place for particular cases will prevent reaching that top quality bar in the general case.
by worldsayshi | 2025-05-21 15:24:59+00:00
This is brilliant!

Now i want (to build) a drag and drop toy where i can multiply or summarize numbers that are represented in this way. To see how factors move (like boids).

Is this visualization algorithm called something? The explanation link from a previous HN post seems to be broken: http://mathlesstraveled.com/2012/10/05/factorization-diagram...
by abirch | 2025-05-21 15:25:02+00:00
This is the exact same as automation. We need to be sure that we take care of those who lose their jobs.

Truck Driver is one of the most popular professions in most states but the end is coming soon: https://www.cnn.com/2025/05/01/business/first-driverless-sem... you can imagine that they'll only need drivers that aren't on interstates or for inclement weather.
by Workaccount2 | 2025-05-21 15:25:03+00:00
Recently at a family dinner we established that any kind of unsolicited contact that falls outside typical conversation - Asking for money, sending money, pretty much anything with money - you must say the word that only people in our family would know.

Ironically, this would be a good application of AI, where the AI listens in on their calls, and will flag conversation that warrants the keyword being said.
by meroes | 2025-05-21 15:25:12+00:00
> In the end, all the meaning we have is constructed from the patterns our senses relay to us. We construct meaning from those patterns.

Appears quite bold. What sense-relays inform us about infinity or other mathematical concepts that don't exist physically? Is math-sense its own sense that pulls from something extra-physical?

Doesn't this also go against Chomsky's work, the poverty of stimulus. That it's the recursive nature of language that provides so much linguistic meaning and ability, not sense data, which would be insufficient?
by ramses0 | 2025-05-21 15:25:18+00:00
I don't know if you've ever messed with `ctags`, but I used that a long while back with a crufty, large, PERL codebase.

It was super nice to have "jump-to-definition", but the vim plugin in vscode is very nice (missing a few things, but even `<c-w>hjkl` "does the right thing(!) so they're really trying).

I haven't leaped to nvim (yet?), and the fact that vscode kindof "just works" has prevented me from chasing LSP support or setting up the more "advanced" features, but thanks for sharing!

I'd be fantastical if something similar to that cursor autocomplete were available in a "real" cli-vim. There's things that really bug me about the "hover suggestions" (eg: can't always tell which characters/lines are "real" or "suggested", especially with auto-closing double-quotes suggestions), but when I occasionally drop to a terminal vim for "accurate" editing, I really do find myself missing like "I should just be able to tab-complete the rest of these edits..." and I don't know how to express that in an appropriate "editor" context?

Maybe lean on like a `vimdiff` representation, where you could `:vsplit $ASSISTANT` and accept suggested diffs? (Hmmmmm....)
by mjr00 | 2025-05-21 15:25:50+00:00
> The biggest problem that sucks about discord is that it isn't normally publicly searchable.

This is a feature of the platform, not a bug. Because of the lack of discoverability people act more genuine, for better or for worse, than public places like Twitter, Bsky, Facebook, Instagram, etc where you have to maintain your public image and/or act like HR is watching over your shoulder.

That being said, this feature also makes Discord inappropriate for things like release announcements, patch notes, etc. which should be publicly accessible.
by silloncito | 2025-05-21 15:25:56+00:00
Thank you for your welcome, I must have been lurking here for around 30 years or more (always changing accounts). Anyway in this specific case, since M = Max(X,X) = X you can't have F(M) = F(X)*F(X) = F(X) except when F(X) in {0,1}, so the independence property is essential. Welcome fellow Lisper (for the txr and related submission) and math inspired (this one and another related to statistical estimation) with OS related interest (your HN account), OS are not my cup of tea but awk is not bad).

In another post there are some comments between topology and deep learning. I wonder if there is a definition similar to dimension in topology which would allow you to estimate the minimal size (number of parameters) in a neural network so that is able to achieve a certain state (for example obtaining the capacity to one shot learning with high probability).
Show HN: Chrome extension that reveals hidden SaaS usage across your company
by robgreen | 2025-05-21 15:26:00+00:00
I made Hapstack - a Chrome extension that runs passively in the background and maps which SaaS tools are being used by who across your organization. No surveys, no end-user install, and no complex IT setups.

It scans for app usage across 2,500+ SaaS tools every second and gives you 6-months of history immediately upon deployment (~5 minutes).

It’s useful for:

- CTOs, IT, and ops teams looking to reduce shadow IT - Founders trying to understand their stack before scaling - Procurement and finance teams managing renewals and spend

Everything happens locally in the browser (client-side only), and admins can view usage data across a team from a dashboard. Our goal is to give teams visibility into their tools before bloat or duplication becomes a problem.

We’re early and would love feedback from the HN community. You can try it here: https://www.hapstack.com/
by vidarh | 2025-05-21 15:26:02+00:00
I find this thinking bizarre. What matters is the simplicity of the API my code has to talk to.

You'd have a better argument if most people built their own terminals, like I have (mine is only ~2k lines of code, however), as then there'd be a reasonable argument you're writing that code anyway. But most people don't.

Even then I'd consider it fairly specious, because the terminal code is a one off cost to give every TUI application a simple, minimal API that also gives me the ability to display their UI on every computer system built in at least the last half a century.

I write plenty of code that requires more complex UI's too, and don't try to force those into a terminal, but I also would never consider building a more complex UI for an app that can be easily accommodated in a terminal.
by snickerbockers | 2025-05-21 15:26:28+00:00
It's pretty cringe and highlights how inept LLMs being shoehorned into positions where they don't belong wastes more company time than it saves, but aren't all the people interjecting themselves into somebody else's github conversations the ones truly being driven insane here? The devs in the issue aren't blinking torture like everybody thinks they are. It's one thing to link to the issue so we can all point and laugh but when you add yourself to a conversation on somebody else's project and derail a bug report it with your own personal belief systems you're doing the same thing the LLM is supposedly doing.

Anyways I'm disappointed the LLM has yet to discover the optimal strategy, which is to only ever send in PRs that fix minor mis-spellings and improper or "passive" semantics in the README file so you can pad out your resume with all the "experience" you have "working" as a "developer" pm Linux, Mozilla, LLVM, DOOM (bonus points if you can successfully become a "developer" on a project that has not had any official updates since before you born!), Dolphin, MAME, Apache, MySQL, GNOME, KDE, emacs, OpenSSH, random stranger's implementation of conway's game of life he hasn't updated or thought about since he made it over the course of a single afternoon back during the obama administration, etc.
by phickey | 2025-05-21 15:27:11+00:00
Thanks for using wasmtime! I worked on the component bindings generator you’re using and it’s really nice to see it out in the wild.

To elaborate a bit further: wasmtime ships a [bindings generator proc macro](https://docs.wasmtime.dev/api/wasmtime/component/macro.bindg...) that takes a wit and emits all the code wasmtime requires to load a component and use it through those wit interfaces. It doesn’t just check the loaded component for the string names present: it also type checks that all of the types in the component match those given by the wit. So, when you call the export functions above, you can be quite sure all of the bindings for their arguments, and any functions and types they import, all match up to Rust types. And your component can be implemented in any language!
by zikani_03 | 2025-05-21 15:27:47+00:00
I've also got some mileage from live templates for repetitive code. However, at some point I built[0] an IntelliJ IDEA plugin to help me generate setters and field assignments that I felt live templates weren't a good solution for (for my case). I don't know if JavaFactory solves this kind of problem, keen to try it out.

[0]: https://github.com/nndi-oss/intellij-gensett
by sillysaurusx | 2025-05-21 15:28:08+00:00
Wrong or not, it’s the world we live in. It falls to the parents to teach their kids what not to say from a young age.

Besides, most of the salacious talk happens in DMs and private channels, which weren’t scraped.

If you can find evidence of some way to use this data harmfully, I’ll agree with you. Till then you’re making a fuss possibly without merit.

In general I’m skeptical of the power of data alone to meaningfully harm someone, except in obvious cases like private health info, exposing affairs, financial documents, and so on.

Public information is public, and it’s arguably wrong to keep it locked up rather than the other way around. Datasets like this are the only way open source ML has any chance against the big players.
by gnabgib | 2025-05-21 15:28:59+00:00
By: Climbing Mount Everest in under five days without acclimatising using xenon gas

Related: They want to climb Everest in a week using an anesthetic gas (3 points, 7 days ago) https://news.ycombinator.com/item?id=43988039

Use Xenon gas to climb Everest in a week? (12 points, 22 days ago) https://news.ycombinator.com/item?id=43837865
by SoftTalker | 2025-05-21 15:29:09+00:00
It feels like we are on the tipping point of a total technology collapse. Newspapers are publishing AI hallucinated news and don't understand why their editors aren't catching it. GPS and mobile communications are subject to jamming/spoofing. Public utilities are subject to hacking. Air traffic control is teetering on the edge of a cliff. And our best technical minds are working on keeping teenagers addicted to 15 second dopamine hits.
by jraph | 2025-05-21 15:29:19+00:00
Not exactly, and kinda but definitely not at the same level.

Having to trust that random apps behave is very uncomfortable. If some bug makes an app enter an infinite loop, it's a freeze and you are good for a reboot. So we went to preemptive multitasking and we never went back to cooperative multitasking.

Inside an app written by one entity, why not? We have all the tools needed to manage apps that froze, restarting apps might be less of a big deal, and there is not necessarily the need for competing things inside an app. To the exception of the GUI, which should remain responsive, so either (1) you make sure computations are always imperceptibly short, or… (2) you are back to a dedicated thread for the GUI, handled with the preemptive multitasking capabilities of the OS. Web apps and Javascript have been more or less (1), but workers have been introduced to have (2), because (1) is quite limited. So, even there, cooperative multitasking has its limits.
by lukan | 2025-05-21 15:29:20+00:00
"GPS is falling behind Galileo and Beidou as the preeminent GNSS"

I remember, that Galileo went offline a few years ago for some days - and the joke was, no one noticed. So possible that today there are more regular users and possible that there are some advanced features of Galileo like the mentioned

"Galileo’s open service (civil-access) E1 signal incorporates public/private key encryption to digitally sign and authentify data"

But I think GPS falling behind Galileo would imply a bit more Galileo users, compared to GPS. Which would surprise me.
by pphysch | 2025-05-21 15:29:37+00:00
"Russia Today was for 10 years almost the only way to know what's really going on in my country".

I'm only being half-sarcastic. RT will cover factual issues about Western countries that the state-endorsed media won't. But they're still disinformation outlets that should be consumed with a massive grain of salt, just like RFE and RFA.
by iLemming | 2025-05-21 15:30:43+00:00
> Not understanding something is not a virtue, not something to act smug and superior about.

I'm sorry that I sounded like acting smug, I'm honestly just trying to understand what you're wishing for. An external (non-elisp) org-mode parser or something? I don't get your last paragraph in your latest response, like at all.
by maxmcd | 2025-05-21 15:30:45+00:00
I don't think this is trivially fixed since you can still only have one writer that is holding the lease.

Your new service will come up, but it won't be able to get the write lease until the previous server shuts down. Now you have tools to detect this, stop one writer, and start the other, but the service will likely have to experience some kind of requests queueing or downtime.
by vel0city | 2025-05-21 15:30:48+00:00
> Pretty sure cars are more expensive than horse carriage

Basic car ownership can be quite a bit cheaper than a horse + carriage.

The horse will probably eat $10-20/day in food. $600/mo in just food costs. Not including vet bills and what not.

A decent and cheap horse will probably cost you $3k up front. Add in several thousand dollars more for the carriage.

A horse requires practically daily maintenance. A carriage will still require some maintenance.

A horse requires a good bit more land, plus the space to store the carriage. Plus, all the extra time and work mounting and unmounting your horse whenever you need to go.

A horse and carriage isn't really cheaper than a cheap car and way less functional.
by ldoughty | 2025-05-21 15:30:54+00:00
I think the average server size here is in the ballpark of 1200 people.

These are servers that asked to be advertised by Discord ("Discovery"). These are unlikely to be any kind of servers used for private or even semi-private discussions. You likely don't know most of the people on the server.

Most likely, the 'hottest' kind of data you might find is someone accidentally leaking info akin to the World of Tanks forum post 'corrections'.
by bradfa | 2025-05-21 15:30:57+00:00
In my town in NY state USA, they require a stamped engineering drawing for a ground mount system and it has to be rated for wind and snow load. Most of the ground mounts which come with stamped drawings have run about $1/W total cost which will meet my local needs for a set of panels in the 5kW to 20kW size range. This cost includes concrete, all support structure, and the racking that the panels attach to. This cost does not include panels, wiring, nor inverter.

If you're able to get a 12kW rated full system, including racking, panels, and inverter for the equivalent of $1/W that's an amazing deal! I wish prices here were like that.
by WorldMaker | 2025-05-21 15:31:10+00:00
A problem with going straight to objects is you potentially create a lot of GC churn if the `interpretJsx()` converts it to a different data structure. Also because it is a tree structure, you are probably talking a recursive depth-first-search or other tree-walker algorithm that can easily blow up the stack while it works. If you are doing something Virtual DOM-like and evaluating lots of trees, that memory/GC and CPU churn compound quickly.

This is part of why JSX has always been function calls rather than a data structure to interpret: the recursion to walk the tree is flattened at "compile time".

I don't see why it is a problem you'd need to import your `jsx` function in every file that uses JSX syntax, but perhaps because that's how I've always preferred to use JSX, even with React. Explicit imports are better than implicit ones. If you use lit-html you have to import its `html` function everywhere to get html`` template literals to work. It's not a lot of overhead and it works well. You can add the auto-import smarts to your editor, to your snippet files and template files. Typescript already has a ton of auto-import suggestions as you write a file.
by Arnt | 2025-05-21 15:31:18+00:00
No, that £1 to £5 applies if you're among the first ten to book tickets on that flight. They use a bucket system where the first ten tickets are really cheap, the next ten a little more expensive, etc, and the last ten rather expensive.

I don't think the actual bucket size is ten. But I'm fairly sure that they hope to sell more tickets from the later, more expensive buckets, not from the earliest buckets. They don't plan to fly many almost-empty flights.
by ryandrake | 2025-05-21 15:31:33+00:00
> I'm surprised there isn't a movement to halt the use of AI for certain tasks in software development on the same level as the active resistance from doctors against socialized medicine in the US.

This is also shocking to me. Especially here on HN! Every tech CEO on earth is salivating over AI coding because they want it to devalue and/or replace their expensive human software developers. Whether or not that will actually happen, that's the purpose of building all of these "agentic" coding tools. And here we are, dumbass software engineers, cheerleading for and building the means of our own destruction! We downplay it with bullshit like "Oh, but AI is just a way to augment our work, it will never really replace us or lower our compensation!" Wild how excited we all are about this.
by IanCal | 2025-05-21 15:31:51+00:00
This is fair, but also a tooling or process problem.

The co-worker should add the test to a new branch / test it on main. If it fails that's a new ticket (with the great side effect of having a failing test). If that passes it's a problem in their branch. If not it's the same as having a broken main which happens anyway and you deal with that as you usually do.
by LegionMammal978 | 2025-05-21 15:32:43+00:00
> Currently sound Rust code does not depend on the value of uninitialized memory whatsoever. Adding `freeze` means that it can.

Arguably, the existence of "asm!() freeze" has already broken this idea. Of course, you nominally don't get any guarantees about the stability of data that asm!() code reads from uninitialized bytes, yet you can do it nonetheless.

And it's not like it's practical to say "asm!() code is always unsound if it uses uninitialized bytes like they're numbers!", since lots of it does useful stuff like communicating with the kernel with structs that get serialized, and it can also open up interfaces like mmap() which translate possibly-uninitialized virtual-memory bytes into definite kernel bytes.

Not to mention /proc/self/mem and similar kernel-provided debugging utilities that can peek into memory as serialized data.
by tikhonj | 2025-05-21 15:32:47+00:00
Good example for sums: you can write a property that checks whether the sum of a list is the same before and after you randomly shuffle the elements.

In practice sum is a sufficiently well-understood function that this property will only catch the edge-cases people know about up-front (integer overflow, floating point issues...). But for more complex cases, this kind of property will catch problems you didn't think about. And even if you decide that the bug is not important—sometimes we have no real choice but to live with these edgecases—at least you'll know about them explicitly and be able to document them.
by knowitnone | 2025-05-21 15:33:41+00:00
if it's anonymized, is it your mistake and can anyone point single you out? I've not seen anyone point out 14 year old posts but I suppose it occurs. But at what arbitrary age can we start to hold them accountable for their posts? 70? What about people who flip flop on views whenever it suits their needs?

"It's easy to find common threads and identify someone?" Prove it because I don't think it's that easy.
by gibibit | 2025-05-21 15:34:14+00:00
"A single 1-kW jammer can take down GPS for a 300-nm radius.[...] A CRPA can shrink the effective radius of the 1-kW jammer to 3 nm. The jammer’s area of effectiveness is slashed from 280,000 m² to 28 m²."

An example of the kind of unit confusion that could crash a Mars orbiter?

I thought we were talking about nanometers and square meters here for a second. But this only makes sense if "m²" means square miles and "nm" means nautical miles. How about at least using "mi" for miles to reduce confusion?
by Jtsummers | 2025-05-21 15:34:18+00:00
Sort of. But you can also use PBT for integration and end-to-end testing, too. A user tries to schedule something and it's overlapping with an existing event, what happens? A user adds 10 events with their various requirements (none overlapping) do they successfully schedule?

Set the expectations and model the expected behavior, verify that the system matches that expectation. The approach works at all testing scales.
by vlovich123 | 2025-05-21 15:34:33+00:00
> which historically were publicly searchable

Forums? No not generally unless you were a signed in user and often signups weren’t available to the general public just like here not all Discord rooms are automatically joinable. Digg, Reddit, slashdot were intentionally generally public forums that you could indeed search but they were the exception rather than the rule (in terms of count, not traffic). Indeed even Reddit has invite only forums that I believe aren’t searchable unless you are a member. Oh and searchable if you’re a member? That’s true for Discord.