Global Day of CodeRetreat 2011
Monday, December 5, 2011 @ 10:12 PM Author: athos@balabit.hu
Saturday Nucc and me were attending the Global Day of Code Retreat 2011, Budapest event (#gdcr11) invented by Corey Haines and brought to Hungary by Marton Meszaros. In short, it was great fun and I hope that little community I met that day will come together frequently.
In more detail, Coderetreat ...
0 Comments
Please don’t fix if ain’t broken
Wednesday, November 2, 2011 @ 12:11 AM Author: athos@balabit.hu
Today both GMail and Google Reader have come up with a new, similar look. And I don't like them. When I use the web UI of both Reader and GMail, I'm usually sitting with my eee PC in my lap, that's 1024x600 pixels and not a single one more. This means that while I'm infotaining ...
Test-driving a regular expression
Sunday, October 23, 2011 @ 01:10 AM Author: athos@balabit.hu
"When you have a problem to solve, use regular expressions! Now you have two problems!"Regular expressions are very useful tools in the inventory of a programmer: they can be used to validate a string according to a given format, or to find and extract parts of a string, or even to change substrings matching a ...
Some thoughts on getter-setter methods
Friday, July 15, 2011 @ 10:07 PM Author: athos@balabit.hu
It was an interesting post to read, but I don't like the conclusion. Basically the post is about how tons of getter-setter methods affect the overall performance of a PHP application, and how it can be improved by using public properties and some magic methods in specific cases instead.
First to mention: one ...
Having fun with CSS3 and GCC
Sunday, June 19, 2011 @ 10:06 PM Author: athos@balabit.hu
Today I was busy designing the outfit of my personal website to be created any time soon this year. :-) I was working on the CSS for it based on a quick mockup put together in GIMP, but the site will not use images for the layout, it's going to be HTML5+CSS3 with graceful degradation. ...
Google Image search vs. Bing
Tuesday, May 3, 2011 @ 03:05 PM Author: athos@balabit.hu
Someone told me a few days ago that a Google Image search page redirected him to Bing. WTF dude, does Google index result pages of other search engines or what the heck is going on?
Today I was looking for PHPStorm screenshots, when someone tweeted about how awesome this IDE is (I may ...
A few words on Clean code
Friday, April 22, 2011 @ 12:04 AM Author: athos@balabit.hu
Fluent interfaces – when to use?
Monday, March 28, 2011 @ 09:03 AM Author: athos@balabit.hu
I've found this blog post linked from the manual of PHPUnit. I like the concept and the way it makes code easier to be read and understood, so I decided to adopt this style everywhere it can make sense.
There is this microframework I'm toying with in my free time. To make things ...
PHP autoload performance
Saturday, March 12, 2011 @ 09:03 PM Author: athos@balabit.hu
Ever wondered how autoloading classes affects performance of your PHP application? There are several discussions and benchmarks out there, but I had some questions that a quick google-ing did not answer, so I did some research on the topic.
I examined three class loading strategies:
- No autoload at all, every class is require_once-d manually (require_once).
- Guessing ...
Betrayed by PHP :-(
Sunday, February 27, 2011 @ 05:02 PM Author: athos@balabit.hu
Nucc shared a blogpost on Twitter yesterday titled PHP vs Python array memory allocation. It states that storing ten thousands of arrays of strings in an array costs only 1.39 MB of memory usage for Python and 19 MBs for PHP. I couldn't believe PHP can be that stupid, so I tried it ...
