Friday, June 30, 2006

Polyphasic Sleep (Day 1)

After reading up a bit on polyphasic sleep, I thought I'd give it a try.

Normally, I like to get about 10 hours of sleep a night. A completely polyphasic schedule would mean adjusting to getting only about 2 to 3 hours of sleep a night (about 20 to 30 minute naps, taken 6 times per day).

The main disadvantage, according to those people lucky few who've actually succeeded, is that you're out of sync with the rest of the monophasic world. This is a not a huge deal for me, at the moment, since I really don't have many people I want or need to interact with at this point in my life.

For me the main question is how I can manage to sneak the necessary naps in with my normal school schedule, and if I'll be able to force myself to stick to the routine, which is very unnatural for me. Also, I'm not completely dedicated to making this work. This is more of a try it and see if I like it sort of thing.

Anyway, I've decided not to quit the monophasic schedule cold-turkey, like many people recommend. Rather, I'm going to try easing in to it.

So, last night after staying up pretty late (7am), I set my alarm for a 30 minute nap, and passed out. I woke up at 1:30, six and a half hours later. So much for that. But, when I started to feel drowsy again after eating, at around 6pm, I did manage to wake up after 30 minutes, thanks to putting my alarm clock far across the room and imagining myself getting up and doing something when it rang (though I can't remember what that important thing is now that I'm awake).

This nap wasn't all that restful, as I couldn't stay fully asleep the whole time. I noticed I did immediately enter a hypnagogic state upon lying down and closing my eyes, but I drifted in and out of real sleep several times, especially as I became analytical of what I was experiencing in my sleep, rather than just letting it happen. And I also noticed that I'd get excited when I started thinking about being asleep or awake, as that would get me thinking about the polyphasic experiement, and the excitement would force me awake again.

After I awoke I did feel kind of groggy and out of it for about half an hour. Now I'm feeling almost completely awake and alert, with just a barely perceptible residual groggyness. So this is how the start of the experiment is going. I think I'll actually see if I can sleep every six hours rather than every four, because I've heard that having to break up one's day in to just four hour segments can be annoying. So my next nap should be at around midnight. Will try to check in then.

Logic Mazes (aka "Mazes with rules")
Energy Drink Ingredients

Sunday, June 25, 2006

Tuesday, June 20, 2006

"Most people I've met have read the Design Patterns book by the Gang of Four. Any self respecting programmer will tell you that the book is language agnostic and the patterns apply to software engineering in general, regardless of which language you use. This is a noble claim. Unfortunately it is far removed from the truth.

Functional languages are extremely expressive. In a functional language one does not need design patterns because the language is likely so high level, you end up programming in concepts that eliminate design patterns all together..." Functional Programming For The Rest of Us

Thursday, June 01, 2006

Polish Movie Poster Gallery

The pride of the peacock is the glory of God.
The lust of the goat is the bounty of God.
The wrath of the lion is the wisdom of God.
The nakedness of woman is the work of God.

William Blake

Tuesday, May 23, 2006

"I had to do my research. I checked the schedule for the ceremony and realized that I would be speaking just before the senator got his award. And that's when the idea for a preemptive strike began to brew in my little stressed-out brain. What if I tore McCain's speech apart before he even opened his mouth?"
Word of the day: ductile

1: capable of being drawn out or hammered thin
2: easily led or influenced
3: capable of being fashioned into a new form

Monday, May 22, 2006

"I learned to be like a ship's rat, veined ears trembling..." --Anne lamott

Tuesday, May 16, 2006

Friday, May 12, 2006

Monday, May 08, 2006

"He created an illusion and lived his days and nights within its confines. That illusion was his Japan. He found in Japan the ideal coupling of the cerebral and the sensual, mingled and indistinguishable, the one constantly recharging the other and affording him the inspiration to write.

