Better HN
topnewbestaskshowjobs
Log inSign up

jbergstroem

1,162 karma · joined Nov 6, 2013 (13y ago) · 242 submissions

I like open source and Kenyan coffee.

Check out what I do at https://github.com/jbergstroem.

[ my public key: https://keybase.io/jbergstroem; my proof: https://keybase.io/jbergstroem/sigs/xNH99zh5DSCLJR_hrHtShFLmo8RcAbg79Hs506_5KdI ]

Submissions

1.

Show HN: Filtron – parse human-friendly filter strings into structured queries(filtron.dev ↗)

3 points · by jbergstroem · 9mo ago · discuss

2.

Metafile-codecov-bundle: track bun/esbuild artifact bundles with codecov(github.com ↗)

1 points · by jbergstroem · 9mo ago · discuss

comment 10mo ago · link · parent

I coincidentally worked on something similar but I kept closer to the SQL standard. It grew out of business cases where you don't have strongly typed data to act on.

I more or less adopted the syntax from dumbql (https://github.com/tomakado/dumbql) and started off with a peg parser using ohm.js. As I started benchmarking I realized how slow it was and started looking for "fast paths" using regex. I ultimately resorted to a recursive descent parser similar to Elo. At that stage I already had a lot of tests and api in place, so I was able to get a lot of help from Claude.

Website here: https://filtron.dev

comment 11mo ago · link · parent

Another (more complete? maintenance, security checks) solution is to allow renovatebot handle this for you. Enable this preset: https://docs.renovatebot.com/presets-helpers/#helperspingith...

..and in the next update cycle, you will see all actions be pinned like this:

- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6

5.

Permission-Based Approach Makes Way for a New Business Model(cloudflare.com ↗)

3 points · by jbergstroem · 1y ago · discuss

comment 1y ago · link · parent

I think this position is also one of the reasons it gained attention. Batteries included is a popular and chosen route for many.

Setting up typescript can be hard. Same goes for webpack, s3, postgres, jest and more. I also find the simplified file and stream access quite interesting.

Lets wait and see how a distributed deployment provider turns out.

comment 1y ago · link · parent

I've been a beta tester from very early on. I came for the performance but stayed for the stability. I've only had a rare few crashes and all but one was a duplicate in the bug tracker.

I thought I needed search but as Mitchell put it, not a 1.0 feature. Ripgrep was always the answer.

Very happy to share the ghostty experience with the world!

comment 1y ago · link · parent

Topsort | Software Engineer | Remote and onsite (LATAM, U.S Timezones) | Full-time

Topsort (https://www.topsort.com) is a fast growing startup in the retail media space with a strong foundation in privacy. We help marketplaces monetize their ecosystems.

We are looking to fill many positions (mainly with SWE backgrounds). Bi-lingual (English and Spanish/Portuguese) is a bonus since part of some roles are working with clients.

Review all open roles here: https://grnh.se/721f06c68us - where you can apply directly. You can alternatively reach out to me (I work as tech lead) - should you prefer an instant human contact: johan at topsort dot com.

Looking forward to working together!

9.

Announcing SurrealDB 2.0(surrealdb.com ↗)

12 points · by jbergstroem · 2y ago · discuss

comment 2y ago · link · parent

Have you considered https://github.com/tembo-io/pgmq for the queue bit?

comment 2y ago · link · parent

Topsort | Software engineer | Full-time | Remote

Topsort (topsort.com) is a leading retail media solution, enabling marketplaces and retailers to build out their own ad business with a strong emphasis on privacy - no third party cookies required.

We are a global, remote first company with diverse backgrounds and need to grow the engineering team in most areas but currently have a focus in finding engineers with experience in component and design systems (shadcn, aria, storybook, ..), react and don't mind the occasional dive into other areas and other programming languages.

You are a good fit if: you've built and implemented design systems with reusable components in React, you are obsessed about performant frontends, you're comfortable in working with Next.js (both pages and app router), you are proactive and like to take ownership, you have worked in full stack environments but have a specialization in frontend.

Our stack: Golang, Python, Typescript (Node.js, Bun), Rust, Postgres, Kafka, Snowflake, Clickhouse, Aws, ..

Feel free to send your CV/github/work examples (I'm the tech lead at Topsort) if you think this is for you! johan at topsort dot com.

comment 3y ago · link · parent

FYI: I didn't see any notices about disruptions for workers but were intermittently unable to use `wrangler publish`: https://i.imgur.com/LUAzoHQ.png

comment 3y ago · link · parent

Orbstack is a relatively new player that offers both VMs and containerization on top of the virtualization framework: https://orbstack.dev

comment 3y ago · link · parent

Another alternative that hasn't been brought up yet is https://www.modernhn.com

comment 3y ago · link · parent

Longtime mailhog user here; this looks like a nice improvement for cold start developer environments! Another option in the same space (emphasis container size) is https://github.com/inbucket/inbucket

comment 3y ago · link · parent

When these types of conversations come up, I prefer the phrase “optimize for the receiver” - thinking on how to best be understood versus what is easiest/most convenient for the sender (in the hello case: requiring someone’s attention).

comment 4y ago · link · parent

The Webkit project would love this. Can't help but feel that half the reason they spent all the extra effort with subversion was user-friendly commit revisions.

18.

Maestro: The easiest way to automate UI testing for your mobile app(maestro.mobile.dev ↗)

3 points · by jbergstroem · 4y ago · discuss

19.

LibSQL: An open source, open contribution fork of SQLite(libsql.org ↗)

3 points · by jbergstroem · 4y ago · discuss

20.

Platformatic launch: efficiently develop and run APIs at scale(oss.platformatic.dev ↗)

2 points · by jbergstroem · 4y ago · discuss

21.

Unlighthouse – Scan your entire website with Google Lighthouse(unlighthouse.dev ↗)

1 points · by jbergstroem · 4y ago · discuss

comment 4y ago · link · parent

I'm greeted by a consistent 500.

comment 4y ago · link · parent

I would recommend linking to this instead since basic things like cap table was left empty

comment 4y ago · link · parent

You have $N hosts and CDN's in the world and $M web developers. If you can affect $N that's a pretty big win for every web developer, not just the one that has enough experience to understand how and why css/js frameworks are ultimately as "easy and fast" as the marketing page said. I'm sure the trend of web performance and best practices will improve as tooling to showcase these issues get easier and better by the day; but making the car more efficient is a different problem to a wider, more stable and ultimately faster motorway.

comment 4y ago · link · parent

Yes, by far my top choice in OSS land for image manipulation. You would probably want to couple it with a edge worker to do things like accept handling (what format to return for the same url), whitelisting formats and so on.

I wrote a pretty comprehensive cloudflare worker for this years ago I should look at open sourcing..

comment 4y ago · link · parent

I would much more prefer if the service cost was tied to image operations instead of "displays".

comment 4y ago · link · parent

I think Images could greatly benefit from having a tag/label system that allows you to decorate it, similar to how enterprise cache tags was implemented. That way, it is trivial to do things like "delete by user id X" as well as covering your use case.

comment 4y ago · link · parent

I can definitely see how new use cases opens up based on a 150ms (global) invalidation. Most of my use cases relies more on local invalidation and I haven't done enough homework about on what latency I really need (read: wrong line of business). That said; in the world of Cloudflare I think durable objects/kv store probably would come to serve as the next architecture for cache itself and lead to reductions in latency. Don't quote me on that though.

comment 4y ago · link · parent

In the context of "should I use Cloudflare or Fastly as my edge", I lean Cloudflare. That said, I enjoyed listening to the GraphCDN crew choosing Fastly[1] – one crucial feather in the hat being cache invalidation[2] (miss ya, Phil Karlton) – and it sounds like a solid choice.

[1]: https://www.youtube.com/watch?v=lpmpTJc_SP0 [2]: https://graphcdn.io/docs/how-to/purge-the-cache

comment 5y ago · link · parent

At my company we've been using workers extensively for routing, specific auth logic (including integration with Auth0) and more -- I guess moving towards an api gateway pattern. I loved it at first but its becoming very cumbersome to maintain. I'm currently migrating away from this pattern and try to keep logic closer to the application/code that leans on it.

tl;dr: Orchestrating many cloudflare workers at scale has not been a great experience.

12345
9