MurphyA/hacker-news huggingface dataset:
by IshKebab | 2025-09-21 15:33:11+00:00
Yes I do. Rust's strong type system makes logic bugs less likely, because you can encode more invariants into the type system.

This also makes it easier to refactor and add features without risk of breaking things.

The borrow checker also encourages ownership structures that are less error-prone.

Finally the more modern tooling makes it easier to write tests.

If you're thinking "where is the peer reviewed study that proves this?" then there isn't one, because it's virtually impossible to prove even simple things like that comments are useful. I doubt there's even a study showing that e.g. it's easier to write Python than assembly (although that one probably isn't too hard to prove).

That doesn't mean you get to dismiss everything you disagree with simply because it hasn't been scientifically proven.

The things I'm talking about have been noted many times by many people.
by AfterHIA | 2025-09-21 15:33:29+00:00
There really needs to be a Second American Revolution. It should be bloodless and as simple as 90% of the country showing up to take back the wealth that was stolen from the middle classes during the neoliberal assault. The popular momentum exists for this project in both the MAGA camp and lefties that support Sanders. It seems like the only alternative is liberal authoritarianism which we're seeing from Vance and Peter Thiel. We still have a chance. Let's use it.

This isn't a drill. Let us assemble the Rebel Alliance.
by palata | 2025-09-21 15:33:31+00:00
> is wrong from first principles.

I feel like I fundamentally disagree with your first principles.

Not that I agree with the free in question here. I just think that regulations set the framework into which capitalism is meant to optimise. Regulations reflect what kind of society we want to live in.

Not all the regulations are perfect, or even good. That's why they need to evolve. But no regulation "other than self-defence" sounds like a very, very bad idea.
by saidinesh5 | 2025-09-21 15:33:46+00:00
I'm in India. Usually seniors etc... Just ask family members to do their transactions. My mom basically does all the transactions for my grand parents..

For the people too poor to own a phone, they just use cash in most places they can... To put things into perspective even road side beggars/homeless people just show you a QR code on a piece of paper for where to pay them these days..
by constantcrying | 2025-09-21 15:34:00+00:00
Free speech has always been about the government. Do you not think it is acceptable for companies to fire people for their speech? Should employers just have to keep silent and do nothing when their employees e.g. glorify violence, promote fascism or attack human rights?

>Requiring non-disclosure in order to get a severance (or to get a settlement for abuse) is not an excuse for doing this.

This seems very reasonable? If you want to attack your employer you are free to do so, why should they pay you for that?

>More and more corporations are resorting to the predatory practice of abusing the court system to protect their hide their actions.

What are you on about? Companies have always tried to get what they can, it is not some recent trend that companies go after their own (former) employees in court.
Show HN: Gigawatt, a shell prompt that adapts to your terminal theme
by aparadja | 2025-09-21 15:34:06+00:00
About a year ago, I made myself a shell prompt with Starship. I'm not a huge fan of the bright loud colors in many prompts, so I configured a minimal prompt with subtle colors that fit my terminal theme.

The problem is that I actually like changing my theme every now and then. And I use a different theme for my terminal app and e.g. VSCode. A single prompt config couldn't fit into everything.

So I built the same prompt from scratch with Swift, and made it automatically adapt to the terminal colors, with proper Lab color interpolation. I used that until a couple of weeks ago, when I wanted pick up Rust. I was quite happy with the hacked-together prompt I had been using for a year, and thought that rewriting it might be a suitable project.

I decided to turn this Rust version into an open source project, as I might not be the only one who'd enjoy a fancy powerline prompt without a screaming color palette.

The source is available at https://github.com/juuso/gigawatt
by PaulHoule | 2025-09-21 15:34:39+00:00
Instagram (up8photographer), Threads, Mastodon, Bluesky, LinkedIn (my Uni’s alumni group can get 4000 impressions), Facebook and Nextdoor (400 impressions in a small town w/o any network building)

https://mastodon.social/@UP8

Automation for posting to more places plus automation for network building are both “want to haves”
by bentt | 2025-09-21 15:35:46+00:00
yeah very few months I try to have it “just do magic” again and I re-learn the lesson. Like, I’ll just say “optimize this shader!” and plug it in blind.

It doesn’t work. The only way it could is if the LLM has a testing loop itself. I guess in web world it could, but in my world of game dev, not so much.

So I stick with the method I outlined in OP and it is sometimes useful.
by username332211 | 2025-09-21 15:35:49+00:00
> How many of those comments are bots?

Wasn't there a group cheering in front of the courtroom when the judge dropped the terrorism charge? Those people were not bots.

> How many people say things online they wouldn’t say in person?

Ohh, so lovely of them. I wonder how Jeff Bezos, Elon Musk and ultimately Paul Graham feel, to know that the only reason why a good portion of the population doesn't advocate for their death is taqiyya?
by inkyoto | 2025-09-21 15:36:05+00:00
Conversations are almost never about proving a point; they are about exchanging ideas (however controversial or disagreeing they may be), contemplating nad debating the ideas, and drawing insights from that. A disagreement can always be expressed softly.

Personally, I learn, reflect, and gain a lot from engaging in conversations with other people, as – not infrequently – the others complement my understanding of points I might have previously not considered or missed. I call it knowledge, and knowledge is power.
by palata | 2025-09-21 15:36:56+00:00
I like the idea of the right to repair, but my experience with my laptops (I use Lenovo Thinpads) is that I haven't had a need to repair them in a decade. I changed the batteries myself, which is great, but nothing broke.

I kinda wonder if it's so important that it's possible to repair something oneself, or if it's more important that paying someone to repair it is affordable.
by jph | 2025-09-21 15:38:26+00:00
We evaluated UUIDv7 and determined that it's unwise to use it as a primary key.

We have applications where we control the creation of the primary key, and where the primary key will be exposed to end users, such as when using a typical web app framework built with Rails, Phoenix, Loco, Laravel, etc. For these applications, UUIDv7 time is too problematic for security, so we prefer binary-stored UUIDv4 even though it's less efficient.

We also have applications where we control the creation of the primary key, and where we can ensure the primary key is never shown to users. For these applications, UUIDv7 is slower at inserts and joins, so we prefer BIGSERIAL for primary key, and binary-stored UUIDv4 for showing to users such as in URLs.
by OJFord | 2025-09-21 15:39:02+00:00
Progress today seems typically more industrial, but I'm sure you could likewise look back in the future and say Good heavens! Musk, Bezos, Altman, Jobs, Ive, Knuth (or extend the period for Turing, von Neumann, Brooks bros.)!

The 'Great Man' fallacy no doubt applies as well to Galileo et al. as it would more obviously be someone's objection to my contemporary list.
by skybrian | 2025-09-21 15:39:05+00:00
The problems at the University of Chicago seem especially bad and I don’t entirely trust this article, but for what it’s worth:

> The reason today’s Dean of Humanities wants to send students to other universities to learn subjects that she would like to cancel, or use ChatGPT to teach subjects tomorrow that humans teach today, is to drive the “marginal cost” of teaching students from 20 percent of their tuition down to 10 percent. Future applicants should know that the University plans a further expansion from around 7,400 students to 9,000 ... and has simultaneously announced an intent to hold the number of research faculty constant. Perhaps we can drive the cost of educating students below 10 percent? Perhaps that is what the president and provost and dean of humanities mean when they say that we need to position ourselves as leaders in the field.

https://www.compactmag.com/article/the-crisis-of-the-univers...

It would be nice to read something more in-depth about university finances. Can humanities courses be funded by tuition alone or not?
by _DeadFred_ | 2025-09-21 15:39:37+00:00
Thought they were bombed because they continue to hold Israeli citizens that they abducted from their homes during the process of murdering over 1,000 people while maiming thousands more using indiscriminate violence. We saw this because Hamas were so proud they broadcast videos of themselves spitting on twisted bodies of stripped young women and kidnapping 6 year old girls. That is why they were bombed.
by FrustratedMonky | 2025-09-21 15:39:54+00:00
I like a lot of what you are saying. But sadly I think it is an older view. Maybe this was true in 80's before social media.

"American people are stubbornly allergic to authoritarianism"