He came at a time when virtually all foreigners were here to instruct, pontificate and lord themselves over the Oriental upstart; yet he himself came solely to learn, to fossick, to discover what his temperament had taught him was beautiful and potent in the human spirit. Fresh off the ship in 1890, he wrote of the Japanese to his friend and subsequent biographer Elizabeth Bisland, "I believe that their art is as far in advance of our art as old Greek art was superior to that of the earliest European art-groupings. We are barbarians! I do not merely think these things: I am as sure of them as of death. I only wish I could be reincarnated in some little Japanese baby, so that I could see and feel the world as beautifully as a Japanese brain does..."

Lafcadio Hearn: interpreter of two disparate worlds from Japan Times

Word of the day: fossick

Australian & New Zealand: to search for gold or gemstones typically by picking over abandoned workings

Tuesday, May 02, 2006

Stephen Colbert from Comedy Central headlined the White House Correspondents' Dinner recently, thoroughly roasting Bush (who was sitting just a few feet away) in front of hundreds of reporters and assorted dignitaries. He didn't spare the press:

"But, listen, let's review the rules. Here's how it works: the president makes decisions. He's the decider. The press secretary announces those decisions, and you people of the press type those decisions down. Make, announce, type. Just put 'em through a spell check and go home. Get to know your family again. Make love to your wife. Write that novel you got kicking around in your head. You know, the one about the intrepid Washington reporter with the courage to stand up to the administration. You know - fiction!"

Bush and the audience were squirming throughout the whole thing, with just a few nervous giggles here and there when Bush was targeted. Afterwards Bush mutely shook Colbert's hand and quickly left.

The next day the event was all over the liberal blogs, but the mainstream media only reported on Bush's own performance with a Bush impersonator, completely omitting mention of Colbert, who was the headliner at the show. Even the New York Times, that "bastion of liberalism", didn't so much as mention Colbert's presence.

Editor and Publisher did justice to the event here

Media Matters has analysis of the lack of critical mainstream media coverage of the dinner and a comparison with past White House Correspondents' Dinners.

CSPAN's video feed of the dinner

Some other videos and transcripts of it here.

This reminds me of a recent "die-in" protest that was held during Hillary Clinton's speech at our school. A couple dozen students layed down to symbolize the dead in the Iraq War, in protest of Clinton's hawkish pro-Iraq War stance. A reporter for one of the student papers saw a man photographing the protestors and went over to ask him who he was... turned out he was a photographer for the New York Times. She asked him what he though of the protest. "Think?" he answered, "I don't think. I've learned to stop thinking on this job a long time ago."

Friday, April 21, 2006

"We are rarely surprised by media coverage about recreational psychoactives. Most can be lumped into the broad genre of sensationalist exposé about the terrible dangers of drugs designed to titillate teens and frighten parents. The ABC News special "Ecstasy Rising", first aired on April 1st, 2004, stands out mostly because of the very high contrast with the typical news stories about the illegal use of psychoactives. It also stands out because it represents a real effort to document some of the serious failings in the government's 'war on ecstasy' and some of the collateral damage that it has caused."

From a review of the special at Erowid.

Friday, April 14, 2006


A facinating photo-travelogue by Iraqi-American Usama Alshaibi, who returned to Iraq after 24 years. Since he's originally from there, and has lots of family there he got to see Iraqi society from a perspective pretty much impossible for a westerner to get these days. He also has a trailer for his documentary about the trip, called Nice Bombs, but honestly the photos are much more revealing then the trailer. However, there's also a great interview with him here: part one and part two.

Sunday, April 09, 2006


Dean Chamberlain
"Francis Crick, the Nobel Prize-winning father of modern genetics, was under the influence of LSD when he first deduced thedouble-helix structure of DNA nearly 50 years ago.

Crick told a fellow scientist that he often used small doses of LSD then an experimental drug used in psychotherapy to boost his powers of thought. He said it was LSD, not the Eagle's warm beer, that helped him to unravel the structure of DNA, the discovery that won him the Nobel Prize."

Saturday, April 08, 2006

Tuesday, April 04, 2006

