User talk:Mwn3d

From Rosetta Code
Revision as of 17:58, 19 November 2009 by Underscore (talk | contribs) (→‎UnderBot and whitespace: Not entirely, but it's clever about it.)

Template Question

Hello. I noticed a recent addition I made was tagged with the needs-review template. The needs-review template wording is rather strong, i.e. "may be incorrect". I had added my example to the category as needing attention because I had only solved half of the problem (the brute force side), not because my solution was incorrect. Is there a template other than needs-review that might be more apropos? Russell 22:04, 27 July 2009 (UTC)

Yeah I noticed that we actually have three similar templates and they're all pretty much as strong as the others:
I think we need to discuss these (I'll make a topic in the Village Pump in a bit). In any case, I don't think we should just be throwing things in "example needs review" categories without a very visible note on the actual example. --Mwn3d 22:52, 27 July 2009 (UTC)

I've recently added Template:Improve which might be relevant. --Kevin Reid 00:17, 16 August 2009 (UTC)

J house style, Oct 2009

Thanks for your help with creating the J house style sandbox. And sorry for the original improper location -- I couldn't work out how to create an appropriate subpage.

--DanBron 15:23, 12 October 2009 (UTC)

So the original page you made can be deleted then? I left it in case what I did was wrong. --Mwn3d 15:27, 12 October 2009 (UTC)
Yep. I would do it myself but I can't find a "delete" link. --DanBron 15:35, 12 October 2009 (UTC)

UnderBot and whitespace

With respect to http://rosettacode.org/mw/index.php?title=Select_from_Array&diff=67932&oldid=67929: yes, UnderBot strips whitespace like that. So you needn't bother doing it yourself. —Underscore (Talk) 15:40, 19 November 2009 (UTC)

Does it leave Python and Haskell whitespace? I think both of those depend on it. --Mwn3d 15:58, 19 November 2009 (UTC)

Not entirely, but UnderBot preserves relative indentation, which is all that whitespace-sensitive languages are sensitive to. Actually, both Haskell and Python further require that top-level definitions begin in the first column, so when UnderBot changes

<lang haskell> foo = fie + foe where fie = 2 foe = 3</lang> to <lang haskell>foo = fie + foe where fie = 2 foe = 3</lang>

, it's translating a technically illegal program into a legal one. —Underscore (Talk) 17:58, 19 November 2009 (UTC)