HNHacker News
TopNewBestAskShowJobs

gajus

1,314 karma · joined October 13, 2014

gajus.com gajus@gajus.com
submissionscomments
gajus··on Show HN: Open-source x64 and Arm GitHub runners
given that the landing page looks almost pixel by pixel inspired by BuildJet, I'd say the answer is "very comparable"
gajus··on Show HN: Open-source x64 and Arm GitHub runners
Feels like there is another one of these every week.
gajus··on Ask HN: Is there any commercial alternative to Alexa/Google assistant?
I would be willing to pay for it 100%
gajus··on Show HN: I scraped 25M Shopify products to build a search engine
This is cool
gajus··on Show HN: WarpBuild – x86-64 and arm GitHub Action runners for 30% faster builds
How can it be 30% faster when the vast vast majority of the execution time is spent doing things like building, bundling, etc. ie things independent of the action runner performance.

Edit: Never mind. Misunderstood what this is.

gajus··on Ask HN: Why does HN not allow comments under Hiring posts?
That makes sense. In retrospect, the only comments I wanted to leave were not particularly positive. Feels disingenuous to allow these posts without a way to allow community feedback, e.g. seeing lots of job posts with very questionable compensation (first engineer with 1% equity, that kind of nonsense).
gajus··on X is reportedly selling inactive usernames for $50k
Network effects cannot be underestimated.
gajus··on Top JavaScript libraries for web scraping
I am obviously biased, but Surgeon is by far the best abstraction for data extraction I've ever seen or have written.

https://github.com/gajus/surgeon

For context, it was created to support my previous business Applaudience. We had to build scrapers for (literally) thousands of cinema websites. At some point we migrated from custom scrips to Surgeon routines and reduced overall codebase size by 70% LoC. It was a huge time saver in terms of both writing new integrations and debugging when things go wrong.

The reality is that data extraction is a highly specialized task and you need specialized software to do it well. Tools like Surgeon can abstract a ton of complexity, but they have steeper learning curve.

I still use it whenever I need to scrape anything and you can combine it with anything that outputs HTML e.g. Playwright.

Ultimately business died (covid was brutal) and I moved on to even more exciting things, but this remains one of those technologies that I wish would have received more adoption.

gajus··on PostgresJs: PostgreSQL client for Node.js and Deno
You can already use postgres with Slonik.

https://github.com/gajus/slonik#user-content-slonik-how-are-...

It is not going to be the default because it is way slower.

https://github.com/gajus/slonik/actions/runs/6616647651

Test node_version:18 test_only:postgres-integration is taking 3 minutes.

Test node_version:18 test_only:pg-integration is taking 38 seconds.

It is possible that this is an issue with https://github.com/gajus/postgres-bridge, but I was not able to pinpoint anything in particular that would explain the time difference.

gajus··on GitHub Actions is a seriously flawed CI system
Love it. Email gajus@gajus.com if you'd like to chat about our experience. We are running something north of 1,000 CPUs on GitHub Actions.
gajus··on GitHub Actions is a seriously flawed CI system
> Don't understand this one. I'm checking this all the time, for instance test runners. Unless you meant older logs from before you opened the page - that one is indeed a bit annoying in some cases

That

gajus··on GitHub Actions is a seriously flawed CI system
Found the MS PM
gajus··on GitHub Actions is a seriously flawed CI system
I love GitLab CI. We are too deep into GitHub Actions to migrate out of it. For every bullet-point above we've built something in house to workaround it. Things work, but it took many many months to get to the point where it is usable.
gajus··on PostgresJs: PostgreSQL client for Node.js and Deno
Slonik author here. Happy to answer any questions.
gajus··on Ask HN: Have you found a solution for sharing Docker cache between build agents?
I am familiar with solutions like Depot, but the problem with them is that they are also building on a remote host. We already have many powerful VMs setup for building. The only inefficiency is that they are not sharing cache layers. I could probably hack something together with rsync and such, but would ideally have a more robust solution.
gajus··on Database Performance at Scale – A free book
What's wrong with "select id from table"? (presumably "where" skipped for brevity of the example)
gajus··on Database Performance at Scale – A free book
I appreciate that "Just the PDF" actually gives me the PDF and not 10 more popups to subscribe to someones newsletter.
gajus··on Show HN: HyperDX – open-source dev-friendly Datadog alternative
Potentially useful resource – https://github.com/gajus/liqe
gajus··on Ask HN: What are Airtable alternatives with higher rate limits?
Wow! This is _awesome_ Thank you so much
gajus··on Migrating from Supabase
Curious why have you decided for Drizzle over Kysely.

I was recently exploring the space, and Kysely came on top as a framework with broader adoption.

https://npmtrends.com/drizzle-orm-vs-kysely

gajus··on Ask HN: Lightweight ELK alternative for ingesting and analyzing local logs?
Valuable related discussion: https://www.reddit.com/r/devops/comments/13ab0l5/lightweight...

Highlights:

* Grafana and Loki seems to be favorite

* https://datalust.co/seq is the easiest to deploy (single container)

* https://github.com/tstack/lnav CLI based tool

gajus··on Ask HN: What tools do you use to discover duplicate code in a large repository?
https://www.npmjs.com/package/jscpd turned out to be exactly what we were looking for
gajus··on Ask HN: What is your shortcut for 'Git commit'?
just discovered lazygit which looks pretty neat

https://www.youtube.com/watch?v=CPLdltN7wgE

gajus··on Ask HN: What is your shortcut for 'Git commit'?
I was considering updating my shortcut to add `git add --patch`, but I am not a huge fan of that interactive interface. Wish there was something smarter
gajus··on Ask HN: What is your shortcut for 'Git commit'?
For context, I am using `c() { git commit -m '$1' }`, which is helpful. But I wish there was something smarter.
gajus··on So you've installed `fzf` – now what?
How is fzf different from hstr?
gajus··on Google releases Bard to a limited number of users in the US and UK
Anyone know what is the origin of the name Bard?

Every time I see it I think "barf"

gajus··on Show HN: Professional headshots for remote team with AI
Gave it a try. It is pretty wild https://twitter.com/kuizinas/status/1638173950806200324
gajus··on Navigating the Complexities of File Watching
This was meant to link to a specific comment, but looks like HN strips hashes from the URL

https://github.com/vercel/turbo/issues/986#issuecomment-1477...

gajus··on Show HN: Turbowatch – fast file change detector for Node.js
If you have a use case that is not covered in the recipes, comment below and I will do my best to demonstrate how Turbowatch can do what you want.
← PreviousPage 3 of 7Next →