#programming (160 links)
- Just Fucking Use Go - Blain Smith blainsmith.com
Write the fucking monolith. One Go binary. One Postgres. One Redis if you absolutely must. Serve HTML on the same port that serves your JSON API. Run it on a single VPS that costs less than your monthly oat milk budget. Scale that to ten thousand requests per second without breaking a sweat because Go was literally designed for this and goroutines are cheap as hell.
Great rant. HN comments on article are also fun.
- Agentic Engineering Patterns simonwillison.net
- Writing code is cheap now simonwillison.net
Coding agent tools can help with most of this, but there is still a substantial burden on the developer driving those tools to ensure that the produced code is good code for the subset of good that's needed for the current project.
The genie is good at exploration. So good in fact, that Atsign engineer Chris Swan wrote “getting from idea to code is cheaper than it’s ever been.” But good ideas are a new constraint. “The set of people who have ideas for apps worth building is not everybody. It might be a larger set than the people currently making apps, but it’s finite, and probably not much larger,” Swan suggests.
- Altoids by the Fistful § Scott Smitelli scottsmitelli.com
- Hedy - Textual programming made easy hedy.org
Python however is hard, because it is only available in English, and requires learners to learn complex programming concepts and syntax at once. Hedy is the easy way to get started with textual programming languages!
- Walking Skeleton wiki.c2.com
"A Walking Skeleton is a tiny implementation of the system that performs a small end-to-end function. It need not use the final architecture, but it should link together the main architectural components. The architecture and the functionality can then evolve in parallel." -- Alistair Cockburn
Crucially, none of the React alternatives solve this, indeed, they mostly just make it worse by trying to "helpfully" mutate state right away. But here's the annoying truth: you cannot skip learning to reason about well-ordered orchestration. It will just bite you in the ass, guaranteed.
Fun rant on current state of React and advanced UI.
- Classnames classnames.paulrobertlloyd.com
Naming things needn’t be hard
- p5.js p5js.org
a JavaScript library for creative coding, with a focus on making coding accessible and inclusive for artists, designers, educators, beginners, and anyone else
- Brandon Smith's Website brandonsmith.ninja
So here's my point: frameworks aren't always bad, but they are a much bigger risk - for both the creators and the users - than libraries are. If your framework can be a library without losing much, it probably should be. If you don't work at a major tech company, you probably don't have the time or energy to give a framework all of the attention it requires. Libraries aren't everything, but they should be preferred.
- What I learned as a developer from accidents in space—Martian Chronicles, Evil Martians’ team blog evilmartians.com
How Soviet space tales help the creator of PostCSS to follow best practices in development.
- Observable beta.observablehq.com
- UTC is Enough for Everyone, Right? zachholman.com
- Exploring ES6: Upgrade to the next version of JavaScript exploringjs.com
- Stevey's Blog Rants: Execution in the Kingdom of Nouns steve-yegge.blogspot.co.uk
<blockquote> For the lack of a nail, throw new HorseshoeNailNotFoundException("no nails!"); </blockquote>
- The Hitchhiker’s Guide to Python! — pythonguide 0.0.1 documentation docs.python-guide.org
- Learn to code | Codecademy codecademy.com
- Hacker News | If this then that news.ycombinator.com
Good discussion and examples of ifttt use.
- The Node Beginner Book nodebeginner.org
ChrisFulstow: The Node Beginner Book - http://nodebeginner.org/
- How To Safely Store A Password | codahale.com codahale.com
"Use bcrypt. Use bcrypt. Use bcrypt. Use bcrypt. Use bcrypt. Use bcrypt. Use bcrypt. Use bcrypt. Use bcrypt." Thanks, Pete.
- notes on "learn to program in 24 hours" notes.torrez.org
The snark is amusing and this is also a pretty decent list of things to do when building an app.
- Staging Servers, Source Control & Deploy Workflows, And Other Stuff Nobody Teaches You: MicroISV on a Shoestring kalzumeus.com
Back to basics; handy.
- Gregable.: Why you should know just a little Awk gregable.com
Knowing 10% of awk's already small syntax, which you can pick up in just a few minutes, will dramatically increase your ability to quickly manipulate data in text files.
- Code Quarterly codequarterly.com
We believe there’s a niche waiting to be filled by someone publishing well-written technical pieces longer than the average blog article but shorter than books and making them available in a variety of formats. We are aiming at depth more than absolute timeliness; there are already plenty of outlets for the latest tech buzz.
- Web Application Exploits and Defenses jarlsberg.appspot.com
This codelab shows how web application vulnerabilities can be exploited and how to defend against these attacks. The best way to learn things is by doing, so you'll get a chance to do some real penetration testing, actually exploiting a real application.
- Show My Code | Free Online decompiler showmycode.com
- maetl . code is not inevitable maetl.net
"The distinction between good code and crap code is essentially literary. Good code emerges from an intuitive ability to separate structure from intention – to compose minimalist flows of well formed cues that balance direct statements of logic with modular flexibility. Holistic, pattern based thinking is important, treating the locality of a single statement in the context of its position in a larger system, and also understanding that this position is fluid, and may change as the system changes and grows." This is great.
- Top 10 tips to a new django developer - 0 & 1 zeroandone.posterous.com
- Nine Things Developers Want More Than Money | Software by Rob softwarebyrob.com
More money isn't one of them.
- Bash scripting Tutorial linuxconfig.org
- Advanced Bash-Scripting Guide tldp.org
An in-depth exploration of the art of shell scripting
- Alex Payne — Don't Be A Hero al3x.net
Heroes are damaging to a team because they become a crutch. As soon as you have someone who’s always willing to work at all hours, the motivation from the rest of the team to produce reliable, trouble-free software drops. The hero is a human patch.
- Continuous Integration martinfowler.com
A quick [!] overview of Continuous Integration summarizing the technique and its current usage.
- Zend Framework: Documentation framework.zend.com
Zend Framework Coding Standard for PHP
- macosxvirtualserialport - Project Hosting on Google Code code.google.com
Do you want to test your next Mac OS X-to-Arduino project without always having the Arduino available? Do you want to test you cool Processing application when your mate hasn't finished writing the Arduino sketch? Do you want to do test driven development of your Mac OS X based application without dependency on your microcontroller?
- Make: Online : How-to: Hacking RjDj with PD blog.makezine.com
- Writing Great Unit Tests: Best and Worst Practises « Steve Sanderson’s blog blog.codeville.net
It’s overwhelmingly easy to write bad unit tests that add very little value to a project while inflating the cost of code changes astronomically.
- John Resig - Eulogy to _why ejohn.org
I tend to see _why more as an artist. He used a wide variety of mediums for his exploration: Written word, drawings, code, and even music.
- Fabric — Fabric v0.9 beta 1 documentation docs.fabfile.org
A Python library and command-line tool designed to streamline deploying applications or performing system administration tasks via the SSH protocol. It provides tools for running arbitrary shell commands (either as a normal login user, or via sudo), uploading and downloading files, and so forth.
- Maker's Schedule, Manager's Schedule paulgraham.com
When you're operating on the maker's schedule, meetings are a disaster. A single meeting can blow a whole afternoon, by breaking it into two pieces each too small to do anything hard in. Plus you have to remember to go to the meeting. That's no problem for someone on the manager's schedule. There's always something coming on the next hour; the only question is what. But when someone on the maker's schedule has a meeting, they have to think about it.
- qlcolorcode - Google Code code.google.com
The Quick Look plugin that handles source code in Leopard is, well, boring. We developers expect syntax highlighting these days! Thanks to WebKit, Highlight, and the foresight of the Quick Look API designers, however, this is easy to achieve. Just drop this plugin into /Library/QuickLook or ~/Library/QuickLook and bask in the glow of the beautiful syntax highlighting!
A service that enables you to connect, tag and share real time sensor data from objects, devices, buildings and environments around the world. The key aim is to facilitate interaction between remote environments, both physical and virtual.