Make vim recognise Autohotkey's ; comment symbol

In vim, comments are set with the

set comments command.

To make vim recognize Autohotkey’s ; comment, add this :

set comments+=:;

to the Autohotkey’s syntax file.

Mine is in a autohotkey.vim file.

Technorati tags: ,

WordPress 2.3 is SEO (search engine optimized)

All newbies who is looking for a good blog platform to start a blog, a marketable, searchable blog, go with WordPress.

In this interview with Matt Cutts, he said that WordPress blogs are SEO.

Step number three is smart marketing and that can involve good SEO. If you do everything on WordPress you’re pretty much automatically covered as far as SEO

Source: Matt Cutts 3 step process to building up a really good site and getting a ton of traffic by Chiropractic Blogs

Picture upload on Blogger with Window Live Writer – not unlimited storage

Google Blogger does not have storage limits on blogs, even if you post pictures.

With WLW, you can post pictures to Google Blogger although Blogger does not provide an API for uploading pictures. WLW does this by posting the picture to your picasa account. You can confirm this by checking your picasa account, the pictures are in a an album called Windows Live Writer.

What is not immediately evident is that picasa has a storage quota and  when you include pictures in your posts with WLW, your picture uses part of the storage quota.

What this means is that although Google Blogger has unlimited storage, you could run out of space for pictures one day, when you use up your picasa storage quota.

So, be careful that you do not use up your picasa storage quota with you WLW blogger posts.

Apple-love

I wish I have an Apple.

Why am I not switching yet ?

Several reason:

1. I like these windows software:

1. Texter

2. Windows Live Writer 

2. A  1-button mouse ?

3. I work with the command line a lot, and Apple is way cool but when  it comes to work and command line, there is no extra cool factor there.

 

For now, I will just wish my notebook looks like the Macintosh.

 

Technorati tags: ,

wordpress xmlrpc 404 error

After a long lapse, I wanted to make a post to this blog again and got an XMLRPC 404 error.

I was blogging with Windows Live Writer. It did not give problems earlier and I have not upgrade my WordPress software.

A quick search on Google pointed me to Simply Buzz. I tried his suggestion of putting

<Files xmlrpc.php>
SecFilterInheritance Off
</Files>

in the .htaccess file and it worked.

In the old days before Internet, it would have taken me days to figure an obscure problem like this but thanks to Google and the internet and kind folks like Simply Buzz, I was back blogging this second post within the day.

Technorati tags: , , ,

Python source code takes a long time to save in Vim

I had a problem recently with Vim.

Saving a 54K python file took a very long time (sometimes close to a minute). I thought this was due to Vim and tried to save the same file to a .sql file.

It saves in a zip.

So, the problem was with .py alone.

I checked vim’s au commands, and found nothing suspicious there too.

Next, I checked the plugins and narrowed down to the plugins I added.

Turned out that the python_fold.vim plugin was the culprit.

It was recomputing the folds in the whole file everytime I  saved.

I abandoned the plugin. There’s another similar plugin python_ifold.vim out there but I don’t need an auto-fold plugin for python at the moment.

For the moment, I am happy that .py files save zippily.

 

Technorati tags: ,

Yahoo search results vs Google search results vs Live Search results.

After reading about Yahoo’s new search user interface, I decided to head over to Yahoo to try it out.

I was having a problem with my notebook not hibernating. So I searched for :

notebook cannot hibernate

The results I got was irrelevant. (See below)

yahoo - search results

The results are a bunch of links to Java Hibernate stuff – largely irrelevant to what I  was searching for.

I then tried it on Microsoft’s Live Search and got:

livesearch search results

It got me some minorly relevant stuff and also the same Jave Hibernate stuff.

Lastly, I tried it on Google and got:

google - search results

The results were more relevant.

 

Going from the above, Google will remain my favourite search engine for now. 

Tools that make me love blogging – 1

windows live writer Windows Live Writer Beta 3

There are several tools that make me love blogging.

One of the is a good blogging client.

Today I discovered that Windows Live just released another update.

Great features (Pasted from Windows Live):

  • Compatible with your blog service

    Writer can to publish to Windows Live Spaces, Sharepoint, WordPress, Blogger, LiveJournal, TypePad, Moveable Type, Community Server, and many other weblog services.

  • WYSIWYG editing

    Writer knows your blog’s visual theme. So you can see exactly what your posts will look like as you write them, before you publish. No more wasting time previewing your posts online.

  • Rich media publishing

    Writer makes publishing rich media as easy as sending e-mail. Insert and customize photos, videos, maps, tags, and lots of other cool content—then click the “Publish” button. It’s that easy.

  • Powerful editing features

    Creating compelling blog posts is much easier with the ability to insert and edit tables, check spelling as you type, and format and hyperlink content at your fingertips.

  • Offline editing

    Now you can blog anytime, from anywhere. Writer synchronizes drafts on your blog with changes you make when you’re offline, so you don’t have to worry about reconciling different versions.

  • And in Beta 3, they added (pasted from Download Squad):

    new in this beta of Live Writer?

    • XHTML support
    • Insert videos using “insert video” dialog
    • Upload images to Picasaweb when publishing to Blogger blogs
    • Support for 28 additional languages
    • Better image handling
    • A slew of bug fixes

    Because of this update, I have churned out 4 posts so far today already.

    Technorati tags: ,