Thursday, September 14, 2006
Queerer Than We Suppose
Here is a video of a brilliant talk by Richard Dawkins entitled "Queerer Than We Suppose: The Strangeness of Science". Very good stuff.
Human Pheromones
I remember my introductory biology textbook said that the existence of human pheromones was still basically a mystery. Now researchers at Penn State claim that fathers emit pheremones that hold off their daughters' sexual maturity!
Read the article - it's pretty fascinating.
Read the article - it's pretty fascinating.
Friday, September 08, 2006
Atheism and Morality Revisited
I wrote some quick thoughts on this once, but here's a post that really nails it.
Thursday, August 31, 2006
Piano
I've been playing piano for two years. I don't take lessons, I just practice harder and harder pieces, and I'm reading some of the theory as well. I practice regularly and quite a lot. I've consistently put in four hours a week, so by now I've had over 400 hours of practice.

The main thoughts I have about playing piano are:
Incidentally, I am moving out of my apartment tomorrow, moving out of the bay area on Sept 10, and going back to UCI on Sept 20.
The main thoughts I have about playing piano are:
- It's fun to play good music. I don't know why I can't get the same enjoyment from a good recording that I can from playing it. It seems a little irrational.
- It's really fun, and I have no trouble practicing consistently. I don't exercise nearly as regularly as I'd want to, or even read music theory that much, but I practice plenty. It's cool to have a random skill that's constantly developing like that.
- A lot of the best music I've heard is still too hard for me. Here are some targets I am shooting for in the next few years:
- Gershwin - Rhapsody in Blue (an advanced piano adaption)
- Beethoven - Eroica Symphony, 1st movement (piano adaption by Liszt)
- Chopin - Scherzo in Bb Minor
- Chopin - Impromptu Fantasie
- Bach - Well Tempered Clavier Book 2, Prelude #6
Incidentally, I am moving out of my apartment tomorrow, moving out of the bay area on Sept 10, and going back to UCI on Sept 20.
Thursday, August 24, 2006
Bush is a Moron
During the 2004 election season, there was this idea that President Bush isn't as dumb as his words, actions and policies. It seemed plausible that Bush's image as an imbecile might be a misleading one.
Today I saw two pieces of evidence that helped me to finally make up my mind:
What a Moronic Presidential Press Conference! (Slate)
Your President, the Visionary Genius (Huffington Post)
I am forced to believe that the man is clearly too stupid to be the president. He is simply unqualified and incompetent. It really is that simple.
Today I saw two pieces of evidence that helped me to finally make up my mind:
What a Moronic Presidential Press Conference! (Slate)
Your President, the Visionary Genius (Huffington Post)
I am forced to believe that the man is clearly too stupid to be the president. He is simply unqualified and incompetent. It really is that simple.
Tuesday, June 13, 2006
Friday, June 09, 2006
God Is Imaginary
I must post this link to a new spinoff website by Marshall Brain: God Is Imaginary.
Atheism and Morality
I would like to resolve the seemingly paradoxical phenomenon that atheists are often the most moral people you'll ever meet.
I am an atheist, but I have moral ideals for how society should function. The one I consider most fundamental is the assumption that the same moral ideals should apply to all humans.
Since I want society to function well, I make an effort to embody the same ideals I expect in others. I don't believe there is a "higher" meaning to life, I think we humans create our own. Improving society is a pursuit that I find worthwhile to pursue on this earth, and as a result I feel good about myself when I do my part by being a good person.
One interesting thing to consider is that it's always the religious people who accuse the atheists of not having real morals. But the reality is, when an atheist like me decides to act morally, it is out of pure idealism. When a religious person acts morally, they expect to get a reward from it -- heaven, karma, a better relationship with God, whatever.
So, it is really the atheists who have the upper hand on the morality issue!
I am an atheist, but I have moral ideals for how society should function. The one I consider most fundamental is the assumption that the same moral ideals should apply to all humans.
Since I want society to function well, I make an effort to embody the same ideals I expect in others. I don't believe there is a "higher" meaning to life, I think we humans create our own. Improving society is a pursuit that I find worthwhile to pursue on this earth, and as a result I feel good about myself when I do my part by being a good person.
One interesting thing to consider is that it's always the religious people who accuse the atheists of not having real morals. But the reality is, when an atheist like me decides to act morally, it is out of pure idealism. When a religious person acts morally, they expect to get a reward from it -- heaven, karma, a better relationship with God, whatever.
So, it is really the atheists who have the upper hand on the morality issue!
Saturday, June 03, 2006
Loose grip on reality
If you are not a scientist and you completely disagree with a fundamental theory of modern science, chances are you have what I call a loose grip on reality. I think the epitome of a modern loose-gripper is the young-earth creationist. Let's compare him with his historical analogue.
Yes, it's scary how many parallels you can draw between today's young-earth creationists, and the geocentric nuts of the 1600s. Consider:
Of course the earth's place in the universe is central to modern astronomy, so to speak. But then again, the earth's age is fundamental to modern geology, paleontology, molecular biology, dendrochronology, genomics, physical anthropology, astronomy, physics and archaeology, amongst other sciences. And that is why I think young-earth creationists have a loose grip on reality.
Yes, it's scary how many parallels you can draw between today's young-earth creationists, and the geocentric nuts of the 1600s. Consider:
- How do you know the earth revolves around the sun, and not vice versa?
- How do you know the earth is 4.5 billion years old, and not 6,000?
Of course the earth's place in the universe is central to modern astronomy, so to speak. But then again, the earth's age is fundamental to modern geology, paleontology, molecular biology, dendrochronology, genomics, physical anthropology, astronomy, physics and archaeology, amongst other sciences. And that is why I think young-earth creationists have a loose grip on reality.
Monday, May 22, 2006
Visual Basic Self-Replicator
I am reading Introduction to the Theory of Computation. In the chapter about advanced topics in computability theory, it mentioned a technique for building a self-replicating Turing machine (a Turing machine that writes its own description on its tape). I have implemented this basic technique to write a self-replicating program using Visual Basic 6 (a program that outputs its own code). [In the form designer, create one TextBox called Text1 and set its Multiline property to True.]
Here is a rough overview of how it works. X() is just a subroutine to take the contents of Text1, and output the code for a Form_Load function that would write those contents to Text1, followed by a blank line, followed by the previous contents of Text1. Form_Load() is the block that executes first. It simply transcribes the code of X() into Text1, then calls X(). I have a hard time keeping this all in my head at once.
This took me an hour to write, and had many more complications than I expected. It was difficult to accurately reproduce the double-quote character (") as it is used in the code. The syntax for escaping the double-quote in a string literal is to write two consecutive double quotes (""). Notice that at one point, I have written twelve consecutive double-quote characters. That was probably the highlight.
Private Sub Form_Load(): Text1.Text = "Private Sub X(): Text1.Text = ""Private Sub Form_Load(): Text1.Text = """""" + Replace(Text1.Text, """""""", """""""""""") + """""": X: End Sub"" + vbCrLf + vbCrLf + Text1.Text: End Sub": X: End Sub
Private Sub X(): Text1.Text = "Private Sub Form_Load(): Text1.Text = """ + Replace(Text1.Text, """", """""") + """: X: End Sub" + vbCrLf + vbCrLf + Text1.Text: End Sub
Here is a rough overview of how it works. X() is just a subroutine to take the contents of Text1, and output the code for a Form_Load function that would write those contents to Text1, followed by a blank line, followed by the previous contents of Text1. Form_Load() is the block that executes first. It simply transcribes the code of X() into Text1, then calls X(). I have a hard time keeping this all in my head at once.
This took me an hour to write, and had many more complications than I expected. It was difficult to accurately reproduce the double-quote character (") as it is used in the code. The syntax for escaping the double-quote in a string literal is to write two consecutive double quotes (""). Notice that at one point, I have written twelve consecutive double-quote characters. That was probably the highlight.
Friday, May 19, 2006
Whistling
Here is another dorm observation: a lot of people in my dorm whistle a lot. They whistle loudly and for a long time. But there is no tune! They are whistling musical gibberish. And it's pretty annoying. What the hell?
Thursday, May 18, 2006
Quadratic Formula
ax^2 + bx + c = 0
Solve for x.
Obviously, x is equal to the quadratic formula. Can you derive it? Hint: the most important technique is completing the square.
The quadratic formula is fundamental for even the most basic algebra, and it only takes five or ten steps to derive. I think it should be on any high school algebra final exam.
Solve for x.
Obviously, x is equal to the quadratic formula. Can you derive it? Hint: the most important technique is completing the square.
The quadratic formula is fundamental for even the most basic algebra, and it only takes five or ten steps to derive. I think it should be on any high school algebra final exam.
Wednesday, May 17, 2006
Hair Dryers
I hate hair dryers so much! They make a terribly loud and annoying noise for about two minutes straight, and piss off dorm-mates like me. The point of all that is drying your hair? Are you kidding me? You can dry your hair with a towel. It's fine, really. Why do these things sell? A hair dryer is basically a rube goldberg for drying your hair.
Some asshole in my hall has been drying his or her hair since before I started writing this post. Fucking unbelievable.
Some asshole in my hall has been drying his or her hair since before I started writing this post. Fucking unbelievable.
Tuesday, May 16, 2006
Saturday, May 06, 2006
Two ears and one mouth
"Listening is more important than talking. That is why God has given us two ears and only one mouth."
So what's the alternative, one ear and two mouths? It makes sense that two ears were naturally selected because they allow our brain to triangulate the location of a sound source. There is no significant advantage a second mouth would offer that would compensate for the complexity of maintaining it.
I don't think it should be socially acceptable to spout those stupid cliches about how your anatomy supposedly corresponds to God's will. What kind of a sick joke would that be?
So what's the alternative, one ear and two mouths? It makes sense that two ears were naturally selected because they allow our brain to triangulate the location of a sound source. There is no significant advantage a second mouth would offer that would compensate for the complexity of maintaining it.
I don't think it should be socially acceptable to spout those stupid cliches about how your anatomy supposedly corresponds to God's will. What kind of a sick joke would that be?
Saturday, April 29, 2006
Argument from Design
Does anyone else think it's ridiculous that creationists are still using the argument from design? I believe the person who first invalidated that argument was... Charles Darwin!
I'm guessing the conversation must have gone something like this:
Creationist: Look at all this complex life around us. It was clearly designed by an intelligent designer. There is simply no other conceivable way!
Darwin: Actually, I've thought of one, because I am brilliant. I submit that complexity can emerge from the passive process of random mutation and natural selection, given sufficient time.
Creationist: Uh huh, I see... interesting.
Creationist: Soooooooooo, how do you explain the fact that the organisms we see around us are so complex that they could only have come about as the result of an intelligent designer's design?
How can anyone claim that the central argument of ID is a modern development in science!?
I'm guessing the conversation must have gone something like this:
Creationist: Look at all this complex life around us. It was clearly designed by an intelligent designer. There is simply no other conceivable way!
Darwin: Actually, I've thought of one, because I am brilliant. I submit that complexity can emerge from the passive process of random mutation and natural selection, given sufficient time.
Creationist: Uh huh, I see... interesting.
Creationist: Soooooooooo, how do you explain the fact that the organisms we see around us are so complex that they could only have come about as the result of an intelligent designer's design?
How can anyone claim that the central argument of ID is a modern development in science!?
Tuesday, April 25, 2006
Reading off a Screen
I have to read some tedious stuff for Humanities class, both online and off, and I noticed something odd: it's a lot easier for me to read (boring) text from the web than from a physical book. I read so much online, that I'm used to the physical experience of sitting in that position. It's harder for me to stay comfortable and focused reading a book. Case in point: I stopped to write this blog post.
Also, I like scrolling the page up with the mouse more than turning pages. It's all part of my assimilation into the 21st century.
Also, I like scrolling the page up with the mouse more than turning pages. It's all part of my assimilation into the 21st century.
Thursday, April 13, 2006
Pretty Famous
Right now I am the thirteenth most popular Liron on the internet. This blog comes up thirteenth when you search for the string on Google. Not bad, eh?
And I am pleased to say that I am the most popular Liron Shapira on the net. That guy from the "Department o Biology" put up a good fight, but I just wanted it more.
And I am pleased to say that I am the most popular Liron Shapira on the net. That guy from the "Department o Biology" put up a good fight, but I just wanted it more.
Wednesday, April 05, 2006
How to Invalidate a Christian's Prayers
Anyone with common sense knows that prayer doesn't actually work in any meaningful way. Here is a good experiment from Why Does God Hate Amputees by Marshall Brain:
Invalidate a Christian's Prayer's
All you have to do is periodically ask them what they are praying for, and follow up by asking whether it works. You are doing this for the purpose of comparing their results with the normal statistics about these kinds of things. Now all their normal prayers are test prayers!
The whole "testing the lord" line reminds me of when you're playing a game of Horse and you miss a basket, so you call it a practice shot. But if you sink a nice shot, you sure as hell are not going to give up the credit for that sucker on a technicality. A Christian who defends prayer is just like a cheap Horse player, clinging tightly to anecdotes about effective prayers, while shrugging off any meaningful studies of the phenomenon.
If you are a good Christian who believes in prayer, I bet you'd still feel a little uncomfortable openly praying for God to strike you dead. But what's the biggie? It's obviously a test, so he won't do anything, right? I would certainly have no problem shouting any self-destructive prayer you like, because I have real confidence in my knowledge that they are useless.
The truth is that people who believe prayer works don't know the conditions under which it does. It's easy to make up rationalizations for individual incidents after they happen, but that's exactly what they are -- rationalizations. Do your Christian acquaintances a favor and invalidate their prayers with this handy technique so they stop wasting time on them.
Now I want you to try the [coin-flipping] experiment again, but this time I want you to pray to Jesus Christ instead of Ra. Pray sincerely to Jesus like this:Of course this example has a common justification, which is that we are testing the lord. So here is a mean trick you can use to screw over any Christian who thinks their normal prayers get answered, but not their "test prayers".
"Dear Jesus, I know that you exist and I know that you hear and answer prayers as you promise in the Bible. I am going to flip this ordinary coin 50 times, and I am asking you to cause it to land heads-side-up all 50 times. In Jesus' name I pray, Amen."Now flip the coin. Once again, after the fifth or sixth flip, the coin will land tails.
Invalidate a Christian's Prayer's
All you have to do is periodically ask them what they are praying for, and follow up by asking whether it works. You are doing this for the purpose of comparing their results with the normal statistics about these kinds of things. Now all their normal prayers are test prayers!
The whole "testing the lord" line reminds me of when you're playing a game of Horse and you miss a basket, so you call it a practice shot. But if you sink a nice shot, you sure as hell are not going to give up the credit for that sucker on a technicality. A Christian who defends prayer is just like a cheap Horse player, clinging tightly to anecdotes about effective prayers, while shrugging off any meaningful studies of the phenomenon.
If you are a good Christian who believes in prayer, I bet you'd still feel a little uncomfortable openly praying for God to strike you dead. But what's the biggie? It's obviously a test, so he won't do anything, right? I would certainly have no problem shouting any self-destructive prayer you like, because I have real confidence in my knowledge that they are useless.
The truth is that people who believe prayer works don't know the conditions under which it does. It's easy to make up rationalizations for individual incidents after they happen, but that's exactly what they are -- rationalizations. Do your Christian acquaintances a favor and invalidate their prayers with this handy technique so they stop wasting time on them.
Paper is Ridiculous
Today in Humanities class I wrote an in-class essay. I was thinking how ridiculous it is to compose essays on paper. The main problem with paper is:
On a computer, revising is the easiest thing in the world. It is as easy as typing. Did you know that if you hold down the control key and then press backspace, delete, or an arrow key, it lets you operate on an entire word of text in one keystroke? Over the course of writing this blog post, I have watched myself take a false start and then instantly backtrack on almost every sentence. That's actually my strategy -- I put down my first idea of how to start the sentence, see how it looks, then go from there.
This computer's powerful editing interface has been around for decades. Why do professors think that paper is still useful as a medium for composing essays in class?
It's hard to go back and edit.No one naturally writes in one long, organized flow. I think usually the best way to write something is to quickly belt out a first draft, then revise it afterward. It's also useful to be able to make little changes along the way -- it puts you at ease, since you don't have to hesitate and make sure you are getting everything right the first time.
On a computer, revising is the easiest thing in the world. It is as easy as typing. Did you know that if you hold down the control key and then press backspace, delete, or an arrow key, it lets you operate on an entire word of text in one keystroke? Over the course of writing this blog post, I have watched myself take a false start and then instantly backtrack on almost every sentence. That's actually my strategy -- I put down my first idea of how to start the sentence, see how it looks, then go from there.
This computer's powerful editing interface has been around for decades. Why do professors think that paper is still useful as a medium for composing essays in class?
Subscribe to:
Posts (Atom)