MurphyA/hacker-news huggingface dataset:
Show HN: I built an multi-devices AI usage analytics app for Claude Code
by fuzzyrock | 2025-07-05 18:59:32+00:00
Hi! This app helps you get a clear view of how you are using Claude Code. It shows stats like message counts, token usage, sessions, projects, and even estimates your API costs. One of its best features is the ability to sync your usage across devices, giving you a complete picture over different time periods. It respects your privacy by only collecting aggregated usage data. No conversation or code details are ever touched.

There has been some controversy around tracking usage and whether it might lead to price hikes or limits, but honestly, Anthropic probably already knows this data. The app is more about helping you optimise your workflow, not exposing anything sensitive. It also includes a ranking system so you can get a sense of how others are using Claude Code and maybe learn from their patterns.

I built it with a solid backend architecture to be scalable and responsive, running on a small Kubernetes cluster. The goal is to help people like us understand and improve how we work with Claude Code, all wrapped up in a simple web and CLI interface.
by an0malous | 2025-07-05 19:00:05+00:00
That’s not a denial, a denial would be “no I didn’t do a Nazi salute.” He has never said that, and you’re conveniently ignoring the speech he gave to white nationalists a week later.

If I said the n word, you would have a reason to believe I’m racist and I would apologize for using a word that is unambiguously associated with racists, even if I’m not a racist.
by dlivingston | 2025-07-05 19:00:36+00:00
Category error.

StackExchange is a massive, global forum which has to react defensively in order to maintain its high-quality knowledgebase against spammers, scammers, and the same questions being posed 10^N times.

The context here is about knowledge dissemination in local teams, groups, or organizations. Completely separate category, levels of trust, motivations, incentives, etc.
by thaumasiotes | 2025-07-05 19:00:43+00:00
> Traditional desktop apps were sold as single purchase items on CDs. That just doesn't work for local first software, since you probably just navigate to a website to get the software.

How does the reason you provide support the idea you provide it in support of? There are an infinite number of things that are sold as single purchases that you buy by just navigating to a website where you make the purchase.

There are an infinite number of things that are sold as single purchases on CDs that you buy by just navigating to a website where you make the purchase.
by natebc | 2025-07-05 19:01:33+00:00
> Hallucination does seem to be much less of an issue now. I hardly even hear about it - like it just faded away.

Last week I had Claude and ChatGPT both tell me different non-existent options to migrate a virtual machine from vmware to hyperv.

