User talk:MikeMol: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎Rcode buttons: archived)
Line 31: Line 31:
[[User talk:Short Circuit/Rcode buttons]]
[[User talk:Short Circuit/Rcode buttons]]


== AssaCom is spam user ==
[[User talk:Short Circuit/AssaCom is spam user]]

I squelched the content of [[User:AssaCom]] because it was spam (it was apparently talking about Russian airlines according to Google Translate). Since that was content put there by the user, it was almost certainly a user created solely for spamming and you'll want to squelch the account ASAP. –[[User:Dkf|Donal Fellows]] 15:16, 16 April 2010 (UTC)


== Pipe Dream ==
== Pipe Dream ==

Revision as of 16:25, 15 December 2011

Archived sections

Put new stuff below here

User talk:Short Circuit/Image Upload problem

User talk:Short Circuit/Contributions question

User talk:Short Circuit/Oops!

User talk:Short Circuit/LabVIEW

User talk:Short Circuit/Multilingual

User talk:Short Circuit/Rcode buttons

User talk:Short Circuit/AssaCom is spam user

Pipe Dream

Is it possible to have a "Recent changes" for a category, or a selection of categories? Ideally, I'd like to be able to see the changes in Category:J or Category:Programming tasks, since I last logged in. Is that even feasible?

--DanBron 23:25, 16 April 2010 (UTC)

Not with the current software set. If you can find the appropriate MediaWiki extension, I'd probably add it. (I myself have wanted a feed specific to the Talk: namespaces for a long time.) --Michael Mol 23:40, 16 April 2010 (UTC)
Actually, using the MediaWiki API, you could filter recent changes however you liked, the only real limitation being that the API doesn't let you look back in time any further than Special:RecentChanges does. —Underscore (Talk) 00:20, 17 April 2010 (UTC)

[Solved] Rewording required?

In several places I can see this phrase: These tasks are not considered "unimplemented". Wouldn't it be better to say: These tasks are not considered "unimplementable". Or is it just a misunderstanding on my behalf? (English is not my first language). Wolf 11.May 2010 12:00h (GMT+2)

It says what it means, but the problem is that I wasn't talking about whether or not a task is implementable, but whether or not it counts towards a set of "unimplemented" tasks—a question of pride for some people. --Michael Mol 13:17, 11 May 2010 (UTC)

I understand now, thanks. I have provided some code for the task "Sort stability" using the AutoHotkey programming language. The task shows up OK on the page for implemented tasks for AutoHotkey. How do I remove "Sort stability" from the list of "Not Considered" tasks, please? Or is that up to you to do?

Somewhere on that task page will be a reference to Template:Omit, with an argument of AutoHotKey. Find that bit and remove it. --Michael Mol 16:34, 11 May 2010 (UTC)

All done. Thank you again. Wolf 11.May 2010 18:51h (GMT+2)

Time constriction ?

Sorry, to bother you again. I have written some code for the task "Arbitrary-precision_integers_(included)" in the programming language AutoHotkey. Now my problem here is the following: the code runs on my PC for 26 hours and then spits out the correct result. I have used an implementation of BCD multiplication by AHK forum user Laszlo (permission has been granted to publish his code) together with my own implementation of "long powers", that held tight when tested with Euler Challenges. I am as sure as I can possibly be, that this code is correct (forum discussion starts with the second post from the top here: AHK forum, if you want to have a look). Now I think that pride thing you mentioned yesterday has got a grip on me too, so here is my question: Is there a time constriction at all for submissions to RosettaCode? I assure you that this is not some untested, half-baked code that gets thrown at RosettaCode, but it can be improved. Wolf 12.May 2010 14:32h (GMT+2)

No time constriction. --Michael Mol 13:42, 12 May 2010 (UTC)
But isn't a condition of that task that it is only solvable by languages that come with their own in-built implementation of arbitrary precision integers? If you are having to code it then it should not be included. --Paddy3118 14:09, 12 May 2010 (UTC)
You're correct. And this is a discussion better suited for that task's talk page. --Michael Mol 14:22, 12 May 2010 (UTC)

Captcha's back?

Is the presence of the captcha a conseguence of something I am doing or whatever or it is back also for registered users? --ShinTakezou 17:05, 7 June 2010 (UTC)

