How I produce the @earthin24 yearly summary
Solar dashboard using Adafruit MagTag
An earth mosaic
So a while back I created a twitter bot @earthin24 that generates a video of earth, as seen from himawari8 satellite, every day.
Continue reading.How I built my earthin24 twitter bot
At work my team have recently taken over a golang app. To learn a new language I like to build something that keeps my interest and by the nature of exploring something of interest you tend to cover way more surface area of a language this way.
Continue reading.Stop iOS10 browser auto-locking
I had twitter open the other day and I had to put my phone down and attend to something else, the timeline happened to be on a looping gif video and I noticed when I came back that my phone was still awake and unlocked the fact that video was in view kept the phone awake and this got me thinking about the new playsinline
attribute that has been enabled for <video>
elements in iOS10 Safari.
Changing content type of a file in a FormData request with cURL
The other day I had to test an API response based on a file having the incorrect Content-Type of a FormData PUT request.
Continue reading.So how does the browser actually render a website
September 2015 I had the privelage of giving a talk at JSConfEU 2015 in Berlin. My topic was about what the browser actually does to construct your website and show it on the screen. This is a topic I’ve been digging into for a few years now and it was really fun trying to distill it into a ~25 minute talk.
Continue reading.Modernizr 3: A beginners guide
UITableView in JavaScript, list view with re-usable cells using flexbox
If you’re familiar with iOS development you will know that a UITableView is very efficient when displaying a list of data. A simplification of what it does is display enough cells to fill the viewport plus a few more either side. As you scroll it re-uses cells that are now out of the viewport so a list with thousands of items will only ever use a fixed amount of cells. Highly recommend reading The fine art of UITableViews. Now this has certainly been done before in JavaScript, the best known project being infinity.js, but my approach takes an interesting turn, I avoid heavy DOM operations by using flexbox.
Continue reading.