Vosandi Nethumsa

Posted in Uncategorized on October 19, 2018 by Ruchira Hasaranga

Original Art: Pinindu Milan

Enhanced By: R. Hasaranga

Starting Forth CHM Version

Posted in Uncategorized on October 7, 2018 by Ruchira Hasaranga

This book is one of the best programming language books I’ve read. (contains animated illustrations)

Forth was very much a product of memory and time constraints, of an era where computers were incredibly tiny and terribly slow. It was a beautiful design that lets you build an operating system and a compiler in a matchbox.

It will change the way you think!!!

Download:  https://drive.google.com/open?id=1nw-qpkY8F21VGBZPbvL4rFU9rnvDZcFy

My COM Books Collection

Posted in Uncategorized on September 28, 2018 by Ruchira Hasaranga

COM is love… COM is a religion…

My Bike Executes Prolog!

Posted in Uncategorized on August 26, 2018 by Ruchira Hasaranga

This is how my bike fires alarm when stand is on: It runs Prolog query to detect risks & fire alarm when needed… But why Prolog? Instead of giving microprocessors direct instructions for doing things, we can give it specifications of problems and let it find the answers. As a human your skill is understanding what needs to be done; the computer’s skill is working out the best way to do it.

Facts & Rules interpreted on bike:

when (no-risk , alarm-off)
when (on-risk , alarm-on)
when (stand-on , on-risk)
when (stand-off , no-risk)

do-when (Situation , What) := when (Situation , Y) , when (Y , What)



I used DM ProMicro and flashed it with Haze-Prolog interpreter. Haze-Prolog is a light-weight prolog interpreter which can be run on embedded systems.



Here is the block diagram of the system. Reed switch used as a stand sensor. Output of the ProMicro fed to a buzzer. When power on, Prolog query runs on infinite loop to check the status of reed switch & fires alarm if needed.



Here is the photo of my bike. Front cover removed to install prolog module. The module was connected to the power connection of the side head light. The module will be turn on when ignition switch is turned on and it will check the status of the stand & fire alarm if needed.



This system can be extended by adding more sensors and output devices.

සිප්නැණ Microprocessor Programing Articles

Posted in Uncategorized on August 18, 2018 by Ruchira Hasaranga

Scanned articles about Intel 8032 processor in Sinhala.

I read these articles from “සිප්නැණ” magazine when I was in grade 9 (1999). I didn’t have a computer at that time and I was using pencil & book to draw circuits. I remember drawing processor and rom on a paper and interconnecting them… thinking about them… dreaming about them…

These articles inspired me to learn about bare-metal programming. So I scanned them to preserve it for the future.

Selfies with a Sea Turtle @ Polhena

Posted in Uncategorized with tags , , , on February 11, 2018 by Ruchira Hasaranga

Camera: EKEN H9R

Location: Polhena, Matara, Sri Lanka



Understanding UFOs

Posted in Uncategorized with tags , on June 28, 2016 by Ruchira Hasaranga





Possibilities :

  • aliens
  • earth lights
  • plasma beings
  • angels / demons / spirits –  (my opinion)
  • mental / subconsciousness  manifestations
  • control system / nature

Quotes from researchers:

“unidentified flying objects are neither objects nor flying.”

“it is probably the deepest mystery that mankind has ever encountered.”

“The UFO behaves like a region of space, of small dimensions (about 10 meters), within  which a very large amount of energy is stored. This energy is manifested by pulsed light phenomena of intense colors, by other forms of electromagnetic radiation, and by microwaves that create distortions of the witnesses sense of reality.”

“But the UFO phenomenon simply does not behave like extraterrestrial visitors. It actually molds itself in order to fit a given culture.”

“There seems to be no evidence yet that any of these craft or beings originate from outer space.”

“UFO behavior is more akin to magic than to physics as we know  it… the modern UFOnauts and the demons of past days are probably identical.”

“The UFO manifestations seem to be, by and large, merely minor variations of the age-old demonological phenomenon…”

“A working knowledge of occult science…is indispensable to UFO  investigation.”

“Studies of flying saucer cults repeatedly show that they are  part of a larger occult social world.”

“The symbolic display seen by the abductees is identical to the type of initiation ritual or astral voyage that is embedded in the occult traditions of every culture…the structure of abduction stories is identical to that of occult initiation rituals…the UFO beings of today belong to the same class of manifestation as the occult entities that were described in centuries past.”

“These ufo manifestations border on both the physical and the mental.”

“If we reject the naive theory that the UFO phenomenon is caused by friendly visitors from Mars, what alternatives can we suggest?”

“Incredibly complex system is communicating with us symbolically. it has access to our psychic processes we have not yet mastered or even researched.”

“Human beings are under the control of a strange force that bends them in absurd ways, forcing them to play a role in a bizarre game of deception.”

“The real phenomenon is hiding behind a carefully engineered smokescreen of propaganda. Those funny lights and their hypnotic waves of energy are part of something that is related to this planet, and to us. But that something may be far beyond our meager powers of comprehension. There are forces that can distort our reality and warp our fields of space and time. When we are caught up in these forces we struggle to find acceptable explanation for them, and then the manifestations begin to conform to that explanation and so reinforce it. Every few centuries, however, we abandon the old explanations and come up with new ones. Then the phenomenon obligingly tailors itself to those new beliefs.”

“There is a medium in which human dreams can be implemented, and this is the mechanism by which UFO events are generated.”

“The phenomena function like an operational system of symbolic communication at a global level.”

“For many years, this phenomena have served as a support for human imagination, a framework for human tragedy, a fabric of human dreams. We reacted to it in our movies, our poetry, our music, our science fiction. And it reacted to us.”

“This phenomena is a part of the environment, part of the control system for human evolution.”


NOW Player Released

Posted in Uncategorized on June 17, 2016 by Ruchira Hasaranga


Small mp3 player made for my own use.

Visit Official Page

Download from 4shared


RFC Framework v0.2.5 Released

Posted in Uncategorized on February 10, 2016 by Ruchira Hasaranga


What’s new:

  • added KFile, KDirectory classes
  • added 64bit support
  • added some examples
  • compiled using VS2013
  • updated api documentation


Download from 4Shared

Metal Guard For 32Bit Operating Systems

Posted in Uncategorized on November 7, 2015 by Ruchira Hasaranga


It protects your pc from malware infected usb drives.

Tested on win xp & win 7

Download From 4shared