HNHacker News
TopNewBestAskShowJobs

tylerjl

201 karma · joined February 19, 2015

https://tjll.net

[ my public key: https://keybase.io/tjl; my proof: https://keybase.io/tjl/sigs/jmqcf9anf6zPbl4QuF-2s2cfI7FVEV42LvPTqD2zr08 ]

submissionscomments
tylerjl··on Why Not ZFS (2021)
Any blog post that espouses the virtues of btrfs as better alternative to ZFS is going to be immediately recognized as uninformed and a little embarrassing by any operator with a significant degree of experience in both technologies.

As someone who _has_ operated many systems with both filesystems - for a long time - it’s malfeasance to shepherd someone in that direction. btrfs has its uses, but there’s no comparison in terms of project maturity. Sharp edges abound (behavior at high usage, RAID immaturity, the still-extant 5.16 kernel single-core max CPU use bug, etc.)

tylerjl··on Small cities in America’s Mountain West are booming
For those outside of these bubbles, it’s almost unbelievable how much the housing market has completely exploded the last two years.

My family is squarely in this situation - bought our home a few years ago in an extremely fast - growing area, and watched prices climb to levels that we didn’t believe at first. Imagine purchasing a home in 2019 for $500k and selling it today for $1.2M. That’s the reality in some of these cities.

tylerjl··on Securing a Postgres Database
It feels weird to me that this blog post would suggest acquiring Let's Encrypt certificates for certificate encryption. While it's great for something public facing that needs your CA installed by default, creating certificates for things that you probably don't want being public - like your database backend - just makes it more discoverable. For example, certificate transparency logs mean that anybody can see what certificates Let's Encrypt has handed over to you. Example: https://crt.sh/?q=ycombinator.com

Of course, this is a security through obscurity type of approach, and you'd want to secure your database whether or not somebody knew where it was running. But there's a difference between somebody seeing that you've just created `staging-psql.foo.com` that you might still be configuring, and the passive background noise of internet port scanning that's a little less targeted.

tylerjl··on PipeWire: The Linux audio/video bus
> Second, D-Bus was replaced as the IPC protocol. Instead, a native fully asynchronous protocol that was inspired by Wayland — without the XML serialization part — was implemented over Unix-domain sockets. Taymans wanted a protocol that is simple and hard-realtime safe.

I'm surprised to read this; I was under the impression that D-Bus was the de jure path forward for interprocess communication like this. That's not to say I'm disappointed - the simpler, Unix-y style of domain sockets sounds much more in the style of what I hope for in a Linux service. I've written a little bit of D-Bus code and it always felt very ceremonial as opposed to "send bytes to this path".

Are there any discussions somewhere about this s/D-Bus/domain socket/ trend, which the article implies is a broader movement given Wayland's similar decision as well?

tylerjl··on Running Nomad for a Home Server
I administer k8s daily at my full-time job and administer a 14-node nomad cluster in my homelab. This accurately captures my sentiments as well. My nomad cluster is even spread across three different CPU architectures (arm, arm64, and amd64) but still works great.

One of the points I'd highlight in this post is just how good the combination of nomad, consul, and consul-template is. Even when nomad lacks some sort of first-class integration that k8s might have, the combination of being able to dynamically generate configuration files using consul-template plus nomad automatically populating the consul catalog means that you can do almost anything, and without much hassle. I use consul-template in the homelab to dynamically wrangle nginx, iptables, and dnsmasq, and it continues to work well years after I initially set it up.

I often wish I had the luxury of relying on vault+consul+nomad in all the environments I operate in.

tylerjl··on Shorewall – The End of the Road
Even assuming the worst - that is, that Shorewall development completely stalls - the firewall is fully functional for me and I haven't hit any show-stopping bugs, so my plan is to continue using it until it breaks somewhere down the line. After the many years of development that've gone into Shorewall, the dividends it pays now are the years and years of hardening that have let it age into a solid, reliable tool. My needs aren't really pushing the envelope of what Shorewall can do (just a home network gateway), so my hope is that I won't bump into anything esoteric in the meantime.
tylerjl··on Shorewall – The End of the Road
Was it my blog post? https://blog.tjll.net/building-my-perfect-router/
tylerjl··on Comcast modem activation bug potentially exposed customers’ private data (2018)
I haven't had a chance to revisit the issue after my initial post, but some of the replies since my last attempt look hopeful. After failing to get any PCIe card to work, I've just been using an Ubiquity AP-AC Lite and called it good.

Given the cheap barrier to entry for the boards, it's probably worth another try with a later revision, particularly given that the espressobin can follow mainline fixes rapidly. If I do make any progress on that front, I'll certainly update the forum topic/any blog posts.

tylerjl··on Comcast modem activation bug potentially exposed customers’ private data (2018)
While I've absolutely had this experience with some of my ARM boards (notably, most of my ODroids are stuck on some variant of the 4.14 kernel with vendor patch sets), the essential parts of the espressobin are in mainline, device tree and all.

The larger problem of developer/security team time and effort is still there, though. Arch Linux ARM and Armbian are active and well-maintained, but I do find myself running into problems that indicate that the community of active users for this type of hardware is vastly smaller than a traditional architectures.

tylerjl··on Comcast modem activation bug potentially exposed customers’ private data (2018)
This is a topic that is near and dear to me - last year I attempted building my own router/firewall on an ARMv8 board (the espressobin) and I've been extremely happy with it as a DIY router solution [1]. While this sort of approach doesn't solve the larger problem of non-technical folks being fleeced by Comcast and other ISPs en masse, maybe with gradually-increasing tech literacy, projects like loading up an espressobin with a pre-imaged SD card for a home router will be a tenable option someday for more people.

From a hobbyist perspective, the router has been a dream to work with, and you can do some really weird stuff when the router is a Linux box you're in complete control of (DNS tricks, packet scheduling experiments, et cetera.) I always get a kick out of updating it periodically and seeing the latest mainline kernel loaded up (it's on 4.20.10 at the moment).

