HNHacker News
TopNewBestAskShowJobs

altano

987 karma · joined July 8, 2007

I wish JavaScript had RAII.

https://alan.norbauer.com

submissionscomments
altano··on Laya on Mac M4 CoreML Offline
How much memory does this use of the test machine's (M3 Max) 128 GB unified memory?
altano··on Apple wants to train AI on your private personal data
Opt-in = explicit and opt-out = implicit. You can't have implicit opt-in, that wouldn't make any sense.
altano··on Jellyfin 12.0
Yeaaahhhhhh, you’re totally right
altano··on Jellyfin 12.0
https://github.com/jellyfin/jellyfin/issues/5415

A lot of Jellyfin's API doesn't require any authentication at all, as an example.

altano··on Jellyfin 12.0
You can either require mesh vpn or make it easy for friends to access your library. You can't have both.
altano··on Jellyfin 12.0
I hate people who are demanding of open source projects but... doing performance improvements and adding comic book support before making the product secure enough to expose to the internet is wild prioritization and I don't know what else to say.

Or release native clients that can use OIDC.

Doing neither sucks =[.

altano··on Ioskeley Mono
What is the point of this? Either buy Berkeley Mono or go use something else.
altano··on Claude Code plugin that plays a Mr. Meeseeks voice line whene Claude is waiting
I don't understand the configuration. How do you turn off the feedback/prompt sound?
altano··on The disappearance of Japan's animators
Ending sequence?

Arco was an entirely hand-drawn movie w/ a 93% Rotten Tomato score released this year. Couldn't even break even. I liked it a lot.

Seems bleak to me.

altano··on Apple raises prices of MacBooks, iPads
I bought exactly that, in 14", last April. Before tax, it was $5,853 and is now $7,849
altano··on Jujutsu megamerges for fun and profit
visualjj, it’s fantastic
altano··on GitHub Stacked PRs
The `gh stack` CLI sounds essential for people using git, but I hope it doesn't become required, as people using things like jj/sl should be able to work with stacks. `gs submit`/`gs push` being the interface is fine, but `gs init` and `gs add` should be optional.
altano··on GitHub Stacked PRs
This _is_ a solution to slow reviews. Smaller reviews are faster to get in. And many small reviews take less time to review than one large review.

Plus there's no review that's instant. Being able to continue working is always better.

altano··on My Homelab Setup
It's better than having to hear them complain every time plex goes down
altano··on My Homelab Setup
In the 1Password entry go to the "website" item. To right right there's an "autofill behavior" button. Change it to "Only fill on this exact host" and it will no longer show up unless the full host matches exactly
altano··on A GitHub Issue Title Compromised 4k Developer Machines
Or those who use pnpm
altano··on Nvidia's 10-year effort to make the Shield TV the most updated Android device
Moonlight on the Apple TV works great.
altano··on Nvidia's 10-year effort to make the Shield TV the most updated Android device
They added auto-playing, full screen video ads to the home screen. I threw mine in the garbage.

Pride and love, lol…

altano··on Mermaid ASCII: Render Mermaid diagrams in your terminal
Who’s going to make the rehype plugin?
altano··on We’ll be ending web hosting for your apps on Glitch
I think it's pretty common for more than one thing to happen on most days.
altano··on Mise: Dev tools, env vars, task runner
https://lobste.rs/s/a1jo3a/devenv_0_6_generating_containers_...
altano··on Show HN: Flox 1.0 – Open-source dev env as code with Nix
I think Devbox's killer feature is trivially searching for and installing packages by version: https://www.jetpack.io/blog/how-nixhub-searches-nixpkgs/
altano··on Live Map of Swiss Trains
There's no need for anecdotes as the data is published. Only ~1% of connections are missed: https://reporting.sbb.ch/punctuality?=&years=1,4,5,6,7&scrol...

~93% of trains are punctual with a VERY strict definition for punctual: within 3 minutes of the scheduled time.

If you experienced worse, you were in an unlucky minority of people.

altano··on Building ColdFusion for the Web
CFML was the easiest way to get into dynamic, server-side rendered pages back in the day. It was insanely productive and easy for a person cutting their teeth on programming as it was such a small leap from HTML.

I don't know of anything that still ticks those boxes but if you're just looking for (1) easy-ish, (2) interspersing HTML tags and code, and (3) server-side rendered simplicity, then PHP is still a very viable successor.

altano··on Debugging tricks in the browser
Oh! I understand the question now.

You can put any expression into a conditional breakpoint, so anything you can do in the console you can do in a conditional breakpoint.

So, if you're doing this sort of thing once, you can just type it into the console and you're golden. But if you want to modify a stack local variable over and over again every time it is initialized, it's much easier to do in a conditional breakpoint because then it will happen every time that line of code runs, and your debugger never has to pause. (see https://alan.norbauer.com/articles/browser-debugging-tricks#...)

altano··on Debugging tricks in the browser
Your comment made me want to scratch this long-standing itch and write-up why you should disable source maps. Check this out:

https://alan.norbauer.com/articles/disable-source-maps

altano··on Debugging tricks in the browser
Disable source maps in the debugger. They are likely the source of your frustration and frankly I still do not understand why they are on by default given how bad the experience is of actively debugging with them on.
altano··on Debugging tricks in the browser
That’s not under the conditional breakpoint heading. You would just override the value to be a getter in the console, or you could even change it in your source code if you have write access.
altano··on Debugging tricks in the browser
I'm the author of the article and my advice is that you stop reading it and go learn about Replay.io instead. It's the most slept on web tech and will up your debugging game immensely. Seriously, go check it out.
altano··on Interesting Bugs Caught by ESLint's no-constant-binary-expression (2022)
You can't have 100% test coverage with these kinds of bugs, because these bugs create unreachable expressions.

You can either find out you have these bugs from lint errors or you can find out by finding them in code coverage reports while chasing 100% code coverage. Most people would obviously prefer the former.

Page 1 of 14Next →