MurphyA/hacker-news huggingface dataset:
by jchw | 2025-07-09 16:10:56+00:00
The term "serverless" is a generic PaaS marketing term to refer to managed services where you don't have to manage a server to use them, e.g. "Amazon Aurora Serverless". If you're managing CGI scripts on a traditional server, you're still managing a server.

The point isn't really that the application is unaware of the server, it's that the server is entirely abstracted away from you. CGI vs serverless is apples vs oranges.

> [...] but the term is being used to sell to developers. It communicates to them, quite literally, that they don't have to make their application a server [...]

I don't agree. It is being sold to businesses, that they don't have to manage a server. The point is that you're paying someone else to be the sysadmin and getting all of the details abstracted away from you. Appealing to developers by making their lives easier is definitely a perk, but that's not why the term "serverless" exists. Before PaaSes I don't think I've ever seen anyone once call CGI "serverless".
by sunwukung | 2025-07-09 16:11:04+00:00
I fully concur, we've automated away the enjoyable and creative part of the job. I used Windsurf for a project recently, and while it was impressive, I don't feel I was notably more efficient at delivery. I often had to intercede to refactor what it had churned out to make the solution legible. My takeaway was that AI coding is a fairly joyless experience, you're effectively writing JIRA tickets for it, and the labour switches to coaching and PRs. It feels like we're just accelerating the speed at which we build legacy code bases, which no-one will understand.
by disconcision | 2025-07-09 16:11:04+00:00
this is not quite right. haskell and scheme have if expressions, not if statements. that's not the same as if being a function. if is not, and cannot be, a function in scheme, as it does not have scheme function semantics. specifically, it is not strict, as it does not evaluate all its subexpressions before executing. since haskell is non-strict, if can be implemented as a function, and iirc it is
by masklinn | 2025-07-09 16:11:55+00:00
FWIW POSIX requires that rename(2) be atomic, it's not just ext4, any POSIX FS should work that way.

However this still requires a lockfile because while rename(2) is an atomic store it's not a full CAS, so you can have two processes reading the file concurrently, doing their internal update, writing to a temp file, then rename-ing to the target. There will be no torn version of the reference file, but the process finishing last will cancel out the changes of the other one.

The lockfile can be the "scratch" file as open(O_CREAT | O_EXCL) is also guaranteed to be atomic, however now you need a way to wait for that path to disappear before retrying.
by Kon5ole | 2025-07-09 16:12:18+00:00
>Yeah, but if your intent is to support industry by having cheap energy costs that works out for you

Short-term perhaps, but pretending that something expensive is cheap doesn't really work in the long run.

Investments are supposed to be an initial cost upfront that pays off later. Like building roads, bridges and such. For energy, an investment would be to take the cost of a renewable infrastructure, energy storage, solar roofs and such. Once they are in place they have minimal costs and give extremely cheap and reliable energy (reliable because of the distribution and redundancy).

Nuclear is kind of the opposite, you get the payoff upfront but have to pay an unknown amount basically forever afterwards. This cost eventually catches up to you.

France today is in a manner of speaking still paying for electricity they consumed in the 80s and 90s by bailing out EDF. Yet the common opinion still seems to be that they have "cheap electricity".

I think France has the most expensive energy infrastructure in Europe, and it will sooner or later become impossible to pretend otherwise.
by msgodel | 2025-07-09 16:12:20+00:00
It's a little weird to reply to someone complaining about administrative problems caused by systemd with "generally sysadmins seem to like it."

That kind of response is exactly why everyone gets emotional in these discussions. Technical problems are one thing but when you gaslight people experiencing and reporting legitimate problems you should not be surprised when they get mad and rip your solution out.

GP is being far kinder to the systemd devs than they deserve, I gave up on the project years ago for exactly this reason.
by dhussoe | 2025-07-09 16:12:37+00:00
What do you mean by "deferred" here? I'm a fairly high level IC at a big tech company (high TC), but it's only "deferred" in the sense of more of the TC being in RSUs (over 80%) with less frequent vesting vs. biweekly salary paychecks. But if you leave, you're already forfeiting future vests anyways.
by 999900000999 | 2025-07-09 16:12:39+00:00
I wouldn't make the Apple Developer dance a priority unless you intend to sell a commercial signed version.

