Better HN
topnewbestaskshowjobs
Log inSign up

zegl

2,779 karma · joined Dec 16, 2016 (9y ago) · 162 submissions

email: gustav@westling.dev

meet.hn/city/se-Stockholm

[ my public key: https://keybase.io/zegl; my proof: https://keybase.io/zegl/sigs/7qf9Pht7wXM1JQ8wUDwsCZLqTgWHqbCBNwHpz_q1cIk ]

Submissions

1.

Stilla is joining Meta to reshape business AI(stilla.ai ↗)

6 points · by zegl · 2mo ago · discuss

comment 1y ago · link · parent

Many other countries have figured this out since the early 2000s, the US could do it as well if they wanted to.

comment 1y ago · link · parent

As a long time Hatchet user, I understand why you’ve created this library, but it also disappoints me a little bit. I wish more engineering time was spent on making the core platform more stable and performant.

comment 2y ago · link · parent

Congrats on launching! What’s the difference between this and Feature Flags in PostHog?

comment 2y ago · link · parent

I recently migrated to Fastmail, and they are handling this very well.

6.

Check if you are affected by the XZ backdoor(xz.fail ↗)

2 points · by zegl · 2y ago · discuss

comment 2y ago · link · parent

Does "some databases" mean all? I have three databases on Render, all are currently down.

comment 2y ago · link · parent

The real puzzle is to figure out how to play it in Safari.

9.

GitHub now officially supports polar.sh as a funding platform(twitter.com ↗)

137 points · by zegl · 2y ago · 40 comments

10.

TinyGo on Pimoroni Cosmic Unicorn(polar.sh ↗)

3 points · by zegl · 2y ago · discuss

comment 2y ago · link · parent

+1 for Zigbee2MQTT. I've been using it at the core of my home automation for a few years, and it's incredibly reliable.

comment 3y ago · link · parent

The trick to make CI in large codebases fast, or how to make any system fast, is to only test what’s changed.

In CI you only need to lint the files that have changed, or run the tests that depend on code that has changed etc.

This way the time it takes to execute the tests scales with the amount of changes, and not with the total amount of code.

13.

Dictator or Tech Bro?(dictatorortechbro.com ↗)

4 points · by zegl · 3y ago · discuss

comment 3y ago · link · parent

Posts with text like this really grinds my gears:

> chatGPT says that MPTCP has been included in the mainline kernel since Linux kernel version 3.6 and that users can configure and use MPTCP features, but the MPTCP community website says that MPTCP v1 is only supported since 5.6.

Why is it interesting what a GPT has to say about it, if you've fact-checked it and found contradictory information?

comment 3y ago · link · parent

Very nice, and well done team!

I've been using v5 in production since beta 20, and it has been working very reliable for us since then. The documentation for how to upgrade has been a great resource, and a great example of how to do breaking changes in a library as large as this one.

comment 3y ago · link · parent

TM Sweden AB had a reported 289 employees in 2022, at 10 different facilities.

comment 3y ago · link · parent

What are peoples thoughts on sponsoring open source projects as a way to build awareness for dev tools? I think I've seen PostHogs logo in sponsor sections in some READMEs.

comment 3y ago · link · parent

I really like this project, and it's fun to see that they are adding their own extra emojis as well.

comment 3y ago · link · parent

This really saddens me, RIP.

comment 3y ago · link · parent

Congrats Jacob! Mutagen always really impressed me, and is some of the most beautiful code I’ve ever read. Well done!

comment 3y ago · link · parent

This intrigued me, and I believe that I've found a solution that's slightly faster for this AoC problem. It's achieved by keeping a running tally/counter for the last 14 characters (benchmark in comments).

https://gist.github.com/zegl/1ce3064c8049fa1b99c1dd202d78588...

comment 3y ago · link · parent

I don't know how experienced you are. Yes, you can host "a website" on a Raspberry Pi, even on something tiny like the Zero W. It all depends on your needs, a Pi 4 (if you can get a hold of one) is a great option!

comment 4y ago · link · parent

This is genius and horrifying at the same time, I love it!

comment 4y ago · link · parent

I don't know how stupid this is on a scale from 1 to 10. I've created a wrapper [1] for git (called "shit", for "short git") that converts non-padded revisions to their padded counterpart.

Examples:

"shit show 14" gets converted to "git show 00000140"

"shit log 10..14" translates to "git log 00000100..00000140"

[1]: https://github.com/zegl/extremely-linear/blob/main/shit

comment 4y ago · link · parent

You're giving me too much credit. The script [1] is only 50 lines of bash.

[1]: https://github.com/zegl/extremely-linear/blob/0011003da13132...

comment 4y ago · link · parent

I left some details out of the post to make it shorter.

What I’m actually is doing is generating a 7-digit incremental number followed by a fixed 0. Some UIs show 7 characters and some show 8, this felt like a nice compromise. Plus it’s easier to distinguish between the prefix and the suffix when looking at the full SHA when they are always separated by a 0.

comment 4y ago · link · parent

Update: git-linearize now uses lucky_commit as it's backend!
123456