andrewzah

Joined 6 years ago

Karma
3,095
Submissions
938
Member since
Jan 22
The best way to reach me is by email: [email protected].

My website and blog: andrewzah.com. I write about programming, language learning, and traveling. I have been studying Korean for ~4 years now.

My code: https://github.com/andrewzah. Currently remotely employed by Open Source Systems.

GPG: D87BD9DCF11BACD6CDB40CB213732FB13E61E0BE

View on Hacker News

Recent submissions

Comment · 4 years ago
I tried Baikal but Radicale was much easier to use and set up. It’s been solid for the last two years for me.

That said I try to avoid self hosted services written in Python, especially if they use Django. I’ve had nothing but issues dockerizing them. I just want a static binary ideally.

Comment · 4 years ago
Yep, comes from “soyboy”, a pejorative for more feminine men. The term came about from soybeans having phytoestrogen.
Comment · 4 years ago
Politicians don't have the right to be on a private website. They already have official channels to communicate.

Twitter has every right to ban Putin, or Trump, or Duterte, etc.

Comment · 4 years ago
The fact of the matter is that the US is laid out in a way that cars are necessary for most places. Even if you actually get people to vote and participate in their local politics, that does not change how things are already laid out. It's not going to magically fix neighborhoods being 10-20 mins driving away from grocery stores and businesses.

I -want- to reduce car usage, but I'm also realistic.

"If that is the case, then why don't they make their voices heard?"

Some people do. See strong towns for example. Yeah, there's also NIMBY-ism. Turns out people working minimum wage jobs (who have to commute because they can't afford to live downtown) don't have as much time or energy to participate in local politics as well-off folks. But let's keep on blaming people!!

Also, I'm not sure if you understand what creepy means. Even if your points may be correct, I'm disinclined to engage with someone who calls everyone who doesn't exactly agree with them "creepy".

Comment · 4 years ago
* The UI is nice to have

* You get features like issues, project wiki, etc

* You can still collaborate/handle PRs easily with other people

I selfhost for the above and just to have a handy backup in case github is down.

Comment · 4 years ago
I wouldn't say it's terrible but prometheus & grafana have a learning curve for sure.

It's a question of do you want a pull-based architecture (prometheus) or a push-based one (influxdb). Grafana is just a frontend that supports either, although influx also has its own frontend.

Comment · 4 years ago
I've been using apple maps for probably 3 years now and for driving it's great. Both for local navigation and driving from the east coast to ~michigan/illinois. My family still swears by Waze, though.

The only thing I hate is it uses yelp for the reviews of places. Want to read more reviews or view pictures of a new place? Too bad, you need to install the yelp app... So I'll use google to look up places and then put the address into apple maps.

Comment · 4 years ago
Who is “we”?

It’s not surprising or creepy that people focus on what they actually can control.

None of us realistically can change the fact that America is built around roads. Not everyone can work from home.

People drive not because they want to, but because they have to. Criticizing that is a highly privileged take.

Comment · 4 years ago
I can’t speak for everyone but I make enough money that messing around with e-mail spam is not worth it, when I’d rather be playing my instruments or whatever.

I do my email through my registrar (gandi) so I don’t have to worry about free email going away, but before that I paid for zoho.

Basically the reason I selfhost is to save time, not to have to muck around. Luckily I knew ansible from work so it wasn’t that much work in the beginning to set that up for my services.

Comment · 4 years ago
I don't think the average router would be able to run much of anything, not to mention how insecure the average router is since people don't update them.

Mastodon is very resource heavy, I couldn't get it to run on a raspberry pi 3b. Pleroma is an alternative to mastodon that is very light on resources, I'd recommend that personally.

Comment · 4 years ago
To my eyes this is way harder to read than traditional notation, which really isn't hard to learn and works well for most music (and non-12TET music). It's hard to see if a note is on a line or just above/under it.
Comment · 4 years ago
If this concerns you so deeply then write to your representatives to enact legislation. The kid did nothing wrong as it stands now since anyone can look up that data apparently.

I doubt private flying will become that frequent within the next 100 years. How would it possibly be safer than driving? Now instead of just dealing with distracted, sleepy, drunk drivers on the road, I have to worry about accidents raining down from the sky? Please, just build train systems and well designed, well-zoned, walkable cities and we won’t need to worry about flying.

Comment · 4 years ago
Comparing a trivial <500 LoC program between languages doesn't tell you anything that's useful other than the terseness of the syntax. You might as well chain unix utilities together at that point.

Maintaining a 5k+ LoC java/c#/go/rust/crystal codebase is orders of magnitude simpler than standard ruby. Sorbet/RBS bridge that gap now, but are a pita to use compared to natively implementing a type system. I know with rust/go I get a simple binary at the end to copy over. Rust, unfortunately, has slow compilation times still compared to go, but I really can't stand error handling in go compared to rust.

That said, "ruthlessly productive" is an apt description. I just don't want to have to maintain a large rails codebase again without sorbet/rbs. I'm hoping phoenix/elixir or something in rust catches on.

Comment · 4 years ago
Crystal has local variables. I didn't mean to imply that ruby & crystal are 1:1 drop-in replacements, but there are a great many similarities. Enough for me as a ruby/rails dev to start on crystal projects with relatively little issue once I learned a bit about the standard library and the ecosystem.

Ruby's way of handling types is abhorrent compared to Crystal, though. Sorbet/RBS are unfortunate systems tacked on after people realized that type systems are actually really good and not really that verbose.

Comment · 4 years ago
What semantics is crystal lacking? Obviously it's not a 1:1 replacement as the ecosystem is different, gem management (shards) is different, etc. Crystal also has union types and concurrency.

For people who want a syntax like ruby + performance/concurrency, but are willing to deal with a different ecosystem and having to do more stuff by hand, Crystal is a nice choice.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton