Add-in recommendation for displaying code in a post?

I searched and found a lot of Wordpress addins/widgets for displaying code in a post and was wondering if there are any recommendations? I need to be able to show XML, C++, C, C# primarily. F# and Haskell would be nice but not essential. Update: Also should be able to use Windows Live Writer when posting the code. Am I asking for too much here? :)

November 23, 2009 · Amit Bahree

Goodbye Community Server; Hello WordPress

After thinking about it for a long time and then wanting to do it for probably an even longer time, I have finally moved this blog to WordPress from Community Server. Overall the move was mostly painless and did not have to write any code to move the posts and tags over which was excellent. I would have loved to write some code to do that, but I don’t have much bandwidth these days so anything I could use (as a user) without writing code or customizing is just great....

November 22, 2009 · Amit Bahree

Installing OpenSceneGraph on Ubuntu

If you use the Synaptic Package Manager in Ubuntu 9.04 to install OpenSceneGraph, by default it will install version 2.4.x. However if you want to install OpenSceneGraph 2.8.1 then you need to do the following in a terminal: Modify the file /etc/apt/sources.list (make sure you run it via sudo something like: sudo gedit /etc/apt/sources.list) Add the following two lines in the end and save the file: deb http://openscenegraph.dachary.org/packaging-farm/openscenegraph/gnulinux/debian/unstable/src ./ deb-src http://openscenegraph....

October 25, 2009 · Amit Bahree

Time to ditch CS 2007 nearer?

I have said it in the past about me moving away from CS to WordPress . I just stumbled across this post from Scott who has done exactly the same thing. So maybe the time to ditch CS is coming near. I just need some free time to try this.

August 24, 2009 · Amit Bahree

Pure breed Fauji kid?

Got this via Megha and it is absolutely brilliant – ah the memories it brings back. I first though of adding links for the “bloody civvies” who don’t get this – but changed my mind as it is not meant for them. :) You know you are a pure breed fauji kid if: You were born in a Military Hospital. Half your toddler years were spent being looked after by Bhaiyas (no explanation here)....

August 18, 2009 · Amit Bahree

WHS and iPhone

This of course is not new – just new to me. If you have an HP MediaSmart WHS (Windows Home Server) then you can stream music, photos and videos directly from your WHS to your iPhone – how sweet is that. More details here . Maybe I should look at getting a HP one when my existing 8+ year old WHS dies (touch wood).

July 13, 2009 · Amit Bahree

Geeky Your Momma Jokes

If you have been following me on Twitter , you will see a few of the following few geeky your momma jokes. Your momma is so fat and stupid, her dress size is int.MaxValue and her IQ is int.MinValue. Your momma so fat, she has her own address space. (this is my favourite) And of course there are loads more .

July 12, 2009 · Amit Bahree

My New Mobile

<p> <figure> <img src="images/image_thumb.png" alt="image"/> <figcaption>image</figcaption> </figure> </p>

June 20, 2009 · Amit Bahree

Major Network Attack

Wow! Looks like a lot of bots suddenly woke up – major attack in progress. <p> <figure> <img src="images/image_thumb.png" alt="image"/> <figcaption>image</figcaption> </figure> </p>

June 17, 2009 · Amit Bahree

Moving my Study

Well, not really – am not moving my study at home, but if I was this feels like that. <p> <figure> <img src="images/IMAGE_005_thumb.jpg" alt="IMAGE_005"/> <figcaption>IMAGE_005</figcaption> </figure> </p> <p> <figure> <img src="images/IMAGE_007_thumb.jpg" alt="IMAGE_007"/> <figcaption>IMAGE_007</figcaption> </figure> </p>

June 15, 2009 · Amit Bahree

Image detection - how, what, where - any insights?

I don’t have much experience with image detection in a video, and wanted to understand what options are possible – all I know it is not as simple as “CSI” makes it out to be – yet. Here is the scenario: Say I have a remote controlled aircraft (a mini helicopter) which among other things has a camera fitted which is filming over a certain area. I use a training set and somehow “train” the camera to look for certain objects and recognise data points of that object and learn it to recognize that object (for example a human in Pink)....

June 2, 2009 · Amit Bahree

Creating an Event Source via a Reg File

If you ever tried to write to the event log, without an event source for that application created you will get an exception saying something along the lines of that you do not have permissions to create the event source. If an event source does not exist, it is automatically created. The creation of the event source is a privileged operation and requires elevated privileges (a.k.a admin privileges) which of course might not always be possible if running a web application....

May 19, 2009 · Amit Bahree

Upgrading Enterprise Edition to Ultimate (Vista or Win7)

If you are ever in a situation where you want to upgrade say from Vista Enterprise edition to Win 7 Ultimate edition - by default you cannot do this. When you insert your Win7 disc you won’t find the upgrade option available and the only way you see forward is to do a complete fresh install (after backing up your data of course). However, that is very time consuming and of course generally a lot of pain....

May 18, 2009 · Amit Bahree

New MCE

I build my first MCE a few years ago and since then not looked back – despite a few of my screw ups . In our household the MCE is used a lot and it really has changed the way we watch TV. One starts taking things for granted such as the ability pause live TV or rewind when you did not quite catch the last dialogue. And this was brought more in focus when during the transition from the old MCE to the new MCE (more on that in a second)....

May 5, 2009 · Amit Bahree

Follow me on Twitter

Interestingly I am more active on Twitter over the last 2-3 weeks than here; I guess that might be because it is easier to dump a quick thought – which I suppose one can do here but kind of “seems out of place” (yeah, weird!). Another contributing factor is I have been extremely busy – both on work front and also on the personal front (between relatives visiting and my assignments does not leave me any time)....

April 25, 2009 · Amit Bahree

Letters

This is a collection of leave letters and applications written by people in various places of India … of course English is not their strong point. 1. Infosys, Bangalore : An employee applied for leave as follows: Since I have to go to my village to sell my land along with my wife, please sanction me one-week leave. 2. This is from Oracle Bangalore: From an employee who was performing the “ mundan ” ceremony of his 10 year old son: “as I want to shave my son’s head, please leave me for two days…”...

April 21, 2009 · Amit Bahree

foldl' better than foldl

In Haskell the foldl’ function defined in the module Data.List is better than foldl because that does not use a thunk . A thunked expression requires an internal stack. As an expression can grow infinitely large, the runtime imposes a limit on the size of this stack. As the simple example below shows that given a large enough input the stack will overflow. 1 2 3 4 5 6 7 8 9 10 11 12 Prelude> foldr (+) 0 \[1....

April 4, 2009 · Amit Bahree

RAID Blues

On my machine running all the VM’s at home – one disk has failed. I have not replaced it, instead marked it as OK and am rebuilding the volume now. Second time this has happened – if it happens once more then maybe it is time to actually replace the physical disc. *Sigh* I hate disc failures.

April 4, 2009 · Amit Bahree

Red Rum

This is pretty cool – saw it on BBC’s One Show, a dog saying Red Rum .

April 4, 2009 · Amit Bahree

Interesting Find #18

Cloud vs. Cloud – guided tour of Amazon, AppNexus, GoGrid and Google. Azure is missing but given its late-alpha/early-beta state not surprising. SheevaPlug Development Kit – this is a development platform targeted for use as a plug computer , and designed to run network-based software services and has a embedded Marvel Sheeva CPU core ; quite interesting. Office 14 – next version of Office will have “online versions”. Loopa Bowl – the link has all the details; buy it here (in the US)....

April 1, 2009 · Amit Bahree

Creating a bootable USB drive for Windows

Dave has an excellent post on how to create a bootable USB drive for installing Vista or maybe Win 7. You could also use WinRAR to extract your ISO directly on to the flash drive (after formatting it as NTFS of course). A couple of points to remember though: Make sure you use a “flash” drive (or USB stick) and not a USB HDD drive as some of those have issues with this....

March 24, 2009 · Amit Bahree

Network Attacks

I am getting DOS attacks from the following IPs at home. Some of these are honeypots . 89.139.84.130 86.151.215.171 And Port Scans from this guy/gal (apparently in China) 61.139.105.163

March 24, 2009 · Amit Bahree

WHS now on MSDN

Windows Home Server (the amazing little box), is finally available on MSDN. I had bought an OEM license soon after it had come out and have been using it for some time at home. This can only be good and allow a wider set of adoption. If you have not used it – I would highly recommend that you do. Here is the screenshot from MSDN:

March 24, 2009 · Amit Bahree

Google Street View in UK

After legal and environmental issues, finally Google has launched street view for UK ! There are 25 cities covered only at this point; I know both London and Oxford are covered. You can check out the Computing Lab at Oxford (where I study) or Avanade’s offices in London (where I work). {via Mark }

March 19, 2009 · Amit Bahree

Win 7 and loading ISO’s

If you are on Win 7 (any build) you will find quickly that Daemon tools don’t work on that. Even if it was working, I would in any case recommend ditching Daemon tools and recommend using Virtual Clone Drive which not only is free but also works like a champ. I use it on Vista as well.

March 19, 2009 · Amit Bahree