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 Lisp from Nothing, Second Edition
Purchased the author's `Scheme 9 from Empty Space` book and loved it. Lots of very well-commented and explained code, on how to build a language up from the beginning. So much fun.

https://t3x.org/s9book/index.html

john-tells-all··on RSS is awesome
I adore RSS! Use it literally every single day. I have many feeds on Feedly.com, and add to it every week or two.

Tip: use a service to stream quality content to your RSS feed reader. For Hacker News, http://hnapp.com/ does the trick for me.

I subscribe to a couple dozen authors on Hacker News.

Example: in hnapp, search for `author:bob1029`, there's an RSS link, paste that into your RSS feed reader to see that person's Hacker News comments.

I have an entire "Hacker News" section in Feedly, just with author's comments. Very useful!

john-tells-all··on Static sites with Python, uv, Caddy, and Docker
(Hi, Nik!)

So what you're saying is that "Static sites with Python, uv, Caddy, and Docker" wasn't the overall goal. You want to stay in Coolify world, where most things are a container image.

It just so happens that a container can be just a statically-served site, and this is a pattern to do it.

By treating everything as a container, you get a lot of simplicity and flexibility.

Docker etc is overkill for the static case, but useful for the general case.

john-tells-all··on Halfbakery – a collection of half baked ideas
What a wonderful site! People post all sorts of strange creative ideas.

Best idea ever: Tails for all

> One of my profoundest regrets about being human is that I am not equipped with a splendid and useful tail, like many other members of the animal kingdom.

> I am sure that, with a little thought, the genetics chaps could come up with some scheme which would enable people to grow the tail of their choice, fully functional.

> This would be a fascinating cultural phenomenon. A tail could be an additional emotional indicator, as well as (if of the prehensile variety) a useful third hand, for holding umbrellas and the like.

- link: https://www.halfbakery.com/idea/Tails_20For_20All#964026000

Tech: the entire site is jaw-droppingly old school. Looks the same as it did ten years ago. And... it's a CGI script! In C!

ref: https://www.halfbakery.com/editorial/about.html

john-tells-all··on Ask HN: Ask HN: What bug made you laugh after hours of frustration?
Similar bug: In PHP, our configuration wasn't working correctly. 100% of the code was fine... but one line had a space at the beginning. For some reason PHP treated the line as a comment and ignored it!

Errors are no problem. Silent errors, not so much.

john-tells-all··on Claude Sonnet 4 now supports 1M tokens of context
I've seen this referred to as Chain of Thought. I've used it with great success a few times.

https://martinfowler.com/articles/2023-chatgpt-xu-hao.html

john-tells-all··on Show HN: Phind.design – Image editor & design tool powered by 4o / custom models
One super-easy use case is product size comparison. Example: "hand holding lilygo t3 pro" shows me how big a circuit board and screen is. Product images are everywhere, but it's hard to get a strong idea of how big it really is without a hand or something else in the frame.

First try worked like a charm. Super useful! Thanks.

john-tells-all··on Ask HN: What old or outdated software have you never found a replacement for?
I've had good luck with (service) Workflowy -- https://workflowy.com/

Type to create items at different levels. Drag and drop to rearrange. Click triangle to fold.

john-tells-all··on Show HN: GetHooky – a language-agnostic Git hook manager
Why would someone use this tool when `pre-commit` exists? 14k stars on GitHub:

> multi-language package manager for pre-commit hooks

I'm all for having options, I'm just curious at what GetHooky brings to the table.

john-tells-all··on Implementing a Forth
I adore the `Threaded Interpretive Languages` book! It very clearly describes the internals of a real language, and variations on how to get it all done.

https://archive.org/details/R.G.LoeligerThreadedInterpretive...

john-tells-all··on Ask HN: What's a tool you use every day that most developers haven't heard of?
Back in my yout', I learned tons of commands with curiosity and `man -k`. So much fun! "What does this do? What does that do? What else does this command reference?"

Recommended to frighten the younguns, with their tiktoks and their yootubes.

john-tells-all··on 3 Years of Remote Work
In writing a journal, you have to think - review your day, then think how to summarize it, then write it down. Repeat this a few times and it becomes a habit that can be called upon any time.

Write-only journals build valuable mental skills.

I give talks on feedback loops, and also struggle with reviewing my own journals :-D

john-tells-all··on "Goodwill", key member of the SoCal Python Community has passed away
Michael was tireless in helping the community. He was relentless in connecting people together and making sure people had a great time. He sought out and encouraged speakers and teachers, like me.

I'm happy to keep his memory in my heart by telling stories about him :-D

john-tells-all··on I Tried to Buy an Actual Barrel of Crude Oil (2015)
https://www.bloomberg.com/oddlots
john-tells-all··on Testing Without Mocks: A Pattern Language (2023)
the author also wrote:

A Light Introduction to Nullables

https://www.jamesshore.com/v2/projects/nullables/a-light-int...

john-tells-all··on Make Ubuntu packages 90% faster by rebuilding them
If you actually do this, just get Ubuntu to download the exact source package you want. In this case:

    apt-get source jq
Then go into the package and recompile to your heart's content. You can even repackage it for distribution or archiving.

You'll get a result much closer to the upstream Ubuntu, as opposed to getting lots of weird errors and misalignments.

john-tells-all··on Lynx is the oldest web browser still being maintained
As a web developer, everything is in the editor. A super-fast way to preview my web page changes is:

    lynx --dump localhost:8000/mypage.html
