boronine
boronine on Hacker News
Majority of websites use email to authenticate (“forgot password” flow). Passwords/passkey is just an optional convenience for quicker login.
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.
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/199346We're sticking with Cursor for now, using Kimi as our daily driver (branded as "Composer").
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)
Posted by
boronine on Sunday December 28, 2025 @10:02PM
from the github.com dept.
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.
Posted by
boronine on Sunday June 01, 2025 @02:32AM
from the boronine.com dept.
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.
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 :(
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.
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.
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.
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
Posted by
boronine on Tuesday October 15, 2024 @03:44AM
from the github.com dept.
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.
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.
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.
Posted by
boronine on Saturday September 07, 2024 @07:50PM
from the ask-hn dept.
My use case is a singleton HTTP server (no horizontal scaling). I already tried ECS, App Runner, Elastic Beanstalk among other tools. Every deployment option has minute+ downtime or otherwise takes minutes to complete. Is there any option on AWS to achieve instant deploy like Heroku? I simply want to restart my app with new code / new configuration.
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.
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.
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.
Posted by
boronine on Monday January 29, 2024 @01:14PM
from the ask-hn dept.
All examples below are "From" headers in emails sent from various web services to our corporate email. This makes it look like we are sending emails to ourselves.Some examples: "'Amazon Web Services' via Redacted - Admin" <[email protected]>
'Mezmo, Inc.' via Redacted Inc. - Admin <[email protected]>
'[email protected]' via Redacted - Admin...
To be clear, I find IntelliJ extremely fast, surprisingly so in fact. I was only looking for alternatives out of curiosity.
Very interesting, I'm going to test this. Seems that Rust is the best supported language?
Posted by
boronine on Friday January 26, 2024 @07:46AM
from the ask-hn dept.
I'm an IntelliJ user on M2 Mac, I've been testing VS Code out of curiosity and found it a bit slow, even simple things like "go to definition" have annoying latency.Out of pure curiosity, is there any alternative to JetBrains in this regard? I am aware of LSP, but skeptical that it can ever be fast due to its client-server design.Any programming language is fine as long as it has static types.