Hacker Newsnew | past | comments | ask | show | jobs | submit | tk90's commentslogin

I'm working on exactly this! I'm building a small model that classifies the correct DOM node containing an HTML's article content/title/date/author (given a raw html with a lot of noise/chrome). A fun learning exercise :)

30KB model, 40-50ms inference. Pretty happy with the results so far!

I can see an entire industry of tiny models like this, now that we have AI to help us do the grunt setup work (validation/training data creation, data cleaning, etc). Or just use a general classifier like Jev/Kev ha


Is this like for cleaning html data from say common crawl ?

30kb model is super impressive.

What’s the model architecture?


> I find the post cursor groks are phenomenal at frontend web development, though Claude is much better at backend ruby.

Wonder if we'd benefit from a much more specialized + task-specific benchmarks to paint a clearer picture like this. A benchmark solely for frontend, ruby, hardware, etc.


Agreed, Claude has a "Claude Design" tool but doesn't publish any frontend brenchmarks. Maybe the industry will develop one.

closest thing I've seen is https://github.com/tobi/qmd, though it requires installing 3 local embedding models (300MB, 640MB, 1.1GB).



A couple weeks ago my Ghostty session crashed and found that it was using 40GB of RAM(!) - glad this was resolved!


Pretty cool, especially the voice and background music - feels just right.

I asked it about pointers in Rust. The transcript and images were great, very approachable!

"Do not let your computer sleep" -> is this using GPU on my machine or something?


No! We just had that because we had not built the library feature yet, and just forgot to remove it. Now you can access through there!!


If you found this interesting, I highly recommend reading "The Righteous Mind" by Jonathan Haidt. It's deeply impacted how I think of morality and politics from a societal and psychological point of view.

Some ideas in the book:

- Humans are tribal, validation-seeking animals. We make emotional snap judgments first and gather reasons to support those snap judgments second.

- The reason the political right is so cohesive (vs the left) is because they have a very consistent and shared understanding and definitions of what Haidt calls the 5 "moral taste receptors" - care, fairness, loyalty, authority, sanctity. Whereas the left trades off that cohesive understanding with diversity.


I've really enjoyed Haidt's book, though its really a couple of different books in one. I need to read his other work.

To your point about left and right, an interesting point I heard recently is that the left is coalition-driven whereas the right is consensus-driven (at least in US politics). Mapping this back to Haidt, one of his findings is that the left tends to greatly emphasize one or two of the "moral taste receptors", with the right having a roughly equal emphasis between them. It isn't clear to me how these two points might explain each other, but I do wonder if there isn't some self-reinforcement there. If there is, I wonder how/if that might explain political systems more widely.


> I need to read his other work.

I can recommend his Happiness Hypothesis.


>>The reason the political right is so cohesive (vs the left)

Citation excruciatingly needed. This feels like recency bias imo. The Right (I'm assuming we're going US here?) is a coalition of people all walks just as much as the left. I mean, right now large chunks Trump voters are rioting over the Epstein non-release and all the people who were in it for the tax breaks are trying to convince them to stop.


Hi Peter! Thank you for doing this. Are you seeing any issues/concerns with Green Card holders traveling internationally and returning to the US in the past few months?


Only that even with green card holders, we have seen instances where CBP is asking to see electronic devices and reviewing their social media accounts. But we haven't had a green card holding client detained or denied admission.


lol. in LA everyone's instagram just shows ICE getting beaten and the epstein files posts that follow these. I wonder how fun it must be to travel nowadays.


thank you!


There is the case of a German Green Card holder being detained: https://newhampshirebulletin.com/2025/05/09/nashua-german-am...

There’s also some tourists being detained, e.g. https://www.dw.com/en/german-nationals-us-immigration-detain... One common thread seems to be past DUIs, misdemeanors and infractions.


Is there a Rust equivalent to this? I'd like to dive into a rust "api_starter" as someone with mostly NodeJS experience!


> Can they read code and debug it in their head?

> Strong engineers, however, can break out the two problems and solve them at the same time.

Disagree so much with this. A "good" engineer breaks a problem down, solves them one by one, and avoids mentally juggling multiple things at once if possible.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: