-
Node.js: managing child processes
posted in Nodejs on 2014-05-21 error stdout js exec console log stderr visits function var module -
These days I spent some time working on Yez!. Chrome extension whose main role is to replace the annoying switching between the terminal and the browser. It uses Node.js module to run shell commands. So, I had to deal with child processes, and I decided to document my experience.
read more
-
Revealing the magic: How to properly convert HTML string to a DOM element
posted in JavaScript on 2014-01-23 wrapmap table tr element tbody var html td div map -
This seems like a trivial task. However, it is not. There are few popular solutions, but they have a big problem and if you use them a lot you will spot the issue.
read more
-
Convert HTML string to DOM element
posted in JavaScript on 2013-06-11 var markup output el link html frame contentdocument document createelement dom element -
Checkout Revealing the magic: How to properly convert HTML string to a DOM element article.
I'm working on a chrome extension which accepts user text, work with it and output the result in a div. I used jQuery in the beginning, for several tasks, but later I decided to remove it and deal with pure javascript/DOM manipulations. The output div was filled by using innerHTML property and everything was ok. But, at some point, I sent few buttons to the user and he has to interact with them. However, once I update the div's content the event listeners are detached and the buttons became non-functional.
read more
-
How TDD and Pairing Increase Production by anarchycreek.com
posted in Architecture on 2011-12-12 pairing increase production tdd period http anarchycreek article period http great article period -
Just a great article. Period! http://anarchycreek.com/2009/05/26/how-tdd-and-pairing-increase-production/
read more
-
Javascript: handling with crossdomain requests
posted in JavaScript on 2011-01-19 bbb server aaa code data getdata php access bbb -
Ajax is a powerful tool for loading new content or data asynchronously. The well known problem is that we can't make requests to other hosts. In other words if your code is located at aaa.com you can't load bbb.com/getData.php. There are several solutions available.
read more
-
Distort MovieClip in Flash with AS3
posted in ActionScript on 2010-09-05 getrandomnum clip setting mtd tweentype out_expo end getrandomnum distort private function number movieclip distortimagewrapper -
As you probably know there is no simple way to distort a MovieClip in Flash. The solution that I've found uses AS3. Special thanks to Thomas Pfeiffer and Ruben Swieringa. They share their experience with this problem.
read more