Category: General Programming
-
A Little Copying Is Better Than a Little Dependency
Every package you install is a stranger who can push new code to your servers, and attackers keep proving it. Now that AI can write a twenty-line helper in seconds, the tiny dependency has to earn its place. Here's when copying wins, when it really doesn't, and what you take on when you copy. -
Should an AI Agent Remember?
AI agents are getting long-term memory, and memory is turning into a managed service you can rent. Everything people tell an agent can now stick around, spread to other agents and get poisoned. A look at what gets kept, who can read it, what the law expects when someone asks to be forgotten, and the defaults that keep memory honest. -
Old TODOs Are Now Instructions
Stale comments and outdated docs used to be harmless clutter. Now AI coding agents read them as marching orders, and Google has measured what that costs. A reality check on tech debt when the bottleneck is reading code, not writing it. -
Every Shutdown Is a Niche SaaS Opportunity
Big vendors retire products on their own schedule, and every retirement strands customers with a deadline, data to move and workflows to rebuild. Opsgenie's shutdown shows where small software companies can step in, why your own product could be the next one to go, and how to make leaving painless for your customers. -
The December 2 Deadline for Marking AI Output
Since August, a European law has required AI-generated content to carry a hidden 'made by AI' tag and chatbots to say they're bots, and on December 2 the grace period for older products runs out. Most small teams wrapping an AI service don't know whether the rules apply to them or to their vendor. A plain-language walkthrough of who owes what, how the marking works, and a checklist you can run this week. -
Status Pages Depend on Other Status Pages
When Microsoft 365 went dark for most of a day, products built on top of it went dark with it. Your uptime can't beat the services you quietly lean on. Here's how one bad gateway rolled downhill, and the questions to ask about your own product before it happens to you. -
Set Up DMARC Before You Need It
Gmail, Yahoo and Outlook.com all want proof that your mail really comes from you, and the rules keep tightening with little warning. A step-by-step guide to SPF, DKIM and DMARC for small businesses and side projects, from your first DNS lookup to a policy that stops impostors. -
AI Coding Agents Are New Hires With Root
AI coding tools are already running on our machines with our keys and our permissions, and most of us never actually decided they should. A reality check on what went wrong this fall and what to do about it. -
Find the Crypto Hiding in a Web Stack
Post-quantum migration starts with a boring question: what cryptography are you actually using? Here's a one-afternoon audit you can run on your own servers, repos and keys. -
How Hybrid Key Exchange Works
X25519MLKEM768 looks like a cat walked across the keyboard, but it tells you exactly how your connection is protected. What hybrid key exchange is, why the internet chose it, where it quietly fails, and what it still doesn't cover. -
How Public-Key Cryptography Works
Every HTTPS page and SSH login starts with two strangers agreeing on a secret in public. How that works and why a quantum computer breaks it. -
The Unfolding Path: From Solo Code to Orchestrated Teams
Reflecting on two decades in software, from the individual trenches to the evolving art of leading and collaborating in a constantly shifting landscape. -
The Tech Job Market Reality Check: What's Really Happening in 2025
I lived through the 2024 layoffs and spent months job hunting. Here's the brutal truth about what's changed in software engineering careers. -
Slowly Surrendering to our AI Masters
Starting to use AI to escape the IDE, master long prompts, and surface hidden values. -
Adventures in AI: From Boredom to Binary
Free tools and programs you can use today to jump into AI. -
Memory Management Demanded from the Very Top
Is your favourite programming language a security risk? The White House thinks so. -
GitHub Pages
I'm tired of running my own server just to host a blog, and GitHub seems like the perfect place to store all these thoughts. -
Winter 2021 Reading List
Here is what I have been reading so far this winter:
-
Coast to Coast
I didn’t want to end the year without posting at least once.
-
Agile Principles - A Year of Reflection
We spent the last year exploring the 12 Agile Principles, dedicating a month to each. This wasn’t an academic exercise. It was a deep dive into how these ideas change our work, collaboration, and how we deliver value. Each principle, when applied, shows us a practical, people-focused way to manage projects and build better software.
-
Agile Principle 12 - Reflect and Adjust
This final Agile principle is all about continuous improvement. It admits no process is perfect from day one. Real growth comes from constantly looking at what you’re doing and changing it up. This isn’t about pointing fingers or finding blame. It’s about everyone committing to learn and get better.
-
Agile Principle 11 - Self-Organizing Teams
This principle throws a wrench in the old top-down way of doing software. You know, where managers and architects dictate everything from on high. Instead, it argues that the best, most innovative solutions—architectures, requirements, designs—don’t just appear from one smart person’s head. They emerge from teams working together, using their combined smarts and hands-on experience. These are the people closest to the actual problem, knee-deep in finding a solution. They’re best placed to really understand the nitty-gritty details and the ever-changing challenges.
-
Agile Principle 10 - Simplicity is Essential
Too often, we confuse complexity with being smart. Agile’s tenth principle throws that idea out: simplicity is king. This isn’t about cutting corners or shipping half-baked solutions. It’s about “the art of maximizing the amount of work not done.” We need to constantly ask: is this feature truly needed? Every line of code, every process step—does it actually deliver value? The goal is to find and kill waste, focusing only on what matters.
-
Agile Principle 9 - Technical Excellence Enhances Agility
“Technical excellence” and “good design” might sound like luxuries. Or even speed bumps, especially when Agile pushes for quick delivery. But here’s the cold, hard truth: cutting corners on quality for the sake of speed is a fool’s errand. Real agility—the power to react fast and effectively to change—rests on solid, well-designed, and carefully built code.
-
Agile Principle 8 - Sustainable Development
The idea of a “sustainable pace” often gets shoved aside by the constant chase for deadlines. But it’s absolutely vital for long-term project success and keeping teams sane. This principle smashes the myth that working longer hours automatically means more gets done. Instead, it pushes for a steady, achievable rhythm. One you can keep up forever, without burning out.
-
Agile Principle 7 - Working Software is Progress
Forget the endless metrics. Lines of code, documents, meetings, hours billed—they’re all noise. Agile’s seventh principle cuts through it all, staking its claim: the only true measure of progress is working software. This isn’t about some theoretical idea or a planned feature. It’s about tangible, functional deliverables that users can actually use, test, and validate.
-
Agile Principle 6 - Face-to-Face Conversation
We live in a world drowning in digital communication. It’s easy to just fire off emails, instant messages, or dump everything into docs. But Agile’s sixth principle shouts one thing: nothing beats talking face-to-face. Sure, digital tools have their place, but they often miss the nuance, the immediacy, the sheer richness of an in-person chat.
-
Agile Principle 5 - Motivated Individuals
This principle gets to the core of successful teams: people. The best projects aren’t built on rigid processes or mountains of documents. They’re built on the talent and drive of motivated individuals. So, leaders shouldn’t micromanage. They should enable. It’s about understanding that skilled pros do their best work when they feel empowered, respected, and supported.
-
Agile Principle 4 - Business and Developers Together
The old “business” versus “IT” divide is a classic organizational headache. It just leads to bad communication, missed requirements, and products that don’t hit the mark. Agile’s fourth principle tackles this head-on: get business stakeholders and development teams working side-by-side, constantly. This isn’t about some weekly chat or the occasional check-in; it means daily interaction, shared understanding, and everyone pulling towards the same goal.
-
Agile Principle 3 - Deliver Working Software Frequently
This principle is what makes Agile work: get functional software out fast. Planning alone isn’t enough. We must constantly bring tangible, working code to life. “Working software” is key here. It means code that’s tested, deployable, and actually delivers value—not just prototypes or half-baked features. Releasing often, ideally every few weeks, creates a powerful feedback loop.
-
Agile Principle 2 - Welcome Changing Requirements
In traditional development, change often looks like the enemy—a costly headache for carefully made plans. But Agile turns that on its head. It sees change as a powerful partner. Here’s the blunt truth: markets move fast. What was true yesterday might not be today, and customer needs shift constantly. Instead of stubbornly sticking to our first plan, Agile tells us to welcome these requirement changes, even late in the game. This doesn’t mean we just roll over and accept everything; we’ve talked about managing scope creep and pushing back on scope changes when necessary.
-
Agile Principle 1 - Satisfy the Customer
In today’s fast-paced world, customer satisfaction isn’t just a goal; it’s essential. This first Agile principle gets right to it: make customers happy. How do we really do that? We stop focusing on huge, years-long releases. Instead, we deliver often and early.
-
12 Months of Agile
I keep running into folks with cool job titles like Advanced Agile Scrum Master, or business leaders bragging about how their company is “doing Agile”. And I used to crack jokes about how we practice “Agency Agile” - where you don’t plan anything but just accept and work through orders in the form of tickets whenever your project manager comes up with them.
-
Decennial
Hard to believe I’ve been running this blog for 10 years now. So much has changed, but the really important stuff (people) is the same year after year. I am constantly reminded that the focus should always be the opportunities we create through tech, not the tech itself.
-
Speed Up Page Load By Tricking the Browser
Nettiquette is built into web browsers. When you go to download a page, its contents will load in at a max of 2 files at a time (by default). So if there are 12 CSS and JS files, you’ll only get 2 at a time until you load them all.
-
Automate Squarespace Development with Expect
We have a love/hate relationship with Squarespace’s developer platform. I think they really need to decide whether they’re a design company or a web hosting platform and stop doing 50% of each. But anyway…
-
Always Get AppleCare
I never buy warranties for my purchases - if someone is expensive enough it should go on your home insurance policy. If it’s cheap enough, just replace it - we live in a society of garbage anyway. Getting serviced when things break is more often than not a huge waste of time. AppleCare is different.
-
Standing Desk Experiment
Over the past year I experimented with working at a standing desk. My setup was a converted “regular” sitting desk with the computer monitor lifted on a set of rubbermaid bins. It wasn’t the most beautiful rig but the ergonomics were right and the screens were at an appropriate level for my height. Unfortunately I didn’t take any pictures of the contraption.
-
2012 in Review
This has been one of my busiest and most productive years, but you wouldn’t know it from the infrequency of my blog updates.
-
2011 In Review
This year started off with a foray into Rails, an experience I won’t be rushing to complete. Most of my time was spent building a small application during the Christmas break in 2010, but in 2011 I moved that site into production and wrote a little bit about separating production and development values (a feat I repeated for the Play! framework, which I actually like, later in the year). I think the only thing I really like from Rails, and this is a bit of a stretch, is the database migrations.
-
Using FastCGI with Nginx for Performance on a VM
This weekend I decided to play around with the configuration on my Rackspace Cloud Server. Since our various websites have been doing well lately, the relatively low-powered machine I am running on is starting to fill up its available RAM. So far so good but as everyone quickly learns - running out of memory and hitting the swap space is a performance killer. Since I want my sites to continue to do well, I decided to take action before they hit the RAM limit and start swapping to disk.
-
It's not a four letter word
Sometimes it seems we have an un-natural fear of the word “no”. This might be rooted in childhood memory: when I tell my son “no”, I am preventing him from doing something that he wants to do. As a responsible adult, I know the limits I place upon him are for his own protection. As a toddler, he sees “no” as a limiter, something that ends a course of inquiry.
-
Defaulting Null Variables
One of the things I miss most about C# is the expressive ways in which it handles variable defaults. The ‘double ?’ - ?? - operator is especially useful for checking whether a value is NULL and providing a default object:
-
Part-Time Programming Work
Here’s a thought: is it possible for a computer programmer to work part-time? It’s a serious question because programming is not like other trades - once you build a house, for example, it’s built; there is no going back and re-pouring the foundation and moving to make it a better, more efficient house. When a programmer is given a problem to solve, they can continue to improve, optimize and re-factor their solution nearly indefinitely.
-
iTunes - The Future, or Just a Toy?
Following iTunes’ development has been an interesting experience. We’re moving toward a world in which physical packages of music is a thing of a past; in the meantime we’re stuck with a middling service.
-
Google Launches Its Own Programming Language
Update (November 2026): This post is from 2009, when Go was brand new. Go has since grown up: it hit 1.0 in 2012, is now widely used for servers and command-line tools, and installs natively on Windows. I've left the original text below and struck out what no longer applies, with updated wording in its place.
-
The Traditional "Waterfall" Software Development Lifecycle
You can still see ghosts of the traditional “waterfall” method of software development in modern agile practices. The traditional model involved long periods of planning followed by development and extended maintenance periods – ideal for long-lived systems (I’m shuddering and thinking of COBOL apps running on mainframes).
-
Prevent Link Rot From Suffocating Your Blog or Web Site
Link rot occurs when a page linked to from within your web site becomes invalid. Visitors to your site who click on that link will receive a 404 “Not Found” message rather than the quality content they were expecting to find. This matters to you as a web site operator because:
-
Flex 3: Downloading URL after Clicking on Button
Suppose you have a button in your Flex program. When the user clicks on your button, they are prompted to choose where they would like to download a file. But… the file never comes:
-
Python file upload
I recently needed to handle file uploads from a Flash form post using CGI and Python. I made two discoveries:
-
Create Directory in Python
I needed to learn how to create directories using Python and found some great resources and books.
-
Apple is Having Babies
We rented Baby Mama this weekend. I was happily surprised to find PC Guy in the role of the fertility doctor - perhaps a nod to Mac Guy’s film appearances. It warms my heart to see those references transitioning into the cultural lexicon. All this got me thinking about Apple’s “Get a Mac” campaign; there have been some funny ads circulating around the net lately, including some Flash videos seemingly spreading between ad spots (how do they do that?).
-
The Net is Recession-Proof; Hire a Blogger
An interesting article at the Silicon Alley Insider today - recession winners are designers and SEO experts. Advertising is tricky for businesses because dollars spent can’t always be tracked to dollars earned. When it comes to designing a web site I like to go with the analogy of a salesperson. A web site is like an employee who works 24/7, can serve unlimited numbers of customers, and remembers everything they are told about every product. Every dollar spent on a corporate web site is returned to the company passively over time - and as the site ages and grows in traffic, its value continues to increase.
-
Take Yourself Less Seriously, Manage Scope Creep
Given the oportunity, your boss and your client would add so many requirements to your project that your only hope to meet your deadline was to forsake your personal life and donate your evenings and weekends to your job.
-
Form Trumps Function
One (sad?) truth I have learned through the past several years is this: Form Trumps Function, every time. You can write the most elegant code in the world, produce an application that meets requirements 100%, but if it isn’t pretty to look at, your time has been wasted.
-
C#: Finding the Number of Days Between Two DateTime Items
One very common requirement is for the number of days elapsed since a particular Date and Time. In C# this can be accomplished through the use of the TimeSpan class.
-
Editing the HOSTS file in Windows Vista
Windows Vista keeps the HOSTS file locked down so only users with elevated permission can edit it. I found the fastest way to add lines to this file in my own system was:
-
Creating Install Programs with Tools You Didn't Know You Had
I never knew about this little program until I found Alfred’s Tech Blog. If you want to quickly make install files and are running Windows, just go to Start->Run… and type iexpress.
-
A Beginning
I had been running a short-lived site dedicated to the ins and outs of website scripting languages when I realized something about myself: I don’t know nearly as much as I once thought I did.