Multiple people have written to me, after seeing yesterday’s algorithms basics post, asking me to say more about sorting algorithms. I have to say that it’s not my favorite topic – sorting is one of those old bugaboos that you can’t avoid, but which gets really dull after a while. But there is a kernel of interest to it – sorting can be used to demonstrate a lot of interesting ideas about
Continue reading Not Quite Basics: Sorting Algorithms
A kind reader pointed out that I frequently mention algorithms, but that I haven’t defined them in the basics posts. To me, they’re so fundamental to the stuff I do for a living that I completely forgot that they’re an interesting idea.
It’s really pretty simple: an algorithm is description of a mechanical procedure for performing a mathematical task. But that’s actually a fairly sophisticated idea – the general concept of things that describe a procedure, and which can be discussed, described, and reasoned about as entities in their own right is something quite different from nearly anything that came before it.
Continue reading Basics: Algorithm
Over in the thread about Engineer Borg and his wacked-out electromagnetic theory
of gravity, a commenter popped up and pointed at the web-site of someone named Tom Bearden, who supposedly has shown how to generate free “vacuum” energy using electronic and/or electromagnetic devices.
I hadn’t heard of Dr. Bearden before, and promised to take a look at his website.
So I went and took a look. And wow, I hit the jackpot! This is an absolute masterwork of crackpottery. Dr Bearden’s lunacy covers just about every conceivable topic, from conspiracy theories, to HIV denalism, to wacky physics, magical woo healing devices, post-Soviet KGB collaborations with the Japanese government to shoot down American planes and manipulate weather….
To give you a bit of flavor: he’s got a bibliography of information that allegedly supports his theories. If you take a look at it, the first thing you see is listed as “National Science Foundation letter favorably reviewing Bearden Paper”. The contents of that link consist of a scanned letter from the NSF replying to an email sent by Dr. Bearden, which consists of a basic standardized form letter inviting him to submit an actual proposal, and warning that he’d better include some proof that his perpetual motion machine really works, and an explanation of how.
Continue reading The Jackpot of Crankery: Woo Physics, Woo Medicine, Woo Politics, and Woo Math
PZ has already commented on this, but I thought that I’d throw in my two cents. A surgeon, Dr. Michael Egnor, posted a bunch of comments on a Time magazine blog that was criticizing ID. Dr. Egnor’s response to the criticism was to ask: “How much new information can Darwinians mechanisms generate?”
Continue reading A Math Geek on Dr. Egnor's Evasions of Evolutionary Information
What we have here is a truly warped language.
Back in the very early days of what eventually became computer science, many of the people working in the field invented all sorts of automatons/computing formalisms. The one that I’ve always found the most confounding is the Tag machine invented by Emil Post.
The tag machine is simple to the point of triviality. The machine is a queue of characters (with one character designated as “Halt”), and a set of rules. Each rule has a different character that selects the rule, and a string of characters. Each step, the machine looks at the first character of the queue, and selects the rule that that is associated with that character. If the character is “Halt”, the machine just stops, and whatever is left on the queue is the result of the computation. Otherwise, it appends the selected rule’s string of characters to the end of the queue, and then removed a fixed number of characters from the front of the queue. The machines are called “n-Tag” machines where “n” is number of character dropped each step.
That’s it. Look at the front of the queue, use it to pick a set of characters to append, and then remove and discard the first N characters from the queue..
For any N≥2, a Post N-tag machine is Turing equivalent.
Like I said above – I’ve always found the Post Tag machine to be thoroughly confounding. I can grasp why it’s Turing equivalent, but for the life of me, I’ve never been able to figure out how to actually implement anything interesting on one. So, I figured, there are tons of esoteric/pathological language fans out there who love nothing more than the challenge of writing interesting programs for bizarre languages; I’ll write a post-tag language, and throw it to the wolves, and see what happens!
Continue reading The Most Pathological Machine I've Ever Seen: Tag
Please make sure you read to the end. A couple of late submissions didn’t get worked into the main text, and a complete list of articles is included at the end.
Oy. So I find myself sitting in my disgustingly messy office. And I’ve got a problem. The Math Carnival is coming to town. All those geeks, and the chaos that they always cause. Oy.
Continue reading The Second Carnival Of Mathematics: The Math Geeks are Coming to Town!
Today, the ACM announced the winner of the Turing award. For those who don’t know, the Turing award is the greatest award in computer science – the CS equivalent of the Nobel prize, or the Fields medal.
The winner: Fran Allen. The first woman ever to win the Turing award. And the first Turing award winner that I’ve personally known. Fran deserves it, and I’m absolutely overjoyed to see her getting the recognition she deserves. Among her many accomplishments, Fran helped design Fortran and create the worlds first optimizing compiler.
One of my fondest memories of work is from 8 years ago. My advisor, Lori Pollock, was up for tenure. Fran was picked as one of the outside reviewers for her tenure case. So in the course of doing the review, she read the papers that Lori and I wrote together – and liked them. The next time she was in my building, she came to my office to introduce herself and talk to me about the papers I’d written. I was absolutely stunned – Fran Allen came looking for me! to talk to me!
Since then, I’ve learned that that’s just the kind of person she is. Fran is a brilliant woman, one of the smartest people I’ve had to opportunity to meet: a person who has done amazing things in her career. And she’s also one of the nicest people you could ever hope to meet. She’s approachable and friendly, and has searched out many junior researchers to give them a bit of encouragement. She’s been a mentor to more people that I could hope to count. She’s just a thoroughly amazing person.
I can’t even begin to say how happy I am for her. She’s earned the greatest award that exists for computer science, and I’m thrilled to see that the ACM recognized that. And knowing Fran, I’m particularly happy that she’s the first woman recipient of the award, because she’s worked so hard in her career to help women overcome the biases of so many people in the mathematical sciences.