July 2012
2 posts
6 tags
WatchWatch
CoffeeScript Installation Video Tutorial
Jul 22nd
1 note
7 tags
WatchWatch
1. Anonymous functions console.log do -> 'Hello, I am a function!' 2. Named functions hi = -> 'Hello form inside of a function' console.log hi() 3. Functions with arguments greeting = (name) -> "Greetings, #{name}!" console.log greeting 'Andrey' 3.1 Warning about Implicit Parantheses # Translates into: Math.round(3.1, Math.round(5.2)) and second argument is ignored console.log(Math.round...
Jul 22nd
June 2012
4 posts
8 tags
CrowdSourcing - Screencasts on Refactoring
The series of screencasts on Symfony2 Components I‘ve recorded earlier this year was quite a fun ride.  I am now thinking about diving deeper into the architecture of the web applications. I often find myself rewriting other people’s PHP code. And I can do so effectively only because I’ve read the great, monumental book written by Martin Fowler - Refactoring. Improving the...
Jun 27th
3 tags
The_Context - Episode 07 - Analog GTD System →
In this episode of our weekly podcast we are going to talk about analog GTD systems, and paper-based time tracking stuff. We’re also going to discuss the arrival of Instapaper to Android and how to develop a consistent good habit in 90 days. 
Jun 5th
1 note
2 tags
The Context: Episode 06 - Being happy, being sad... →
Jun 1st
1 tag
Beautiful Unix Timestamp Converter →
Jun 1st
1 note
May 2012
2 posts
5 tags
A Social App I've build in Ruby on Rails →
I am proud to announce the launch of the social app I’ve been working on for a while. MicroSamplt allows you to share the samples of your life with family and friends. Don’t let your life rush by - take a sample! The code is open source and available to fork on GitHub:  https://github.com/andremaha/microsample
May 21st
Powernaps
alldrin: I have forgotten the secret art of “powernapping”, and then remembered it today. In short: powernaps are amazing. You set a timer to 10-25 minutes (no more), then you relax and try to sleep. It’s as simple as that! When you wake up, you feel refreshed, energized and ready for action. A perfect condition to do something cool, like record a weekly podcast about technology, arts and...
May 8th
2 notes
April 2012
12 posts
The_Context: Episode 02 - It's Us vs. Them. Or is... →
Apr 30th
Three Laws →
Apr 29th
5 tags
The_Context: Episode 01 - "Why don't startups... →
Apr 24th
1 note
7 tags
WatchWatch
It is time to take a look at the “most important piece of code in the HttpKernel component”, as Fabien Potencier himself puts it – HttpKernelInterface. Among other things this interface supports native HTTP-Caching, the feature we’ll be exporing in this episode.  
Apr 19th
1 note
The_Context →
Talks of technology, arts and making stuff happen
Apr 18th
1 tag
Apr 17th
1 note
Resources | Using OmniFocus →
alldrin: A growing list of sites helpful in using OmniFocus. Lots of good ones
Apr 11th
2 notes
6 tags
Screencast Series – Creating Own PHP Framework... →
We’ve gone a long way to build a nicely decoupled and object-oriented Framework. One thing is missing though – to add the possibility to extend our Framework with the arbitrary code modules. In this episode we are going to build a “module” that will hook into the live cycle of the Framework – just like Drupal modules do!
Apr 11th
Multiple SSH Private Keys - Saved my Day! →
In quite a few situations its preferred to have ssh keys dedicated for a service or a specific role. Eg. a key to use for home / fun stuff and another one to use for Work things, and another one for Version Control access etc. Creating the keys is simple, just use ssh-keygen -t rsa -f ~/.ssh/id_rsa.work -C "Key for Word stuff" Use different file names for each key. Lets assume that there are 2...
Apr 10th
Apr 10th
5 notes
6 tags
Observer Design Pattern - Explained and...
Preamble / Kudos In the preparation of Episode 9 of my infamous screencast series how to build a PHP Framework using Symfony2 Components I have realized, that I should take a pause and explain a very important design pattern implemented there - the Observer. So I decided to make a screencast about it! I naturally used the classics - Gang of Four Book, aka Design Patterns: Elements of Reusable...
Apr 10th
1 note
7 tags
WatchWatch
In this episode of the series we are going to ensure the durability of our code by including one of the most important components of the modern application design - Unit Testing.
Apr 8th
4 notes
March 2012
8 posts
WatchWatch
codeignitee: Watch the entire course here: http://ow.ly/9Imdr In addition to a general introduction to PHP frameworks it has sections for CodeIgniter, Zend Framework, Symfony, CakePHP - comparing the lot.
Mar 24th
14 notes
4 tags
WatchWatch
We’ve been working on our framework for quite some time now. We’ve been adding some important features by enabling new Symfony2 Components. But with the time our code base grew and now if you take a look our “framework” code it’s a mess. It’s time to do some serious refactoring. And from now on the framework we’re building will have a name – Simplex! In this episode we’re going to do the...
Mar 21st
7 tags
WatchWatch
We’ve been stuck with procedural code in our framework for the educational purposes. It is time to grow up and use object oriented style. In this episode we’ll convert our controller to the class. Then we’ll optimize the object instantiation by using another handy Symfony2 Component - HTTPKernel.
Mar 19th
6 tags
WatchWatch
Today we’ll cover on of the corner stones of modern application architecture – the controller. Its mission is to generate a Response based on the information provided by the client Request. Put in simplest terms: the controller contains the business logic of your application. Say, a client requests an URL example.com/is_leap_year/2012. Instead of writing everything inside of the file leap_year.php...
Mar 14th
1 note
WatchWatch
In this episode we’ll use the Symfony2 Component Routing, which will take care of mapping the URLs to the file paths. One of the advantages of the Routingcomponent is the ability to create dynamical paths. To convert something like /hello?name=Andrey into/name/Andrey we’ll take advantage of RouteCollection, URLMatcher and RequestConext – the classes bundled with the Routing component.
Mar 12th
WatchWatch
In this episode we’ll create the heart of our framework – the front controller. It’s primary role in our framework will be dispatching HTTP responses based on the HTTP requests (URL the client has called). In order to do that we’ll be reordering the files into the logical directory structure and writing some amazing code. Enjoy!
Mar 12th
5 tags
WatchWatch
In the second episode of the series we’ll look at the most fundamental component in the Symfony2 Components suite - HTTPFoundation Component. Symfony2 had taken a step back from the ugly global variables and based its architecture on the most basic principles: Requests and Responses.  Using these makes building your PHP applications fun again!
Mar 8th
3 tags
WatchWatch
The screencast series is based on the blog posts by the creator of Symfony2 Fabien Potencier: http://fabien.potencier.org/article/50/create-your-own-framework-on-top-of-the-symfony2-components-part-1 In this episode I’ll walk you through the bootstrapping process.
Mar 7th
February 2012
6 posts
3 tags
Feb 29th
1 note
2 tags
WatchWatch
I know it sounds stupid, but being a software architect does make you cynical and skeptical about technology sometimes. It’s paradox, but it’s true. Why? Well, a user is just happy that stuff works. A more tech savvy person constantly looks for a new stuff and finds some amazing stuff! And software architects have these feeling - they got to keep up with the ever growing amount of new...
Feb 27th
1 note
WatchWatch
I followed the instructions of Rolands Atvars and installed MySQL on my MacBook Air using Homebrew - the most amazing package system for unix-likish, command-line stuff out there.
Feb 27th
2 tags
WatchWatch
Thanks for Alldrin for pointing that one out. Evernote does have the text recognition!
Feb 26th
1 note
Feb 25th
First One
This post was inspired by a post by alldrin about publishing posts in a queue. I must say that does appeal to me, so I guess I will try to keep up as well. I want to talk a little bit about the phrase that I can’t get out of my mind lately. John Gruber on the latest episode of The Talk Show told a story how he got invited to a private Apple talk where he was shown new OS - Mountain Lion -...
Feb 21st
1 note