HNHacker News
TopNewBestAskShowJobs

dugmartin

4,251 karma · joined February 12, 2009

http://dougmart.in/

I'm a software developer based in the beautiful village of Shelburne Falls, MA, USA with thirty years of professional software design and development experience gained from a range of employers and clients including small startups to Fortune 100 companies.

I am currently a Principal Engineer at the Concord Consortium (https://concord.org), a nonprofit educational research and development organization working to bring the promise of technology into reality for education in science, math, and engineering.

submissionscomments
dugmartin··on JetBrains reported a net financial loss first time in its tracked history
And with LLMs you can just create your own pretty easily that matches your exact workflow and integrates with all your tools. I've gone through a few iterations, first using the Unix small tools that talk to each other philosophy, then a single TUI app running in a pane next to my agent cli and now a Go server that has a cli and web ui with xterm embedded terminals and has its own chat sidebar in the web ui that can use tools and interact with running sessions in terminals. I'll probably have something new in 6 months.
dugmartin··on My Recent Woodworking Projects
You can also apply a light non-wax shellac on pine before staining to penetrate and close up the deep pores so you get less blotchiness with the darker stain.

I do agree that with pine you should just celebrate the wood and go with a light stain or even better, something like linseed oil.

dugmartin··on Warren Buffett Steps Down as Berkshire Chairman, Names Son to Replace Him
I guess Warren’s quote only applies to other people, not him. "It’s like choosing the 2020 Olympic team by picking the eldest sons of the gold-medal winners in the 2000 Olympics." (https://www.nytimes.com/2001/02/14/us/dozens-of-rich-america...)
dugmartin··on The USSR in 100 Photographs
I think you are thinking g of Boris Yeltsin - https://en.wikipedia.org/wiki/1989_visit_by_Boris_Yeltsin_to...
dugmartin··on Flowise is shutting down
My solution for that is to use skills and add a omnibus shell script in each particular skill folder that does all the deterministic steps and then write the skill markdown to only use the script, usually passing a command line step parameter to the script. I also usually add a note in the skill markdown that it should monitor how it calls the script and suggest any improvements when the skill is used.

As an example I have a `today` skill that has a today.sh script that can check my email, bug tracker, calendars, custom timesheet system and other systems via the script and then the skill assembles a nice summary of what is happening today along with a suggested schedule.

dugmartin··on Software for One
I've been building these same personal apps but on Firebase. They have a generous free tier that includes hosting and you can add real user auth, again all for free.
dugmartin··on Write code like a human will maintain it
I have my own review skill (I think it predates when Claude added theirs) and one thing I'd add to your description is tell it to examine all the code and then, based on the changes, do a multi-role review of the code again using the most appropriate N of the following roles based on the changes: ... (where ... is a long list I have like Senior Engineer, Security Engineer, WCAG specialist, etc). Claude will spawn those reviews in parallel and then consolidate the feedback. I do spec based development so I just have my skill append the issues to the spec so I have a trail of issues and decisions.
dugmartin··on Elixir v1.20: Now a gradually typed language
I'm curious what it is going to find in my 10 year old Elixir codebase (still in active production use).
dugmartin··on The user is visibly frustrated
I've found a mix of peppered in upper case words where you are effectively yelling at the LLM also gives it a strong signal. It is also a bit cathartic.
dugmartin··on The Classic American Diner
I miss pre-COVID prices. Our local diner is now $20+ for a simple breakfast (eggs, toast, bacon, coffee/tea) for two people. Pre-COVID is was ~$10 with tip.
dugmartin··on The Classic American Diner
I've heard the rule of thumb in a well run restaurant business is 30/30/30/10:

    1. 30% food costs
    2. 30% labor costs
    3. 30% overhead
    4. 10% profit margin
dugmartin··on Archive of BYTE magazine, starting with issue #1 in 1975
Its hard to express what it was like in the early/mid-80s (before I had my drivers licence) to bike a few miles to the bookstore at the start of every month and see all the new computer magazine covers for that month. It was so exciting.

I didn't have much money so I stuck with Micro Cornucopia as it had the biggest signal to noise ratio (and before that Rainbow Magazine). I did pickup Computer Shopper later when I started building/rebuilding my mini-tower every few months.

While I'm glad I have the world's information one web page away now I feel like something has been lost.

dugmartin··on GitHub Stacked PRs
JWZ is still blocking traffic from HN so you can't click to read this but you can copy/paste it into a new tab or open it in a incognito window:

https://www.jwz.org/doc/worse-is-better.html

dugmartin··on I still prefer MCP over skills
It is available here:

https://developer.atlassian.com/cloud/acli/guides/introducti...

It has a pretty discoverable cli syntax (at least for Claude). I use it in my custom skills to pull Jira story info when creating and reviewing specs.

dugmartin··on Chuck Norris has died
No, it was just there were no PM filters.
dugmartin··on How to talk to anyone and why you should
I grew up in small town Midwest and have now lived in tiny town New England for 20+ years. It still bothers me that folks here in New England won’t even acknowledge you on the sidewalk as you pass each other whereas in the Midwest that is a good excuse for a conversation. They haven’t worn me down though, I still say hello at least to each person as I pass and maybe get a mumble back 50% of the time.
dugmartin··on A simple web we own
Eons ago I developed a site+Windows app called 24Link (I know, horrible name) that let you run a tiny ~50KB web server in your taskbar and point it as a folder on your machine. If you visited 24link.com/{username} you would get a full page iframe that pointed at your IP:port hosting the 24Link webserver and/or a not available message if the app heartbeat failed. It quickly got to around 50K users and I thought with the then inevitable switchover to ipv6 everyone could run it. Alas both 24Link and ipv6 failed to break out but I think something in that vein could still work.
dugmartin··on Iran students stage first large anti-government protests since deadly crackdown
You should look up the Jallianwala Bagh massacre.

(Full disclosure - I had to look up the name after remembering it portrayed in the movie Gandhi)

dugmartin··on Automatic Programming
I need Claude to review my HN comments.
dugmartin··on Automatic Programming
I have 30+ years of industry experience and I've been leaning heavily into spec driven development at work and it is a game changer. I love programming and now I get to program at one level higher: the spec.

I spend hours on a spec, working with Claude Code to first generate and iterate on all the requirements, going over the requirements using self-reviews in Claude first using Opus 4.5 and then CoPilot using GPT-5.2. The self-reviews are prompts to review the spec using all the roles and perspectives it thinks are appropriate. This self review process is critical and really polishes the requirements (I normally run 7-8 rounds of self-review).

Once the requirements are polished and any questions answered by stakeholders I use Claude Code again to create a extremely detailed and phased implementation plan with full code, again all in the spec (using a new file is the requirements doc is so large is fills the context window). The implementation plan then goes though the same multi-round self review using two models to polish (again, 7 or 8 rounds), finalized with a review by me.

The result? I can then tell Claude Code to implement the plan and it is usually done in 20 minutes. I've delivered major features using this process with zero changes in acceptance testing.

What is funny is that everything old is new again. When I started in industry I worked in defense contracting, working on the project to build the "black box" for the F-22. When I joined the team they were already a year into the spec writing process with zero code produced and they had (iirc) another year on the schedule for the spec. At my third job I found a literal shelf containing multiple binders that laid out the spec for a mainframe hosted publishing application written in the 1970s.

Looking back I've come to realize the agile movement, which was a backlash against this kind of heavy waterfall process I experienced at the start of my career, was basically an attempt to "vibe code" the overall system design. At least for me AI assisted mini-waterfall ("augmented cascade"?) seems a path back to producing better quality software that doesn't suffer from the agile "oh, I didn't think of that".

dugmartin··on Librarians tired of being accused of hiding secret books that were made up by AI
We have a small local company that takes bulk book (and cds, dvds, video games, vinyl records) donations. That company has couple of retail used bookstores and also sells both retail and wholesale online but, according to their owner, most of what they get is sold for pulp.

My wife is an elementary school reading teacher and runs a yearly family book night where she takes book donations she gets all year and fills a bunch of portable tables in the gym with kids (and adult) books that are free for the taking. What is left over is taken (by me) to that local company and dumped in huge bins. If you are looking to get rid of a bunch of books I'd also suggest contacting your local schools to see if they take donations.

dugmartin··on I tried Gleam for Advent of Code
I think as ai tools actually learn languages that functional languages will win out as they are much easier to reason about.
dugmartin··on Netflix to Acquire Warner Bros
They got it for cheap. AOL paid $165 billion for Time Warner in 2000. Is Netflix the next AOL?
dugmartin··on 30 years ago today "Netscape and Sun announce JavaScript"
Remember the old Bjarne Stroustrup quote: "There are only two kinds of languages: the ones people complain about and the ones nobody uses."
dugmartin··on Transparent leadership beats servant leadership
I forgot where I read it (Steve McConnell?) but the best analogy I've heard for a boss/project leader is to think of your job is moving a house and the bosses job is to be a few streets ahead taking down telephone pole wires so you aren't slowed down.
dugmartin··on Free static site generator for small restaurants and cafes
I agree. There are lots of free AstroJS themes for restaurants that generate static html that you can host somewhere like Firebase hosting for free.

- https://astro.build/themes/details/astropie/

- https://astro.build/themes/details/astrorante/

- https://astro.build/themes/details/tastyyy-restaurant-websit...

dugmartin··on Coq: The World's Best Macro Assembler? (2013) [pdf]
Not biblical references but rather Elmer Fudd.

Bugs Bunny called Elmer Fudd "Nimrod" in a 1940's cartoon to sarcastically refer to Elmer as a great hunter. At that time I think most people probably got the biblical reference. Over time that word morphed into meaning something like an idiot to most Americans due to that cartoon.

The same thing happened to the word "Acme" - the coyote in the road runner cartoons bought all his devices from the "Acme Corporation". Acme means the best/peak and it was a sarcastic reference to none of the gadgets ever working. Now most American's think Acme means generic/bad.

They should have kept the name as Nimrod and named the package manager Acme instead of Nimble.

dugmartin··on The Pragmatic Programmer: 20th Anniversary Edition (2023)
If you are into podcasts Steve McConnell (the author) was a guest a couple of months ago on the pragmatic engineer podcast. My one take away from that podcast was just how young and new in his career he was when he wrote that book.

https://newsletter.pragmaticengineer.com/p/code-complete-wit...

dugmartin··on This week in 1988, Robert Morris unleashed his eponymous worm
Slower and unstable. I spent a lot of my freshman year in college on Bitnet chat and iirc about every 30 minutes there would be a "netsplit" and a bunch of folks in the chat would disappear. Maybe it was our universities connection, which I think was direct to UIUC. I've posted here before that back then I thought Bitnet chat was magical. Things like being in a chat room with students in Berlin while the wall was falling felt so futuristic to me.
dugmartin··on Tags to make HTML work like you expect
I know this was a joke:

   <div id="root"></div>
   <script src="bundle.js"></script>
but I feel there is a last tag missing:

   <main>...</main>
that will ensure screenreaders skip all your page "chrome" and make life much easier for a lot of folks. As a bonus mark any navigation elements inside main using <nav> (or role="navigation").
Page 1 of 34Next →