Craig Ayre
Technical Lead on HubSpot’s web team, building customer-facing experiences, developer tooling and automation.
-
🏅 Smooth Operator Award
Boston
Received HubSpot's Smooth Operator Award for removing everyday engineering friction and sharing tools used across a department of around 50 people. The nomination said I
find a better way to work, then actively bring the rest of the team along with me.
At UNBOUND in Boston, I met HubSpot leaders, customers and partners. -
Added
regex_matchto HubLReplaced convoluted string checks for pattern matching:
{% if var and var|regex_replace('^foobarbaz$', '') == '' %}With the new helpers:
{% if var|regex_match('^foobarbaz$') %} {% if var is search '[0-9]+' %} {{ items|selectattr('name', 'search', '^foo') }} -
🐝 Ally Pally
Alexandra Palace, London
Went as a bee to the World Darts Championship and got picked for the crowd challenge. £60,000 for a nine-darter, but Luke Woodhouse misses the D12.
-
⚽ Sunderland AFC are Premier League 🔴⚪
Wembley Stadium
Celebrated with 35,000+ other Mackems. Maybe VAR isn't so bad after all.
-
Joined HubSpot
Joined HubSpot as a Technical Lead on the Web team, building HubSpot on HubSpot.
-
🎯 First 180
-
🎤 Automating Continuous Improvement
Talked about codemods and custom linting, using tooling to make continuous improvement less reliant on good intentions.
-
Ran Softwayre
Ran an independent software consultancy, building products for clients in sport, retail, automotive and healthcare, and grew the team along the way.
-
🎤 The Future of JavaScript
Talked about where JavaScript was heading and how TC39 evolves the language. Still looking forward to the pipeline operator and pattern matching.
-
Scott Logic
Senior consultant working on large financial applications, from customer-facing features to the underlying platform and codebase.
-
Built a Pokémon Emerald bot
Used screenshot and pixel analysis rather than reading game memory through Lua. A small state machine tracked the screen; optimised code and regression tests kept it quick. It could catch specific Pokémon or hunt for shinies.
-
⌨️ Switched to Dvorak
ASDFG AOEUI
Switched to Dvorak and stuck with it. Started with Programmer Dvorak, but eventually settled on the standard layout.
-
Ran an IRC bot on Freenode
#html#css!docs_Ran in the
#htmland#csschannels on Freenode, answering common documentation queries. IRC bots are one of my favourite ways to learn a language: get one working, then find the most ergonomic syntax and syntactic sugar.