During my rather short period of Pair Programming I have learned something valuable, but there is also something I’ve learned after that. Michal Tehnik left the company and I continued to work on code we wrote and then refactored and polished together several times. It is probably the best piece of code we have now …
Yearly Archives: 2011
Video from IPO48
Big thanks to @LukasHudecek and Michal Spacek for IPO48 event and this video.
Blurry images in html5 canvas
Why <canvas> draws blurry images? Did it happen to you as well? I found fairly simple tutorial, and tried to code according to its advice. The result is shown below. Big blurry cat … Then I tried to copy paste the code, but with almost identical result. Again I got a blurry image. Next day …
Rotate table cell content with jQuery
Rotating text via CSS is now relatively easy. There is a few of good tutorials and demos out there. But they lack one thing – they don’t explain how to rotate text in a table cell. Few days ago during pair programming with Michal Tehnik we run into trouble. We managed to rotate the text, …
Git productivity tips
During pair programming with my colleague Michal Těhník I watched him using git. Here are few things I learned from him. Use git number Git number allows you to use numbers instead of file names. If you for example need to diff some file, or add it to commit, you no longer have to copy …
Včelí medvídci a (ne)vyměnitelné baterky
Baterky ve Včelích medvídcích oficiálně nejdou vyměnit. Výrobce (prý z bezpečnostních důvodů) baterii zašil dovnitř do hračky. Nám baterie vydrželi zhruba půl roku, pak začal čmelda zkuhrat hlady 🙂 Sice se ještě snažil zpívat, ale znělo to skoro strašidelně 🙂 Naštěstí se dá na zádech rozpárat a baterie vyměnit. V jednom místě je na zádech …
On pair programming
Several times I programmed in pair and I want to share my experience with it. What are the main benefits of pair programming? The code is of better quality, because there is always the other person watching over your shoulder and seeing what you have overlooked. Wikipedia says that defect rates are about 15% to …
Why to write a blog
This is rather a quotation than a regular blog post. It is a paragraph from book Getting Real by 37Signals. I could not say it better. Hire good writers If you are trying to decide between a few people to fill a position, always hire the better writer. It doesn’t matter if that person is …
Simple inheritance via jQuery.extend
Spoiler warning: This is not true inheritance as we are used have to in static languages. It is not even prototypal inheritance. It is merely an experiment to find out if it is possible to achieve (mock) inheritance using jQuery.extend() method. And yes, it is kind of possible. JQuery.extend basically copies properties from one object onto another. So …
Inspiration from books
Recently I started to read a lot (thanks to Kindle text-to-speech feature) and I can see how books are broadening my mind. There is a lot of inspiration in (good) books, ideas and concepts you would not otherwise think about. I want to share some of these great books. They are: Rich Dad, Poor Dad …