HNHacker News
TopNewBestAskShowJobs

john-tells-all

761 karma · joined May 27, 2019

Dev, DevOps and Quality

LinkedIn: https://www.linkedin.com/in/johnlmitchell/

submissionscomments
john-tells-all··on The Lava Layer Anti-Pattern (2014)
technical leadership determines technology... with some (or a lot) of "legacy" tech remaining in place.

At a company, I was brought in to help Version 2 get off the ground (serverless everything, Typescript). Version 1 worked just fine (PHP + VM), they kept none of it. When I left two years later, the new tech leadership started Version 3 (Ruby).

Three rewrites in three years!

john-tells-all··on Leveling up in job interviews for software engineers (2022)
On my resume, I use English descriptions of what I did to develop business-level features. At the end is "Keywords: Python, AWS, Kubernetes, Terraform" for the keyword screening software.

A human can see I learned different tech for each job, and other tech has been mastered and is re-used over the years.

john-tells-all··on Self-published Ansible book – 87k copies, 300k revenue, 41 revisions
I bought this! Got immediate value in that I found simpler ways to accomplish my business goals. Thanks!
john-tells-all··on Use Bash Strict Mode (Unless You Love Debugging)
I use this on all programs. It makes my many bugs pop out and show themselves, vs silently shrugging and carrying on. Strict Mode reduces confusion a LOT.
john-tells-all··on Reddit CEO doubles down on attack on Apollo developer in drama-filled AMA
video from PyCon about using Empathy to become a better developer: https://www.youtube.com/watch?v=IYWlfVqBQLc
john-tells-all··on Bruno Schulz: An Artist, a Murder, and the Hijacking of History
"Street of Crocodiles" is wonderful! Surreal and wistful and touching.
john-tells-all··on Writing: Good career move, terrible career (2018)
I tried to have Copilot extend my technical writing article. It was very fast... at writing very positive-sounding gibberish.

Possibly with a better prompt it would be better.

john-tells-all··on Colonels of Truth (2016)
Damn Interesting also has podcasts -- https://www.damninteresting.com/podcast/ My wife is addicted to "Damn Interesting Week" <3
john-tells-all··on Effective Immediately: A central hub for people who've been recently laid off (2020)
[2020]
john-tells-all··on Show HN: GPT-4-powered web searches for developers
this is useful just for showing the sources! Love that so, so, so much.

I'm not that horrified at "hallucinated" answers as long as I have some links for me to evaluate.

john-tells-all··on Ask HN: What's the best obscure but useful CLI tool?
absolutely. 100% of my projects use Entr ("run thing on file change"), and Make ("use short name to run a complex script, e.g. test -> pytest").
john-tells-all··on The Best Pens for 2023: Gel, Ballpoint, Rollerball, and Fountain Pens
I adore gel pens. I go through a good number since I'm writing a book and am also an artist. I searched for "Pentel EnerGel" on jetpens.com...

971 results!

Haha. Let me get my coffee...

Thanks!

john-tells-all··on Why and how we retired Elm
You totally dodged a bullet.

Even if the company despises Erlang for whatever reasons, it's still very valuable for them to examine and be educated about it. Erlang makes tradeoffs for X optimizing for Y, we'll choose a different tradeoff since we're optimizing for Z.

Once I interviewed at a company with many competitors. I continually asked "how will this company succeed while the competitors have a ten year head start? What choices do we make that the others didn't?". I got blank stares. Literally nobody was interested in examining the competitive landscape.

john-tells-all··on What are good long-term investments in your health?
According to a recent study, two brisk walks a week, 8k steps each, makes a noticeable positive difference to health. [1]

It's a good question to ask. It's easy to make life changes, but hard to get meaningful, measurable feedback.

I have a goal of 6k steps a day, about 45 minutes walk. This is measurable. But, maybe for better health I should get my heart rate up, and not worry about the number of steps? I don't know the best way to get healthier, and which measurable things are actually helpful.

[1] https://www.eatingwell.com/article/8039177/walking-once-per-...

john-tells-all··on Ask HN: What's the best obscure but useful CLI tool?
entr -- when a file changes, run a command

I use this on literally 100% of my projects. Normally it's "when my source changes, run tests" or sometimes "when files change, do 'terraform plan' to see what would change".

Using this one command shortens developer feedback loops from a minute to microseconds! And you don't have to think about it! It's magic.

`ls -1 *.py | entr pytest`

`git ls-files | entr terraform plan`

For more, see our friend and national treasure Julia Evans: https://jvns.ca/blog/2020/06/28/entr/

john-tells-all··on Small Project Build Systems (2021)
I'm a big fan of the "backwards" build system Make. It's very concise, portable enough, and not language-specific. I use it on literally 100% of my projects to hold small scripts. Example: "setup Python virtualenv" or "do a fast feedback loop with Lint" or "do a slower high quality feedback loop with Pylint and the full test suite".

I'm thrilled people are developing other options, building a project "forwards".

FYI "strace" on Linux makes it doable to trace build dependencies. Alas it doesn't work on macOS, and I haven't found an easy equivalent.

john-tells-all··on Lessons learned managing GitHub Actions and Firecracker
Interesting. Author specifically talks about sharp edges of running a SaaS with real customers on real services, and consequences.

Example: each customer/project needs "just one more" project added to the base image.

Also: GitHub goes down, or sends events out of order, or events get lost.

john-tells-all··on Better World Books
Used bookstores are also a source of blank books with fun covers. The most common types are journals (lined pages) and artist's sketchbooks.

search for "blank journal" or "sketchbook"; or "moleskine" if you're feeling lucky.

This one has a cover of a llama <3 -- https://www.secondsale.com/p/black-paper-sketch-book-x-large...