I've never studied up on home-brewing the modem/DOCSIS 3 aspect, but realistically I don't know how feasible that is in comparison to the relatively more simple DHCP/DNS/firewall parts of a typical home router.

[1] https://blog.tjll.net/building-my-perfect-router/

tylerjl··on HTTPS-Portal: Automated HTTPS server powered by Nginx, Let’s Encrypt and Docker
As long as you're using one of the dynamic backends that Traefik hooks into, such as Consul for example, you can do this pretty easily.

I do this exact thing with Traefik, Consul, and some various miscellaneous services that don't fall under the dynamically-discovered umbrella when they might run under k8s or nomad. I write a value to Consul with the desired Host: match, a backend server to route requests to, and Traefik will handle routing to any backend server it can reach without restarts or interrupting service.

tylerjl··on 832 TB – ZFS on Linux
I'm only a casual user of ZFS on Linux for personal storage projects, but I've spoken with people who rely very heavily on ZFS on Linux for their small businesses, and it's interesting to hear their perspectives on this. Essentially, because btrfs has failed to deliver on the next-gen filesystem front, ZFS on Linux is such a critical piece of technology that unless Red Hat has an answer soon for out-of-the-box ZFS on Linux, Canonical has a pretty staggering advantage. One theory is that Canonical has essentially forced Oracle to decide whether it wants to crack down on inclusion of CDDL-licensed code being shipped with Ubuntu's stock kernel, so Red Hat may be waiting to see if Oracle sweeps in or not before following suit.

I'd be very surprised if RHEL (by observing the progression of Fedora development) continues to bet on btrfs, as I have yet to encounter anyone (including myself) who would ever trust btrfs over ZFS on Linux with anything of importance based on their experiences with the two - my experience is anecdotal, but ZFS has been just as reliable on *BSD as with any Linux distribution.

tylerjl··on Static Website Generators
If you're inclined to eschew hosted comments a lá Disqus and want to own it yourself, note that Discourse supports comment embedding for static sites which I've used for a couple years and have been very happy with: https://meta.discourse.org/t/embedding-discourse-comments-vi...
← PreviousPage 2 of 2