News for hackers. Stuff that matters.

hcm

Re:Show HN: Apple Health MCP Server on Saturday July 26, 2025 @02:39AM (#44691912)
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.)

Re:The Joy of Nand2Tetris on Tuesday February 18, 2025 @02:55AM (#43087127)
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.

Re:Making a Go program 70% faster with a one character change on Monday November 14, 2022 @11:41AM (#33596752)
Thanks! It's just a few dozen lines of CSS. The body font is Inter and the monospaced font is JetBrains Mono.
Re:Making a Go program 70% faster with a one character change on Monday November 14, 2022 @11:22AM (#33596383)
Doh! Thanks for pointing out another silly mistake – I'll fix that.
Re:How Stdbuf Works on Friday November 11, 2022 @02:28PM (#33565547)
(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.
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!
Re:Dependabot is joining GitHub on Thursday May 23, 2019 @08:18AM (#19990951)
Thanks!
Re:Dependabot is joining GitHub on Thursday May 23, 2019 @07:59AM (#19990842)
Thanks! We have plans to make it even more awesome from within GitHub :-)
Re:Postgres Job Queues and Failure by MVCC on Wednesday May 20, 2015 @02:30PM (#9578200)
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!)

Re:Runnable – jsfiddle for everything on Monday June 02, 2014 @01:39PM (#7834712)
Re:Ask HN: Who is hiring? (March 2014) on Saturday March 01, 2014 @10:45AM (#7324559)
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 [email protected].

Re:Ask HN: What are you working on and why is it cool? on Saturday October 26, 2013 @01:36PM (#6618287)
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

Re:CodeCube: Docker-powered Runnable Gists on Monday October 21, 2013 @12:37PM (#6586619)
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.
Re:CodeCube: Docker-powered Runnable Gists on Monday October 21, 2013 @12:00PM (#6586353)
For one, it's much faster. CodeCube also streams the output to the browser. Also, CodeCube is open source (https://github.com/hmarr/codecube).
Re:Resque Bus on Sunday September 29, 2013 @06:42PM (#6466843)
Check out Hutch (https://github.com/gocardless/hutch) - a similar system built on top of RabbitMQ
Re:Hutch: Inter-Service Communication with RabbitMQ on Monday September 09, 2013 @01:03PM (#6354609)
Thanks for posting this. Some of these ideas could work very nicely in hutch.
Re:Hutch: Inter-Service Communication with RabbitMQ on Monday September 09, 2013 @11:06AM (#6353904)
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.

Re:Squash on Wednesday January 16, 2013 @10:13AM (#5067109)
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.

Re:Rubies and Bundles - switching from RVM to rbenv on Thursday November 08, 2012 @11:22AM (#4758389)
Perhaps it wasn't clear enough, but the post pointed out that typing 'bundle exec' and explicitly using --path isn't necessary. Once you've added one item to your PATH, and two lines to your bundler config file, you don't need to think about it ever again, it just works. If you want all your gems in one place, simply remove the BUNDLE_PATH line and change the BUNDLE_BIN directory to whatever you want (presumably something within your home directory).

I don't want to get in to the rbenv vs RVM debate - they're both good tools and it's an issue that has been done to death. I linked to five articles in the post, and you can find many, many more with a simple Google. My personal motivation for switching was that bundler's overridden 'cd' function includes some commands that fail, which is fine under most circumstances but it breaks as soon as you use 'set -e' in bash. We spoke to the author and he said he said that RVM wouldn't be 'set -e' compatible in the foreseeable future.

Older »