The Covenant - A New Approach to Open Source Cooperation
With a huge portions of the Internet & a huge number of devices relying on opensource software (Operating Systems, Web Servers, Mail Servers, Browsers) and even commercial closed source projects relying on many opensource software (libraries, source code management systems, build systems etc. with liberal licenses), no one can underestimate the importance of opensource software.
However opensource is still an evolving model with many questions & a ground of many experiments. This one sounds like an interesting experiment in licensing & copyrights.
A beer can to Amplify your Wifi signal!
I know beer works for me, I got to see if the can works for my Wifi. I cant wait to have a beer and try the trick at home.
The real-world Cyborgs. How far away is Cyborg World?
Aidan Dwyer - Innovator at age 13, wins Young Naturalist
Aidan Dwyer, inspired by trees, arranges solar panels like leaves on an Oak tree to reap more power even in low light conditions. Read More…
Installing & running orientdb on Ubuntu Server
I just downloaded and installed OrientDB version 1.0rc4 on my Ubuntu server.
It is straight forward to get it up and running but with a few caveats for the Ubuntu user who wants to have Orientdb running at system startup.
If you haven’t heard of OrientDB before, please checkout the orient-db website.
And here are the first few mundane, no-brainers.
Download OrientDB:
You can go to the download page to get the latest release.
This is how I got my bundle:
# wget http://orient.googlecode.com/files/orientdb-1.0rc4.zip
Extract the archive:
Decide where you want OrientDB to be installed and extract the zip file to that folder
#sudo unzip orientdb-1.0rc4.zip -d /opt/orientdb-1.0rc4
Give execute permissions to shell scripts
Now go to the bin folder under the installation directory and make the shell scripts executable.
#sudo chmod 755 /opt/orientdb-1.0rc4/bin/*.sh
Running at system start-up:
Luckily for us, the installation bundle comes with an init script ready to use.
Open the orientdb.sh file under the bin folder and give the appropriate values for the variables.
I changed them as follows:
ORIENTDB_DIR=”/opt/orientdb-1.0rc4”
ORIENTDB_USER=”ubuntu”
After this you can copy the script to /etc/init.d/ and add it to the run levels to get orientdb to start when the system starts and shutdown when the system is shutdown.
However the caveat is, this script will work perfectly well if you have a root user with a password unlike my ubuntu server.
So to get it working fine on a Ubuntu server I chose to use the sudo command in place of su in the orientdb.sh script.
change the line:
su -c “cd "$ORIENTDB_DIR/bin"; /usr/bin/nohup ./server.sh 1>../log/orientdb.log 2>../log/orientdb.err &” - $ORIENTDB_USER
to:
sudo -u $ORIENTDB_USER sh -c “cd "$ORIENTDB_DIR/bin"; /usr/bin/nohup ./server.sh 1>../log/orientdb.log 2>../log/orientdb.err &”
and the line
su -c “cd "$ORIENTDB_DIR/bin"; /usr/bin/nohup ./shutdown.sh 1»../log/orientdb.log 2»../log/orientdb.err &” - $ORIENTDB_USER
to:
sudo -u $ORIENTDB_USER sh -c “cd "$ORIENTDB_DIR/bin"; /usr/bin/nohup ./shutdown.sh 1»../log/orientdb.log 2»../log/orientdb.err &”
Finally:
If you have copied the orientdb.sh to /etc/init.d folder then cd to the folder and execute the following:
#sudo update-rc.d orientdb defaults
Why the new guy can't code
This Tech Crunch post by John Evans has very interesting insights on Hiring people for Development.
… I think there are parallels between technological development and evolution. I obviously do not believe in Intelligent Design when it comes to biology (and I think anybody who does is woefully badly educated), but after all, I often think that “intelligent design” is much overrated in technology too. Many technical improvements really do seem to be about more “organic” developments, and very few are fully designed ahead of time. In fact, I think most interesting technical problems are too complicated to “design” for - the way you get to a solution is very much through incremental improvements and trial and error.
Internet in 2020 Any Guesses?