MurphyA/hacker-news huggingface dataset:
by jampekka | 2025-04-01 11:44:15+00:00
You're right, I should have talked about the Overton window more generally. But public usage of terminology is part of moving/spreading the window. It's quite apparent in the US discourse when very moderate politicians like US mainstream democrats are characterized as "radical left-wing extremists". Granted, there's a lot of hyperbolical "fascists" and "nazis" thrown around from the other side.

I find mainstream left of UK to be quite clearly center left. The current Labour government policy could be characterized even as center right.
Show HN: Prank your friends at work for April Fool's Day
by rylan-talerico | 2025-04-01 11:44:21+00:00
Hi HN,

In my spare time, I’m building Magical.pm, an AI product management co-pilot that generates software requirements from natural language.

A few weeks ago, I was at a writing event here in NYC, and someone joked about adding "Poem mode" to Magical. We thought it would be funny if Magical returned requirements in sonnet form.

When I got home, I realized it would be easy to implement—as simple as modifying the prompts to create alternate voices for the generations.

So, I added the feature, calling it Goofballs. I created three Goofballs (totally obnoxious and fun): – Shakespeare Mode – Gen-Z Mode – Tech Bro Mode

I also added prank links so people can send Magical.pm to a friend in Goofball Mode without the friend knowing.

When the friend generates requirements, they'll be surprised with the selected Goofball Mode, complete with ridiculous fonts.

Figure this could be especially fun on April Fool's Day. Happy pranking!
by lukasego | 2025-04-01 11:44:30+00:00
Thanks for this very lucid post! For many use cases such as coding, formatting, it's very clear for the users how to define the reward function. Fore more intricate ones, you're right in that it can be tricky. I like your ideas of trying to provide tools to help here, and offering recurring reward functions as templates that will only need slight adaptations. It will be the user defining it, but there's a path to simplification. - The operational friction with getting the GPUs, optimizing compute and preparing the training are hard for RL, hence we got these things out of the way. - Thanks for the very thoughtful suggestions and contacting, great input!
by lores | 2025-04-01 11:44:32+00:00
I'm probably older than you, pal, and I'm happy to pay taxes as long as they help make society better. This is a considered, rational, and ethical decision. Just because I'm a highly-paid engineer doesn't mean I work harder or am a more deserving human being than a nurse or a Bangladeshi immigrant working two shifts a day at a fast-food. I'm not so selfless I want to give all my good luck away, but not so selfish I don't want life to be easier for others too, don't want the kids to get a good education, don't want the sick to get treated, don't want interesting art in the streets. I love dystopias, but only in books. I also am not so deluded as to think everything is reducible to money, and that what I achieved did not depend on having a society around me that made it possible.
by bryanrasmussen | 2025-04-01 11:44:34+00:00
The idea of JSX is I think genius.

If I were making a component rendering type library before React I would probably end up making some fake attributes on HTML elements the way Angular and a lot of other people do. It's a pretty simple idea. Pretty much everybody was doing it about the time of Backbone and Angular etc. etc. I'm sure you can think of other examples.

But whoever first came up with JSX said hey, if we're already making non standard HTML why not go all the way, allow you make your own semantic tree that we "render down" to HTML.

This of course allows you in fact separate out the media target - HTML, Native App, PDF, graphics from your renderable representation of that in code, and thus have different renderers for the same declarative way of structuring content.

https://github.com/chentsulin/awesome-react-renderer

So to me JSX is actually a sensible step up in abstraction layer, although not all the way yet, because you still need to have lots of specific knowledge of your particular media rendering target.

This is perhaps of particular interest to me as in about 2004 I was working on a media management system where the idea was you would feed in multiple markup formats, and a configuration for the media, and then use an in house declarative language to dynamically do things in each media, without having to have much understanding of how the media worked internally because our rendering pipeline took care of that - generated pdf, DHTML website (fancy menus), HTML help, and emails - with of course possibility of saving data for reuse in different media and cross media styling (use same company logos, color schemes, email addresses without having to write code for them in each media etc.)

