Better HN
topnewbestaskshowjobs
Log inSign up

gmcabrita

1,551 karma · joined Oct 23, 2011 (15y ago) · 92 submissions

Submissions

1.

Porting the RAD Debugger to macOS(robert.wittams.com ↗)

1 points · by gmcabrita · 2mo ago · 1 comment

2.

The DISTINCT in Your COUNT(boringsql.com ↗)

31 points · by gmcabrita · 3mo ago · 7 comments

3.

We replaced Redis with MySQL for inventory reservations–and it scaled(shopify.engineering ↗)

4 points · by gmcabrita · 6mo ago · discuss

4.

PgQue: Zero-Bloat Postgres Queue(github.com ↗)

146 points · by gmcabrita · 7mo ago · 37 comments

5.

Turbopuffer: Object Storage-native Database for Search [video](youtube.com ↗)

1 points · by gmcabrita · 8mo ago · discuss

comment 10mo ago · link · parent

Your comment is 100% not true: https://dbfiddle.uk/Iu-u886S

7.

1000x: The Power of an Interface for Performance [video](youtube.com ↗)

6 points · by gmcabrita · 1y ago · discuss

comment 1y ago · link · parent

> PostgreSQL takes FOR UPDATE on rows before a DELETE, or before an UPDATE that modifies a column that is part of a unique index that neither contains expressions nor is partial

This also happens when you UPDATE the same row twice within the same transaction.

https://goncalo.mendescabrita.com/blog/cross-table-lock/

9.

The Two Machines(buttondown.com ↗)

1 points · by gmcabrita · 2y ago · discuss

10.

River UI(riverqueue.com ↗)

3 points · by gmcabrita · 2y ago · discuss

11.

Eradicating N+1s: The Two-Phase Data Load and Render Pattern in Go(brandur.org ↗)

64 points · by gmcabrita · 2y ago · 72 comments

12.

Version Rollbacks in the Chrome Web Store Developer Dashboard(developer.chrome.com ↗)

1 points · by gmcabrita · 2y ago · discuss

13.

Merging and Splitting Partitions with Minimal Locking in PostgreSQL 17(andyatkinson.com ↗)

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

14.

Supabase Acquires OrioleDB(supabase.com ↗)

14 points · by gmcabrita · 2y ago · 6 comments

15.

Chaos Theory(kernelmag.io ↗)

2 points · by gmcabrita · 2y ago · discuss

16.

RFD-site: Web front end for browsing, searching, and reading RFDs(github.com ↗)

4 points · by gmcabrita · 2y ago · discuss

comment 2y ago · link · parent

The people against this on X are probably not building a business. They wouldn't be giving PlanetScale money anytime soon.

18.

Quartz: Host your own second brain and digital garden for free(quartz.jzhao.xyz ↗)

2 points · by gmcabrita · 3y ago · discuss

comment 6y ago · link · parent

> The Zig language accepts hard tabs and carriage returns. The self-hosted compiler implements the Zig language correctly; accepting hard tabs and carriage returns. However, the self-hosted compiler is not yet complete, and what people are using in reality is the stage1 compiler, which does not accept hard tabs.

https://github.com/ziglang/zig/wiki/FAQ#why-does-zig-force-m...

comment 6y ago · link · parent

You are confusing a layoff and a furlough. It's not your fault though, the Portuguese government decided to call a furlough a layoff for who knows what reason.

comment 6y ago · link · parent

Simon Eskildsen has a monthly newsletter called Napkin Math[0] entirely dedicated to practicing practical real-world Fermi problems like these.

[0] - https://sirupsen.com/napkin/

22.

Adjacent Possible: Peeking into the Future(sirupsen.com ↗)

3 points · by gmcabrita · 6y ago · discuss

23.

How to Fix Slow Code in Ruby(engineering.shopify.com ↗)

210 points · by gmcabrita · 6y ago · 199 comments

comment 6y ago · link · parent

FYI, folks have forked fast_jsonapi to https://github.com/fast-jsonapi/fast_jsonapi as the Netflix repository has been mostly inactive recently.

25.

Hanami:API(hanamirb.org ↗)

3 points · by gmcabrita · 6y ago · discuss

26.

Finding Property Tests (2019)(hillelwayne.com ↗)

43 points · by gmcabrita · 6y ago · 4 comments

27.

Work Is Work(codahale.com ↗)

3 points · by gmcabrita · 6y ago · discuss

comment 7y ago · link · parent

The "sparkle setting" resets if you haven't been on Twitter Web for a while, even if you always keep up with Twitter on mobile.

I use Twitter Web so infrequently that whenever I open it, it has always changed back to the "Top Tweets" view.

1234