Open Live Writer

Just downloaded and installed and posting this via Open Live Writer . Remember the lovely (but dead) Windows Live Writer from Microsoft? Well this is a forked version of that which is open source, based on MIT license. The editor is offline and is very similar to word and can support a number of blogging platforms – including the common ones as you would expect. You can muck around the code (zip) or check it out on GIT ....

February 21, 2016 · Amit Bahree

Securing you DokuWiki

After my WHS died and I moved to a Synology DS413 and using that as a ‘home server’ and have been extremely happy with it! The only thing I miss is backing up the Windows machines automatically (as WHS did), but overall I think this is better, flexible and more powerful compared to WHS. I needed to look for a new wiki software. I recently moved from ScrewTurn Wiki (which was great BTW, but then is a dead project now) to DokuWiki which is perfect for my needs....

August 22, 2013 · Amit Bahree

Adding an user in Ubuntu - Why is it so difficult?

I installed the latest version of Ubuntu (13.04, Raring Tail) on a machine at home to check it out (it was running CentOS 6.4 before that). Setting it up was quite simple, but I am not sure if I like the too simple UI. I don’t want an uber-geek only-shell mode, but the CentOS I thought was the right balance. Anyways, when I first added a new user, there was no way I could set a password which was very weird - not a permanent or temporary one!...

August 9, 2013 · Amit Bahree

Redis on Windows 8 and VS 2012 RC?

I am trying to see if I can get Redis working on Windows 8 using Visual Studio 2012 RC bits – I have not had much success, but then I have not had much time to invest to try this out. I am wanting to give a demo tomorrow and would be good to see if I can get this working. Curious to know if anyone else has got this?...

July 12, 2012 · Amit Bahree

Less than Symbol in Latex

If you want to show a simple less than symbol (i.e. <) in Latex, you are in for a surprise as you cannot use that character as is. If you are in math mode and writing this part of a formula then you might be still OK, but if you are in text mode then it is quite difficult. Surprisingly, searching for this online also did not provide any obvious answers (perhaps I was searching for the wrong thing)....

February 28, 2012 · Amit Bahree

Hadoop in Azure

My dear friend Mario has finally got around to blogging and one of his latest posts shows , it is possible to run Hadoop (which if you are not familiar with, can be thought of as an open source version of Google’s MapReduce ) in Azure. You need to setup a typical configuration of nodes (Name Nodes, Tracker and Slaves). Sure, there are a number of dependencies some you would expect, others not (e....

May 22, 2011 · Amit Bahree

Twitter Trends

I was excited to find that Twitter had a JSON (Javascript Object Notation) endpoint for the current trending topics and decided to write a simple consumer which can read this and then spit it out in a simple console. And JSON being so simple and more or less “universal” meant that there are multiple implementations for .NET. Of course if you got lots of bandwidth you can roll out your own parser....

March 4, 2011 · Amit Bahree

Opensource ZigBee stack?

I was planning on getting the Telegesis ETRX2USB and wanted to know if there are any open source (or shareware) open source ZigBee stacks that I can use with that? I also wanted to know if there is any opensource (or not too expensive), network management or network analyser for a ZigBee network? Essentially I want to be able to programatically view network and node information on the ZigBee network (e....

January 16, 2011 · Amit Bahree

Interesting WordPress Plugins

After upgrading to the latest WordPress (v3.0.4), I also decided to have a look at the various plugins I am running. As part of that I stumbled across Ultimate Collection of WordPress plugins which are very interesting. If you run WordPress (and if you don’t, why not :)), I would highly recommend to check them out. I already was running some of these and not heard of others which are great....

January 4, 2011 · Amit Bahree

C++ Message queuing options?

I am thinking of implementing a queue in one of the projects I am working on right now (sorry cannot go into more details until it gets published - hopefully in a few months). Anywyas, this is in C++ which needs to run on Ubuntu and my queueing experience (with C++ or otherwise) is only with MSMQ which is brilliant, but does not help me here as that run only on Windows....

December 29, 2010 · Amit Bahree

MOOS

I don’t think many people have heard of MOOS (which stands of Mission Oriented Operating Suite); I have been working with it for the past few months as part of my dissertation. And I must admit, the more I play with it, the more impressed I am. It is quite simple and yet powerful. Whilst MOOS’s roots are in robotics ( MRG ) and embedded systems, I wonder if I can extend it to use it some of the grid computing scenarios....

November 6, 2010 · Amit Bahree

Impressed with Doxygen

I have recently started using Doxygen in anger and have been quite impressed with it. In addition to the documentation of code that you would expect, one of the most powerful and coolest features is the ability to create various types of diagrams showing various aspects of the application such as collaboration diagrams object and call graphs, etc. The easiest way to configure your application is to use Doxywizard . On Linux, if you do want the object and call graphs then you would need to choose to enable the DOT option....

October 30, 2010 · Amit Bahree

Unlock button in Services is greyed out

If you are running Ubuntu and want to modify the services running on the OS using the GUI, the way to do this is via System → Administration → Services. This is all very good, but in my case on one machine the Unlock button on the Services window was greyed out. Sure, I could use the shell to modify this, but when this is something I use quite rarely I need to go and look up the exact command and it can get a pain....

October 23, 2010 · Amit Bahree

Deleting folder on Linux

If you are a newbie to Ubuntu like me (or any other Unix distro) and you tried deleting a folder which is not empty contains files or subdirectories then you get the annoying error "Directory not empty". To delete such a folder (from a terminal) use the rm -rf command. For example to delete a folder called amitbahree run the following: rm -rf amitbahree/

April 4, 2010 · Amit Bahree

Ubuntu on a HTC Touch Pro 2

Well this is the phone I have maybe some day I will try this - pretty geeky albeit useless. :)

