Archive for software
xdebug trace file parser
November 18th, 2009 • 2 comments freebies, php, snippets, software, xdebug

When I am trying to optimize my PHP code, one of my prefered tools is xdebug. It provides me with excellent error messages, outputs code tracing files & insight into memory usage.
By using kcachegrind or webgrind – wincachegrind crashes *all* the time – to parse the cachegrind files created by xdebug, you get a good idea of what your code is doing most of the time. It’ll show you which functions are called, by who, which arguments are passed and tons more. Check it out.
Now, there was one small thing I couldn’t find anywhere. A program to parse the trace files that xdebug generates. True, xdebug already provides the option to output this information into HTML, but it’s not really what I was looking for. I want to get quick information in the blink of an eye! That’s why I have created my own trace file parser, based on PHP of course.
Read more »
Message for the Samsung Software Departement: You Suck.
August 16th, 2009 • 9 comments rant, samsung, software
Tags: booting, cellphone, crap, device, no response from device, samsung
So you just got your shiny new Samsung Star out of the box and you want to hook it to your computaaahrgggg…
Because those snazzy Samsung phones don’t like windows explorer to see their files, you go ahead and install the device driver software. All and all installation goes well besides for some error messages complaining about 64bit… You’re thinking “Hmm… I thought the website and box said 64bit compatible.” So those messages go into your ignore box… (This is where you go wrong)
Opening up the program you get one of those lounge beats that you might of heard when you’re installing Windows. They even added shiny buttons and a little flash application to show you how well it’s going to work! Unfortunately this application seems to crash once you click on the first button but still manages to launch the Samsung New PC studio! Woooo! Time to add so…me… fi…l…es? Errr…
So… you press the shiny “connect” button and see that your Samsung Phone is properly connected. Goodies. You select your phone, click on connect and… wait… wait… wait a little bit longer… you get a coffee… Once you get back with your coffee, ready to enjoy the promises made in the flash movie that just crashed. Oh noes. “no response from the device.“. Your reboot your computer, your phone… nothing seems to work (yes, I have tried yelling at it).
Next on the list… Googling the issue… “no response from the device because it is in the initializing stage after booting. try again after the initialization has completed.” 3 very unhelpful results. Crap. Crap. CRAAAHAAAAP. Anyway, while performing this Google search for the issue I did find out that this New PC studio is *not* compatible with 64bit systems. Teehee. The webpage that provided this information also provides a hint about an older version of the pc studio. So I close my eyes, wish for the best and download samsung pc studio 3.
Ofcourse, before installing pc studio 3 it would be wise to uninstall new pc studio. Right? Right! Going to the control panel I got a pleasent surprise. Tehee. No less than 9 different drivers and/or utilities have been installed by the new pc studio installer. What the f¨ck. Some seem to be copies of one another? And Duh. You have to uninstall each program on it’s own.
In the end… pc studio 3 still doesn’t make it work. In fact, it just got worse. USB drivers failed to work and the program itself kept crashing.
Anyway, if any of you out there happen to have a solution for this issue, it’s would be more than welcome because a lot of people are having this problem.
