Udp based Chat Program [JAVA]

requires newest Java to run (1.5.0...)

NETWORK PROGRAMMING [UdpJavaChat.rar]

A java based chat program using the UDP protocol.

The chat program consist of 3 separate entities.
1-NameServer
2-ChatServer
3-ChatClient

1-NameServer serves as the centre to save and manage multiple ChatServer details.
ChatClient first connects to NameServer to get details about the ChatServer they wish
to connect to.

2-ChatServer servers as the centre to save and manage Chats between ChatClients.

3-ChatClients ,this is the user interface ,where the user chats with other ChatClients
connected within the same ChatServer.

Read the comments in the JAVA files for instructions or see the flash tutorial-presentation
on how to use and how the program works. The flash is in .exe(executable file) available in the [UdpJavaChat.rar]

WIRELESS THERMOLOGGER [JAVA-C-FLASH]

TEAM PROJECT 2 [TempSensor]


click on vertices(white circle points) to show the temperature for that instance.

Load >> [TempSensor]


This was a team project ,my teammates:
and we are onUQ's Honour Board (BEST TEAM)

Stuart Mckenzie
Nathan Ting
Fadley Mohd.
chee chien,chew (ME ;) )

This is a working product, although we could only transmit 2m ;(
Basically the product is divided into 4 parts

[TEMPSENSOR-TRANSMITTER] (C-Atmega88)
--WIRELESS--

[RECEIVER]
--SERIAL--
[PC LISTENER] (java)
--XML--
[USERINTERFACE] (flash)

[click here to download report 5- Final design report]

(some image from the report)

TRANSMITTER

Final result
Mechanical layout
Electical diagram
Receiver

Final result


Mechanical layout





Electrical diagram

Mathematical illustration of artifical 3d coordinates (read the report)



Organism growth visualisation [JAVA]

requires newest Java to run (1.5.0...)

1 - Algorithms and Data structures [organism.rar]

This assignment was basically trying to create a program (uses hash table system) that shows how an organism grows starting from a single cell.

Further explanation of the use of the program and how the program works ,AFTER MY EXAMS haha so for now here is the sample of the program. with some sample organism rule.
The program takes the rule and grows the organism in 2d .

Also take note this is just a basic system as the growth of the organism is much more complex and butterfly transforms from a catterpillar and doesnt grow from a single cell lol.

Any how check out my SuperButterfly it was a bonus question. and there was extra marks for flair.. so i went crazy with it haha.

PLEASE read the README.TXT to see how to use my program. please email me or message me if u need help with running this program ;) c4xsky@gmail.com

OLD STUFF [Flash]

Here is the compilation of my flash work and some design stuff back in high school. Approximately 6 years ago.They are chronologically lined out starting from the newest to the oldest.Right back to when i was using flash 4 ;)


[1] - [EnhancedCv.rar | Sky ]


Last intense Flash i did.3 years ago.A compilation of my previous work to try to apply for a flash placement in ASTRO Malaysia. but in the end i didnt send it in .Coz i think i was'nt good enough yet.(-_-)"

thats why its in .exe format. wanted to make sure they could see it.Didnt want to take my chances.lol I could'nt find back the original .FLA file so this would be the only format available for viewing. Iv zipped it up so that all the other related files are packaged together.Just clicked on the enhancedbio.exe file once u have unzipped it.
Enjoy ;)


[2] - [ N2.html | Sky ]


Another portfolio site i setup just for fun. did it mostly in macintosh. Well basically most of my things back then was done in Mac. It was actually made to test out draggable and collapsable characteristics.

Ps: if it doesnt play.Right click and press play.

[3] - [ Blender.swf | Sky ]

haha This was made for a friend "**" who wanted to use it for her assignment on multimedia i think... and it was about fruits! haha. so i just modified it and put my first portfolio up.But the links in this thing doesnt work.Just have a look for fun !

Ps: if it doesnt play.Right click and press play.

[4] - [ Neo.swf | Sky ]








2nd animation i did with flash. A scene in MATRIX 1 where Trinity and Neo went in to some building to create ultimate chaos HAHA. Have a look this is fun!I used sounds from Counter Strike! ;) i had lots of fun doing this. Lookin back wondering why i stopped.

This is actually best viewed in EnhancedCv here u can see the sides... so i recommend downloading EnhancedCv for best or just right click and save it to your desktop and run with the flash player

[5] - [ Millenium | Sky ] [ mainpage.html | Sky]

This was also a site i made for a friend.Pretty elaborate site. I loved the main interface and the intro site. The links on this things arent working coz they were linking to the free server sites, i think it was lycos or fireangel or something like that.bcoz the links are embeded in the swf there is noway for me to edit them. And i keep losing my .flas for this stuff i donno why.

Oh yeah and i forgot to mention its a site about Backstreet Boys's millenium album.


[6] - [ SMKBBSP | Sky ]

