User talk:Oscarlevin

From Math Puzzle Wiki
Revision as of 05:50, 24 November 2010 by Oscarlevin (talk | contribs)
Jump to navigation Jump to search

Solutions over multiple lines

I visited the site following the link in your comments on Richard Wiseman's most recent Friday Puzzle solution, and thought I'd see if I could contribute.

However, I can't contribute a solution because the wiki won't accept a solution that takes more than one line. For example, this doesn't work:

{{Solution | 
solution
over
multiple
lines
}}

Pretty much all solutions will require multiple lines, so this is a real problem. I assume a "solution" means an answer with working, whereas an "answer" is just the answer by itself.

Below is my solution to the 7 orbs puzzle, which I tried to contribute:

Let A = set of orbs for which there are 3 or more others the same colour.
Let B = set of orbs for which there are 1 or 2 others the same colour.
Let X = set of orbs for which there are no others the same colour.

Goal is to prove that some orb is in A.

Possible combinations:
(using the shorthand that A denotes an orb that's in A, etc)

A A A A A A A
A A A A A A X
A A A A A B B
A A A A A X X
A A A A B B B
A A A A B B X
A A A A X X X

Label the orbs 1, 2, 3, 4, 5, 6, 7 and test 1&2, 3&4, 5&6.

Comparing the results of testing those three pairs with the possible combinations, you can easily show that:

If two tested pairs glow the same colour, all members of those pairs are in A
If only one of the three tested pairs glows, members of that pair are in A
If two tested pairs glow different colours and the other doesn't glow, orb 7 is in A
If no tested pairs glow, orb 7 is in A.

In all cases, three tests suffice to prove that some orb is in A.

The only other thing required is to prove that two tests are not necessarily sufficient, which is trivial.

Is that the sort of thing you're looking for? Zerrakhi 12:16, 11 October 2010 (EDT)

Yes that is the sort of thing I'm looking for. I'll see if I can fix the multiple lines problem. Oscarlevin 15:06, 11 October 2010 (EDT)
So I can't seem to replicate your problem. Is it just that the lines are not breaking? Like this:
Solution

solution over multiple lines

Because that can be fixed will a line break between them, as in:
Solution

solution

over

multiple

lines

Or is there some other problem? Oscarlevin 15:25, 11 October 2010 (EDT)
The problem wasn't with your multiple lines, it was with the = sign. Templates allow you to have named parameters, which you assign with =. I don't know if there is a workaround for this. Oscarlevin 15:41, 11 October 2010 (EDT)
Ah. Never thought of that. I just tested in preview mode, and found that nowiki tags around the = sign seemed to work. I've written something up on the Editing Help page. Zerrakhi 19:27, 11 October 2010 (EDT)

No link in email

The email received upon registration, the one containing the words "open this link in your browser", does not actually contain any links or URLs to open! Zerrakhi 12:27, 11 October 2010 (EDT)

Did the email you get contain a bunch of <math></math> tags? I'm using an extension that switches dollar signs to math mode (ala LaTeX), and it has screwed up a lot of the system messages. I'll see if I can fix this too. Oscarlevin 15:06, 11 October 2010 (EDT)
Yes, that's right. Zerrakhi 19:27, 11 October 2010 (EDT)
This should be fixed now. Just testing a few things out. Test1 22:03, 11 October 2010 (EDT)

More questions

I'm wondering why only a few puzzles are in the needs solution category, and likewise for other similar categories. What's special about those puzzles in particular?

Because the 7 orbs puzzle is listed first on the front page, I assumed it was representative, and that all puzzles would have a hint, answer and solution in the same format. Now that I've seen that's not the case, I'm less sure about how I can contribute further. (Except by asking pointed questions, of course.) Zerrakhi 09:38, 12 October 2010 (EDT)

The only thing special about puzzles which have "needs ___" on them is that I happened to include that when I first put them up. Some puzzles were supplied before I had created those templates, and others after but I forgot to include the reminder. So for any puzzle you see on here that you think deserves a hint, answer or solution, feel free to provide one.
There are other things you can do, if you like. If you know of another puzzle, please add it. You can also improve current puzzles by giving variations, more references, links to similar puzzles, or notes on the mathematical content. In addition to being a collection of puzzles, I hope this wiki becomes a resource for math teachers. So any comments about how a particular puzzle relates to a mathematical concept are welcome. Finally, if you have any further ideas on how to improve the wiki, I'd be happy to hear them. Feedback is always good. Oscarlevin 10:18, 12 October 2010 (EDT)
I think it would be a good idea to add a page specifically on this topic: a list of ways in which people can contribute. That would also be a good place to summarise the most important templates.
Good idea. I've started doing so.
Don't forget to add links to pages like that from the front page so people can find them... Also, what about adding the needs_hint, needs_answer, etc templates? Is that something people can usefully do? Since the templates exist, it seems a shame not to use them consistently. Zerrakhi 09:33, 17 October 2010 (EDT)
(This section later trimmed of less important topics to enhance focus on what matters. See history for details.) Zerrakhi 00:23, 19 October 2010 (EDT)
Another thing that seems strange is the requirement to log in before viewing a solution. I would question the sense of that, because the audience of people interested in contributing to the wiki is distinct from the audience of people interested in using it as a resource, and members of the latter probably won't bother to create accounts (especially when most puzzles are searchable). But perhaps I misunderstand how you envision the site being used. Zerrakhi 06:12, 13 October 2010 (EDT)
The reason for trying to restrict solutions is that I want to make it difficult for students to use this site to cheat. I teach a variety of college courses where I use puzzles from this site as either extra credit assignments or as the beginnings of homework problems. If a student finds the site by searching for the puzzle, I would rather they feel intimidated by registering (because maybe they think I would see their email) and try to do the problem on their own. But I do want to have solutions somewhere to help remind me how difficult the puzzle is in case I forget how to solve it.
I envision the site to sever as a collection of good math puzzles, with perhaps a discussion on why they are mathematically interesting. These puzzles are meant to puzzled over, not answered by a web search. Thoughts? (I probably should outline this "policy" on a help page as well.) Oscarlevin 22:03, 13 October 2010 (EDT)
Not a lot of relevant thoughts, but as you probably guessed, that was largely my reason for asking - to suggest things that would be useful to mention on the help pages. Zerrakhi 09:33, 17 October 2010 (EDT)

Something's wrong...

All of a sudden, I find that the hint/answer/solution boxes are open by default, so that I can read their contents without wanting to! What could have caused this? (Added later: I'd say your edits to Common.js messed up the NavFrame definition somehow.) Zerrakhi 09:55, 18 October 2010 (EDT)

Exactly right. I undid the changes, so it should be working now. Thanks for the catch. I was trying to get the sidebar to have collapsible categories (haven't figured it out yet) and must have deleted the wrong thing. Oscarlevin 10:05, 18 October 2010 (EDT)
Oddly, I've re-started my browser (to clear cookies, just in case) and still having the problem.
(You can probably guess how I figured out the approximate cause. As puzzles go, it was easier than many on the site. Entered edit mode on solution template to see how it worked, searched common.js for mention of NavFrame, hunch confirmed.)
Working now, though. Don't understand that. Zerrakhi 10:23, 18 October 2010 (EDT)
Must have been cached in your browser. There is a message on mediawiki:common.js about having to refresh while holding down SHIFT (for firefox anyway). Oscarlevin 10:25, 18 October 2010 (EDT)

Link

Just want say that I've posted a link to the Math Puzzle Wiki on my blog.

Also, you still haven't put the " How To Contribute" page anywhere that people can easily find. Zerrakhi 19:58, 20 October 2010 (EDT)

Great. Thanks for helping to spread the word. I put a "Ways to contribute" link in the sidebar. Let me know if you have any other ideas for items in the sidebar, or anything else that might improve navigation. I'm pretty busy with work right now, but I can probably find time to get at least a little done. Oscarlevin 20:21, 20 October 2010 (EDT)
Well, I've at least looked at all the puzzles now, and other than the comments I've posted on a couple of puzzle talk pages, I don't think I have anything more to say. I'll check back from time to time to see what's new (and, for a while, replies to my comments), but as for my main contributions I think I'm done.
Before I go, though, I'd really like to persuade at least one more person to contribute. That would be a fitting conclusion, because I'd prefer my contributions to be not an isolated event after which everything returns to normal, but part of the ongoing story of the wiki. Much more satisfying. So I'll work on that. Zerrakhi 00:57, 23 October 2010 (EDT)