Better HN
topnewbestaskshowjobs
Log inSign up

prein

48 karma · joined Feb 18, 2023 (3y ago) · 16 submissions

Submissions

comment 3mo ago · link · parent

It's a reference to Greek mythology, which predates Ayn Rand by several thousand years.

comment 10mo ago · link · parent

I know nothing about climbing. beyond the straight flex of "I could die if I make a mistake", is there a point to doing this without safety equipment?

comment 1y ago · link · parent

yep, i use fastmail with a custom domain. i have a catch all email set up, so i just register any account on sitename.com as "sitename@mydomain" and it all gets sorted into a catch all folder. I can then run rules if i want it to go into a certain category like "bills" or just straight to the garbage.

comment 1y ago · link · parent

ripgrep is an amazing tool, thank you for your hard work!

comment 1y ago · link · parent

I've been writing a ton of ts/js at work, so using htmx for a quick weekend project was a nice change of pace.

I really appreciated the library of examples; they cover a lot of common use cases. Between that and the docs I had no trouble figuring out how things worked.

comment 1y ago · link · parent

Take a look at their description of how SQLite is tested: https://www.sqlite.org/testing.html

I think a lot of projects that claim to have 100% coverage are overselling their testing, but SQLite is in another category of thoroughness entirely.

comment 1y ago · link · parent

I don't daily drive KDE, but when I set up our home media PC in the living room over the weekend, KDE was a no-brainier to pick for the DE.

Everything immediately just worked, it's familiar enough that someone not used to Linux can click around and get to things, and as a bonus, controlling it from the couch with our phones is trivial with KDE Connect.

comment 1y ago · link · parent

Once, after we had an application go live, we started getting reports after a few hours that new users were unable to log in.

It turns out, somewhere in the auth path, a dev had used `==` to verify a user's ID, which worked for Longs under (I believe) 128, so any users with an ID bigger than that were unable to log in due to the comparison failing.

comment 1y ago · link · parent

I used to feel the same way, but I found that I like the animations in Niri. It helps me to keep a mental model of where everything is located in the infinite strip.

I did change the settings to speed them up significantly, which I think is a good middle ground.

comment 1y ago · link · parent

I switched from i3 to Niri a couple weeks ago, and I've been super happy with it.

Niri feels like it lines up more naturally with the way I tend to use windows and workspaces. I'm working on one project per workspace, opening an occasional ephermeral terminal window or web browser to the right when I need to reference something or run a quick command. My other windows in the workspace aren't altered by these new ones, no reflow happens, and then I can close it when done.

My only problem with Niri is that now I really want an Ultrawide monitor.

comment 1y ago · link · parent

I didn't even know they were using delivery drones yet. Why did they both crash, were they working in tandem carrying one payload or something?

comment 1y ago · link · parent

After using gmail for around a decade, I switched to fastmail a few months ago and have been extremely happy with the change.

I still have a lot of accounts associated to my gmail email, but i've been slowly migrating things over when convenient. It has been a much smaller lift than I anticipated and absolutely worth it.

comment 1y ago · link · parent

This sort of thing is why looking at generated SQL while developing instead of just trusting the ORM to write good queries is so important.

I find query planning (and databases in general) to be very difficult to reason about, basically magic. Does anyone have some recommended reading or advice?

comment 1y ago · link · parent

What would be a better alternative than LaTex for the alt text? I can't think of a solution that makes more sense, it provides an unambiguous representation of what's depicted.

I wouldn't think an LLM would have issue with that at all. I can see how a screen reader might, but it seems like the same problem faced by a screen reader with any piece of code, not just LaTex.

comment 1y ago · link · parent

I’ve been using Firefox for nearly 20 years. Lately I’ve noticed more and more websites that don’t work with it. Usually I can just ignore the bugs or avoid the site, but sometimes it’s something that I have to do (like pay a bill) and so I have no choice but to keep a Chromium install around as well.

I really hate having to double-fist browsers, but I’m too stubborn to switch to a Chromium-based browser full time. I’ll use Firefox or any other alternative for as long as the web remains usable on them.

comment 1y ago · link · parent

Interesting idea, but I would worry that developers wouldn’t catch things like slow queries or other performance issues that crop up when using an actual database.