Category Archives: Software Development

Team Foundation Server 2010 Setup

Don’t try this at home, OK? I wanted to try out less than Basic TFS setup. I only wanted source control part to start with. I took the following: Existing AD Domain Domain user on local machine with VS 2010 … Continue reading

Posted in Infrastructure, Software Development, Tools | Tagged , | 1 Comment

String replace in Javascript

Taking a note: Javascript String.replace([pattern], [replacement]) method replaces only first occurence of the matched pattern. To replace all occurences, you’ll need a “global” flag: var str = “ABCDEFGHABCD”; //some string alert(str.replace(/A/g), “I”); //replacing each appearance //of A with an I

Posted in Software Development | Tagged , | Leave a comment

Launching 57%: waiting for XDebug session

This time, both browser and eclipse are stuck, and Eclipse freezes at “Launching [project]” 57% (in this case), with details saying “Launching: waiting for XDebug session”.

Posted in Software Development | Tagged , , | 16 Comments

Unexpected termination of script. Debugging ended.

This rather comprehensive error message comes from eclipse when a breakpoint is hit while debugging with XDebug web script on a remote server. It is not that bad as it seems – all I needed to do is remove (watch) … Continue reading

Posted in Software Development | Tagged , , | 29 Comments

An Open Letter to Quality Assurance People

Dear Quality Assurance people, I’m very fond of tools you are using, but please take a minute to read the following lines. Screenshot is a great tool to prove that you really can see the bug, but it only helps … Continue reading

Posted in Software Development | Leave a comment

Fatal error: call to undefined function imagefilter()

This and a number of other gd functions are not available by default in Ubuntu Server LAMP setup. Not trivial, but a valid solution can be found here: http://cumu.li/2008/5/13/recompiling-php5-with-bundled-support-for-gd-on-ubuntu

Posted in Software Development | Tagged , | 6 Comments

PHP Development on Windows

Being a Windows user, during many years of PHP development,  I’ve evaluated various versions of WAMP and XAMPP packages, tried to manually setup Apache and MySQL, and I must say that I’ve had some success there. Finally – I have … Continue reading

Posted in Free Software, Infrastructure, Software Development, Tools | Tagged | Leave a comment

Rule #1 for programmers

I’ve always said that number one rule for a programmer is: Never put a coffee cup between mouse and keyboard. Now I have a picture that tells even more…

Posted in Fun, Software Development | Leave a comment

PHP dies silently

Just a quick self-reminder that could be interesting. I’m pretty much used to seeing a Fatal error when a time or memory limit is reached in PHP scripts (Apache environment). However, in a highly important script, PHP script was persistent … Continue reading

Posted in Software Development | Tagged | Leave a comment