One of the first Flash based things i did. It was for my high school website. Which we were the pioneers.;p

Unpublished AS [Flash]

This is the unpublished version of Aspirasi Awansari .This is the flash version which was abandon. As during the time Malaysia broadband wasnt up to standard yet. Streamyx wasnt widely available and introduced yet therefore the loading time for a flash based website wasnt acceptable. Therefore the html version was created instead as can be seen at www.aspirasi.com.my

[ ASV2.swf | Sky ]

ASV3


some old cover page.

Simple ,Efficient FILE LOCK

Here is a cool and simple way to lock your files from prying eyes. Without using any software ,it is just a technique.

If you are Using Windows XP open any folder and and click on the

Tools>Folder Option>View>
and unselect the Hide Extensions of known file types.

This will release the file extension which is by default is hidden.( File extension means .txt, .jpg , .doc etc.)
By renaming the file extension ,automatically Windows Xp and most windows would not recognize the file. Even an unexperienced spy would ignore the file . Eg : renaming your secret text files that contains your credit card details to filename.mpg or filename.dll or something you like ,like filename.sky

One more cool example would be renaming your files into .zip or .rar files. The spy would try to unzip it but... its not even ZIP! haha cool huh (zip means compressed file).

This is a very weak protection but is a very good protection.There are a few ways to break this .

1) If its a video file just force load it on VLC media Player. VLC media player doesnt care what extension it uses if it is a video file with format it knows it will play it.

2) If its a text file, doesnt matter if its Microsoft .doc or .pdf you can just force open with notepad. Text file are harder to lock with this method but will make it harder to find. because any file can be open as text file and if it is in some kind of text format it can be viewed with notepad, without the formatting of course ,infact those formatting would appear like jibberish. Try opening .doc in notepad. Therefore it is safer to save your text documents in image files, using bitmaps or any image editor with text writing capabilities.Or you could take an image of your document using print screen and paste in microsoft paint.

3) load the files in Macintosh operating systems. the Mac OS doesnt use files extension systems like the windows but rather reads the header of files to identify its class.There is also away to lock this.

Besides reading extensions of files Operating System and applications also read HEADERS of the file.Usually the beginning of every files there is a header sometimes text introducing it self. Telling applications and OS what file type,size and etc. about it self. Try opening a video file with a notepad to see for yourself,but becareful not to open large files. Notepad has a file size limit. Get wordpad or other more powerful text editor and you might be able to open those larger video files. Also you could use a HEX editor. Anyway what im trying to say here is but cutting out the header of these files you would add another level of security to locking your files. These header you could save it in another file .If you want to send sensitive information then you could send this file separate from your main file.

Actually the method discussed here is not a lock Rather its a way to make your file NOT RECOGNIZABLE to your operating system and application, by taking out data that tells the computer what data it is.

There is more complexity you could add to this system, which could make it feasible to be used more generally. But i havent had the time nor the need to write up a program. ;)


Flying Star ( Feng Shui )[ Flash ]

This is a lecture presentation made for a Feng Shui Lecturer in Malaysia teaching Feng Shui ( Geomancy ).This tutorial is about the basic of how to use Flying Star. This is what you see those Feng shui master do when they fiddle with their fingers. Though it would take too much time and it wouldnt be in the right section so ill leave explaining how to use the flying star some other time... or if u are really interested email me .. If there is enough interest i might just write up an explanation. But for now, for those that know the fundamentals enjoy...

*Note :
Because i have lost the fonts for the FLA i didnt want to risk changing the font and messing up the whole presentation so i decided to just tell you how to use it.

Press the RIGHT key to proceed and when the Main Flying star numbers have been flown out mouse over at the bottom of the page will show the details to Fly ying or Fly Yang.


View : Flying Star | Sky
This is a lecture presentation made for a Feng Shui Lecturer in Malaysia teaching Feng Shui ( Geomancy ).This tutorial is about the basic of how to use Flying Star. This is what you see those Feng shui master do when they fiddle with their fingers. Though it would take too much time and it wouldnt be in the right section so ill leave explaining how to use the flying star some other time... or if u are really interested email me .. If there is enough interest i might just write up an explanation. But for now, for those that know the fundamentals enjoy...

*Note :
Because i have lost the fonts for the FLA i didnt want to risk changing the font and messing up the whole presentation so i decided to just tell you how to use it.

Press the RIGHT key to proceed and when the Main Flying star numbers have been flown out mouse over at the bottom of the page will show the details to Fly ying or Fly Yang.


View : Flying Star | Sky

EnviroMission Windpower [ Flash ]

This was an assignment i did for my diploma in Computer System engineering in informatics.

I was to examine pros and cons of each wind system designed. Do research and provide an original and feasible wind power design that will meet the demand of today power consumptions. Due to my belief that depending on the wind generated by nature is insufficient i have based the research largely on the air-thermal wind power system .Where enviro-mission has one planning to be built in australia and it is now in the 3rd planning stage.

