Saturday, July 24, 2010

PyWeek.org

Thursday, July 15, 2010

Python Open Dynamics Engine (PYODE) Installation on Ubuntu

PYODE installation failure occurred during "make install" on ubuntu.
1 -   $ sh autogen.sh
2 -   $ ./configure
3 -   $ make
4 -   $ make install -//failed in ubuntu

At this point open Synaptic Package Manager (SPM) and search for "pyode".
It should find python-ode-doc and python-ode.
Check them to install.
Apply changes (Installation starts automatically).

Now, ode in python can be imported successfully.


Again using SPM, install "pygame" package.
Once pygame installed 2pendulum.py can be executed.

Calling a python script from python shell: 
#import needed library
import subprocess 
child = subprocess.Popen("python 2pendulum.py", shell=True)

Monday, July 05, 2010

Kıbrıscık'tan Bolu'ya

DIY: Subaru Forester Front Hub Bolt Replacement

Start of the driver side axle boot replacement was ended with replacement of the hub bolt. I broke it while removing the wheel nut. That was easy to replace took about 20-25 minutes.
  • Remove brake center and fix with a plastic holder.
  • Remove disk.
  • Remove small 10 mm nuts.
  • Replace broken hub bolt.
  • Do not try to fix completely before installing the wheel. It will be pulled by the wheel nut.

    Labels: , ,