Skip to main content

WebSummary - fast JS, html5 myths and how to be a presenter. 6 November 2012

From some time I think about posting here summary of my tweets. As most nowadays most of the time I use twitter and google reader for RSS, posting and sharing. Sometimes I use Yammer to share stuff in company. Downfall of that is that I stopped writing on my blog.

I want to change it, but simply copying data from my twitter isn't going to be interesting, so I came up with the idea to filter it to most interesting links (in my opinion).






  1. Good and comprehensive article about writing fast JS, GC in JS VMs, just look at it, should be worth your time: http://coding.smashingmagazine.com/2012/11/05/writing-fast-memory-efficient-javascript/
  2. Myths on HTML5 by Mozilla: https://hacks.mozilla.org/2012/11/html5-mythbusting/
  3. From Geek to Presenter by Chris Heilmann: http://christianheilmann.com/2012/11/02/from-geeks-to-presenters-a-talktraining-in-spotify-sweden/
  4. Some ideas how to be better programmer: http://www.wildbunny.co.uk/blog/2012/11/01/10-steps-to-becoming-a-better-programmer/



If above is not enough for you:


  1. Emmet - new Zen Coding: http://docs.emmet.io/
  2. __proto__ can break apps: http://www.2ality.com/2012/11/proto-breaks-webapps.html



That's it :)

My idea is to post max 4 main links for every week and make it short. I want it to be short and easy to scan and pick one of them for reading. 

Let me know how you like this idea, how about number of links, is 4 enough, are 2 additional one ok?



Comments

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




https://developer.chrome.com/devtools/docs/device-mode 



Proxy:



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.

https://github.com/nodejitsu/node-http-proxy

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 npmjs.org 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

"dependencies&…