MurphyA/hacker-news huggingface dataset:
by vbezhenar | 2025-04-01 11:21:49+00:00
I'm slowly configuring my new VPS. Here's approach I'm taking:

1. RHEL 9 with Developer Subscription. Installed dnf-automatic, set `reboot = when-changed`, so it's zero effort to reliably apply all updates with daily reboots. One or two minutes of downtime, not a big deal.

2. For services: podman with quadlets. It's RH-flavoured replacement for docker-compose. Not sure, if I like it, but I guess that's the "future", so I'm embracing it. Every service is a custom-built image with common parent to reduce space waste (by reusing base OS layer).

So far I want to run static http (nginx), vaultwarden, postfix and some webmail. May be more in the future.

This setup wastes a lot of disk space for image data, so expect to order few more gigabytes of disk to pay for modern tech.
by scyzoryk_xyz | 2025-04-01 11:22:37+00:00
This. “the medium is the message” Marshall McLuhan.

The actual content is invariably a result of the infrastructure behind it. And it’s not just the image, it’s also what kind of scripts are written, what kind of audience insights are passed on to creative producers, what kind of creative teams are selected.

Is it proving short-sighted? If you’re optimizing for cinematic art, then yeah. But they’re optimizing for subscriptions and global reach. That vertical will likely move to live-streaming, sports and other forms that retain subscribers. And on multiple global markets at the same time (not just U.S.)

It’s a weird vertical, they’re quite sophisticated in their approach, but it’s surprising how they sometimes contract entire chunks out. I’ve read academic papers talking about how Netflix is a very strange disjointed thing.
by pjmlp | 2025-04-01 11:24:13+00:00
As many of us point out, even those that actually apreciate C++ despite its warts, safety culture or lack thereof.

Which I think it was much better back when it was C++ vs C in the C++ARM days, with great compiler provided frameworks, eventually past C++98 there seems to have been an inversion, as C++ graduality took over domains where C ruled.

The same mideset that will reach out for unsafe language constructs, regardless of the programming language, without any kind of profiler information, because of course it is faster and every μs counts.
Show HN: Spot the AI
by bmaximuml | 2025-04-01 11:24:52+00:00
Hi folks, I've put together a little site which matches you up, and invites you to guess which of your chat partners is an AI.

Claude did most of the work, this was my first attempt at vibe coding.

Source is here: https://gitlab.com/bmaximuml-os/p082_spot_ai
by nodesocket | 2025-04-01 11:26:18+00:00
I run a few PostgreSQL instances in containers (Kubernetes via Bitnami Helm chart). I know running stateful databases is generally not best practice but for development/homelab and tinkering works great.

Bitnami PostgreSQL Helm chart - https://github.com/bitnami/charts/tree/main/bitnami/postgres...
by cbm-vic-20 | 2025-04-01 11:26:42+00:00
I've seen this happen many times:

Dev: Hey, I added that screen you asked for- take a look and tell me what you think- any layout changes, wording, etc.

PM: Looks great! Okay, the next thing is...

Dev: Hold on! I need to go back and clean up some of the code I put in there to test a few ideas, and there's a loop in there that has some side effects if some if the timing is off.

PM: This looks fine. Let's move on to the next thing..
by Bud | 2025-04-01 11:27:59+00:00
Basically none of this is true. The wild card system has resulted in an NFL where well over half the league has playoff hopes very deep into the season. It's completely false that "by about the 4th week of the season", the league has bifurcated. Simply not even close to being true.

The NFL has also been extremely successful in leveling the playing field via salary cap and draft, such that franchises beset by woe can become title contenders within a single year. The most recent of many, many examples is the Washington Commanders. Detroit came before that.

And no, the playoffs are not "already set" before the last 3 weeks. This is completely inaccurate, as anyone who watches the NFL and reads about the near-infinite playoff scenarios at the close of every season already knows.

And lastly, only a Brit with no understanding of the economics of American football would even propose that relegation could work in this sport. It can't. The sport costs far too much for that and any such "relegated" teams would instantly collapse financially. NFL rosters contain 53 players with a practice squad of 17 and gigantic support staffs which absolutely could not survive without the full levels of NFL TV contract funding, stadium revenues, and other financial flows that full NFL membership provides.