It should be back for everyone, but only when someone makes an edit that adds an offsite link. Spambot registration is getting through the initial CAPTCHA, most likely as part of a people solver farm, but it's not as worth it for such attacks to solve CAPTCHAs for every spam edit. Sucks, but there it is. There might be an alternate solution, using random numbers of CAPTCHAs for registration, but that'd require modifying the SimpleCAPTCHA and/or ReCAPTCHA extensions. I can create a "skip captcha" privilege group, if people like, but it would require someone to go through and confirm users after one or two valid edits. --Michael Mol 17:49, 7 June 2010 (UTC)
Personally, I would eventually like to become part of that privileged group, if you have the time to implement it. Specifically, I can no longer use the presence of captcha to remind me that I am not logged in at submit time, and I would like to get that back. But I have no problem waiting for 100 valid edits and 30 different days where I edit content (or whatever other filtering mechanism seems reasonable), if you want to automate it. --Rdm 18:25, 7 June 2010 (UTC)
I think all currently-registered users could be put in that group, regardless; any spam accounts are already banned. Implementing the privilege group is technically easy, too. The problem comes from the need for a human judgement for new accounts. --Michael Mol 18:31, 7 June 2010 (UTC)
I should note that currently I am required to fill out the recaptcha form even when I am signed in, and have added no links and the text of the section I am editing contains no links. --Rdm 15:02, 8 June 2010 (UTC)
Ew. I'm surprised it's doing that. I'd rather deal with a couple more spammers. Went in and checked settings, changed some things. Let me know if it's still a problem. --Michael Mol 15:08, 8 June 2010 (UTC)
I have made several edits, and (including this one) none have required I fill out the captcha form. Thank you! --Rdm 15:55, 8 June 2010 (UTC)
URLs should still require it, FYI. --Michael Mol 15:57, 8 June 2010 (UTC)
Note, however, that now I do not need captcha to submit even when I am logged out (though I have not tried posting any URLs that way). --Rdm 12:04, 9 June 2010 (UTC)
Avoiding spam URLs are the key issue, but I did like having all anon edits bring up CAPTCHAs. Don't have time to fix this week. Later. --Michael Mol 12:28, 9 June 2010 (UTC)

Same for me, no ext link afair, but captchaed anyway. Last edit went smooth captchalessly, thanks —ShinTakezou 18:41, 8 June 2010 (UTC)

Spammer?

Content of http://rosettacode.org/wiki/Rosetta_Code_talk:Village_Pump looks spammy, like a test run for blog spam. Particularly telling is the fact that the author hasn't contributed anything else. You might want to just revert things back there and have a think about whether some other form of block should be applied… –Donal Fellows 12:16, 10 June 2010 (UTC)

I'll take a wait-and-see approach. Individual users can be mass-rolled-back if necessary. I can see about re-enabling CAPTCHAs for all non-logged-in, but I really don't have the time right now to deal with anything short of an emergency situation. --Michael Mol 13:40, 10 June 2010 (UTC)

Back to

