Feb 24 2009

Dispatches from Nepal, Part 3

Arjun’s note: Here is part 3 of my good friend Dougal’s description of life in Nepal. You can find part 1 here and part 2 here.

My host family is awesome.

There’s a baa (dad), aamaa (mom), hajurbaa (grandfather), a 14-year old bahini (younger sister), a 9-year old bahini, and a 2-year old bhaai (little brother). At first, it was hard to get any communication through, but every day, there’s been slightly more than the day before. Playing with my bhaai was also critical on the first day, as was showing the family calendar with pictures of all the relatives on my mom’s side. My baa’s daai (older brother) lives about forty feet up the hill with his family — a wife, a 16-ish son and 18-ish daughter, and another student on the program. My Nepali name is Suman Khetri and his is Saman Khetri, which is a little ridiculous, but they didn’t coordinate it beforehand or anything. My baa works for the recently-privatized drinking water company, and my aamaa is an elementary school teacher.

We live in a village called Jygata, which is pretty rural, on the foot of some hills that in the US would be mountains. With the Himalayas in sight when it’s not too foggy, though, they’re hills. It’s about a 40-minute walk from the program house, which I thought might be a problem, but it really hasn’t been at all. The four of us who live in the village walk together, and the fields on the way are beautiful.

I’ll upload pictures at some point, but I don’t have my camera with me. I’m in Kathmandu, at an internet cafe that’s faster, but also more expensive. (About two hours ago, I used one that was slower than the slowest one I’ve used in the village here, but just as expensive as this fast one….couldn’t even update my Facebook status.) This is also the first one I’ve been to that isn’t running IE6, which is nice. (It’s an actually-updated copy of Firefox 3!) Plus, this one I can set to use Dvorak, which means I don’t need to stare at the keyboard the whole time! All the computers here have been exclusively Windows XP, though; the standard matches in the program house and at the store are these crappy plastic ones with the Windows logo on them.

This cafe is probably so much better because I’m in the touristy area, called Thamel. All the students on the program just ate really good Italian pizza at this place called Fire and Ice, supposedly the former king’s favorite restaurant. Actually, one came in to Kathmandu with us but is still at the aforementioned internet cafe, working on some scholarship thing, which is horrible when the rest of us had a good time.

Yesterday was the first family day, where we’re required to hang out with our families, doing what they do. For me, that meant washing clothes, bathing, peeling vegetables, and playing with the kids. The first two are made significantly more complicated by the fact that our house doesn’t have running water. We washed clothes in buckets at a little stream, which was thankfully pretty clean, but we had to walk almost a mile to get there. It took a long time, though — the washing machine was a good invention, and whoever was the actual inventor, I salute you. Bathing meant using a mug out of this bucket — which, since it had been in the sun for a while, was actually much warmer than the water in the program house’s shower. I had to do it relatively in public, though, ie on the porch which is in full view of the (not-frequented) road that goes by our house. Nepali modesty customs make the whole deal somewhat complicated. Other than that, though, not having running water really isn’t as big a deal as I thought it would be. There’s a tap relatively close to the house, and though of course I can’t drink the water that comes out of it without boiling, it’s fine for washing and the like.

I saw some big animal in the fields the other morning. Because they had warned us that leopards sometimes come down from the hills, I thought that’s what it was, and so that’s what I told people at school. Seeing a leopard is apparently very auspicious, and since my house is kind of low in the hills, it was kind of a big deal — nobody that low has seen one. Turns out, though, that it was actually a jackal — not auspicious.

My room is the nicest in the house. There are mice that make noise at night, but my bed is covered, so they won’t fall onto me (as happened to my “cousin” Saman on the first night).

Next week, we’re going down into the Terai, the lowlands. First, Chitwan National Park, where we’ll ride elephants, and probably see both tigers and real leopards. Then, we go somewhere completeley the opposite — Buddha’s birthplace.

I’m out of time now — need to get back by around five, since that’s what the family dictated I be home by.


Feb 23 2009

Dispatches from Nepal, Part 2

Arjun’s Note: Here is part 2 of my good friend Dougal’s dispatches from his semester abroad in Nepal. I hope you find it interesting. You can find part 1 here.