Moths gathered in a fluttering throng one night
To learn the truth about the candle's light,
And they decided one of them should go
To gather news of the elusive glow.
One flew till in the distance he discerned
A palace window where a candle burned -
And went no nearer; back again he flew
To tell the others what he thought he knew.
The mentor of the moths dismissed his claim,
Remarking: "He knows nothing of the flame."
A moth more eager than the one before
Set out and passed beyond the palace door.
He hovered in the aura of the fire,
A trembling blur of timorous desire,
Then headed back to say how far he'd been,
And how much he had undergone and seen.
The mentor said: "You do not bear the signs
Of one who's fathomed how the candle shines."
Another moth flew out - his dizzy flight
Turned to an ardent wooing of the light
He dipped and soared, and in his frenzied trance
Both Self and fire were mingled by his dance -
The flame engulfed his wing-tips, body, head;
His being glowed a fierce translucent red;
And when the mentor saw that sudden blaze,
The moth's form lost within the glowing rays,
He said: "He knows, he knows the truth we seek,
That hidden truth of which we cannot speak."
To go beyond all knowledge is to find
That comprehension which eludes the mind,
And you can never gain the longed-for goal
Until you first outsoar both flesh and soul;
But should one part remain, a single hair
Will drag you back and plunge you in despair
No creature's Self can be admitted here,
Where all identity must disappear.

excerpted from Conference of the Birds by Farid od Din Attar

Monday, April 03, 2006

"Otto Rank paces in excited anticipation as members of the Vienna Psychoanalytic Society file into Freud's waiting room at Bergrasse 19. Eleven present, counting himself. He cleans his round steel-rimmed glasses, checks again to be sure he has an extra pen. Soon he will know if Freud is going to admit his great debt to Nietzsche..." --Dramatization of Freud's 1908 Nietzsche evenings

Sunday, March 26, 2006

"What's happening is something completely new in the history of the hemisphere. Since the Spanish conquest the countries of Latin America have been pretty much separated from one another and oriented toward the imperial power....

For the first time, they are beginning to integrate and in quite a few different ways... Now they want to control their own resources. In fact, many don't even want their resources developed. Many don't see any particular point in having their culture and lifestyle destroyed so that people can sit in traffic jams in New York.

Furthermore, they are beginning to throw out the International Monetary Fund (IMF). In the past, the US could prevent unwelcome developments such as independence in Latin America, by violence; supporting military coups, subversion, invasion and so on. That doesn't work so well any more. The last time they tried in 2002 in Venezuela, the US had to back down because of enormous protests from Latin America, and of course the coup was overthrown from within. That's very new...

The IMF is essentially the US Treasury Department. It is the economic weapon that's alongside the military weapon for maintaining control. That's being dismantled.

All of this is happening against the background of very substantial popular movements, which, to the extent that they existed in the past, were crushed by violence, state terror, Operation Condor, one monstrosity after another. That weapon is no longer available..."

Noam Chomsky on the Hopeful Signs Across Latin America

Friday, March 24, 2006

"Democracy means that when there's a knock at the door at 4 am, it's probably the milkman." -- Winston Churchill
"You don't know your man. I will tell you plainly, you're warming a viper in your bosom."
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GP d- s+:- a? C+++ UL++++ P+++ L+++ E--- W++ N+ o-- K- w---
O-- M-- V-- PS+++ PE-- Y+ PGP t 5-- X-- R* tv-- b++++ DI++ D---
G e* h* r z--
------END GEEK CODE BLOCK------

Monday, March 20, 2006

"Democracy is two wolves and a sheep voting on what to have for dinner. Liberty is a well-armed sheep contesting the vote." --Ben Franklin

Saturday, March 18, 2006

Aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht the frist and lsat ltteer be at the rghit pclae. The rset can be a total mses and you can sitll raed it wouthit porbelm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe.

Sunday, March 12, 2006

"There can hardly be stranger wares in the world than books: printed by people who do not understand them; sold by people who do not understand them; bound, reviewed and read by people who do not understand them; and now even written by people who do not understand them"

"If it were true what in the end would be gained? Nothing but another truth. Is this such a mighty advantage? We have enough old truths still to digest, and even these we would be quite unable to endure if we did not sometimes flavor them with lies."

"A handful of soldiers is always better than a mouthful of arguments."

"The great rule: If the little bit you have is nothing special in itself, at least find a way of saying it that is a little bit special."

