the
pico stitch
stuff about crafting (and) JavaScript
Mar 18javascript

Discover and extract dependencies

While refactoring some badly tested code, a pattern of how I extract dependencies emerged. The actual intention was to improve the testability. In this case dependency injection is the tool that helped me. Read here to find out the steps I found to separate the dependencies.

Read more ...

Mar 07purescript

Purescript build tool - pulp #3

In the last part #2 of the purescript series I got Purescript and it's executable installed, using yarn. Pulp seems to be the default "build system and package manager for PureScript projects" as Bodil Stokke states in her 1st commit to the project. Let me explore it a bit.

Read more ...

Mar 05purescript

Installing purescript #2

This post is my 2nd write-down inspired by "Purescript by Example", the book by Phil Freeman, the author of purescript. Now about chapter 2, where I install Purescript and touch the tools for the first time. I am gonna use yarn instead of npm, let's see how that goes :).

Read more ...

Mar 01purescript

Purescript - the semantics of JavaScript with types #1

I am convinced, that stricter types are of help when writing, reading and understanding source code. Why? Ever had the primitive obsession? And if you continue down the (type) rabbit whole, you get to stricter typing. And to Purescript, which attempts "to keep the semantics of JavaScript, while enjoying the syntax and type system of a language like Haskell".

Read more ...

Feb 18images

imgix.com - imagery for a website

I just stumbled over https://imgix.com which looks like it could speed up a website building process and reduce the time one needs to invest in preparing images.

Read more ...

Feb 09command line

Find out which process listens on which port

The annoying port 8080 is already in use message and not knowing which process is occupying this port sucks. I knew it was lsof that can help me. But how exactly? TL;DR: ps -p `lsof -i :8080 -t` -o command= (on Mac OSX)

Read more ...

Jan 21jinja

The magic dash in a Jinja template block

What the heck does -%} mean in a Jinja template?

Read more ...

May 11oop

Alan Kay On Messaging

On the famous c2 wiki find "Alan Kay On Messaging". His words are from the year 1998 and still so true. And I am only close to the beginning of really understanding. But I have to, as usual, extract some of the key points for me. Make sure to read the entire message anyways, it's really very short!

Read more ...

May 04oop

OO (with Message passing) - explained by Sandi Metz

I have been titled as a Sandi Metz fanboy, I am :). I use "send to" and "plays the role" since I read her book poodr.

Read more ...

April 2015
Apr 16 programming language
Pharo - object-oriented programming language and a powerful environment
Apr 13 oop
"I made it object-oriented"March 2015
Mar 23 npm
Globally installed npm packages = evil
Mar 23 github
surge.sh - gh-pages.next?
Mar 20 npm
How to Use npm as a Build Tool
Mar 20 dvcs
Unorthodocs: Abandon your DVCS and Return to Sanity
Mar 20 functional
Microkanrens
Mar 20 testing
How to be a great software developerFebruary 2014
Feb 24 testing
Driven to Tests by Kevlin Henney
Feb 23 sound
Sound generation in the browser
Feb 17 github
Keep a github fork in sync
Feb 16 programmer
Programming, Programmers and our craft
Feb 11 cookie
Cookie libs for (node)js
Feb 05 oop
Just looks like OOP ...
Feb 04 oop
"Don't make objects that end with 'er'"January 2014
Jan 24 testing
Trash Your Servers and Burn Your Code: Immutable Infrastructure and Disposable Components
Jan 22 reactjs
riot.js, a react-like lib
Jan 19 javascript
Angular reviews