8,947 karma · joined Aug 12, 2011 (15y ago) · 1,754 submissions
I'm the author of Python Crash Course, published by No Starch Press: https://nostarch.com/python-crash-course-3rd-edition
I taught high school math and science for many years. I live in western North Carolina, and before that I lived in southeast Alaska for 20 years.
ehmatthes@gmail.com
@ehmatthes@fosstodon.org
https://bsky.app/profile/ehmatthes.bsky.social
Current thoughts: www.mostlypython.com
---
comment 1w ago · link · parent
For any reasonable phone policy to be implemented well, it has to come from the highest level of administration. It has to be enforced consistently across all levels from the district/principals down to individual classroom teachers. That requires a lot of people to understand the issue well, come to agreement, and be capable of enforcing difficult policies.
There are so many factors that make it difficult for this to happen. Parents who disagree with policies, often for valid reasons. Staff turnover makes consistency difficult. If one teacher lets students use phones, it makes it harder for everyone around them to manage the policy effectively. If groups of teachers don't adhere, it gets even harder.
This is no different than the impact of AirBnB on housing availability, especially in tourist destination towns. Tech companies create a situation that's really hard to manage, and then leave it to individuals and small organizations to manage something that really needs to be figured out at a societal level.
comment 1w ago · link · parent
It's a really interesting time to work in this field. People who are paying attention to workflows are using a range of tools, and constantly refining their own workflow. For example a whole team might use Claude, but one person collects data about their own usage on an ongoing basis and develops more advanced workflows than everyone else on the team. Their focus isn't just about working faster, but about doing better work.
I don't think the post is vague; I think we're at a time where you need flexibility in your interview process to find candidates who are doing the best work these days.
4.
Ask HN: Are you using a custom harness?
13 points · by japhyr · 3w ago · 11 comments
comment 1mo ago · link · parent
There's just two boxes to start with: an input message box for prompting, and a conversation box. Dump each input message into the conversation box. Post the response to the conversation box.
Once you get a prompt-and-response cycle going, you can start to define tools. A tool is a description of an action the model can request to carry out, and you write a function to implement that tool call. The tool descriptions get sent with each API call, and then the model can start calling tools as part of its response.
I added a box to clearly show the project directory, and a couple boxes to show which tools were being called and whether the model was attempting to cross any boundaries it shouldn't. A fun milestone is when you get to use the harness you're building to help build itself.
I didn't want to over abstract the implementation, but it's reasonably well structured. The TUI is separate from the tool definitions. The tool definitions are model-agnostic. Everything specific to OpenAI is in an openai_model.py file. If I want to use Anthropic models, I could add an anthropic_model.py file. Or I could make it all local and add a local_model.py file.
I'm not working with subagents yet, but I can see a way to implement that if I end up wanting to.
The OpenAI Python library makes these interactions really straightforward to implement:
comment 1mo ago · link · parent
I'm a solo developer, and I didn't want to sort out all the boundaries and permissions of Claude or other heavy harnesses. All I wanted was something that can read, write, and modify files in a project directory. I gave myself three days to see if I could make a harness that was complete enough to work on my own projects. It was usable in less than a day.
I love using it, because I know exactly what its boundaries are, and how they're enforced. When I need more features I can either implement them in my own harness, or choose a heavier harness with much clearer understanding of what to look for.
comment 1mo ago · link · parent
I think this approach will continue to work for some people and orgs, but others are going to hit walls where their agents can't manage the mountains anymore. It's going to be interesting to see how people and orgs respond when that happens.
comment 2mo ago · link · parent
> Yet, through much effort and 40 years of debate we had reached an equilibrium. Now AI has thrown that out the window.
The only thing I'd like to add here is that "AI" in this sentence should really be read as "the companies building frontier AI models have thrown this out the window". I don't necessarily think the author should have used a phrase like that, because it gets quite pedantic to read posts where such precise language is used all the time. But when we talk about where to go as an industry and as a society, we need to keep that distinction in mind.
The tech is here to stay, but the tech itself is not what's thrown our norms out the window. It's the people running these companies who are putting their vision and their profits above everyone else in the world. Most of us are exploring this tech and trying to figure out what it's useful for. It's a much harder question to try and figure out what to do about the people using this tech to consolidate wealth and power. We can't hold a technology responsible for anything, but we can hold people responsible for their impact on everyone else.
comment 2mo ago · link · parent
> Do I think that AI enables people to develop faster than they can keep up?
Absolutely. That's the core of this person's email, and everyone else who asks similar questions. Just five years ago, the only way to build a working project of moderate complexity was to learn the basic to intermediate concepts required to make an MVP. Now, if you can steer an LLM reasonably well, you can quickly build an MVP that goes well beyond your own understanding of the implementation.
I don't think anyone has clear answers to all the questions brought up in this email. I think people can learn faster than they used to, because they can make connections between different areas faster than they used to. But it requires skill and discipline in how you learn, and how you work. You have to intentionally build your understanding as you build your projects.
comment 2mo ago · link · parent
I think that's always been an issue in tech, but it feels like AI exacerbates the issue. I see people starting companies and services where their primary domain knowledge seems to be whatever their AI tells them. It's sometimes enough to get off the ground, but I wonder how long it takes for customers/clients who actually need the domain knowledge to bail.
comment 2mo ago · link · parent
In Juneau, this is a well-defined basin with well-established dynamics. The city still wrestles with how best to handle this. Recent years have seen higher river levels when the basin releases, and the downstream banks of the Mendenhall River have eroded much faster than people were expecting. The city and individual homeowners are engaged in multiple projects to manage the annual flooding.
In the Nepal case the scale is much larger, and the variables are less known and less stable. This is absolutely devastating to see.
https://www.adn.com/alaska-news/2026/08/12/juneau-officials-...
comment 3mo ago · link · parent
AI is a really effective technology when used with restraint, in appropriate places. But it's rarely being used with restraint, and it's being inserted just about everywhere.
If you're trying to work in AI on a product related to education, you've got a really high bar to clear to prove that you're actually helping students learn better, and teachers teach better.
comment 4mo ago · link · parent
It's an interesting approach that's way simpler than relying on soil moisture sensors placed high up on mountainsides. It's not as widely applicable as measuring soil moisture directly, but it's been running steadily for over 5 years now.
comment 4mo ago · link · parent
https://jeannr.tumblr.com/post/165291081/i-made-a-flow-chart...
I believe that's the original source, but it looks cut off. Here's a full version:
https://i.pinimg.com/originals/b1/82/dc/b182dcc291495c013c98...
comment 5mo ago · link · parent
"On the highway, I'd rather kill someone than be killed in a wreck."
They would not recognize that while that might work for a while, it wasn't going to lead anywhere good for our society. A generation of people thinking like that has filled our roads with vehicles that protect their occupants while making it more dangerous for everyone else.
comment 5mo ago · link · parent
If you're referring to the steering council, that group was created in response to Guido stepping down.
He stepped down partly in response to the changing nature of online discussions around changes to the language. He just didn't want to be at the center of every polarizing discussion anymore. I think he also recognized that the transition needed to happen at some point, and that was as good a time as any.
comment 5mo ago · link · parent
Yes yes, shout it from the rooftops! Over the next few years I think we're going to see that companies that get this point will keep doing meaningful things, and stand a chance of weathering this transition period.
I think we're going to see a bunch of companies that went all in on AI for AI's sake go under because they've lost their mission, lost their implementation, and won't have a way to get those back in a reasonable timeframe and at a reasonable cost.
comment 5mo ago · link · parent
On a regular basis I see people racing past cyclists, rolling coal at cyclists (I can't believe that's even a term now), blaring horns, and a number of other behaviors that fall under "threatening".
US vehicles, especially pickups, have outgrown a lot of rural roads that had their origins as footpaths and horse paths. Even with well-intentioned cyclists and drivers, it's often times a setup for conflict.
comment 5mo ago · link · parent
We can try to raise our kids with values that are consistent with the ones we grew up with. But trying to give them the same conditions because "it's what we did" doesn't always match up with reality.
comment 5mo ago · link · parent
It's really hard to be a high school student without your own phone. I know some people who have kept their kids from having phones into high school. It avoids some of the addictive and distracting issues that come from having phones at a young age, but it's way more isolating than people realize. You might have a landline, but if no other high school age people are making voice calls to communicate, no one's going to call that landline. And the landline at home doesn't help you coordinate pickups and drop-offs as people start to do a wider variety of activities.
We have plenty of conflict in our home around devices, so I don't criticize any particular approaches. I'd just say that if you're taking this approach, it's probably a good idea to figure out how you're going to transition to kids having devices as they get into their high school years.
comment 6mo ago · link · parent
Math has always been hard to teach well, because issues with earlier math classes compound so much. With all the societal interruptions to education, and the impact of addictive tech on young people's minds, it's only gotten more difficult.
comment 6mo ago · link · parent
I thought that was an interesting thing to point out.
28.
Madame Semver Will See You Now(nesbitt.io ↗)
5 points · by japhyr · 6mo ago · discuss
comment 7mo ago · link · parent
In Alaska, where I lived most of the last 20 years, education has been largely flat funded for about a decade now. Imagine running an organization in 2026 on that organization's 2016 budget. Schools have a bunch of obligations they have to spend on. Every time health care costs for staff go up, and funding is flat, something gets cut. You can't cut education for a decade straight without impacting student learning.
I don't think Alaska is that much of an outlier in this regard.