"It is no great art to say something briefly when, like Tacitus, one has something to say; when one has nothing to say, however, and none the less writes a whole book and makes truth ... into a liar — that I call an achievement"

"We do not think good metaphors are anything very important, but I think that a good metaphor is something even the police should keep an eye on."

"If you are going to build something in the air it is always better to build castles than houses of cards."

"Why are young widows in mourning so beautiful? (Look into it.)"

Georg Christoph Lichtenberg

Sunday, February 19, 2006

"For Dan Halbert, the road to Tycho began in college--when Lissa Lenz asked to borrow his computer. Hers had broken down, and unless she could borrow another, she would fail her midterm project. There was no one she dared ask, except Dan.

This put Dan in a dilemma. He had to help her--but if he lent her his computer, she might read his books. Aside from the fact that you could go to prison for many years for letting someone else read your books, the very idea shocked him at first. Like everyone, he had been taught since elementary school that sharing books was nasty and wrong--something that only pirates would do..."

The Right to Read by Richard Stallman

Tuesday, February 07, 2006

6000 intriguing people you want to meet online before you die
Ok, well, maybe more like 20... but it's a start.
The great appear great in our eyes
Only because we are kneeling.
Let us rise!

--Loustalot, 1789

Sunday, February 05, 2006

Motto of the day:
Lege, lege, lege, labora, ora, et relege
An old alchemist maxim translated as:
Read, read, read, work, take, and reread.

Thursday, January 26, 2006

"I have received, Sir, your new book against the human race; for which I thank you... No one has ever used so much intelligence to try to render us Beasts. When one reads your works, it stirs a desire to walk on all fours."

Voltaire upon receiving the Discourse on Inequality from Rousseau

Sunday, January 01, 2006

Word of the day:

sinecure: A position or office that requires little or no work but provides a salary.

Saturday, December 03, 2005

“War and the military are, without question, among the very worst of the earth’s afflictions,” an American conservative of distinction once wrote, “responsible for the majority of the torments, oppressions, tyrannies, and suffocations of thought the West has for long been exposed to. In military or war society anything resembling true freedom of thought, true individual initiative in the intellectual and cultural and economic areas, is made impossible—not only cut off when they threaten to appear but, worse, extinguished more or less at root. Between military and civil values there is, and always has been, relentless opposition. Nothing has proved more destructive of kinship, religion, and local patriotisms than has war and the accompanying military mind.”

That was Robert Nisbet in 1975. In The Conservative Intellectual Movement Since 1945, George Nash identified Nisbet, along with Russell Kirk and Richard Weaver, as one of the three most noteworthy of those intellectuals he identified as traditional conservatives

Twilight of Conservatism

Saturday, November 19, 2005

"You may not be interested in war, but war is interested in you" --Leon Trotsky

Friday, October 21, 2005

Pentagon investigations in to prisoner deaths are "grossly inadequate and flawed", according to Human Rights First (HRF), "a 25-year-old lawyers' group":

"...criminal investigators have routinely failed to interview key witnesses or collect and maintain usable evidence, such as body parts or basic ballistics evidence, for possible prosecution"

"In addition, commanders have often either repeated failed to even to report deaths of detainees in the custody of their command, or delayed reporting them for days or even weeks after they occurred, greatly complicating efforts to collect relevant evidence. In one case, a death of an Iraqi detainee was not reported until a year later, and the case was closed without any determination of the cause of death"

Monday, September 26, 2005

The residents of Fallujah, 40 miles west of Baghdad, nicknamed soldiers at the nearby base "the Murderous Maniacs," New York-based Human Rights Watch said. "The soldiers considered this name a badge of honor."

Soldiers in the Army's elite 82nd Airborne Division vented their frustration by systematically torturing Iraqi detainees from 2003 into 2004, hitting them with baseball bats and dousing them with chemicals (according to HRW)...

Sunday, September 04, 2005

"But why should we hear about body bags, and deaths, and how many, what day it's gonna happen, and how many this or what do you suppose? Or, I mean, it's, it's not relevant. So, why should I waste my beautiful mind on something like that?"

