Monthly Archives: July 2012

The Essential Keyboard Shortcuts

Keyboard shortcuts are one of those little things that just make your life easier. Below are the ones I use on a daily basis, the most basic and useful essentials of navigating in a Windows environment. You may know some or most of these already, but then, you may find some new ones, too.

  • Ctrl+C – Copy.
  • Ctrl+X – Cut.
  • Ctrl+V – Paste.
  • Ctrl+S – Save file.
  • Ctrl+N – Create new file.
  • Ctrl+B – Turn bold on/off (in most text editing programs).
  • Ctrl+I – Turn italics on/off (in most text editing programs).
  • Ctrl+U – Turn underline on/off (in most text editing programs).
  • Ctrl+A – Select all.
  • Tab – Move to the next field in a form.
  • Shift+Tab – Move to the previous field in a form.
  • Ctrl+Z – Undo.
  • Ctrl+Y – Redo (does not work in as many programs as Ctrl+Z).
  • Windows Key + D – Show desktop.
  • Windows Key + L – Lock computer.
  • Ctrl+Alt+Delete – The classic. Allows you (hopefully) to end a program that’s locked up.
  • Hold Alt and press Tab repeatedly – Cycle through all open windows.
  • Home – Move to the beginning of the line. A very basic but underused function.
  • End – Move to the end of the line.
  • Ctrl+Home – Move to the beginning of the document.
  • Ctrl+End – Move to the end of the document.
  • Shift+Arrow Key – Highlight text.
  • Shift+Delete – Delete a file without putting it in the Recycle Bin. (Use with caution.)
  • Ctrl+T – In an Internet browser, open a new tab.
  • Ctrl+F – Search for text in a document.
  • Shift+Enter – In many programs (like some instant messengers), hitting “Enter” performs a command (like sending the message) instead of adding a new line. If all you want is a new line, Shift+Enter is the way to go.
  • Print Screen – Another very useful key that’s often overlooked. Take a screenshot of the current screen and copy it. You can then paste it into any graphical editor (like MS Paint).
  • Alt+Print Screen – Take a screenshot of just the window that’s currently active.

Those are the ones I can remember off the top of my head, but I’m sure I missed plenty of good ones. If I left out any of your favorites, how about sharing them in the comments?

All-Terrain Armored Bug

You’ve seen these things, right? Little gray bugs with lots of legs, and when you touch them, they roll up into a ball.

They’re invading our house right now. Last night alone we must’ve found half a dozen of them in various rooms, cruising around our carpet like they own the place. Which isn’t so bad – they’re totally harmless, don’t bite, don’t do much of anything that I’ve ever seen. I used to let them crawl over my fingers when I was a kid.

Here’s my question: what do you call these things? I always called them one name growing up, and then I learned a second name when I got older, but my wife calls them yet a third thing. What about you?

Friday Links

Super Mario is jealous.

This guy built his own musical instrument out of PVC pipes, and he plays it pretty damn well. The epic five-minute medley includes everything from the Pirates of the Caribbean theme to Daft Punk.

Debt problems? The whole PLANET's in the red! Ba-doom-ssh!

You may not have heard, but the latest mission to Mars is currently en route, scheduled to land early next month. The Curiosity rover will be twice as big as the previous ones. This video breaks down the “seven minutes of terror” of Curiosity’s fantastically complicated descent.

You just *know* the scientists were having this hand flip people off.

Want to watch a robot dominate a human at Rock, Paper, Scissors? Of course you do. (Submitted by longtime reader buddhafulkat.)

I'm bringing this hat style back. Who's with me?!

Very funny video about a medieval inventor’s greatest creation.

BOOM

xkcd creator Randall Munroe explains exactly what would happen, in physics terms, if you pitched a baseball at 90% the speed of light. He walks you through the carnage nanosecond by nanosecond.

HURRAY FOR PICTURES OF TEXT

The Onion explains what the Calvin and Hobbes cartoonist has been up to since retiring. As it turns out, the answer is mostly “spite.”

Ah yes, the popular magazine "Celebs."

SMBC nails it as always. The target this time: those annoying nerds who are proud of their own ignorance. I’ve been guilty of this myself on occasion.

The beam is emitting rays of pure science!

Physicists have finally discovered the long-sought Higgs boson particle…probably.

Have a great weekend!

Thoughts on Returning to School

I graduated from college back in 2007 with a bachelor’s degree in computer science. I had a job lined up and I wasn’t looking back. Now, after five years of working in the “real world,” I’m returning to school (albeit a different university) to get my master’s in the same subject. Still working full-time, but now I’ve got classes in the evenings too.

I’m only three weeks in, so I haven’t started my thesis or any major research yet. In these early stages, my academic work as a grad student isn’t hugely different from what I had as an undergrad. Still, it’s exciting.

