Friday, February 19, 2010
Wednesday, February 10, 2010
One more
"It is not knowledge, but the act of learning, not possession but the act of getting there, which grants the greatest enjoyment. When I have clarified and exhausted a subject, then I turn away from it, in order to go into darkness again; the never-satisfied man is so strange if he has completed a structure, then it is not in order to dwell in it peacefully, but in order to begin another. I imagine the world conqueror must feel thus, who, after one kingdom is scarcely conquered, stretches out his arms for others."
—KARL FRIEDRICH GAUSS, Letter to Bolyai, 1808.
—KARL FRIEDRICH GAUSS, Letter to Bolyai, 1808.
Tuesday, February 9, 2010
Wednesday, January 27, 2010
Sunday, January 10, 2010
Sink A Ship included in the Softpedia Mac OS software database
Few months ago I got mail from softpedia saying:
"Congratulations,
Sink A Ship, one of your products, has been added to Softpedia's database
of software programs for Mac OS...
...We are impressed with the quality of your
product and encourage you to keep these high standards in the future..."
:)
Although it's simple game, the feeling is nice when you get this kind of email. I didn't write to softpedia and the only places I wrote about the game is here, on blogspot, and on jfxstudio, place for sharing JavaFX experiments.
My experiment with JavaFX turned out to be interesting for kids these days just like the game which "Sink a ship" was based on, "Seawolf", was interesting for me and my sister when we were kids.
Well, show it to your kids and share some ideas for improvements.


My better half, my <3 made me work harder to make the game looks like this. I wanted to try JavaFX and my game would look like a bunch of triangles running around.
"Congratulations,
Sink A Ship, one of your products, has been added to Softpedia's database
of software programs for Mac OS...
...We are impressed with the quality of your
product and encourage you to keep these high standards in the future..."
:)
Although it's simple game, the feeling is nice when you get this kind of email. I didn't write to softpedia and the only places I wrote about the game is here, on blogspot, and on jfxstudio, place for sharing JavaFX experiments.
My experiment with JavaFX turned out to be interesting for kids these days just like the game which "Sink a ship" was based on, "Seawolf", was interesting for me and my sister when we were kids.
Well, show it to your kids and share some ideas for improvements.

My better half, my <3 made me work harder to make the game looks like this. I wanted to try JavaFX and my game would look like a bunch of triangles running around.
Wednesday, December 23, 2009
How to set Java memory usage of Tomcat 4.1 started as a Windows service
If you try to set Java parameters -Xms or -Xmx in catalina.bat it would work only if you start Tomcat with startup.bat.
If you want to start Tomcat as a service you must dig through registry.
Taken from jguru.
1. Open up the registry (Run -> Regedit)
2. Find the entry for your Tomcat service entry. Either do a search for the service name in the registry or navigate to:
HKEY_LOCAL_MACHINE.SYSTEM.CurrentControlSet.Services.Apache Tomcat 4.1.Parameters
3. You should see several numbered "JVM Option Number" parameters
4. Add two new "String Value" parameters, succeeding the ordinal count of those already there, in my case 4 and 5
5. Add your arguments. I used: -Xms128m and -Xmx128m
6. Modify the JVM Option Count accordingly.
7. Restart your service.
If you want to start Tomcat as a service you must dig through registry.
Taken from jguru.
1. Open up the registry (Run -> Regedit)
2. Find the entry for your Tomcat service entry. Either do a search for the service name in the registry or navigate to:
HKEY_LOCAL_MACHINE.SYSTEM.CurrentControlSet.Services.Apache Tomcat 4.1.Parameters
3. You should see several numbered "JVM Option Number" parameters
4. Add two new "String Value" parameters, succeeding the ordinal count of those already there, in my case 4 and 5
5. Add your arguments. I used: -Xms128m and -Xmx128m
6. Modify the JVM Option Count accordingly.
7. Restart your service.
Thursday, October 22, 2009
Punished By Rewards
I'm interested in reading:
Punished By Rewards: The Trouble with Gold Stars, Incentive Plans, A's, Praise, and Other Bribes
Can't find it in bookstores and I have trouble ordering it from Amazon since my country is not in love with the rest of the world!
Interesting review from Yolanda on Amazon:
"Rewards fail for five reasons.
- First, rewards punish and control by seduction. The failure to win a reward or the threat to remove a reward is functionally identical to the threat to employ a punishment.
- Second, rewards rupture relationships both vertically (student/teacher) and horizontally (student/student). Both rewards and punishment are really about someone maintaining power and control over another and they induce a behavior pattern whereby the subordinate tries to curry favor and impress the rewarder rather than encourage a relationship of trust and openness. Also, rewards lead to destructive competition.
- Third, employing rewards can change superficial behavior effectively, but it ignores the underlying reasons for the problem behavior and so does not effect long-term change. Rewards are not solutions, they are gimmicks, shortcuts, quick fixes that mask problems.
- Fourth, rewards discourage risk taking, creativity, and taking on challenges because the task is now just something that stands in the way of gaining the prize. - Finally, and most tragically, rewards change the way people approach the task. To reward someone for something that many find intrinsically interesting and enjoy doing is to destroy motivation. For example, the Pizza Hut "Book It" reading incentive and summer library reading incentive programs are, according to Kohn, very destructive. Reading is presented not as a pleasurable experience, but as something one has to be bribed to do with a food reward or other token."
Punished By Rewards: The Trouble with Gold Stars, Incentive Plans, A's, Praise, and Other Bribes
Can't find it in bookstores and I have trouble ordering it from Amazon since my country is not in love with the rest of the world!
Interesting review from Yolanda on Amazon:
"Rewards fail for five reasons.
- First, rewards punish and control by seduction. The failure to win a reward or the threat to remove a reward is functionally identical to the threat to employ a punishment.
- Second, rewards rupture relationships both vertically (student/teacher) and horizontally (student/student). Both rewards and punishment are really about someone maintaining power and control over another and they induce a behavior pattern whereby the subordinate tries to curry favor and impress the rewarder rather than encourage a relationship of trust and openness. Also, rewards lead to destructive competition.
- Third, employing rewards can change superficial behavior effectively, but it ignores the underlying reasons for the problem behavior and so does not effect long-term change. Rewards are not solutions, they are gimmicks, shortcuts, quick fixes that mask problems.
- Fourth, rewards discourage risk taking, creativity, and taking on challenges because the task is now just something that stands in the way of gaining the prize. - Finally, and most tragically, rewards change the way people approach the task. To reward someone for something that many find intrinsically interesting and enjoy doing is to destroy motivation. For example, the Pizza Hut "Book It" reading incentive and summer library reading incentive programs are, according to Kohn, very destructive. Reading is presented not as a pleasurable experience, but as something one has to be bribed to do with a food reward or other token."
Subscribe to:
Posts (Atom)

