## Search found 135 matches

- Wed Dec 21, 2016 1:34 pm UTC
- Forum: Religious Wars
- Topic: Programming Language Alignment Chart?
- Replies:
**32** - Views:
**33346**

### Re: Programming Language Alignment Chart?

lawful characteristics = strongly typed, straightforward syntax, language follows one paradigm instead of allowing many chaotic characteristics = perl Definitely. Basically, are you allowed to write dirty hacks, or do you have to follow strict rules? That's pretty much an exact parallel to D&D ...

- Tue Dec 20, 2016 12:55 am UTC
- Forum: Religious Wars
- Topic: 1/xy
- Replies:
**12** - Views:
**9150**

### Re: 1/xy

As EvanED points out, we do need to have a strict rule, and the rule being different for literals and variables is definitely confusing. Either they have the same precedence, or different. And having another rule for implied multiplication also sounds like a terrible idea. The way things are, they c...

- Mon Dec 19, 2016 11:01 pm UTC
- Forum: Science
- Topic: Verizon Math (Help!)
- Replies:
**4** - Views:
**2264**

### Re: Verizon Math (Help!)

Apparently the very same company has made that mistake before. I remember hearing some recording on Youtube or something years ago, where a guy calls Verizon to complain. He was told that his roaming charges were zero-point-something cents, but they charged him zero-point-something dollars instead. ...

- Wed Sep 07, 2016 9:10 am UTC
- Forum: Mathematics
- Topic: Pay to Win - a game theory problem
- Replies:
**21** - Views:
**5563**

### Re: Pay to Win - a game theory problem

Maybe I should rephrase that part. That's a good thing about posting here - even if you don't find the answer, you find out how to clarify the problem. So I'll replace We assume that promises are kept; if one player says "I will give you this much if you cooperate", they can't go back on t...

- Tue Sep 06, 2016 6:38 pm UTC
- Forum: Mathematics
- Topic: Pay to Win - a game theory problem
- Replies:
**21** - Views:
**5563**

### Re: Pay to Win - a game theory problem

Should they produce a binding contract such that they collect all the money [---] But that only works if they are allowed to do that, which I mistakenly assumed, as it wasn't written in the OP. Right, they can't do that, because neither knows how much "all the money" is. It could have bee...

- Tue Sep 06, 2016 2:09 pm UTC
- Forum: Mathematics
- Topic: Pay to Win - a game theory problem
- Replies:
**21** - Views:
**5563**

### Re: Pay to Win - a game theory problem

He could, but why would he? He doesn't know that A got more, so it's in his interest to defect.

- Tue Sep 06, 2016 10:58 am UTC
- Forum: Mathematics
- Topic: Pay to Win - a game theory problem
- Replies:
**21** - Views:
**5563**

### Re: Pay to Win - a game theory problem

I don't see how it would matter whether the money is transferred before or after? Quantropy: The way I thought of it, both defecting is the default state, so their perceived fair solution is splitting the gains above that. But the other way is also possible. I guess it depends on how you express the...

- Mon Sep 05, 2016 11:42 am UTC
- Forum: Mathematics
- Topic: Pay to Win - a game theory problem
- Replies:
**21** - Views:
**5563**

### Re: Pay to Win - a game theory problem

Okay, let's say they're only told an amount, rather than given a piece of paper.

- Mon Sep 05, 2016 12:56 am UTC
- Forum: Mathematics
- Topic: Pay to Win - a game theory problem
- Replies:
**21** - Views:
**5563**

### Pay to Win - a game theory problem

This is not homework; it's a problem I've been thinking about and can't quite figure out. As such, it may not be entirely well defined. I hope it's clear enough, otherwise I'll have to clarify. Each player, A and B, is given a piece of paper with an amount of money written on it, which they read wit...

- Thu Dec 17, 2015 3:14 am UTC
- Forum: Science
- Topic: Bad science jokes!
- Replies:
**100** - Views:
**34047**

### Re: Bad science jokes!

My physics department used to give the students free coffee, until they realised they were making a loss. True story.

- Thu Dec 17, 2015 2:46 am UTC
- Forum: Science
- Topic: A question about tea
- Replies:
**18** - Views:
**3894**

### A question about tea

Sometimes my tea gets cold, and I reheat it in the microwave. Then, as usual, I pour a spoon of sugar in it. A little bit of white foam appears. This only happens when the tea has been heated in the microwave, and has sugar added to it. What is causing it? Why does it not happen when the tea is heat...

