SUBSCRIBE      GIT REPOS      FLICKR
Jun
26th
2009
Well … back in the beginning of April I went ahead and bought the G1 Android phone. Unsure about which phone I should buy iPhone or G1 … I eventually decided on the G1. Since I am a fan of Flash … this video leads me to believe I made the right choice.

Back in January, a friend and I decided to take a Saturday and make a cheap and dirty multitouch surface pad. We duplicated the steps found in this youtube video. A couple of hours and approx. $45 later we had our pad setup and were playing with the demos.

Since then I have been following NUI Group and a couple other blogs with great interest but not alot of time to invest in creating my own full table. A couple of days ago they had this video posted which I found really interesting. Similar to multitouch … but without much effort in construction and using air jestures. Check out the video it’s pretty amazing. Once the developer published the software I will again take a Saturday to explore this topic.

Jun
21st
2009

zc.buildout and satchmo

It’s been three months since i last posted anything … Since then I have done alot more django development, and have become a fan of zc.buildout & virtualenv when setting up my environment. see here

I just spent the last couple hours trying to get satchmo (django storefront) setup.

NOTICE: I have only gotten as far as logging into the admin and looking around … and have never used satchmo before … so this may change … and is probably not the best way to do it … but so far it works.

UPDATE - Jun 21, 2009: I was getting and error with the crypto package … so I changed buildout to use the egg … *sigh* also forgot to include the pdf modules (trml2pdf & reportlab)

Below is the buildout.cfg:

[buildout]
parts = django svn-extras PIL pycrypto trml2pdf reportlab pyyaml django-threaded-multihost elementtree docutils

[django]
recipe = djangorecipe
version = trunk
eggs = django-registration
pycrypto
project = sashay
extra-paths =
${svn-extras:location}/satchmo/satchmo/apps
${svn-extras:location}/satchmo
${svn-extras:location}/sorl-thumbnail
${svn-extras:location}/django-app-plugins
${pyyaml:location}
${elementtree:location}
${docutils:location}
${PIL:location}
${trml2pdf:location}
${reportlab:location}
${django-threaded-multihost:location}

[svn-extras]
recipe = iw.recipe.subversion
urls =
svn://satchmoproject.com/satchmo/trunk satchmo
http://sorl-thumbnail.googlecode.com/svn/trunk/ sorl-thumbnail
http://django-app-plugins.googlecode.com/svn/trunk/ django-app-plugins

[django-registration]
recipe = zc.recipe.egg
egg = django-registration==0.7

[django-threaded-multihost]
recipe = gocept.download
url = http://banjo.assembla.com/spaces/threaded_multihost/documents/c3Iwp42jyr3Bl9ab7jnrAJ/download/django-threaded-multihost-1.3-0.tar.gz
md5sum = 38e091f8574d79fbfa610ea8c5b4e0cb

[PIL]
recipe = gocept.download
url = http://dist.repoze.org/PIL-1.1.6.tar.gz
md5sum = c67f381a6f6a4634fbc6f9e8e0155553

[trml2pdf]
recipe = gocept.download
url = http://www.satchmoproject.com/snapshots/trml2pdf.tar.gz
md5sum = 178d5fc78edeb1c3ba67f79ddbae13c2

[reportlab]
recipe = gocept.download
url = http://www.reportlab.org/ftp/ReportLab_2_1.tgz
md5sum = d6eefe9e6e06aaa1315462045c9726ba

[pycrypto]
recipe = zc.recipe.egg
egg = pycrypto

[pyyaml]
recipe = gocept.download
url = http://pyyaml.org/download/pyyaml/PyYAML-3.05.tar.gz
md5sum = 04ebb924a571cfb26d8143069068ce86

[elementtree]
recipe = gocept.download
url = http://effbot.org/media/downloads/elementtree-1.2.6-20050316.tar.gz
md5sum = e1b21716be8bfff8bf192fc3880ad008

[docutils]
recipe = gocept.download
url =http://prdownloads.sourceforge.net/docutils/docutils-0.4.tar.gz?download
md5sum = 0fe7b42bb3c2aa3680fe30f9a5fbf712

Mar
27th
2009

And(roid) my mind changes

I had said that I was 75% sure I was going to get an iPhone at months end … well I have changed my mind and decided that I’m going to be buying the G1.

The current application market for Android doesn’t seem to be full of a bunch of ‘flashlight’ applications. After spending a hour or so looking through the app store … it seemed that getting in early is key. I’m not saying I won’t be looking to develop an iphone app or two … just that I won’t be buying the phone.

Mar
24th
2009
http://www.pelago.com/blog/2009/01/average-iphone-user-94-times-more-likely-to-download-an-app/

After a week of thinking … I’ve made up my mind … I think

I’ve been trying to decide what phone I am going to purchase. The G1, iPhone, Blackberry Storm, or the Nokia E75. I’ve been reading around an think that this article does a good job pushing me in one direction. I would have to say I’m 75% sure I’m gonna buy an iPhone at months end. I really like the Nokia device … and think the G1 is gonna gain marketshare … but for now I think iPhone offers the best overall opportunity. We will see…