sorry about last part, old programmer wandering.
by madeofpalk | 2025-04-01 11:44:53+00:00
The problem lies with people who are technical enough to self-host, but might not be confident enough to fork/make changes. Maybe you could switch services, but there's still just enough friction/soft-lock in to actually migrate.

You are right though, it gives significantly more control to users. It's just realising 100% of the benefits that might be trickier.
by johnnyanmac | 2025-04-01 11:45:14+00:00
>Apple’s not sharing data with third parties for their internal stuff

Yes, they do.

>Apple does not sell your personal data including as “sale” is defined in Nevada and California. Apple also does not “share” your personal data as that term is defined in California.

From their privacy policy (C. 1/31/2025) It's enough to comply for a definition under a single state in a single country. They make a billion off ads so I'm sure they loophole the heck out of that.
by indigoabstract | 2025-04-01 11:46:22+00:00
And then there is the fact that voice isn't the dominant mode of expression for all people. Some are predominantly visual thinkers, some are analytic and slow to decide, while some prefer to use their hands and so on.

I guess there's just no substitute for someone actually doing the work of figuring out the most appropriate HMI for a given task or situation, be it voice controls, touch screens, physical buttons or something else.
by rayiner | 2025-04-01 11:46:34+00:00
Quite the opposite! Democracy is working in America, whereas it’s in jeopardy in (some parts of) Europe. You’re confusing “democracy” with “liberalism.” Democracy is not about free trade, or protecting immigrants, or the like. It’s about people being able to vote to live in the kind of society they want. If people want to pull back on liberalism in certain areas that’s democratic. What’s undemocratic is saying that “you can vote for anything you want as long as it’s liberalism.”

There’s a reaction throughout the entire west to free trade and immigration. In America, a plurality of voters supported the guy who promised mass deportations and tariffs, and now they’re getting exactly what they voted for. Maybe they won’t like the results, maybe they’ll be thrilled with them. The results will simply inform the next vote. What’s deeply broken are european systems that are trying to maintain liberalism at the expense of democracy.

But not all the european countries. Denmark and Sweden have retrenched on liberalism in the area of immigration—Denmark’s youngest generation is now more Danish than the population as a whole—and have largely solved the political polarization over the issue. That’s democracy working very well.
by mrweasel | 2025-04-01 11:46:42+00:00
It is still my opinion that most businesses do not need Kubernetes, and neither should anyone self-hosting a service at home.

I can see running something in a Docker container, and while I'd advise against containers what ships with EVERYTHING, I'd also advise against using Docker-compose to spin up an ungodly amount of containers for every service.

You shouldn't be running multiple instances of Postgresql, or anything for that matter, at home. Find a service that can be installed using your operating systems package manager and set everything to auto-update.

Whatever you're self-hosting, be it for yourself, family or a few friends, there's absolutely nothing wrong with SQLite, files on disk or using the passwd file as your authentication backend.

If you are self hosting Kubernetes to learn Kubernetes, then by all means go ahead and do so. For actual use, stay away from anything more complex than a Unix around the year 2000.
by hmmm-i-wonder | 2025-04-01 11:47:49+00:00
Opposite advice. Take the best equipment and enjoy the game the most, focus on strategy with the increased options and capabilities.

So much time and frustration wasted with inferior equipment that sucks the life out, or requires a path of practice and mastery most people don't want for hobbies or things they enjoy doing.

If YOU want to use the least helpful tools and make up the difference with knowledge, skill and practice that's OK. To each their own and if you enjoy that then 100%. Just remember some people enjoy things in a lot of different ways.
by gzmihai | 2025-04-01 11:47:55+00:00
I’ve been building Velty[1] over the past year as a tool to tame my ever-growing YouTube subscriptions. It’s a web app (PWA) that lets you organize your YouTube channels and videos into folders (with sub-folders), and view all the latest videos in one chronological feed with powerful filtering/sorting.

I built it because I was frustrated with how hard it was to manage a large number of channel subscriptions using YouTube’s default interface.

