Site Soon to Close
I’m afraid due to a lack of funding, this site will soon cease to be. For access to Furius ISO Mount, please visit the project page in launchpad.
Thanks to everyone for visiting and if anyone cares to donate some money I may be able to keep going for another year!
No commentsFurius ISO Mount Version 0.11.1.2 Released
New version of Furius ISO Mount is now available. This is a bug fix release for Karmic Koala.
Head on over to the Furius ISO Mount Projects page and grab yourself the latest version.
1 commentMatt Carlin Personal Trainer
Hi i’m Matt and i’m a Personal Trainer in the Derbyshire area, helping people to loose weight, tone up and feel great!
I spent 5 years in the British Army which got my personal fitness levels to a very high standard and i’ve always had a love for fitness from a very young age.
My website is designed to provide you with information about my services and to help you understand the ever growing health and fitness industry.
Visit his site at http://personaltrainer-derby.co.uk/default.aspx
Furius ISO Mount Version 0.11.1.1 Released
This is a Python coded release and is a small update to fix Bug #317966 and Bug #308106. Images who’s path contains spaces can now be mounted by drag n dropping.
Head on over to the Furius ISO Mount Projects page and grab yourself the latest version.
1 commentFurius ISO Mount Version 0.11.1.0 Released
This is a Python coded release and adds multiple image drag and drop auto-mounting functionality and nautilus file browsing support.
If you are using the deb installers and are upgrading from the Mono versions (0.9.2.0 and below) please remove any previous instances (sudo apt-get remove furiusisomount) prior to installing. If you do not wish to install Furius ISO Mount Version 0.11.1.0 then you can simply download the furiusisomount- 0.11.1.0.tar.gz, extract to a directory of your choice and run the furiusisomount shell script. This makes it an ideal tool for adding to your USB thumb drives!
Head on over to the Furius ISO Mount Projects page and grab yourself the latest version.
3 commentsSuper fast Fibonacci number generator for Python and Ruby
Some time ago at work my colleagues and I were discussing the performance of various programming languages (Python, C++, C#, VBA, JavaScript, Java, VB.Net, Ruby) and which one was the fastest. I therefore started writing recursive Fibonacci methods for each language and timing their execution (anything to get out of doing real work!). This then led to looking into faster methods of generating the Fibonacci sequence. Below are three different method for generating the sequence; recursive (slow), matrix (fast), and pure maths (super fast). Though I have yet to come across a need to generate a Fibonacci number in one of my applications, I thought I would share this as it may be of interest to some of you out there.
PYTHON
Recursive (slow)
-
import time
-
-
def fibonacci(n):
-
if n < 2:
-
return n
-
else:
-
return fibonacci(n-1) + fibonacci(n-2)
-
-
start = time.clock()
-
for i in range(36):
-
print "n=%d => %d" % (i, fibonacci(i))
-
end = time.clock()
-
print "Time elapsed = ", end - start, "seconds"
Matrix (fast)
Note: This requires the python-numpy module (Ubuntu users can apt-get install python-numpy)
-
import time
-
import numpy
-
-
fibonacci_matrix = numpy.matrix([[1,1],[1,0]])
-
def fibonacci(n):
-
return (fibonacci_matrix**(n-1)) [0,0]
-
-
start = time.clock()
-
for i in range(36):
-
print "n=%d => %d" % (i, fibonacci(i))
-
end = time.clock()
-
print "Time elapsed = ", end - start, "seconds"
Pure Maths (super fast)
-
import time
-
from math import sqrt
-
-
def fibonacci(n):
-
root5 = sqrt(5)
-
phi = 0.5 + root5/2
-
return int(0.5 + phi**n/root5)
-
-
start = time.clock()
-
for i in range(36):
-
print "n=%d => %d" % (i, fibonacci(i))
-
end = time.clock()
-
print "Time elapsed = ", end - start, "seconds"
RUBY
Recursive
-
def fibonacci(n)
-
if n < 2
-
n
-
else
-
fibonacci(n-1) + fibonacci(n-2)
-
end
-
end
-
-
start_time = Time.now
-
36.times do |i|
-
puts "n=#{i} => #{fibonacci(i)}"
-
end
-
end_time = Time.now
-
puts "Time elapsed = #{end_time - start_time} seconds"
Matrix
-
require ‘matrix’
-
-
FIBONACCI_MATRIX = Matrix[[1,1],[1,0]]
-
def fibonacci(n)
-
(FIBONACCI_MATRIX**(n-1)) [0,0]
-
end
-
-
start_time = Time.now
-
36.times do |j|
-
puts "n=#{j} => #{fibonacci(j)}"
-
end
-
end_time = Time.now
-
puts "Time elapsed = #{end_time - start_time} seconds"
Pure Maths
-
def fibonacci(n)
-
root5 = Math.sqrt(5)
-
phi = 0.5 + root5/2
-
Integer(0.5 + phi**n/root5)
-
end
-
-
start_time = Time.now
-
36.times do |j|
-
puts "n=#{j} => #{fibonacci(j)}"
-
end
-
end_time = Time.now
-
puts "Time elapsed = #{end_time - start_time} seconds"
For anyone who wishes to run some language benchmarks themselves (if you are really bored!!), here is the recursive sequence for other languages.
PHP
VBA
-
Private Function Fibonacci(ByVal n As Integer) As Long
-
If n < 2 Then
-
Fibonacci = n
-
Else
-
Fibonacci = Fibonacci(n - 1) + Fibonacci(n - 2)
-
End If
-
End Function
-
-
Sub Main()
-
Dim StartTime As Date
-
Dim EndTime As Date
-
-
StartTime = Time
-
For Index = 0 To 35
-
Debug.Print "n=" & Index & " => " & Fibonacci(Index)
-
Next
-
EndTime = Time
-
-
Debug.Print "Time elapsed = " & (EndTime - StartTime) * 86400
-
End Sub
C#
-
static int Fibonacci(int n)
-
{
-
if (n < 2)
-
{
-
return n;
-
}
-
else
-
{
-
return Fibonacci(n - 1) + Fibonacci(n - 2);
-
}
-
}
-
-
static void Main(string[] args)
-
{
-
Stopwatch stopwatch = new Stopwatch();
-
stopwatch.Start();
-
for (int i = 0; i < 36; i++)
-
{
-
Console.WriteLine("n={0} => {1}", i, Fibonacci(i));
-
}
-
stopwatch.Stop();
-
TimeSpan excecutionTime = stopwatch.Elapsed;
-
Console.WriteLine("Time elapsed = {0:00}.{1:00} Seconds",
-
excecutionTime.Seconds, excecutionTime.Milliseconds / 10);
-
Console.ReadLine();
-
}
JAVA
-
for (int i = 0; i < 36; i++)
-
{
-
}
-
double deltaT = end-start;
-
try {
-
e.printStackTrace();
-
}
-
}
-
-
public static int Fibonacci(int n) {
-
if (n < 2)
-
{
-
return n;
-
}
-
else
-
{
-
return Fibonacci(n - 1) + Fibonacci(n - 2);
-
}
-
}
Enjoy!
1 commentHelp Required Localizing Python Version of Furius ISO Mount
Due to my Microsoft Windows .Net programming background, I have had no experience localizing Python applications. As such, I am sending out of request for a Python coder to assist me in (i.e., do :p) the required setup and coding. If you are able to localize python applications (generate PO templates and files, create correct directory structure for the .mo files, add localization coding etc) and would like to help with Furius ISO Mount, please get in touch as your help will be greatly appreciated!
Many thanks.
No commentsAutomaticaly Download and Process NZB’s in Mandriva 2009 using Hellanzb
From the Hellanzb website:
hellanzb is a Python application designed for *nix environments that retrieves nzb files and fully processes them. The goal being to make getting files from Usenet (e.g.: Giganews Newsgroups) as hands-free as possible. Once fully installed, all thats required is moving an nzb file to the queue directory. The rest; fetching, par-checking, un-raring, etc. is taken care of by hellanzb.
Installing Hellanzb
Open a terminal
Install the prerequisites (resolve dependencies as required)
su urpmi libpython2.5-devel parchive2 unrar python-twisted
Get the latest version of hellanzb (version 0.13 latest at time of writting)
aria2c http://www.hellanzb.com/distfiles/hellanzb-0.13.tar.gz
Unpack archive
tar -xzvf hellanzb-0.13.tar.gz
Install hellanzb
cd hellanzb-0.13 python setup.py install
Configure Hellanzb
cp /usr/etc/hellanzb.conf.sample /usr/etc/hellanzb.conf kwrite /usr/etc/hellanzb.conf
In the defineServer section changes the id, hosts, username and password values to those supplied by your usenet provider.
Under Important locations change Hellanzb.PREFIX_DIR = ‘/ext2/’ to Hellanzb.PREFIX_DIR = ‘/home/YOUR-USER-NAME/’
Other settings and locations can be changed if required but this is not necessary.
Running Hellanzb
Open a terminal
hellanzb.py
Download a NZB file and place it in
/home/YOUR-USER-NAME/nzb/daemon.queue/
Once files have been processed they will be placed in
/home/YOUR-USER-NAME/usenet/
No commentsInitial Python Implementation of Furius ISO Mount Released
A new version of Furius ISO Mount has been released (0.11.0.0) which is a complete rewrite in Python. This is the first beta release of the Python implementation of Furius ISO Mount. It currently contains all the functionality of the mono/C# version but does not include localization support.
Debian installers are available along with the source code. If you are using the deb installers please remove any previous instances (sudo apt-get remove furiusisomount) prior to installing. If you do not wish to install Furius ISO Mount Version 0.11 then you can simply download the furiusisomount-
0.11.0.0.tar.gz, extract to a directory of your choice and run the furiusisomount shell script.
This version is considered beta quality, but your help in testing would be much appreciated.
Please report any bugs here.
No comments



