Skip to main content

October Update - Code & Node.js in Action

Short update from last month and my plans for November.


Code: The Hidden Language of Computer Hardware and Software by Charles Petzold
This book was first published in 1999 but story and code that it teaches is still relevant today. This book is just everything I always wanted to read and know about computer hardware and software. This is really a missing link that unifies all different subjects I know about both hardware and software. Book is mostly really easy to read, and creates a story and builds up knowledge in a reader with every chapter. I think is is one of the must read book for every programmer! :)
Rating: 10/10 best book on a subject I have read.

Lean UX. Applying Lean Principles to Improve User Experience By Jeff Gothelf
Another book about Lean principle in software development, this time how to make design team part of Agile and how to make them Lean. In my opinion the best value of this book is in stories that Jeff have from forcing Design/UX people into Lean/Agile. Graph at the end of book is just awesome, and it's clear that every company can have different solutions to the same problem. 
Rating: 5/10 There are good thoughts but most of it could be put into longer blog post. It should have more content or be even shorter.

Revenge of the Witch/The Spook's Apprentice, 2004 by Joseph Delaney
This is fantasy again. Friend recommended me this book and I have watched trailer of Seventh Son so I couldn't resist :) 
Book is really short (I have read it in Polish) and it took me about 2 hours to read it. This is not best book I've read but it was fun to read. Right now I'm curious how it would be to read it in English.

Node.js in Action by Mike Cantelon, Marc Harter, T.J. Holowaychuk and Nathan Rajlich
Pretty long book. Every chapter took me about one hour to read. I have learnt a lot about Node.js and Express framework. I can recommend it to anyone wanting to learn Node.js. 
Rating: 9/10


Gamedev.js Kraków #1: Canvas basics - I have organized short GameJam with intent to learn basics of canvas for Game Development. Group was really smal (about 10 people) but it was really fun to hack together. I have even created a Pen with both things to read and final games:

Planned Events:

  1. Reading Club 6-th of November
  2. Gamedev.js Kraków #2: CreateJS 7-th of November
  3. Gamedev.js GameJam Kraków 17-th of November
  4. Meet.js Kraków 19-th of November


  1. Memrise - Upper-intermediate English 440 / 962
  2. Unity 3.x Game Development Essentials by Will Goldstone
  3. MongoDB course (2/7 weeks)


  1. The Book of GIMP & Drawing
  2. Seven Databases in Seven Weeks by Eric Redmond
  3. Github Game Off 2013 - "change"


Popular posts from this blog

How to simulate slow connection (developer proxy in Node.js)

Update: If you use Chrome then you can use "Throttling" so simulate slow network for all your assets. This should be easier than proxy.

Toggle device modeChoose Network type.Refresh the page 


For some time I wanted to use some proxy for development and testing of eg. slow internet connection, but it was hard to find something useful and free. I know there is Charles but buy it to use it at most one in a month is not for me.

I started thinking about Node.js, maybe I can write proxy for me? But fortunately I found one.

With this module I can write really short code to create slow server:

var http = require('http'), httpProxy = require('http-proxy'); httpProxy.createServer(function (req, res, proxy) { var buffer = httpProxy.buffer(req); setTimeout(function () { proxy.proxyRequest(req, res, { host: 'localhost', port: 8080, …

How to use NPM packages from private repositories on bitbucket

Using Node.js you want to use NPM packages for reusable parts of the apps you create, that is a common sense. At the same time not everything makes sense as a public module unfortunately. Right now we are using Bitbucket at work for private repositories but there is a problem. How to use them as NPM modules? We do not want to publish them to the public but still want to have an ability to install them easily.

After googling and experimenting I have found simple solution.
First create new user in your organization with obscure password and give it read access to the repo. It is best to assign really obscure password but do not fool yourself. This is convenient but you must sacrifice security a bit. You should always consider how in your context that would be important.

Change example from below to:
user - username
PASS - password of the user
organization - owner of the project (you can find it in bitbucket url to your project)
project - your project name