HNHacker News
TopNewBestAskShowJobs

__mharrison__

1,516 karma · joined April 1, 2011

Effective Pandas, Effective Polars, Effective XGBoost, Effective Visualization, and Effective Testing author. Mountain, Frisbee sports. Corporate trainer help your team level up w/ AI, pydata ecosystem https://store.metasnake.com @__mharrison__
submissionscomments
__mharrison__··on Uv is fantastic, but its package management UX is a mess
I'm curious. Do you have real world examples of when you want to do this?
__mharrison__··on Gemini 3.5 Flash
They are just trolling you now
__mharrison__··on Show HN: Forge – Guardrails take an 8B model from 53% to 99% on agentic tasks
Curious if this would help larger local models? Qwen 3.6 varieties of deepseek4?
__mharrison__··on I turned a $80 RK3562 Android tablet into a Debian Linux workstation
If it has an android app, you probably can. The AI will most likely decompile the app and inject bits necessary to figure out reverse engineering.

At least that's what happened when I created a Python sdk for my $500 video light.

__mharrison__··on I turned a $80 RK3562 Android tablet into a Debian Linux workstation
(Most) developers and computers users are inherently lazy. That's why we write programs. So the computer can do it for us.
__mharrison__··on If AI writes your code, why use Python?
I'm not sure how many bugs type hinting in Python finds.

But it is another guardrail that you are giving AI. When you have the AI use ty (and it runs almost instantaneously) after every edit, you are stacking the odds in you favor. There's no reason not to do this.

May the tokens ever flow.

__mharrison__··on GitLab announces workforce reduction and end of their CREDIT values
My comment is the autocompletion to your prompt.
__mharrison__··on If AI writes your code, why use Python?
Lay it on. I love to collect other's anecdotes and see where they align (or disagree)
__mharrison__··on If AI writes your code, why use Python?
If you are using TDD with any recent model and even local models (qwen3.5+), you alleviate most of the issues mentioned.

Note that:

Writing code, then tests

Is not equivalent to:

Writing tests, then code

__mharrison__··on If AI writes your code, why use Python?
My anecdotal (sample size 1) experience is not consistent with this. I code fast. Refactor fast. My stuff doesn't break. But my methodology isn't the same as other's.
__mharrison__··on If AI writes your code, why use Python?
AI's are really good with Python. Quick turnaround. Easy to read. Tons of training data/examples. Many of the same reasons we wrote Python before.

Another benefit to using Python, is if you subscribe to writing/vibing a throwaway version first, a Python version is 100x better than a spec.

(Disclaimer: I teach Python and AI for a living and am doing a tutorial at pycon this week, Beyond vibe coding. Am also using other languages as there are times when Python isn't appropriate)

__mharrison__··on Meta's embrace of AI is making its employees miserable
The irony that this response has a very common LLMism...
__mharrison__··on Appearing productive in the workplace
AI accelerated two groups of folks. Beginners/naive and experts.

This article only talks about beginners digging a hole for themselves.

Doesn't mention the speedup that experts get.

I'm my post 12 years as a corporate trainer, I've worked with lots of companies, teaching how to code, collaborate, and what makes code good. I've also used AI a lot and can use it to quickly write code better than 95% of software engineers. (Sample size one disclaimer)

__mharrison__··on Inkscape 1.4.4
Congrats from another contributor.

I made a slicing plugin years ago that lets you create a layer that defines named rectangles. Each area under the rectangle is saved as an image.

__mharrison__··on AI didn't delete your database, you did
I think this goes to a broader point: developers aren't necessarily hired to write code.

They're hired to be responsible for some part of the product.

Introducing AI doesn't remove that responsibility.

Folks tend to focus on the code and the tools they're using (maybe I'm cynical from years in the industry). I don't think your boss wants to do your job, even if they could use AI to do it. I think your boss wants to have a headcount, and he wants the headcount to be responsible for the product.

__mharrison__··on Why TUIs are back
There are lots of man pages. This one doesn't mention Ctrl being minus 40. Not sure what the point is.
__mharrison__··on Lessons for Agentic Coding: What should we do when code is cheap?
Would add my biggest tip to that: TDD. Most people omit it.

There is a difference between:

- write code, write tests

And

- write tests, write code

Had another agentic (vibe) coding experience, which confirmed that for me. Creating an SDK for a $500 light so I can control it from my Steam Deck instead of my phone (no SDK existed before yesterday). For anyone interested, I'm teaching my vibe coding (I meant agentic) tutorial at pycon next week. The 3-hour-long version should be posted to YouTube soon thereafter.

__mharrison__··on OpenAI’s o1 correctly diagnosed 67% of ER patients vs. 50-55% by triage doctors
(disclaimer: not a doctor, sample size one)

My friend with long Covid fatigue (and no taste since late 2020) saw good improvements from nicotine patches.

__mharrison__··on Why TUIs are back
TIL: Ctrl subtracts 40.

(28 year emacs user)

__mharrison__··on Why does it take so long to release black fan versions?
Not in the gaming scene at all, but my thoughts were, "Why isn't black the first product developed?" Isn't that a standard, and probably has more consumer interest?
__mharrison__··on EvanFlow – A TDD driven feedback loop for Claude Code
Someday soon he'll begin his life again
__mharrison__··on Technical, cognitive, and intent debt
It is pretty clean. It has two swappable backends. I spent a bit of time refactoring which was easy because I have tests.
__mharrison__··on Technical, cognitive, and intent debt
Two days total. Using TDD, you can move really fast with AI.
__mharrison__··on Technical, cognitive, and intent debt
Yep, coders do more than just code.
__mharrison__··on I don't chain everything in JavaScript anymore
Disclaimer: I wrote a book about pandas that is semi famous because it focuses on chaining. And it has a while chapter on debugging chains.

Debugging: use a debugger, create intermediate variables using .pipe (and side effects), logging, testing, writing your code clearly (use good naming).

__mharrison__··on Technical, cognitive, and intent debt
My anecdotes for using LLMs to modernize legacy (20-year-old systems):

- 40x speed improvement

- Painless env setup

- 20 Second deploy

- 90+% test coverage

- Ability to quickly refactor

- Documentation

(The original system that I wrote with one other programmer 20 years ago took 1.5+ years to write. Modern rewrite: 2 days)

__mharrison__··on Technical, cognitive, and intent debt
Where's the other half of the article? What an abrupt ending...
__mharrison__··on I don't chain everything in JavaScript anymore
Folks need to learn how to debug chains. The juice of writing with intermediate variables is not worth the squeeze.
__mharrison__··on The purist's guide to phở in Hanoi
My wife, who doesn't eat beef, once asked for chicken pho, and got an extreme talking to. She was sad because she had good chicken pho in the past.
__mharrison__··on Measuring Claude 4.7's tokenizer costs
My anecdotal experience with a recent project (Python library implemented and released to pypi).

I took the plan that I used from Codex and handed it to opencode with Qwen 3.5 running locally.

It created a library very similar to Codex but took 2x longer.

I haven't tried Qwen 3.6 but I hear it's another improvement. I'm confident with my AI skills that if/when cheap/subsidized models go away, I'll be fine running locally.

← PreviousPage 5 of 31Next →