HNHacker News
TopNewBestAskShowJobs

andrewzah

3,095 karma · joined January 22, 2020

The best way to reach me is by email: zah@andrewzah.com.

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

submissionscomments
andrewzah··on FreeBSD 13.0 – Full Desktop Experience
For me, stability. I put OpenBSD on my router and it is really quite nice to administrate it with unbound, dhcpd, and pf. Rc is significantly nicer to work with than systemd.

OpenBSD's documentation in general is very high quality, and FreeBSD to a lesser extent. Other distros are not really documented as well, so I have to rely on adapting information from the arch wiki most of the time.

For FreeBSD, jails are nice but I prefer docker. (which I have to use anyways for work).

Both FreeBSD & OpenBSD have a nicer user experience in general, in my experience. That said, I can't use them as daily drivers due to not having docker and other tools, and gaming. Linux isn't stellar for games but I can at least run a lot of games these days through Proton, etc.

andrewzah··on FreeBSD 13.0 – Full Desktop Experience
"I've seen some of the BSD folk present that as a good thing. To each his own, I guess."

Yes, this is the whole point of making something Open Source.

With FreeBSD companies like Netflix contribute to it, and I'd imagine it's similar for OpenBSD as well.

andrewzah··on Self-Hosting Git
I find that gitlab is generally overkill. Gitea [0] is quite simple to deploy and uses much less resources. If you do want CI/CD later, you can integrate a self-hosted Drone [1] instance.

[0]: https://github.com/go-gitea/gitea

[1]: https://github.com/drone/drone

andrewzah··on We Don’t Use Docker
"Docker is easy from a basic usage standpoint like most tutorials are"

This applies to basically any software or tooling once you get away from the initial tutorials. They wouldn't be tutorials if they covered all sorts of specific use cases particular to your own situation.

"The hard part is when you start configuring and configuring to your own requirements. What baseimage should you use? How about logging?"

Either the same distro you would use on a bespoke server, or you can optimize with alpine or scratch. Logging can be as simple or complicated as you want it to be, regardless if you use docker or not.

"How about PID 1 problem?"

We use s6-overlay [0] to manage this. When a service dies, a script gets executed, giving us control over how to handle it.

"How about SSH?"

For us, we use ansible to provision/set up kubernetes with ssh keys, then access pods and containers through kubernetes' cli. It isn't particularly -nice-, but it does work.

"How about restarting servers? How about migrations? One-off scripts?"

This is managed through kubernetes. You can restart servers and make deployments.

[0]: https://github.com/just-containers/s6-overlay#features

andrewzah··on We Don’t Use Docker
"Setting up a systemd unit file (it's not even a script) doesn't even come close to the complexity of wrapping, maintaining, and potentially orchestrating software within containers."

I find that the complexity of managing containers is overstated. It does have costs, but the benefits of docker and containerization in general outweigh those costs. Kubernetes is significantly more complicated and is not always a good choice depending on the use case.

"like systemd?"

I find that systemd tries to do far too much for our needs, namely for just managing services in a container. Our images have their services manged by s6-overlay [0], but there are multiple init systems one can use. I do not see the benefit of systemd over i.e. s6 or runit, but that is tangential to this discussion.

[0]: https://github.com/just-containers/s6-overlay

andrewzah··on We Don’t Use Docker
Alpine is a common example, but you could use scratch and only copy in exactly what you need. Both of these are extremely lightweight.

Having a full OS is helpful for troubleshooting issues, for starters. If one of the nodes is having an issue, it's helpful to be able to log in and examine the state of things.

One pain point of docker/k8s is figuring out networking, and having a container with dns-utils installed is quite handy.

andrewzah··on We Don’t Use Docker
"in the end can you really say it’s simpler than what we’ve got for free built in to golang?"

In this cherry picked example with a golang binary, sure. At my job, docker has saved us probably hundreds of man-hours. We don't have to worry about complications like systemd, because I can tell a container exactly how to run. Etcetera.

You can copy the golang binary into an alpine container and instead of having to maintain a server, you now have ephemeral containers that can be destroyed, spun up, scaled...

There is a difference of keeping things minimal and refusing to use industry tools. There is nothing scary about docker or even kubernetes. But they do take time to learn and understand, and yes, the benefits of containerization outweigh using bespoke server setups.

edit: s/systemd init scripts/systemd. We use s6-overlay instead of systemd to manage processes in containers.

andrewzah··on Mozilla plans to remove the Compact Density option from Firefox's Customize menu
Vim (at least v8.1.1401) already does that.

type :q<Enter> to exit

