MurphyA/hacker-news huggingface dataset:
Show HN: Mock FedCM Integrations
by portaouflop | 2025-07-18 13:56:20+00:00
MockFedCM is a free FedCM Relying Party (RP) and Identity Provider (IdP) for testing FedCM integrations. Simulate real-world authentication flows, debug your implementation, and validate user experiences—all without needing a production IdP or RP.
by sevensor | 2025-07-18 13:57:31+00:00
Buy the Mac. If you’re using Arch and Linux feels like “trouble” instead of a breath of fresh air, it may not be for you.

That being said, if you really want to be persuaded, give Linux a little more time, and accept some friendly advice. First of all, make sure you’re running hardware that’s not going to give you trouble. If you have the resources to buy a new Apple laptop, you can afford a refurb from eBay with compatible hardware. Don’t overthink the specs, Linux runs better on 10 year old hardware than windows did when it was brand new on the same machine. Steer well clear of NVidia. Their hardware is nothing but trouble.

Second, XMonad is a weird choice if you’re just starting out. It’s Fun with a capital F, but trouble free it’s not. It (a) still doesn’t support Wayland, which means you’re bound to the increasingly creaky and unsupported XOrg and (b) last I used it, XMonad was configured by recompiling a Haskell program. If you’re not a committed Haskell user, this adds a ton of friction. Just use sway if you want a tiling WM.
by landl0rd | 2025-07-18 13:57:50+00:00
Most people involved in it are aware at some level that this is at best suspect and at worst a deception designed to push legalization. Same as the “health benefits of marijuana” crowd who violently deny the risks, addictive nature, potential to induce schizophrenia (temporary or permanent), tendency to make people lazy and obese, etc.

Legalization has never been a question of “is this good for people?”
by kordlessagain | 2025-07-18 13:58:17+00:00
Hopefully Anthropic is reading these.

I want to start by saying that Claude as a model is excellent. The AI performs exceptionally well at problem-solving and code generation across a wide variety of tasks. My feedback focuses specifically on the Claude Desktop application for Windows.

Stability and Performance: The application frequently displays confusing error messages in the top-right corner, especially when MCP servers encounter issues or during service maintenance. The interface regularly freezes for 30+ seconds, goes completely blank, then takes another 30 seconds to recover. The application often becomes unresponsive to user input, requiring clicks to reactivate. Despite advertising 50+ tools to the LLM, tools are frequently reported as "not found" on first attempt, then work on retry.

User Experience Problems: Loading historical chats takes 5-10 seconds per click, making navigation extremely slow. Chat history is only searchable by auto-generated titles, which are often irrelevant to the actual conversation content. Deleting multiple chats is nearly impossible due to slow loading and poor navigation. No centralized view exists for created artifacts, making them difficult to locate later.

Session Management: The application provides insufficient warning about approaching conversation length limits. Previously available warnings have disappeared. The persistent "Claude can't run code...yet" message is misleading given existing tools like REPL and custom MCP implementations.

Interface Issues: The support chat UI randomly covers interface elements and lacks message editing capabilities. Service status messages are unclear and don't effectively communicate what's happening.

Suggestions for Improvement

1. Implement clear conversation length warnings at 75% and 90% capacity

2. Add an artifacts gallery for easy access to created content

3. Improve chat search with content-based indexing, not just titles

4. Optimize chat loading performance to reduce switching delays

5. Provide better error messaging that clearly explains issues and solutions

6. Add bulk management tools for chat organization and deletion

7. Remove or update misleading messages about code execution capabilities

Claude Desktop is a critical tool in my workflow, but these issues significantly impact productivity and user experience. The application has tremendous potential, and addressing these concerns would greatly improve its value proposition.

If continued development isn't prioritized, consider open-sourcing the desktop application to allow the community to contribute improvements.
by ceejayoz | 2025-07-18 13:59:12+00:00
> Now that those subsidies are going away for next year, premiums are going to spike. For example, if someone paid $60 a month for their health insurance this year, they might be looking at $105 a month next year.

