HN user

cjr

583 karma

Founding developer at urlbox.com - screenshots as a service API YC S12 alum (Quillu/OctaveWealth) Previously bluebook academy

Posts41
Comments54
View on HN
www.bbc.co.uk 1mo ago

Why reluctant 'guru' says Dutch will win World Cup

cjr
6pts0
www.bbc.co.uk 1y ago

Preliminary report into Air India crash released

cjr
407pts883
daringfireball.net 1y ago

The Things They Carried

cjr
8pts3
learnk8s.io 2y ago

Kubernetes Instance Calculator

cjr
2pts0
www.theguardian.com 2y ago

Coffee, eggs and white rice linked to higher levels of PFAS in humans

cjr
8pts2
kirimase.dev 2y ago

Rails-like CLI for full-stack nextjs typescript apps

cjr
2pts0
www.bbc.co.uk 2y ago

Tyrannosaur's last meal was two baby dinosaurs

cjr
2pts0
www.urlbox.io 3y ago

Using chatGPT to render HTML and capture screenshots

cjr
9pts3
www.bbc.co.uk 5y ago

WHO team says 'extremely unlikely' virus leaked from lab

cjr
4pts0
alexkondov.com 5y ago

Tao of React

cjr
1pts0
rocketgems.com 5y ago

Why more developers should start content businesses

cjr
1pts0
www.julian.com 8y ago

Growth Hacking: How to Acquire Users

cjr
3pts0
hackernoon.com 8y ago

From Callback to Future – Functor – Monad

cjr
1pts0
www.bbc.co.uk 9y ago

Service station thieves 'using car key jammers'

cjr
1pts0
www.bbc.co.uk 9y ago

Twitter axes Vine video service

cjr
69pts1
www.bbc.co.uk 9y ago

MH370: Missing jet 'could be further north'

cjr
1pts0
voice.kadira.io 10y ago

State of React and CSS

cjr
71pts56
github.com 10y ago

Jfrazelle/dockerfiles: Various Dockerfiles

cjr
25pts1
medium.com 10y ago

Designing simpler React components

cjr
54pts23
www.bbc.co.uk 10y ago

Apple customer goes to the top for iPhone battery answer

cjr
2pts4
webkit.org 10y ago

10 Years of Web Inspector

cjr
2pts0
medium.com 10y ago

The uncomfortable state of being Asian in tech – triketora on medium

cjr
3pts0
www.nngroup.com 10y ago

Flat Design: Its Origins, Its Problems, and Why Flat 2.0 Is Better for Users

cjr
2pts0
ponyfoo.com 10y ago

ES6 Reflection in Depth

cjr
1pts0
uk.businessinsider.com 10y ago

This British startup raised $11M in February – now it's shutting down

cjr
4pts0
github.com 10y ago

DrBoolean's Mostly adequate guide to FP (in JavaScript)

cjr
2pts0
www.jonikorpi.com 10y ago

Zoomable UI for the Web

cjr
1pts0
emberjs.com 11y ago

Ember.js – Another Ember 2.x Status Update

cjr
3pts0
sourcemaking.com 11y ago

Design Patterns and Refactoring

cjr
2pts0
getmosh.io 11y ago

MOSH

cjr
22pts4

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.

Making Software 1 year ago

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!

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.

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

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...

Great write up and what I especially enjoyed was how you kept the bits where you ran into the classic sort of issues, diagnosed them and fixed them. The flow felt very familiar to whenever I do anything dev-opsy.

I’d be interested to read about how you might configure cluster auto scaling with bare metal machines. I noticed that the IP address of each node are kinda hard-coded into firewall and network policy rules, so that would have to be automated somehow. Similarly with automatically spawning a load-balancer from declaring a k8s Service. I realise these things are very cloud provider specific but would be interested to see if any folks are doing this with bare metal. For me, the ease of autoscaling is one of the primary benefits of k8s for my specific workload.

I also just read about Sidero Omni [1] from the makers of Talos which looks like a Saas to install Talos/Kubernetes across any kind of hardware sourced from pretty much any provider — cloud VM, bare metal etc. Perhaps it could make the initial bootstrap phase and future upgrades to these parts a little easier?

[1] https://www.siderolabs.com/platform/saas-for-kubernetes/

figuring out how to set the page size to match what you see on the screen can be near-impossible

I run a little API that converts URLs and HTML into PNG/PDF/SVG.. MP4 too, and the quoted part resonates :)

I recently started delving into the chromium src code in order to try and figure out the reason why max-width media queries don't seem to trigger at the expected viewport/page width, when printing to PDF, but it is quite the rabbit hole.

When I saw html2svg the first thing I wondered was whether it would have the same issue as printing to PDF.

ha, I'm also guilty of using this method on https://urlbox.io to power our SVG screenshots.

To be honest, it works quite well, but there are quite a few bugs in chromium's pdf rendering, especially when it comes to determining the correct page width to apply media queries to, which sometimes affects the accuracy of these SVG's.