MurphyA/hacker-news huggingface dataset:
by xavdid | 2025-06-25 23:57:20+00:00
I mean, there are 3 equally valid ways to write an if statement: `test`, `[`, and `[[`. In the case of the latter two, there are a mess of single-letter flags to test things about a file or condition[0]. I'm not sure what makes them "fake syntax", but I also don't know that much about bash.

It's all reasonable enough if you go and look it up, but the script immediately becomes harder to reason about. Conditionals shouldn't be this hard.

[0]: https://tldp.org/LDP/Bash-Beginners-Guide/html/sect_07_01.ht...
by loeg | 2025-06-25 23:57:26+00:00
I don't think a discussion of optimality is relevant to what I wrote.

Lots of people with good credit are not maximizing credit card rewards and sign-up bonuses, either. Humans are not homo economicus. (And just as a factual matter, there are sometimes longer BNPL terms than 3 months, which changes the math on what is "optimal.")
by SpicyLemonZest | 2025-06-25 23:57:36+00:00
The GPL "does not prohibit anyone" in a narrow legalistic sense. In colloquial discussions (see e.g. https://www.gnu.org/licenses/why-not-lgpl.en.html), the Free Software Foundation is quite clear that the GPL exists to stop proprietary software developers from using your code by imposing conditions they can't satisfy.
by TuringNYC | 2025-06-25 23:58:22+00:00
The per-gram reading is good for things without real servings (e.g., per gram of water).

However, for a single-serving meal, winning on per-gram isnt really helpful since we wouldnt eat a gram of a 1-serving salad.

Its sort of like how McMansions are actually inexpensive on a per-sqft basis, but how that isnt helpful since you have to purchase all 5000 sqft of the McMansion
by frollogaston | 2025-06-25 23:58:51+00:00
But it's not uniform. In the span of ~60 years, the average birth rate doesn't matter as much as the distribution and how much the children model their parents.

Small example (multiply all numbers by 1M), average birth rate of 1.5 can be a group of 4 people where one had 0 children, one had 1, one had 2, one had 3. If each child has as many children as its parents, next generation, 0 have 0 children, 1 has 1, 2 have 2, 3 have 3, for a new average of 2.33.

If you take a higher starting average but a tight spread [2, 2, 2, 2], the next average is only 2. Or if you have [0, 1, 2, 3] but kids model society instead of parents, you get 1.5 again.

Of course children didn't model their parents the past couple of generations, but times may be changing.
by leoh | 2025-06-25 23:58:58+00:00
>Personally my theory is that Gemini benefits from being able to train on Googles massive internal code base and because Rust has been very low on uptake internally at Google, especially since they have some really nice C++ tooling, Gemini is comparatively bad at Rust.

Were they to train it on their C++ codebase, it would not be effective on account of the fact that they don't use boost or cmake or any major stuff that C++ in the wider world use. It would also suggest that the user make use of all kinds of non-available C++ libraries. So no, they are not training on their own C++ corpus nor would it be particularly useful.
by robocat | 2025-06-25 23:58:59+00:00
That's like saying a donut only has one side.

The linked die seems similar to this: https://cults3d.com/en/3d-model/game/d1-one-sided-die which seems adjacent to a Möbius strip but kinda isn't because the loop is not made of a two sided flat strip. https://wikipedia.org/wiki/M%C3%B6bius_strip

Might be an Umbilic torus: https://wikipedia.org/wiki/Umbilic_torus

The word side is unclear.
by graycat | 2025-06-25 23:59:24+00:00
Taylor Swift did well understanding the emotions of teen girls, so well that lots of teen girls, not just in the US, begged their fathers and got ~$1000 for a ticket to a Swift concert, and Swift ended up worth ~$1 billion.

It also helped that with good makeup and a good photographer, she had one of the prettiest faces of any human female. She also had a near perfect figure. So, her audience could identify with those. Likely even more important, were her stories of love gained/lost.

I'm a man and so don't much like Swift's art, but the ~$1 billion got me to try to explain her success.

For any men here slow to figure this out and take it seriously, a lot of teen girls and young women have some strong emotions, and art that communicates and interprets those emotions to those teens/women can be very welcome, so welcome to generate ~$1 billion.

I did spend enough time with teen girls and young women to understand a little about their strong emotions.

On key changes in music, the Bach piece in the URL I gave starts in D minor, has central section on D major, and has the final third a lot like the first section and also in D minor.

When I was playing it on violin, I liked the D major section the best. There are some triplets, and I played them insistently, maybe not the best interpretation -- the URL doesn't do that. Maybe I tried the interpretation from a Heifetz performance.

The piece is also sometimes played on guitar. Waiting for a concert to start, a guitarist sat next to composer Mario Castelnuovo-Tedesco and said "The Bach Chaconne sure is difficult to play." The composer, a man of few words, said nothing until the end of the concert and then replied "The Bach Chaconne is the greatest piece of music ever written."

Oh, the URL I gave is a full orchestra arrangement of the Chaconne.

If pop music is that good, I'll be glad to listen to it!
by ameliaquining | 2025-06-26 00:00:07+00:00
Users of Claude-hosted apps can't thereby incur financial liability, because it counts against the usage limit of their consumer Claude plan, which either is free or has a fixed monthly subscription price. The worst that can happen is that they run out of quota and can't use Claude anymore until it resets, which happens every day on free plans and every five hours on paid ones. In no case is usage attributed to an API key with metered pricing.
by adriand | 2025-06-26 00:00:40+00:00
It's funny, I was wondering about the exact example of a bicycle a few days ago and ended up having a conversation with Claude about it (which, incidentally, made the same point you did). It struck me as remarkable (and still does) that this method of locomotion was always physically possible and yet was not discovered/invented until so recently. On its face, it seems like the most important invention that makes the bicycle possible is the wheel, which has been around for 6,000 years!
by jackdeansmith | 2025-06-26 00:00:57+00:00
>The real tragedy is not that Hims exists, but that it works so perfectly. Every day, thousands of people choose their compounded weight-loss drugs over FDA-approved alternatives, their combination ED pills over established single-ingredient treatments, their algorithmic consultations over actual medical care. They make these choices not because the products are better, but because the entire experience has been optimized to feel more like shopping and less like confronting the mortality and vulnerability that define the human condition.

Strongly disagree with almost everything in this article, but specifically this. The reason people make these choices is not because of slick marketing working against them, it's because the existing process to get medical treatment is paternalistic, hard to navigate and often expensive.

If you want safe and really high quality medical care you should absolutely have a personal physician you have a personal relationship with, who understands your lifestyle, your risk factors for side effects, and your medical needs deeply. How many Americans have that? Maybe a few dozen? The market has responded to just how terrible the existing system is.
by phendrenad2 | 2025-06-26 00:01:11+00:00
I think we're getting hung up on a technicality here, so I'll concede that judges "make law" in whatever way you say they do.

And I don't just base my predictions on that understanding, it's more of a pass-through thing. I base my predictions on observed reality, where there is a legislative branch that makes laws and a judicial branch that interprets them within narrow confines (supposedly, they basically have free reign to go wild and say up is down and down is up, but that rarely happens because they don't want to be laughed at in public)
by anyfoo | 2025-06-26 00:01:46+00:00
According to that page, the whole issue seems to be very nuanced. It also contains the quotes I attached below.

Be it as it may, I conclude that there is an elevated risk for problems the older you get (although for some issues, cause and effect may be reversed, which is hard to resolve), but that that risk may not be so significant as to outweigh other advantages.

> A simulation study concluded that reported paternal age effects on psychiatric disorders in the epidemiological literature are too large to be explained only by mutations. They conclude that a model in which parents with a genetic liability to psychiatric illness tend to reproduce later better explains the literature.[9]

> Later age at parenthood is also associated with a more stable family environment, with older parents being less likely to divorce or change partners.[43] Older parents also tend to occupy a higher socio-economic position and report feeling more devoted to their children and satisfied with their family.[43] On the other hand, the risk of the father dying before the child becomes an adult increases with paternal age.[43]

> According to a 2006 review, any adverse effects of advanced paternal age "should be weighed up against potential social advantages for children born to older fathers who are more likely to have progressed in their career and to have achieved financial security."[63]
Show HN: Voice-Mode MCP – Conversational Coding for Claude Code, Gemini CLI
by mike-bailey | 2025-06-26 00:02:38+00:00
When I heard about Google's clone of Claude Code this morning I tried out my 2 week old MCP server and instantly had two way voice conversation with it.

Gemini seemed a bit confused by this. :-)

https://youtu.be/HC6BGxjCVnM?feature=shared&t=36

It's a FOSS MCP server I created a couple of weeks ago:

- https://getvoicemode.com

- https://github.com/mbailey/voicemode

# Installation (~/.gemini/settings.json)

{

"theme": "Dracula", "selectedAuthType": "oauth-personal", "mcpServers": { "voice-mode": { "command": "uvx", "args": [ "voice-mode" ] } } }
by 999900000999 | 2025-06-26 00:04:21+00:00
The issue here is this can lead people to pushing it till 40+.

I was talking to a nice girl up until she mentioned still wanting kids in her late 40s. Maybe I’m old school, but telling someone you froze your eggs the same day you meet them is weird.

Society itself is broken. You SHOULD be able to graduate high school and make enough to support yourself and a family with a bit of struggle.

This rapidly transformed into no, get your masters, get 8 years of experience. Earn at least 300k as a couple. Then and only then should you consider a family. Childcare is 3k plus a month in many places.

For myself , I wish I made this happen in my mid 20s. I had to move back home to take care of a family member (fck cancer) and I suffered various personal setbacks due to it.

In my 30s I’ve let go of expecting anything. This world has already given me so much.
by mingus88 | 2025-06-26 00:04:47+00:00
I had the opposite take, actually. I had to think about it for a sec and suddenly, “oh, right. Novo nordisk == Danish == Scandinavian design” cute.

This style of writing is a welcome change from all the AI slop or self promoting blogs out there.

It’s a personal touch without making it all about the author. Long form articles with some humor used to be all I wanted to read on the web.
Show HN: rulesync – CLI for bulk rule management across multiple AI coding tools
by dyoshikawa | 2025-06-26 00:04:51+00:00
There are various AI coding tools like Claude Code, Cursor, Copilot, Cline, Roo... (and Gemini CLI was also recently released), but the rule file specifications for each AI tool are not compatible.

So I created a CLI tool that can automatically generate rule files for each tool by just creating and updating one group of md files, and published it as the `rulesync` npm package (of course, it supports Gemini CLI too!).

The usage is simple:

1. Create `.rulesync/.md` sample files. `npx rulesync init` (Or, if you already have rule files like Cursor's, you can convert them to rulesync files. `npx rulesync import --cursor`)

2. Edit `.rulesync/.md` to your liking. (You can add file templates with `npx rulesync add {RULE_NAME}`)

3. Generate rule files for the AI tools you want. `npx rulesync generate --cursor --claudecode --geminicli`

Thank you.
by SchemaLoad | 2025-06-26 00:04:58+00:00
The way I interpret it is that if you brainstorm using ChatGPT but write your own code using the ideas created in this step that would be fine, the reviewer wouldn't suspect the code of being AI generated because you've made sure it fits in with the project and actually works. The exact wording here is that they will reject changes they suspect of being AI generated, not that you can't have read anything AI generated in the process.

Getting AI to remind you of the libraries API is a fair bit different to having it generate 1000 lines of code you have hardly read before submitting.
by selfboot | 2025-06-26 00:05:01+00:00
I have been trying for a long time but can't figure out how to play this game. Is there anyone who can give me some ideas?

The rules of the game are simple: jump over a piece to remove the jumped piece. Try to remove all pieces except one. Drag a piece to an empty space to move it. The target position must be exactly two holes away from the starting piece, the directions must be orthogonal, and there must be a piece in the middle hole. But I always end up with a few pieces that are far apart and can't be solved. What's the idea of playing this kind of game?
by pkaye | 2025-06-26 00:05:07+00:00
I've been playing with Claude 4 Sonnet in VS Code and found it quite good. As part of the development plan, on its own it had included an optimization phase where it profiled my go code, identified some hot spots, and proposed ways to optimize it. For the most critical area, it suggested using a prefix tree which it wrote on the spot, adapted to my code, wrote benchmarks to compare the old and new version (5x improvement). Then it wrote specific tests to make sure both versions behaved the same. Then it made sure all my other tests passed and wrote a report on everything.

There were three performance optimizations in total, one which I rejected because the gain was minimal for typical use case and there are still some memory allocation optimization which I have deferred with because I'm in the middle of a major refactor of the code. The LLM has already written down plans to restart this process later when I more time.
by TheCraiggers | 2025-06-26 00:05:08+00:00
Anti-cheat today is a stop-gap measure at best. For various reasons such as improved OS security and security concerns with this software, ring zero anti-cheat won't be around forever. Besides, it's a cat and mouse game where the vendor is the mouse.

We already have the technology now to do it better. A combination of only sending what info a client should have, and server-side checks. As soon as something like UT ships with that built in we can hopefully forget about this horrible hack we currently have to check for cheats.
by flir | 2025-06-26 00:05:17+00:00
This might be of interest, if you haven't already seen it: https://www.bbc.co.uk/news/articles/c77vr00enzyo

Could be reversed by a higher court of course, but it seems like it establishes that pirating and training are two different "crimes". (Or three - see the bit about "infringing knock-offs").
by LordDragonfang | 2025-06-26 00:06:05+00:00
This buried lede is really the core of the article:

> They make these choices not because the products are better, but because the entire experience has been optimized to feel more like shopping and less like confronting the mortality and vulnerability that define the human condition. This is what disruption looks like when applied to the oldest human needs: not improvement, but the illusion of improvement

And contrary to what the article claims with hundreds of words of flowery indictment, it is improvement. As everyone on this site should be able to tell you, UX matters, and the medical establishment has some of the most frustrating, unpleasant, and confusing UX of any necessary service.

Of course shady companies are going to get lots of business when all the competition following the law most faithfully provide a broken UX, and the only way to do otherwise is to bend the rules.
by Lerc | 2025-06-26 00:07:32+00:00
I'm not sure which way AI would move the dial when it comes to the median submission. Humans can, and do, make some crap code.

If the problem is too many submissions, that would suggest there needs to be structures in place to manage that.

Perhaps projects receiving lage quanties of updates need triage teams. I suspect most of the submissions are done in good faith.

I can see some people choosing to avoid AI due to the possibility of legal issues. I'm doubtful of the likelihood of such problems, but some people favour eliminating all possibly over minimizing likelihood. The philosopher in me feels like people who think they have eliminated the possibility of something just haven't thought about it enough.
by exidy | 2025-06-26 00:07:58+00:00
This may not even be a case of Visa Account Updater. Recurrent charges (subscriptions, gyms etc) may not even be sent online, they are just processed in batch. Visa/Mastercard is a dual message system where a real-time auth is followed by an overnight batch which clears the auth and posts the actual transaction to the account. Transactions posted in batch cannot be denied per se, but can generate automatic reversals that would be sent in the next batch.

Under the bonnet, card hosts like Base2000 have an underlying account number for the credit facility, and various PANs (card numbers) are attached to that. Even if a singular card is cancelled, transactions posted in batch can be routed to the appropriate credit facility as the host knows all current and past PANs.

If you have subscriptions that are difficult to cancel, the best path is to ask your bank to block and/or dispute the transactions in question. Getting a new card with a new PAN may not be sufficient.
by fennecbutt | 2025-06-26 00:08:21+00:00
Lmao no.

Okay, all the app developers pull out of iOS because they're not actually useful, in fact they should be paying Apple!

How many people do you think would still buy iPhones if there are 0 apps on the app store? Lmaooo, it's almost like it's a co-operative relationship and Apple don't deserve a huge cut because it's the apps that sell their phones.
by netaustin | 2025-06-26 00:09:48+00:00
Love this idea! I wonder how this could one day come to incorporate the true value of a coach on deck, which is to see the stroke and offer guidance. Some self-coached or remotely-coached swimmers film themselves underwater, which your system might reasonably consume at some point. I have worked with swim coaches in several formats, and the coach on deck providing instant feedback has been by far the most useful to me. Perhaps this is why one of the most common formats for swimming is the team practice, since one coach working in real time can watch a dozen swimmers and give feedback.

I had the pleasure of learning from Terry Laughlin at a Total Immersion camp in 2014. (I learned to swim as an adult for triathlon.) Terry loved the water so much that we could earn ourselves an extra minute of rest between sets just by asking him to show us a skill again. Far and away my most helpful and memorable swim instruction.
by zahlman | 2025-06-26 00:10:04+00:00
> Again, there's a reason basically no other programming language ecosystem needs them.

You have failed to explain how they are meaningfully different from what other programming language ecosystems use to create isolated environments, such that I should actually care about the difference.

Again: activating the venv is not in any way necessary to use it. The only relevant components are some empty folders, `pyvenv.cfg` and a symlink to the Python executable (Windows' nonsense notwithstanding).

> 20 years ago (or whenever they were created), where they didn't even bother to do their homework and see what other ecosystems did to solve that specific problem.

Feel free to state your knowledge of what other ecosystems did to solve those problems at the time, and explain what is substantively different from what a venv does and why it's better to do it that way.

No, a .jar is not comparable, because either it vendors its dependencies or you have to explain what classpath to use. And good luck if you want to have multiple versions of Java installed and have the .jar use the right one.

> They're a bad, leaky, abstraction. They provide value through a mechanism that is cumbersome and doesn't even work well compared to basically all competing solution used outside of Python.

You have failed to demonstrate this, and it does not match my experience.

> it has sooo many braindead ideas (like setup.py having arbitrary code in it :-| )

You know that setup.py is not required for packaging pure-Python projects, and hasn't been for many years? And that it only appears in a source distribution and not in wheels? And that in other ecosystems where packages contain arbitrary code in arbitrary foreign languages that needs to be built on the end user's machine, the package also includes arbitrary code that gets run at install time in order to orchestrate that build process? (For that matter, Linux system packages do this; see e.g. https://askubuntu.com/questions/62534 .)

Yes, using arbitrary code to specify metadata was braindead. Which is why pyproject.toml exists. And do keep in mind that the old way was conceived of in a fundamentally different era.
by gerdesj | 2025-06-26 00:10:33+00:00
The policy is concise and well bounded. It seems to me to assert that you cannot safely assign attribution of authorship of software code that you think was generated algorithmically.

I use the term algorithmic because I think it is stronger than "AI lol". I note they use terms like AI code generator in the policy, which might be just as strong but looks to me as unlikely to becoming a useful legal term (its hardly "a man on the Clapham omnibus").

They finish with this, rather reasonable flourish:

"The policy we set now must be for today, and be open to revision. It's best to start strict and safe, then relax."

No doubt they do get a load of slop but they seem to want to close the legal angles down first and attribution seems a fair place to start off. This play book looks way better than curl's.
by ants_everywhere | 2025-06-26 00:11:25+00:00
This is signed off primarily by RedHat, and they tend to be pretty serious/corporate.

I suspect their concern is not so much whether users have own the copyright to AI output but rather the risk that AI will spit out code from its training set that belongs to another project.

Most hypervisors are closed source and some are developed by litigious companies.
by out-of-ideas | 2025-06-26 00:11:56+00:00
and 3: its also windows 11 on the handheld - its not comparing a desktop (edit- or many desktops for that matter) with steamos on it vs some windows. (though i can see somebody debloating 11 and dropping it on the device - why not?)

> We then installed Windows 11 on the handheld, downloaded updated drivers from Lenovo's support site, and re-ran the benchmarks on the same games downloaded through Steam for Windows.