I was on the exchanges, unsubsidized, until this year. Last year's premium went from $3,000/month to $3,600/month. I had to buckle and get on a company plan with less coverage this year.

Meanwhile, every other piece of spare real estate in town is a new medical facility. Urgent cares, palatial orthopedic facilities… There's a crash coming.
by swader999 | 2025-07-18 13:59:18+00:00
I've just built a mobile app that does have a few sophisticated features. About 120 hours into it. (GPS, video manipulation, memory concerns) Never built on mobile before, I don't think I have the technical chops to do these hard parts on my own given the time it would have taken and the lack of focused blocks of time in my current life. It would take me a thousand hours without the Claude.
by pc86 | 2025-07-18 14:00:05+00:00
So glad I've found someone else who has this workflow.

I spend probably 70% of my active coding time coding. The rest is using LLMs to keep making progress but give my brain a bit of a break while I recharge, being more supervisory with what's happening, and then taking over if necessary or after the 10-15 minutes it takes for me to start caring again.
by bevr1337 | 2025-07-18 14:00:15+00:00
I've got them under my thumb now, and thank you! I've managed to muddle through linear and develop an ECS and prove it's in linear space and enough discrete to be pleasantly surprised by Noam Chomsky's many lives.

I used them as examples of when I transitioned back to CS and had to learn what to learn before I could learn. So to speak.

Anything on your own learning journey you'd like to share?
by Neywiny | 2025-07-18 14:00:24+00:00
I know somebody who tried doing a standard vehicle emissions test (gov't facility) in the area they live in. Bank thought it was suspicious and locked their card. Then they tried sending money from the bank to buy a car (they were just borrowing it before buying from a family member), and the bank thought it was fraud so removed online banking too. No tickets or phone calls helped. Ridiculous. Never once did they call to ask "hey is this fraud?"
by km144 | 2025-07-18 14:00:38+00:00
How about... greater benefits to people who are unemployed? I mean, UBI is inherently a poor policy for "mass unemployment scenarios", because there is no feasible scenario in which the majority of people are unemployed. To give UBI to people making around the median wage or higher because there is mass unemployment due to automation that doesn't affect them doesn't seem like a good use of money at all.
by broken-kebab | 2025-07-18 14:00:40+00:00
It seems like you missed the elephant in my commentary: there are plenty of "general population" who can't use banking system at least cross-border. So imagine yourself in need to choose between 1) significant risk of frozen transfers, or even not having account at all at a place you are now, and also maybe risk of extortion and corruption at a place where recipients are, and 2) this scary VOLATILITY? Also, in practical terms there are stablecoins which are quite stable, and bitcoin has been mostly growing for years now
by vlovich123 | 2025-07-18 14:01:03+00:00
Seems like a huge lift since io_uring is an ever growing set of interfaces that is encompassing more and more of the kernel surface area. Also, the problem tends to not necessarily be that the io_uring interface isn’t available at compile time but a) the version you distribute to has a kernel with it disabled or you don’t have permission to use it meaning you need to do LD_preload magic or use a framework b) the kernel you’re using supports some of the interfaces you’re trying to use but not all. Not sure how you solve that one without using a framework.

But I agree. It would be cool if it was transparent, but this is actually what a bunch of io-uring runtimes do, using epoll as a fallback (eg in Rust monoio)
by s1mplicissimus | 2025-07-18 14:01:06+00:00
> Releasing a standalone utility makes iteration much faster, partially because one is not bound to the release cycles of distributions.

which certainly is a valid way or prioritizing. similarly, distros/users may prioritize stability, which means the theoretical improvement would now be stuck in not-used-land. the value of software appears when it's run, not when it's written
by jazzyjackson | 2025-07-18 14:01:31+00:00
Sure, companies wouldn't do anything that negatively affects their bottom line, but consider the case that an intern is a net zero - they do some free labor equal to the drag they cause demanding attention of their mentor. Why have an intern in that case? Because long term, expanding the talent pool suppresses wages. Increasing the number of qualified candidates gives power to the employer. The "Learn to Code" campaign along with the litany of code bootcamps is a great example, it poses as personal growth / job training to increase the earning power of individuals, but on the other side of that is an industry that doesn't want to pay its workers 6 figures, so they want to make coding a blue collar job.

