Please subscribe to RSS Feed! :)

Abstract Cloud computing is a growing area of concern in the IT security community because cloud architectures are literally popping up all over. Public clouds are available from Google.com, Amazon.com, Microsoft, Oracle/Sun, Canonical/Eucalyptus and many other vendors. Private cloud technologies, where the cloud software is loaded on local or in-house server hardware, are available from [...]


TORA yang disediakan pada repository ubuntu (lucid) secara default hanya mensupport protokol untuk mysql dan pgsql, sedangkan saya membutuhkan sebuah ORACLE-DB client yang native linux.
sebelumnya unduh dahulu paket dibawah ini dari sini
Karena sistem yang digunakan adalah ubuntu yang berbasis debian maka paket-paket rpm tersebut harus di convert dengan alien, dan untuk itu ada beberapa dependensi yang diperlukan oleh aplikasi TORA dan agar proses convert dari rpm ke deb lancar, berikut dependensi yang harus diinstallkan
Sebelum menjalankan alien terlebih dahulu harus di tentukan path untuk oracle home dan library dimana oracle client tersebut akan diinstallkan, ada baiknya juga tambahkan script berikut di “.bashrc” agar anda tidak perlu susah-susah lagi mengetikkan environment setiap kali anda reboot.
export ORACLE_HOME="/usr/lib/oracle/11.2/client"
export LD_LIBRARY_PATH="${ORACLE_HOME}/lib"
export TNS_ADMIN="${ORACLE_HOME}"Selanjutnya convert paket-paket rpm ORACLE Instantclient ke paket deb menggunakan alien, sekaligus menginstallkannya.
sudo alien -i *386.rpm
Berikutnya silakan download TORA yang sudah saya re-compile dengan support untuk melakukan koneksi database dengan library ORACLE Instantclient dari sini
Install dengan mengklik 2 kali icon file tersebut atau melalui CLI dengan cara :
sudo dpkg -i tora_2.1.1-1_i386.deb
Apabila sering melakukan update sistem secara berkala, bisa jadi paket tora nanti akan tertimpa dengan yang baru, maka jalankan perintah berikut agar paket aplikasi tora tersebut tidak akan pernah diupdate.
sudo aptitude hold tora

2 days ago I wondered about an EULA stating that the software still consists of SUNs trademark.
But for a few day now even VirtualBox got rebranded.
I've already posted earlier about the OpenOffice splash screen with the Oracle Logo, but here we go with the Beautiful Vbox Screen: (V 3.2)
I'm still wondering when the Blue Screen will change to red - even in the icon if not in Windows Guests itself :-)

Richard Jones alerted me to Martin Blais' dbapiext.py, and I like it very much.
Richard's post focuses on the improvements to bind variable handling. I love dbapiext.py for another reason: it provides query results as namedtuples, a class so perfect for database resultsets that they make me sob with relief.
>>> import cx_Oracle, dbapiext
>>> connection = cx_Oracle.connect('username/password@SID')
>>> results = dbapiext.execute_obj(connection, 'SELECT * FROM crew')
>>> row = results.next()
>>> row
Row(ID=1, NAME='Kaylee Frye', ROLE='Mechanic')
>>> row[1]
'Kaylee Frye'
>>> row.ROLE
'Mechanic'
When memory isn't an issue, I like to transform the result into a list and tack on a simple equality filter method for convenience.
class Filterable(list):
def filter(self, **kw):
for itm in self:
for k in kw:
if not (getattr(itm, k) == kw[k]):
break
else:
yield itm
yield StopIteration
>>> result = Filterable(dbapiext.execute_obj(connection, 'SELECT * FROM crew'))
>>> result.filter(NAME='Jayne Cobb').next()
Row(ID=5, NAME='Jayne Cobb', ROLE='Public Relations')
It is, of course, no SQLAlchemy, and isn't meant to be. It's meant to be a roadmap toward a less awful DB-API for Python. (I still wake up in the middle of the night, gasping, "Five incompatible bind variable formats! It's heresy!") In the meantime, dbapiext.py is a nice lightweight layer for times when SQLAlchemy is too much. For instance, I write lots of database administration tools that poke around in lots of different views of Oracle's data dictionary, and setting up SQLAlchemy mappings for each of them is a pain. dbapiext.py is perfect for that. Thanks, Martin!

First off: PyCon online registration ends TODAY. Go do it NOW.
I intend to show off sqlpython at PyCon. Version 1.7 works with postgreSQL and MySQL as well as Oracle. (In fact, a single sqlpython session can keep connections to all three types of databases open at once!)
1.7 isn't quite ready for PyPI yet; I've just posted an appeal for sqlpython testing, with instructions for getting the development version, to the sqlpython google group. If you'd like to take the new-and-improved sqlpython for a spin around your databases, I would hugely appreciate it. Anticipate a PyPI release just before PyCon, once the ugliest of the bugs are worked out.
See you in Atlanta!

Oracle has finally taken over Sun Microsystems. Days of darkness are here but how long will it be?
Sun is not only about hardware. What will happen to OpenOffice.org, Java and MySQL? How about the Sun and MySQL Certifications?
How will Jonathan, being the last Sun Microsystem's CEO end his career there?
All the debates are ongoing in the internet but I look forward to Oracle making clear statements on these concerns.