Sunday, December 31, 2006

-= wind farm =-






since they put up the wind-farm rather abruptly in my sleepy village i have had nightmares.
The only way to conquer my fear would be to take the turbines head on.
Hence this set, "organic wind farm" by yours truly,
daniel rh bougourd



Posted by Picasa


Saturday, December 16, 2006

-= probability distribution =-
mini project


ok, so data compression courseworks are complete. I got a first and my assignment 1 programs will be published on the uni learning centre for future students to admire (and maybe learn from).

So here is the first program from coursework 1, its a random probability distribution generator. Say you have an alphabet of 3 characters, A, B and C, and you wish to generate a random probability set for them, where the total probabilies equal 1, you simply type 3 into the box and click submit. Quite simple, and obviously is more convinient for larger alphabet sizes.
Usefull for use in maths and data compression.

take a look here
source code here
 Posted by Picasa

Tuesday, December 12, 2006

-=Another Mini Project=-

flash frontend - mysql backend


The latest of my inventions hits the uk market. I made this whilst researching for my 3rd year project.
I liked the idea of a flash front end, as it offers massive improvements compared to php, for example creating my on screen keyboard will be easy in flash and php, but in flash you dont get the 'html blink' when the page refreshes.
So this set of files contains a front end (flash) with a middleman (php) and a backend (mysql).
When you enter a name and click search it will return the age in the box on the right.
This code is as basic as I could make it, so that it is easy to expand on. Many tutorials i read made you put in so much code which wasnt needed. This is simple, which means adding extra colums etc is very easy.

This code will be the base of my product location system (3rd year project).

you could view it online (although it wont work as the database is local) here
so i recommend downloading the source code here

next project: binary to ascii conversion
(opposite of before)
 Posted by Picasa

Monday, December 11, 2006

-=new mini project=-
LZW Encoding Module



This script encodes ascii text into a compressed binary format.
It uses the LZW compression algorithm, which works best on long files, so it's preloaded with an article on frogs from wikipedia,
it will compress that to roughly 50%. If you try to compress your name, dont be suprised if theres no compression.

LZW (Lempel-Ziv-Welch) is a lossless compression algortihm made in 1984 and it is an improved version of the 1978 LZ78 algorithm.
It starts with a dictionary of the 256 ascii characters, then adds extra character combinations to the dictionary, then outputs a list of dictionary tokens.

Source code will be available next week, as this is currently a live data compression assignment due for demo this week.

to use the LZW compression module click here
Posted by Picasa

Wednesday, December 06, 2006

-=mini projects=-


ok, so it pains me to say that work has been hectic,
and i've found myself coding lots of usefull small scripts.
i'm also hoping to get a decent job soon, so the bigger my
portfolio the better. so i've been publishing (open source
of course) all my scripts. This one is good for when you
need to know the binary for a charcter (say in java). It
also lets you code messages in binary which is good....?

take a peek here
source code here
Posted by Picasa