- A story: One of the program directors is this guy from eastern Nepal. When his dad was like twenty, so maybe fifty-ish years ago, to get to and from Kathmandu, there was no way to do it but by walking…which took three or four weeks. Not an easy walk, either — a not insignificant portion of the people who tried never made it. His dad went, though, to look for a job. Once he finally made it there, he had to wait in line to actually get a job offer. The way they did it, apparently, is that they would have a wood-chopping or long-jumping contest — to get a clerical job. He did win one of those long-jumping contest, but then he couldn’t read or write, which makes clerical jobs a little harder. So, he went out and learned how to, and then by the time he retired, he was a judge.

- The temples are amazing, and we saw like ten million monkeys around one of them. Also some musk deer, which are tiny — there was a baby musk deer and a baby monkey running around next to each other, and they were the same size.

- Two of the kids on the program just walked past on their way back from Kathmandu. They were on the bus there and some guys were trying to collect money for some political organization. Nobody gave them any, so they got mad and started beating up women and old people, as in punching in the face more than once, before jumping off the bus. We drove past some Maoist youth group yesterday marching down the street.

- The caste stuff is pretty intense, though some of it I’m sure is just cultural differences that make it seem worse. We went on a tour of Patan yesterday, and the (high-caste) tour guide dude just stopped and pointed out things related to (low-caste) people’s cultural things — how some of them had tatoos on their legs, etc. He was grabbing at one guy’s ear talking — in English — about his earrings, and didn’t even talk to the guy until afterwards. He did know his stuff though, and it’s hard to tell whether that was actually really offensive or not. I just know that we were all really uncomfortable about it.

- We also saw these artist people, who make amazing metal statues, and saw a little bit about the process and stuff. So cool.

- There was a bat circling in our room the other night, and a giant spider outside one of the girl’s room’s today. Both left (or were coerced into leaving) peacefully.

- Prices here are weird — a 150ml soda, about the size of a can in the US, is 15 rupees; a 650ml beer, twice the size they are in the US, is 135.

- We’re moving into our Nepali families tomorrow, which could be as much as an hour’s walk away. I’m kind of scared — we really speak very little Nepali, and there’s so many little things I’m going to do that are going to be offensive. But we also went to a “village dinner” the other day with one of the host families, and that was a lot of fun, and the food was also amazing, so we’ll see.

- Apparently they teach us how to make traditional food stuff before we go — very excited about making that this summer, when there’s no Sharples.


Feb 22 2009

Dispatches from Nepal, Part 1

Arjun’s Note: So I know I haven’t been doing a lot of my own writing lately, but I’ve had a lot of stuff going on. I recently brought you Federalist Paper No. 420, by my good friend Jeff. Now I want to bring you something entirely different; another one of my good friends, Dougal, is abroad in Nepal for the semester, and occasionally sends dispatches via internet cafe. Here is his first one.

Part 1

I’m in Nepal now; have been for almost a week.

We’ve been living at the program house, which is this awesome little courtyard with a few buildings in the middle of this pseudo-suburb — it’s like a rural village, sort of, but also not at all. On Monday, we move into our family stays; haven’t found out who it is yet.

The scenery is amazing, and it’s still too foggy to even really see the tall mountains.

We’re learning Nepali really quickly compared to a college class, but that’s probably because we do it two to five hours a day, six days a week, plus practice with each other and actual Nepalis outside of class. The class sizes of two to three also help.

Very different, in a lot of ways. The eating with your hand is fine (the food is awesome, so much better than Sharples — it’s amazing how much variety you can squeeze out of dhaalbhaat, rice with lentil soup), “charpi business” (charpi = toilet) isn’t as bad as you think. Nepalis don’t like dogs a whole lot but they’re all over the place, possibly with rabes, and every night they bark nonstop form nine to sometime after midnight. (I’m not really sure when, because I’m generally in bed before eleven, and up before seven.)

There’s way more demand for electricity than there is supply, so each of six regions gets only about eight hours of power a day. This is fine except for the computer / phone situation, because we’re busy all the time and the only internet access is at cybercafe type places (which actually aren’t cafes, generally, just computers; it’s way cheap, though, and there’s one right down the street).

The program has 13 kids: 7 from Pitzer, 3 from Pomona, one from Wesleyan, one from Colorado College, and me. Everyone’s pretty cool.

The caste system, officially illegal for the past 40 years, is still definitely in place. The low-caste (and poor) kids who live nearby, who some of us have made friends with, are uncomfortable coming into the program area because the landlord, who’s a highest-caste priest, would get mad.