I've tried to fix the page Pascal's triangle from irriverent edits by user Robertom, but noted too late that s/he deleted some implementation while adding his/her one! I think it is better to "revert" the page to the version before the Robertom's edits, and eventually add APL impl later. I believed I could do it by myself, but it seems I have no the right, or simply too (something) now to understand how I can do it ... I don't know who can, so writing here (maybe village pump would've been a better place?). Thanks --ShinTakezou 11:57, 11 June 2010 (UTC)

I believe I have restored the missing edits (I restored AutoHotKey, BASIC and C). Basically, I just went back to older versions where they were there and copied and pasted them into the current verison. --Rdm 13:46, 11 June 2010 (UTC)

Problems with uploading new versions of existing images

Looks like there's a problem with uploading new versions of existing images. See File talk:Matlab-randomDisc-output.png and File talk:Eriksiers avatar.jpg. (Might this be related to the recent upstream problems? Seems pretty unlikely, but you never know...) -- Erik Siers 17:42, 22 September 2010 (UTC)

Might be related to the switch to the addition of Squid. Don't know. Don't have time to look at it right now. I'll check the logs this weekend, if I have time. --Michael Mol 18:29, 22 September 2010 (UTC)
As long as you're aware of it, I'm happy...ish. :-) -- Erik Siers 18:43, 22 September 2010 (UTC)
Looked at the PHP error log file. I'm not seeing any file I/O errors, or anything in the vicinity of your avatar replacement log entry's timestamp, but I am seeing a number of "Maximum execution time of 30 seconds exceeded" errors relating to SMW activity over the past few days. I might be able to resolve some of that. --Michael Mol 18:48, 22 September 2010 (UTC)
Tweaked a couple variables. Bumped max_execution_time to 45s, reduced the job run rate to 0.1. Not a permanent fix for the timeout issues. Need to fix squid, and deal with some serious performance issues in SMW. --Michael Mol 18:52, 22 September 2010 (UTC)
I've noticed some occasional-but-significant delays in loading pages today, but didn't really give it much thought... but it could be the cache, I guess. Would make sense, I suppose. -- Erik Siers 19:05, 22 September 2010 (UTC)
The cache won't catch nearly as much as would be ideal, because of complexities surrounding X-Vary-Options. The significant delays you see are going to be cache misses combined with other load on the server. (It looks like the SMW export functionality is getting hit pretty hard.) --Michael Mol 19:12, 22 September 2010 (UTC)
Ok. I'll hold off uploading again until you have time to sit and fiddle with everything (and I know how precious time can be). It's not very important to me but I can see it being a problem that might potentially affect everything... or... something. -- Erik Siers 19:44, 22 September 2010 (UTC)
TBH, I don't have a timeframe in mind for a proper fix for the caching issue. It'll involve using a patched version of Squid, and I really can't anticipate when I'll have time to deal with that. Apart from that, updating MediaWiki (I think I'm a version or two behind by now) may help.) A workaround might be to delete the page and recreate it. You'll have to poke someone with the relevant privs. --Michael Mol 19:51, 22 September 2010 (UTC)

Again

Me again. Looks like you never got around to a permanent fix on the cache problem; I uploaded a new version of my user avatar and it's still showing the old version on my user page (checked on a few machines on different networks). I know essentially nothing about caches so I can't offer any help beyond "hey, not working".

(My only thoughts on the matter may or may not be feasible; it would involve getting Mediawiki to somehow tell Squid to clear the cached version of an updated image, but that would likely require some hacking at the mw sources. Maybe the Squid sources, too, dunno.) -- Erik Siers 04:39, 4 February 2011 (UTC)

After a hard refresh (ctrl+R in Firefox) I saw the new version (the Feb 1 version). Have you tried that? --Mwn3d 04:47, 4 February 2011 (UTC)
I had done that without effect, right before I posted (and numerous times after uploading), but now that I look again, it's showing the correct one. WTF? -- Erik Siers 04:54, 4 February 2011 (UTC)
MediaWiki and Squid don't get along terribly well, I'm afraid. MediaWiki does have code for telling Squid to purge caches, but it requires a specially-patched version of Squid. The patch had been submitted to Squid devs ages ago, but they declined to include it in trunk. The key, though, is that the cache object is tied to a literal match of your browser's supported-encoding string. --Michael Mol 13:58, 4 February 2011 (UTC)
That's... kinda weird. Is it one of the patches in here? I might take a look at it (if I can understand it). -- Erik Siers 14:36, 4 February 2011 (UTC)
this one. --Michael Mol 14:58, 4 February 2011 (UTC)

Contest with RC questions

It seems an APL programming contest used RC questions: here.

Yeah, I first noticed referral traffic from Dyalog's contest a few months ago. Pretty cool. :) --Michael Mol 09:03, 27 September 2010 (UTC)

Template work

So I just started some work on the templates and I noticed TONS of templates like this one: Template:Unimp body 4D. They were made in the before time (in the long, long ago) by ImplSearchBot. Are we not using them anymore? Can I delete them? --Mwn3d 14:57, 11 October 2010 (UTC)

Check to see what pages transclude them, and see if anyone links to those. That info should be available in the toolbox section in the sidebar. If they're not used, wipe 'em. :) --Michael Mol 15:06, 11 October 2010 (UTC)

Stats

Thanks for the welcome.

I was wondering if there were any analytics available on the different languages and tasks. How many tasks are completed for each language? For a given task, how many languages implement it (and how many ignore it)?