But coding didn't become a low wage job, now we're spending GPU credits to make pull requests instead and skipping the labor all together. Anyway I share the parent poster's chagrin at all the comparisons of AI to an intern. If all of your attention is spent correcting the work of a GPU, the next generation of workers will never have mentors giving them attention, starving off the supply of experienced entry level employees. So what happens in 10, 20 years ? I guess anyone who actually knows how to debug computers instead of handing the problem off to an LLM will command extraordinary emergency-fix-it wages.
by bolobo | 2025-07-18 14:01:40+00:00
And how would the LLM know that a comment in english in a random forum is applicable to a specific country but not another?

UK, US, Australia all have different rules and regulations, but their websites don't exactly advertise their location. It is implied that you visit them based on your country. The UK has a weird mix of metric and imperial, so you can't even use the units to figure it out!! It's not always easy to figure it out, even for a human.
by IggleSniggle | 2025-07-18 14:01:55+00:00
Caveat emptor, I don't write Zig but followed its development closely for awhile. A core design element of zig is that you shouldn't be stuck with one particular memory model. Zig encourages passing an allocator context around, where those allocators conform to a standardized interface. That means you could pass in different allocators with different performance characteristics at runtime.

But yes, there is a default allocator, std.heap.page_allocator
by cainxinth | 2025-07-18 14:01:55+00:00
It doesn’t matter whether the Kentucky Derby is core to reality. The point is it is part of reality. If you want to model reality with 100% accuracy, you need to know about the Kentucky Derby. The author is arguing that models are converging on something close to the platonic ideal representation. So, a perfect model with perfect translatability would in fact be able to communicate the concept of a four legged land animal (named after a being capable of impossible feats) that attempts to be faster than other animals to win a reward for a rider on its back. Whether the platonic representation hypothesis is correct or not and whether our models will ever actually get that good are different questions.
by elpocko | 2025-07-18 14:02:29+00:00
What is the point in arguing against enthusiasts? Are you trying to spoil their fun? I think that's inappropriate behavior. Especially when you have to request advice from internet strangers on how to be a more effective contrarian and spoilsport.

I don't like smart phones, professional sports, pick up trucks, anime, or games with pixel art. Please advice on how I can argue against people who are enthusiastic about that kind of stuff.
by bevr1337 | 2025-07-18 14:02:37+00:00
It was nice in my 20s when we traded labor for beer and weed. A style of collaboration and exchange is what I aimed to describe.

Now, all my peers have wisened up and can get the big bucks elsewhere. So definitely, if a student of any age has the money, they can get a tutor. But it's nice to find a young tutor who would gladly proof your work in exchange for tacos or help on their CS homework
Show HN: NoteSub – A no-setup, offline-first Notion alternative
by zahirbmirza | 2025-07-18 14:02:39+00:00
I built NoteSub as a simple, offline-first alternative to Notion. No setup, just open, choose the note type... and it just makes things look good. I aimed for it to be like a social media feed, but your own notes.

Would appreciate your thoughts on how I could make it more user friendly and useful. It is free to download if you want to try it.
by HelloNurse | 2025-07-18 14:03:19+00:00
The adventure of writing a custom DBMS, game engine, or other complex and advanced software classes can be justified by 1) knowing that no existing solution is adequate but 2) it is possible to write something suitable and 3) it will be useful enough to justify the cost.

For example, to insist on the example of Tigerbeetle, 1) no current popular or specialized DBMS is particularly optimized for ledger use, 2) but suitable techniques are well understood; I'm not sure how often 3) it will be preferred to a more general purpose DBMS.
by gavinray | 2025-07-18 14:03:20+00:00
The idea of "Context-Oriented Programming" is really interesting.

