News for hackers. Stuff that matters.

cjr

Nice! Which one do you use most often?
Isn’t Kees van der Westen the ferrari of coffee machines?!
Re:Show HN: Achromatic – AI Ready Next.js 16 Starter Kit on Saturday January 17, 2026 @03:52PM (#46661964)
Looks brilliant, well done! How about oRPC instead? And mikro-orm
also reminds me of https://onemillionscreenshots.com

(full disclosure - my screenshot api takes the screenshots :) )

Re:Claude.ai Is Down on Friday October 31, 2025 @05:42AM (#45770077)
Switch to codex? :)
Re:A stateful browser agent using self-healing DOM maps on Thursday October 16, 2025 @09:20AM (#45605016)
document.elementFromPoint to get the elem at co-ordinates, then use npm package similar to optimal-select to come up with a unique css selector.
Congratulations on the launch, this looks really nice.

I feel quite locked-in to Shadcn components now, especially after I found tweakcn.com.

Is there anything similar for untitled ui in the pipeline? A way to update the css variables and preview it across different components/layouts.

Re:Making Software on Thursday April 17, 2025 @06:28AM (#43714955)
looks great, i'd definitely pay for a coffee table style version of a book like this!
There are browser extensions you could run like consent-o-matic to try to click and hide the cookies from your screenshots:

https://chromewebstore.google.com/detail/consent-o-matic/mdj...

Otherwise using a combination of well-known class names, ‘accept’ strings, and heuristics such as z-index, position: fixed/sticky etc can also narrow down the number of likely elements that could be modals/banners.

You could also ask a vision model whether a screenshot has a cookie banner, and ask for co-ordinates to remove it, although this could get expensive at scale!

Re:How types make hard problems easy on Thursday December 19, 2024 @08:12PM (#42467384)
nice post :)

I’m surprised there’s not been any mention of effect (http://effect.website/) yet, as it is kind of the next level up if you really want to model things like errors, dependencies and side effects in the type system, using functional concepts borrowed from more pure functional languages.

It would be a bit of a risk adopting this into a shared code base depending on your team and the kinds of devs you’re looking to hire, but it could be useful to some folk that feel like they want even more type safety.

Re:Kubernetes on Hetzner: cutting my infra bill by 75% on Sunday December 01, 2024 @11:48AM (#42289284)
What about cluster autoscaling?
Re:Rewrite it in Rails on Monday November 04, 2024 @03:04PM (#42045500)
I'd say adonisjs[1] is the closest thing in TS land to rails. There's also sailsjs[2].

Neither are as trendy as nextjs/sveltekit etc, but those are not really comparable to rails.

[1]: https://adonisjs.com

[2]: https://sailsjs.com

Re:Ask HN: Best Tools for Monorepo? on Wednesday July 31, 2024 @03:25PM (#41122524)
This might be more suited to monorepos where all projects are in JS/TS, but check out https://onerepo.tools
3.93 megatons of CO2 is roughly equivalent to:

  • About 149,714 short-haul flights, or
  • About 37,429 long-haul flights.
Re:Developing Inside a Container on Wednesday July 03, 2024 @08:36AM (#40865366)
https://devspace.sh also gives a similar workflow but where the container is running in a remote k8s cluster
No - we don't currently support this feature as nobody has asked for it so far :)

You could append a new meta tag by running some custom JS to add it, but we don't modify exif, metadata or pdf description at the moment.

I work on a paid screenshot api[0] where we have features to either hide these banners and overlays using css, or alternatively we run some javascript to send a click event to what we detect as the 'accept' button in order to dismiss the popups.

It's quite a painful problem and we screenshot many millions of sites a day, our success rate at detecting these is high but still not 100%.

We have gotten quite far with heuristics and are exploring whether we can get better results by training a model.

[0]:https://urlbox.com

Re:FastUI: Build Better UIs Faster on Saturday March 02, 2024 @03:47PM (#39575610)
Have you checked out https://kirimase.dev?
Re:Show HN: Pages CMS – A CMS for GitHub on Thursday February 22, 2024 @07:23PM (#39475263)
This looks and sounds great...

I'm currently using contentlayer [https://github.com/contentlayerdev/contentlayer] to manage docs and blog content, mostly .mdx files on urlbox.com.

It works well with next.js but unfortunately is abandonware now.

I also have a few custom remark/rehype plugins.

You're right it is a pain to update articles buried in your repo especially with less technical team members. I already tried out TinaCMS to try and solve the editing issues, but their editor wasn't so nice, and it seemed to implicitly make a commit on every tiny change to any content, so I'm really hoping I could use something like this to edit my already existing content...

jerry, svix, lago etc.. clear growth hack :)
Or removing the right sized bean to go from 18.1g to 18g
Hard agree, especially with your first two paragraphs :)

The biggest tip I would add is to bin jest and start using vitest.

Older »