Of course any individual question can be answered with a bit of counting, but to see larger trends isn't so easy. For example: of the dozen or so languages where I could conceivably write a solution, which are most underrepresented? Similarly, which tasks seem important yet aren't widely solved?

I toyed with the idea of writing a screen-scraping bot, or even writing a task to write such a bot, but I thought I'd ask here first.

CRGreathouse 04:38, 3 November 2010 (UTC)

Actually, it looks like that is mostly covered by Rosetta Code/Count examples and Rosetta Code/Find unimplemented tasks. Maybe add extra credit for a visualization? CRGreathouse 04:59, 3 November 2010 (UTC)
Each language is a category so you can get (a good approximation to) the info directly on its page. You can also get the other information from the language's report page (e.g. for Tcl, the page is Reports:Tasks not implemented in Tcl). –Donal Fellows 10:57, 3 November 2010 (UTC)

Attack page?

Template:Unimpl Page/Not implemented and Category:Programming Tasks were both recently, uh, 'vandalized' by User:Umobytuz who linked them to http://osobageqys.co.cc and http://evicijum.co.cc which seem to be attack/exploit pages. You may wish to check on the IP address of this contributor and/or check for other similar recent additions.

I removed both links.

CRGreathouse 06:38, 24 November 2010 (UTC)

Thanks for the clear-up and notice. I took a look then blocked the user immediately. If I was too harsh, then I'd rather SC unblock than leave the guy easy access. --Paddy3118 07:09, 24 November 2010 (UTC)
No, blocking isn't too harsh. That means it's probably past time to apply active protections on templates and transcluded pages, too. --Michael Mol 14:43, 24 November 2010 (UTC)

User:ShariPantoja‎ appears to be another spammer (using their talk page). –Donal Fellows 11:43, 25 November 2010 (UTC)

Did some WP financial research

I just spent a little time digging through the Wikimedia Foundation's site, trying to find some info on how to get money from them. What results I got I put here --> Rosetta Code:Village Pump/Income#Dear Wikimedia Foundation <-- in case you missed it on the "recent activity" thing.

Not much helpful info, but I tried. Possibly you've already seen everything I found anyway. Shrug. -- Erik Siers 07:23, 3 March 2011 (UTC)

...and now something else you might ponder: Rosetta Code:Village Pump/Income#Paid Memberships. -- Erik Siers 16:00, 3 March 2011 (UTC)

RC used in a talk by Larry Wall (of Perl)

... And reviewed+blogged by me --> User_talk:TimToady#On "That Goes Without Saying (or Does It)".

Squid configuration

It looks like Squid's maximum request size is causing problems for AutoGeSHi. —Underscore (Talk)

Spammer

User:Debonairlazines6974 is a spammer (check their contributions). Alas. –Donal Fellows 12:08, 12 May 2011 (UTC)

Got it covered now. Thanks Donal. --Mwn3d 13:06, 12 May 2011 (UTC)

I've made a right mess

Mike. I made a mistake with a rename, and I tried to fix it, but the fixes keep digging me deeper and deeper into a hole. Can you back out my changes from 19:29 to 19:48 today (11th July). Cheers. Markhobley 19:53, 11 July 2011 (UTC)

Not automagically, it looks like. The 'undo' and 'rollback' features look a little more complicated for page moves that page-local edits. At work right now, and will be busy this evening. I'd suggest popping into (and hanging out in) the IRC channel and enlist some assistance and coordination there. --Michael Mol 19:56, 11 July 2011 (UTC)

Book Mention

In "A Byte of Python". --Paddy3118 12:21, 17 July 2011 (UTC)

Cool. :) --Michael Mol 12:25, 17 July 2011 (UTC)

More financial suggestions

...this time not from me, but posting here in case you missed it:

-- Erik Siers 12:46, 4 October 2011 (UTC)

Saw it then. Just been generally busy, and coping with a hardware failure. Slowly resolving these things...--Michael Mol 23:25, 14 December 2011 (UTC)

Spam users

I happened to look at the user creation log, and holy crap look at all the apparently-created-to-spam usernames -- things like "4Hjyo29LKb", "Gzs6na7KyZ", "4LwiEd2p", etc. Looks to be on the order of 5-10 spam accounts to 1 legit account.

I was thinking, there has to be a way to catch those, before they start posting their links. The only method that comes to mind is blocking their entire subnet, at least temporarily, say 30 days. That way, they can't just come back and create a new username and continue spamming, or just spam without logging in.

