## Search found 11 matches

Thu Oct 02, 2014 7:15 am UTC
Forum: What If?
Topic: What-If 0114: "Antimatter"
Replies: 52
Views: 17056

### Re: What-If 0114: "Antimatter"

So Venus is antimatter!?
Fri Jun 20, 2014 12:26 pm UTC
Forum: What If?
Topic: What-If 0101: "Plastic Dinosaurs"
Replies: 35
Views: 9982

### Re: What-If 0101: Plastic Dinosaurs

It depends on where they lived, how they died, where their bodies ended up, and what kinds of temperature and pressure they experienced.

No! They didn't experience anything! They were dead!

I hate the ubiquitous misuse of the word "experience".
Fri Apr 04, 2014 10:14 am UTC
Topic: 1350: "Lorenz"
Replies: 178
Views: 87842

### Re: 1350: "Lorenz"

Since some people asked for a rocket, I've got a 24-panel rocket here, maybe someone can use it: http://xkcd.com/1350/#p:04febda8-bab0-11e3-8026-002590d77bdd http://xkcd.com/1350/#p:bbb2f148-bb66-11e3-800e-002590d77bdd is a sequel where it has looped back to an earlier frame. Note that for many of ...
Tue Jan 07, 2014 10:10 pm UTC
Forum: What If?
Topic: What-If 0078: "T-Rex Calories"
Replies: 54
Views: 14534

### Re: What-If # 0078 T-Rex Calories

Calories? I don't know why people are still using those. They were abolished at least 30 years ago. All food packaging must show Joules. And then *food* calories? WTF? I'd like to have the numbers in proper units please. Joules. (Not "food joules", just in case somebody feels the urge to i...
Fri Sep 27, 2013 8:48 pm UTC
Topic: 1270: Functional
Replies: 171
Views: 47155

### Re: 1270: Functional

showCChar c = ['\\', intToDigit (ord c `quot` 64), intToDigit (ord c `quot` 8 `mod` 8), intToDigit (ord c `mod` 8)] The "c" here is called "a variable". Even if it doesn't vary with time (math doesn't really care about time's copyright on varying things). We seem to be from diff...
Fri Sep 27, 2013 8:33 pm UTC
Topic: 1270: Functional
Replies: 171
Views: 47155

### Re: 1270: Functional

Variables are treated in functional programming essentially just as they are in math. f(x) can take any x in its domain, but x is constant in a given function. And local variables are not generally "functions." They can be, but they can also be ints and bools and reals and whatever else. ...
Fri Sep 27, 2013 8:11 pm UTC
Topic: 1270: Functional
Replies: 171
Views: 47155

### Re: 1270: Functional

Modern processors don't do single operations. They are pipelined . But they are still designed to work as if all the instructions from the instruction stream are performed in the sequence as given. That is why pipeline stalls occur if one value depends on another which isn't available yet, or why t...
Fri Sep 27, 2013 8:00 pm UTC
Topic: 1270: Functional
Replies: 171
Views: 47155

### Re: 1270: Functional

Functional languages have no variables. There are no mutable variables in a purely functional language, but that's a very different thing. Welll.... if variables don't vary, they're constants. Or local definitions (such as in a where- or let-clause), which are in general local function definitions ...
Fri Sep 27, 2013 11:50 am UTC
Topic: 1270: Functional
Replies: 171
Views: 47155

### Re: 1270: Functional

E: On an unrelated note, is it easier to code paralellism in imperative programming, or does it not really matter? Functional languages are much easier to parallelise automatically. This is due to "referential transparency", i.e. the principle that if you evaluate (calculate) the same exp...
Fri Sep 27, 2013 11:13 am UTC
Topic: 1270: Functional
Replies: 171
Views: 47155

### Re: 1270: Functional

I think I get the joke, but abstract mathematics is actually pretty clear to me and essentially ideal for computer programming. Though OOP kind of fits the bill too. The first thing I thought of was the following description of C: “a language that combines all the elegance and power of assembly lan...
Wed Jul 24, 2013 9:46 am UTC
Forum: What If?
Topic: What-If 0055: "Random Sneeze Call"
Replies: 37
Views: 19033

### Re: What-If 0055: "Random Sneeze Call"

And what is the chance that the person you call is a violent anti-theist who is now going to kill you?