Archive

History

Tim Bray didn't tag anyone in his History post, but I thought I'd make the quick post anyway. This is a very, very geeky Internet Meme.

By the way, Internet access has been intermittent at best for me, outside of work, due to me moving to Indianapolis from Lafayette. That is my excuse, this time, for the lack of posts. On with the show!

The history will be from the virtual machine on my laptop. This is my work laptop, so fair amounts of RoR work is done. However, it has been my main machine for the past few weeks.

mileszs@ubuntuvm:$ history|awk '{a[$2]++} END{for(i in a){printf "%5d\t%s \n",a[i],i}}'|sort -rn|head

  100   clear
   58   vim
   56   svn
   49   ls
   40   twitter
   37   cd
   27   git
   12   sudo
   10   man
    9   ./tweetline

I really like having my term windows clear, damn it. It might be some sort of OCD thing. I do find myself clearing compulsively, having only typed 'ls' and hit enter out of lack of focus in the first place. Oh, how pathetic.

The 'twitter' command is the Twitter RubyGem, with which I have been playing. The './tweetline' is a script I was writing -- more on that in the coming days.

I'm going to tag Aaron and Seth. GO!

Tags:

Vim + rails.vim Seg-Faults in Ubuntu 8.04 (Hardy Heron)

Like many have, I installed the latest version of Ubuntu late last week. I did not have a lot of time to get Hardy Heron ready for day-to-day development until Monday. While using it for half a day yesterday, Vim had been producing segmentation faults from time to time. It was irritating, but wasn't happening often enough to get me too excited to track down the issue.

Vim: Caught deadly signal SEGV

That is, until today. It's been absolutely infuriating. I'm a guy that might, you know, punch or throw an inanimate object in moments of frustration. Thus far, I have managed to avoid damaging anything, but it's been close.

Thankfully, I am not the only one with this problem. Here is the Ubuntu bug report, bug #219546. To summarize, the plugin rails.vim, in concert with Vim version 7.1.138, seg-faults when using tab completion together with a rails.vim command such as ':RTcontroller pe[TAB][TAB]'.

Crap. What do I do?

Within the bug report, a few have suggested that installing from source will fix the issue -- or, install from the Debian Sid packages. I chose to install from source. That seemed to fix the issue for me.

A quote from dominiko, within the bug report comments:

If I download the latest vim (vim-7.1.293) source code (see
http://www.vim.org/download.php), and compiled it myself:

  cd vim7
  ./configure --with-features=huge
  make
  make install

Then it works fine...

That is my recommendation. If you have any trouble, you are welcome to comment here and I will do what I can to help. Be wary! Be warned! Take my advice at your own risk! I am far from an expert.

Powered by Drupal - Original Theme by Artinet - Theme Enhancements by Me