Few reasons.

1. It's 100$ a year, which isn't pocket change when it's making you no revenue.

2. Apple likes to randomly deny developer accounts.

3. They have no issue with outright rejecting apps with vague reasoning.

4. Plenty of high quality raw editing apps already exist for OSX.

If someone really wants to use it on OSX you've provided clear instructions.
by ryandrake | 2025-07-09 16:13:12+00:00
I take issue with the idea that I, as an employee, may be "poached". I am not a deer or wild boar, owned by a feudal lord, and protected on his land from hunters. I should be free to have agency and enter into business arrangements with anyone I choose. Just because my company "invested" money into my growth/education/training, doesn't mean they should own me for some period of time while they figure out how to make that investment pay off. Let's stop using this word poached. It's not analogous to an employer/employee relationship.
by ajb | 2025-07-09 16:13:33+00:00
As a small company with relatively low volumes (10,000s) , the only way to work with them is via an OEM who has an existing relationship with a distributor (not with the actual semiconductor company). That means you won't own your PCB design, at least for most OEMs, because they don't make money on the NRE (non recurring expense) so need you to use them for manufacturing to make back their investment.

For larger volumes, ~100,000 you get to talk to a distributor yourself and design your own pcb. You still won't get to talk to anyone at BigSemiCo, but you will get access to datasheets and (probably) drivers. You will have to sign an NDA.

For their largest customers, they go all out. The customer gets significant input into the design roadmap years in advance. They can get cost-reduced versions of existing parts that leave off blocks they aren't using. reference board designs and example software are provided (to the extent that low-margin, enormous volume customers sometimes just change the html logo and ship). If the product needs integrating, Field Engineers will be flown out to assist.

There are some levels between these last two, where they will talk to you but not invest as much.

Take the above numbers with a pinch of salt; it's been a while since I was in that industry
by radicality | 2025-07-09 16:13:43+00:00
Surprised at your issues with HA. Similarly to others that responded, my setup with HA / zigbee2mqtt and >30 zigbee devices (including some ikea buttons) has been pretty rock solid over many years, including easy migrations from an rpi3 -> rpi4 -> rpi5 (with ssd).

Usually when I had some zigbee issue, it was because of a crappy product (eg some wired air sensor that would spam the zigbee network every 1 second with a lot of data), so then I just stop using such devices and before I buy I check compatibility with HA / zigbee2mqtt.
by MisterTea | 2025-07-09 16:14:09+00:00
> China is actually carrying our lazy asses.

Its not laziness, its corruption. The USA has a government that's tainted by moneyed interests who don't want their established gravy train derailed no matter how much it's fucking the entire planets environment. Now add to that, the current administration is too stupid and short sighted to ever incentivize change.
by modeless | 2025-07-09 16:14:17+00:00
There's no doubt in my mind that Silicon Valley's success should be credited in part to California's ban on non-competes. Bad for individual companies, but good for industries.

Just look at Meta's current poaching spree, and previously the founding of Anthropic, SSI, Thinky. Whatever secrets OpenAI has will slowly but inevitably diffuse into other companies. Bad for OpenAI but strongly positive for literally everyone else in the world. It pushes OpenAI to keep innovating rather than rest on their laurels.
by Espressosaurus | 2025-07-09 16:14:20+00:00
High earners get most of their compensation from bonuses, RSUs, etc., none of which will be paid out over the garden leave period.

It means whoever employs you in Florida controls your destiny for the 4 years after you leave.

If you don't see a problem with that I can only assume you hope you'll be the employer and not the employee.
by ethbr1 | 2025-07-09 16:14:47+00:00
Part of MAD is predicated on concern about the thing being destroyed.

There aren't many countries run by dictators these days, but they exist.

I'd be a lot less comfortable in their making rational decisions not to use The Button. (After having moved their wealth and/or person offshore)

