Programming

Building an AI powered REST API with Gradio and Hugging Face Spaces – for free!

Building an AI powered REST API with Gradio and Hugging Face Spaces – for free!

2022-12-03“I just want to drop in some Python ML code and get a REST API” Read more

Micro frontends—a microservice approach to front-end web development

Micro frontends—a microservice approach to front-end web development

2017-07-06Article updated with references to HelloFresh, micro-frontends.org, Single-SPA (incl demo) and using a shared event bus. For web apps, the front end is becoming bigger and bigger, and the back end Read more

How we turned GitHub Issues into a game

How we turned GitHub Issues into a game

2017-06-23Our list of bugs was growing. Something drastic had to be done. So we built a game. At Weld we’re building a code-free tool, but we sure are generating a lot of code. And a lot of bugs. Our issue li Read more

The “Rule of 10” for functions, components and modules

The “Rule of 10” for functions, components and modules

2017-06-16Here’s my “Rule of 10” for functions, components and modules: If a function has >10 lines of code, break out into multiple functions. If a component has >10 functions, break out into multiple Read more

Pocket Coder — coding JavaScript on the go

Pocket Coder — coding JavaScript on the go

2017-06-08I made a trip to Italy recently, and on the plane I started thinking of a coding problem I was working on at Weld. I had a rough idea, but I wanted to express it as an algorithm. I didn’t want to boo Read more

All the CSS sizing units you didn’t know existed

All the CSS sizing units you didn’t know existed

2015-11-11If you’re a front-end developer/designer, you probably know px and em sizing units. But did you know there’s 15 of them? em: This unit represents the calculated font-size of the element. If used on Read more

Popular javascript frameworks

Popular javascript frameworks

2015-06-13JQuery is hard to beat. Looking at the number of questions on Stack Overflow*, JQuery is 6X more popular than Google’s AngularJS, and 40X more popular than Ember.js. And Facebook’s React and Google Read more

Right now, 5% of Earth’s population knows how to create software

Right now, 5% of Earth’s population knows how to create software

2014-09-16Right now, 5% of Earth’s population knows how to create software. What would happen if that number was 50%? Read more

Designing a CRUD API for WebSockets

Designing a CRUD API for WebSockets

2014-02-16When building Weld, we are using both REST and WebSockets (Socket.io). Three observations on WebSockets: Since WebSockets are so free-form, you can name events how you want but it will eventually be Read more

You should learn a new programming language!

You should learn a new programming language!

2011-10-24Learning a new programming language is great for two reasons: It expands your mind. Your brain gets exercise when it’s forced to think in new ways. If you’re building something big, take the ti Read more