Might be harsh, especially if they're spamming from a normal ISP account, but maybe a short-term solution. Would likely reduce the amount of admin work, methinks. -- Erik Siers 20:20, 4 October 2011 (UTC)

They do get their source IPs blocked, and the IPs are disallowed from creating new users. I don't have a mechanism that allows me to block entire subnets, but that will become necessary when the site moves over to dual-stack IPv4/IPv6. --Michael Mol 20:32, 4 October 2011 (UTC)
And before anyone suggests it, I'm not interested in applying pattern-matching or bayesian tests on usernames. I've been caught by surprise before when an account that looked like a spam username started making beneficial edits. --Michael Mol 20:32, 4 October 2011 (UTC)
What about one of those tests that simply sends an alert to an admin? Make it a one-time thing, something like: "SpamWatchBot has noted an edit from suspicious user name apparent-spammer-name on page So-and-so. This is the only alert that will be generated for this user."
Then the bot (or whatever) could add apparent-spammer-name to an internal ignore list, and let the admins worry about it.
Eh... Looking at it now, maybe not worth the time to write. Shrug. Or maybe there's already a MW bot available to do something similar and could be modified appropriately; I haven't looked. Shrug again. -- Erik Siers 07:15, 7 October 2011 (UTC)
Right now, I see almost every edit on the wiki, as I've got the Recent Changes feed pulled in via Google Reader. Anyone who does that can see when accounts are created or blocked, and when pages are edited or moved. Frequently, someone else gets in and repairs things before I have a chance to respond. I wind up blocking the offending account, possibly deleting any 'created' pages if the person who caught the edits first didn't have delete privileges. --Michael Mol 12:52, 7 October 2011 (UTC)

Uploading problem

I've been trying to upload a file and the interface won't let me. It's a png file which I've cunningly disguised with a .png extension, but when I attempt to upload it I just get

Permitted file types: png, gif, jpeg, svg.

Any ideas?

I had written an elegant solution to a task but I daren't post it without its output since I get harassed whenever I have the temerity to post a solution without giving its results.

CRGreathouse 07:15, 23 November 2011 (UTC)

This is a known problem. See Image Upload problem? and Problems with uploading new versions of existing images on this page. -- Erik Siers 07:31, 23 November 2011 (UTC)
Ah. No solution known, then? I didn't see one at either of those links. CRGreathouse 08:22, 23 November 2011 (UTC)
The one I crossed off is probably unrelated. No response from Short Circuit so I assume no solution yet. He had a combination server move/upgrade planned; I don't know what happened with that but I guess that maybe he was hoping that the problem would disappear when he did that. If he did that. -- Erik Siers 08:27, 23 November 2011 (UTC)
There's some related discussion on my talk page, see if it's of any help. --Ledrug 08:51, 23 November 2011 (UTC)
There is a workaround linked to in the above discussion: [1]. --Mwn3d 11:57, 23 November 2011 (UTC)
I believe it to be related to "AJAX" uploads. That's what I found when I tried walking through the JS code. What I don't get is why people are still seeing that message even after I disabled AJAX uploads. Sorry for not replying directly in the other places it's cropped up; I'm beginning to think we need a real bugtracker for this stuff. --Michael Mol 14:03, 23 November 2011 (UTC)
I managed to make it work by disabling JavaScript on my browser. CRGreathouse 03:12, 28 November 2011 (UTC)
The MediaWiki software has been updated, serverside. Is this still going on? --Michael Mol 23:24, 14 December 2011 (UTC)

<math> not working?

Equations in the tasks are not being rendered for some reason. Could you check this? Thanks. --Paddy3118 07:00, 14 December 2011 (UTC)

Also broken on all other pages; for example, “<math>1</math>” here renders as (which used to render as “1” because the code used to spot that it was simple enough to convert to HTML; its definitely not getting as far as trying to send the info into TeX and failing). I guess it was the weekend's server changes, and could be as simple as a missing handler for the <math> tag. –Donal Fellows 09:18, 14 December 2011 (UTC)
Should be fixed. --Michael Mol 23:23, 14 December 2011 (UTC)
Thanks Michael! --Paddy3118 04:18, 15 December 2011 (UTC)