What Saturday on Hacker News Looks Like
Yesterday, a post I had submitted to Hacker News got pushed up to the front page. Outside of retiring and basking in my new-found internet fame, I wanted to show what a few hours on the front-page looks like.
Home Made Standing Desk Raspberry Pi Controller
One of my lockdown projects was to make my sit/stand controller smart. I used a Raspberry Pi to create a custom controller that could control the motor on my desk and allow me to rise and lower it over the network as well as via a touch-interface.
Saving Your Initial Reaction
This is very simply idea that has helped me in a number of different ways in the recent past: recording my initial reaction to things. All this means is immediately saving my thoughts on a topic somewhere, as opposed to the usual … “I’ll write this down later”.
Django Pagedown Image Uploads
It only took 5 years. After years of dithering you can upload images with Django Pagedown.
Django and CircleCI 2.0
Most of the time, deployment sucks. Using a continuous integration app can help automate your deployments so you can focus on writing code and buildings things. In this post I’ll show you how to set up a basic Django project with CircleCI so that publishing your code is as simple as pushing to GitHub.
Ember Ajax and Ember Simple Auth
It can be tricky to properly configure ‘ember-ajax‘ to play nicely with ‘ember-simple-auth‘. You will need to manually configure a service to mimic the authorisation functionality you get for free when using Ember Simple Auth with Ember Data. This post will show you how to get up and running properly.
Sending Ember actions down to components
“Data down, actions up” is an often repeated mantra of the Ember community, and for good reason. Sometimes though, you need to call actions on components in a “downward” direction. In this post I’ll give you an approach for breaking this DDAU rule.
"Route variable" pattern with Ember
There are a couple of different libraries for Ember that add the ability to set the page title for each page in your application by simply creating a ‘title‘ property on each route. This is a great general purpose pattern for declarative information that needs to be set across routes. For example you might want to add breadcrumbs, or just a different heading on each page. This post will outline how to go about creating this pattern yourself.
A simple pagination component with Ember
Ember’s ethos of ‘components everywhere’ makes it really quick and easy to make reuseable widgets. This takes the tedium out of implementing some of the more basic features of web sites and applications. An example of this is pagination. This post shows you how to create a very basic pagination component that allows you to page through a list of items.