Archive

Author Archive

Rails and Emacs: Rsense and Auto-Complete

If you’re developing Rails with Emacs and using Rinari here are two more extensions you might like:

http://cx4a.org/software/auto-complete/

and

http://cx4a.org/software/rsense/

Installation. Just  as described. Code completion for ruby-on-rails with emacs!

And the package is written in Java(!), Very cool!

I am impressed!

Antivir regression bug makes Visual Studio 2010 unusable

The current version of Antivir Personal slows down Visual Studio 2010 making it unbearable to develop ASP.NET applications.

Debugging with active Antivir: appr. 5min for an empty Default.aspx page to display.

Debugging with deactivated Antivir: a few seconds for an empty Default.aspx page to display.

Until Antivir fixes this bug I will give Microsoft Security Essentials a try.

Regression because this has been addressed and fixed in December 2010:

Antivir FAQ (English)

Antivir FAQ (Deutsch)

This applies to the following version of Antivir:

Produktversion 10.2.0.696 29.06.2011
Suchengine 8.02.06.04 06.07.2011
Virendefinitionsdatei 7.11.11.27 07.07.2011
Control Center 10.00.12.31 28.06.2011
Config Center 10.00.13.20 28.06.2011
Luke Filewalker 10.03.00.07 28.06.2011
AntiVir Guard 10.00.01.59 28.06.2011
Filter 10.00.26.09 28.06.2011
AntiVir WebGuard 10.01.09.00 28.06.2011
Planer 10.00.00.21 02.05.2011
Updater 10.00.00.39 21.06.2011

Workaround for VirtualBox 4.0.8 regression bug

The current version of Oracle’s VirtualBox (4.0.8) has Version 4.0.8 had a regression bug which seems to only manifest itself when using Debian based hosts with 64-bit and Windows 7 64-bit guest system.

Here is the summary of the workaround posted as VirtualBox Ticket 8948:

  1. Edit the settings file to allow the VM to start again (Replace control characters in line 315 with 4.0.8).
  2. Start the Windows guest
  3. Run regedit
  4. Go to HKLM\SOFTWARE\Oracle\VirtualBox Guest Additions
  5. Create a string key VersionEx (use exactly this spelling)
  6. Give it a reasonable value (ie 4.0.8)
  7. Shut down the VM.
  8. Repeat step 1
  9. Restart and shutdown windows guest again
That’s it.
Edit: This bug has been fixed in version 4.0.10 (released 2011-06-27).
Categories: linux, software, windows Tags:

Adding Truecrypt to Ubuntu’s Unity panel

To add applications like Truecrypt to Ubuntu’s Unity panel the application has to be “white listed”.

  1. Install dconf-editor (ie sudo aptitude install dconf-editor)
  2. Go to section desktop | unity | panel and add ‘Truecrypt’ to the systray-whitelist variable
  3. Restart Unity (or log out and back in again)
Categories: linux Tags: , , , ,

NHibernate Simple Setup

My simple NHibernate 3 setup under GitHub: https://github.com/draptik/nhibernate-nunit

Snippet for adding unknown files/dirs to Subversion (command line)

svn add `svn st | grep "^?" | awk '{print $2}'`

 

Categories: IT, linux Tags: , ,

Installing SQL Server Management Studio 2008 Express after installing Visual Studio 2010

Visual Studio 2010 comes with its own version of SQL Server Express.

If you try to install SSMS(E) (SQL Server Management Studio Express) afterwards and run into trouble, take a look at this post by Alexander Zeitler.

Configure VirtualBox Windows guest system to use 2 monitors

Purpose

Our host system for VirtualBox is GNU/Linux. We want our guest system, windows, to use two monitors.
This solution should work for all Linux distributions supported by VirtualBox4.

Required software

  • Ubuntu 10.10 (aka Maverick) as host for VirtualBox4
  • VirtualBox 4
  • VirtualBox guest sytem: Windows XP (incl. VirtualBox guest additions)

Configuration

  1. Setup virtual guest machine (windows) within vm host system (GNU/Linux) to use two monitors:

    virtualbox-host-ubuntu-10.10

    Setting up virtualbox 4 to use 2 monitors for windows xp guest

  2. Within virtual guest (windows): Configure dual monitor setup:

    virtualbox_dualmonitor_windows_config

    Setup within virtualbox guest system (windows)

Side note

Upgrading from VirtualBox owned by Sun to VirtualBox owned by Oracle was very smooth. Even for Linux host systems. Oracle, thanks for that!

NHibernate Code Completion (IntelliSense) for Visual Studio

Enable code completion (IntelliSense) in Visual Studio by copying the XSD files from NHibernate to your Visual Studio’s XML folder.

For example (NHibenrate 2.0.1):

Files to copy:

${nhibernate-location}\NHibernate\2.0.1\nhibernate-configuration.xsd
${nhibernate-location}\NHibernate\2.0.1\nhibernate-mapping.xsd

Destination:

C:\Programme\Microsoft Visual Studio 10.0\Xml\Schemas

Emacs: murrine_style_draw_box: assertion `height >= -1′ failed

This nasty bug has been around for over a year: Calling Emacs on Ubuntu from the console outputs

murrine_style_draw_box: assertion `height >= -1′ failed

after every action within Emacs.

The solution is simple, but has not been integrated in the Ubuntu repository yet.

Here it is:

In the file

/usr/share/themes/Ambiance/gtk-2.0/gtkrc

change

GtkRange::trough-under-steppers = 0

to

GtkRange::trough-under-steppers = 1

For details see Bug #538541Bug #550532 and Resolving “murrine_style_draw_box: assertion `height >= -1′”

Categories: IT, linux, Uncategorized Tags: , , ,
Follow

Get every new post delivered to your Inbox.