Better HN
topnewbestaskshowjobs
Log inSign up

hcm

606 karma · joined Feb 4, 2010 (16y ago) · 51 submissions

Dependabot co-founder (now part of GitHub!)

Previously, I helped build Monzo and GoCardless.

http://github.com/hmarr http://hmarr.com

Submissions

comment 1y ago · link · parent

Love it!

For getting Apple Health data into duckdb, I’ve used this in the past: https://github.com/dogsheep/healthkit-to-sqlite. (You can load the SQLite database directly in duckdb.)

comment 1y ago · link · parent

I can't recommend nand2tetris highly enough – it's a great crash course in computer architecture, operating systems, compilers, etc. but also it's just mega fun.

A big part of the joy came from making up my own extra credit side quests: implementing a compile-to-WASM emulator for the hack machine, adding optimisations to the compiler to produce smaller and/or faster programs, etc.

3.

Counting OpenAI Tokens(hmarr.com ↗)

2 points · by hcm · 3y ago · 1 comment

comment 3y ago · link · parent

https://hmarr.com

comment 4y ago · link · parent

Thanks! It's just a few dozen lines of CSS. The body font is Inter and the monospaced font is JetBrains Mono.

comment 4y ago · link · parent

Doh! Thanks for pointing out another silly mistake – I'll fix that.

7.

Making a Go program faster with a one-character change(hmarr.com ↗)

511 points · by hcm · 4y ago · 236 comments

comment 4y ago · link · parent

(Author here) I don't see that in Chrome so had no idea that was happening – thanks for pointing it out! I'm not a fan of coding ligatures so I just pushed a change to turn it off.

9.

Vitals: A tiny macOS process monitor(hmarr.com ↗)

3 points · by hcm · 5y ago · 2 comments

comment 6y ago · link · parent

I built https://grephub.com for that. It doesn’t maintain an index so it’s not super snappy, but it’s good enough / better than you’d expect in many cases!

comment 7y ago · link · parent

Thanks!

comment 7y ago · link · parent

Thanks! We have plans to make it even more awesome from within GitHub :-)

13.

Show HN: Dependabot automates dependency updates for Ruby and JavaScript (Yarn)(dependabot.com ↗)

1 points · by hcm · 9y ago · discuss

14.

10 years of Ruby security disclosures analyzed(dependabot.com ↗)

3 points · by hcm · 9y ago · 1 comment

15.

The Troubleshooting Tales: issues scaling Postgres connections(gocardless.com ↗)

2 points · by hcm · 10y ago · discuss

16.

Docker and CoreOS at Clearbit(blog.clearbit.com ↗)

4 points · by hcm · 11y ago · discuss

comment 11y ago · link · parent

Great article. We've just moved a large portion of our async jobs over from Resque to Que because of the huge benefits you get from transactional enqueuing and processing. Performance seems good so far, and if it really becomes an issue, running two queuing systems side by side (one transactional, one high-throughput) seems viable.

We're super cautious about long-running transactions anyway, as they cause a load of other issues (e.g. http://www.databasesoup.com/2013/11/alter-table-and-downtime... - full blog post coming soon!)

18.

Building APIs: lessons learned the hard way(gocardless.com ↗)

20 points · by hcm · 12y ago · 1 comment

comment 12y ago · link · parent

Similar to http://codecube.io/

comment 12y ago · link · parent

GoCardless (YC S11) is hiring senior software engineers and web operations engineers in London.

We're a fast-growing online payments startup that makes it really simple to collect money with Direct Debit. We've been around for 2 and half years, and are now a team of 25. We're backed by a bunch of top-tier investors (inc. Y Combinator, Accel, Balderton), pay very competitive salaries, and will shortly be moving in to a shiny new office.

We're looking to hire senior software developers to work on our core product, and web operations engineers to scale & manage our infrastructure. We've got lots of interesting challenges to solve this year: building the next generation of our product to handle the growth we're seeing, finding more intelligent ways to fraud-assess our merchants and customers, expanding what we do to work internationally (we're already beta-testing a European expansion).

There's plenty more information at https://gocardless.com/jobs. If you're interested in finding out more, email me at harry@gocardless.com.

comment 13y ago · link · parent

I'm working on CodeCube (http://codecube.io) - a pastebin that allows you to run the code snippets and see the output live in your browser.

It's built on Docker. I posted an article about how I built it here: http://hmarr.com/2013/oct/16/codecube-runnable-gists/

The source is up on GitHub at https://github.com/hmarr/codecube

comment 13y ago · link · parent

This is actually something I'd quite like to do with CodeCube - it wouldn't be hard at all. Replace SSE with websockets, attach to the container's stdin as well as stdout, add something like term.js, and it'd work a treat.

comment 13y ago · link · parent

For one, it's much faster. CodeCube also streams the output to the browser. Also, CodeCube is open source (https://github.com/hmarr/codecube).

24.

CodeCube: Docker-powered Runnable Gists(hmarr.com ↗)

33 points · by hcm · 13y ago · 5 comments

comment 13y ago · link · parent

Check out Hutch (https://github.com/gocardless/hutch) - a similar system built on top of RabbitMQ

comment 13y ago · link · parent

Thanks for posting this. Some of these ideas could work very nicely in hutch.

comment 13y ago · link · parent

Very interesting. How exactly does the retry-later logic work? Does it just push the message on to a 'deferred' queue, that you manually process at your convenience?

Totally agree with your last paragraph, introducing a message queue has solved a lot of problems for us.

28.

Hutch: Inter-Service Communication with RabbitMQ(gocardless.com ↗)

40 points · by hcm · 13y ago · 10 comments

comment 13y ago · link · parent

Another open-source alternative is Sentry (https://getsentry.com/), which supports multiple languages and frameworks. A hosted version is also available.

The Ruby support in Sentry currently isn't quite as good as the Python support, but it's not bad at all, and constantly improving.

12