HNHacker News
TopNewBestAskShowJobs

hartzell

65 karma · joined December 6, 2011

submissionscomments
hartzell··on The Golden Age of Japanese Pencils (2022)
Do it!

Want to buy some pens?

hartzell··on The Golden Age of Japanese Pencils (2022)
Biggest smile I've had all day...

Thank you!

hartzell··on Managing my personnal servers in 2020 with K3s
I run FreeNAS (FreeBSD based) on HP Microservers. ECC RAM, 4 drive bays, ...

The older Gen8 boxes Just Work.

With FreeBSD, the newer Gen10 boxes would hang the first time you boot, you need to pause it and set the hw.pci.realloc_bars loader variable to 1. Haven't tried a new install recently. Details here: https://www.virten.net/2017/10/fix-for-freenas-on-hpe-micros...

hartzell··on Chibicc: A Small C Compiler
Me too. Taught myself C with that!

This generation, CPM support and everything: https://archive.org/details/dr_dobbs_journal_vol_09/page/n33...

hartzell··on Ask HN: Who is hiring? (October 2020)
Sana Biotechnology | Engineered cells as medicines | sana.com | San Francisco, Seattle, Cambridge | Full-time | Computational Engineer

We believe we are entering a new era of medicine. The ability to modify genes and use cells as medicines provides new tools to meaningfully change the outcome of many human diseases. Three aspirations drive Sana: repair and control genes in any cell; replace any cell in the body; and tear down barriers to accessing out therapies.

The Computational Engineering team has several openings for engineers to help us build out our production infrastructure. Paraphrasing Russ Cox's definition of software engineering (https://research.swtch.com/vgo-eng), our team is what happens to computational biology, cloud infrastructure, and lab automation when you add time and other teams. Beyond being a polyglot coder (Python, R, Nextflow, Terraform), we're looking for people who can have productive discussions about version control strategies, test frameworks, deployment strategies, and documentation tools and then get behind the team's decisions and move things forward.

You can find info about the openings here:

* Computational Engineer: https://sana.com/join-us/jobs/4828253002/

* Computational Engineer, LIMS: https://sana.com/join-us/jobs/4828249002/

If you've made it this far but neither of those are the right fit, you might be interested in:

* Senior Scientist, Computational Biology: https://sana.com/join-us/jobs/4589575002/

* Senior Scientist, Statistics: https://sana.com/join-us/jobs/4828246002/

Learn more and apply at https://sana.com/join-us/.

hartzell··on Tinc – A Virtual Private Network (VPN) Daemon
> I've found it to be incredibly reliable and low overhead.

(I'm a bit confused which of tinc and zerotier in the parent post you're referring to....)

By "it", you mean tinc, correct?

hartzell··on Oracle vs. PostgreSQL – A Comment
> Databases are made to execute queries, not to install them.

But being able to freely/quicly stand up database servers and quickly create/drop databases makes development and testing much simpler and more reliable.

Given the question: "How do you know that deploying this thing will work?"

- When it's quick/legal to stand up fresh servers and create databases, the answer can be "I tested it, just now, and it works." - Otherwise you end up in "I read through it and it looks good" or perhaps "We tried most of it on the test instance last week before the other team started using it."

I much prefer the former.

