Categories
Tech

Install Twisted (Python) on CentOS 6

Make sure the current system is up-to date

yum update

Install the necessary packages required to satisfy Twisted’s dependancies.

yum install wget python-devel python-zope-interface

Also install the Development Tools

yum group install “Development Tools”

Download the Twisted Framework (example location: ~/src)

wget http://twistedmatrix.com/Releases/Twisted/12.1/Twisted-12.1.0.tar.bz2

Extract files and install

tar jxvf Twisted-12.1.0.tar.bz2
cd Twisted-12.1.0.tar.bz2
python setup.py install

Test the installation was successful by creating a Python test file.

nano twistedTest.py

Insert the following lines:

import twisted
import twisted.web

Save the file

Ctrl-X (Enter filename when prompted)

Execute the file with hopefully no errors

python twistedTest.py

Categories
Tech

Missing SCP command on CentOS 6

On a recent fresh install of CentOS 6, I discovered that SCP was not installed by default? Not too sure whats going on here as I haven’t had to manually install SCP in the past. However the problem can easily be fixed with:

yum install openssh-clients

Categories
Tech

Which slice of Pi to try?

Raspberry Pi Logo SVG

I was one of the lucky few to get hold of my Raspberry PI during it’s initial release earlier this year. Since then I haven’t really done much with it, apart from tinkering around with the different OS’s available for installation.

I plan to use my Pi for a future project named “open-dash” (project details coming soon), which will essentially require the Pi to boot ASAP and run a simple GUI application in fullscreen upon startup. The application will simply display statistical data and will not require the use of a keyboard or mouse.

So this weekend I have been experimenting with the different OS’s easily available to install on the Pi, from raspberrypi.org

  • Raspbian “wheezy”
  • Soft-float Debian “wheezy”
  • Arch Linux ARM
  • QtonPi

Straight away from just looking at the list I can rule out the “Soft-float Debian Distribution”, as it is not utilising the full capacity of the Pi’s hardware by relying on software to perform tasks that instead of using the hardware that will be quicker.

1 down, 3 to go.
I propose a simple test to help me draw an initial conclusion. I will create a simple test application to be executed upon system boot, and time how long it takes until execution occurs. I will begin research into using minimal based installation images, to strip use of any unwanted packages that would be otherwise unnecessarily loaded, in effort to reduce overall boot time. Without looking at other users benchmarks, I am aiming for a sub 10 second boot time.

UPDATE 18.11.12

After trying numerous distro’s, I was struggling to find a sub-10 second boot time. Official releases of Raspbian boot in about 20 seconds, un-official stripped down releases of Raspbian claiming to be ‘minimal’, didn’t prove to be much quicker. However the official release of Arch Linux boots in near enough damn it 10 seconds, which seems to be promising. Hopefully with a little tweaking I can reduce the boot time even more by removing unnecessary services, as well as looking into a re-building a custom kernel.

Categories
Tech

Aqualate Mere

A little something I threw together with an old photo I took, some Instagram style photoshop filters and a true quote.

Download desktop optimised version here

Categories
Tech

Arc360 v1.0

I’m pleased to announce the release of Arc360 v1.0, the first official release. An open-source application based on PolarClock, but with a few extra snazzy features.
It’s coded in the awesome programming language that is processing

Download HERE for Windows & Mac, with both 32 & 64 bit support 😀

Any feedback is most welcomed, email me at hello@bytesandbolts.com

UPDATE: Just found out Adobe has halted service of it’s API for ‘maintenance’, will update the releases shortly to disable the Kuler features.