As a citizen of corporate America, here are five things I love about going back to school:

1. The focus is on knowledge. In the corporate world, knowledge is a means to an end. Training is justified in terms of benefit to the company. The ultimate goal is to make money. In school, this order is reversed: knowledge is explicitly the goal, and money is the hoop you jump through to reach it. I love learning more than almost anything else, so it’s wonderfully refreshing to return to a world centered on that.

2. Objectives are clear. When you’re managing a corporate project, you spend half your time just trying to nail down what, exactly, your requirements are – and the other half trying to keep up with the changes. (Ideally you do the actual work somewhere in there too.) In class, you know what your goals are, because they give you a sheet where they’re numbered and printed in bold. Is it realistic to expect clarity from the universe? No. Is it wonderful when it happens? Oh sweet Asimov yes.

3. You know how well you’re doing. In the corporate world, it’s very hard to figure out whether you’re doing a good job. If your project finishes under budget, maybe you’re a good project manager – or maybe your initial estimate was too high. If you miss a deadline, maybe you screwed up – or maybe the problem was just more complex than anybody realized. In practice, your own performance is so intertwined with everyone else’s – and external factors – that it’s very difficult to sort anything out. Sure, you get an annual review from your boss, but in the end, that’s just another opinion. But classes? They give you grades: simple, unambiguous grades. I never realized how nice that was until it went away.

4. Success depends only on you; failure only hurts you. Sure, classes have group projects sometimes, and researchers often work in teams. But by and large, academia (especially at the lower levels) is far more individual than corporate life. Some people might consider that a downside, but for me, it’s pretty wonderful.

5. Projects end. You turn in your homework, and that’s the end of it. You finish a class, and you never go back. Even multi-year research culminates in a thesis, and then you can move on. Contrast that with the corporate world, where nothing is ever truly over. Sure, projects have a close-out phase, but from there you just switch to supporting whatever you installed – and gearing up for the next project, which will build on the last one. Efforts are measured in decades, and early mistakes can haunt your later work for years.

Of course, everything loses its luster after a while. By the time I had my bachelor’s degree in hand, I was thoroughly sick of academic life, determined not to go back, and ready for the fresh air of Actually Doing Something. By the time I get my master’s, the pendulum may have swung back again. But for now, school is a good place to be.

How does school life compare with working life in your own experience?

Tauntaunology

I sense a disturbance in the Pun.

Question: How hot is it inside a Tauntaun?

Answer: Luke warm.

HAHAHAHAHAHAHAHAHAHAHA

You’re welcome, Internet.

Does It Matter If Jesus Is God?

Lately, my wife and I have been watching a series of video lectures on the New Testament, part of the modestly-titled Great Courses brand. Pretensions aside, the Great Courses actually are pretty good, and this particular series examines the New Testament from a historical and academic (and therefore secular) point of view. My wife is a Christian and I’m not, and we’ve both gotten a lot out of them.

One thing I like about the lectures is that they force you to step back from modern, mainstream views on Christianity, and focus your attention on the text of the gospels themselves. As you’d expect from documents that are two millennia old, their meaning in many cases is hard to grasp. In particular, it’s far from clear whether the gospel authors themselves considered Jesus to be God.

At first glance, this may seem surprising. Nearly all modern Christians, Jehovah’s Witnesses excepted, believe that Jesus was (and is) both fully man and fully God. But, as it turns out, this belief is never explicitly stated anywhere in the Bible.

Of the four gospels, John comes the closest to spelling it out. Jesus says, “Whoever has seen me has seen the Father.” (John 14:9.) Even this is oddly veiled and, in my view, ambiguous. After all, Jesus spoke in parable and metaphor; couldn’t he have meant that he was the path to the Father?

And remember, John was the latest of the four, written probably sixty years after Jesus’ death. The earlier three are even less clear. Jesus is presented as the Jewish messiah, the “Son of Man,” and the “Son of God.” But God Himself? Hints, perhaps, but nothing more. A modern reader, examining the gospels without a prior opinion, might be very puzzled about the exact nature of Jesus’ divine status. In fact, the early Christians were equally puzzled, with prominent sects promoting the idea that Jesus was subordinate to God. It wasn’t until the First Council of Nicaea, almost three centuries after the death of Jesus, that anything like a consensus was reached.

But here’s my question: does it matter? If you are a Christian, a believer, is the status of Jesus as God really part of the foundation of your faith?

John 3:16 is often cited as an encapsulation of the Christian belief:

For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life.

A belief in God, a belief in salvation, and a belief in Jesus as Christ and redeemer. It’s striking that Jesus-as-God forms no part of this core formula.

Though I’m not a Christian anymore, I was for a long time, and it seems to me that this question – while interesting – is not fundamental. If God sent Jesus to die for the sins of mankind, surely that’s the important part. Does his precise theological status really matter?