Everyone is really nice, though, especially to Westerners. (Little kids wave and shout “Hello” as we walk down the street to get the bus to Kathmandu.) The neighbor kids are also fun; I played badminton with a few today. Karomboard (I think?) is also fun — similar to pool, but you flick little poker chip-type things. Much harder than it looks.

I’d post pictures, but the internet here is soooooo slow. Maybe it’d be faster from a place in Kathmandu. Kathmandu, by the way, is crazy — bustling city, tons of traffic and very crowded streets, vendors selling everything imaginable for way cheap, and then you turn a corner and there’s a sixty-foot tall pure white tower, a guard tower from at least five hundred years ago. I bought this cool touristy traditional Nepali shirt for 250 rupees, or about $3.25.

We’ve also had cool lecturers, including one who is currently involved in writing the new Nepali constitution. This guy is a former education minister and top development planner, and he’s been speaking at our program for thirty years….

Still not really sure what I want to do for my project, but I have a month or two to find out.

Family stays next week, and then in March, we go to Chitwan National Park, where we will ride elephants.


Feb 18 2009

Federalist Paper No. 420

By J

At its core, the medical marijuana movement is being held back by one thing alone, and that is ignorance. Just like the Civil Rights Movement in the 1960s or even the Women’s movement in the years preceding 1920, the quest to decriminalize or legalize cannabis must overcome the preconceptions burned into the minds of Americans at very young ages. Ask the average middle-aged housewife in Wyoming, or the plumber from Barstow his or her opinion on medical marijuana (here forth referred to as MMJ), and the likelihood is that you will find a person who has a negative opinion on MMJ, but knows virtually nothing about it. Yet, if such a person were to be educated on the matter, if they would see the hypocrisy that exists in regards to our government’s treatment of MMJ, they would see that medicinal cannabis really does serve to make patients’ lives better (or in some cases, even tolerable), and most importantly, they would see that our government has stepped on our civil liberties to such an extent that any American should be concerned regardless of their opinion of marijuana. So why exactly should marijuana be decriminalized? All personal opinions aside, it is a matter of logic. When one sits down and looks at all of the facts revolving around the medicinal qualities, the economic potential, the history, and the politics of marijuana, legalization plainly makes good sense. Period. It is simply a matter of getting those facts into the brains of enough people so that the government can no longer pull the wool over the country’s collective eyes. The facts will set us free; we need only to educate the people.

From a medicinal standpoint, cannabis certainly is not the be-all and end-all that some claim it to be. It will not cure every disease known to mankind; however, it does have significantly more medicinal qualities than the average person either knows about or gives MMJ credit for. It seems as though most people out there who aren’t directly involved with the cannabis industry in any way believe that MMJ is a hoax and is being described as medicinal only so it is easier to access. This simply is not true. Cannabis has been proven to stimulate the growth of brains cells, and as a result is a particularly effective countermeasure to deleterious brain diseases, particularly Alzheimer’s. Higher cannabinoid levels have been shown to result in an increased ability to learn and accept change, and THC is a bronchodilator, meaning that it opens up the airways and facilitates easier breathing (contrary to popular belief). Being someone who used to suffer fairly regularly from asthma related issues, I can personally confirm that I have had zero problems with asthma since starting to smoke cannabis. The number one killer in hospitals in the United States today is the resistant strain of the Staff infection, which patients contract while in the hospital and the hospitals currently have no viable way of combating the problem—except for marijuana. Hospitals around the country are now going to apply a THC tincture (basically a concentrate made with alcohol) directly to the infected area, and have had very successful results. And perhaps most amazingly, there have now been human clinical trials in which direct application of THC has been shown to force certain types of tumors into remission—yes, marijuana can actually cure certain types of cancer.

