Sunday, May 27, 2007

Cream 0.39 beta2 looks good


After a long time I visited cream to check for updates. And i found a new version in beta stage. Its looks good and it has now got more items in settings menu. And more over you have a singe session mode, which turns VIM into a singleton application.
And the features of VIM 7.1 make it much more beautiful.


The application looks to be much faster, but it lags while processing huge documents. Particularly while editing large XML docs. But otherwise its cool as it was before and with new awesome features.
Long live VIM and Cream....

Tuesday, March 13, 2007

ClassLoader and the order of classpath entries

JBossAOP provides runtime aspectization feature. For this it has a classloader instrumentor which modifies the java.lang.ClassLoader which will intercept the call and invoke the interceptor chain.

Based on their docs
java -Xbootclasspath/p:<aop boot classpath as described> \
-Djboss.aop.path=<path to jboss-aop.xml> \
-classpath <path to your classes> com.blah.MyMainClass
The above command is used to execute a java class with the instrumented classloader. When i used this command, i had the bootclasspath as
(through eclipse) JRE Classpath;{generated ClassLoader};{JBossAOP jars};
It dint work as expected, that is the interceptors weren't invoked.

Then i remembered of ClassLoaders and the way it loads the classes. That is it searches the given paths, one by one and loads the class. Then i changed the order of the entries as {generated ClassLoader};{JBossAOP jars};JRE Classpath;. Now everything worked fine and the result was as expected.

The important point to remember is that, if you have duplicate classes like the one used above, java.lang.ClassLoader, the order of the desired class (instrumented ClassLoader) in the classpath should be at the top so that it will be loaded before other duplicate gets loaded.

Lesson learnt: order of the classpath entries is very important

Sunday, February 11, 2007

textEditorsInTheWorld++

I have been search, playing with and reviewing a number of text editors and now i have planned to roll out my own editor called MyMate soon.

This will be a project where i will learn advance C++ and I'm gonna enjoy using JUCE. The project is an inspiration from the wonderful editor TextMate.

This is an initial screen of MyMate(just started to work on it)


I'm not a very good C++ programmer, so i would like someone to guide me and help me in this project.
Anybody interested to help me, just add comment and we'll start a project with a repository in SourceForge.

Saturday, January 27, 2007

My dark colour scheme for VIM.

This is my dark colour scheme for VIM, which is based on rdark colour scheme. I have done some colour changes to

  1. highlight current line,
  2. type,
  3. special words
  4. and keywords.

Download colour scheme

Happy Vimming!

Sunday, January 14, 2007

Slippery Snippets for VIM. HOT!

Slippery Snippets brings the HOT HOT feature of TextMate to VIM. Define you snippet in snippets file and use the snippets with a single <TAB> key. And it also allows you to navigate to the fill up areas in the snippet using the same <TAB> key.

Just download the VIMBALL file and load it in VIM. Then use the sourcing command to extract it.

:so %

The content will be extracted to appropriate locations in the VIM's directory. Now, open a C++ source file and type "do"; then hit the
<TAB> key.

{ Note: Snippet files can be found at "vim/vimfiles/after/ftplugin". Refer the snippets files for creating your own snippets.}



Enjoy the Snippets!

Saturday, January 13, 2007

CrimsonEditor's opensourced and EmeraldEditor born

CrimsonEditor is a very clean, simple and lightweight editor for windows. And for a very long time there was no development. But now a team has come up with an idea to build cross platform editor using wxWindows and they call it EmeraldEditor.

I don't think i would be as light as Crimson, because WxWidgets is a huge and heavy library and makes the application a bit bloated.

Lets wait and check it out.

Thursday, January 11, 2007

TextMate like editor for Windows


TextMate has created a big impression in the minds of programmers, especially ROR developers. It seems that TextMate provides a very elegant look plus a number of features that makes development faster and cleaner.

Intype is a new programmers editor coming up with similar features for windows. The team has released an Alpha version of the editor.

It looks good, but some of the basic functionalities are not working for e.g undo is not implemented.