Tim Perry

Senior software engineer at resin.io.
Creator of Build Focus, keen open-source contributor, and maintainer of Loglevel, Git‑Confirm and Server Components.

HTTPS Is Not Enough at Codemotion Milan

Federate your content just one more step, all by yourself, and making jumping ship a little less scary.

Mastodon has been quietly building popularity for a good few months now, but over the past 48 hours it’s really burst to life, leaping from 25,000 to 40,000+ users in no time at all.

This is an exciting good thing: we’ve been in desperate need of less centralized and walled social networks for a good long time now.

Moving on from Twitter though isn’t easy, as many of us have been there many years...

Because sometimes you want to know if they actually work.

Bash scripts are unloved and underappreciated. Many of us developers spend a lot of time on the command line, and a good shell script is an incredibly powerful thing to drop into & extend your existing workflow.

Shell scripting isn’t easy though. Many of the tools and techniques you might be used to aren’t nearly as effective or well-used on the command line. Testing is a good example: in most languages, there’s a clearly agreed basic a...

Promises Are So Passé at Codemotion Milan

CSS-only tabs are a fun topic, and :target is a delightfully elegant declarative approach, except for the bit where it doesn’t work. The #hash links involved jump you around the page by default, and disabling that jumping breaks :target in your CSS, due to poorly defined behaviour in the spec, and corresponding bugs in every browser.

Or so we thought. Turns out there is a way to make this work almost perfectly, despite these bugs, and get perfect CSS-only accessible linkable history-tracking tabs ...

Opening Open Source with DevOps at DevDay
It's for the best https://t.co/8gT7fPRSeQ
Uncommit (though still publish) generated browser files
This is witchcraft: https://github.com/mikeal/webtorrent-component <web-torrent src="magnet:?..." file="myvideo.mp4" />
Fix resin local push on Windows
Add windows instructions to fix node-gyp installs
Breaking: Don't allow creating devices with discontinued device types
DO NOT MERGE - run tests against staging
Add DiscontinuedDeviceTypeError
Improve performance by select only the fields required where possible
It's @resin_io summit time! Next stop: Athens 🛫
Autodeploy tagged changes to npm
DO NOT MERGE - Use 127.0.0.1 as the login URL to avoid mixed content warnings in FF
Use all existing images on the device for caching during push builds
Improvements to SDK build process
Move to using the catch-uncommitted npm package
Trying out @codesponsor in the readme of http://github.com/pimterry/loglevel. Seems an unobtrusive way to make #opensource more sustainable. WDYT?
I've taken to entirely open-source-driven dev: OS a prototype, if it's useful others use it, if others use it, they'll flesh it out.
Document how to persist env vars in a .env file for testing
DO NOT MERGE - run tests against staging
Dev UX tweaks
Wow, loglevel has blasted past the 1million downloads/month line this week! https://www.npmjs.com/package/loglevel 🚀🚀🚀
"When I run apt-get upgrade on my Ubuntu 17.04 machine, sometimes it starts Dwarf Fortress by itself": https://askubuntu.com/questions/938606/dwarf-fortress-starting-during-apt-get-upgrade
Fascinating post from @stripe about their (very neat) incremental API versioning approach: https://stripe.com/blog/api-versioning
Docker went from semver-ish to YY.MM versions (17.06) & broke all our version parsing 😭 Real semver en route though! https://github.com/moby/moby/issues/31842
Woah, webpack-dev-server now depends on one of my npm packages! https://github.com/webpack/webpack-dev-server/pull/921 Guess when this got releas… https://twitter.com/i/web/status/893112232263004160
This @npmjs account typo-squatting lots of popular npm package names, with versions that quietly steal your `env`:… https://twitter.com/i/web/status/892404399292768256
Hosting totally user-controlled web content? You should probably know about https://publicsuffix.org/learn/ (and afaict, almost nobody does)
#React Fiber - now in Beta! http://isfiberreadyyet.com/ https://t.co/sLNLR96FfG