And lastly, anyone who is paying any attention to the NFL draft over time knows that there is no issue with colleges producing pro-ready players.
by lukasego | 2025-04-01 11:29:16+00:00
To add, there is the important distinction to be made between RLHF (Reinforcement Learning with Human Feedback) and RL. DPO is a simpler and more efficient way to do RLHF. In its current iteration, Augento does RL (using the term coined by OpenAI: Reinforcement Fine-tuning) which improves model performance on domains where there exists a verification function for the answer that you can use for scoring, rather than a preferred answer such as DPO needs. But as said, such preference mode is on the roadmap.
by xxs | 2025-04-01 11:29:40+00:00
>add them to hashCode and equals (or worse, hashCode OR equals)

That's a fundamental misunderstanding of hashCode, and lombok makes no exception. Not all fields need to be used to calculate hashCode, it makes the overall performance worse in most cases. Equals is of course different, however if you have an identity (i.e. database primary key), only the identity should be used.
by johnnyanmac | 2025-04-01 11:31:06+00:00
The part where you said

>Third-party publishers "cannot rely on the ATT framework to comply with their legal obligation

Yeah, as apple loves to do, rules for thee but not for me.

>France are just mad that their small advertisers have to ask for permission again

Because Apple's isn't good enough, but in apple fashion you must use it (but they dont). Yeah, anti-competitive.
by whstl | 2025-04-01 11:31:13+00:00
I understand your answer is in good faith, but it still sounds like the same generic answer given when someone questions the engineering quality of any other popular product or service.

The fact is that plenty of teams are mature and professional and yet most software still suffers from bloat, slowness, bugs. Why would React be different?

Preact, for comparison, is only 5kb or so, and has almost 1:1 feature parity. It's not fully drop-in without the compat, and even experienced React devs can nitpick about it, but that's not the point: the mere fact that it exists and gets the job done is enough to raise doubts about the need for React to be quite big.

Does React need to lose weight? Maybe, maybe not. But I don't think it's good to shut down those discussions.
by aktau | 2025-04-01 11:31:22+00:00
Side note: see https://tip.golang.org/doc/gc-guide for more on how the Go GC works and what triggers it.

GC frequency is directly driven by allocation rate (in terms of bytes) and live heap size. Some examples:

- If you halve the allocation rate, you halve the GC frequency. - If you double the live heap size, you halve the GC frequency (barring changes away from the default `GOGC=100`).

> ...but if you look at pprof of a Go app, GC mark phase is what takes time, not GC sweep.

It is true that sweeping is a lot cheaper than marking, which makes your next statement:

> Short lived allocations, those which GC mark phase will never reach, has almost neglible effect on GC times.

...technically correct. Usually, this is the best kind of correct, but it omits two important considerations:

- If you generate a ton of short-lived allocations instead of keeping them around, the GC will trigger more frequently. - If you reduce the live heap size (by not keeping anything around), the GC will trigger more frequently.

So now you have cheaper GC cycles, but many more of them. On top of that, you have vastly increased allocation costs.

It is not a priori clear to me this is a win. In my experience, it isn't.
by lytedev | 2025-04-01 11:32:26+00:00
I self-host Postgres at home and am probably screwing it up! I do at least have daily backups, but tuning is something I have given very little thought to. At home, traffic doesn't cause much load.

I'm curious as to what issues you might be alluding to!

Nix (and I recently adopted deploy-rs to ensure I keep SSH access across upgrades for rolling back or other troubleshooting) makes experimenting really just a breeze! Rolling back to a working environment becomes trivial, which frees you up to just try stuff. Plus things are reproducible so you can try something with a different set of machines before going to "prod" if you want.
by 0xEF | 2025-04-01 11:33:18+00:00
Great film, but bad scene, honestly. The arguments it makes are intended to make Mr Pink look like the pseudo-intellectual a-hole of the group, rather than be the social commentary on capitalism, labor relations and whose responsibility employee compensation actually is or should be, which is at the crux of any good discussion about the appropriateness of tipping.

