April 30, 2008

Real world SQL injection attacks

Here and another one. First blogged here.

March 31, 2008

Frustrations

So you do some DBA work and one day realised that the worst has come true - the replication is just so broken you have to start all over. Usually there is always some kind of ground level when working with computers. If a program is badly broken try reinstalling it. If that does not work try reinstalling the OS maybe. If that does not work buy a new computer etc.

I had this situation on a system I am playing DBA on. Slony-I was badly broken so I had to restart from scratch. My ground zero was to drop the database and start over... But... what if you can't???

[postgres@A05L005 postgres]$ dropdb oasis
dropdb: database removal failed: ERROR: tuple already updated by self

March 13, 2008

Negative measure of productivity

This is happening even today, but still so true...


-2000 Lines Of Code

March 2, 2008

Quick Gallery Links

If you look to the top right of this page, you will see a new section titled Links. In there I will regularly place new links of various content. Feel free to explore the content.

January 25, 2008

Canon EOS 1Ds Mark III Bliss

I do not have words to describe my amazement at the image quality my new Canon 1Ds Mark III camera produces. I just printed picture 10 of my new quick gallery on Epson's Archival Matte Super A3 paper. The sharpness is just breathtaking. I can place a grass blade on top of the one in the photo, and you will not be able to decide which one is sharper or more real.

Enjoy the quick gallery - I spent the afternoon taking some macro shots of things in my garden, and the results speak for themselves. Enjoy!

December 17, 2007

Resharper and VS2008

I recently installed Resharper 3.0.2 for VS2008. I found that many of my OnClick etc. handlers were marked as errors as the symbols could supposedly not be found. The project compiles fine though. IntelliSense also stopped working properly on many symbols.

After lots of searching I found the cause of the problem - since this issue remained even when I reverted back to VS2005.

http://intellij.net/forums/message.jspa?messageID=5202694#5202694

The essence of the problem is that VS2008 sometimes adds this to your web.config file:

<controls>
..
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0., Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

..
</controls>

To solve the problem change the tag prefix asp to something else like aspajax.

October 29, 2007

My garden in summer

A couple of pics I took the other day in my garden...


_J8T1787.jpg


_J8T1794.jpg


_J8T1799.jpg

October 14, 2007

Sad sad day

:(

October 8, 2007

What is nice?

Nice is owning an Audi TT 3.2i Quattro Coupe

Nice is having a 480g Reef Tank in your house

...but having a new Apple Keyboard is FANTASTIC!

How do you know you are working hard?