https://velty.app
by 2mlWQbCK | 2025-04-01 11:48:30+00:00
I set up two old computers to play some Minecraft with my youngest kid. Unfortunately it turns out recent versions are much slower than old ones. I have not bothered to bisect it to figure out exactly what version(s) killed performance. My weakest old computer can run the latest version with 1-2 fps. It can run 1.12 with at least around 30-40 fps, which is more than enough for me to be able to enjoy the game (being old enough to have grown up in an era when we were happily playing flight sims at 5-10 fps). Anyway it is nice that the launcher makes it possible and easy to go back and play older versions. I much prefer drm-free games, but at least supporting old versions like this is better than 99% of games.
by Youden | 2025-04-01 11:49:47+00:00
I've been through just about everything to get where I am and I've ended up with Hashicorp Nomad and Consul with Traefik, managed by OpenTofu (open-source Terraform).

Things that haven't worked for me:

- Standalone Docker: Doesn't work great on its own. Containers often need to be recreated to modify immutable properties, like the specific image the container is running. To recreate the container, you need to store some state about how it _should_ work elsewhere.

- Quadlet: Too hard to manage clusters of services. Podman has subtle differences to Docker that occasionally cause problems and really tempting features (e.g. rootless) that cause more problems if you try to use them.

- Kubernetes: Waaaay too heavy. Even the "lightweight" distributions like k3s, k0s etc. embed large components of the official distribution, which are still heavy. Part of the embedded metric server for example periodically enumerates every single open file handle in every container. This leads to huge CPU spikes for a feature I don't care about.

With my setup now, I can more or less copy-paste a template into a new file, tweak some strings and have a HTTPS-enabled service available at https://thing.mydomain.mine. This works pretty painlessly even for services that need several volumes to maintain state or need several containers that work together.
by Draiken | 2025-04-01 11:50:01+00:00
This leads to what we have today: insane levels of wealth inequality.

Everyone that inherits fortunes from their parents get to live life on easy mode while every one else is poorer, with less assets and barring winning a lottery ticket, no way to ever catch up. Wealth creates a feedback loop that if gone unchecked will hoard all assets from everyone else.

We can't have both meritocracy and inheritance as they are mutually exclusive. If we want to keep telling people there's any modicum of truth to meritocracy, we have to stop all this inheritance bullshit. The particulars of it can be discussed with caps based on amounts, for example, but that's not the point.

There's a reason that most wealthy people from the past are still wealthy today and I can guarantee you it's not through their own merit.

Tax wealth, not work. There should be no billionaires.
by raxxorraxor | 2025-04-01 11:50:11+00:00
That is the usual degradation of freedom of speech and not at all different from other cases before.

Some opinions hurt many sensibilities and the result is lacking support for most essential freedoms. This justification might seem more relevant to you, but with perspective it is the same reason others used to prohibit speech.

> When a person asserts that we need to protect speech which is intended to mislead, isn't it natural to be suspicious?

There is enough literature here to really weight this argument and the sad result is that you often defend the speech of scoundrels but it still is the better result.

Some people say it is natural to dislike different skin colors. The logic of your argument would generally be seen as short sighted and it certainly is in regards to freedom of speech. Again, a bit of literature exposure helps.
by surgical_fire | 2025-04-01 11:50:29+00:00
> If you entrust judges and lawyers to decide "when rules are broken" by elected officials, you give them power over those officials, and over voters.

What you are describing is the judiciary in any functioning democracy. Separation of powers requires an independent judiciary system.

They have to be unelected, so they keep their independence when evaluating if the laws are being applied according to the written law.

> Now that's okay to a degree, but the question is: where does the buck stop?

With proper separation of powers and an independent justice system, like the one that judged Le Pen and found her guilty.
by somethingsome | 2025-04-01 11:50:33+00:00
Thank-you! It's a long time that I have a similar idea and I'm interested in developing it, but never found the time to dig deeper, with those references I will jump start in the subject and refine.

It's nice to know I'm not the only one thinking about that.

