Better HN
topnewbestaskshowjobs
Log inSign up

iampims

1,400 karma · joined May 21, 2010 (16y ago) · 559 submissions

Tim https://twitter.com/pims
Submissions

comment 1w ago · link · parent

That’s where top-up helps. Pay $100 once with the credit card, check the box “top-up $50 when available funds drop below $10”.

Sure it’s a per-vendor setup, so you might need to do this for each 3rd party that requires payment, or use something like openrouter with a pool of funds.

Probably simpler than setting up and using x402.

comment 3w ago · link · parent

It’s bold to set status page incident to resolved.

comment 8mo ago · link · parent

I’ve started pair programming with Claude and it’s been pretty fun. We make a plan together, I type the code and Claude reviews it. Then we switch.

comment 1y ago · link · parent

You should write something about this…

comment 1y ago · link · parent

Great idea, poor naming. If you’re aiming for a standard of sorts, tying it to a specific software by reusing its name feels counter productive.

“Ducklake DuckDB extension” really rolls off the tongue /s.

comment 1y ago · link · parent

but that'd be real money, not the Monopoly money they used to buy Ive/Windsurf...

comment 1y ago · link · parent

Not sure I would qualify sharding a DB that get 1M qps as straight forward. I agree with you that it seems that an org would be a natural sharding key, but we know that at this scale, nothing really is ever straight forward, especially when it's your first rodeo.

comment 1y ago · link · parent

I just wish Meta would open source Scuba.

comment 1y ago · link · parent

lossy and simpler.

IME, I've found sampling simpler to reason about, and with the sampling rate part of the message, deriving metrics from logs works pretty well.

The example in the article is a little contrived. Healthchecks often originate from multiple hosts and/or logs contain the remote address+port, leading to each log message being effectively unique. So sure, one could parse the remote address into remote_address=192.168.12.23 remote_port=64780 and then decide to drop the port in the aggregation, but is it worth the squeeze?

comment 1y ago · link · parent

Or sampling :)

comment 2y ago · link · parent

Some serious engineering here. Kudos!

comment 2y ago · link · parent

At a certain scale, exact computations (p50 for instance) become impractical. I’ve had great luck switching to approximate calculations with guaranteed error bounds.

An approachable paper on the topic is "Effective Computation of Biased Quantiles over Data Streams" http://dimacs.rutgers.edu/%7Egraham/pubs/papers/bquant-icde....

comment 2y ago · link · parent

It'll work. Clickhouse has even experimental support for storing prometheus metrics natively. A big missing piece is alerting.

comment 2y ago · link · parent

Heroku is still around…

…otherwise you can try Render, Fly.io, Google Cloud Run, Railway, etc.

comment 2y ago · link · parent

Nice work.

The "about" link at the bottom of the home page links to https://hot.page/manifesto which is 404 Not Found.

comment 2y ago · link · parent

You mean this?

A Docker registry backed by Workers and R2.

https://github.com/cloudflare/serverless-registry

comment 2y ago · link · parent

If the LB is for HTTP traffic, check out Cloudflare’s offering.

comment 2y ago · link · parent

Rook would suit your problem space very well.

comment 2y ago · link · parent

July 1st can’t come soon enough.

comment 2y ago · link · parent

The best thing about PHP: shared nothing architecture.

The worst thing about PHP: shared nothing architecture.

It works extremely well until it doesn’t really scale anymore.

comment 2y ago · link · parent

AWS rakes in multi billion dollars in profit every year. They can definitely eat the costs of unauthorized requests to s3 buckets.

comment 2y ago · link · parent

It’s no different than running EKS in Multi-AZ configuration, except for the cross-az egress fees…

comment 2y ago · link · parent

Check out these models: https://replicate.com/collections/image-restoration

Most of them can be run locally, but I’d recommend testing them with replicate before investing in understanding cog/docker/hf…

comment 2y ago · link · parent

They can’t because value is not exported. They must use the NewUsername function, which forces the validation.

In my opinion, this pattern breaks when the validation must return an error and everything becomes very verbose.

comment 2y ago · link · parent

fwiw Apple entered and then exited the server space a while ago.

comment 2y ago · link · parent

Roads safe for cycling is half the battle. The other half is around zoning and mixing residential with businesses.

comment 2y ago · link · parent

Most interesting article I've read this week. Excellent write-up.

comment 3y ago · link · parent

Digitalocean supports it: https://docs.digitalocean.com/glossary/iso-image/

comment 3y ago · link · parent

That’s one expensive template engine…

comment 3y ago · link · parent

Quora’s data is next to useless.
12345
19