python craziness

class f:
def __init__( self, f ): self.f = f

class v:
def f( self ): return f( self )

print v()
print v().f()
print v().f().f


<__main__.v instance at 0x006B7120>
<__main__.f instance at 0x006B7148>
<__main__.v instance at 0x006B7148>



There is an interesting open-source free HD video player called Miro.
It works allows to subscribe to video RSS feeds through companion site Miro Guide, which contains a lot of interesting video feeds.

Miro player is available for most Linux distros, Windows and Mac OS X.

Miro: http://www.getmiro.com/
Miro Guide: https://miroguide.com/


Enabling MP3 audio CD importing in Banshee

To be able to import audio CDs in Banshee Media Player install gstreamer0.10-lame: GStreamer lame plugins using
sudo aptitude install gstreamer0.10-lame
then restart Banshee and select Edit/Preferences/Audio CD/"MP3 (LAME Encoder)".

Enabling Xvid files in Xine and Kaffeine

To allow xine and kaffeine to play video files encoded using Xvid codec install libxine1-ffmpeg and libavutil49 using
sudo aptitude install libxine1-ffmpeg libavutil49
See also: #512946
[libavcodec51] Undefined symbols with latest libavutil49


HowTo Uninstall Internet Explorer 6 on WINE

To uninstall IE6 under WINE do the following:
  • Edit ~/.wine/system.reg
  • Search for the following string in the file: "ComponentID"="BASEIE40_W2K"
    You will find a section with following content:
    [Software\\Microsoft\\Active Setup\\Installed Components\\{89820200-ECBD-11cf-8B85-00AA005B4383}] 1228955475
    @="Internet Explorer 6"

  • Change "IsInstalled"=dword:00000001 to "IsInstalled"=dword:00000000