Recently, Kotlin has added this in the name of "Context Parameters", and Scala 3 has them as "given"/"using" traits.

https://blog.jetbrains.com/kotlin/2025/04/update-on-context-...

https://docs.scala-lang.org/scala3/reference/contextual/usin...

There are a bunch of practical applications for this sort of pattern, but the most generally useful ones are for framework-less Dependency Injection and for decoupling implementation-site details IMO.

Happy to see this idea gaining popularity recently.
by Levitz | 2025-07-18 14:03:23+00:00
I'm sure it's nothing like a panacea, but I've lost count of the times in which getting some context behind a report of a bad experience shows recklessness or just plain old bad decisions.

It also works the other way around, people even talk about how years of therapy didn't help but psilocybin did, and few seem to consider that maybe it was a combination of both? Perhaps all of that therapy that "didn't help" set the stage for something else.

General problem with anecdata I guess.
by pc86 | 2025-07-18 14:03:43+00:00
No you don't understand, this person writes quality code in an intellectually honest way because they use machines in a very specific way, just enough but not too much. Everyone else is just slinging shitcode. Good luck finding someone as good as this random person online you've never heard of!

I don't mean to attack this person specifically but it's a frankly pretty bad mindset that is far too prevalent in our profession - the way I do things in the Right Way, I write Good Code, very few other people write Good Code, and because I do things the way they were done 5, 10, 25 years ago means that my way is better than yours.
by metamet | 2025-07-18 14:04:20+00:00
A great example of this is a scent I really like--Santal 33.

The way everything mixes together, there's a dill pickle overtone that some people are really receptive to. I can smell it if I actively think about dill, but it's not the first thing I notice. Others seem to respond to it like a jar of pickle juice.

https://basenotes.com/fragrances/santal-33-by-le-labo.261328...
Show HN: Day by Day – Visualise your entire life as a daily timeline
by mrroryflint | 2025-07-18 14:04:33+00:00
I built a small app that visualises your entire life as a day-by-day timeline - https://day-by-day.life

