Entries Tagged 'Tech' ↓

Getting virtualized python , django, and mysql working on OS X snow leopard

Yesterday, I was able to  to get django, installed with mysql support.  I used several websites to get it working right.

1) i installed mysql (64bit) from the official builds on mysql.com

2) i installed virtualenv from setuptools. I typed the following:

$ sudo easy_install virtualenv

3)  I created directory for my virtual environment for python by typing following:

$ virtualenv -v mydjango

4)  Downloaded mysql python module from http://sourceforge.net/projects/mysql-python/files/ placed it in mydango directory.

5) in the shell, i went into mydango directory.

6)  I then activated the virtualized python envirtonment

7) I then  compiled  mysql driver by typing the following

$ ARCHFLAGS=”-arch x86_64″ python setup.py build

8)  installed the driver. typed the following

$ python setup.py install

9)  I downloaded django and placed it in mydango directory

10) Installed django by typing

$ python setup.py install

Namespaces in action – Stubblog

Namespaces in action – Stubblog

This is cool .. seems like there is a patch for namespaces for php5. so it seems that namespace might come with php 6? if it comes sooner then it would be much more cooler.

decentralized social networking websites

Obviously there is a lot of social networking websites out there.. it is all very walled garden like .  though facebook has started to open things up a bit.  i have been thinking there has to be a better way of sharing all “friend” information between them in a decentralized way. i am not sure of the total concept yet .. but something a long the lines of FOAF file formating. I  might need to ruminate it a little more though.

GRL demo

I went to a lecture / demo of the graphitti research lab. It Pratt Institute’s DAL and DDA . It was really cool. I took some pics on my cell phone of the demo

.

demo 2

demo 1

04-12-07_20051.jpg

04-12-07_2006.jpg

finally some free time

for the past few months, I have been doing a lot of work. I was trying to write a custom CMS for Pratt Institute website.  It was quite the expericene. i learned a lot … of course there were mistakes made..

i think might just do some post postmortem on the whole project.

steps to lisp(the language)

I saw a interesting post on planet rubyonrails . Lucas Carlson how he went from PHP to Ruby to  Lisp .  I always regretted not learning Lisp as a undergrad. I want to learn it because it might actually improve my programming abilities.

Web Clipboard

I just saw the demo of web clipboard system from Ray Ozzie. His blog post explains concept very well. The concept of sharing structured data between web pages and apps . The concept is so simple, I thought it would have been developed sooner. the screencast are cool. i wonder if there will be ports for live clip for linux and mac…

thinking about work

Currently, I work at Pratt Institute. I am right now creating a new cms system for their new website . It is essentially be a basic cms system for multiple users. Only added wrinkle is that I adding a editing feature . This is all nice and cool. However, when this project is done I would like to do something more for the “Pratt” community.

I guess want to create nice web apps in the “web 2.0″ style that can be used by the whole community. I need to think about how the tools should look like. I think these tools should be very simple and flexible. I think this would my apps to be used the most. I heard dan bricklin on gillmor gang show talking about applications that become popular. He was saying that spreadsheet became popular was because it was pliable to different functions and users. I need to keep in mind that the audience i am developing for . At pratt, mostly artists and academics will be using it . I would have to make the functionality based around this fact.

who knows..

it would suck….

it would suck if this would happen if the rumors are true . I don’t want Oracle to be in control of Zend .  it would make the future of php very  very cloudy. ..

SVG+ Javascript + firefox = cool

Past few days, I have been using Mozilla 1.5. I have to say that there is a lot improvements in the browser. The one thing i was looking forward to was SVG. It seems there is a chance svg + javascripting may become a light weight alternative flash.. however, the the pc cpu usage with scripted svg becomes really unweildy. i tested it by trying canvascape. A walk around similiar to doom. The canvas scape took 70 percent cpu usage when running around the maze. i wonder what would happen if svg + javascript+ ajax was used in a application..