Friday, March 5th, 2004

Some Unknown Facts

Friday, March 5th, 2004 01:52 pm
flwyd: (spam lite)
Fun with Java:

System.out.println(1 + 2 + "foo" + 4 + 5);
3foo45
System.out.prinln(1 - 2 + "foo" + 4 + 5);
-1foo45
System.out.println(1 + 2 + "foo" + 4 - 5);
syntax error
System.out.println(1 + 2 + "foo" + 4 * 5);
3foo20
System.out.println(2.0 * 3 / 4 + " (double first)");
1.5 (double first)
System.out.println(3 / 4 * 2.0 + " (double last)");
0.0 (double last)


The wonders of selective operator overloading.

Linkrot

Friday, March 5th, 2004 03:37 pm
flwyd: (dogcow moof!)
From [livejournal.com profile] dorktowerfeed: . One of the advantages to publishing to a limited audience is the ability to make fun of that audience.

From [livejournal.com profile] languagelog:
English has 997 words for penis, ... 1232 words for sexual intercourse, 856 words for vagina, 449 words for beer, 994 words for prostitutes, and 707 words for marijuana.. The short article also makes fun of in-vogue psych theories.
From the same log: 10,000 Statistically Average Band Names

From [livejournal.com profile] technopaganism: Pagan Standard Time clock

From [livejournal.com profile] zen_kitten: Biblical Marriage. (Also, "The Bible contains six admonishments to homosexuals and 362 admonishments to heterosexuals. That doesn't mean that God doesn't love heterosexuals. It's just that they need more supervision." -- Lynn Lavner)

From [livejournal.com profile] mlechan: Spamalot: Holy Grail on Broadway

Edit: from Salon (I can't recall their LJ feed name): What did the CIA & others know and do between 1979 and September 10, 2001?

Realization

Friday, March 5th, 2004 04:23 pm
flwyd: (top hat)
Moral rules are heuristics which often, but not always, guide agents to right action.

I think I've realized this before, so by the heuristic of repeated-discovery, it's more likely to be true :-)

I really am getting productive work done. It just takes my program several minutes to run, so my "code, test, refine" loop is slow today.
December 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2025

Most Popular Tags

Expand Cut Tags

No cut tags
Page generated Thursday, January 8th, 2026 11:17 am
Powered by Dreamwidth Studios