Literally 40%+ of Americans have voted for Authoritarianism. It's viewed as being 'tough'.
by soulofmischief | 2025-09-21 15:40:00+00:00
Lol. The DEA's enemies are created by criminalizing the human right to consume whatever you'd like in your own home, and criminalizing distribution networks that have no right to be criminalized. This criminalization leads to feedback loop with police militarization and violent crime.

The DEA has no justification to exist, and the War on Drugs has been used to destabilize dozens of foreign regimes in order to benefit the US' neoliberal policies. It's now being used to take away even more rights as it's being used in part to justify ICE raids, and Trump's imperialist skirmish and attempted regime change in Venezuela. Additionally, the cartel has destroyed northern Mexico and now Trump is floating the idea of "cleaning up" Mexico.
by glimshe | 2025-09-21 15:40:12+00:00
It sounds nice but too much work for relatively little gain. One of those situations where you trade the devil you know by the devil you don't. I find the US lifestyle great in its own unique away. But Europe could be nice too... Sounds like something I'd do if I could teleport my stuff, stay a few years for the experience, then teleport back.

Medium towns in the US can be great too...
by 0xbadcafebee | 2025-09-21 15:40:14+00:00
Maybe the solution is an ultrasonic slap chop? (https://www.amazon.com/Slap-Chop-Stainless-Vegetable-Accesso...) Many slices at once, preserve whatever the ingredient is without crushing it, doesn't stick to the blade. It may sound ridiculous, but if it makes kitchen prep easier and faster, I might cook more.
by ethical_source | 2025-09-21 15:40:18+00:00
> Trump himself said "When 97 percent of the stories are bad about a person, it’s no longer free speech

Pulling this quote out of context fits in a general pattern of demonization of Trump that goes all the way back to the "fine people" Charlottesville hoax.

What Trump meant about free speech is that once 97% of a broadcast consists of partisan attacks, the broadcaster can no longer hide beyond the fig leaf of individual commentators exercising their individual rights to free speech. A broadcast that consists of 97% demonization of a people on one side of an issue that splits the country 50-50 isn't serving the interest of the public.

Absolutely nobody is preventing anyone from being 99.9% hostile on his own infrastructure, but we're under no obligation to let this broadcaster continue using public airwaves just because it labels its propaganda as "free speech". There is no free speech right to the electromagnetic spectrum.

When Trump says "free speech" in that quote, he's using it to refer to this fig leaf of propaganda as "free speech". That's just how the man talks. Anyone who's listened to him knows what he meant.

It's precisely this form of misrepresentation that's made Americans mistrust the media and establishment more than at any time in history.
by linmob | 2025-09-21 15:40:44+00:00
You're partially correct. Ubuntu Touch was discontinued by Canonical (the company behind Ubuntu) in April 2017.

However, Ubuntu Touch was picked up by the UBports project (that by now has their own foundation) and has been continued to this day. Currently they are preparing a Ubuntu Touch release based on Ubuntu 24.04 (moving on from Ubuntu 20.04). See https://www.ubuntu-touch.io/ for more.

Regarding the FLX1(s): FuriLabs worked on a way to support Ubuntu Touch apps (that can be found at https://open-store.io/) natively on FuriOS. It's also possible to boot Ubuntu Touch on their FLX1 hardware.
by BobaFloutist | 2025-09-21 15:40:54+00:00
Cheese pizza is acceptable to vegetarian and meat eaters alike. Barring a disproportionately vegetarian crowd, most groups would be perfectly happy with 50% cheese pizza and 25% each veggie or meat combo/pepperoni. The less sure you are about people's dietary preferences, the higher you crank the cheese %.

If it turns out there's a huge population of like gluten free, you say "Ah my bad" and correct the next time.
by devzx | 2025-09-21 15:41:01+00:00
Thanks for letting me know the definition hasn't changed and I'm glad you agree with me that there isn't a genocide taking place but a very intense war. P.S My people suffered an actual genocide and it didn't look like what is happening in Gaza. Interesting to note is how the "victims" of this genocide can end it immediately by simply returning the hostages but refuse to.
by rglover | 2025-09-21 15:41:02+00:00
This is a good thing. That shift in expectations will hopefully prevent a total collapse of systems as inexperienced developers would have yeeted god knows what code into production.

The best part: all of the materials that were available to now-seniors are available to new juniors. The added advantage of having an LLM to explain or clarify things? Seniors didn't have that. We had to suffer.

Sorry, but the outcome is fair. Seniors had to suffer to learn and can now benefit from the speed up of AI. Juniors don't have to suffer to learn, but they do have to learn to leverage AI to help them catch up to the existing crop of seniors.

Not impossible. Not impractical. Just a different form of hard work, which, no matter how much anyone kicks and screams will always be the thing standing in the way of where you want to be.
by IshKebab | 2025-09-21 15:41:08+00:00
Yeah this 100%. FP isn't hard because of FP - it's all the other things that popular FP languages come with that makes them hard to understand. Arguably most of them are not related to FP; they're just style choices:

1. Global type inference.

2. Implicit syntax (no brackets for function calls, commas to separate arguments, semicolons to end statements/expressions, etc.)

3. Currying & point free style.

4. Tendency to have very deep nested expressions. The gap between `let foo =` and it's actual value can often be hundreds of lines.

I'm sure you can write FP code that avoids these issues and is easy to follow but it doesn't seem like people do that in practice.

Rust avoided all of these issues fortunately.

(Oh I forgot about monads.)
by crazygringo | 2025-09-21 15:41:19+00:00
She had world-class health insurance. You build up savings. You collect unemployment. Your spouse continues working. These are all things to help you.

She wasn't homeless, on the street, alone, without skills or education, where she had no choice. Let's keep things in perspective here.

So yes, it is absolutely voluntarily to sign something like that. Otherwise, what does taking responsibility for your actions even mean?
by busterarm | 2025-09-21 15:41:22+00:00
There's only one universal lesson that I've learned over my 25+ year career so far and it's that software engineering types are fragile creatures whose egos must be tended to. Delicately.

This is becoming increasingly true as the years pass and the number of times I've had to drop whole mature architectures and reimplement something worse because some engineer's feefees got hurt can no longer be counted on my fingers & toes.
How do devs see the value of AI coding tools like Cursor or the $200 ChatGPT?
by meta_xenia | 2025-09-21 15:42:22+00:00
Hi all,

I’ve been talking with a friend who doesn’t code but is raving about how the $200/month ChatGPT plan is a god-like experience.

I’m tech-literate but not a full-time developer (I did some data science years ago), and I’m more of moderate views about what these tools can actually do and where the real value lies.

Here’s my current take, based on my own use and what I’ve seen on forums: • People who don’t usually write code but are comfortable with tech: They get quick wins, they can suddenly spin up a landing page or a rough prototype. But the value seems to plateau fast. If you can’t judge whether the AI’s changes are good, or reason about the quality of its output, a $200/month plan doesn’t feel worthwhile. You can’t tell if the hours it spends coding are producing something solid. Short-term gains from tools like Cursor or Lovable are clear, but they taper off. • Experienced developers: I imagine the curve is different: since you can assess code quality and give meaningful guidance to the LLM, the benefits keep compounding over time and go deeper.

That’s where my understanding stops, so I am curious to hear from you.

Curious to hear how you see the value of those tools and specifically interested if you see the value in 200$ subscription: and if yes, what does it do for you that is a game changer ?
by logicallee | 2025-09-21 15:42:47+00:00
I asked ChatGPT for an algorithm, then asked it to code it up. It produced incorrect code that didn't implement its algorithm. Claude was not able to fix it either.

You can read the short chats here:

https://chatgpt.com/share/68d01a2c-e9d8-800b-b4fd-99908515e5...

and here:

https://claude.ai/share/07a9e274-f876-41dd-bb3b-9197474a6204

All versions of the code are incorrect (the sequence "12" occurs at the 148th digit of pi but all versions skip it without finding it.)
by nick__m | 2025-09-21 15:43:37+00:00
from the article

Now, according to federal procurement data reviewed by The Independent, the DEA – which has recently diverted agents from their usual drug-fighting mandate to assist Immigration and Customs Enforcement in carrying out President Donald Trump’s mass deportation efforts – is outfitting agents, presumably undercover, with audio-video recorders camouflaged to look like everyday credit cards.
by Nasrudith | 2025-09-21 15:43:40+00:00
Ah yes, the syllogism of thieves strikes again. - You have it. I want it. Therefore you must have stolen it from me and I am justified in taking it "back".

Have you read history at all? "Revolutions" by entitled thieves who feel that every transaction they agreed to is somehow retroactively unfair because somebody else has more money is the surest way to kill an economy. Nobody wants to do trade with cannibals.
by herval | 2025-09-21 15:44:20+00:00
Some individuals from the previous administration asking a donor to do something is not exactly the same thing as the president FORCING someone to do it and demanding bribes or else they’ll impose fines on the business (which he then proceeds to do anyway, eg with Nvidia)

You’re quite literally a character from the book in this post, if you think they’re equivalent (your argument is verbatim what one of the nazis interviewed uses to justify having supported hitler)
by insane_dreamer | 2025-09-21 15:44:49+00:00
Two observations:

- If I had to iterate as much with a Jr dev as CC on not highly difficult stuff ("of course, I'll just do X!" then X doesn't work, then "of course, the answer is Y!" then Y doesn't work, etc.) I probably would have fired them by now or just say "never mind, I'll do it myself" .

- On the other hand a Jr dev will (hopefully) learn as they go, get better each time, so a month from now they're not making the same mistakes. An LLM can't learn so until there's a new model they keep making the same mistakes (yes, within a session they can learn -- if the session doesn't get too long -- but not across sessions). Also, the Jr dev can test their solution (which may require more than just running unit tests) and iterate on it so that they only come to me when it works and/or they're stuck. Just yesterday, on a rather simple matter, I wasted so much time telling the LLM "that didn't work, try again".
by ck2 | 2025-09-21 15:45:00+00:00
and remember there was a NAZI RALLY AT MADISON SQUARE GARDEN

1939, twenty-thousand attended

while all that was going on, it was normalized

in the end took 15 million military killed

38 million civilians killed

to stop it finally

when in 1930 it simply started by making all other political parties illegal

making all jews illegal immigrants so they could not have jobs, healthcare or even shop eventually

group after group made illegal so they could be disappeared

https://encyclopedia.ushmm.org/content/en/artifact/chart-of-...
by moregrist | 2025-09-21 15:45:13+00:00
> This seems very reasonable? If you want to attack your employer you are free to do so, why should they pay you for that?

The two issues I see here are: NDAs without a public-good exception and forced confidential arbitration.

I think there should always be an exception to NDAs when the information is in the public good. I think it’s reasonable to disagree on where that line should be; that’s what legislation and court cases are for.

Also, forcing the resolution of this to go through confidential arbitration hides the issues from the public, and doesn’t let us make good decisions on where that line should be.
by apothegm | 2025-09-21 15:45:47+00:00
1. What’s vaguely appropriate. You’re probably not going to write C++ for browser frontend, and JavaScript is probably not a great choice for embedded. But there are a zillion equally valid options for web backends, for instance.

2. Ecosystem. I might choose a language for a game based on available frameworks. Or Python for ML based on available libraries. Or if you want to work with XMPP, Erlang is handy to know.

3. Familiarity. You’ll move faster and write better code with a language and ecosystem you and your team are already familiar with.

But often there are many valid options and you just have to choose one.
by tegiddrone | 2025-09-21 15:46:13+00:00
I concur and "apolitical" is probably not the best word. I think it is an attempt to convey that the platform can't ban people. It is resistant from infrastructure censorship. Here is an example specific use case:

https://how-nostr-works.pages.dev/

I find that example pretty humorous... Damn, what kind of controversy is Pamela spreading?

I like it but feel nervous that there is synergy with the bitcoin space. Hype and validation is thick in that space
by egorfine | 2025-09-21 15:46:44+00:00
> The bad news [...] with the assumption that DNS resolution is being done via systemd-resolved

This is incredible, really.

systemd-resolved is easily the worst piece that came out of systemd crowd. I see systemd-resolved as a transparent film that protects the shiny parts of new devices: something that is meant to be removed immediately after unboxing. This, and timesyncd.

Now, it's no wonder systemd crowd now want this thing mandatory. They truly want to be noticed and the best way to be noticed is to make someone suffer while virtue signaling righteousness.