Does someone already running their country into the ground for personal enrichment, and vacationing in places {not their country}, really care about their country?
by sim7c00 | 2025-07-09 16:14:54+00:00
is there somethin similar in C++. this is really useful, but most VST etc. afaik get built in c++, i know for example JUCE framework to build em uses c++ so to me that seems a practical language for such a tool

(focussing on the last bit of the article mentioning it can be used in digital instruments / dsp. totally agree!)
by somat | 2025-07-09 16:15:13+00:00
I am from the California desert with family in Florida and 100 degree here is almost nothing, back east it is pure misery. As bonus the dry desert air retains heat poorly so it is always cool at night. The humidity there tends to keep it hot all night.

Now having said that, I do note how much they complain how dry it is here, so perhaps it is what you are used to.
by simonw | 2025-07-09 16:15:33+00:00
They've had an inverted index of all tweets since 2008 (when they acquired Summize).

They added a vector index a year and a half ago for a "see related tweets" feature - https://x.com/elonmusk/status/1720314092269822242 - though as far as I can tell that feature doesn't exist any more, presumably replaced by the ask Grok button.
by theamk | 2025-07-09 16:15:34+00:00
If you want to be unambiguously understood, especially in international context, it seems it's better to avoid words beyond "million" altogether.

"million of millions of dollars" or "ten to the twelfth dollars" or "one tera dollar" or even "one EEE twelve" (for programmers) will always be understood correctly, no matter which part of world listeners are from.
by crystal_revenge | 2025-07-09 16:16:04+00:00
I don’t understand why people seem to be attacking the “non-determinism” of LLMs. First, I think most people are confusing “probabilistic” with “non-deterministic” which have very distinct meanings in CS/ML. Non-deterministic typically entails following multiple paths at once. Consider regex matching with NFAs or even the particular view of a list as a monad. The only case where LLMs are “non-deterministic” is when using sampling algorithms like beam search where multiple paths are considered simultaneously. But most LLM usage being discussed doesn’t involve beam search.

But even if one assumes people mean “probabilistic”, that’s also an odd critique given how probabilistic software has pretty much eaten the world. Most of my career has been building reliable product using probabilistic models.