john-tells-all··on Scratch is the world’s largest coding community for children
Agree. My nephew has made 800 Scratch projects, which is mind-blowing. I'd love to offer him a smooth path to other development. However:

- Python has graphics, but it's a very steep climb from the simple drag-and-drop of Scratch

- Javascript has easy UI elements, but he'd have to learn HTML and other things

Scratch is so different from "straight" programming, I'm not sure if it's worth his time to learn JS and then translate his Scratch knowledge to it.

john-tells-all··on We’re no longer sunsetting the free team plan
My applause to Alex Ellis for writing a clear, direct call to arms!

Their work is super useful and interesting. I've added them to my list of sponsorships: https://github.com/sponsors/alexellis

john-tells-all··on Fascination of Awk
I love awk! It's incredibly clean and direct.

Once I wrote a 300-line Awk script to install a kernel driver. It would scan a hardware bus, and ask the user questions before loading the driver onto the system. Lots of fun!

john-tells-all··on Conversational software development (2020)
Fast feedback loops!

In my Fast Development workshop I recommend:

Goals are speed (low latency developer feedback), and quality (create something the client expects and values).

Speed: use `entr` or another tool to automatically run tests when a file changes.

Quality: "test" first -- write a test before code, if you have to think about the code. In this way you get high-level dev feedback, before the code is written.

Quality: use the system to calculate your function's result. Then either use "assert 0, value" to emit the result to you the developer, or use the debugger. In either case the computer does the work and you get feedback.

The above three-part process is similar to the OP, "conversational" is a good term for it.

john-tells-all··on Ask HN: Do you still use browser bookmarks?
I use Pocket ( https://getpocket.com/ ):

- bookmarks shared for browsers on all my devices

- I use Tags a lot: Recipes, Tech, etc

john-tells-all··on One of the best podcasting apps you know is built by a single person
I've been enjoying Overcast for years, and am happy to support Marco.
john-tells-all··on Ask HN: What can I do with my DevOps Experience?
Move adjacent to do Security work. That is, all companies need security help, and they know it and will pay for it. You help them.

Often Developers see security as a distraction from building features, so working with companies to ensure they have strong security is a good career.

I worked with a bank building a "secure cloud" on top of a public cloud. That is, our team got a long list of requirements, like "storage buckets encrypted at rest", we'd watch public cloud changes, then alert or fix the issue. The bank got to use the public cloud, but also had a much finer-grained control of a lot of security concerns.

john-tells-all··on Phoenix Dev Blog – Streams
wow that looks fun and useful - thanks!
john-tells-all··on Matty Benedetto Designed and Prototyped 350 Inventions in 3 Years
As an artist, I found his "Age-Height Chart" fascinating. What do people look like as they get heavier? Taller?

https://height-weight-chart.com/

john-tells-all··on What are your favorite books on Audible?
A credit can buy much, more than a single 6-ish hour book. Search for "complete" or "compendium" or "collection" to find many, many hours of entertainment available for a single credit.

- Collected Stories of Arthur C Clarke, 51 hours! https://www.audible.com/pd/The-Collected-Stories-of-Arthur-C...

- eight audio plays from Agatha Christie https://www.audible.com/pd/Poirots-Finest-Cases-Audiobook/B0...

- 30 classic detective stories https://www.audible.com/pd/Thirty-Great-Detective-Stories-Au...

- HP Lovecraft mythos story collection https://www.audible.com/pd/Haggopian-and-Other-Stories-A-Cth...

Sometimes a single "book" is very substantial:

- Anna Karenina narrated by Maggie Gyllenhaal, 36 hours for a single credit: https://www.audible.com/pd/Anna-Karenina-Audiobook/B01FN88BH...

- 1Q84 by Haruki Murakami https://www.audible.com/pd/1Q84-Audiobook/B005XZM7R6

- 25 hours: Voyage of the Beagle by Charles Darwin https://www.audible.com/pd/The-Voyage-of-the-Beagle-Audioboo...

Enjoy!

john-tells-all··on OODA Loop
Strongly agree. We need to put out a constant stream of low-quality products, and iterate quickly to achieve our goals.

I used to do the opposite: write high-quality well-tested code, but very often the results weren't useful to the business by the time I was done. It would have been much better to produce a couple "sketches" of the feature first, then the business could kill or refine it as they want. Everyone wins!

(disclaimer: writing a book, featuring feedback loops)

john-tells-all··on Ask HN: What is your replacement for Google search
As a developer, I agree. When coding, I look for three things:

- well-written blog articles

A single article, describing a real dev solving a real business challenge with real code, is the best way to answer technical questions. They provide a lot of context, and reasoning, and have real-world advice which is invaluable to me.

I use Google for this, but it requires care. A lot of sites are poorly written, or copied from other sites, or are gibberish. With experience you can quickly tell if a blog post is going to be of high enough quality or not.

- short answers, or reference documentation

Google/StackOverflow is okay to answer the question "I have tech X and want Y using library Z". Just recently I've switched to asking GitHub Copilot for answers to small questions. It's not perfect but incredibly valuable. The big downside is since Copilot sends code to a server, it's not okay when working with client code. Copilot is great for learning, though.

For reference docs I use Google to find manpage sites, then I setup custom searches for them. Example: https://man.cx/ for Linux docs, and https://ss64.com/osx/ for macOS.

There's also https://devdocs.io/ which is incredibly fast but too webdev-centric compared to my normal work.

- example code

This site is magic! Incredibly useful source code search engine: https://grep.app/

Example: Kubernetes manifests can be complex and mysterious. The following produces 250,000(!) Kubernetes YAML manifests for study. Enjoy!

https://grep.app/search?q=apiVersion%3A&words=true&filter[la...

← PreviousPage 5 of 10Next →