Saturday, December 23, 2006

2006 was the year...




2
0
0
6
* I learned FDTD (finite difference time domain)
* Most of my parallel implemented (MPI and FFTW based) Gerchberg-Saxton algorithm (PIGSA) was accomplished after the construction of the CSRC high performance cluster near the end of 2005.
* My hair had grown to its longest length so far since my last trip to the barber in October 2005 (around SPP time)
* I had two SPP publications
* Consequently, I had an incomplete less prioritized RGEP subject
* I had to ride an airplane for the first time for the sake of SPP


A large piece of flying metal with some heads of unidentified people in the foregound

* DOST had not given it's UPD scholars' stipends on time (As usual. Hopefully they will give it early in 2007)
* Scholar (or more appropriately "iskolar") was apparently defined as a student activist that don't necessarily study at all
* Lantern Parade was canceled consequently
* A friend recruited me to projectw
* ebookz had flourished on the web (making .djvu become as widespread as .pdf), along with one-click file hosting and many other freebies ending in "z" (mp3z, moviez, warez, etc...)
* I had seen the first Terminator movie for the first time (in mpeg-1 format vcd compliant)(atleast for the first time I'm aware of it). This movie is as old as me (approximately). The burning TV scene in Kyle's future will probably pollute my mind for many months to come.


3d-tv with audio, visual and even thermal transducers, a future possibility
point mouse to picture


* My friendster account magically disappeared some time in January (although its profile link and last photo might still be seen)
...now you don't.

* I used up 140 pages of my IPL log book (more than half of my total usage since page 1, Aug 22, 2004)
* I had to turn off my high-tech alarm clock (it comes with a blue flash light, 64kb of external storage capcity, some games, and even has SMS capabilities) more often not just to save battery life, but also because it is underutilized.
* Some sons of a bitch and a bitch (literally and sometimes figuratively) were introduced into my residential ecosystem, thus displacing me from my local study area with the stench of their waste matter.




* The year's greatest scientific disocvery was made during March 31 at the new NIP building around 7 pm. ATCHONINGUS ASTIGANUS SAPIENS SUPERIOR, a highly evolved astig was discovered by members of the Instrumentation Physics Laboratory. Experts have not agreed yet on the scientific name's notation, although it is likely that the default italicized or underlined writing won't be used (For now it is written in blinking bold all-caps as a reminder that it should be written uniquely. Maybe biology books have to be reinvented to render blinking fonts).

Wednesday, December 20, 2006

Open source replacements



This site saves you the trouble of searching the top free alternatives yourself (and if you think there are still better alternatives, it allows you to help others by suggesting them).

Osalt: open source as alternative

Although other sites (freshmeat, sourceforge) may be helpful, osalt is organized to show what open source software may replace what commercial software.

Read more from this Popular Science article

Saturday, December 16, 2006

Vitamin beer crap

"The whole may not be greater than the sum of the parts"

I was annoyed one day while watching a TV program featuring Filipino inventions/inventors.

Although some of his inventions may deserve respect, the concept of vitamin beer is totally . (I'm giving you the privilege of filling in the descriptive words).


Third Prize (P20,000)
Patent No. : 1-2002-02291
Title : Beer Fortified with Multivitamins (Vitamin Beer)
Inventors : ********
Address : ********
Tel. No. : ********
Abstract : A beer fortified with multivitamins to give it supplemental nutritional value. The multivitamins are stirred in after the primary fermentation stage when alcohol has been formed resulting in a robustly pale-yellowish appetizing pale pilsen bouquet, malty and hoppy brew supportive and supplemental in nutritional states.

Reference Links: Vitamin beer crap, Vitamin beer crap (PDF)

Mix and match child's play should not be considered as inventions unless the whole is greater than the sum of the parts. There's nothing new about vitamins and there's nothing new about beer either. And there's nothing special about combining them. You get the same thing if they were taken separately, plus the bonus of being at a reasonable price (you get what you payed for). It's just like combining the thirst quenching property of plain boring water and the sweetness of sugar's taste, and voila-eureka!, you invented sugar water! It wasn't even mentioned whether they have done a chemical anlysis of the action of alcohol on vitamins it can dissolve.

In lay terms, an invention is a novel device, material, or technique [1]. It is an innovation that is both novel and non-obvious[2]. At best this might be called an innovation that is painfully obvious.

A simple google search would even reveal that it is not an original concept in the first place. There had already been Stampede Beer as early as February 2006. The CY 2006 NATIONAL INVENTION CONTEST was held during November 2006.

It is clear that this is something done to promote alcohol drinking, a large cause of crime and accidents, also health problems (that it claims to solve), a cause of temporary decrease in alertness and intelligence, a direct cause of so called beer bellies, a direct cause of loss of money due to addiction. Unless the mixing of such vitamins cancels these bad effects, it has done no improvement either. Not all alcohol drinkers are responsible enough. But yet we have a government agency encouraging this people. But who is to blame, most of our government officials are tomadors (alcoholics) themselves (take for example the expelled Joseph Estrada or his henchmen). It is disappointing that a good amount of cash was awarded to this.

He's lucky to live at Sucat, Parañaque, making it easier for him to submit such things to DOST.

The Filipino attitude of "palakasan" (the favoring of someone because of his/her past reputation or relationship to the one who is giving a favor and not necessarily because he/she is actually favorable at present) can also be seen here. Had he not had previous 'inventions' and a reputation to keep, and a familiarity to the DOST officials, vitamin beer would surely be a flop.

References:

1. http://en.wikipedia.org/wiki/Invention
2. http://www.novagraaf-intellectual-property.co.uk/glossary.htm

Monday, December 11, 2006

Whatever happened to that old man with a silly costume

Contrary to the rumors that he was shot in the belief that he was a burglar ("akyat bahay"), or hypothermia had frozen him in his hometown (GPS: 90° latitude N), there could be another explanation why children will no longer be receiving gifts from Santa Claus.
Given the testimony of the five year old eye witness who would be called by the name of Jackson, police investigations lead toward homicide.

The testimony: (warning, the following lines may contain adult content.)




"Wow! mommy's kissing santa claus!
I saw mommy kissing santa claus
Underneath the mistletoe last night
...
Then I saw mommy tickle santa claus
Underneath his beard so snowy white
...
If daddy had only seen
..."



It seems that daddy had seen, and it was not a 'laugh it would have been'. As for the mommy, police reports are too violent to be written in this blog.

Sorry kids, I'm not a Santa Claus (or Christmas) fan either. It seems that you won't be getting imported Chinese mass produced self destructing brittle plastic toys this year, and for the years to come. I could only advise you to grow up and face the reality of the world's amazing crime rate.

Anyway, for those who are expecting it, since you have gone this far with this libelous article, allow me to greet you in the most artificial commercialized manner I could achieve:

Merry Christmas!

--Thanatos reporting

Friday, December 08, 2006

Vuelo de la noche (dos)

Mercurio



I could not type another line
I can't resist it anymore
I can not work until I'm fine
I need to go to the drug store

Analgesics on the shelf
In different brands and prizes
Makes me ask this to my self
"Is health care for the masses?"

Punching on her number pad
Numeric codes my tablets had
Faking a smile though she is sad
How would I know, I'm not a god

Reaching through my bulky pocket
Filled with pens and stuff
Whatever's left of my slim wallet
I hope it is enough

I hope it is enough to say
That tomorrow would be better
And if my headache still would stay
At least I should have seen her

Just like the day
She was wearing gray
Going her way
What words to say?

It plays with your brain
Like wet drops of rain
Like the rattling chain
It's not just caffeine

I'm sleepy
My eyes are heavy
I guess they sold me
Decaffeinated coffee...




<< previous next >>

*Thanks to esca of clantemplates for the rollover workaround.

Thursday, December 07, 2006

Machine error demonstration

Either there is a problem with printf, atof, division or with floating point numbers:



#include <cstdio>
#include <cstdlib>
using namespace std;

int main(int argc, char **argv){
if(argc>2){
float f1 = atof(argv[1]);
float f2 = atof(argv[2]);
printf("%f/%f = %f\n", f1, f2, f1/f2);
}
return 0;
}



After compiling and running the given code, I get these strange results:

$ ./div 234 67.9
234.000000/67.900002 = 3.446244
$ ./div 234 67.2
234.000000/67.199997 = 3.482143



The code was compiled with g++ (GCC) 4.1.1 20060724 (prerelease) (4.1.1-3mdk). No optimizations were used:

$ g++ div.cpp -o div

Speaking of division, this article about division by zero might be interesting.

The unbelievable reply

"wla akong lod."
I don't have load.

Surprisingly the message got sent, so I immediately sent a follow up.

"Meron pla. Uuwi ako mmya."
Apparently there is. I'm coming home later.

...Perdonarme, madre.

Tuesday, December 05, 2006

Bugging Clamwin update

For several days the clamwin antivirus applet on the system tray had been bugging me about it's new scanning engine version 0.88.6 (also, at about this time, I had already been recieving nags about the new AVG free 7.5). Unfortunately when I download it using clamwin itself (or atleast clicked the Ok button, assuming that's what it does...), it doesn't install and thus will remind you again about the new version the next time around. Although I could have searched the file or monitored/sniffed/snooped the download process (or just did anything else to stop the nags), I was just too busy to do so. Eventually I just downloaded it using a web browser and istalled it manually.

It might be annoying, but not as annoying as the people who create virus, spyware and spam.

Monday, November 27, 2006

Mark this cellphone number as spam: 639183287002

It is a truth that stupid people still do exist. They think they could fool others by making them transfer cellphone credits to their balance. 27, November 2006, 12:37:01, when I got this stupid message from a stupid sender:

Congrats!!! You
win a 500 load
from PAMASKO
PROMO of
SMART, just type
09183287002
(space)15 and
send to 808,
claim your load
now, thank
u, SMARTZED*


Unfortunately for the sender, not everyone is as stupid as him. When I have enough balance, I usually have a one word reply:

GAGO!!!

Another number of another stupid person is 639283937266

You can't say that they are doing this because of poverty. How would they have the money to send their first pranks in the first place (unless they are supported by other stupid people), assuming they initially have no victims.

I guess they're just simply, plainly, appropriately deserving to be called GAGO.

How I always wished that cellphone service providers have something like spam protection.

Saturday, November 25, 2006

Vuelo de la Noche (uno)

Síntomas




My skull seems too small for my brain
I'd shake my head to ease this pain
If I could only sniff cocaine...
Yeah right, just give me strong caffeine

Fonts are blurring on the screen
Eyelids struggling to stay up
Heavy doses of aspirin
A headache that doesn't seem to stop

As if I didn't sleep at all
Yet I remember waking up
And that strange dream I do recall...
I guess I need another nap

Bloody feathers on my bed
Stained my blanket bloody red
People living now are dead
All of them inside my head

next >>

Thursday, November 23, 2006

A compilation

From Quantum dots to Final Fantasy XIII



Reading a layman's article of Quantum dots in Wikipedia to help with my Materials Science Engineering subject led me to blue lasers. Because such a laser has a smaller wavelength (~405nm) it is utilized on high density optical data storage such as HD-DVDs or blue ray discs (smaller diffraction limit). This data storage is also being used for PS 3 games, although,being a recent development, there are relatively fewer games that exploit it right now. One of these games is FFXIII.


Art Pad



Having been bored with making my seminar slides about the optical experiment demonstrating the uncertainty principle, I tried out Art Pad after seeing the cool guy behind me painting landscape scenes with it. Lacking the features (cheats) of most graphics applications (even M$ paint is better) such as copy cut paste, erase, filter effects, makes it challenging to use. It is almost like actually painting and could be a good tool for practicing (painting without the mess). It also features unlimited undo and a replay which will animate how your painting was done from scratch.

Can anyone guess what is the wall paper used in the 'work' station next to mine?
Unfortunately the link emailed to me that is supposedly pointing to my work doesn't work (Just used print screen before it is lost).


Feynman Books



Just testing the capability of my Google powered ebook search engine. I had been curious with QED sometime, and here is what I found (from Rodichkina Anastasia):
Feynman e-Bookz
It also contains the following
* Feynman Physics Lectures Complete
* Surely You're Joking, Mr. Feynman! Adventures of a Curious Character. Richard P. Feynman.pdf
* Feynman Lectures on Computation. R.P.Feynman - 1996 - by Addison-Wesley Publishing.djvu
* Mathematical Formulation of the Quantum Theory of Electromagnetic Interaction. Richard P. Feynman - Phys. Rev. 80, 440 (1950).djvu
* Space-Time Approach to Quantum Electrodynamics. R. P. Feynman - Phys.Rev. 76(6), 769-789, 1949.djvu
* The Theory of a General Quantum System Interacting with a Linear Dissipative System. R. P. Feynman, F. L. Vernon, Jr. - Annals of Physics 281, 547-607 (2000).djvu

Speaking of Quantum Electrodynamics, UP's hard copy of Feynman's book is strangely located at the School of Economics, instead of the College of Science.


A case of firsts



Apparently my first Wikipedia article is also the first somewhere else... (yeah)




Gerchberg
Gerchberg Saxton
Gerchberg Saxton Algorithm

Wednesday, November 22, 2006

James Bond gets religious

The 007 Club



Synopsis



After all those near death experiences wherin he felt closer to his maker, ever wondered what the finale sequel would be?


A more mature James finally turns back from his detective life and settles down for that little piece of Heaven everyone is longing after. Voluntarily terminating his licence to kill, he vowed to help people in non violent ways in order to somehow atone for the lives he had taken, thinking he could buy his way to Heaven. He lived his life according to the epistle that bears his name.


And he eventually starts a daily TV show...


The 007 Club


External Links

* The 700 Club
* 007
* Pat Robertson,
   Licensed to kill

It had been a long while

The last time consuming drawings I have made date back to about a year ago. And it seems that my skills are deteriorating (just like the paper on which I draw).



Ryu
. What's wrong with this picture?

* The canvas used was small making finer details (such as facial features) less resolved.
* Since only shades of grey were used it is harder to create contrast between features that would otherwise have different colors but are similar in intensities. It becomes more difficult when your model only exists mentally, you have to figure out for yourself how light will behave (FDTD?). The best case scenario is when you have a grey scaled model (2d or 3d?) and a set of pens/pencils that can represent the grey spectrum (rgb(0,0,0) to rgb(255, 255, 255))...
* Black charcoal pencils are harder to erase and smodge, resulting in dark strong strokes that may not (or may) be desirable.
* The use of a smooth relatively shinier eraser made unwanted smodges. Better use the more porous, rough, matted ones. And it would be much better to use clay/gum-like deformable artists' erasers.
* Many more to be realized...



It had also been a long while since my last overnight in the lab and since I left friendzter.

Monday, November 20, 2006

Para el amor de Rusos y de Alemanes

For the love of Russians and Germans



Even if they have character sets unreadable (but very familiar) to me, it is enough that I add ".djvu" (the dot before the extension makes the search more meaningful) on my Google search (in addition to the book title and author of course) to search for ebookz which are mostly found on Russian (.ru sites) forums.
And I thank the Germans for hosting the pdf and djvu files.








Google

Ebook Search












Note: Replace "book keywords". Other useful keywords may include .pdf .rar .zip or MB. You simply need to observe what sites have in common aside from the obvious topic. You may also narrow down to Russian sites. Adding inurl:".ru/" may also help, by being more biased to Russian sites.

Just another test

Testing Google docs .

Saturday, November 18, 2006

Caffeine



If you wanna hang out youve got to take her out; caffeine.
If you wanna get down, down on the ground; caffeine.
She don't lie, she don't lie, she don't lie; caffeine.

If you got bad news, you wanna kick them blues; caffeine.
When your day is done and you wanna run; caffeine.
She don't lie, she don't lie, she don't lie; caffeine.

If your thing is gone and you wanna ride on; caffeine.
Don't forget this fact, you can't get it back; caffeine.
She don't lie, she don't lie, she don't lie; caffeine.

(Guitar solo)

She don't lie, she don't lie, she don't lie; caffeine.



From J. J. Cale's & Eric Clapton's Cocaine

See also:
Molecular Mechanism of Cocaine High Revealed: December 06, 2006

Friday, November 17, 2006

kilopede

a case of inconsistent prefixes:



kilometer = 1000 meters
centimeter = 1/100 meters
cent = 1/100 dollars
centavo = 1/100 pesos
century = 100 years
centipede = arthropod with ~100 feet
millimeter = 1/1000 meters
milligram = 1/1000 grams
millenium = 1000 years
millipede = arthropod with ~1000 feet
...
...
...
Therefore I conclude that prefixes are reciprocal invariant!

Tuesday, November 14, 2006

My first OOP lines

After more than 2 years of C/C++ debugging, I finally needed object oriented programming too. Eventually the lines below will end up as a FDTD program to be run in CSRC. Syntax colors were rendered with SciTE. Remnants of old style programming could still be seen here by the way. I strongly believe that I would be laughing when I read these lines some day. Hopefully sooner.


#ifndef __FDTD_3D_HPP

#define __FDTD_3D_HPP
#include using namespace std;

/*********Vector Plane with vector components X Y Z************/
class
V3Plane{
public
:
int ASIZE; //array size
//data holders
float
*X;
float *Y;
float
*Z;
//operators
void set_size(int);
~V3Plane();
};

//allocate memory
void V3Plane::set_size(int isize){
ASIZE = isize;
isize = isize*sizeof(float);
X = (float *)malloc(isize);
Y = (float *)malloc(isize);
Z = (float *)malloc(isize);
}

//release memory

V3Plane::~V3Plane(){
free(X);
free(Y);
free(Z);
}

/******************core part of 3d FDTD******************/
void m3dfdtd(V3Plane z1, V3Plane z2, V3Plane z3){
/*Nothing yet...*/
}

#endif //__FDTD_3D_HPP

Monday, November 13, 2006

Mandriva 2007 Upgrade



Unfortunately there were technical problems with Konqueror, and others causing the image to be uploaded three times.


Thanks to Calis, the PC's OS had been upgraded from Mandriva 2006 to 2007. Upgrade was almost smooth (previously installed programs and documents were preserved, even document and URL histories, application settings and cache etc are intact) except for some minor problems.
* The kicker menu had a new scheme and the old shortcuts to some programs disappeared (OpenOffice, Quanta and others (they were not remouved though))
* Even installing the new OpenOffice.org 2.04 fails to modify some KDE menu styles that is why I have to use the messy one that shows them.
* Unofficial customizations were reverted (quite expected)(those requiring images used by Mandriva to be replaced)
* Others remaining to be revealed

Thursday, November 09, 2006

MRT Sardines


Overcrowded south bound train

Overcrowded north bound train

8th of November 2006. It only takes one problematic MRT unit to delay all the others. The failure is well indicated by the accumulation of annoyed passengers. I had to go down earlier to Araneta Cubao terminal (not my original destination (where the photographs were taken)) to survive from suffocation.