The trick for me is that it's a path in a graph for each student, so even if some component is not as strong for one student, he can fill the gap by taking another route. A good framework would be resilient if it finds many possible paths to reach the same result, and not forcing one path. But then, teaching in this way is more difficult.
by jeffhuys | 2025-04-01 11:50:36+00:00
If it has value to them, what do you care? Does the value in your mind of <artpiece> drop when somebody creates <artpiece 2 in the style of artpiece>? If so, you might benefit from focussing more on your own life. I mean this lovingly, as I myself am going through the same thing right now; I realize I'll never be happy if I stay grumpy like this. You can't protect the world from itself.
by nosianu | 2025-04-01 11:50:37+00:00
It still has to tell you. Visually in a form it's much faster. Similar reason why many people prefer a blog post over a video.

Talking is not very efficient, and it's serial in fixed time. With something visual you can look at whatever you want whenever you want, at your own (irregular) pace.

You will also be able to make changes much faster. You can go to the target form element right away, and you get immediate feedback from the GUI (or from a physical control that you moved - e.g. in cars). If it's talk, you need to wait to have it said back to you - same reason as why important communication in flight control or military is always read back. Even humans misunderstand. You can't just talk-and-forget unless you accept errors.

You would need some true intelligence for just some brief spoken requests to work well enough. A (human) butler worked fine for such cases, but even then only the best made it into such high-level service positions, because it required real intelligence to know what your lord needed and wanted, and lots of time with them to gain that experience.
by codingdave | 2025-04-01 11:50:46+00:00
I disagree - the best designers absolutely put their designs in front of people, and get feedback. If they get 5 different answers, they can make their own decisions, but more often they will see common trends in those 5 answers, which enables action.

Whether this tool is good for review is hard to say. It is just a landing page collecting reviewers, with zero information on what the critiques will look like or who will be doing them. But that doesn't invalidate the concept of a platform to get reviews.
by _aavaa_ | 2025-04-01 11:50:48+00:00
I disagree. I don’t care about a “marathon” I just need to cover 42.2k. If you wanna make a game out of it and run that distance that’s fine, but I have errands to do and just need to cover the distance.

If you wanna draw for the feeling of creative satisfaction that’s great. I just need an image on a page in service of something else.
Show HN: A Chrome extension to give you back control over short-form videos
by darajava | 2025-04-01 11:51:08+00:00
Hi HN! I built this little extension to prevent, in my opinion, the most offensive anti-pattern used by tech companies. That is removing the seek bar in short-form videos.

The "seek bar" is the bar at the bottom of a video that progresses as you play the video, and that you can click on or drag to skip around. Why companies ever thought it was a good idea to get rid of this I don't know, but I find it infuriating, so I decided to add it back for myself and thought others might like it too.

ReelControl adds a progress bar and seeking capabilities to videos on Instagram, YouTube Shorts, and Facebook Reels.

I do sometimes enjoy watching short-form content and I've found that with this extension enabled I can be more mindful about it and get sucked in way less. I'm also on my phone less because I tend to favor the web versions of these platforms now.

Open source--PRs and issues welcome! https://github.com/darajava/seek-anywhere/
by PhilippGille | 2025-04-01 11:51:12+00:00
It depends on the use case.

From the Godoc:

> The Map type is optimized for two common use cases: (1) when the entry for a given key is only ever written once but read many times, as in caches that only grow, or (2) when multiple goroutines read, write, and overwrite entries for disjoint sets of keys. In these two cases, use of a Map may significantly reduce lock contention compared to a Go map paired with a separate Mutex or RWMutex.

Source: https://pkg.go.dev/sync#Map

And regarding slow writes, those were recently improved in Go 1.24:

> The implementation of sync.Map has been changed, improving performance, particularly for map modifications. For instance, modifications of disjoint sets of keys are much less likely to contend on larger maps, and there is no longer any ramp-up time required to achieve low-contention loads from the map.