What do you think?

Postmortem: The Martian Chronicles

Little green men are *so* mainstream.

As I recently noted, Ray Bradbury died last month. At the time I heard the news, I hadn’t read much of his work beyond Fahrenheit 451, but the articles about his death kept mentioning The Martian Chronicles as another of his masterpieces. So when I happened across it at the library the other day, I grabbed it.

I’m glad I did.

The Martian Chronicles tells the story of humanity’s exploration and settlement of Mars. The fictional timeline spans from 1999 to 2026, a period which – at the time of the book’s publication in 1950 – was far future. Of course, as with any old sci fi, many of the ideas seem dated now. At one point the Martian colonists receive messages from Earth in Morse code. But if you can put aside such anachronisms, the writing holds up remarkably well.

Chronicles is billed as a novel, but it takes the form of a short story collection: twenty-seven stories, some no longer than a page, each one separate but intertwined with the others, each telling its own little piece of the journey to Mars. The overall effect is that of a mosaic, a pleasant fracturing of the narrative into many close-ups. You get to see the Martians themselves, with their masks and sand ships and telepathic premonitions of the coming human invasion. You meet Benjamin Driscoll, a modern Johnny Appleseed determined to invigorate the thin Martian air by planting trees. You read about a Poe fanatic who constructs his very own House of Usher on the Red Planet, thumbing his nose at the Fahrenheit-style censors. Each story is vivid and unique.

The version I read – the 40th anniversary edition – has an extra story, not included in the original, called “The Fire Balloons.” Normally I’m wary of such bonus material; if it wasn’t good enough for the editors back then, I’m skeptical I’m going to like it now. But this story, about a group of missionaries who must bring Christ to a community of spherical blue fire-spirits, turned out to be one of my favorites. Even if you’ve read Chronicles before, I’d recommend grabbing the new edition for that story alone.

Bradbury’s style is poetic but practical. Here’s a sample:

The wind hurled the sand ship keening over the dead sea bottom, over long-buried crystals, past upended pillars, past deserted docks of marble and brass, past dead white chess cities, past purple foothills, into distance. The figures of the Martian ships receded and then began to pace Sam’s ship.

I was worried, toward the beginning of the book, because the style threatened to be too much: too much lyrical sadness, too much melodrama, too much insistence on weeping for a lost world.

I’m glad I stuck around. The worry passed, the mosaic unfolded, and the book was brilliant.

I just got back from a five-day vacation in Florida, where I was able to do a lot of reading. Besides this book, I also finished Buzz Aldrin’s autobiography Magnificent Desolation, the excellent short play Twelve Angry Men (about a jury deciding a murder case), and Susan Sontag’s Regarding the Pain of Others. Now I’m on Ian McEwan’s novel Atonement, which is great so far.

What are you reading these days?

Blog Returns Monday, July 9

Have a happy Fourth!

The Chinese Room Debunked

Yesterday I explained the Chinese Room argument, which tries to show that a digital computer could simulate human understanding without “really” understanding anything. Today I’ll show why I find this argument deeply unconvincing.

My counterargument is the same one that thousands of other people have given over the years – so much so, that I’d call this the standard reply. It may be standard, but it’s correct, so I see no reason to invent something new. This is the so-called “Systems Reply,” which says that, even if no single part of the room understands Chinese – neither the person, nor the library, nor the notebooks – the overall system does, in fact, understand.

Although Searle never gives a clear definition of “understanding” (as far as I know), I take his meaning to be the subjective experience of consciousness. That is, when I look at something red, it isn’t merely that a particular neuron fires in my brain; I actually, in some strange, inexplicable, unprovable way, see something that I can only describe as red. I have, in other words, a conscious experience. I am sentient.

Am I really claiming that a room with a Chinese-illiterate dude and a big library could, as a whole, be conscious and aware in the same sense that you and I are?

Yes, I am.

Searle is naturally skeptical of this response, as you probably are too. It sounds crazy. It sounds counterintuitive. But it’s only counterintuitive because all the minds we’re familiar with happen to run on biological neurons, so it just seems natural that neurons lead to minds.

By the way, let’s be clear about what’s really happening in this room. This is not, as you might imagine, just a busy guy in a large office with a few hundred books. We’re talking about trillions of books, a building the size of a thousand Astrodomes, a tireless and immortal man who takes millennia to answer an input as simple as “hello.” It is a vast system, as unfathomably complex as the human brain itself. We are, in effect, emulating a brain, but instead of using mechanical hardware, we happen to have chosen paper and pencil. Doesn’t matter. What matters is the system.

What would Searle say to the Systems Response? In fact, we know exactly what he would say, because he’s said it:

My response to the systems theory is quite simple: Let the individual internalize all of these elements of the system. He memorizes the rules in the ledger and the data banks of Chinese symbols, and he does all the calculations in his head. The individual then incorporates the entire system. There isn’t anything at all to the system that he does not encompass. We can even get rid of the room and suppose he works outdoors. All the same, he understands nothing of the Chinese, and a fortiori neither does the system, because there isn’t anything in the system that isn’t in him. If he doesn’t understand, then there is no way the system could understand because the system is just a part of him.

Yet the Systems Response still applies. We’ve merely decided to use one brain to emulate another, just as my PC can emulate an NES and play video games. The underlying PC hardware and operating system know nothing at all about how to run Super Mario Bros., but the NES emulator running on the PC understands it just fine. In the same way, the poor sap who memorized the rules may know nothing about Chinese, but the second mind he’s created through his emulation will understand it just fine.

The odd thing about the Chinese Room argument is that it could be applied just as easily to claim that humans don’t understand anything either. After all, the brain is just a bunch of neurons and glial cells and so on, and each of those is just a bunch of molecules that obey the laws of physics in the usual way. How can a molecule be intelligent? It can’t, of course. The idea of a molecule being intelligent is just as absurd as a book being intelligent. The idea of a massive collection of molecules, arranged in highly specific ways (like the human brain), achieving sentience, is no less absurd, but we accept it because experience has shown it must be true. Likewise, then, we must accept that the Chinese Room can be sentient.

Searle’s fundamental problem, as far as I can tell, is that he just can’t accept results that seem too counterintuitive. But the world of AI research is not an intuitive place – and neither are the worlds of math or science, for that matter. Something can be incredibly strange, but still true.

By the way, this is not all merely academic. The answer to this question has powerful ethical implications.

Consider this question: is it wrong to torture a robot?

If we believe that digital robots can have no conscious experience, that they merely simulate human responses, then torturing a robot isn’t actually possible. They may scream or twitch or do whatever else, but it is all, in some sense, “fake.” The robot can’t really experience pain. On the other hand, if we are willing to accept that machines can have subjective experiences on fully the same level as a human being, then torturing a robot becomes monstrous (as, in fact, I believe it would be).

And trust me – sooner or later, there will be robots. We’d better get this one right.

What do you think?

The Chinese Room

Last week I talked about the Turing Test, which suggests that if a computer can carry on a conversation with a person (via some text-based chat program) and the person can’t tell whether they’re talking to another human or a machine, then the machine may be considered intelligent.

One of the main objections to the Turing Test is the so-called Chinese Room argument. The Chinese Room is a thought experiment invented by John Searle to show that, even if a digital computer could pass the Turing Test, it still would not understand its own words, and thus should not be considered intelligent.

The argument goes like this. A digital computer (by which I just mean any ordinary computer, like your PC) can do several things. It can receive input; it can follow a long list of instructions (the program code) that tell it what to do with its input; it can read and write to internal memory; and it can send output based on these internal computations. Any digital computer that passes the Turing Test will simply be doing these basic things in a particularly complicated way.

So, the argument continues, let’s imagine replacing the computer with a man in a room. The computer’s goal is to pass the Turing Test in Chinese. Someone outside passes in slips of paper with Chinese characters, and the man must pass back slips of paper with responses in Chinese. But the man himself knows no Chinese, only English. However, the room contains an enormous library of books, full of instructions on how to handle any Chinese characters. For any message he receives, he looks up the characters in his library and follows the instructions (in English) on how to compose a response. He also has a pencil and paper he can use to write notes, do figuring as necessary, and erase notes, as instructed by his books. Once he has his answer, he writes it down and passes it back.

Here, the library of books corresponds to the computer’s program code, the pencil and paper corresponds to internal memory, and the person (who understands English but not Chinese) corresponds to the hardware that executes the program (which understands program instruction codes but not human language).

Searle points out that, although the man in the Chinese Room can theoretically carry on a perfectly good conversation in Chinese, there is nothing in the room (neither the man nor the books) that can be said to understand Chinese. Therefore, the Chinese Room as a whole can act as if it understands Chinese, but it doesn’t really. In the same way, a digital computer can act as if it’s thinking, but it isn’t really. The computer is only manipulating symbols, which have no meaning to the computer; it can never understand what it is doing. Real understanding requires an entirely different kind of hardware – like the kind in the human brain, made up of biological neurons – which a digital computer simply does not possess.

In fact, says Searle, even if a digital computer were to precisely simulate a human brain, neuron by neuron, and function correctly in just the same way, it still would not understand what it was doing in the way that a human brain does. This follows, he says, merely as a special case of the general Chinese Room argument.

I have my own opinion on the Chinese Room argument, which I’ll give tomorrow. In the meantime, what do you think? Is his argument convincing?