Archives for May 2010

svn:externals for console client

This is step-by-step howto related to referring to the external project using svn. Make externs sub directory in your project where all the external references will be collected: svn mkdir externs Create a properties file that will include “folder-repository” pairs you are referring to: cat > /tmp/props local-projname http://www.rep.com/svn/projname Apply svn:externals property for externs dir: [...]

Business notes

In this post I’ll collect links to useful business-related resources written in English and Russian In Russian: Философское Размышления о будущем социальных сетей Запуск бизнес-центра Twitter: монетизация по-крупному Тайм-менеджмент денег. Размышления о счастье, трате времени и денег. 14 величайших стартап-провалов. Об очень крупных ошибках в бизнесе. Практические советы Запускаем софтверный бизнес и Поднимаем софтверный бизнес. [...]

Design patterns in a functional way

In this post I’ll collect articles related to practical applications of the design patterns in functional programming languages. Design Patterns in Haskell

CommonJS: the best is yet to come

CommonJS is an approach to build reliable cross-interpreter library that provides developers with module loaders, package management facility, charset converters, unit-testing framework and much more. Discussions: here and here.

Web Workers

Web Workers is an approach to multitasking in JavaScript. Web Workers is drafted and committed for review for being added to HTML5 standard. Web Workers now used in node.js.

In-browser code editing

In-browser code editing now available for modern browsers. Wow!

Inheritance is evil

Quite an interesting article related to overusing inheritance pattern. Upd: Related problem with JDK’s Properties class. (Ru) Discussion related to composition vs inheritance. (Ru) Discussion “shall we drop inheritance support?”.

Rich HTML editing

Two articles by Olav Junker: Part 1 Part 2

Javascript benchmark in different engines

I’ve tried latest v8 benchmark in the following browsers: Chrome 5.0.391, Firefox 3.6.3, Opera 10.53 and QtWebKit 4.6 (qtsdk 2010.02) The results are as follows (in order of decreasing performance score): Chrome: 5308 Opera: 3243 QtWebKit: 2125 Firefox: 375

Pattern-matching in a functional way

Several days ago I needed an easy to use and easy to extend facility that performs pattern matching. I ended up with the following interface: // matcher function. To prevent situations when no pattern matches the object given, // it might be initialized as follows: // matcher = function() { throw new Error(“no applicable pattern [...]