News for hackers. Stuff that matters.

superasn

Ask HN: How are much smarter AI models made?

I am curious what actually happens between two generations of AI models.For example, how do you go from Sonnet to Opus? Is Opus trained from scratch, built on Sonnet, or mostly the same model with more compute and training?And how do models like Astra suddenly make a big jump in some capabilities? What is stopping Anthropic, Mistral, or others from doing the same thing? Is the main difference...

( Read More... | 6 comments | 4 points | on HN )
Re:Maximizing the value of your Claude Code sessions on Friday August 14, 2026 @05:32PM (#49304847)
Recently I came across the /handoff skill, which I've been using a lot. I find it much better than /compact.

Basically:

- /handoff file creates a short document with the important context from your current session and maybe next steps as checklist.

- You can then start a fresh session with /continue file

- You can also hand the work from Claude to ChatGPT, or the other way around. Very useful at time of session limits.

- Plus your handoff files becomes a useful piece of project memory that you can reference later.

I find this much more useful than /compact or /clear because the context is saved in something portable instead of being tied to one session and i've seen better results doing this every 20 messages or so than running long sessions.

Re:Marfa Public Radio Puts You to Sleep on Sunday June 28, 2026 @04:35AM (#48705507)
One trick that makes me sleepy really fast: After I close my eyes, I imagine someone throwing black paint on them. The first coat is kinda gray and has lots of blob and not fully black. Then another coat. And another. Each one gets darker until it's just pure black and I'm usually asleep by then.

For some reason, my brain follows it, and I fall asleep much faster. It works way better for me than box breathing or most other sleep tricks I've seen. Sharing in case someone else finds this useful.

I think that is sale pricing at 75% discount till end of May only.
Re:Show HN: TikTok but for Scientific Papers on Tuesday May 12, 2026 @02:33AM (#48104941)
This is against the Show HN rules from what i can see:

> If your work isn't ready for users to try out, please don't do a Show HN. Once it's ready, come back and do it then. Don't post landing pages or fundraisers.

https://news.ycombinator.com/showhn.html

Oh you're right to push back. I just love saying this nowadays :P Anyway, I haven't used these languages in a long time but the code looked like php to me, though I did notice the .pm file extension and wondered where I've seen it before.
Everytime I read one of these it always boils down to the same thing..Don't solve solved problems. And the best code in this case is code you didn't write as PHP's session handler is battle-tested but every line you write to roll your own is a line you have to secure, maintain, and eventually patch at 2am when someone finds the bug.

Session handling, auth, crypto, password hashing etc - all these are the exact areas where you should be the most allergic to rolling your own. Not because you're not smart enough, but because a simple bug like sanitizing in the wrong place and the failure is catastrophic like in this instance.

Use boring, proven, widely-audited solutions. Save your creativity for the actual problem you're solving.

Ask HN: What recent UX changes make no sense to you?

For me, it is the shift toward thin, auto-hiding scroll bars. I see it on macOS, Linux (Mint), mobile phones and probably Windows too (though i haven't used windows in a while).Is this a cleaner look? I have always loved visible scroll bars because they act as useful guides for where I am on a page and how much content remains and just easy to drag. Now you have to hover over it first.I am...

( Read More... | 36 comments | 16 points | on HN )
Re:You can now play Grand Theft Auto Vice City in the browser on Friday December 19, 2025 @03:10PM (#46330313)
This works amazing well. I started playing and just 5 minutes in, I was completely hooked and ended up playing for almost half hour.

It could be that I'm a bit old-school, but this really seemed to confirm that ready to play fun gameplay trumps realistic graphics any day!

This is a pretty scary exploit, considering how easily it could be abused.

Imagine just one link in a tweet, support ticket, or email: https://discord.com/_mintlify/static/evil/exploit.svg. If you click it, JavaScript runs on the discord.com origin.

Here's what could happen:

- Your Discord session cookies and token could be stolen, leading to a complete account takeover.

- read/write your developer applications & webhooks, allowing them to add or modify bots, reset secrets, and push malicious updates to millions.

- access any Discord API endpoint as you, meaning they could join or delete servers, DM friends, or even buy Nitro with your saved payment info.

- maybe even harvest OAuth tokens from sites that use "Login with Disord."

Given the potential damage, the $4,000 bounty feels like a slap in the face.

edit: just noticed how HN just turned this into a clickable link - this makes it even scarier!

Great job on this release! I've been waiting for something like it since my favorite browser, Kiwi, stopped getting updates.

Without updates, many sites will likely stop working with it soon.

Kiwi had some great features, like disabling AMP mode, rearranging the Chrome Store for mobile, and customizable tab layouts, etc. These features might interest others as well.

Re:Helium Browser on Wednesday September 24, 2025 @11:11PM (#45368888)
Yes I'd be interested too. I'm still using Kiwi browser but afraid it will stop working anytime soon.

I did recently see this browser is unsafe when trying to open Gmail in it, so any chromium based update to date alternative there would be amazing!

Re:Product Hunt is dead on Wednesday September 24, 2025 @03:31PM (#45364959)
I agree with this take, Product Hunt felt like it was chasing short term goals instead of building something sustainable They also allowed and sometimes encouraged behavior that undermined the quality of the site

The last time I used it one of the common hacks was adding 50 makers to a single app launch PH also openly condoned mass email blasts and tweets to drive votes which just rewarded whoever could push the hardest on promotion

In contrast Hacker News discourages asking people for upvotes and even treats it as a negative if you do That longterm focus on signal over hype is probably why HN still feels useful today while PH lost its way

Thanks for the helpful reply! As I wasn't able to fully understand it still, I pasted your reply in chatgpt and asked it some follow up questions and here is what i understand from my interaction:

- Big models like GPT-4 are split across many GPUs (sharding).

- Each GPU holds some layers in VRAM.

- To process a request, weights for a layer must be loaded from VRAM into the GPU's tiny on-chip cache before doing the math.

- Loading into cache is slow, the ops are fast though.

- Without batching: load layer > compute user1 > load again > compute user2.

- With batching: load layer once > compute for all users > send to gpu 2 etc

- This makes cost per user drop massively if you have enough simultaneous users.

- But bigger batches need more GPU memory for activations, so there's a max size.

This does makes sense to me but does this sound accurate to you?

Would love to know if I'm still missing something important.

Ask HN: How can ChatGPT serve 700M users when I can't run one GPT-4 locally?

Sam said yesterday that chatgpt handles ~700M weekly users. Meanwhile, I can't even run a single GPT-4-class model locally without insane VRAM or painfully slow speeds.Sure, they have huge GPU clusters, but there must be more going on - model optimizations, sharding, custom hardware, clever load balancing, etc.What engineering tricks make this possible at such massive scale while keeping...

( Read More... | 366 comments | 48 points | on HN )
Re:Cerebras Code on Friday August 01, 2025 @08:53PM (#44764044)
Pretty sure this is there to prevent this[1] from happening to them

[1] https://www.viberank.app/

I like the concept but the landing page is not good and too heavy.

My browser just froze after scrolling half-way. Not sure if this is something to do with the scroll fx but i really don't understand why this simple site is maxing out my CPUs.

I'm not a fan of usage caps either, but that Reddit post [1] (“You deserve harsh limits”) does highlight a perspective worth considering.

When some users burn massive amounts of compute just to climb leaderboards or farm karma, it’s not hard to imagine why providers might respond with tighter limits—not because it's ideal, but because that kind of behavior makes platforms harder to sustain and less accessible for everyone else. Because on the other hand a lot of genuine customers are canceling because they get API overload message after paying $200.

I still think caps are frustrating and often too blunt, but posts like that make it easier to see where the pressure might be coming from.

[1] https://www.reddit.com/r/ClaudeAI/comments/1lqrbnc/you_deser...

Always use ORMs and then spend the next year debugging N+1 queries, bloated joins, and mysterious performance issues that only show up in prod.

Migrations randomly fail, schema changes are a nightmare, and your team forgets how SQL works.

ORMs promise to abstract the database but end up being just another layer you have to fight when things go wrong.

This is the new source of income and a lot of media orgs are getting paid - take ANI in India.

Theyve been hitting YouTubers like Mohak Mangal, Nitish Rajput, Dhruv Rathee with copyright strikes for using just a few seconds of news clips which you would think is fair use.

Then they privately message creators demanding $60000 to remove the strikes or else the channel gets deleted after the third strike.

It s not about protecting content anymore it's copyright extortion. Fair use doesn't matter. System like Youtube makes it easy to abuse and nearly impossible to fight.

It s turning into a business model: pay otherwise your channels with millions of subs get deleted

[1] https://the420.in/dhruv-rathee-mohak-mangal-nitish-rajput-an...

Re:Preliminary report into Air India crash released on Saturday July 12, 2025 @08:51AM (#44541709)
Not sure why something so important isn't included.

Heck they can make a back up directly to the cloud in addition to black box considering I'm able to watch YouTube in some flights nowadays.

Re:Preliminary report into Air India crash released on Saturday July 12, 2025 @04:30AM (#44540315)
Is there a video feed of the cockpit inside the black box?

If not there should be one as even my simple home wifi camera can record hours of hd video on the small sd card. And If there is, wouldn't that help to instantly identify such things?

It just takes me to the pricing page after signup and I can't access anything.

Pretty sure this is against the Show Hn guidelines.

I appreciate you bringing up this issue about the Cloudflare challenges making it hard to browse. I had a similar experience where I couldn't access jsfiddle even without using a VPN. As a result, I switched to a different platform for my coding experiments.

JsFiddle used to be my favorite for quickly testing out code snippets. It's a shame that due to Cloudflare hurdles, I've stopped using it and don't plan on going back.

It may not be much but as more websites and businesses lose genuine web traffic like this, Cloudflare might eventually listen and fix this mess.

Older »