The autonomic nervous system, which is controlled by the glands of the brainstem (primarily the hypothalamus), is responsible for everything our bodies do without us telling them to—breathing, digesting, etc. It is this system that keeps us alive when we are, say, unconscious. Most “recreational” drugs out there, whether it be heroin or cocaine or whatever, can directly affect your brain stem, and therefore your autonomic nervous system. You can overdose on one of these heavy drugs, lose consciousness, and your body’s normal regulatory systems can be rendered useless due to the drugs’ effects on the brainstem. However, marijuana does not affect the brainstem at all; therefore, you cannot overdose on weed. In fact, it has been calculated that one would have to smoke approximately fifteen pounds of cannabis in five minutes to result in death, and that death would be due to excessive CO2 buildup in the body, not due to anything from the cannabis itself. For clarification, fifteen pounds would be roughly equivalent to 3,360 joints at 1 gram apiece. Yet for some reason or another, marijuana is classified as a Schedule I drug by the federal government. In terms of drug classification, Schedule I is considered to be the most dangerous of drugs with the least potential for medicinal use. Other drugs classified as Schedule I include heroine, LSD, and GHB (the date-rape drug). Schedule II drugs include cocaine, methamphetamine, morphine, PCP, and oxycontin, and Schedule III contains Marinol, which is a prescription form of THC that does not contain the other cannabinoids primarily responsible for marijuana’s medicinal effects. How any of this makes any sort of sense is beyond me. In fact (and if this is not proof enough, I do not know what is), the FEDERAL GOVERNMENT OF THE UNITED STATES holds the patent on the medical use of cannabinoids, which are the active ingredients in marijuana that provide the plant’s medicinal effects (THC is one of many cannabinoids). This is a way for the Feds to hedge their bet; on one hand they are doing everything in their power to keep legalization of marijuana from being realized, but on the other hand they know it will be legalized at some point and they want to be able to cash in when it is.
Ratified December 15, 1791, the Tenth Amendment to the Constitution of the United States reads “The powers not delegated to the United States by the Constitution, nor prohibited by it to the States, are reserved to the States respectively, or to the people.” In essence, this means that unless the Constitution specifically and explicitly sets rules for a certain subject matter, each individual state has the right to determine its own laws for said subject matter. This amendment was put into affect a mere three years after the official ratification of our current Constitution, and was done so because the founding individuals of this nation quickly realized that, left unchecked, the Federal government of the United States could become far too powerful and far-reaching. On November 5, 1996, Proposition 215 passed with a 55.6% voter approval. Prop 215 was a statewide voter initiative written by Denis Peron, which gave Californians the right to visit a doctor and, if the doctor so chose, be recommended for the use medical marijuana to help with any one of a number of ailments. Prop 215 is a legitimate law voted in by the people, and unfortunately for the Federal government, the Constitution does not explicitly deny the use of cannabis (see the first sentence of this paragraph). In fact, our founding fathers were anything but opposed to marijuana; George Washington once stated “Make the most you can of the Indian Hemp seed and sow it everywhere,” and Thomas Jefferson was quoted as saying “Hemp is of first necessity to the wealth & protection of the country.”

However, marijuana is still illegal on a federal level, and the Federal Government has refused to recognize the California state law, regardless of what the Constitution may say. Under the Bush administration primarily, the DEA has been breathing down the necks of every collective operator in California. Keep in mind, these collectives run just like any other business; they have to apply for business licenses and pay taxes as though they were a furniture store. Yet the DEA still finds it necessary to randomly shut down collectives without any rhyme or reason, including eleven collectives on January 26, 2007. They gave no forewarning; they showed up in bulletproof vests with masks on their faces and broke down the front doors of these eleven collectives. In some instances, all of the glass cases, shelves, televisions etc were destroyed by the DEA. In all cases, all medication, money, patient records, and computers were confiscated, never to be seen again.

There has been a recurring trend in these raids in which DEA officers play up the idea that some serious criminal activity is taking place inside collectives. Twenty to thirty officers show up in all black with shotguns, and they generally find two or three people working in the collective and perhaps a few patients (God forbid the old woman on chemo get some weed to help with her nausea). The DEA wants to make a point for the cameras that marijuana is bad and that bad people are involved in the industry, and that simply is not the case. This same type of DEA behavior took place when Tommy Chong was arrested for his glass blowing company (which, I should note, is not illegal); however, the DEA found it necessary in this case to bring in two helicopters and a SWAT team to his home at 6AM. They ended up finding Mr. Chong and his wife in bed (as most people would be at 6AM), who of course went peacefully. The raids on Tommy Chong’s house and business cost the DEA over twenty million dollars. Luckily for us, the Bush administration had their priorities in order and decided that using twenty million dollars of taxpayer money to go after TOMMY CHONG was a good idea considering that the national deficit is in the trillions of dollars. In the transcripts of his case, it can be found that Tommy Chong was sentenced to jail primarily because his career “glorified the use of marijuana,” and federal prosecutor Mary Beth Buchanan specifically cited Cheech and Chong’s 1978 film “Up in Smoke” as evidence against him. Tommy Chong went to federal prison for nine months. DEA: 1, First Amendment: 0.