March 9, 2010 · Amit Bahree

RDP from Ubuntu

I did not know until today that there is something called gnome-rdp using which one can RDP to Windows machines from Ubuntu (or any other linux flavour I imagine). Installation is simple on Ubuntu, with it available in Synaptic Package Manager. To start it you can type in gnome-rdp in a console or go to Applications -> Internet -> Gnome-RDP. Once it has started, usage is quite simple - though you might want to change the remote desktop size and colours....

March 7, 2010 · Amit Bahree

Finding out which version of Ubuntu you are running

If you ever need to find out which version of Ubuntu you are running (if you have a few machines it is quite easy to forget what is running where), the easiest way is to run the following command in a terminal: cat /etc/issue For example here is the output from the machine I am on now: 1 2 amit@xps:~$ cat /etc/issue Ubuntu 9.04 \n \l

March 6, 2010 · Amit Bahree

Printing code and making it look pretty

If you are on Linux and want to print some code and also make it look pretty then check out a2ps (Any to postscript filter). Of course if you can avoid printing in the first place and saving paper and trees and make it greener that is ideal - however there are times that is not possible. I tried printing from CDT, but the printing options from CDT just looks plain ugly and big fonts and can spread over 10 pages for a simple code file (spanning 293 lines)....

March 1, 2010 · Amit Bahree

Getting MOOS linking

I started a brand new project in CDT where I was using MOOS and I could not get my simple program to link. While everything looked fine on the surface I just could not get the IDE to link to the MOOS libraries. I know the OS and MOOS itself was not a problem as I had other projects in the same workspace which did link correctly. The only difference between those and this was that I setup this project from scratch, whilst the others I had not....

February 28, 2010 · Amit Bahree

Host files on Ubuntu

If you are newish to Linux (like me) from Windows, then some of the simple things which come quite naturally to you on Windows is a little embarrassing and challenging. For example, I got a new WHS and wanted to mount the music drive and wanted to create a new host file entry to point to the new WHS. Now on Windows this is quite simple and can be found in YOUR-OS-DRIVE\Windows\system32\drivers\etc\hosts....

February 28, 2010 · Amit Bahree

Qt Eclipse Integration

If you are working in CDT and Qt then the Qt Eclipse Integration is quite handy and in my opinion much better than using the standalone Qt designer. Installation is pretty straight forward as described here .

January 13, 2010 · Amit Bahree

Eclipse CDT Blues

Sigh, why is Eclipse CDT to flaky? Well, there might be a slight exaggeration in that but nevertheless, I did not have so many issues with Visual Studio / VC++. :roll: I have uploaded this particular log file here if anyone is interested. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 # SIGSEGV (0xb) at pc=0xb263d1f7, pid=20331, tid=3085625024 # # JRE version: 6.0\_16-b01 # Java VM: Java HotSpot(TM) Client VM (14....

December 24, 2009 · Amit Bahree

Opening File explorer from a terminal

In Ubuntu if you want to open File Explorer from a terminal (especially as root) then you need to enter the following command: sudo nautilus If you want this to run as a background process then just add an "&" in the end (without the quotes of course).

December 13, 2009 · Amit Bahree

Default QT4 path

If you wanted to know the default path where QT4 is installed (on Ubuntu) then look in /usr/share/qt4/bin.

December 6, 2009 · Amit Bahree

Redirects setup

After moving the blog to WordPress, almost all my redirects should work now from the old blog posts to the new one. For example if you click on this old url http://desigeek.com/weblog/amit/archive/2009/10/25/installing-openscenegraph-on-ubuntu.aspx it should redirect you and you see the new and correct url. Overall it was simple to setup via the .htaccess file and some simple regex. The only thing I found the hard way was that I should be using “RedirectMatch” when setting up the regex rule rather than the “Redirect” which is what I was using....

December 2, 2009 · Amit Bahree