Why do OJC and Javac differ?

Introduction: A certain developer wanted to specify Generic Type in his abstract Java class, like the Java Map interface and AbstractMap class, in the manner described in Code Sample A, below. Setup: – We have 2 environments desktop and remote hosts – Applications are built on the desktop in JDEV (11gR1) using OJC by defaultContinue reading “Why do OJC and Javac differ?”

Python + MySQL in Ubuntu (9.10)

Assuming you did a fresh install of Karmic Koala – Ubuntu 9.10 Here are the steps: – Install Python: apt-get install python2.6 – Install XAMPP/LAMP stack: sudo tasksel install lamp-server After you install follow the steps on setting up the root password see the notes here . – Install MySQLdb: I tried downloading the sourceforgeContinue reading “Python + MySQL in Ubuntu (9.10)”

Stuff to read

Must read up more on these – download, test, play JGraph – http://www.jgraph.com/mxgraph.html Parallel port interfacing made easy – http://www.epanorama.net/circuits/parallel_output.html Wireless Rabbit Web Server – http://killerprojects.wordpress.com/2010/04/06/wireless-rabbit-web-server-802-11-bg-w-video/#more-53 Introduction to WI-FI, Wireless LAN basics, Wireless Security, Rabbit Wireless doc – http://www.rabbit.com/documentation/docs/manuals/WiFi/Introduction/WiFiIntro.pdf Introduction to ZigBee – http://www.rabbit.com/documentation/docs/manuals/ZigBee/Introduction/ZigBeeIntro.pdf I Make Projects – Wireless Detector¬† (Hooking up a vibe motorContinue reading “Stuff to read”

Matrix manipulation

When solving Boggle, Sudoku or some n-by-n board game or when doing Image analysis or Parallel Computing – it is often useful to be able to represent one-dimensional data structures in 2-dimension and vice-versa. Simple formulae exists for doing this conversion, as illustrated below: Converting from Row by Col 2-dimensional (2-index) format to a 1-by-(Row*Col)Continue reading “Matrix manipulation”

Create tables in MySQL using JDev

Steps: Setup MySQL Setup JDev Create a new JDev Application Create a new Database Diagram with a sample Table Add columns to the table Create a database connection from JDev to MySQL and Publish the Table to MySQL Note:¬† Put the mysql-connector-java-3.1.14-bin.jar in the lib path (JDEV or JDK) to avoid Driver Not Found typeContinue reading “Create tables in MySQL using JDev”