All this being said, not all is lost. With a new administration comes new hope, and President Obama is certainly the marijuana activist’s best friend in the White House since Jimmy Carter. Obama has outright stated that he is opposed to the DEA actions of the past few years, and was actually quoted as saying “[He] would not have the Justice Department prosecuting and raiding medical marijuana users. It is not a good use of our resources.” There is a palpable buzz in the marijuana community today, a great hope for change the likes of which has not been seen for decades. It is important to note that the collectives that generally end up getting raided are those that do everything by the books and begin to grow and organize. The DEA does not want the collectives to start gaining any political clout (which they have anyway), so instead of going after the underground collectives that don’t do everything the way the laws say they should, they go after the well established, legitimate collectives. If DEA raids were to stop, the level of organization and political power within the marijuana industry would skyrocket, which would only act to move local and state legislature to pass more cannabis-friendly laws.

For the most part, I have made an effort to keep this essay within the scope of a medicinal argument. However, the potential economic benefits of hemp cannot be ignored in an argument about legalization. First, it should be noted that currently marijuana is the largest cash crop in the United States; larger than corn, flour, cotton, what have you. In fact, marijuana is estimated to be a larger cash crop than all others combined, and if it was legalized and taxed it would result in billions of dollars of tax revenue annually, the majority of which would be coming to California, since the state produces roughly one third of all of the marijuana for the entire nation (sales tax on medical marijuana alone would still result in approximately $100,000,000 annual revenue). Hemp is a legitimate and long-term cure to many of our economic and even environmental woes. There is a reason weed is called weed…and that is because it’s a weed. Hemp is especially easy to grow and is very hearty, and can be used to create strong, longer-lasting paper, softer clothing, rope, cosmetics, building materials, fuel, and even foods. Hemp seeds contain fiber, protein, and essential fatty acids, and has superior range of nutritional benefits to even that of the soy bean. Hemp can be grown in a wide variety of climates and can easily be grown in mass, meaning that it is a particularly useful source of ethanol based fuels (which currently power many of the cars in South America, but are usually produced with corn or sugar). In essence, we could basically end our dependency on fossil fuels, stop chopping down the world’s forests, and using petroleum based skin products, as well as much more, by widely adopting hemp as the country’s major cash crop. Do I think this will happen any time in the near future? Certainly not. Would it make sense? Absolutely.

The way this movement has been and will continue to make headway is through education. It is through papers like this and through organizations like Oaksterdam University. Whether you believe in medical marijuana, total marijuana legalization for everyone, or neither of the two, once educated on the facts regarding cannabis and the government’s treatment of the subject, I fail to see how you cannot be outraged. If you have any sense of patriotism and any desire to live in a country in which your government is held accountable for its actions, then you must see the wrongs being done. And with a new president in office, we can now begin to reverse the corruption and lack of accountability of the past eight years. I started this paper and I will end it with the same sentiment: currently there are between twenty and fifty million Americans who smoke marijuana. In the not too distant future, the rest of the nation will begin to understand the truths about marijuana, and they will do so because of people that strive to teach them. The facts will one day set us free, of that I am sure; we need only to educate the people.

Following is a list of my favorite marijuana-related quotes:

“The prestige of government has undoubtedly been lowered considerably by the prohibition law. For nothing is more destructive of respect for the government and the law of the land than passing laws which cannot be enforced. It is an open secret that the dangerous increase of crime in this country is closely connected with this.”
- Albert Einstein quote on Hemp

“When a private enterprise fails, it is closed down; when a government enterprise fails, it is expanded. Isn’t that exactly what’s been happening with drugs?”
- Milton Friedman quote on Marijuana

“It really puzzles me to see marijuana connected with narcotics . . . dope and all that crap. It’s a thousand times better than whiskey - it’s an assistant - a friend.”
- Louis Armstrong quote on Marijuana

“That is not a drug. It’s a leaf,”
- Arnold Schwarzenegger