- Thu Dec 17, 2015 2:33 am UTC
- Forum: Logic Puzzles
- Topic: The Two Oracles - a statistics problem
- Replies:
**74** - Views:
**12594**

### Re: The Two Oracles - a statistics problem

How did any Oracle ever give her first answer that was not 0% or 100%? You are right, of course, that there is a slight oversimplification here. More accurately, the fraction of positive outcomes will approach the given probability as the number of tries approach infinity. This is after all how pro...

- Sat Dec 12, 2015 7:38 pm UTC
- Forum: Logic Puzzles
- Topic: The Two Oracles - a statistics problem
- Replies:
**74** - Views:
**12594**

### Re: The Two Oracles - a statistics problem

For a predetermined event there is a "real" probability. Of 1 if the event has been predetermined to happen. Of 0 if the event has been predetermined to not happen. Yes, you can consider the actual outcome as a true probability. I'm not sure that's a useful definition. We can think of a n...

- Mon Dec 07, 2015 10:14 pm UTC
- Forum: Logic Puzzles
- Topic: The Two Oracles - a statistics problem
- Replies:
**74** - Views:
**12594**

### Re: The Two Oracles - a statistics problem

Can the first oracle say the probability is 0% and the other that it's 100%? In practice, no, but they can be arbitrarily close. In theory - well, can an event have probability 100%, and still not happen? Technically, yes - we would say that it happens "almost surely" (there's a good Wiki...

- Tue Dec 01, 2015 8:19 am UTC
- Forum: Logic Puzzles
- Topic: The Two Oracles - a statistics problem
- Replies:
**74** - Views:
**12594**

### Re: The Two Oracles - a statistics problem

Generally, the problem involves two different methods of finding a probability. In this case, one of them says 75% and one says 90%. Both methods are, on their own, accurate - the probabilities are both correct. When we express it as being about oracles, the word "correct" gets a bit awkwa...

- Mon Nov 30, 2015 10:09 pm UTC
- Forum: Logic Puzzles
- Topic: The Two Oracles - a statistics problem
- Replies:
**74** - Views:
**12594**

### Re: The Two Oracles - a statistics problem

If the oracles talk about the probabilities of a deterministic event, then the event can only happen one way, and the oracles know it. Or the oracles don't know it, and they can't give an useful answer because they don't have more information than we do. They may have more information without havin...

- Sun Nov 29, 2015 2:08 pm UTC
- Forum: Logic Puzzles
- Topic: The Two Oracles - a statistics problem
- Replies:
**74** - Views:
**12594**

### Re: The Two Oracles - a statistics problem

Since the oracles are independent, knowing the response of Oracle A is in A 75 should not give you information about the response of Oracle B. That's the definition of independence! I don't think I've said that they're independent, although I may have been more or less intentionally misleading. The...

- Sun Nov 29, 2015 3:20 am UTC
- Forum: Logic Puzzles
- Topic: The Two Oracles - a statistics problem
- Replies:
**74** - Views:
**12594**

### Re: The Two Oracles - a statistics problem

Well, sounds like it's time for answers. First, let's look at the special case we talked about, where the oracles know the truth but might decide to lie. This is a simple calculation: The chance of both oracles being honest is 75% * 90% = 67.5%. The chance of both lying is 25% * 10% = 2.5%. We know ...

- Sun Nov 29, 2015 1:23 am UTC
- Forum: Logic Puzzles
- Topic: The Two Oracles - a statistics problem
- Replies:
**74** - Views:
**12594**

### Re: The Two Oracles - a statistics problem

I think I have an answer to the problem, although it might not be very satisfying. I think the semantics of the problem has been a bit confusing (which, admittedly, is kind of what makes it fun). Here is another formulation of what should be the same problem, which might be less confusing: Suppose w...

- Sat Nov 28, 2015 9:10 pm UTC
- Forum: Logic Puzzles
- Topic: The Two Oracles - a statistics problem
- Replies:
**74** - Views:
**12594**

### Re: The Two Oracles - a statistics problem

Without knowing whether the oracles are trolls (or, indeed, any information about their behavior at all), we have no information about the actual probability. Indeed, as PeteP was also getting at. I should add this to the problem description as well - the oracles are not biased against the king, or...

- Sat Nov 28, 2015 3:24 pm UTC
- Forum: Logic Puzzles
- Topic: The Two Oracles - a statistics problem
- Replies:
**74** - Views:
**12594**