type :help<Enter> or <F1> for on-line help

type :help version8<Enter> for version info

As the sibling comment noted, neovim also has something similar.

andrewzah··on Hockey goalies are too big now
What I do in these cases is bookmark the article / save it elsewhere, and read it when I'm in a mood to digest a longer article. For what it's worth, I enjoyed the prose of this article and I would rather see more articles like it, than condensing everything to bullet points.
andrewzah··on Vim Clutch – A hardware pedal for improved text editing (2012)
Yes it does. I do the same thing but with jj.
andrewzah··on The Endless Life Cycle of Japanese City Pop
So, city pop is somewhat personal to me here. Like others I discovered it through youtube, and ended up going on a deep, deep rabbit hole journey. I'm talking about albums like Tatsuro Yamashita's FOR YOU, and Come Along. and Toshiki Kadomatsu's After 5 Clash, City Shore, Sea Is A Lady, and Sea Breeze. Of course, there is the iconic Plastic Love by Mariya Takeuchi. [0]

My curiosity was initially piqued by the energetic and expressive bass lines (compared to e.g. modern pop). Tetsuo Sakurai (of Casiopea) and Tomohito Aoki (who played on After 5 Clash) are/were phenomenal players and their tracks still inspire me. I also started studying guitar, which lead to me discovering Issei Noro (of Casiopea) and Masayoshi Takanaka. The musicianship on a lot of these albums is fantastic, particularly the bass players. There are so many tracks like Airport Lady that are inspiring, if intimidating.

I have discovered so many good albums here that I can't list them all. For the curious, I have a lot saved to my wantlist on discogs [2], and a youtube playlist of mixes/albums. [3] Note that for the YT playlist, some of the albums are ones I intend to listen to later. I love Takanaka's album covers as he always looks so happy. [6]

Takanaka's Rainbow Goblins [1] may be one of my favorite live albums, ever. His performance directly inspired me to get into guitar as well. Check out the slap bass intro to Asayake from Casiopea's 1985 concert. [5] I liked these so much that I purchased them on laserdisc via Japanese ebay and am working to find a high quality laserdisc player to rip them properly.

It's been months and I keep on discovering new albums, most of which get uploaded by Xerf Xpec [4]. It can definitely be hit or miss, with some albums sounding very cheesy.

---

So naturally people have to write "articles" like this that somehow paint a revitalization of a genre/time period by another culture/generation as somehow bad. It's political drivel that benefits no one. I was born in '96. My bad for not being born in Japan in the '70s.

My Korean friends also like city pop (even the ones that really dislike Japan/the Japanese government), so this article's premise doesn't make sense.

The algorithm likely recommends these albums because people, well, like it. Retro stuff is in.

[0]: https://www.youtube.com/watch?v=FUQWaQtpaKU

[1]: https://youtu.be/1MXIz_-5ZBU?t=432

[2]: https://www.discogs.com/wantlist?user=andrewzah&page=2

[3]: https://www.youtube.com/playlist?list=PLSxs5PgbqSvpORXzEkBn7...

[4]: https://www.youtube.com/channel/UCkfmbKrdAH3_NHkbAZhWqIw

[5]: https://www.youtube.com/watch?v=T6vkDc6CJeA&t=2379s

[6]: https://www.youtube.com/watch?v=WAEU9q1kLvk

andrewzah··on From Vim to Emacs in fourteen days (2015)
"How many lines of vimscript have you written? No, copy-pasting config lines from someone's dotfiles doesn't count. How many times have you opened the source code of some vim plugin you are using and tried to modify what it does?"

Well, I haven't had a real reason to do so. I used to use more plugins but I slowly am paring it down to a much more minimal configuration. I'm not a huge fan of vimscript, but I don't think it's worth changing over to emacs for. Plain vi actually isn't that bad, depending on the version.

"Emacs-like shortcuts are also available wherever you have readline (e.g. many shells)."

Sure, and I appreciate the irony of learning some emacs shortcuts for readline while using vim. But that's different from editing. The only time I've seen vi not available is in scratch/alpine linux containers where busybox essentials weren't installed either.

I suppose my use case is different because I work a lot with containers, and minimal install systems in general.

andrewzah··on From buggies to buses, the first Black-owned US automaker did what few dared
"I get referred to as white. I put "white" on job applications and census forms."

So do I. And like every white person I know, if asked about identity, I state my heritage/background. Romanian/Romanian-American/American.

"I face an increasing amount of discrimination, from affirmative action making it harder to get jobs to subtle cultural discrimination like this or seeing stereotypes everywhere."