I guess what I am getting at with my other comments is that we do not have a clear understanding of said appropriateness, and thus, we, the consumer, along side the food service worker, are generally taken advantage of by the companies that perpetuate the idea while said companies are off the hook for labor costs.

Now, before someone (if anyone is still following this thread) chimes in with "but if the restaurants pay the bartenders/servers a full wage, the food and drinks would be way more expensive!" I am here to tell you "travel more." I have been to many other countries where tipping is not at all a thing, and the food costs about the same as it does in the US.

When you walk into a restaurant in the US, you're getting ripped off. The dish you just paid $16US for cost them about $3 to make, including wage. It's not like the cooks are prepping one dish at a time, or the servers are only taking one table at a time...not to mention most restaurants in the US are using frozen, prepared ingredients that they are really just heating up or re-hydrating. Overhead costs like electricity and rent? A drop in the bucket compared to what small businesses have to deal with. The staff is making bare-minimum wages as it is while the parent companies and investors are making bank. That money from your $16US meal goes up, but very little of it actually comes back down.

Tipping exists because greed at the top exists and its unfair to both food service workers and the customers, but we've been at it so long that it's been normalized. And now it's spreading to other industries, like retail and online sales.
by vanderZwan | 2025-04-01 11:33:29+00:00
The new wording is much more nuanced, appreciated! Also the fact that you link to the actual code that broke down, making it possible to verify the claim. Less ammunition for the people who actually are skeptical of the project instead of just nitpicky like me ;)

Speaking of the code in question, it looks pretty sensible - there's a bit of low-hanging fruit where one could avoid creating redundant arrays by turning chained calls to map and filter into one for-loop and such, but that's about it.

What confuses me is that there's no point in the code where I see any recursion, here or in the other JS files that seem relevant, so how does one end up with a call stack overflow?

(not questioning that it crashed for you, it's just that I don't see any obvious flaws in the implementation, so I'm curious to lean what the "gotcha" is in case I ever bump into something like it myself)
Show HN: I built a lead qualification tool to kill bad leads – LeadKill
by mikkotikkanen | 2025-04-01 11:33:42+00:00
Hey, hey, hey HN!

I built a lead qualification tool called LeadKill, and would love your feedback.

This started as a quick prototype to solve a real-world problem: I had a bunch of potential leads and almost zero information about them. Naturally, I started qualifying them with AI (as one does), but managing that process and information across threads quickly became a pain in the a*s.

So I built a prototype to simplify the process — and it worked well enough that I decided to build it out into something more structured, because why not? It’s still pretty rough around the edges, but I’d rather share it early and get feedback than spend weeks polishing something that should be... well, killed.

No signup is required for basic use — just try it out. If you do sign up, you get a limited number of high-fidelity requests to really kick the tires (since, sadly, AI isn’t free).

Would appreciate ideas, thoughts, or even brutal honesty.
by candiddevmike | 2025-04-01 11:34:00+00:00
If any self hosters are burnt out by the state of config management tools and YAML, consider giving Etcha a shot (https://etcha.dev).

It's stateful (cleans up things when they're no longer in your config), procedural (you control the flow and can trigger things as needed), and supports flexible deployment models (push or pull). Full disclosure, I created it and use it across my business and personal devices.
by unchar1 | 2025-04-01 11:34:17+00:00
From the link [3] you posted,

> If you're rabidly anti-TypeScript and think that us doing this vindicates your position, I'm about to disappoint you.

Rich and the rest of the Svelte team are still using typscript, just through JSDoc + type definition files.

In contrast the Nue team seems to want to keep the view layer untyped.

From the parent comment

> real static typing (like Rust or Go) shines in business logic where it counts

it seems they don't consider typescript to be "real" static typing.
by PeterStuer | 2025-04-01 11:34:52+00:00
"It just shows that no one really understood what they wanted."

Then what were the literally room full of formal process and spec documents, meeting reports and formal agreements (near 100.000 pages) by the analysts on either side for? And how did those not 'solve' the understanding problem?

When I go to the garage to have my car serviced, I expect them to understand it way better than I do. When I go to a nice restaurant I expect the cooks to prepare me dishes that taste greater than me writing them out a step-by-step recipe for them to follow. If I hire a senior consultant in even my own domain, I expect them to not just know my niche, but bring tacit knowledge from having worked on these types of solutions across my industry.

Expecting somebody to understand something better than me is exactly the reason why I hire senior people in the first place.
by hoseyor | 2025-04-01 11:35:26+00:00
Rather ironic, considering that it’s a flag to indicate personal union of ownership of subjects and lands by the Scottish king who inherited the subjects and lands of England, but you prefer it to be the icon for the language of the state of England, a country in which its own language is more or less indecipherable in many places due to accents, dialects, and degeneration and creolization.

You would be far more likely to understand any given English speaking person in the USA than in England. It should really be called American at this point.
by Wumpnot | 2025-04-01 11:35:49+00:00
1. who says it hasn't? 2. most of the vul code is C, which is obviously much harder to harden, and the Rust Evangelism Strike Force loves to pretend that C++ is the same as C, so no matter the improvements to C++, they will just point at C. 3. I think many simply didn't know about these hardening modes, MSVC has had this for 10-15 years, but I still encounter people who don't know about it..somehow.
by diggan | 2025-04-01 11:36:29+00:00
> Find a more niche subreddit like /r/<city_name>running

Maybe that works in the US, since half of all reddit users seem to be from there, and for very general topics like running.

But for discussing local LLMs, you have just about one place to chose between, and if the moderators somehow are silencing discussions there, there doesn't seem to be much you can do about it.
by brulard | 2025-04-01 11:36:45+00:00
Depends on your needs. For some Raspberry Pi (ideally with 8-16GB RAM) + SSD can be enough if you are after low power consumption.

If you need more power: I had success with HP ProDesk Mini (or any other one-litre PC), you can get these second hand from like $150 and extend RAM and SSDs however you like. You can even pick processor / generation to fit your needs best. These can have consumption from like 30W if I'm not mistaken.

I have no experience with real and expensive server hardware, but most people don't need that for a homelab.
by damnitbuilds | 2025-04-01 11:38:13+00:00
You could have tried googling "guardian manhate" yourself?

https://www.theguardian.com/commentisfree/2006/nov/02/whyiha...

https://www.theguardian.com/world/2020/sep/10/french-writer-...

https://www.quora.com/Why-is-The-Guardian-so-increasingly-mi...
by c-c-c-c-c | 2025-04-01 11:38:54+00:00
ALGOL68 has much of the memorysafety that rust "invents" yet remains largely unmentioned in the discussion. There is a point to be had in terms of language design but rust has the community backing and momentum required, time will tell if ALGOL-FOR-LINUX will gather enough interest to pull this off.
by fidotron | 2025-04-01 11:40:19+00:00
Netflix get away with it because they own the result at the end of the process. If you were to suggest these workflows to other studios they'd balk at the idea of having the raw stuff being uploaded to the cloud etc. If they tried selling this as a solution do we think people outside Netflix would buy and use it?

One of the people I worked with that is now at Netflix on this stuff was so violently opposed to not owning his own in office render farm and drive array it verged on ridiculous.
by SebastianKra | 2025-04-01 11:40:34+00:00
I dislike the disingenuous discussion around it.

Last time this was posted, the author called out headlessui for being too complex, and presented a half-broken, non-accessible Select component as alternative.

Digging around the code, I found questionable decisions such as throwing away the entire dom when re-rendering a list.

I want framework authors to be clear about the tradeoffs they make. The Svelte and HTMX devs openly discuss the weaknesses of their solutions vs industry standards and are open about previous mistakes.
by hoseyor | 2025-04-01 11:41:05+00:00
You didn’t even read the most basic settings that clearly say “click and drag interface” or something similar. But I still agree, tapping/clicking should work in sequential order eventually (it’s not as easy to implement).

Re, looping; there are controls to turn it off. You aren’t paying attention one bit. If you’re going to say things, at least be diligent in the things you are going to address.
by andy89 | 2025-04-01 11:41:06+00:00
Great post on deploying static sites to Azure CDN with GitHub Actions OIDC! For anyone looking to test and debug their OIDC implementations, I highly recommend trying out https://oidc-tester.compile7.org/.

It’s a developer-friendly tool designed to help you quickly identify and resolve issues with your OIDC setup. Give it a try and let me know what you think!
by jeffhuys | 2025-04-01 11:41:36+00:00
I'm sitting here for a few years already, happily using Safari as my main driver. Recently switched to Orion to get Safari + Chrome/FF plugins. Best combination.

Easy on the battery, freaking fast, low ram usage, and plugin support (ALSO on iOS, yes, uBlock on iOS). Screw firefox, screw chrome.

Yes, I also dev on Orion. The dev tools are fine.
by FinnLobsien | 2025-04-01 11:41:52+00:00
Hasn't this always been true? He makes the the point that curiosity, initiative etc. irrespective of your skills will thrive in the future.

Which I think it always has? It's always been the case that the most successful you either do that or hyperspecialize in something niche to become top 0.x% at it.

I think AI means that "pretty good at [skill]" will be less valuable, but the point of the article has always been true imo.
by CharlieDigital | 2025-04-01 11:42:11+00:00
TypeScript is not "real" static typing in the same sense as Go, Rust, C#; the type information disappears the moment you build it.

function fn(x: string) {}

Will happily accept:

fn(2)

At runtime (and thus the need for schema validators like Zod, Valibot, et al because dev-land "static typing" is a façade)

> Rich and the rest of the Svelte team are still using typscript

To be clear, they are not "using" TypeScript, it's more accurate to say they are providing TypeScript bindings.

Their codebase (as in the actual code they are writing) is undoubtedly JS[0] with `.d.ts` bindings for TypeScript[1]. Author can also do the same and provide TS bindings at any point in the future.

[0] https://github.com/sveltejs/svelte/blob/main/packages/svelte...

[1] https://github.com/sveltejs/svelte/blob/main/packages/svelte...
by johnisgood | 2025-04-01 11:42:53+00:00
I see a lot of people mention some technology under this submission that you do not even have to look at when you are self-hosting. It all depends what you want to self-host, from nginx, fcgiwrap (with certbot), to an e-mail server, or a Matrix instance, or Zulip, or what have you these days. I maintain quite many servers and I do not use these new and fancy technologies.

I'm just a boomer (technically a millennial) who sticks to Arch Linux even when it comes to servers, I have zero friction, really. I have no issues self-hosting whatever me or a client requires, keeping it minimal and functional.

I self-host like it is 2000 (apart from a couple of some more modern stuff, if you could consider systemd and certbot, etc. modern). :D
by theGeatZhopa | 2025-04-01 11:43:23+00:00
try it. The problem will be the european Anti-Coercion Instrument (ACI), which then will be activated. I wouldn't risk it, as the instrument gives the EU the tools to completely stop economic trade with countries or entities using economic force. So, meta might be the first to be banned in EU, because its not neccessary for a living. Facebook isn't important. Instagram and Whatsapp are somehow, but patriotic thinking will make it easy to abandon themm, too. That however does not apply to GOOG or MSFT.

Further the new MEGA thinking may force something like "enough. If you want, you can come to EU and build your bases here. No data is to be sent to US. Otherwise, 25% taxes on earnings within the EU and no personalisation of ads any more."

So this might fire backward. As the "general" 25% US tariffs on imports for all that'll start tomorrow's 2nd of April / liberation-day. As this, too, is a coercion, ACI is to be invoked mostlikely. -> puts on nasdaq and S&P500

(https://ec.europa.eu/commission/presscorner/detail/en/ip_23_...)
by dailykoder | 2025-04-01 11:43:54+00:00
I guess it can be comfortable for some people.

But I just wanted to comment something similar. It's probably heavily dependend on how many services you self-host, but I have 6 services on my VPS and they are just simple podman containers that I just run. Some of them automatically, some of them manually. On top of that a very simple nginx configuration (mostly just subdomains with reverse proxy) and that's it. I don't need an extra container for my nginx, I think (or is there a very good security reason? I have "nothing to hide" and/or lose, but still). My lazy brain thinks as long as I keep nginx up to date with my package manager and my certbot running, ill be fine