Review of 10 Billion Days and 100 Billion Nights

Cover of 10 Billion Days & 100 Billion Nights
Cover artwork

According to its cover, this book is “the greatest Japanese science fiction novel of all time.” They didn’t attribute that quote to a source, but it’s impressive sounding nonetheless.

Ten Billion Days and One Hundred Billion Nights by Ryu Mitsuse is a bizarre book. It covers a huge amount of ground in just under 300 pages. Starting from the origins of the universe and the formation of our planet, the novel takes us through major philosophical and religious milestones of our species: after describing the evolution of life, we’re introduced to Plato, then Siddhartha, then Jesus. The book continues well beyond that, ending up near the heat death of the universe.

Mitsuse isn’t content with simply blasting through history. The main hook of this novel is the mixture of religion with razor-sharp hard science fiction. Without giving too much of the plot away, the novel tells a story of an alien influence on the growth and development of humanity, and how it has manifested itself in different religions and philosophies throughout history. These are the parts of the novel in which Mitsuse is at his best. The writing for each time period resembles the religious and philosophical texts of the time, and the reactions of the characters to the science fiction elements of the plot are interesting and revealing. It brings to mind one a famous quote from Arthur C. Clarke: “Any sufficiently advanced technology is indistinguishable from magic.” Perhaps we could substitute out “magic” for “divine intervention.”

Continue reading

Posted in Reviews | Leave a comment

Learning from crackpots

One of the most talked-about parts of the Republican primary is Ron Paul’s surprisingly strong numbers. He and his loyal and passionate supporters have been aggressively campaigning in Iowa, and his positions on foreign policy, civil liberties, and drug legalization are making him somewhat popular among progressives.

For those of us on the left, there is a lot to like about Paul. He’s the only presidential candidate to openly oppose the war on drugs and the Bush/Cheney anti-terrorism policies (indefinite detention, state secrecy, preemptive war) — while the other Republican candidates (and, sadly, Obama) are largely on the wrong end of those issues. Glenn Greenwald wrote a typically brilliant article addressing this.

That’s not to say Ron Paul isn’t a crackpot. He is.

Continue reading

Posted in Politics | Tagged , | 2 Comments

Using tail recursion

I’ve been working on my Lisp interpreter on and off for the last two months, and I’ve had to do a lot of recursive thinking. Solving problems recursively is often very convenient and elegant, but many people find recursion to be less intuitive than plain iterative looping. At my University (so far) we’ve focused primarily on solving problems and implementing algorithms using a procedural style of programming, and it takes a bit of leap to go from C or Java to a language like Scheme, which uses generally uses recursion rather than for or while loops.

My article on callback functions worked out pretty well and got a positive reaction, so I’m going to continue with the theme of programming/comp-sci tutorials and write out an introduction to tail recursion, how/why it works, why we use it, and how to translate regular recursion into tail recursion.

Continue reading

Posted in Programming | Tagged , , | 1 Comment

simplescheme.js, a Lisp interpreter in Javascript

A few days ago I started work on a simple Scheme-like Lisp interpreter written in Javascript. I’m calling it simplescheme.js.

It started out as a way to study for my programming languages class and to gain a better understanding of the Scheme programming language, and I found myself having a lot of fun doing it so I kept going. Right now it’s far from complete, but it’s certainly usable in its current form.

I set up a web interface here that lets you enter and run code inside a browser.

After I started working on the interpreter I read that John McCarthy, the creator of Lisp, recently died. First Dennis Ritchie, now this — October has been a bad month for us computer geeks.

Posted in Programming | Tagged , , | 2 Comments

Sequences of numbers in Ruby (Collatz Problem)

Continuing on from my post about prime numbers in Ruby, I took a crack at another Project Euler problem:

The following iterative sequence is defined for the set of positive integers:

nn/2 (n is even)
n→3n + 1 (n is odd)

Using the rule above and starting with 13, we generate the following sequence:

13 → 40 → 20 → 10 → 5 → 16 → 8 → 4 → 2 → 1

It can be seen that this sequence (starting at 13 and finishing at 1) contains 10 terms. Although it has not been proved yet (Collatz Problem), it is thought that all starting numbers finish at 1.

Which starting number, under one million, produces the longest chain?

This one was straightforward to solve with recursion, as the problem is actually defined recursively.

Continue reading

Posted in Programming | Tagged , | 2 Comments

The Tea Party is falling from favor

The New York Times and CBS recently conducted a poll asking people how favorable their opinion was of different political groups. Compared to last year, the Tea Party has suffered a severe decline in popularity:

In April 2010, a New York Times/CBS News survey found that 18 percent of Americans had an unfavorable opinion of it, 21 percent had a favorable opinion and 46 percent had not heard enough. Now, 14 months later, Tea Party supporters have slipped to 20 percent, while their opponents have more than doubled, to 40 percent.

The whole debacle of the debt ceiling didn’t cast the Tea Party in a particularly good light, and I don’t find it surprising that people are turning on the Tea Party after seeing how far right of public opinion it really is. Considering how depressing politics has been recently for a liberal like me, it’s encouraging to see the far-right Tea Party movement falling out of favor.

The Times compared the ranking of the Tea Party against other groups.

[The] Tea Party ranks lower than any of the 23 other groups we asked about — lower than both Republicans and Democrats. It is even less popular than much maligned groups like “atheists” and “Muslims.” Interestingly, one group that approaches it in unpopularity is the Christian Right.

It stings to see that us atheists are so low on the list, but we thankfully managed to edge out the Tea Party and the Christian Right. Continue reading

Posted in Politics | Tagged , , | 2 Comments