hartzell··on MacOS Catalina: Slow by Design?
[Spack](https://spack.io) uses patchelf and additional tooling to relocate it's binary packages to other paths. It generally works, although one has to special case things that burn their install directory into their builds (e.g. Perl).
hartzell··on Earthly – Makefile Meets Dockerfile
> But most importantly, all builds are completely reproducible.

This is only true if the commands that the recipe executes are reproducible. If someone's pulling packages from PyPi or C[PR]AN or ... w/out locking the versions, all bets are off.

This is one of my biggest beefs with many containerization sales pitches...

hartzell··on Earthly – Makefile Meets Dockerfile
gitlab-ci requires GitLab, doesn't it?

This doesn't, so it's an option for other settings.

hartzell··on Ask HN: What do you use to keep track of bookmarks/notes/snippets?
+1 for pinboard!
hartzell··on The story behind a photo of a snow monkey using an iPhone (2019)
Along side all of the more serious bits of the story and comments....

I love the fact that the monkey is subtly giving the photographer the finger....

hartzell··on Math and Coding Resources for Homeschooling
This is a collection of math and programming resources collected by some education-centric folks who have done several year-abroad trips over the years with their kids.
hartzell··on Self-hosted, super simple photo stream
Also not OP, but I really like FreeNAS running on an HP Microserver.

The older Gen8 boxes Just Work.

The newer Gen10 boxes hang the first time you boot, you need to pause it and set the hw.pci.realloc_bars loader variable to 1. Details here: https://www.virten.net/2017/10/fix-for-freenas-on-hpe-micros...

hartzell··on Sanoid – Replication and Backups with ZFS
[edit, of course moments after posting this I found this link https://www.rsync.net/products/zfsintro.html in the Arstechnica article. Still can't find it linked from the site though...]

> Now, if only there were a cloud storage provider that you could directly zfs-send to ...

Is there something on rsync.net's site that describes its support for zfs send?

I've found this old thread on HN referring to an Arstechnica article:

https://news.ycombinator.com/item?id=10751269

and a reference to it on IXSystem's site:

https://www.ixsystems.com/community/threads/rsync-net-now-su...

but they're both back in 2015.

I can't find anything on the site, https://www.rsync.net/index.html, but I may be reading right past it.

hartzell··on Sanoid – Replication and Backups with ZFS
For FreeBSD users, it's available from ports:

https://www.freshports.org/sysutils/sanoid/

(I'm the port maintainer, open to improvements)

hartzell··on Please stop recommending Gitflow
I've used nvie-like gitflow strategies without significant issues.

One of the things that I like about the strategy is that it works well for code-like things and for things like handbooks/documentation sets built with e.g. Hugo+docdock. Authors branch, work, PR, PR gets vetted for accuracy/policital-correctness/whatever and then gets merged.

Anyone have any experience using feature flags with static web site generators?

hartzell··on Simple Systems Have Less Downtime
> [...] easy is confused with being simple [...]

The first half of Rich Hickey's "Simple Made Easy" presentation does a great job of defining easy/hard and simple/complex axes and distinguishing them.

video: https://www.infoq.com/presentations/Simple-Made-Easy/

It has been discussed before on Hacker News:

https://news.ycombinator.com/item?id=4173854

hartzell··on Simple Systems Have Less Downtime
> Go just hides the complexity from initial inspection.

If you (parent, other readers) haven't seen it, Rob Pike's "Simplicity is complicated" is a good discussion of just this point.

video: https://youtu.be/rFejpH_tAHM

slides: https://talks.golang.org/2015/simplicity-is-complicated.slid...

hartzell··on Simple Systems Have Less Downtime
I was curious about what was going on in that image, turns out that it's a "semi-submersible heavy lift ship" wrapped around another ship (an FPSO?)

https://en.wikipedia.org/wiki/BOKA_Vanguard

I think this story is about the same liftee:

https://www.projectcargojournal.com/shipping/2019/11/20/new-...

hartzell··on How to Collaborate with People You Don’t Like (2018)
Is your second recommendation "Influence: The Psychology of Persuasion" or "Influence: Science and Practice" (both have Robert B. Cialdini as authors)?
hartzell··on Ask HN: What are some books where the reader learns by building projects?
Go Programming Blueprints is from 2015, have you had any issues with it feeling out of date?
hartzell··on Experience report on a large Python-to-Go translation
[edit: fixed links]

This was discussed recently on the go-nuts mailing list: https://groups.google.com/d/msg/golang-nuts/u-L7PRa2Z-w/kfUS...

There was also discussion around an earlier post he made about the work: https://groups.google.com/d/msg/golang-nuts/WstriKt2jTA/lsZy...

hartzell··on Dynein: Building an Open-Source Distributed Delayed Job Queueing System
[yeah, not a frequent poster, apologies for the markdown markup]

Thanks for sharing this, it's been fun to play with. I've been poking around a bit, looks like `skip locked` was added back in v9.5.

For those who are interested in how it works, here are a few links that might be useful:

- [What is SKIP LOCKED for in PostgreSQL 9.5?][2ndquadrant]

- [Postgres 9.5 feature highlight - SKIP LOCKED for row-level locking][otacoo]

- [The Skip Locked feature in Postgres 9.5][pgcasts]

The 2ndquadrant post points out that Oracle and SQL Server have similar functionality. Mysql didn't at the time, but [seems to have added it in 8.0.1][mysql]

[2ndquadrant]: https://www.2ndquadrant.com/en/blog/what-is-select-skip-lock...

[mysql]: https://mysqlserverteam.com/mysql-8-0-1-using-skip-locked-an...

[otacoo]: https://web.archive.org/web/20160626090321/http://michael.ot...

[pgcasts]: https://www.pgcasts.com/episodes/the-skip-locked-feature-in-...

hartzell··on No One Gets Rich by Shunning New Cars and Lattes
@newfeatureok, @onlyrealcuzzo, @unclemeat (and perhaps others)

Slightly off-topic, but curious. Are you quoting salaries, or the amount you've been earning including stock/options you've been granted and how it has performed?

hartzell··on My Emacs Productivity Tricks/Hacks
I'll give another vote for straight.el and its use-package integration.
hartzell··on I2C in a Nutshell
I've found the [I2CDriver](https://www.adafruit.com/product/4267) device to be really useful with debugging, poking, and otherwise prodding I2C devices.
hartzell··on Dolphin Scheduler
> Any other open source alternatives out there?

Here's a big handful of them: https://github.com/pditommaso/awesome-pipeline

hartzell··on Sonos requires access to your location to install a Sonos system
I can enthusiastically support LMS, piCorePlayer, and iPeng.

I have players scattered around the house:

- touchscreen players with great graphical displays built with Raspberry Pi 3B's, IQAudio Pi-DAC+, and the official Pi 7" touchscreen. Nice bamboo stands too, but they're hard to find these days. - a headless player in an awkward location built with a pi-zero-w and the IQAudio Pi-DACZero - a playerless head with a Pi 3B and a 7" touch screen (the UI's divorced from the player, this one manages the PiZero from a less awkward location).

Everything supported out of the box by piCorePlayer.

All are plugged into various speakers w/ integrated amps (I'm an AudioEngine fan).

They play in sync throughout the house, or can be independent.

I run the LMS server from a FreeNAS jail, LMS is in the FreeBSD ports tree and/but I have a newer version in my ports overlay: https://github.com/hartzell/freebsd-ports/tree/master/audio/....

Things occasionally hiccup, e.g. the spotify client dies periodically (https://github.com/michaelherger/spotty/issues/18).

Happy to help anyone who's interested in getting things setup.

hartzell··on The sad state of sysadmin in the age of containers (2015)
> At work we also cache all 3rd party dependencies locally [...]

Can you say a bit about your platform and tooling? Are you working in a single language or a polyglot world? Is the cacheing at the network level or are your build tools aware of your mirrors?

I work in a space (biotech/pharma/...) that shares these concerns. I've solved the Perl specific version with Pinto (https://metacpan.org/pod/Pinto) and the more generic version with Spack (https://spack.io) [which is neat also because it supports installing multiple versions of applications, doesn't require root, <other things>].

Page 1 of 2Next →