--Barbara Bush on Good Morning America March 18, 2003

Wednesday, August 03, 2005

Leaked email from US military prosecutors desribes Guantanamo tribunals as "rigged" and "a fraud on the American people"

Sunday, July 24, 2005

"The White House on Thursday threatened to veto a massive Senate bill for $442 billion in next year's defense programs if it moves to regulate the Pentagon's treatment of detainees or sets up a commission to investigate operations at Guantanamo Bay prison and elsewhere..."

Friday, July 22, 2005

PATRIOT act being used to go after "common criminals" instead of against terrorists, as it was supposedly created to do. Story here
"If tyranny and oppression come to this land, it will be in the guise of fighting a foreign enemy." --James Madison

Wednesday, July 20, 2005

Ever had two sound files which were identical, except for the quality they were encoded at, and wanted to find out if one really sounded better than the other?

Of course, if there's a great difference in quality then just playing one after the other will be enough to tell. However, it's more difficult to tell if the files are close to each other in quality.

That's where my little s0ngfr0g program comes in. It will play short, random segments from each file and let you vote on the quality of each segment. The file that has the most votes overall is considered to be the better sounding file.

The hope is that listening to short, identical segments from each file, back-to-back, will give you a good idea of their relative quality. Also, the file that's being played will be hidden from you until all the voting is over, so that knowing which file the sample came from won't bias your decisions.

The name s0ngfr0g comes from the program jumping around to different parts of the songs it plays.

This program requires:

perl (tested on v5.8.5)
xmms (tested on 1.2.10)
xmmsctrl (tested on 1.8)

Monday, July 18, 2005

NYT reports details of prisoners being tortured to death at Bagram air base in Afghanistan

Saturday, July 16, 2005

"Private capital tends to become concentrated in few hands, partly because of competition among the capitalists, and partly because technological development and the increasing division of labor encourage the formation of larger units of production at the expense of the smaller ones. The result of these developments is an oligarchy of private capital the enormous power of which cannot be effectively checked even by a democratically organized political society. This is true since the members of legislative bodies are selected by political parties, largely financed or otherwise influenced by private capitalists who, for all practical purposes, separate the electorate from the legislature.

The consequence is that the representatives of the people do not in fact sufficiently protect the interests of the underprivileged sections of the population. Moreover, under existing conditions, private capitalists inevitably control, directly or indirectly, the main sources of information (press, radio, education). It is thus extremely difficult, and indeed in most cases quite impossible, for the individual citizen to come to objective conclusions and to make intelligent use of his political rights."

from Albert Einstein's Why Socialism?

Thursday, July 14, 2005

"I didn't even start dropping out until my mid-20's... In fourth grade I wanted to blow up the school, but I didn't know how... In high school.. I wanted to go live off the land in the Idaho wilderness, but actually doing it seemed as remote and difficult as going to the moon... [now] I'm a specialist at eating garbage -- as I draft this I'm eating a meal I made with organic eggs from a dumpster, and later I'll make a pie of dumpstered apples. I live on under $2000 a year, I have no permanent residence, and moving to the Idaho wilderness now seems like a reachable goal -- but no longer the best idea..."

Sunday, June 26, 2005

"Before, I just intellectually thought it was a bad idea to go to war in Iraq. When I saw the faces of the people, the people I was hurting, that I was assisting in hurting I really began to change on a spiritual level...

I looked at these guys and I thought, 'Man, these are young, poor, uneducated guys who didn't have a lot of choices in their life and are forced to fight us'...

And I looked at the guys in my own unit and I thought, 'Man, we're exactly the same... all the guys in my unit were young, poor, didn't have the best education, didn't have the best choices in life'

And when I came to that realisation I felt all my fighting spirit just sort of bleed out of me..."

A consciencious objector talks about his experience in Iraq: Part One and Part Two

Saturday, June 25, 2005

Informative animation on what's wrong with Bush's Social Security plan.

Friday, June 24, 2005

