A novice was trying to fix a broken Lisp machine by turning the power off and on…

April 18th, 2014 by Terrence Miao No comments »

A novice was trying to fix a broken Lisp machine by turning the power off and on.

Tom Knight, the inventor of Lisp machine, seeing what the student was doing, spoke sternly: "You cannot fix a machine by just power-cycling it with no understanding of what is going wrong."

Knight turned the machine off and on.

The machine worked.

Google+: View post on Google+

Saying that Java is nice because it works on every OS is like saying that anal sex…

April 18th, 2014 by Terrence Miao No comments »

Saying that Java is nice because it works on every OS is like saying that anal sex is nice because it works on every gender.

When your hammer is C++, everything begins to look like a thumb.

If you put a million monkeys at a million keyboards, one of them will eventually write a Java program. The rest of them will write Perl programs.

A Cobol programmer made so much money doing Y2K remediation that he was able to have himself cryogenically frozen when he died. One day in the future, he was unexpectedly resurrected. When he asked why he was unfrozen, he was told: "It's the year 9999 – and you know Cobol."

Embedded Link

What is your best programmer joke?
When I teach introductory computer science courses, I like to lighten the mood with some humor. Having a sense of fun about the material makes it less frustrating and more memorable, and it’s even motivating if the joke requires some technical understanding to ‘get it’! I’ll start off with a couple of my favorites: Q: How do you tell an introverted computer scientist from an extroverted computer scientist? A: An extroverted computer scientist lo…
» Read more: Saying that Java is nice because it works on every OS is like saying that anal sex…

This is a joke

April 18th, 2014 by Terrence Miao 3 comments »

Can you get it?

This is a joke. Can you get it?

Google+: View post on Google+

Some Kim Jong-un cut for all men

April 16th, 2014 by Terrence Miao No comments »

Read more: Barber visited by angry North Korean officials after displaying poster mocking dictator's haircuthttp://www.mirror.co.uk/news/uk-news/kim-jong-uns-men-visit-3416262

Some Kim Jong-un cut for all men

Google+: View post on Google+

You can’t kiss all the girls, and it only leads to trouble if you try

April 13th, 2014 by Terrence Miao No comments »

Fortunately, the universe of possible speculations is so vast, it simply doesn’t matter if someone else beats you to any particular one; there will always be another to ask for the next dance. Bide your time, and make your move only when all of the above is on your side.

Embedded Link

Doug Casey’s 9 Secrets for Successful Speculation | Casey Research

Google+: View post on Google+

Using Java JConsole connect to remote WebLogic JMX server

April 13th, 2014 by admin No comments »

WebLogic farm, one Admin Server, two managed servers.

MBean defintion:

mdcsObjectName: com.auspost:Name=mdcsNfr,Type=PostNfr,Location=wlsa_mdcs_pdev_admin
mdcsObjectName: com.auspost:Name=mdcsNfr,Type=PostNfr,Location=wls_mdcs_pdev1
mdcsObjectName: com.auspost:Name=mdcsNfr,Type=PostNfr,Location=wls_mdcs_pdev2

Connect MBean Server with JConsole:

set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_45
set WL_HOME=C:\bin\wls1036\wlserver
“%JAVA_HOME%\bin\jconsole.exe” -J-Djava.class.path=”%JAVA_HOME%\lib\jconsole.jar;%WL_HOME%\server\lib\wljmxclient.jar” -J-Djmx.remote.protocol.provider.pkgs=weblogic.management.remote -debug

Admin Server
service:jmx:t3://hx549:3101/jndi/weblogic.management.mbeanservers.domainruntime
wladmin/Welcome123

Managed Server 1
service:jmx:t3://hx549:3102/jndi/weblogic.management.mbeanservers.runtime
wladmin/Welcome123

Managed Server 2
service:jmx:t3://hx749:3103/jndi/weblogic.management.mbeanservers.runtime
wladmin/Welcome123

Attributes with Internal suffix are used and kept its own node’s information. NO internal attributes keep / sync between all nodes information.

Picture (Device Independent Bitmap)

» Read more: Using Java JConsole connect to remote WebLogic JMX server

JavaScript world is a bit insane for the moment

April 12th, 2014 by admin No comments »

Have a look Meteor - https://www.meteor.com/, an “ultra simple”, “database everywhere”, “data on the wire”, “real time”, and another pure JavaScript web application framework. Meteor even makes Angular.js so yesterday.

Just like this great country, politicians fight election campaign on popularities, not on issues. Programming today has become a pop culture. Every JavaScript web framework try to make themselves Rails like. Maybe it’s better wait for all nuclear fallout to settle and learn something far more better, stable and rewarding … …

AN APOCRYPHAL tale is told about Henry Ford II showing Walter Reuther, the veteran…

April 12th, 2014 by Terrence Miao No comments »

AN APOCRYPHAL tale is told about Henry Ford II showing Walter Reuther, the veteran leader of the United Automobile Workers, around a newly automated car plant.

“Walter, how are you going to get those robots to pay your union dues,” gibed the boss of Ford Motor Company.

Without skipping a beat, Reuther replied, “Henry, how are you going to get them to buy your cars?”

Embedded Link

Difference Engine: Luddite legacy
AN APOCRYPHAL tale is told about Henry Ford II showing Walter Reuther, the veteran leader of the United Automobile Workers, around a newly automated car plant….
» Read more: AN APOCRYPHAL tale is told about Henry Ford II showing Walter Reuther, the veteran…