Put that in a loop. My server or frontend updates appear immediately and I don't have to mess with triggering an external browser or faffing about. Wonderful tool!
john-tells-all··on I struggled with Git, so I'm making a game to spare others the pain
haha although I use a bunch of Git commands and am comfy with the internals, I use a similar workflow most of the time.

"commit all files and add a comment" = `cam`, "also push" = `camp`

> cam "fixed bug"

alias cam='git commit -am'

function camp() { git commit -am "$1" git push }

john-tells-all··on Strategies for Learning from Failure (2011)
Interesting. Different types of failures require different strategies to get the most value from them. Example: "good" failures help steer the team to future successes.
john-tells-all··on Be Aware of the Makefile Effect
Strong agree. The best workflow I've seen uses CICD as a very thin wrapper around in-tree scripts or make files.

If a Dev can run some/all of the "cicd" stuff locally, they can see, control, and understand it. It helps tremendously to have a sense of ownership and calm, vs "cicd is something else, la la la".

(This doesn't always work. We had a team of two devs, who had thin-wrapper CICD, who pretended it was an alien process and refused to touch it. Weird.)

john-tells-all··on Casual Viewing – Why Netflix looks like that
Strong agree: Upstream Color is poetry

Stanley Kubrick did something similar in `2001: A Space Odyssey`. In a scene where staff were being transported in a taxi... on the moon... 100% of the dialog is meaningless. They're discussing the merits of this or that sandwich, not how wonderful the Earth looks from space, or overcoming technical challenges.

It's so refreshing to be living in an environment vs being spoon fed.

Even better is very old or even silent movies ("M" is fantastic: modern-ish thriller from 1931 where sound is a character; Metropolis)

Also dialog-less movies: `Koyaanisqatsi` is incredibly beautiful and has a specific plot, even if there's no understandable dialog nor words.

In theaters _right now_ is `Flow`. No dialog, and no _human_ characters! It's all animated cats and dogs and other animals. It's startling how directly the characters transmit their goals and agenda and emotions.

john-tells-all··on The 70% problem: Hard truths about AI-assisted coding
I call AIs "aggressive interns". They're fantastic, very fast, and eager... but often go off the rails or get confused. And as you noted, never learn.

Just the dialog with an AI I find instructive. Sometimes it suggests things I don't know. Often after 1-2-3 mediocre AI solutions I'll code up something that re-uses some AI code but has much better code that I write.

john-tells-all··on Open-source Mac menu bar app that allow you to clip Python scripts
looks interesting, thanks!
john-tells-all··on I Like Makefiles
I adore Make. I've written one (or more) for every single task or project I've touched in the last 20 years.

No smarts. It's just a collection of snippets with a few variables. "make run", "make test", "make lint", that kind of thing.

"make recent" = lint then run the most recently modified script.

You could do the same thing with Bash or other shells, but then you get stuck into Developer Land. Things are so much more complicated, without giving extra value. Make is just a DSL saying "files like this, are made into files like that, by running this command or two". That's it.

This is incredibly powerful!

john-tells-all··on Ask HN: What are you working on (August 2024)?
I agree visualizing neural networks is challenging. The flexibility and consequences of network connections is also confusing. If you decide to go down that route again, the best work I've seen by far is the recent one by Stephen Wolfram: https://writings.stephenwolfram.com/2024/08/whats-really-goi...
john-tells-all··on p5.js
I adore P5js -- the community OpenProcessing[1] has thousands of wonderful artworks that are easily viewed, cloned, and modified. I'm mostly a Python guy but making small changes to P5js programs has helped me learn Javascript.

[1] -- https://openprocessing.org/discover/#/trending

john-tells-all··on Reasoning in Large Language Models: A Geometric Perspective
AI has a "bathtub curve" of value. At the low level, it's a super-autocomplete, able to write 1-3 lines of code that works good enough. At the high level, it's great for explaining high-level concepts that are relevant to a task at hand.

In the middle... AI doesn't work very well.

If an AI writes a multi-step plan, where the pieces have to fit together, I've found it goes off the rails. Parts 1 and 3 of a 4-part plan are fine. So is part 2. However they don't fit together! AI has no concept of "these four parts have to be closely connected, building a whole". It just builds from A to B in four steps... but taking two different paths and stitching the pieces together poorly.

john-tells-all··on Reasoning in Large Language Models: A Geometric Perspective
That's really insightful! Thanks.
john-tells-all··on A reawakening of systems programming meetups
Los Angeles area:

- OWASP security meetup: this is great! Hosted at a WeWork or a local company. Great stuff. I'm not sure their funding model, but it's working. https://www.meetup.com/owasp-los-angeles/

- Socal Python: we haven't found good venues that support talks so... the meetings are more social hours. This is fine. https://www.meetup.com/socalpython/

- LA DevOps: only one physical meeting so far. The bar let us show slides in a nice patio in the back, but it was so loud I couldn't hear. I hope they'll find a better venue. https://www.meetup.com/meetup-group-ZZQWJLTm/

I'd love to start giving talks again, on "Fast Development" and organizational topics, but have prioritized my job for the moment. Ah well.

john-tells-all··on Show HN: Drop-in SQS replacement based on SQLite
Why not use LocalStack? It has SQS and a lot of AWS services for testing/development. Well documented, open source.

https://docs.localstack.cloud/overview/

← PreviousPage 2 of 10Next →