Suppose you are an advanced student of physics, and you're just beginning your first research experience with a new professor. You're excited about the opportunities this means for your future, fascinated by the implications of the research, and anxious to please. Your professor tells you you need to run a computer simulation, and this is also exciting; you've never used a computer as a computer before -- usually just as an internet browser. To get you started, he points you to a reference text with some sample code, or sends you one he has on his hard drive somewhere.
This code will be written in Fortran. They all are. All legacy codes are Fortran.
So what is Fortran? Fortran is a high-level programming language designed back in the 50's. Here "high-level" means that it is not assembly language, and the programmer does not directly interact with machine elements like bits, bytes, or memory addresses, though Fortran is much "lower-level" than most modern languages like Java or Python, meaning it is only just a step or two above machine code. The name "Fortran" is short for "Formula Translation," as the language was intended to more directly translate a mathematical formula into computer code; Fortran allowed, for instance, an entire mathematical expression to be written out as a single line of code, as opposed to assembly, which would require multiple lines of register swapping and simple operations to acheive the same result.
You'll get the sample code and look at it, and it will be completely incomprehensible. They all are. All Fortran codes are incomprehensible.
Why is this? There are a lot of things that contribute to the issue.
Friday, July 28, 2017
Saturday, June 10, 2017
The Ukrainians From ZRus Who 'Read' My Blog
If you are a fellow user of Blogger or a similar platform, then you have probably noticed that you get a significant amount of traffic from websites in Ukraine or Russia, many with the specific domain name zrus.org. You're probably curious about who these Ukrainians linking to your blog might be. You may even be a little bit flattered that your tiny blog is getting international recognition.
Don't get excited, and whatever you do, do NOT click any link to these websites. This is a well-known scourge on the blogger community, and clicking the links could infect your computer with malware.
These sites are a malicious scam. Let me explain how this scam works.
Don't get excited, and whatever you do, do NOT click any link to these websites. This is a well-known scourge on the blogger community, and clicking the links could infect your computer with malware.
These sites are a malicious scam. Let me explain how this scam works.
Thursday, May 18, 2017
Why does so much time pass in Interstellar?
While on a quest to save the human race, astronauts in the film Interstellar travel to a foreign planet orbiting closely around a supermassive black hole. Due to the strong gravity, time on the planet is distorted, being artificially compressed. Seven entire years here on Earth are squeezed down to just one hour of time on the planet.
This is one of the many bizarre effects of Einstein's general theory of relativity, referred to as gravitational time dilation. I had some students from my physics class recently ask me to explain this phenomenon. So I prepared what I think is a fairly straightforward explanation of the phenomenon, assuming only a knowledge of 1st semester physics and some simple calculus.
This is one of the many bizarre effects of Einstein's general theory of relativity, referred to as gravitational time dilation. I had some students from my physics class recently ask me to explain this phenomenon. So I prepared what I think is a fairly straightforward explanation of the phenomenon, assuming only a knowledge of 1st semester physics and some simple calculus.
Wednesday, May 17, 2017
The Past Two Years of My Life
I was looking just now, and realized it's been two years since my last update.
This blog is kind of a weird thing. It started as a way for me to vent my thoughts on fantasy and science fiction books, then got kind of science-y. At one point I had a spike on my post about the vampire movie Let Me In. Then I had that viral Berenst#in Bears post that got passed around the web a lot, inspiring lots of kookiness. I was getting lots of traffic for a while -- until Vice basically rewrote my same idea but on their own website with their names attached.
Since then my traffic has slowly dwindled down to numbers that actually make sense for what my blog is.
Really, what gets me isn't that another site gets my traffic, but that in all the traffic that I got, almost none of them read what I think are some of my coolest posts -- the stuff about using Gauss' Law to calculate the width of Narnia, or using volume contracting spacetimes to travel to other dimensions, or why everything cool in physics is impossible, or how time travel is understood to work within physics.
I haven't posted much (anything) since things sort of died down. I still check in frequently, but never find the impetus to start to writing. Maybe it's the weight of former glory intimidating me.
This blog is kind of a weird thing. It started as a way for me to vent my thoughts on fantasy and science fiction books, then got kind of science-y. At one point I had a spike on my post about the vampire movie Let Me In. Then I had that viral Berenst#in Bears post that got passed around the web a lot, inspiring lots of kookiness. I was getting lots of traffic for a while -- until Vice basically rewrote my same idea but on their own website with their names attached.
Since then my traffic has slowly dwindled down to numbers that actually make sense for what my blog is.
Really, what gets me isn't that another site gets my traffic, but that in all the traffic that I got, almost none of them read what I think are some of my coolest posts -- the stuff about using Gauss' Law to calculate the width of Narnia, or using volume contracting spacetimes to travel to other dimensions, or why everything cool in physics is impossible, or how time travel is understood to work within physics.
I haven't posted much (anything) since things sort of died down. I still check in frequently, but never find the impetus to start to writing. Maybe it's the weight of former glory intimidating me.
Wednesday, August 5, 2015
Effective Mandela Theory
There are at least hundreds of thousands (or even millions) of people around the world who were shocked to hear that Nelson Mandela died recently. Their shock wasn't that a world-famous civil rights advocate had passed away. They were shocked because they thought
the man had died thirty years ago!
According to an impressively large number of people, Nelson Mandela originally died back in the 80s when he was in prison. They remember seeing it on the news and hearing about riots that broke out all across South Africa. It's a very specific memory, and a lot of people share it. It didn't happen (apparently, anyway), but thousands and thousands of people insist on remembering Mandela's death in prison and the resultant riots, and their accounts are fairly uniform (as uniform as memories ever are, anyway).
Now, people misremember things all the time. And usually, people can be pretty stubborn about what they remember, especially when it's two memories against each other. But when presented with something like every single newspaper ever printed that contradicts their claims, most people relent and admit that they're wrong. With Nelson Mandela's death, the people who swear he died earlier believe this memory so strongly that they will not let go of it, despite being contradicted by every relevant fact in existence. It isn't because they're just that stubborn, or that stupid. The memory has a certain quality to it. For whatever reason, their brain refuses to discard it.
This sort of phenomenon has become known (for better or worse) as the Mandela Effect. It is when a large number of people share and insist on a fairly cohesive counterfactual memory.
Saturday, July 18, 2015
The fallacy of 'billions of billions', or: Why popular arguments that aliens must exist are bogus.
The universe is an awfully big place. Granted, most of it is empty space. But within that empty space, there are trillions of stars. Maybe more. At least some of those stars have planets around them, and some of those planets are the kind that could give rise to life. That's still hundreds of billions (at least) of planets that can support life out there. And so, the popular argument goes, even if the odds of life arising on another planet are very small, there are so many planets that it is bound to happen. Thus, there almost certainly exist extraterrestrial life forms. It isn't a matter of if, but of when we find them.
Here's a video of Dr. Carl Sagan presenting a more sophisticated version of this (with actual numbers) to estimate the number of inhabited planets in our galaxy. Or try this worksheet on the Drake Equation on the BBC website.
It's a common argument. And it sounds pretty convincing. If you keep trying over and over, even though something is unlikely, eventually you will succeed.
It's common and convincing, but it's also fallacious. Here's the problem: How many times do we have to try before we're guaranteed to succeed?
The mathematical answer is infinitely many times.
Here's a video of Dr. Carl Sagan presenting a more sophisticated version of this (with actual numbers) to estimate the number of inhabited planets in our galaxy. Or try this worksheet on the Drake Equation on the BBC website.
It's a common argument. And it sounds pretty convincing. If you keep trying over and over, even though something is unlikely, eventually you will succeed.
It's common and convincing, but it's also fallacious. Here's the problem: How many times do we have to try before we're guaranteed to succeed?
The mathematical answer is infinitely many times.
Saturday, March 21, 2015
Faeries in Phase Space
A few weeks ago, Professor Ben Zuckerman spoke at my school. He is one of the editors of the popular book "Extraterrestrials: Where Are They?" which explores in part the Fermi paradox: Why haven't extra-terrestrials tried to contact us yet? While he gave two lectures, I only attended one, where he went over many of the ideas in his book, explaining the rarity of technological life and the improbability of us ever making "contact".
I went to the colloquium talk rather interested. In honesty, I kind of misunderstood the intention of the talk (I thought he was going to be arguing against the existence of extraterrestrial life), but I was not disappointed. There were a lot of interesting ideas brought up about how to make contact or about what sorts of development projects we should pursue. And while I think some of them were really bad, they were thought-provoking. (Dr. Zuckerman of course recognizes the flaws of these, saying they are just stage 1 prototype designs).
The talk was very well done and I won't touch on it too much. What I really wanted to address was an audience question asked by one of the professors at my university. First let me provide some background.
I went to the colloquium talk rather interested. In honesty, I kind of misunderstood the intention of the talk (I thought he was going to be arguing against the existence of extraterrestrial life), but I was not disappointed. There were a lot of interesting ideas brought up about how to make contact or about what sorts of development projects we should pursue. And while I think some of them were really bad, they were thought-provoking. (Dr. Zuckerman of course recognizes the flaws of these, saying they are just stage 1 prototype designs).
The talk was very well done and I won't touch on it too much. What I really wanted to address was an audience question asked by one of the professors at my university. First let me provide some background.
Subscribe to:
Posts (Atom)