"Washington has for the first time acknowledged to the UN that prisoners have been tortured at US detention centres in Guantanamo Bay, as well as Afghanistand and Iraq, a UN source said... UN sources said it was the first time the world body has received such a frank statement on torture from US authorities."

Sunday, June 12, 2005

A newly leaked memo said the only way the allies could justify military action was to place Saddam Hussein in a position where he ignored or rejected a United Nations ultimatum ordering him to co-operate with the weapons inspectors. But it warned this would be difficult. "It is just possible that an ultimatum could be cast in terms which Saddam would reject," the document says. But if he accepted it and did not attack the allies, they would be "most unlikely" to obtain the legal justification they needed. The suggestions that the allies use the UN to justify war contradicts claims by Blair and Bush, repeated during their Washington summit last week, that they turned to the UN in order to avoid having to go to war. The attack on Iraq finally began in March 2003.
Epidemic Computing at Cornell
Teacher in Spain censored for defending filesharing.

Saturday, June 11, 2005

Wednesday, June 08, 2005


Now why would anyone throw photos like these away? (the archives are even better)

Friday, June 03, 2005

And remember kids, when you live in a police state you should always obey the police

Sunday, May 29, 2005

Primer: the best movie I've seen all year...

I recommend not reading anything about the movie ahead of time, because half the fun is figuring it out for yourself... and you have to be patient at the beginning, as it starts out pretty slow... but it's worth it... just pay attention!

After you've seen it see it again until you understand it as best you can, then watch the director's commentary. Then read the Imdb and PrimerMovie message boards. And finally, there's this.

Monday, May 23, 2005

Then:

NPR's original mission statement in 1970... called for "some hard news, every desire to serve an alternative audience: "urban areas with sizeable nonwhite audiences," "student groups studying ecology," "groups with distinct lifestyles and interests not now served by electronic media."

The first broadcast of All Things Considered led with the segment about the protest rally, followed by a zesty array of stories: a roundtable discussion with reporters from the Christian Science Monitor, which seguéd into a reading of two antiwar poems from the era of World War I; a dispatch from a barber shop in Iowa whose proprietor was reeling from lost income as more men chose to wear their hair long; a portrait of a nurse turned heroin addict; and, finally, a discussion between Allen Ginsberg and his father, Louis, about the merits and shortcomings of drug abuse...

And now:

On the weekend of March 19, 2005, [the day of demonstrations marking] the second anniversary of the Iraq War... NPR's programming choices that weekend [were]: "a 'patriotic,' feel-good West Point piece; sports fans' feelings toward a baseball player (yes, steroids); more feel-good filler about an Iraqi-American painter and her use of color; Bantu Refugees Adjust to New Lives in America. Quote from the story: 'we give the government of America the high five'; Army Chefs Battle for Best-Dish Honors; a singing physics professor."

In October 2002 political correspondent Mara Liasson, in an appearance on Fox News Sunday, assailed two Democratic Congressmen for traveling to Iraq. "These guys are a disgrace," she said. "Look, everybody knows it's...Politics 101 that you don't go to an adversary country, an enemy country, and badmouth the United States, its policies and the President of the United States. I mean, these guys ought to, I don't know, resign." In the same vein, Weekend Edition Saturday host Scott Simon -- who was an antiwar activist at the University of Chicago in the Vietnam era -- wrote a swaggering essay for the Wall Street Journal editorial page on October 11, 2001, titled "Even Pacifists Must Support This War," and, in a March 2003 speech in Seattle, he reportedly expressed support for the US invasion of Iraq...

Excerpts from Scott Sherman's account of NPR's sad road from alternative media to "respectibility" in Good, Gray NPR

Thursday, May 19, 2005

Just wrote a very simple flashcard program, which I call flashleit, that uses the Leitner system to sort flashcards in such a way that difficult questions are asked more frequently.

The program only requires Perl and the standard UNIX/Linux utilities like "ls" and "mv" to run.

Its main advantage over similar programs lies in its simplicity. It stores its data in regular files and directories, requires no fancy/fat libraries, and gives users the freedom to create and edit flashcards using their favorite editors or even directly from the shell.

I've tried to make everything simple and transparent. I hope you find it useful.