Mar
21st
2009
Nice!
Oct
10th
2008

Other How-Tos

We’ll for now I’m done with the development enviroment how-tos. I think I have my laptop back to where I want it.

I didn’t really feel like finishing the drafts sitting in wordpress … so I am just gonna do a reference dump.

Android

* http://www.metaphoriclabs.com/articles/installing-java-6-on-mac-os-x/
* http://www.apple.com/support/downloads/javaformacosx105update1.html
*

http://www.oxavi.com/blog/A_Look_at_the_Android_SDK_In_Linux/23
* http://www.oxavi.com/blog/Programming_for_Android_with_Eclipse/24

MEMCACHE

* http://www.lullabot.com/files/install-memcached.sh_.txt
* http://www.lullabot.com/articles/how_install_memcache_debian_etch

Django on Leopard

Some quick instructions for getting up and running with django on leopard …

Checkout Django
svn co http://code.djangoproject.com/svn/django/trunk django_trunk

Tell Python where Django is
sudo nano /Library/Python/2.5/site-packages/django.pth
Place your path into the .pth file
/Users/enter-your-path-here/django_trunk

Tell your system where Django Admin is
sudo ln -s /Users/enter-your-path-here/django_trunk/django/bin/django-admin.py django-admin.py

Download Easy Install … go into directory where you downloaded .egg
sudo sh setuptools-0.6c9-py2.5.egg

Download Package for MySQL
unzip it and go into directory …
easy_install .
(don’t forget the .)

Note: I already added mysql to my path during mysql install.

Now make sure it all works
python
you will enter the interpreter …

Verify that MySQLdb is correctly installed:
import MySQLdb
MySQLdb.apilevel
should print out : ‘2.0′

Now, verify that Django is working:
import django
print django.VERSION
should print out : (0, 97, ‘pre’) … or something similar …

By running exit() get out of the python shell, and verify that django-admin.py is in your path:
django-admin.py
should print out : Type ‘django-admin.py help’ for usage.

I think thats it … short and sweet … here are the references I used:
How to install Django with MySQL on Mac OS X
Notes: installing Django / Python / Mysql on OS X
Oct
8th
2008

Ruby Development On Leopard

I just looked at my past post and this seems to be a reoccurring theme … how to install X on Y. Again, since my laptop is currently lacking development environments due to recent hardware failures … this time I need to get re-setup for ruby. Since there is already some really good instructions out there … I’m just gonna reference them.

To install ruby and gems for rails … Hivelogic gives great a great breakdown.

To install merb (edge) … checkout this entry. You can install the stable build but I am a real fan of slices which I believe is only available in 0.9.4+.

Well that’s pretty much it to get started … the only other I want to mention is panda which is “an open source solution for video uploading, encoding and streaming.” I haven’t yet played with it but it look promising am going to be installing it soon …
Sep
25th
2008

Railo3 on Ubuntu Hardy

I have a project which is going to be using Railo 3 as the coldfusion engine. It’s gonna be installed on a fresh ubuntu 8.04.1 LTS (hardy) slice.

Here are the steps I used:

First, add the multiverse repositories to your package manager (https://help.ubuntu.com/community/Repositories/CommandLine#what)

Edit this file …
sudo nano /etc/apt/sources.list

Add the following lines to the end of it …
deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse

Next, update and upgrade your installation …
sudo apt-get update
sudo apt-get upgrade

Ubuntu ships without a compiler installed. To get that set up, run …
sudo apt-get install build-essential

Now, we will need to install java so that the built in resin web server can run (https://help.ubuntu.com/community/Java)…
sudo apt-get install sun-java6-bin

For more info on installing and using resin go here

Ok, now lets get to Railo, download the server into /tmp …
cd /tmp/
wget http://www.railo-technologies.com/down.cfm?item=/railo/remote/download/3.0.0.005/server/unix/railo-3.0.0.005-resin-3.1.2-with-jre-linux.tar.gz

Unzip the file and move into into the /opt/ directory, you can put it anywhere you want … this is where I plan to put it
tar -zxvf railo-3.0.0.005-resin-3.1.2-with-jre-linux.tar.gz
mv railo-3.0.0.005-resin-3.1.2-with-jre-linux /opt/
cd /opt

I am gonna create a sym link so that if I need to upgrade to another version at anytime i can just point this to another version
ln -s railo-3.0.0.005-resin-3.1.2-with-jre-linux/ railo

Now change into the railo directory and configure, make, and make install the package…
cd /opt/railo
sudo ./configure
sudo make
sudo make install

Finally, start the server and see it all worked (if you see x-mas colored dumps … great success!)
sudo sh bin/httpd.sh

Check http://ip:port (mine was on port 8600)


Bookmark and Share
Next » powered by tumblr