Linx Trix

July 25, 2008

Which Version Control System and Bugtracking system to use?

Filed under: medium — Tags: , , , — admin @ 4:48 pm

After reading a bunch of articles about Request Tracker, and other Issue Tracking Systems starting from here on wikipedia and and on slashdot .

And before anything watching this amazing video:

From which I got a hint that git could be the way, I found this post which basically confirmed my research that Git and Trac are the way to go.

Now I’ll be installing and testing it in the future, so we’ll see…. I’ll keep you posted.

Share and Enjoy:
  • del.icio.us
  • Digg
  • Reddit
  • Slashdot
  • StumbleUpon
  • Live
  • Propeller
  • Technorati
  • Google Bookmarks
  • YahooMyWeb

July 22, 2008

VMWare Alt Key gets Stuck

Filed under: medium, vmware — Tags: — admin @ 3:14 pm

There seems to be a bug in VMWare, at least in Linux when you switch back and forth between the Guest and Host sometimes the Alt key gets stuck in the Host, where in the guest the key is not stuck. This simple script solves the problem:

#!/bin/sh
/usr/bin/xmodmap – << XXX
clear shift
add shift = Shift_L Shift_R
clear lock
add lock = Caps_Lock
clear control
add control = Control_L Control_R
clear mod1
add mod1 = Alt_L Alt_R
clear mod2
add mod2 = Num_Lock
clear mod3
clear mod4
add mod4 = Super_L Super_R
clear mod5
add mod5 = Scroll_Lock
XXX

Just run it and it will clear the stuck keys.

Share and Enjoy:
  • del.icio.us
  • Digg
  • Reddit
  • Slashdot
  • StumbleUpon
  • Live
  • Propeller
  • Technorati
  • Google Bookmarks
  • YahooMyWeb

April 10, 2008

HOWTO: Remote Desktop through a proxy

Filed under: medium, proxy, routing, windows — admin @ 2:46 pm

Ok, the problem is simple, you are in China for example and you have a really bad connection from your hotel to your Windows Server or your home computer via a rdesktop connection.

Luckily you have a proxy server somewhere (for example a squid), but rdesktop has NO settings for a proxy server, and it ignores the proxy settings in Control Panel….

Luckily someone pointed me to a nice program with which you can configure a proxy for a program which does not even support a proxy, meet Proxy Firewall, direct download link here .

Breaking News

Share and Enjoy:
  • del.icio.us
  • Digg
  • Reddit
  • Slashdot
  • StumbleUpon
  • Live
  • Propeller
  • Technorati
  • Google Bookmarks
  • YahooMyWeb

March 15, 2008

vmware: D-Bus not built with -rdynamic so unable to print a backtrace

Filed under: medium, vmware — Tags: , , , , , — admin @ 1:20 pm

This happens on Gentoo’s vmware-workstation ebuild installation, like explained here and here the problem is you have dbus running, but not hal, simply add hal to your default startup:

rc-update add hald default

run it:

/etc/init.d/hald start

and retry the drill with vmware.

Share and Enjoy:
  • del.icio.us
  • Digg
  • Reddit
  • Slashdot
  • StumbleUpon
  • Live
  • Propeller
  • Technorati
  • Google Bookmarks
  • YahooMyWeb

November 8, 2007

static-routes don’t not work with dhcpd

Filed under: medium, routing — admin @ 8:17 pm

So you need to add a static route next to the default route? Well it’s not documented, and it’s not so easy to find, but here it is:

# MS routes: adds extras to supplement routers option
option ms-classless-static-routes code 249 = array of integer 8;
# RFC3442 routes: overrides routers option
option rfc3442-classless-static-routes code 121 = array of integer 8;
option routers 172.22.0.1;
option ms-classless-static-routes 24, 172, 22, 99, 172, 22, 0, 1 ;
option rfc3442-classless-static-routes 24, 172, 22, 99, 172, 22, 0, 1,
0, 172, 22, 0, 1 ;

More info here .

Share and Enjoy:
  • del.icio.us
  • Digg
  • Reddit
  • Slashdot
  • StumbleUpon
  • Live
  • Propeller
  • Technorati
  • Google Bookmarks
  • YahooMyWeb

September 19, 2007

Tricking MySQL to use index on binary search

Filed under: medium, mysql — admin @ 10:49 am

Did you know that this:

SELECT * FROM test WHERE binary login = ‘SomeCaseSensitiveLogin’

is million times slower then

SELECT * FROM test WHERE login = ‘SomeCaseSensitiveLogin’ AND binary login = ‘SomeCaseSensitiveLogin’

Of course the logical choice would be to have a binary index on login(like in this example of case sensitive searches in mysql), but sometimes the MySQL version is too old or buggy or you simply don’t have the permission to do so, and I even had a situation where this was faster then any other method, but as always it depends on the data you have.

In my example it was a 40.000 rows user database and the search was taking 0.21 secs with pure binary vs 0.00 with this trick above.

Share and Enjoy:
  • del.icio.us
  • Digg
  • Reddit
  • Slashdot
  • StumbleUpon
  • Live
  • Propeller
  • Technorati
  • Google Bookmarks
  • YahooMyWeb

Powered by WordPress