Better HN
topnewbestaskshowjobs
Log inSign up

boronine

219 karma · joined Mar 26, 2012 (14y ago) · 101 submissions

https://www.boronine.com
Submissions

comment 2mo ago · link · parent

Majority of websites use email to authenticate (“forgot password” flow). Passwords/passkey is just an optional convenience for quicker login.

comment 2mo ago · link · parent

I use this script for provisioning runners (with org-level single use access token).

https://github.com/vbem/multi-runners

The motivation is simply to have the runners share a local docker build cache rather than pushing and pulling cache from registry which is a ridiculous best practice.

comment 4mo ago · link · parent

For any small team wanting to try Copilot, heed my warning that you will waste hours navigating their billing settings using various out-of-date documentation. Long story short, I finally got an email from them saying that "Copilot Business is available for teams purchasing 10 or more licenses". This is undocumented but other people are reporting the same: https://github.com/orgs/community/discussions/199346

We're sticking with Cursor for now, using Kimi as our daily driver (branded as "Composer").

comment 5mo ago · link · parent

For anyone wondering, you can use Aerospace purely as a workspace switching solution without the tiling: https://www.boronine.com/2025/02/09/Instant-Workspace-Switch...

comment 11mo ago · link · parent

You can literally download a file called LineageOS_on_arm64.utm from the Releases page, drag and drop it into UTM and it Just Works. I've been looking for this holy grail for years.

(Seems that the bulk of the work is done by some heroes in the LineageOS community: https://wiki.lineageos.org/utm-vm-on-apple-silicon-mac)

6.

LineageOS for QEMU Virtual Machines(github.com ↗)

15 points · by boronine · 11mo ago · 4 comments

comment 11mo ago · link · parent

I went down this rabbit hole before, you have to ignore all the recommended approaches. The real solution is to have a build server with a global Docker install and a script to prune cache when the disk usage goes above a certain percentage. Cache is local and instant. Pushing and pulling cache images is an insane solution.

comment 1y ago · link · parent

Wow, this might be the best use of HSLuv so far, I'm going to add it to the examples page https://www.hsluv.org/examples/

comment 1y ago · link · parent

I also used yabai for this purpose but found a solution that doesn’t require messing with security: https://www.boronine.com/2025/02/09/Instant-Workspace-Switch...

comment 1y ago · link · parent

I had some success experimenting with this: https://github.com/boronine/the-landing-pad#modeling-a-secti...

11.

h2tunnel – TCP over HTTP/2(boronine.com ↗)

3 points · by boronine · 1y ago · discuss

comment 1y ago · link · parent

This is the correct answer. Pro-tip: use Django admin as a user facing interface in your prototype, then you won’t even need to write HTML templates, let alone client-side JS.

comment 1y ago · link · parent

Here you go: https://www.boronine.com/2025/02/09/Instant-Workspace-Switch...

comment 1y ago · link · parent

I have been using AeroSpace for this purpose for over a year. I simply disable all the tiling features in the config and only use two shortcuts: switch to workspace and move current window to workspace. It's absolutely essential when working on a small screen.

AeroSpace does indeed suffer from a performance issue but this appears to be inherent to the available macOS APIs: https://github.com/nikitabobko/AeroSpace/issues/131

The way you reproduce it is open Factorio.app and quickly switch between workspaces while the game is loading.

FlashSpace seems to suffer from this problem as well based on a quick test.

With regards to configuration, I think it's cumbersome to configure shortcuts per workspace. In AeroSpace, every letter and number on the keyboard is automatically a workspace and shortcuts are global.

All that said, this is a fantastic tool and I would prefer a tool like this that addresses the pain of macOS workspaces as its primary goal rather than being part of a tiling window manager.

EDIT: After more testing it appears that FlashSpace does not support having different windows of the same app on different workspaces, this is a dealbreaker for my workflow :(

comment 2y ago · link · parent

Oh looks like we misunderstood each other. The fact is that h2tunnel is not using SSH, because my goal was a minimal Node.js native solution. So I had to look for a built-in alternative for multiplexing and found HTTP2.

comment 2y ago · link · parent

SSH does some kind of lower-level multiplexing. Multiplexing is unavoidable here because the local server must maintain simultaneous TCP connections that must be somehow distinguished between each other whereas the tunnel is just a stream of binary data.

comment 2y ago · link · parent

Let me know how to goes! And watch for an update this week. I'm writing thousands of lines of tests to iron out all the event handling quirks in case of bad network conditions etc. I want to make it rock solid.

comment 2y ago · link · parent

I was able to keep my code small by leveraging existing protocols: TLS for authentication and HTTP2 for multiplexing, stuffing simultaneous HTTP1 requests onto a single TLS-encrypted tunnel socket.

Hopefully I'll make it on the hall of fame [1] :)

[1] https://github.com/anderspitman/awesome-tunneling

19.

H2tunnel – ngrok alternative for Node.js in 600 LOC and no dependencies(github.com ↗)

45 points · by boronine · 2y ago · 13 comments

comment 2y ago · link · parent

I think most of this is covered by a good Decimal API, currency stuff probably shouldn't be embedded into a language because it changes: currencies come and go, get redenominated etc. Although one simple thing that would be useful is keeping track of abstract units, e.g. throwing an error when attempting to do 10 USD + 10 EUR.

comment 2y ago · link · parent

I am happily using a few other AWS services for this project, provisioned by CDK. I thought I could simplify things my getting rid of Heroku altogether but this turned out to be an incredibly frustrating rabbit hole with no solution in sight. Unless I’m missing something obvious, it seems that Amazon is incapable of this seemingly easy task.

comment 2y ago · link · parent

I should have mentioned in my original post that my web server also has a background process which needs to be a singleton. I could split it off into a separate container, but this will require a third container because they need a shared cache that's used for rate limiting. At that point I have little to gain vs. just running a single "web" dyno on Heroku.

23.

Ask HN: Is there any service on AWS that enables *INSTANT* deployment?

1 points · by boronine · 2y ago · 8 comments

comment 2y ago · link · parent

What kind of isolation do you need? We are building our own code so I don't see the need for isolation beyond a clear directory.

comment 2y ago · link · parent

I've spent days trying all of these solution at my company. All of these solutions suck, they are slow and only successful builds get their layers cached. This is a dead end. The only workable solution is to have a self-hosted runner with a big disk.

comment 2y ago · link · parent

That DMARC link talks about "From: rewriting" with a similar example using "via". I suppose this addresses the "spoofing" part of my question, thanks! I would still like to know more about this practice in transactional emails.

27.

Ask HN: Why are most web services "spoofing" the From email header?

2 points · by boronine · 2y ago · 2 comments

comment 2y ago · link · parent

To be clear, I find IntelliJ extremely fast, surprisingly so in fact. I was only looking for alternatives out of curiosity.

comment 2y ago · link · parent

Very interesting, I'm going to test this. Seems that Rust is the best supported language?

30.

Ask HN: High performance, low latency IDE suggestions

5 points · by boronine · 2y ago · 11 comments

1234