Back in 2023, I created a simple version of this concept for my own life events (https://days.rory.codes) and shared it on HackerNews[1] where it received a fair amount of commentary.

A handful[2] of people asked if they could duplicate the project for themselves - so I built this expanded version that lets you sign in, add your life events, and see your own timeline visualised day by day. Data is encrypted at rest and everything is private, though you can make your timeline public and shareable if you wish.

Let me know what you think!

[1] https://news.ycombinator.com/item?id=36637283 [2] Four, to be exact. Product market fit.
by muzani | 2025-07-18 14:05:06+00:00
There's the Tokens tab on the mid-right, which is more detailed pricing. Not all tokens are the same price.

But the Usage at the top is a clear view too. On Claude sonnet-thinking, you've used $10 worth. 10k input (your prompt and code), 185k output (presumably written code, maybe thinking tokens too). ~900k cache write is probably it indexing the code and 14m cache read is it understanding/scanning your code.
by JdeBP | 2025-07-18 14:05:10+00:00
Of course they are. There's a file with all of the special cased constants in, named constants.ts.

Your superficial test tested all three of the special cases in the PRIVATE_OPENERS array, which is what the parser.ts code actually checks. DEC's question mark, which is special cased yet further off on its own, is in reality another "private opener", too, and it isn't limited to DEC (e.g. XQTMODKEYS), and neither does DEC not use the other non-digit parameter characters (e.g. DECDA3).

(There's a hypothesis that DEC's own state machine didn't care where these marker characters were, as it was a simple state machine that had to fit in ROM and probably just set a bitflag. A mistake that we're probably all still making is assuming that they only take effect when in the very first position.)

STRING_OPENERS is another widespread special casing that people do, treating ESC plus a few characters as special rather than handling all of the 7-bit aliases for the C1 characters as the general case.

You seem to think that people who share what the mistakes are and where they themselves have made these very mistakes over the years, to help other people not make them and so that the world continues to remember this hard-learned stuff, is somehow worthy of ad hominems, straw men, insults, and vilification right off the bat. That's a very poor show and you should be ashamed.
by ActionHank | 2025-07-18 14:05:27+00:00
"cope with the fact they lack education"

Not everyone can afford the education. This isn't about cope, it is about hunger, drive, and passion.

The article echoes what I've seen working in big corp with grads who were stellar at varsity and hopeless for any actual problem solving that wasn't first explained to them.

The tragic reality is that most companies filter out candidates who didn't go to a handful of universities, or worse anyone who doesn't have a CS degree.
by maerF0x0 | 2025-07-18 14:06:05+00:00
FHE is an important tool because right now companies can be coerced by governments to break encryption for specific targets. FHE removes the need for companies to have a back bone, they can simply shrug and say "We literally do not see the plaintext, ever". They can kinda do this with End to End encryption when they're simply the network/carrier, but cannot currently do this anytime they're processing the plaintext data.

I come from a values basis that privacy is a human right, and governments should be extremely limited in retailiatory powers against a just and democratic usage of powers against them. (things like voting, arts, media, free speech etc)
Ask HN: What are interesting do you know any terminal utilities?
by FerkiHN | 2025-07-18 14:06:07+00:00
The terminal is a very cool place, you can perform a bunch of actions in one command, but of course it is also fashionable to download utilities in the terminal, and some of them are very strange and some are very useful and interesting.

What are interesting do you know any terminal utilities?
by brandonb | 2025-07-18 14:06:11+00:00
The ACA was originally designed as a "three-legged stool" of nondiscrimination (insurance companies can't charge higher rates to sick people), the individual mandate, and subsidies.

If you remove one of legs of the stool, the market becomes unstable and you see price spirals like this.

Jonathan Gruber (MIT econ professor, and one of the designers of the Affordable Care Act) gave a fairly detailed talk about how and why they designed the ACA the way they did, learning from a similar law in Massachusetts: https://youtu.be/2fTHqARiV_Q?si=SRC6Np-rjgUgAe4Z&t=679
by bediger4000 | 2025-07-18 14:06:13+00:00
I was taught that The Law of Supply and Demand remained the best way to maximize market efficiency for all concerned. Doesn't this upend assumptions in The Law about prices? Are we about to abandon the invisible hand of the marketplace? If so, why? Free market economics has been held up as a shining example of providing better standards of living for the last 200 years.
by RSHEPP | 2025-07-18 14:06:58+00:00
My mother and her husband are COBOL devs for a US state government. She works on the health insurance side for teachers and other state employees. Think claim processing.

Lots of batch jobs running at night. Their alert system is an actual human who calls my mom when jobs fail in the middle of the night.

It's high paying for the city they live in, but not high paying for software development. They will both have full retirement and healthcare for life, assuming the government can fulfill it. They are both fully remote since COVID too.

She's also worked for state lottery, teacher's retirement system and DOT.

edit: she says they have a SQL database, but mostly store in IBM IMS
by phyzix5761 | 2025-07-18 14:07:16+00:00
The way they've explained it is that immorality is usually based on desire and aversion. And constantly giving in to these things creates a dependence where we're never satisfied with what we have. Having a structured moral code that allows for observing these mental qualities without giving in to them eventually leads to their reduction because we're breaking the habit pattern. Once your desires and aversions are reduced then you become more satisfied with what you have; ie eliminating depression in their case.
by latexr | 2025-07-18 14:07:16+00:00
That would be equivalent to only being able to play chess against a computer, so plenty of people would be left unsatisfied. That said, I like the direction you’re going.

Since we’re going the science fiction route of letting imagination run wild, perhaps the solution could lay in the sword itself. Picture something superficially indistinguishable from the real thing made from an equivalent to nanobots which remain tight and hard against each other but immediately let go and “shatter” when struck against something else. You could bang and clash swords in fierce battle, but as soon as you would deal a severe blow against your opponent your weapon would break and deal no real damage (but still count as a win). That could be intensely satisfying and lead to great moments.