Predator Tank - Ribbon eel eating

Ribbon eel ate for first time since I got him. He did not take at anything other than LM prawn. Only a small piece worked - bigger pieces were rejected. He ate about 3 pieces in total.

Ribbon eel is eating!!!

For the first time since I got my Ribbon Eel about 2 months ago, he ate a big piece of prawn... It took a couple of minutes of persuasion, but I knew he was hungry in the way he poked the lance fish I tried to feed him with initially.

I just hope he continues to eat...

Microsoft, this is inexcusable!

Whilst implementing a .NET application for one of my clients, I recently ran into a problem where a long running task would just suddenly stop working after about 30 minutes. No error, no exception - nothing. I had been troubleshooting this for 3 days now, and that is a very long time for someone with my experience (if I may say so myself). The difficulty with this problem is that there are no - and I mean absolutely NO errors. The only thing I could gather is that the long running task stops because the IIS worker process dies. I even added detailed trace statements - none of which helped. The output stopped dead at one my of audit entries:

Workflow.Audit.AddAuditEntry(new XXXAudit.XXXAuditEntry(this,
   "Some message"));

A couple of minutes ago I decided to put trace statements in the getters I am using here:

Full Article

This is hilarious

Whilst working on my Windows XP SP2 machine, this kept on popping up.

<Missing Image>

(Update: For those who did not get it, \$BitMap is a MFT system file - for Windows to suggest I have to save it elsewhere is just downright hilarious - that would cause even more problems! They should have presented a different popup message for system files.)

Evasive Security

I was busy implementing a system for a client using C++ on Win32 when I had to use the sprintf function. As I knew it was insecure I looked up the function's details - only to be caught in an infinite web of evasion.

An exert from MSDN:

Security Note There is no way to limit the number of characters written, which means that code using sprintf is susceptible to buffer overruns. Consider using the related function _snprintf, which specifies a maximum number of characters to be written to buffer, or use _scprintf to determine how large a buffer is required. Also, ensure that format is not a user-defined string.

Full Article