[Citation needed]. A lot (most?) companies still have issues with diversity because hiring is generally done via word of mouth, and it is likely among white people to have mostly white friends. edit: and as the sibling comment pointed out, there are tangible benefits that come with diverse teams.

(In my own opinion, it is also concerning to equate hires of minority candidates with lesser quality candidates. This is simply unsubstantiated and not true.)

Stereotypes have always existed. They're not appropriate regardless of the identity targeted, and reasonable people are aware of this.

What "cultural discrimination" are you talking about? There is no "white" culture in the first place.

"Imagine saying that to a black person when they were complaining about perceived racism that you disagreed with. "

Good thing I'm not. I'm saying it here because every single time black people talk about identity, white people butt in and go "what about me?". Literally every single time. Black people cannot talk about the issues they face without interjections of "uh hey we face issues too". Except you and I don't face the same discrimination and struggles that Black Americans do, not even close.

"But I and my age group was raised under the ethos that we should judge each other not by the color of our skin, but by the character of our hearts."

Cute story, but we need to acknowledge the real and systemic issues that people face precisely due to their skin color. And that means talking about race and identity, not conveniently ignoring it.

andrewzah··on From buggies to buses, the first Black-owned US automaker did what few dared
"Identities are generally fluid and reflect matters of degrees of commonality and shared experience."

Well sure, and this is what I believe is happening with the Black identity. Unified may have been the wrong word to convey what I mean.

I have zero reason to feel anything like that with a "white" identity, germans being just an example. There is no real anti-white discrimination in a systemic sense like what black people face, so I see no reason that white would warrant a capitalization. There is just no similar shared identity.

andrewzah··on From buggies to buses, the first Black-owned US automaker did what few dared
...black people universally get discriminated in a systemic fashion in the US based on their appearance. This is not unique to any one state.

Obviously people in different states lead different lives. It's still possible to have a shared identity through facing similar struggles and discrimination.

Just because I grew up in IL and my cousin grew up in CA doesn't mean we can't have a shared identity as Romanian-Americans either.

edit: I have amended this and my parent post to clarify I meant a shared experience, not a unified one.

andrewzah··on From buggies to buses, the first Black-owned US automaker did what few dared
"okay for black people form an identity behind their race"

Probably because they get referred to as black and get discriminated against due to their physical appearance regardless of their actual heritage or where they're from? It's not so much a choice as something that they get constantly reminded about.

Anecdotally speaking, there are Black communities, but I've never seen a "white" community (aside from white supremacist type groups)- just communities of nationalities or ethnicity. I grew up in Romanian communities and none of us ever used "white" as an identity.

Not everything is about you or me.

andrewzah··on From buggies to buses, the first Black-owned US automaker did what few dared
"because many people are uncomfortable recognizing white identity"

There is no unified "white" identity. I am white, my ethnicity is Romanian. There is no shared identity between me, and for example someone with German heritage. So to capitalize "White" is silly in my eyes.

edit: unified may have been a poor choice here. "Shared" is what I was getting at. Of course people across the US have different experiences and opinions.

andrewzah··on From buggies to buses, the first Black-owned US automaker did what few dared
They are doing it to disambiguate between the color black, and identity Black. [0]

If your question is "why not african-american"? It's likely because not every black person is from Africa, or is American. Personally I think African-American is a poor term and Black American is better (if they're American, obviously).

[0]: https://apnews.com/article/71386b46dbff8190e71493a763e8f45a

andrewzah··on From Vim to Emacs in fourteen days (2015)
This article fails to explain -why- one would want to switch to emacs from vim.

Org-mode and configuring emacs in a lisp-like are cool, but are not worth re-learning everything for me. I put that time in already by reading "Practical Vim" by Drew Neil and other vim literature online. I'm sure everyone is already aware, but vi is available basically everywhere. This has saved my ass at least twice where I couldn't access vim or had internet access to install XYZ editor.

So as a power vim user I see no reason to switch. If I can't use vim, most editors now have support for reasonable vim bindings. So I use that for Jetbrains' products / Joplin / Insomnia / etc.

andrewzah··on Snobbery Helped Take the Spice Out of European Cooking (2015)
You need to do some introspection and ask yourself why you assume these things about people and food. This is not healthy.

It is not normal to make these assumptions about what people like because of assumptions about them due to where they are from.

It is bizarre, judgemental, and completely unsubstantiated. Let people like food (and things in general), stop over-complicating things and injecting your own political biases into it. Everything in life is political, what of it? Humans need to eat.

Also, good food and good food prep is not limited to any country or nationality.