Source: https://go.dev/doc/go1.24#minor_library_changes ("sync" section)
by 0xEF | 2025-04-01 11:51:13+00:00
I love the idea of self-hosting, especially since I keep a number of very tiny websites/projects going at any given time, so resources would not really be too much of an issue for me.

What stops me is security. I simply do not know enough about securing a self-hosted site on real hardware in my home and despite actively continuing to learn, it seems like the more I learn about it, the more questions I have. My identity is fairly public at this point, so if I say the wrong thing to the wrong person on HN or whatever, do I need to worry about someone much smarter than me setting up camp on my home network and ruining my life? That may sound really stupid to many of you, but this is the type of anxiety that stops the under-informed from trying stuff like this and turning to services like Akamai/Linode or DO that make things fairly painless in terms of setup, monitoring and protection.

That said, I'm 110% open to reading/watching any resources people have that help teach newbies how to protect their assets when self-hosting.
by unchar1 | 2025-04-01 11:51:24+00:00
Nue seems to be in an odd space. It's an untyped framework, built on top of "web standards".

But if you wanted web standards + web component, Lit already fills that space. If you want untyped JS or little/no JS at all, there's HTMX. Or if you're just tired of React, and want something faster + simpler, there's Svelte/Solid.

I'm not sure what problem Nue is uniquely solving.
by theGeatZhopa | 2025-04-01 11:51:48+00:00
can I live naked and have a dog friend, some sheeps, cows and chickens, a small garden with vegitables and some fruits? .. and may be some h*kers I won't pay once, twice a week?? Then, I may think about the rawness and cruelty of seal killings. Otherwise, do you also have something in Hollywood without killings? Or SF?
by StopDisinfo910 | 2025-04-01 11:52:40+00:00
All of this is highly debatable obviously and I’m not an oracle but find after my replies to your point.

> He led and won the EU elections by a wide margin.

Can’t be compared to the presidential. EU elections turnout is always extremely low and this is seen as a protest election in France with low impact.

Next year municipal will be the true test and the RN does poorly in polls.

> 3) This is a new world and Bardella is very good at campaigning on social media and has a very good reach with young people.

Young people don’t vote. Turnout is always extremely low. It’s a fairly useless demographic when it comes to winning the election.

> 4) The RN is pretty much leading in all social categories except for retired people

But they still lose in virtually all head-to-head and it’s a two rounds election.

> 5) Marine Le Pen being sidelined is actually a blessing in disguise.

The party is still controlled by the Le Pen through and through however. Heck Bardella is only there because he dated (is dating?) one of Le Pen’s grand daughter.

> 6) TINA (There is no alternative)

There are plenty of alternatives.

You have well liked figures of the center like Villepin and Phillipe biding their time waiting to see which one will be candidate.

The PS will probably soon have new leadership which should shake up the landscape on the left.

The right by taking a hard line approach is eroding the RN base.

Plus there will likely be three or four other far right candidates like last time.

It’s a huge mistake to think things will remain stable so far ahead of the election. See Macron was basically unknown three years before winning.

> I don't agree with the staying silent part.

I don’t see how you can disagree. RN controls nearly a third of the parliament. Do you see them acting as a vocal opposition? Clearly they are not. They have next to zero opinion on anything significant and avoided at all costs putting forward a prime minister.

What you are listing is not really being vocal. That’s selling dreams. Anyone can promise better salaries and less criminality without pushing forth anyway to achieve that. That’s the whole point.
by arnorhs | 2025-04-01 11:53:04+00:00
I'm not a huge fan of using CustomEvent for this.. esp. in terms of interoperability (which for these <kb challenges probably doesnt matter)

personally, i'll just roll with something like this which also is typed etc:

export function createPubSub<T extends readonly any[]>() { const l = new Set<(...args: T) => void>() return { pub: (...args: T) => l.forEach((f) => f(...args)), sub: (f: (...args: T) => void) => l.add(f) && (() => l.delete(f)), } } // usage: const greetings = createPubSub<[string]>() const unsubscribe = greetings.sub((name) => { console.log('hi there', name) }) greetings.pub('Dudeman') unsubscribe()