>> Wind Power Research Word Document











>> Click here to have a look at the enviro-mission
air-thermal wind power website.

The website also has video by Beyond 2000 about the experimental one build in manzares,Spain near madrid. It was funded by the German Ministry of Research and Technology (BMFT).

Based on the model i have conceptually designed 3 different ways on improving the system.

Here i will dicuss briefly on the 3 conceptual ideas in the presentation please have a look at the presentation of the links above to understand the basic model first.

  1. The first idea was to put the model on a water source like a lake or seaside. The idea was to use the water as heat keeper to be released back at night and also take advantage of the water condensating at the rooftop where a water catchment built to draw evaporated water.Therefore we have both power and clean water as these water does not contain any mineral properties it would suit industrial and toilet water usage.
  2. The second one is based on the scientist Victor Scharberger this is a bit hard to explain thus is best explained in the flash presentation .This idea floats around very complex idea close to free power. As this is just based on my understanding i could be wrong. Therefore would need you to read through about Victor Scharberger's work and see if what i theorized here is right.. Feedback on this would be cool
  3. This is my favourite as i see the idea pretty feasible .This one is very well explained in the flash presentation.It also uses the idea from Victor about twirling winds .

Here are the links to all my research and all the links above are repeated here for easy navigation.

+ Wind Power Research Word Document
+ Flash Presentation Wind power
+ Enviro Mission
+ Viktor schauberger

MineSweeper [JAVA]



Mine Sweeper made in Java j2sdk 1.4.2
Have a look at the coding and the comments for more info.

Included in the .rar file is 3 .bat files and the minesweeper.java file
and a read me file.

edit the path to your javac file

MineSweeper[Download](Java)

Qsearch [ MsAccess ][VB]

This is a program made in Microsoft Access which requires Visual Basic programming.It is made for a company called Aspirasi Awansari based in Malaysia doing advertising merchandise. The company was in many years saving its database of quotations in hardcopy (paper+folders) and saving its documents in word and on a systematic folder systems.But because their database has grown too large to handle in that system and searching for data is a pain in the arse.Therefore they were looking for a new system.Which lead me to research and design Qsearch(quotation search). Not only that , i have also developed a JAVA program called Qextractor that scans thru all their word documents folder by folder and extract data from the document and saves it into a few text files in CSV(comma separated value) format. Therefore enabling MSAccess assimilate with the old database.Please refer to Qextractors post for more details

Because the employee was familiar with the way they worked on the quotation which was using MSWord so i also included a print to MSword button that enables them after inputing data on new quotation into acces then transfer those data in word in a standard format then let them edit the document with necessary changes before sending in to their customers.

Below is the link to the MSACCESS
file. Please refer to Qextractor for the java program.

>> Qsearch [Download]

*Note remember to press shift when clicking on open when opening Qsearch to enable editing mode.
(made on MSACCESS 2003)

Qextractor ( Data search ) [ Java ] *to compliment Qsearch

This is a program built with Java j2sdk 1.4.2. in support of Qsearch. Its purpose was to extract data from MsWord based files stored in a very large folder base database.

The main problem was that these word documents based database didnt exercise a strong format. Thus files out of format must be detected fixed or added as a pattern into the search.

The data extracted is to be outputed in text files in the CSV(comma seperated values) format as this was a format that MSAccess could import.


An example of the word document it was made to scan:

The program in action.. with some results in those text files.



The challenges i had while writing this program was:
  1. to teach java how to skip jibarish headers on word documents when open up in text file format by java. You can see this by renaming any .doc to .txt
  2. Look for common characteristic in the word documents.These documents had low enforcement on formatting therefore resulting in so many versions of Qextractor where each version had some "fixing characteristic" to find the common characteristic and output the file names that was out of line and to fix it manually if it is less than 10 .Anymore than that would be to fix it by writing a subprogram to put them in line or to teach Qextractor to accept more wider characterics of input. Example searching for colour would to scan for "colo" rather than colour where sometimes it is spelled color.
  3. Traverse all directory and find every word document.
  4. one large problem faced that was not overcome was scanning for table based data in those word documents. It was impossible or hard to include this ability for Qextractor tas there was only less than 3% of the files having this characteristic therefore these files were skipped and manually entered into the database instead.
  5. Characters had to be scanned as their approriate ascii numbers to maintain integrity as word had lots of formatting headers and charater based formatting.
Some other characteristics(those i can remember hehe)
- Extracts Quotation data from word document and saves them in respective text file in CSV format.
-Gives error if expected value is not found in file
-Seperates contact details, company and customer(people in that company) and does NOT-REPEAT them

I guess that is all i can comment on the program for now please have a look at the sample data output and sample word document the program was scanning.

Qextractor10 .java & .class with some test documents it was made to scan from.[Download]

*Checkout the Qsearch made in MsAccess ,the main reasone this program was made.