HNHacker News
TopNewBestAskShowJobs

ungawatkt

200 karma · joined March 1, 2020

submissionscomments
ungawatkt··on Homebrew Git updated away from macOS's system cURL
Version 2.56.0_2 https://github.com/Homebrew/homebrew-core/pkgs/container/cor...
ungawatkt··on Strafe: A new open-source, E2E Encrypted, and federated alternative to Discord
Use case: my partner and I have a discord server just for us. That's something I'd like to keep a backup of for the future. Both for day to day communication that's searchable (what was this logistics thing?) and for nostalgia (where did we do that silly date? Can we do it again?)

And yes, a place for pictures between friends is handy, even if in running immich.

ungawatkt··on Ask HN: Share your personal website
https://cliftbar.site/
ungawatkt··on Ask HN: Where do you guys find audiobooks?
Downpour, most audiobooks are drm free and they have an audible-like subscription thing.
ungawatkt··on A tool for burning visible pictures on a compact disc surface (2022)
I gave this a go about 3 years ago when the hackday project[1] first got published, it turns out choosing the parameters is _very_ disc dependent, since every disc is a little bit different (possibly even between lots of the same type, not published anywhere, and quite sensitive. I got it working for the CD-R's I got, but it took ~50 experiments to get ok parameters (the image was pretty good, but still wobbly in some areas of the disc).

That said, the end result is pretty cool, if hard to photograph.

[1] https://hackaday.io/project/186303-burning-pictures-on-a-com...

ungawatkt··on Cozy video games can quell stress and anxiety
As much as it was a meme, I really did see a split in what folks enjoyed between Doom and Animal Crossing during covid, and they basically boiled down to the same thing: yeah, this game is so relaxing, I just turn my brain off and play.

Doom: all flow state, no thoughts, just execution.

Animal Crossing: cozy, comfortable, routine.

Funny how both accomplish similar things despite being so different on the surface.

ungawatkt··on DVD shop owner vows to be ‘last man standing’
makemkv->mkv->handbrake->mp4 is pretty straightforward for saving media, especially if you don't mess with handbrake much (I just use one settings profile for everything). _Playing_ bluray directly from disk is a PITA because of needing to set up the encryption keys and extra system libraries.

The part that eats my time is converting the subtitles from an image format (vosub/psg) to a text format (srt), since the image formats have never worked well for me on plex. SubtitleEdit is good but it still takes manual managing.

Edit: I forgot about the annoyance of finding a drive that works with ripping software, iirc there's only a couple that will without flashing firmware

ungawatkt··on Show HN: 2d web paddle game
Holding down one arrow key and only pressing the other makes directional changes much quicker, since the second press overrides but doesn't cancel the first.

Very fun!

ungawatkt··on Ask HN: What was your most humbling learning moment?
Hitting a semester in college where I just couldn't keep up the way I was used to (A's and B's by default). It was the first time I had to manage my workload and purposefully do a worse job on things (so I had time for everything) to just get C's. It was definitely easier to learn those skills in college than in the workplace.
ungawatkt··on Atlantic hurricane season will be 'extraordinary,' forecasters warn
Low risk, but never say never. Hilary in 2023 caused a bunch of flooding in SoCal and the NHC sent out a tropical storm warning, but with the California Current keeping the water cold along the west coast there's a pretty big barrier in the way, plus the winds blow away from the coast on average in that region. Hilary is a good example: it was a Cat 4 until it hit the cold water, landed as a Tropical Storm, and lost steam fairly quickly as an organized system (though still had impact via rainfall). Storms might start stronger and get further north, but I don't think it's high on the list of risks.
ungawatkt··on Atlantic hurricane season will be 'extraordinary,' forecasters warn
And for some more in depth discussion on the models and weather patterns while still being accessible, tropical tidbits released an outlook video this week https://youtu.be/QFID_jfNId4
ungawatkt··on Ask HN: Has anyone here ever tried throwing everything away?
Stuff: toss it if you don't have a clear, exact reason to keep it. It's nice to have things, and if you have room for them and it doesn't cost much keep them, but otherwise it's _just_ reacquisition cost if you need it (I know that is a meaningful cost sometimes, but also sometimes it's cheaper to ditch things)

People: they come and go, and often dropping them is not great but ok. Don't feel beholden to an acquaintance just because. The real ones though, and you know who they are, never let go of them. you only get a few of those people in life, don't waste them.

Job: if you're in this headspace, it's a commodity, you need to live but don't let it own you. use the toothbrush rule: don't throw out your old one until you have a new one, because it sure feels dumb to fish your old one out of the trash when you got busy and didn't make it to the store. But don't be afraid to throw out the toothbrush for one that's not worn out.

For everything in general: find what the actual issue is. That's a simple to say but massively hard thing to do. But, blowing up your life is something that shouldn't happen every 2-3 months or years, and the urge to do that is a sign of deeper problems that's mere change won't help.

ungawatkt··on Nintendo 3DS Architecture
> includes an actual, physical, hardware Gameboy Advance CPU

That's an old trick (though no less cool). The GBA had a GBC cpu in it for backwards compatibility, and it used a physical switch to change modes, toggled by the cartridge itself. And iirc the PS2 reused the PS1 cpu as a component on the board for I/O, so it was available for backwards compatibility as well (though with emulation help for other components).

ungawatkt··on Lies my calculator and computer told me (1987) [pdf]
my thought reading this quote was: If you squint and turn it sideways, that's a solver function.

Sure enough, slightly higher in the article: > “We use a circular reference in Excel to do linear regression.”

ungawatkt··on Mathematics of Hurricane Modeling and Forecasting (2008, ppt) [pdf]
for taking a computational fluids approach, I think yes, you're largely correct. Hurricanes have a class of models that are parametric, where you can get a 2 dimensional wind footprint based on some initial conditions; primarily central pressure, size (radius of max wind), and location. These models rely on empirical measurements to get simpler. NWS 23 (0) is an old model, it's the one I've implemented before. But there's been more refined parametric models that have come out, and updates to older ones, for example the work by Holland (1) and Wiloughby (2). Take this with a grain of salt, since I'm no expert in this field.

(0) https://library.oarcloud.noaa.gov/noaa_documents.lib/NWS/TR_... (1) https://opensky.ucar.edu/islandora/object/articles%3A17282/d... (2) https://journals.ametsoc.org/view/journals/mwre/141/6/mwr-d-...

ungawatkt··on Mathematics of Hurricane Modeling and Forecasting (2008, ppt) [pdf]
Yep, for my purposes I tend to use pngs for simplicity, but the next step would be GeoTIFF
ungawatkt··on Mathematics of Hurricane Modeling and Forecasting (2008, ppt) [pdf]
Hurricanes specifically are pretty friendly to relatively simple 2 dimensional models, since for the most part people care about the wind impacting the surface. So for that I've used raster files - xy grid is lat/lon, and you can encode a values per rgba channel, usually windspeed and central pressure, storm surge value if you have one, maybe surface friction at a point as well, I just use windspeed in these files (0). And rasters over time gives you animations, similar to this NHC product(1).

GeoJSON and Shapefiles in something like PostGIS is also viable for relatively small and simple things, like tracks or single 2D events, but once you start covering enough area or need to model in 3 dimensional grid, those more specialized file formats become more powerful.

0: https://www.odinseye.cloud/hurricane/2016/matthew2016/ 1: https://www.nhc.noaa.gov/archive/2023/HILARY_graphics.php

ungawatkt··on Ask HN: How can a BE/infra developer handle the FE side of personal projects?
I'm in the same boat, good with be and infra, mediocre at best with fe (I've accepted that I just don't enjoy it much). I've taken to very minimal UIs in just vanilla js, html, and almost no css. Basically, punt on the ui until it's something worth doing; if the project turns real either you'll find someone to make a pretty UI quick since the functionality is there, or you'll learn yourself.

Bonus, using ai to write css is much quicker than combinatorially trying every css layout option like I usually do since I never remember that stuff.

ungawatkt··on Space to Do Whatever, at Work
I'd love to have this, but I see two near insurmountable problems for most teams:

- velocity metrics go down and timelines stretch, because effort is "wasted" on things that don't get finished.

- someone needs to do the boring hard work of laying out a whole project in advanced, fairly clearly if folks are allowed to jump around on the project.

Without those two, either the team looks bad to management or folks get stuck in a dead end even if they want to work on something (or spend their whole "20%" time just gathering requirements)

ungawatkt··on Ask HN: Would you pay for a SaaS even if its open source and can be selfhosted?
- If I'm using it for fun, learning, or testing it out: I'll probably self host it, I already have a server and enjoy that.

- If any of my friends use it who don't do self hosting normally (techy or otherwise): they'll probably use the cloud offering.

- If I'm using it for business use: cloud offering unless its mission critical or core infrastructure, then it depends.

- If it's one of my few "don't live without it" personal apps: cloud offering or I'll buy a license/do a donation.

ungawatkt··on Colorado repealed law limiting municipal internet
To pile on the examples, I had a Comcast connection in SF that was 1gbit down, 5mbit up during covid (based on regular speed tests and what little I could glean from the plans without being the account holder). With 6 people in the house juggling video calls there was definitely some audio only days when schedules clashed.
ungawatkt··on Blizzard developers say return-to-office policy 'cost us some amazing people'
Just read the Kotaku article it links to, PC gamer isn't adding anything that I see.

https://kotaku.com/blizzard-diablo-iv-world-warcraft-remote-...

ungawatkt··on Ask HN: It's 2023, how do you choose between MySQL and Postgres?
postgres just because I'm more familiar with it, and the extension ecosystem (TimescaleDB, PostGIS, etc etc).

That said, I'm not going to be sad with MySQL, though I'd probably go with MariaDB just because of full open source (note, I don't know any details there, being a postgres guy)

ungawatkt··on YouTube is giving Premium subscribers higher-quality video than everyone else
Ha, timely, as vanced appears to have finally stopped working for me today. I dunno if there's an update or successor yet, but time to figure that out or cough up for premium I guess.
ungawatkt··on Swarmlet: A self-hosted, open-source Platform as a Service
yeah, that's what I have now. I see the path to letting nomad deal with the addressing (rather than specifying static ports), but setting up a route in caddy for a new service would still be manual. I expect you could do some fancy scripting/go templating with the caddyfile and template block to make it spin up new routes more "automatically", but at that point I think you'd be better off seeing what Consul could do for you. Or traefik discovery with tags, I expect that could be convinced to work with Nomad, not that I've tried. (edit, seems like yes [0])

And I'd agree that the volume story isn't great compared to what I know of k8s. There's info out there for setting up NFS volumes, or something like portworx or ceph, but that's going beyond what I want to do for 1-3 pet nodes on a home server, I can deal with volumes staying bound to a node.

[0] https://traefik.io/blog/traefik-proxy-fully-integrates-with-...

ungawatkt··on Swarmlet: A self-hosted, open-source Platform as a Service
Nomad running as a server (manager) and client (worker) on the main server, and as a client on a rpi3, through systemd on both, the install [0] and deploy [1] instructions worked well enough. It has constraints to control which client takes what workload (ex. I don't care which runs ddclient, but photoprism can't move to the rpi, and the sensor readers can't leave the rpi).

Caddy for reverse proxy and tls handling running as a service, so all ingress goes through that, there wasn't too much exciting there. I was porting over a docker-compose workload, so most services have a static port and I just route to the port in the caddyfile (I passed my router as the DNS for the reverse proxy, so its by hostname). I'll get caddy to use nomad for service addresses at some point.

But for photoprism, I've got the service discovery set up to its database, it's kind of awkward since the nomad native discovery goes into env vars or a file through the `template` block [2], but it does work.

Nomad is pickier about setting resource limits, so I had to actually set those to something reasonable.

I've mostly got Docker based services, so this reference [3] has been useful. There's a couple ways to mount the volumes, which is annoying, and there's some gotchas around docker image handling (short shorty is don't use the `latest` tag).

I probably haven't organized my jobs/groups/tasks well (the analog to k8s pods hierarchy), but that's for later.

[0] https://developer.hashicorp.com/nomad/tutorials/get-started/... [1] https://developer.hashicorp.com/nomad/tutorials/enterprise/p... [2] https://www.hashicorp.com/blog/nomad-service-discovery [3] https://developer.hashicorp.com/nomad/docs/drivers/docker

ungawatkt··on Swarmlet: A self-hosted, open-source Platform as a Service
I've been trying out Nomad on a home server setup, its still not as simple as Swarm and has some hard edges to learn around, but overall it hasn't been a bad experience, definitely easier than my attempts at k8s. And Nomad got basic built in service discovery in the last couple versions, which was the main thing turning me away (it used to require running Consul).
ungawatkt··on QGIS is the mapping software you didn't know you needed
It wasn't 1-1 with clicks, and it took a ton of trial and error, but I managed to get there eventually with a project. Here's the passable write up I made for it, theres a link to the final script towards the end, hopefully theres enough to be helpful.

https://www.odinseye.cloud/musings/qgis_scripting/

ungawatkt··on QGIS is the mapping software you didn't know you needed
I'm years out of date, but it competed well with ArcGIS until the expert level, to the point that I gave up my ArcGIS license where I was working and didn't miss much of anything day to day.

QGIS also has server and headless options, plus lots of the QGIS core is importable into python scripts.

ungawatkt··on Photoprism – open-source Google Photos Alternative
This does make sense as a more specific UX/workflow complaint, google photos and similar setups are going to do much better with that. You can use the PWA on mobile after the sync runs, but it's not going to be the same as native apps on mobile and server that manage syncing behind the scenes. So definitely a downside if most of your photo management happens on the phone.
Page 1 of 4Next →