New
The latest blog posts to take off on Hacker News. 283 posts.
Google Cloud Platform’s new interactive CLI
If you develop applications on Google Cloud Platform (GCP), you probably spend a lot of time in the GCP command line. But as we grow our GCP services, the number of commands and flags is growing by leaps and bounds. So today, we’re introducing a new command line interface (CLI) that lets you discover—and use—all these…
A fork on GitHub is no fork
Github may block access to your repos and there is nothing you can do about it A few years ago I made a project with a friend and we collaborated on Github in h
Regular Expressions – Mastering Lookahead and Lookbehind
Regex Lookahead and Lookbehind Tutorial. Explains the fine details of Lookahead and Lookbehind, including zero-width matches, overlapping matches and atomicity.
Key Git Concepts Explained the Hard Way
As an exercise, after finishing this article do the whole exercise again, but make a change to both origin/master and master and then do the fetch and merge to see what happens when a fast-forward is not possible.
Lossy GIF compressor
This is an encoder (based on gifsicle ) which implements lossy LZW compression. It can reduce animgif file sizes by 30%—50% at a cost of some dithering/noise.
Using Prettier to format your JavaScript code
Prettier is an opinionated code formatter which makes the life of developers easier by automatically formatting your javascript files for you. This post should help you understand everything you need to know about using prettier in a project.
Scrcpy – An app to display and control Android devices
I developed an application to display and control Android devices connected on USB. It does not require any root access. It works on GNU/Linux, Windows and Mac OS.
Building bots to mend badges, or how to get your GitHub account suspended
TL;DR: Many badges were broken since they were using the shuttered pypip.in site. I wrote a bot that could fix these and automatically submit pull requests with the changes. And then I had my GitHub account suspended. Do not make automatic unsolicited pull requests. Disclaimer This post discusses the design...
How I Helped Potty-Train My Kid Using Twilio and an AWS IoT Button
Walkthrough of an IoT Potty Button which makes a phone call when a kid has to go. With Python, Twilio, AWS IoT, Lambda and an IoT Button build one-touch alerts to make a phone call. Includes sample code and links to build your own poop button or extend the idea.
Automatic Machine Knitting of 3D Meshes
This Carnegie Mellon Textiles Lab web page is now available at https://textiles.cs.cmu.edu/publications/2018-autoknit/ .
Make your own build system
On this page I present a robust, custom build system for a software project written in C, in less than 500 lines of Python code. I think it is about as minimal as a practical dependency-tracking build system can get. Although it adds to the code that must be maintained as part of the project, I think that having a…
Prototype to production: How to build and design a PCB prototype
Learn how to build a PCB prototype, define fabrication specifications, and create gerber files in our new comprehensive guide
Measuring the many sizes of a Git repository
Is your Git repository bursting at the seams? git-sizer is a new open source tool that can tell you when your repo is getting too big. git-sizer computes various Git…
A Year Away from Mac OS
This is the fifth post in my series on finding an alternative to Mac OS X. A bit over a year ago I wrote about my search for an alternative to Mac OS and switch to Linux. In this post I reflect on how that year went and detail some further adventures into Mac OS alternatives.
Tracking where your time went with Lego workstream visualisation
Software development blog of Joe Wright
The Makefile I use with JavaScript projects
I work on a lot of Javascript projects. The fashion in Javascript is to use build tools like Gulp or Webpack that are written and configured in Javascript. I want to talk about the merits of Make.
Versioned Go Commands
What does it mean to add versioning to the go command? The overview post gave a preview, but the followup posts focused mainly on underlying details: the import compatibility rule , minimal version selection , and defining go modules . With those better understood, this post examines the details of how versioning…
Finding Pwned Passwords with 1Password
1Password integrates with Pwned Passwords, a feature of Have I Been Pwned that allows you to check if your passwords have been leaked on the Internet.