User talk:Markjreed: Difference between revisions
Content added Content deleted
(→Captcha: Reply to mikemol) |
|||
Line 17: | Line 17: | ||
Eorecaptcha__en.js:331:392 |
Eorecaptcha__en.js:331:392 |
||
(anonymous function)recaptcha__en.js:334:318 |
(anonymous function)recaptcha__en.js:334:318 |
||
crecaptcha__en.js:318:833</pre></blockquote> |
crecaptcha__en.js:318:833</pre></blockquote>--[[User:Markjreed|Markjreed]] ([[User talk:Markjreed|talk]]) 23:11, 29 December 2015 (UTC) |
Revision as of 23:11, 29 December 2015
what the heck was that 'f"${v}%03d"' thing?
Didn't mean to make you gag. It's string interpolation. Works in Scala 2.10.
"%03d".format(v) is the better way to go. Works in older version of Scala. Doesn't invoke the gag reflex.
- (Context: edited this page) I don't recall gagging; for one thing, I'm a Perl guy. :) I figured it was some newfangled feature, but my Google-fu failed me, and the standard install on ubuntu and os x homebrew still gets me 2.9. So as you say, I went with the form that works on older Scala. Thanks for the explanation! Markjreed 02:27, 6 February 2013 (UTC)
Captcha
Are captchas working now? Difficult for me to test. --Michael Mol (talk) 20:51, 29 December 2015 (UTC)
- Nope, at least not when trying to create a new page, e.g. http://rosettacode.org/mw/index.php?title=CSNOBOL4&action=edit&redlink=1 . At the bottom it says `To protect the wiki against automated page creation, we kindly ask you to solve the following CAPTCHA:`, but there is no CAPTCHA there to solve. If I turn on the js error console, I get this message:
Error: Missing required parameters in RecaptchaOptions: sitekey Vjrecaptcha__en.js:159:117 worecaptcha__en.js:326:505 xorecaptcha__en.js:326:303 Eorecaptcha__en.js:331:392 (anonymous function)recaptcha__en.js:334:318 crecaptcha__en.js:318:833