### Re: The Two Oracles - a statistics problem

Since it's an outcome that has already happened in the future (note: this is equivalent to the outcome of the war being already determined), Yes. both oracles tell either 100% or 0%. No, as originally stated, they do not. Whether they know the outcome or not is not known to us. The fact that someth...

- Sat Nov 28, 2015 3:16 am UTC
- Forum: Logic Puzzles
- Topic: The Two Oracles - a statistics problem
- Replies:
**74** - Views:
**12594**

### Re: The Two Oracles - a statistics problem

SDK: Yes, you could do a thousand trials, and they could give different probabilities, and they could still both be correct. Here is an example with 20 trials: n Or1 Or2 fact 1 75% T 90% T T 2 75% T 90% F F 3 75% F 90% T F 4 75% F 90% F F 5 75% T 90% T T 6 75% T 90% F F 7 75% T 90% T T 8 75% F 90% F...

- Fri Nov 27, 2015 6:59 pm UTC
- Forum: Logic Puzzles
- Topic: The Two Oracles - a statistics problem
- Replies:
**74** - Views:
**12594**

### Re: The Two Oracles - a statistics problem

It depends what you mean by "always correct". I have stated quite clearly what I mean - you may not agree with that definition. It is easy to fall into the trap of thinking that there is one true probability, and that if the oracle is really correct, she should give that probability. But t...

- Fri Nov 27, 2015 6:30 pm UTC
- Forum: Logic Puzzles
- Topic: How many prisoners?
- Replies:
**112** - Views:
**45059**

### Re: How many prisoners?

Right, of course. So, have we accepted that SS's solution was correct? Do we have a time limit? Here's another attempt, hopefully correct, but slow and nondeterministic: As established, we can get an upper bound on the number of prisoners (n), which is no more than 2^n. We can also, in 2^n t...

- Fri Nov 27, 2015 2:22 am UTC
- Forum: Logic Puzzles
- Topic: Buffalo buffalo buffalo.
- Replies:
**58** - Views:
**23232**

### Re: Buffalo buffalo buffalo.

What saddens me is that the Latin name is "Bison bison", and not "Buffalo buffalo".

- Fri Nov 27, 2015 2:08 am UTC
- Forum: Logic Puzzles
- Topic: Anti-Gambler's Fallacy
- Replies:
**162** - Views:
**24396**

### Re: Anti-Gambler's Fallacy

Well, logically, of course you'd keep playing - that is, you wouldn't stop specifically because things seem to be going badly, but of course logic can't tell us when to actually stop, unless you run out of money. And just as obviously, you wouldn't keep going that long if it happened in real life. A...

- Fri Nov 27, 2015 1:55 am UTC
- Forum: Logic Puzzles
- Topic: How many prisoners?
- Replies:
**112** - Views:
**45059**

### Re: How many prisoners?

I'm not sure I quite understand any of the previous solutions and attempts, but let me just try my own and see what you think. On night 1, the special prisoner is "positive" and the others are all "negative". Each night, anyone who is positive sends a signal (the others don&#...

- Fri Nov 27, 2015 12:53 am UTC
- Forum: Logic Puzzles
- Topic: The Two Oracles - a statistics problem
- Replies:
**74** - Views:
**12594**

### Re: The Two Oracles - a statistics problem

As with many logic problems, there are some practical issues that get in the way. First, can the king change the outcome of the war after he knows the probability? Realistically, yes - he could lose on purpose, for example. This is not meant to be part of the problem; we should assume that the war i...

- Thu Nov 26, 2015 2:52 pm UTC
- Forum: Logic Puzzles
- Topic: The Two Oracles - a statistics problem
- Replies:
**74** - Views:
**12594**

### The Two Oracles - a statistics problem

