Sunday, December 31, 2006
Saturday, December 16, 2006
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
ty-ped by boujemong at 3:02 AM 0 comments
Tuesday, December 12, 2006
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)
ty-ped by boujemong at 2:40 PM 0 comments
Monday, December 11, 2006
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
ty-ped by boujemong at 9:07 PM 0 comments
Wednesday, December 06, 2006
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
ty-ped by boujemong at 3:20 AM 2 comments
Monday, November 13, 2006
Saturday, November 04, 2006
Tuesday, October 31, 2006
Monday, October 23, 2006
back to the good stuff, i went to see panic at the disco last night and it was amazing, i thought billy talent was good back over summer, but this topped it. There was a huge windmill on stage and dancers all dressed in period clothes. i actually felt like i was in a different time zone. and you know maybe electric guitars should have been invented sooner.
i'm keeping it as my default player, but im still longing a music player that suits all my needs (i.e. keeps my folders organised, and doesnt add the same song twice.)
ty-ped by boujemong at 2:34 AM 0 comments
Friday, October 20, 2006
Sunday, October 08, 2006
ok, so a real post, and this one sure as hell is real.
we start our journey at 8am on wednesday, we are all awake and getting ready for lecture, the day goes on, and then i go to work at tesco at 6pm. at 9.30 i get a call from ronnie, who has convinced everyone that we should all go to brighton, even tho we are über tired and need some rest, as we are up again at 8.30 for gay lectures. so, i get home at 10.30 and we talk the plan over, which is always bad news seeing as if the plan goes ahead, it goes ahead later......
so we get in the cars at 12.00 midnight and head for brighton, only my tom tom doesnt let you just say "go to brighton" it wants street names, and it shows all the street names within a million miles of brighton. we only realise this however, when we get past lewisham.
too far gone we call in for backup. our good friends over at http://www.musicboffin.net quickly got onto google maps, (it had to be google who saved us) and fixed us up with a brighton address. we then drove for 2 hours to a cold and wet beach, to which i went in the sea i may add. took some photos, bought a lighter and smoked some good olde shisha on the beach. freezing a tired we still held faith. we stayed for about an hour or so, and then got some local arab chicken burgers for the ride home.
4.30 am and we are back in brockley. shattered and broken. gotta be up in under 4 hours and we've been up for over 20 hours, driving the last 4.
anyway made it to lecture ok, so the moral is, you can go to brighton in the middle of the night and
not bear any consequences. i reccomend to all.
ty-ped by boujemong at 2:11 AM 1 comments
well it seems that picassa and blogger work good
with each other,,, just sorted out some collections
in good olde goolglé (thats right we pronounce it
"goo-glay" now, because that's what it is), picassa
and fancied a try at the old upload thingy, which
quite frankly saves me photoshopping them to resize
and then uploading them and linking them, it all
works a dream, but then i have just donated another
photo of mine too google.
With some software i'm sure they could write, they
could then read data from the photos i suppose
a bit like that new microsoft thing which matches
photos of the same location. So google, you can
know find out where i live and where i go out for
lunch, Who knew data mining was so usefull.
ty-ped by boujemong at 1:58 AM 0 comments
Monday, October 02, 2006
i started to use google calender this week, but those novelty things, much like this blog, only last a few minutes, and its not the best calender i've ever used, if you have repeating events theres no way to set up the repeat, like there is on my phone etc. so this makes dull times of your life, such as work, even duller to keep writing in your calender....
also im not too sure on how much of our personal info google actually needs. So far they know all my friends and their e-mail, and they can search through all my mail, so they probably know what toilet paper i use, so letting them know when i actually go to the toilet (i.e in works time!) is a bit too much i think.
I'm not one of these "your credit card details are NEVER safe on-line" kind of people, but i dunno, google's really starting to get me with all this "free services" bullshit, we all hate microsoft for owning our computers, but we are letting google in everywhere and even making them a cup of tea whilst we are at it...... just like i hate the idea of soya everything, i hate the idea of google everything.
well time to take a toilet break google.....
ty-ped by boujemong at 3:50 AM 1 comments