Finally, there’s nothing inherently probabilistic or non-deterministic about LLM generation, these are properties of the sampler applied. I did quite a lot of LLM benchmarking in recent years and almost always used greedy sampling both for performance (doing things like GSM8K strong benefits from choosing the maximum likely path) and reproducibility. You can absolutely set up LLM tools that have perfectly reproducible results. LLMs have many issues but their probabilistic nature is not one of them.
by twotwotwo | 2025-07-09 16:16:11+00:00
Flash endurance gets a sort of odd amount of discussion on the Internet, and this adds to the small amount of public data from running lots of Flash devices to exhaustion. (MicroSD != SSD, of course, but it's something.)

Seems possible that by charting it, you could find a "bathtub curve" (early failures/steady state/failures due to use) of failures, probably more than one curve breaking up by category--tiny "industrial" cards made for endurance are unsurprisingly surviving the longest, and counterfeits and (some but not all!) unknown brands are at the bottom. It would be interesting to also see the data on cards that haven't failed yet, i.e. how many write cycles they've survived so far.

(You can sort the table at https://www.bahjeez.com/the-great-microsd-card-survey/all-mi... by cycles until first error to see what I mean. Love the Bart Simpson card coming in at #8.)

One thing the reported averages already show, which is more about reliability stats in general than about Flash, is that the average write cycles survived is way higher than, say, the cycle count after which you'd see 5% of devices fail. The lower "n% will fail" number might be what informs the TBW spec on the box. So if you're able to handle failures gracefully and run drives 'til they drop, that probably adds substantially to how long you can run each device.
Show HN: Mini J Interpreter in Rust, vibe coded
by alasarmas | 2025-07-09 16:16:25+00:00
I did this entire project on my phone, using the Replit app and the github web interface. This should be pretty close to the functionality of the J incunabulum:

https://www.jsoftware.com/ioj/iojATW.htm

I ended up telling the agent to use Rust, partially because I thought that JavaScript / TypeScript was its comfort zone and I didn’t want to have it pulling in a bunch of stuff I didn’t understand, and partially because I’ve heard that LLMs are pretty bad at Rust and I wanted to see if it could actually do it.

I don’t know Rust too well, so I can’t judge the code, but my suspicion is that it’s quite bad. I’d be interested to hear that confirmed.
by jauntywundrkind | 2025-07-09 16:16:37+00:00
The lamp+speaker is interesting. Wish it had usb-c for power, and or wireless charging.

A pity there's no home standards for audio streaming. Matter Cast is an abomination, unfortunately: from what I can tell it requires native apps for each device, and there's not really an app store system, and indeed seemingly many devices only can stream via the pre-installed software!!

Really emphasizes the incredible power of Netflix's DIAL protocol, which tells a device to go to a URL & opens some command channels. Which is, if you squint, what Chromecast 's protocol was for a long long time (now I think there's also the ability to ship native apps to devices too?).

Really glad to see Ikea on board here. This creates a lot of pressure for other devices makers to modernize & use the much improved Matter stack, with much better network performance & much more standardization for Apple Google & potentially other control fabrics to make viable home systems, something Z-wave and Zigbee weren't positioned to make great progress on.
by nlpnerd | 2025-07-09 16:17:36+00:00
Common failure mode is people. Most processes eventually fail when people start to slack on the little things, then the big things. Every part of knowledge management is tedious from capturing things to keeping them organized and discoverable. For any large organizations, there are a ton of knowledge that will remain tribal despite best efforts.

This is why knowledge management is such a popular use for POCs involving LLMs, and ironically also why POCs don't progress into something more permanent
by dmix | 2025-07-09 16:17:43+00:00
You didn't read the article then

> Ms. Yaccarino had discussed her plans to leave with X employees earlier this week, before the incident with Grok, two people familiar with the matter said. xAI is largely separate from X, but Grok’s responses are often widely cited — and criticized — across the platform.

Not everything is about the current news cycle.
by IIsi50MHz | 2025-07-09 16:17:43+00:00
Laws are not the only existing influences. Even if you mean to include other social constructs, those are still not the only extant influences.

Based on my understanding, Genghis Khan was himself a lawful force…just not the same laws as other groups. I believe this followed the usual pattern of human history: in-group gets favourable laws, while out-groups get their own laws ignored whilst unfavourable laws are pressed upon them.

Perhaps you meant the natural human capacity for violence? If so, it is a non-sequitur to suggest that only laws provide an evolutionary pressure against this.
by jermberj | 2025-07-09 16:18:25+00:00
If I had to guess, they're probably referring to the way that certain devices broadcast their APIs to external services. A lot of them have no intention of allowing open access to APIs (e.g., my mini-split controller requires a slight hack to get it connected to HA).

That is, the flakiness isn't due to HA updates breaking connections or an unstable server, but rather manufacturers designing closed and/or brittle systems. Try as they might, the HA authors and surrounding community can only do so much for such devices.

Also, I believe the word you're looking for is 'wary' (as in, to be skeptical or suspicious), not 'weary' (as in, to be tired). :)
by 9rx | 2025-07-09 16:19:06+00:00
> It is being sold to businesses, that they don't have to manage a server.

Do you mean a... computer? Server is a software term. It is a process that listens for network requests.

At least since CGI went out of fashion, embedding a server right in your application has been the style. Serverless sees a return to the application being less a server, pushing the networking bits somewhere else. Modern solutions may not use CGI specifically, but the idea is the same.

If you did mistakenly type "server" when you really meant "computer", PaaS offerings already removed the need for businesses to manage computers long before serverless came around. "Serverless" appeared specifically in reference to the CGI-style execution model, it being the literal description of what it is.
by zamadatix | 2025-07-09 16:19:21+00:00
The same reasons it would on macOS or Windows, most people just aren't writing software which needs to worry about having a single process running many hundreds of threads across 8 sockets efficiently so it's fine to not be NUMA aware. It's not that it won't run at all, a multi-socket system is still a superset of a single socket system, just it will run much more poorly than it could in such scenarios.

The only difference with Windows is a single processor group cannot contain more than 64 cores. This is why 7-Zip needed to add processor group support - even though a 96 core Threadripper represents as a single NUMA node the software has to request assignment to 2x48 processor groups, the same as if it were 2 NUMA nodes with 48 cores each, because of the KAFFINITY limitation.

Examples of common NUMA aware Linux applications are SAP Hana and Oracle RDBMS. On multi-socket systems it can often be helpful to run postgres and such via https://linux.die.net/man/8/numactl too, even if you're not quite the scale you need full NUMA awareness in the DB. You generally also want hypervisors to pass the correct NUMA topologies to guests as well. E.g. if you have a KVM guest with 80 cores assigned on a 2x64 Epyc host setup then you want to set the guest topology to something like 2x40 cores or it'll run like crap because the guest is sees it can schedule one way but reality is another.
by rajaravivarma_r | 2025-07-09 16:19:44+00:00
I'm wondering the same, but honestly I have a soft corner for the old way of doing things as well, and I think it stems from it.

The performance numbers seem to show how bad it is in real world.

For testing I converted the CGI script into a FastAPI script and benchmarked it on my MacBookPro M3. I'm getting super impressive performance numbers,

Read ``` Statistics Avg Stdev Max Reqs/sec 2019.54 1021.75 10578.27 Latency 123.45ms 173.88ms 1.95s HTTP codes: 1xx - 0, 2xx - 30488, 3xx - 0, 4xx - 0, 5xx - 0 others - 0 Throughput: 30.29MB/s ``` Write (shown in the graph of the OP) ``` Statistics Avg Stdev Max Reqs/sec 931.72 340.79 3654.80 Latency 267.53ms 443.02ms 2.02s HTTP codes: 1xx - 0, 2xx - 0, 3xx - 13441, 4xx - 0, 5xx - 215 others - 572 Errors: timeout - 572 Throughput: 270.54KB/s ```

At this point, the contention might be the single SQL database. Throwing a beefy server like in the original post would increase the read performance numbers pretty significantly, but wouldn't do much on the write path.

I'm also thinking that at this age, one needs to go out of their way to do something with CGI. All macro, micro web frameworks comes with a HTTP server and there are plenty of options. I wouldn't do this for anything apart from fun.

FastAPI-guestbook.py https://gist.github.com/rajaravivarma-r/afc81344873791cb52f3...
by virtualritz | 2025-07-09 16:19:55+00:00
Parent was not talking about highlight reconstruction.

DT has a highlight reconstruction module too but RTs was superior every time I tried.

They're talking about the Filmic module which is a fancy exposure adjustment curve. I ported it to Rust for use in our internal 2D compositing renderer (not open, unfortunately). That's when I got to appreciate the work done there, really.

The gainforge crate has another port, although not with all parameters of the original algorithm, AFAIR.

The algorithm is explained in a blog post by the author of the module. [1]

Who is btw. the same guy that got fed up with DT dev and forked it to Ansel.

[1] https://eng.aurelienpierre.com/2018/11/filmic-darktable-and-...
by Bender | 2025-07-09 16:20:04+00:00
7-zip is the de-facto tool on Windows and has been for a long time.

Agreed. The only thing I think it has been missing is PAR support. I think they should consider incorporating one of the par2cmdline forks and porting that code to Windows as well so that it has recovery options similar to WinRAR. It's not used by everyone but that should deprecate any use cases for WinRAR in my opinion.
by threetonesun | 2025-07-09 16:20:45+00:00
Well sure if you give up on moderation, and close the platform to people who aren't signed in, and shut off the API then yes you didn't need the people supporting those parts of the platform.

And I guess if you consider "the place with the MechaHitler AI" as good branding there's no arguing with you that it's doing just as well as Twitter.
by kenmacd | 2025-07-09 16:21:02+00:00
I've done everything using old Particle Xenon boards (nrf52840 microcontroller) and didn't encounter anything 'user hostile'. Originally I had all the 'hub' stuff on one of the boards too, but the newer recommended way is to have the board be the 'radio' and to use a normal computer for the routing.

The matter network is just an IPv6 network, so I run coap server on my matter devices and then control them with command like 'coap-client -m post coap://[<ipv6 addr>]/open_button'.