0
comments
|
Thursday, August 28, 2008
Making it nothing more than a "pseudo-3D photo browser in Flash, a free analog to Microsoft Photosynth."

Labels: GUI, OnLine, Open Source, Visualisation
Fama crescit eundo - Currently at Impulse Speed
0
comments
|
Thursday, August 28, 2008

Labels: GUI, OnLine, Open Source, Visualisation
0
comments
|
Saturday, June 09, 2007
Swivel lets you explore data and share your insights with others. Swivel has data about politics, economics, weather, sports, business and more.You can view information in a graph form but the most satisfying feature is that you can download a CSV file (can be opened in Excel without any problems) and preform what ever action you want on it.

Labels: OnLine, Open Source, Visualisation, Web 2.0
1
comments
|
Sunday, February 11, 2007

0
comments
|
Sunday, January 14, 2007
The good old days. Days when even programing complex things meant you only needed to know one or perhaps two programing languages. When 64kb of memory was sufficient to produce games that are even now played with joy. There are many Commodore 64 emulator software out there but all of them are, lets say, not that user friendly.Labels: GUI, Open Source, Programing
0
comments
|
Wednesday, December 06, 2006
There is always a need to reduce work and programing is no exception. Alot of times there is some algorithm or function that are simply to dirty to code, I call it "manual labor". Under "Manual Labor" I take any programing problem where solution is known but to get to that point we need to spend hours of coding.
Labels: Open Source, Programing
0
comments
|
Wednesday, November 15, 2006
Ever since I first used WinAmp plugin to turn off/on my keyboard lights I wanted to reproduce that effect. finally some time ago I found out how its done and here's how.
The image on the left is from KeyLED 0.9.3 plugin for Samurize that I made.
My programing language of choice is Delphi from Borland since its first birth as Pascal for Windows and later as Delphi 1. Never needed to change so code will be for delphi but it is such a small part of code that it could be translated to any programing language with relative ease.
The trick with controlling your keyboard lights is a very old one. Computer communicates with keyboard on I/O ports 60h which is data port, and with port 64h which is Command/Status port of keyboard. By writing to port 60h we bypass the system and change the LED indicator for eg. Caps Lock to off even if Caps Lock is on but without changing the Caps Lock status. Caps Lock stays on even if LED is off. This enables us to play with keyboard lights without any worries.
Port 64h is used to detect if keyboard is ready. We do that by waiting that status of port 64h becomes 0. Then we prepare keyboard to change keyboard light by writing EDh to port 60h and then wait port 64h to once again become 0.
The waiting for 64h port to become 0 is a safety measure that can be bypassed but I would recommend against it. You would still be able to change the LED state but by waiting for ready state you remove some unwanted artifacts like missing keystrokes etc.
After we prepare the keyboard we can turn off and on Keyboard lights. By writing to port 60h combinations of
we can selectively turn on and off lights on the keyboard without changing caps lock or numlock status.
This is all just theory but how it is applied in reality? Well, Windows XP introduced restrictive methods for accessing hardware ports so we need a library that can to that for us. In the good old Dos there was Int 9 and direct access to ports but not anymore. Library that I use is Inpout32.dll. It is open source so if you really like it you could incorporate it directly into your applications removing the need for "one additional file to carry around".
First we need to create functions connecting to DLL by
function Out32(wAddr:word;bOut:byte):byte; stdcall; external 'inpout32.dll';
function Inp32(wAddr:word):byte; stdcall; external 'inpout32.dll';
With functions for port access defined we can now proceed with writing and waiting and writing and waiting by:
PROCEDURE Set_keyboard_lights(n,c,s : boolean);
var
bErr:byte;
val : byte;
BEGIN
val := 0;
IF s THEN inc(val);
IF n THEN inc(val,2);
IF c THEN inc(val,4);
repeat until (inp32($64) AND 2)=0;
bErr:=(Out32($60,$ED));
repeat until (inp32($64) AND 2)=0;
bErr:=(Out32($60,val));
END;
Procedure presented will take three parameters that can be either true of false; NumLock Status, CapsLock Status and NumLock Status.
This small snippet is all you need to control your Keyboard Lights. Have Fun!!
Labels: Design, Open Source, Programing
2
comments
|
Saturday, November 11, 2006
Cambrian House
"brilliant ideas are submitted (by you) for the community (that's you too) to rate. If an idea gets a lot of support, Cambrian House will build it with the help of the worldwide development community (there you are again). Contributors take their pick of exciting projects, and in return, they get a piece of the royalty pie (...that's money)."Cambrian House is a part of SourceForge.org and there are currently 3288 ideas submitted.

Labels: Open Source, Programing