andrewzah··on Snobbery Helped Take the Spice Out of European Cooking (2015)
You're being downvoted for having an extremely bad take on why people like food.

Regarding kimchi: I had never eaten it until I was ~22. Now I love it, can't get enough of it. Go through jars of it pretty fast, and I miss numerous dishes from Korea. The growth in popularity is a simple explanation: Korea in general has exploded in popularity due to kpop & korean dramas. So it's reasonable that it has placed korean food on more peoples' radars. It's reasonable to say that not everyone likes kimchi, as it's pretty pungent and the typical variety is a bit spicy, but I love that smell.

Also you are completely wrong about Korean cuisine. I have no idea how you could say it's "one dimensional", unless you were predisposed to not like it in the first place. Korean food is diverse and in general, very good.

My brother worked at a popular Thai place, so he picked up some good recipes. As an American, we've both grown up exposed to many X-American food styles. The idea of us liking i.e. indian food because of politics is absurd to the point of being comical.

It's so condescending and arrogant to assume that -liking food- must have to do with one's political viewpoints. Just because you don't find something appealing doesn't mean nobody else does. I believe that you are projecting something and you don't realize it.

andrewzah··on The tree-based approach to organizing documentation sucks
Our documentation sucks because it is time-consuming to do documentation properly.

I am hoping to fix this by introducing Optic [0] to automatically handle generating API diffs.

[0]: https://github.com/opticdev/optic

andrewzah··on Girls perform better academically in almost all countries (2015)
Anyone who has ever taught young boys and girls has almost certainly experienced a marked difference in behavior.

Schooling as a whole needs to be overhauled to better accommodate young boys. Until then, we're going to see wider and wider gaps at highschool and university levels.

Regardless of gender, schooling as a whole needs to move away from this factory-like system with underpaid teachers and an emphasis on test scores. It would be nice if there were an easy solution...

andrewzah··on Linus and Pull Requests (2012)
Maybe, maybe not. There are infinite hypothetical realities, so I do not find it productive to muse on them.

The reality is such that Linus wrote Linux, people adopted it, and here we are.

andrewzah··on Linus and Pull Requests (2012)
"whether you wouldn't be better off for purely selfish reason if you gave up on project management and idk wrote some scuba software"

It's selfish to assume that because you might be happy doing that, then all people should do that. Maybe he wants to work on Linux? Nobody is forced to contribute to or work on his project.

andrewzah··on Linus and Pull Requests (2012)
No, people deserve common decency. Respect is earned. I think we're going to disagree on terminology here. I do not think every person is automatically worthy of respect, until proven otherwise.

Linus has already apologized for his past outbursts, and I do not condone abusive language to people.

andrewzah··on Replaying real life: how the Waymo Driver avoids fatal human crashes
"A country can change their car reliance."

Not to be bleak, but I doubt this will happen for a long time, if ever, in the US. It -may- happen regionally among a state or two, but good luck getting multiple states to coordinate on a project like this.

We can't even get things like voting centers done properly, so how in the world are we going to implement public transit? There is no incentive for politicians, and I bet the car industry would quickly give them incentives otherwise if they even attempted it.

andrewzah··on Linus and Pull Requests (2012)
I don’t disagree that Linus has gone way overboard when chewing people out. The language in some of his rants is completely inappropriate, and he has since apologized for that. But if someone who 100% knew better did something they shouldn’t have, sometimes getting chewed out is appropriate.

“maybe finding another hobby”

It’s very easy to sit here in our armchairs and go “yeah he should just abandon his project”. I’m not sure how any of us would react to one of our projects growing to the scale linux has, but blithely suggesting one should just swap careers or hobbies (since programming is -just- a hobby apparently) is not productive at all.

andrewzah··on Linus and Pull Requests (2012)
Imagine reducing the impact of linux/git/etc to merely an operating system.
andrewzah··on Linus and Pull Requests (2012)
I said part of the reason, not the sole reason. His projects have had immeasurable impact on computing, and it’s arrogant to dismiss that because you don’t like how he conducts himself.

He can definitely do better regarding his language, that I agree with. But this specific instance isn’t even against the contributor but against GitHub.

“they deserve respect, but we do not deserve it in turn”

Nobody deserves respect. You may be referring to basic decency towards each other. He earned respect with his work and maintainership over the years and decades. Abusive language towards contributors is not appropriate, but that doesn’t mean they -deserve- respect either. The first step to becoming respected is learning to RTFM and submit patches according to how a project expects them. And for basically every rant of his I’ve seen, it was directed at someone who 100% should’ve known better, not random new submitters.

← PreviousPage 17 of 29Next →