Swizec's articles in the "machine" category
I aim to write mindblowing emails with real insight into the career and skills of a modern software engineer. "Raw and honest from the heart!" as one reader described them.
Below are 25 articles filed under machine
. Enjoy ❤️
Software Engineering Lessons from Production
Join Swizec's Newsletter and get insightful emails 💌 on mindsets, tactics, and technical skills for your career. Real lessons from building production software. No bullshit.
"Man, love your simple writing! Yours is the only newsletter I open and only blog that I give a fuck to read & scroll till the end. And wow always take away lessons with me. Inspiring! And very relatable. 👌"
Reader question: useReducer or XState?
Following up from my article about XState and Stately.ai, fellow reader S. asked if `useReducer` could ever be relevant when using state machines in React code. Yes! Here's how
November 11th, 2022
When your brain is breaking, try Stately.ai
Two years ago I wrote about using XState after building a UI interaction so twisted my brain leaked out my ears. It helped. Now the creators have made something even better – Stately.ai 😍
November 8th, 2022
A new VSCode extension makes state machines shine on a team
When you grok state machines, a new world of computational beauty and software design opens in front of your eyes. Things that used to be hard become easy. The impossible becomes possible. And you turn into that annoying team member.
February 25th, 2022
Why null checks are bad
Every null or undefined check doubles the number of tests you need 😱
December 10th, 2021
[CodeWithSwiz 19] Firebase Auth support in useAuth, pt1
Support for Firebase Auth is one of the most requested features for useAuth and I figured what the heck, how hard can it be?
January 12th, 2021
React context without context, using XState – CodeWithSwiz 14, 15
useAuth works without React Context! 🎉 here's how
November 10th, 2020
Swap useReducer with XState – CodeWithSwiz 13
In Refactoring a useReducer to XState we talked about a 5 step process to turn a reducer into an XState state machine. Today answers "Ok now what?"
October 22nd, 2020
How to write tests for XState – CodeWithSwiz 12
Once you know how to refactor a useReducer to XState, you gotta prove you did it right.
October 13th, 2020
Refactoring a useReducer to XState, pt1 – CodeWithSwiz 11
XState promises to be like useReducer+Context combined and the simplest way to handle complex state in React apps. But can it deliver? On this episode of #CodeWithSwiz, we gave it a shot.
October 8th, 2020
When your brain is breaking, try XState
August 10th, 2020
Week 5: Random Structures from LEGO Bricks and Analog Monte Carlo Procedures
November 18th, 2013
Week 1: Turing's On computable numbers
October 20th, 2013
Da Vinci - The Genius
February 26th, 2013
Why people making compilers are superheroes
June 11th, 2012
Sabbatical week day 3: Raining datatypes
December 29th, 2011
Sabbatical week day 2: I fail at Octave
December 28th, 2011
Sabbatical week day 1: Toshl and Toggl datasets
December 27th, 2011
Can I please take all my classes online?
December 8th, 2011
Fun javascript feature
December 7th, 2011
A turing machine in 133 bytes of javascript
November 28th, 2011
Nondeterministic turing machine simulator in 23 lines of JavaScript
November 23rd, 2011
I suck at implementing neural networks in octave
November 15th, 2011
First steps with Octave and machine learning
November 4th, 2011
ml-class.org vs. real world ML class
October 11th, 2011
Snow Leopards in mah rooms!
September 2nd, 2009
Software Engineering Lessons from Production
Join Swizec's Newsletter and get insightful emails 💌 on mindsets, tactics, and technical skills for your career. Real lessons from building production software. No bullshit.
"Man, love your simple writing! Yours is the only newsletter I open and only blog that I give a fuck to read & scroll till the end. And wow always take away lessons with me. Inspiring! And very relatable. 👌"