Archive for the ‘Programming’ Category

My current extension list for firefox 3.0.1

Wednesday, September 17th, 2008

ajax form submits problem

Tuesday, May 8th, 2007

yesterday was a few hours of frustration.

Make sure your your <form> tag is within the same <td> cell element.  Otherwise it’s not XML compliant.

You can have the form outside the <table> — but not between it, and a <td> element.

Gallery is fixed.

Tuesday, January 23rd, 2007

My old gallery is fixed now…

debating on writing a new gallery, or make a plugin for wordpress to have a gallery.

How the plugin would work…
1.) Create a keyword, to enable the gallery.
2.) grab uploaded files, that are images via mime type, and display them.
3.) display the images via lightbox2, or something else that’d be suitable.
4.) Get titles, and descriptions for files

Pretty handy utility, not much else needed. All the hard parts are already handled by WP.

Ubuntu + Mysql setup

Thursday, January 4th, 2007

Wow, that was so painless.

Original Post

Use your favourite means to install mysql, probably apache, php, phpmysqladmin as well…


sudo /etc/init.d/mysql start
mysqladmin -u root password myPassword

where myPassword is your actual password.

to test
mysql -u root -p

enjoy

PEAR::DB_DataObject_FormBuilder howto

Saturday, February 18th, 2006

Wow, I refactored my calendar web app and used PEAR::DB_DataObject_FormBuilder to make the backend.

One thing I have to admit, the documentation for certain PEAR applications lacks dearly. Just like all OSS packages. It’s just the nature of things.

The personal support I recieved from irc://efnet.org/pear was great. After a little guidance, the members in that chat channel were able to help me out. After my refactoring, I decided to write a basic howto. (more…)

Blowfish

Wednesday, February 1st, 2006

Do that whole login password setup. Encrypt everything text… I’ll try and figure out a way to encrypt pictures as well, but there’s really no point in doing that either. Images will be product images… I just don’t want the data will be useful at all. The page will be all managled anyways.

blowfish… the saviour. (more…)

flash dynamic preloader

Sunday, September 18th, 2005

Flash has a nice tendency to not load stuff properly. This is because I’m so used to linear processing, as opposed to parallel taskes to be done at the same time.

With this in mind, flash causes start/finish issues. Flash will try to use an object that hasn’t been completely loaded yet. So checks all these checks have to be put in place.

The alternative to checks, is to preload that objects. Which, if you know nothing about actionscript is a little daughting.

I’m in the middle of writing a modular preloader for dynamic content in actionscript 2. At least the dynamic content’s size can be calculated.

This really shouldn’t be that hard, except the fact that I don’t know the scruture of actionscript. Perhaps this will be the new thing I’m going to learn…

New pet project, simple group schedular

Tuesday, August 9th, 2005

- Allow user to login/register.

- Select what days they are free to do this project.

- Colate Dates which are good.
- Different shades from Red to Green, where the more green something is, more people can show.

User: ID / Login / Password / email / IM contact

Event: ID / Description /Map / Date Start / Date Finish / Notes (Unique rows)

Event_User: Event.ID / User.ID (Unique rows)

Attendence: User.ID / Attending_bool / Note

Populate Calender:
Given: Event.ID
Select * from attendence, Event_User where Event.ID = $EventID

Flash Burnin Effect

Friday, August 5th, 2005

This is for a flash action script 2.0 file.

requires: http://laco.wz.cz/tween/to be installed to function

Note some aspects of this code:
- dynamically loads a directory full of images (jpgs specifically)
- fade aspects are definable.
- recursive function for looping through images.
- just a setInterval for the master loop. (more…)

Simple pleasures in life

Monday, June 27th, 2005

Yesterday was such a beautiful day.

I accomplished so much in the span of the day.

Had good food, panzerroties from the local pizzeria and grilled chicken on a greek salad.

Sat in the sun, smoked a good cuban cigar, having some fine jamacian rum and vanilla coke while read a book by Philip K Dick - The Minority Report.

The Minority Report, is just one of the short stories that are in that book. It’s a compilation of serveral short stories.

After all that lounging I decided to wash my car and driveway.

That got me in a productive mood, so sat down and nearly finished writing the adminsitration backend for my client. Just need to tweak a few things, and all should be good.

All in all, a very productive day. Hope the rest of summer can be like this.