“Forty million Americans smoked marijuana; the only ones who didn’t like it were Judge Ginsberg, Clarence Thomas and Bill Clinton.”
- Jay Leno

“The illegality of cannabis is outrageous, an impediment to full utilization of a drug which helps produce the serenity and insight, sensitivity and fellowship so desperately needed in this increasingly mad and dangerous world.”
- Carl Sagan

“Penalties against possession of a drug should not be more damaging to an individual than the use of the drug itself; and where they are, they should be changed. Nowhere is this more clear than in the laws against possession of marihuana in private for personal use… Therefore, I support legislation amending Federal law to eliminate all Federal criminal penalties for the possession of up to one ounce of marihuana.”
- Jimmy Carter, U.S. President

“I used to smoke marijuana. But I’ll tell you something: I would only smoke it in the late evening. Oh, occasionally the early evening, but usually the late evening - or the mid-evening. Just the early evening, mid-evening and late evening. Occasionally, early afternoon, early mid-afternoon, or perhaps the late-mid-afternoon. Oh, sometimes the early-mid-late-early morning. . . . …But never at dusk.”
- Steve Martin

AND FINALLY

“When I was a kid I inhaled frequently. That was the point.”
- Barack Obama, U.S. President


Feb 11 2009

From the Archives: The Story of Mel

Arjun’s Note: Anyone worth anything in programming who has spent a considerable amount of time on the internet has stumbled across ‘The Story of Mel’. It was posted to Usenet in 1983, and once it migrated to the internet it developed the free-verse form you see here. I know I’m unoriginal and lame for posting this since it’s available all over the internet, but for those of you who haven’t read it, it’s a true gem.

“Real Programmers write in FORTRAN.”

Maybe they do now,
in this decadent era of
Lite beer, hand calculators, and “user-friendly” software
but back in the Good Old Days,
when the term “software” sounded funny
and Real Computers were made out of drums and vacuum tubes,
Real Programmers wrote in machine code.
Not FORTRAN.  Not RATFOR.  Not, even, assembly language.
Machine Code.
Raw, unadorned, inscrutable hexadecimal numbers.
Directly.

Lest a whole new generation of programmers
grow up in ignorance of this glorious past,
I feel duty-bound to describe,
as best I can through the generation gap,
how a Real Programmer wrote code.
I’ll call him Mel,
because that was his name.

I first met Mel when I went to work for Royal McBee Computer Corp.,
a now-defunct subsidiary of the typewriter company.
The firm manufactured the LGP-30,
a small, cheap (by the standards of the day)
drum-memory computer,
and had just started to manufacture
the RPC-4000, a much-improved,
bigger, better, faster — drum-memory computer.
Cores cost too much,
and weren’t here to stay, anyway.
(That’s why you haven’t heard of the company,
or the computer.)

I had been hired to write a FORTRAN compiler
for this new marvel and Mel was my guide to its wonders.
Mel didn’t approve of compilers.

If a program can’t rewrite its own code”,
he asked, “what good is it?

Mel had written,
in hexadecimal,
the most popular computer program the company owned.
It ran on the LGP-30
and played blackjack with potential customers
at computer shows.
Its effect was always dramatic.
The LGP-30 booth was packed at every show,
and the IBM salesmen stood around
talking to each other.
Whether or not this actually sold computers
was a question we never discussed.

Mel’s job was to re-write
the blackjack program for the RPC-4000.
(Port?  What does that mean?)
The new computer had a one-plus-one
addressing scheme,
in which each machine instruction,
in addition to the operation code
and the address of the needed operand,
had a second address that indicated where, on the revolving drum,
the next instruction was located.

In modern parlance,
every single instruction was followed by a GO TO!
Put that in Pascal’s pipe and smoke it.

Mel loved the RPC-4000
because he could optimize his code:
that is, locate instructions on the drum
so that just as one finished its job,
the next would be just arriving at the “read head
and available for immediate execution.
There was a program to do that job,
an “optimizing assembler”,
but Mel refused to use it.

You never know where it’s going to put things”,
he explained, “so you’d have to use separate constants”.

It was a long time before I understood that remark.
Since Mel knew the numerical value
of every operation code,
and assigned his own drum addresses,
every instruction he wrote could also be considered
a numerical constant.
He could pick up an earlier “add” instruction, say,
and multiply by it,
if it had the right numeric value.
His code was not easy for someone else to modify.

