Thursday, 28 April 2011

Django on Hardy

It was not a coincidence that my old AMD64 system with NVIDIA MX4000 doesn't give X on distro above Jaunty 9.04. Perhaps, if I push myself to insert NVIDIA kernel, Lucid 10.04 might be on, but I think that's not the case. The computer is way too old for modern kernel. So it turns out that I should maintain Hardy 8.04 LTS and Jaunty.
Then it came into my mind: whom might be maintaining Hardy and with what version of Django. It resulted into Turnkey Linux. Yeah, now I might be just following policies implemented in Turnkey-Django. The last one packed with Hardy was dated back 2009.10 issue, but I think it's worth with stability.The newest 11.01 was with Lucid. So Turnkey 'agrees' with my comprehension about core distribution to follow: Ubuntu LTS or Debian.
These are notes from geodjango site:
8.04 and lower

The 8.04 (and lower) versions of Ubuntu use GEOS v2.2.3 in their binary packages, which is incompatible with GeoDjango. Thus, do not use the binary packages for GEOS or PostGIS and build some prerequisites from source, per the instructions in this document; however, it is okay to use the PostgreSQL binary packages.

For more details, please see the Debian instructions for 4.0 (Etch) below.

Debian 4.0 (Etch)

The situation here is the same as that of Ubuntu 8.04 and lower -- in other words, some packages must be built from source to work properly with GeoDjango.

Notes:

Watch packages dependency for successful install while installing from tar ball (tar.gz). You will be notified and guided for any unsuccessful steps.

Wednesday, 30 March 2011

Tuesday, 29 March 2011

sun-java di Lucid

Gara2nya mau masang freemind. Karena butuh sun-java, maka mesti masang openjdk-6-jre. Karena di Lucid require tzdata/2010m-0ubuntu0.10.04, maka download dulu paket tersebut di
https://launchpad.net/ubuntu/+source/tzdata/2010m-0ubuntu0.10.04/+buildjob/1995244
Lalu, simpen di /var/cache/apt/archives/
Kalu enggak, ya langsung install saja agar menimpah paket defaultnya.
Mungkin developernya perlu diberi tahu bahwa dependensi paketnya ada yang mogok?
Ok, deh. Aku juga register di launchpad ...

Saturday, 19 March 2011

plone collective.geo.contentlocations

  1. edit buildout.cfg
  2. run buildout
  3. got this error: "No such file or directory: '/home/enviromatics/Plone/zinstance/parts/instance/etc/zope.conf'"
  4. means zope.conf has been deleted due to unclean product install (http://plone.293351.n2.nabble.com/Restart-Zope-td5151549.html); well the product got lots of dependency.
errors:
  1. warning: no files found matching '*.mo' under directory 'collective'
  2. warning: no files found matching '*.js' under directory 'collective'
  3. warning: no files found matching '*.mo' under directory 'collective'
  4. the rest seems rooted on them
resolution:
    1. clean collectives from buildout.cfg, rerun buildout to get the site back
    2. start with the errors now ... ::debugging mode on::

    Friday, 4 February 2011

    g3data - extract data from graph




    1. Point to x0, x1
    2. Put value on x0 and x1
    3. do the same on y axis
    4. Point of n1..nn values
    5. export data in dat
    6. import dat file using spreadsheet, customize the position

    create new graph/trend.

    Tuesday, 21 December 2010

    Linux Audio Editing

    Debian: Sweep, ReZound, Audacity.
    Ini hasil googling:

    Monday, 20 December 2010

    Open Office fonts

    Salaam,

    Kalau ada yang nanya "kok Oo saya ga da arialnya?"
    Saya biasa jawab dengan

    $ sudo apt-get install msttcorefonts

    saya kira, pendekatan ini salah besar!
    yang betul, pake cara pin-pin-bo. Bikin folder .fonts (jangan lupa titik
    didepan) di /home/user

    $ mkdir ~/.fonts

    lalu download font yang diperlukan dari fonts101.com, taruh di folder
    tersebut. Gampangnya:

    $ cp franklingothic-regular.ttf ~/.fonts/

    Lalu tutup openoffice (kalau terbuka) dan buka lagi, alias restart openoffice.

    Selamat mencoba!