Tuesday, April 2, 2013

Transmission 2.74 Released! Install on Ubuntu Enhancements for IPv6



And ‘now available a new update of the Transmission BitTorrent client, that give program version 2.74.  For those who does not know, efficient BitTorrent client Transmission is a feature-rich use rather simple, which comes preinstalled in the desktop environment gtk-based (in particular Transmission is the manager torrent default Ubuntu). This release, in particular, is oriented towards strong improvements both for the integration of the program with the IPv6 protocol for the management of so-called “magnetic link”.  But there is much more: just read the changelog is included below for realizing it!


All Platforms

  • Fix a bug That prevented IPv6 addresses from being saved in dht.dat
  • Better handling of magnet links That Contain ‘tr.x =’ parameters
Add
  • filtering of addresses used for uTP peer connections
Fix detection of
  • Whether or not a peer supports uTP connections

Mac


  • Auto-grouping will not apply until torrents are demagnetized
  • Tweak the inspector’s and add window’s file lists to avoid auto-hiding scrollbars overlapping the priority controls
  • Fix potential crash When downloading and seeding complete at the same time
  • Fix bug where stopped torrents might start When waking the computer from sleep

Web Client

  • Fix a multi-file selection bug
  • Fix bug where the upload and download arrows and rates would not Appear for downloading torrents
  • Fix bug tracker When displaying the list
As always, you can access the release notes going in this page .

Install Transmission 2.74 on Ubuntu 12.04/12.10 (PPA and procedure manual)

If you want to use the PPA, below find the instructions to import and update Transmission. At the time of this writing, however, they are still outdated:
sudo add-apt-repository ppa: transmissionbt / ppa sudo apt-get
update sudo apt-
get install transmission
Since the PPA still pointed to the old version of Transmission, proceed with the installation manual by source. Before proceeding, however, I want to remind you that you can safely wait Transmission is updated within the Ubuntu repositories and update the system easily using the command
sudo apt-get
update sudo apt-get dist-upgrade
If you’re like me, and want to get programs from your system immediately up-to-date , follow the instructions below! First install a little ‘dependencies (yes, we’ll need it) and download the source tarball of Transmission, with the commands
sudo apt-get install automake build-essential autoconf libtool pkg-config libcurl4-openssl-dev intltool libglib2.0-dev libevent-dev-dev libminiupnpc libminiupnpc libappindicator-dev-dev checkinstall
cd / tmp wget

http://download.transmissionbt.com/files/transmission-2.74.tar.bz2
xvjf tar transmission-2.74.tar.bz2
At this point, let us go into source directory, compile the program and …. use checkinstall to install it, so you can comfortably manage in the future by USC / gdebi / dpkg / apt-get / aptitude
cd / tmp/transmission-2.74
. / configure
make
sudo checkinstall
At this point we do not need the source directory (which will be deleted automatically when you restart the system), but it is a good idea to keep a copy Package. deb, so you can easily reinstall if necessary. I will put on my desk!

cp / * tmp/transmission-2.74/transmission. deb ~ / Desktop /
Enjoy!

Slackel 3.0 "Openbox"



Less than two weeks since the release of 2.0, the developers of Slackel, a lightweight Slackware-based distribution, have announced the release of version 3.0: "Slackel 3.0 Openbox has been released. Slackel is based on Slackware Linux and Salix OS. This is an update release. Changes are: Linux kernel 3.4.8 and lots of updates from Slackware's 'Current' tree. Slackel 3.0 Openbox includes the Midori 0.4.9 web browser, Claws-Mail 3.8.1, Transmission, SpaceFM, OpenJRE 7u9, Rhino, Icedtea-web, Pidgin, gFTP, wicd. AbiWord, Gnumeric and ePDFviewer office applications are included. Whaawmp is the default movie player, Exaile 3.3.0 is the application to use for managing your music collection, Asunder CD ripper, Brasero for writing CD/DVDs and more. In the graphics section Viewnior 1.3, GIMP 2.8.4 and Scrot the snapshot utility." Here is the brief release announcement with a screenshot. Download (MD5): slackel64-openbox-3.0.iso (624MB) slackel-openbox-3.0.iso (686MB).

Monday, April 1, 2013

How to save namespaces of XML in dictoinary in Python and Lxml



I have a XML file with many namespaces:
 xmlns:ser="https://some_address" xmlns:mirror="https://some_mirror_address"/>
    server="some_server_address"/>
    default="some_mirror_address"/>
I am using lxml and python to this type of file. Now, My requirement is, When I parse this XML file I need to store all namespaces in a dictionary like:

nsd = {'ser' : 'https://some_address', 'mirror' : 'https://some_mirror_address'}
 
The intention of this, the namespaces are not predetermined. So When I parse the XML I need to store all the namespaces in a dictionary and then proceed with further activities.
Is this possible to achieve in lxml?

Why would sbt reload gen-idea use 6GB of memory?


I'm using the command

sbt reload gen-idea
 
to build a largish (hundreds of thousands of lines of code) IntelliJ Scala project.
After about 30 minutes+, the program is autokilled because it runs out of memory. I checked, and it used 6GB before getting killed.
What's going on? Can I do anything to improve this?
Thanks

Install Chromium OS on USB Flash Drive with Ubuntu/Linux Mint



This article is for those who want to install and run ChromiumOS onto a USB storage device. Let us see how it can be done with the OS image.

Open the terminal and run these commands to download the ChromiumOS image to your home folder:
mkdir ~/ChromiumOS; cd ~/ChromiumOS
wget -c http://goo.gl/ICSpt -O ChromeOS-Vanilla-3274.0.zip
unzip ChromeOS*.zip
mv ChromeOS*.img ChromeOS.img
Run the following commands and to identify the USB device:
fdisk -l
If you mounted the USB flash drive as /dev/sdb1 on your system.  Use the command and unmount the USB device:
sudo umount /dev/sdb1
Use your USB device name and replace /dev/sdb1
Run the following command to create a bootable USB device with the Chrome OS image. It will delete all data from your USB device.
sudo dd if=ChromeOS.img of=/dev/sdb1 bs=4M
Or
sudo dd if=ChromeOS.img of=/dev/sdb1 oflag=direct
Boot from the Chromium OS USB flash drive after finishing the process. To boot from USB storage devices, you can use the Plop boot loader too. the ChromiumOS VM can download and use from http://goo.gl/G0ZSk when you fail to create a bootable USB stick.

Bodhi Linux 2.3.0



Jeff Hoogland has announced the release of Bodhi Linux 2.3.0, a new version of the Ubuntu-based distribution with the latest Enlightenment window manager: "After almost exactly three months since our Bodhi 2.2.0 release the Bodhi team and I are happy to announce the next update release for our 2.x.y series - Bodhi Linux 2.3.0. Again because this is a minor update release people who are already using our 2.x.y branch can simply upgrade to this release via their package manager. As with our 2.2.0 release there are three disc downloads for this version: 32-bit featuring a current PAE enabled kernel, 32-bit featuring a non-PAE kernel with older hardware support, 64-bit featuring a current kernel. Software wise we see the following updates with this release: Linux Kernel 3.8, Enlightenment 0.17.1, Midori 0.4.9, Terminology 0.3.0, eCcess system tool, Ubiquity 2.12." Here is the full release announcement with screenshots. Download (torrents): bodhi-2.3.0-64.iso (603MB, MD5, torrent).