I compared Mel’s hand-optimized programs
with the same code massaged by the optimizing assembler program,
and Mel’s always ran faster.
That was because the “top-down” method of program design
hadn’t been invented yet,
and Mel wouldn’t have used it anyway.
He wrote the innermost parts of his program loops first,
so they would get first choice
of the optimum address locations on the drum.
The optimizing assembler wasn’t smart enough to do it that way.

Mel never wrote time-delay loops, either,
even when the balky Flexowriter
required a delay between output characters to work right.
He just located instructions on the drum
so each successive one was just past the read head
when it was needed;
the drum had to execute another complete revolution
to find the next instruction.
He coined an unforgettable term for this procedure.
Although “optimum” is an absolute term,
like “unique”, it became common verbal practice
to make it relative:
not quite optimum” or “less optimum
or “not very optimum”.
Mel called the maximum time-delay locations
the “most pessimum”.

After he finished the blackjack program
and got it to run
(“Even the initializer is optimized”,
he said proudly),
he got a Change Request from the sales department.
The program used an elegant (optimized)
random number generator
to shuffle the “cards” and deal from the “deck”,
and some of the salesmen felt it was too fair,
since sometimes the customers lost.
They wanted Mel to modify the program
so, at the setting of a sense switch on the console,
they could change the odds and let the customer win.

Mel balked.
He felt this was patently dishonest,
which it was,
and that it impinged on his personal integrity as a programmer,
which it did,
so he refused to do it.
The Head Salesman talked to Mel,
as did the Big Boss and, at the boss’s urging,
a few Fellow Programmers.
Mel finally gave in and wrote the code,
but he got the test backwards,
and, when the sense switch was turned on,
the program would cheat, winning every time.
Mel was delighted with this,
claiming his subconscious was uncontrollably ethical,
and adamantly refused to fix it.

After Mel had left the company for greener pa$ture$,
the Big Boss asked me to look at the code
and see if I could find the test and reverse it.
Somewhat reluctantly, I agreed to look.
Tracking Mel’s code was a real adventure.

I have often felt that programming is an art form,
whose real value can only be appreciated
by another versed in the same arcane art;
there are lovely gems and brilliant coups
hidden from human view and admiration, sometimes forever,
by the very nature of the process.
You can learn a lot about an individual
just by reading through his code,
even in hexadecimal.
Mel was, I think, an unsung genius.

Perhaps my greatest shock came
when I found an innocent loop that had no test in it.
No test.  None.
Common sense said it had to be a closed loop,
where the program would circle, forever, endlessly.
Program control passed right through it, however,
and safely out the other side.
It took me two weeks to figure it out.

The RPC-4000 computer had a really modern facility
called an index register.
It allowed the programmer to write a program loop
that used an indexed instruction inside;
each time through,
the number in the index register
was added to the address of that instruction,
so it would refer
to the next datum in a series.
He had only to increment the index register
each time through.
Mel never used it.

Instead, he would pull the instruction into a machine register,
add one to its address,
and store it back.
He would then execute the modified instruction
right from the register.
The loop was written so this additional execution time
was taken into account —
just as this instruction finished,
the next one was right under the drum’s read head,
ready to go.
But the loop had no test in it.

The vital clue came when I noticed
the index register bit,
the bit that lay between the address
and the operation code in the instruction word,
was turned on —
yet Mel never used the index register,
leaving it zero all the time.
When the light went on it nearly blinded me.

He had located the data he was working on
near the top of memory —
the largest locations the instructions could address —
so, after the last datum was handled,
incrementing the instruction address
would make it overflow.
The carry would add one to the
operation code, changing it to the next one in the instruction set:
a jump instruction.
Sure enough, the next program instruction was
in address location zero,
and the program went happily on its way.

I haven’t kept in touch with Mel,
so I don’t know if he ever gave in to the flood of
change that has washed over programming techniques
since those long-gone days.
I like to think he didn’t.
In any event,
I was impressed enough that I quit looking for the
offending test,
telling the Big Boss I couldn’t find it.
He didn’t seem surprised.

When I left the company,
the blackjack program would still cheat
if you turned on the right sense switch,
and I think that’s how it should be.
I didn’t feel comfortable
hacking up the code of a Real Programmer.