Week before that one of them (don't remember which, honestly) gave me non existent options for fio.

Both of these are things that the first party documentation or man page has correct but i was being lazy and was trying to save time or be more efficient like these things are supposed to do for us. Not so much.

Hallucinations are still a problem.
by AnthonyMouse | 2025-07-05 19:02:21+00:00
> This is trying to solve a business problem (I can't trust cloud-providers) with a technical trade-off (avoid centralized architecture).

Whenever it's possible to solve a business problem or political problem with a technical solution, that's usually a strong approach, because those problems are caused by an adversarial entity and the technical solution is to eliminate the adversarial entity's ability to defect.

Encryption is a great example of this if you are going to use a cloud service. Trying to protect your data with privacy policies and bureaucratic rules is a fool's errand because there are too many perverse incentives. The data is valuable, neither the customer nor the government can easily tell if the company is selling it behind their backs, it's also hard to tell if he provider has cheaped out on security until it's too late, etc.

But if it's encrypted on the client device and you can prove with math that the server has no access to the plaintext, you don't have to worry about any of that.

The trouble is sometimes you want the server to process the data and not just store it, and then the technical solution becomes, use your own servers.
by hemant6488 | 2025-07-05 19:02:29+00:00
I've been building exactly this with SoundLeaf [0] - an iOS client for the excellent open-source Audiobookshelf server. No data collection, no third-party servers, just your audiobooks syncing directly with your own instance.

The user-friendliness challenge is real though. Setting up Audiobookshelf [1] is more work than "just sign up," but once you have it running, the local-first client becomes much cleaner to build. No user accounts, no subscription billing, no scaling concerns. Simple pricing too: buy once, own forever. No monthly fees to access your own audiobooks.

[0] https://soundleafapp.com

[1] https://github.com/advplyr/audiobookshelf
by seadan83 | 2025-07-05 19:02:53+00:00
This reminds me of the tables-flipped version of this. A multiple choice test with 10 questions and a big paragraph of instructions at the top. In the middle of the instructions was a sentence: "skip all questions and start directly with question 10."

Question 10 was: "check 'yes' and put your pencil down, you are done with the test."
by PickledChris | 2025-07-05 19:02:59+00:00
I've been letting Gemini run gcloud and "accept all"ing while I've been setting some things up for a personal project. Even with some limits in place it is nervewracking, but so far no issues and it means I can go and get a cup of tea rather than keep pressing OK. Pretty easy to see how easy it would be for rogue AI to do things when it can already provision its own infrastructure.
by kbelder | 2025-07-05 19:03:00+00:00
Way back when, before it was very feasible for the general public to get internet access (in the Mosaic days, maybe 94 or 95), I found that I could access my local college library with my dial-up modem. Their system let you connect to the lending services of other university libraries. I found one (maybe Oregon State?) that let you access Gopher. That was pretty interesting in it's own right, but there was no ability to display images, and the functionality to download files was removed, so pornography was frustratingly hard to obtain. You could look at ascii art...

But you could dump uuencoded binary files to the screen. Capture it, read it from the text buffer, reformat it, decode it, and then... a glorious 25kb jpg of a scanned Playboy image. (In HAM mode on my Amiga.)

I spent so much time doing that stuff. Wasted time, in a sense, but it motivated me to learn much I might not otherwise have bothered to. The desire of a young man to see a woman in her glory should not be underestimated; societies suffer if they point that energy in the wrong direction.

As a 37-year old married man, the OP has probably acquired some other motivations, though.
by pcrh | 2025-07-05 19:03:22+00:00
How is an LLM supposed to review an original manuscript?

At their core (and as far as I understand), LLMs are based on pre-existing texts, and use statistical algorithms to stitch together text that is consistent with these.

An original research manuscript will not have formed part of any LLMs training dataset, so there is no conceivable way that it can evaluate it, regardless of claims that LLMs "understand" anything or not.

Reviewers who use LLMs are likely deluding themselves that they are now more productive due to use of AI, when in fact they are just polluting science through their own ignorance of epistemology.
by echelon | 2025-07-05 19:03:35+00:00
No it's not. It's dealing with the red tape of EU cookie legislation.

Do you want to know how many human years my last company had to devote to regulation? We could have built a hundred startups with all that effort.

I'm not saying GDPR right to be forgotten and data dump/portability isn't important, but it comes with a steep cost that everyone pays everywhere. So much time and money was spent on it. Easily billions of dollars.

And the cookie stuff? How useful has that been?
by kragen | 2025-07-05 19:03:37+00:00
I can't imagine what process of transferring cash could be less inconvenient than someone handing me a small piece of paper? And the commission was less than 5%.

The fact that it wasn't a lot is precisely why this is a good example of Bitcoin being more liquid than real estate. You can't sell US$100 of real estate, not even here in Argentina.
by Calavar | 2025-07-05 19:04:25+00:00
I think subscription models became associated with SaaS because cloud hype was at its peak around the time the first big corps were first migrating their products from perpetual licensing to susbscription, and just being on the cloud was seen as a selling point weighty enough to justify the price bump.

Now that cloud hype has died down, I don't see why subscription based would not be viable just because your product runs locally (assuming that all your competitors are already subscription based). ZBrush started selling local first subscriptions, so I guess we'll see soon enough whether that works out for them.
by NoTranslationL | 2025-07-05 19:04:44+00:00
I purposely did not set up any infrastructure for my iOS app Reflect and made it local-first [0]. I did it so that I could make the app completely private but it’s come with the wonderful side effect that the product is easily horizontally scalable. The only overhead I have for more users is a busier discord channel and so far that community growth has felt very rewarding.

[0] https://apps.apple.com/us/app/reflect-track-anything/id64638...
by DougN7 | 2025-07-05 19:05:08+00:00
I agree with a lot, but maybe not his specific case. I have a Windows software product. If someone said they wanted it for the Mac, I’d say no without a second thought. Sure, he THINKS he’s going to fund it with his sales, but that is actually very unlikely. I’ll have to hire engineers and QA that know the Mac ecosystem. That new code base will then have to be maintained, supported and updated for many years. He doesn’t sound like he was going to be making a long term guarantee of $200K per year in sales. All the risk and initial expense is on me (or the company in question) and he might follow through and be a customer for a few years when the software is ready. So although the CEO just deleting the message without responding was rude in my opinion, not jumping at someone’s idea doesn’t mean the company is short sighted or doesn’t care.
by j_timberlake | 2025-07-05 19:05:53+00:00
Your post doesn't contain a single prediction of a problem that will occur, dangerous or otherwise, just some vague reference to "the baby might get thrown out with the bathwater". This is exactly what I'm talking about, you just talk around the issue without naming anything specific, because you don't have anything. If you did, you'd state it.

Meanwhile the AI companies continue to produce new SotA models yearly, sometimes quarterly, meaning the evidence that you're just completely wrong never stops increasing.
by Animats | 2025-07-05 19:06:41+00:00
"A disturbing amount of effort goes into making AI tools engaging rather than useful or productive."

Right. It worked for social media monetization.

"... hallucinations ..."

The elephant in the room. Until that problem is solved. AI systems can't be trusted to do anything on their own. The solution the AI industry has settled on is to make hallucinations an externality, like pollution. They're fine as long as someone else pays for the mistakes.

LLMs have a similar problem to Level 2-3 self-driving cars. They sort of do the right thing, but a human has to be poised to quickly take over at all times. It took Waymo a decade to get over that hump and reach level 4, but they did it.
by dimal | 2025-07-05 19:07:02+00:00
Won’t make much of a difference? To what?You’re only talking about whether to offshore or not. Not whether to HIRE or not.

Many companies simply won’t offshore core functions because doing product development on your core product with a team in a different time zone or from a very different culture often doesn’t work. But this will matter to companies that have laid off US engineers or avoided hiring and now won’t have that extra tax burden.
Ask HN: What are fundamental books on systems, system thinking, reliability?
by dondraper36 | 2025-07-05 19:07:36+00:00
I am currently reading Thinking in Systems by Meadows, and the book has been terrific so far.

Also, as an avid fan of aviation, I enjoyed reading Field Guide to Understanding Human Error by Dekker and found it super applicable to designing software systems.

Can you think of any other similar books on systems and their reliability?

I know there's a book from MIT called Engineering a Safer World, which might be what I'm looking for, but I have been delaying it due to its impressive volume of almost 600 pages.
by Nathanba | 2025-07-05 19:07:45+00:00
here is what helped reduce my chronic neck pain: red meat (beef) with no side dish, eating healthy in general (and I mean truly healthy, not "oh one small candy bar every two days is proably okay..." no, it actually isn't. It's poison.) and exercise, a foam roller, bench press. Also definitely don't eat leafy greens, if you do that then you should stop in my opinion. I can't emphasize enough how important it is to truly eat perfectly. You can't make a single mistake or it will start the sickness cycle again. Not immediately but even a single piece of chocolate will make it so that the body is susceptible to further damage the next day. Then if I eat another piece the second day I'm really risking it and the damage left a hole in my health. I've had multiple instances where I ate a piece of cake and a donut and I was getting sickly with a hot head within 2h. I think it's hard to emphasize enough how important health is, it should be your top hobby to be healthy and eat healthy. It should be your nr.1 pasttime to research health and draw joy from doing health related things.
Ask HN: Is there a market for agentic scraping tools?
by mxfeinberg | 2025-07-05 19:07:46+00:00
As a long time data scientist and engineer, I've had to write a couple of quick and dirty scrapers and bots over the years using selenium and more recently playwright. I haven't really been tracking it, but I've also been reading about the crawl4ai project.

With the explosion of AI agents, I've been playing around with building agentic scrapers that can simply be given a prompt and a target site and are able to return structured data in a specified format. I've also been playing around with adding in steps that have a different model/step attempt to define the structured format dynamically.

However, as with most AI projects, the token consumption can scale pretty aggressively.

Has anyone else been working on similar projects? Would people realistically pay $0.025 to $0.03 per request?
by RaftPeople | 2025-07-05 19:09:28+00:00
> Were you around for the OOP craze?

In the early 90's I was working for a large ERP company that went all in on OOP and distributed objects.

I was talking to one of the guys from the new team they created to re-write the entire system and had an entertaining conversation:

Tech guy that had drunk the kool-aid (TGTHDTKA): "...and the objects can just automatically interact with each other, like I can drop this person object on the phone object and it just automatically makes the phone call to that person"

Me: "Uh, but you still had to write specific code that causes that interaction to occur, you can't just do that with objects that haven't agreed on how to communicate"

TGTHDTKA: "No, it's all automatic because a person has a phone number and a phone uses a phone number to make calls, so you don't have to code anything special"

etc.
by diggan | 2025-07-05 19:09:35+00:00
Original submission title, which I think better captures the actual change that has happened:

"Buying custom adult content became illegal in Sweden first of July 2025". It seems moderators may have gotten a bit too eager with improving the title :)

This is the official message/news from the government, but it's in Swedish only: https://www.regeringen.se/pressmeddelanden/2025/02/nya-lagfo...

Another perspective (also in Swedish) from the "Swedish Gender Equality Agency", which contains a bit more background on why the law was changed: https://jamstalldhetsmyndigheten.se/aktuellt/nyheter/starkt-...
by charcircuit | 2025-07-05 19:09:38+00:00
>not other people

The website is hosted by Automattic. The Firefox extention is hosted by Mozilla. The Chrome extention is hosted by Google. The Obsidian plugin is hosted by Obsidian. The VSCode extention is hosted by Microsoft. The source code is hosted by Github. The discord is hosted by Discord.

If you delegate your entire backend to other companies you won't be the one who has to worry about scaling.
by FerkiHN | 2025-07-05 19:10:06+00:00
Wow bro, that's cool, I especially liked the game, it's cool, and I'm currently developing a utility for viewing photos right in the terminal.

https://github.com/Ferki-git-creator/phono-in-terminal-image...

It's not ready yet, but can you please support it with a star like I did for you?
by Doxin | 2025-07-05 19:10:07+00:00
Part of the confusion here is that writing '{"key": "value\nda"}' in python is NOT producing a string like this:

{"key": "value\nda"}

but instead like this:

{"key": "value da"}

you need to either double-escape it, or use raw strings. In python these both:

'{"key": "value\\nda"}' r'{"key": "value\nda"}'

will produce the following string:

{"key": "value\nda"}
by agf | 2025-07-05 19:10:36+00:00
Corrupt Qeynos Guards -- Qeynos is SonyEQ spelled backwards. And, depending on your race / class, it didn't even take that much to make them hate you.

Killing the corrupt guards, often one at a guard tower in the Plains of Karanas west of town, and turning in their bracelets to a non-corrupt guard at the bridge to South Karanas, was great XP for quite a few levels in the midgame. And it is possible to repair the corrupt guard XP (slowly) with low-level quests.
by 2color | 2025-07-05 19:10:57+00:00
It's a very exciting moment for this movement. A lot of the research and tech for local-first is nearing the point that it's mature, efficient, and packaged into well designed APIs.

Moreover, local-first —at least in theory— enables less infrastructure, which could reignite new indie open source software with less vendor lock-in.

However, despite all my excitement about embracing these ideas in the pursuit of better software, there's one hurdle that preventing more wide spread adoption amongst developers, and that is the Web platform.

The Web platform lacks building blocks for distributing hashed and/or signed software that isn't tied to origins. In other words, it's hard to decouple web-apps from the same-origin model which requires you set up a domain and serve requests dynamically.

Service Workers and PWAs do help a bit in terms of building offline experiences, but if you want users to download once, and upgrade when they want (and internet is available), you can't use the Web. So you end up breaking out of the browser, and start using Web technologies outside of the browser with better OS functionality, like Electron, React Native, Tauri et al (the https://userandagents.com/ community is doing some cool experiments in this space).
by perching_aix | 2025-07-05 19:11:18+00:00
Then what is it that you do see? Because I see references to specific releases like this, with an audio embed following them right after:

> Hear below Stockhausen’s “Kon­tact,” Henry’s “Astrolo­gie,” and Bayle’s spare “The­atre d’Ombres” fur­ther down.
by gritzko | 2025-07-05 19:11:22+00:00
Local first apps have some peculiar technical features, yes. I worked on CRDTs from maybe 2008 and in 2012 we made a collaborative editor. Local first, all data on the client, syncing by WebSocket. I remember when we debugged it we once had a problem resetting a document. It kept reappearing. The guilty was an iPad laying on the table face down. It synced all the data back. That was seriously different from e.g. Evernote that was losing data all the time. In our system, intentionally purging was really difficult.

Once we ran two weeks with a "poisoned" document that was crushing any server it was uploaded to. The user kept the tab open just working like nothing was happening. Then, we found the bug, but in theory we may have made the entire cluster restart all the time. Apart from electricity consumption, that would hardly change anything. The load and syncing time would be worse, but not by much.

With local-first, everything keeps working even without the server.

Here is the 2012 engine, by the way:

https://github.com/gritzko/citrea-model
by kibwen | 2025-07-05 19:11:25+00:00
Agreed that RPN (and stack machines) are beautiful and underappreciated. Unfortunately, it's for a relevant reason that I have to push back against the author's newfound love of recursion. Like everyone else I had the same brain-exploding moment when I realized that recursion was possible and how if forced me to re-think what functions were capable of, but now that I'm old and ornery I'm of the Hot Take that recursion is a clumsy alternative to a loop, not the other way around. Which is to say, if a portion of a program is going to threaten to execute for an unbounded amount of time, I want that fact to be explicitly called out in the code via a looping construct, rather than having to worry whether any random function call is going to recur (or even mutually recur), to say nothing of the efficiency of holding onto a single piece of loop-relevant mutable state rather than forcing my runtime to handle an unbounded number of stack frames. If your language both guarantees tail recursion and calls it out syntactically, then you get a pass, otherwise I'd be perfectly happy working in languages that didn't support recursion at all.
by dsr_ | 2025-07-05 19:11:52+00:00
That's not how L2ARC works. It's not how the ZIL SLOG works, either.

If a read request can be filled by the OS cache, it will be. Then it will be filled by the ARC, if possible. Then it will be filled by the L2ARC, if it exists. Then it will be filled by the on-disk cache, if possible; finally, it will be filled by a read.

An async write will eventually be flushed to a disk write, possibly after seconds of realtime. The ack is sent after the write is complete... which may be while the drive has it in a cache but hasn't actually written it yet.

A sync write will be written to the ZIL SLOG, if it exists, while it is being written to the disk. It will be acknowledged as soon as the ZIL finishes the write. If the SLOG does not exist, the ack comes when the disk reports the write complete.
by jodrellblank | 2025-07-05 19:11:55+00:00
“New analysis shows statins have "minimal" benefits” - Maryanne Demasi, PhD - https://blog.maryannedemasi.com/p/new-analysis-shows-statins...

“We carried out a systematic review and meta-analysis of 21 statin trials involving 143,532 participants, using similar criteria to the CTT, and found no consistent relationship between lowering LDL-C with statins and death, heart attack or stroke.” - published in JAMA behind paywall, apparently

But you’re still wrong because she says “Statins are very effective at lowering LDL-C” which is literally something even if that doesn’t translate to less death.
by dang | 2025-07-05 19:12:02+00:00
It looks like a mod reverted the title to the article's original title (in keeping with the title guideline at https://news.ycombinator.com/newsguidelines.html), but if it's not accurate, that's a good reason to change it (as the guideline also says).

It's always better to use representative language from the article itself, though, so I've used the first sentence of the article instead.