The king of Lydia is planning to attack Persia, and wants to know if the war will be successful. So he goes to ask the nearest oracle. The problem with this oracle is that she only answers in probabilities, but on the other hand, she is always correct (and doesn't give stupid ambiguous answers). Tha...

- Thu Nov 26, 2015 2:50 pm UTC
- Forum: Logic Puzzles
- Topic: Escape the Frictionless Circle
- Replies:
**156** - Views:
**52839**

### Re: Escape the Frictionless Circle

Here's my idea, but I'm not sure if it will work: You wrap the rope around yourself so you become something like a top. You then push the gold block directly away from you. As the rope spools out, you should start to spin about your (not the system's) center of gravity. To conserve angu...

- Fri Jun 06, 2014 12:10 pm UTC
- Forum: Coding
- Topic: Extracting the stress pattern from a text
- Replies:
**5** - Views:
**2805**

### Re: Extracting the stress pattern from a text

Progress has been made: I just stumbled upon such a pronunciation dictionary: http://www.speech.cs.cmu.edu/cgi-bin/cmudict

Now the question is just if there's something available that would let me find the sentence stress.

Now the question is just if there's something available that would let me find the sentence stress.

- Thu Jun 05, 2014 11:02 am UTC
- Forum: Coding
- Topic: Extracting the stress pattern from a text
- Replies:
**5** - Views:
**2805**

### Re: Extracting the stress pattern from a text

Yes, that's what I think too - that's presumably what a text-to-speech engine does. After that, it probably has some algorithm for determining which words are stressed, and that would be helpful here too, so we don't end up with the stress on some "the" or "and". But as long as I...

- Wed Jun 04, 2014 7:41 pm UTC
- Forum: Coding
- Topic: Extracting the stress pattern from a text
- Replies:
**5** - Views:
**2805**

### Extracting the stress pattern from a text

I'm planning a little research project where I make a program that takes a text and writes music for it. As a first step of this, I would need to know the syllable count and stress pattern of the text. I assume there are programs that do that, since it's also needed for decent text-to-speech, so I'd...

- Tue Apr 08, 2014 1:51 pm UTC
- Forum: Mathematics
- Topic: A peculiar equation
- Replies:
**2** - Views:
**2597**

### A peculiar equation

A long time ago, I came up with an equation. It looks like this:

x^2 + y^2 + z^2 + 1 = x + (2y + √(23)z) / 3

where x, y and z are real.

The fun thing about it is that even though there are three variables, it can be completely solved. I just can't remember how.

So, how?

x^2 + y^2 + z^2 + 1 = x + (2y + √(23)z) / 3

where x, y and z are real.

The fun thing about it is that even though there are three variables, it can be completely solved. I just can't remember how.

So, how?

- Wed Mar 12, 2014 10:27 am UTC
- Forum: Science
- Topic: Gravitational mass of an electron?
- Replies:
**35** - Views:
**11381**

### Re: Gravitational mass of an electron?

I had a similar question a while back: Does the gravitational attraction on a particle increase if it is accelerated to near light speed? Relativity tells us that‚ near light speed, momentum increases to more than just rest mass times velocity. We can interpret this two ways: Either the mass increas...

- Wed Mar 12, 2014 10:13 am UTC
- Forum: Science
- Topic: What is the smallest object that has gravity?
- Replies:
**65** - Views:
**18118**

### Re: What is the smallest object that has gravity?

We did the torsion thing in first year physics, using a couple of metal balls about 1 dm in diameter. So the gravity from a few kilos is easily measurable, without any top modern equipment.

- Tue Feb 18, 2014 2:48 am UTC
- Forum: Science
- Topic: Metals from salt
- Replies:
**2** - Views:
**1506**

### Metals from salt

I've been musing on a sci-fi setting, where metals are extracted from salt (water). I don't know much chemistry, so I'd like some pointers on what might be plausible avenues for doing that, and also what one might do with the product. I know some metals are being extracted from seawater; I think I w...

- Mon Feb 17, 2014 1:05 pm UTC
- Forum: Science
- Topic: Boiling in the greenhouse
- Replies:
**19** - Views:
**3638**

### Re: Boiling in the greenhouse

Really? It sounds like something the second law of thermodynamics would have a problem with. Wouldn't just as much heat travel back?

- Sat Feb 15, 2014 1:37 am UTC
- Forum: Science
- Topic: Boiling in the greenhouse
- Replies:
**19** - Views:
**3638**

### Re: Boiling in the greenhouse

Either way, that would suggest that the greenhouse isn't helping much. We could argue that if using 100% of the energy gives 6 mm, and we know from experience (and Coyne's source) that that's not extremely much, that means that even an ordinary pond will absorb a large part of the energy. Since ordi...

- Fri Feb 14, 2014 1:32 pm UTC
- Forum: Science
- Topic: Boiling in the greenhouse
- Replies:
**19** - Views:
**3638**

### Re: Boiling in the greenhouse

Don't know where the 680 was from. Edited to fix. So is it possible to evaporate more than what you pay for in energy like this? Can the water molecules be swept away into the air while having less than the "boiling energy"? Or does the energy come from somewhere else, like the air? I had ...