User talk:MikeMol: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎Uploading problem: see also...)
m (MikeMol moved page User talk:Short Circuit to User talk:MikeMol: Miraheze migration)
 
(235 intermediate revisions by 42 users not shown)
Line 17: Line 17:
* [[User talk:Short Circuit/My First Contribution]]
* [[User talk:Short Circuit/My First Contribution]]
* [[User talk:Short Circuit/Problem with math after move]]
* [[User talk:Short Circuit/Problem with math after move]]
* [[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]]
* [[User talk:Short Circuit/Pipe dream]]
* [[User Talk:Short Circuit/(Solved) Rewording required?]]
* [[User talk:Short Circuit/Time constriction ?]]
* [[User talk:Short Circuit/Captcha's back?]]
* [[User talk:Short Circuit/Spammer?]]
* [[User talk:Short Circuit/Back to]]
* [[User talk:Short Circuit/Problems with uploading new versions of existing images]]
* [[User talk:Short Circuit/Contest with RC questions]]
* [[User talk:Short Circuit/Template work]]
* [[User talk:Short Circuit/Stats]]
= Put new stuff below here =
= Put new stuff below here =


==Slack==
==Image Upload problem?==
: I tried to upload an image via the upload file link tonight. I created a .png and attempted to select it from the browse sourcefile name and got "Permitted file types: png, gif, jpeg, svg.". I tried creating a .jpg version using a different editor and again the same thing happened. I simplified the file name and also relocated the file to shorten the folder/path name. Nothing worked. I'm not sure what's going on as I've uploaded files before. --[[User:Dgamey|Dgamey]] 04:04, 5 July 2011 (UTC)
:: .jpeg will work, .jpg won't. .jpg is the format that just about every image spammer has been using. .jpeg is functionally the same; just rename a .jpg file to .jpeg, and it will work fine. --[[User:Short Circuit|Michael Mol]] 04:59, 5 July 2011 (UTC)
::: Neither .png nor .jpeg work. Also, I can't type the filename into the Source filename field (not sure if that is significant). --[[User:Dgamey|Dgamey]] 05:30, 5 July 2011 (UTC)
:::: I wonder if perhaps there's a case-sensitivity issue going on. Does the file extension happen to be in all-caps, rather than lower-case? By default, Windows preserves case, but does case-insensitive matching. On the server side, I have file extensions specified in all lower-case. I don't have time to dig into the code until later this week at earliest, but having enough information about how and where, exactly, the error conditions occur will help reduce the time and extent of munging the source on the server. --[[User:Short Circuit|Michael Mol]] 15:34, 5 July 2011 (UTC)
::::: I renamed them to lowercase early on. Also, the same file worked with IE9 --[[User:Dgamey|Dgamey]] 01:29, 6 July 2011 (UTC)
::: Odd, I see two uploads after this problem occurred for me and the problem just reoccurred as well. Okay it seems to be something with FF. I just got IE9 to upload.
--[[User:Dgamey|Dgamey]] 12:40, 5 July 2011 (UTC)
:::: I can explain the unable-to-type issue. FireFox, since somewhere prior to 3.6, disallows manual typing or filling out of the upload path field as a hedge against scripts and malware using it to steal files from your computer. With Firefox, you ''must'' use the upload dialog (it'll pop up when you click on the upload field). --[[User:Short Circuit|Michael Mol]] 13:06, 5 July 2011 (UTC)
:::: As for .png and .jpeg not working...My hunch is that you don't have Windows Explorer configured to show file extensions. If you don't, then trying to change file extensions through Windows Explorer won't have the desired effect. (I.e. if you tried to rename a file to a .jpeg extension, you might wind up with "some_file_name.jpeg.jpg" rather than "some_file_name.jpeg". [http://windows.microsoft.com/en-US/windows-vista/Show-or-hide-file-name-extensions these instructions] might help with that. (There's a way to do it per-folder, rather than system-wide, but I don't have a Windows box handy to remind myself of the exact steps.) --[[User:Short Circuit|Michael Mol]] 13:06, 5 July 2011 (UTC)
::::: Thanks. Windoze appears to have reset my advanced options as this is *always* how I show files and I have done this before. I suspect a recent update is responsible. --[[User:Dgamey|Dgamey]] 13:33, 5 July 2011 (UTC)
::::: FYI. Still there appears to be a FF5.0 problem. I fixed Win Explorer and see extensions but the file name doesn't populate the form. Others may see this. I'll try playing with it later. If needed I have a workaround. --[[User:Dgamey|Dgamey]] 13:48, 5 July 2011 (UTC)
: IE9 won't upload GIF/gif (GIF89a) with message "File extension does not match MIME type." I tried uploading an animated gif w/o luck. FF5 still not working either --[[User:Dgamey|Dgamey]] 05:04, 6 July 2011 (UTC)
:: Can you zip up the files in question and email them to me? --[[User:Short Circuit|Michael Mol]] 12:29, 6 July 2011 (UTC)
::: On the way --[[User:Dgamey|Dgamey]] 14:14, 6 July 2011 (UTC)
:::: Mwn3d seems to have [http://irclog.perlgeek.de/rosettacode/2011-07-06#i_4069398 figured it out]. It appears to be a combination of issues with FF5 and bugs in this version of MediaWiki. --[[User:Short Circuit|Michael Mol]] 15:39, 6 July 2011 (UTC)
::::: It's not just Firefox. I'm unable to update [[:File:Eriksiers_avatar.jpg|my user avatar]] via Opera. Tried a few weeks ago (around the time of this conv.); tried just now, still no dice. -- [[User:Eriksiers|Erik Siers]] 21:39, 7 August 2011 (UTC)
:::::: Sigh...I've been blocked on doing a MW upgrade for a couple months, now, but I'll try to get it done next weekend. We'll have to see if that fixes it. --[[User:Short Circuit|Michael Mol]] 21:44, 7 August 2011 (UTC)


Slack is a proprietary web service with tons of nonfree JS, that also requires an account. IRC allows flexible authentication (such as: allow anyone to talk, allow only registered people to talk, or allow only registered people to enter the channel), and demands much fewer resources. Freenode is free to use and there already is a #rosettacode channel. Why not use Freenode IRC?
:I'm having the same problem. I created an AutoHotkey implementation of the [[Brownian_tree]] task, but the output png file won't upload :( I have uploaded it to my AutoHotkey.net account [http://www.autohotkey.net/~crazyfirex/Images/brownian.png here], for now I guess I'll just link to that. --[[User:Crazyfirex|Crazyfirex]] 21:59, 30 September 2011 (UTC)
[[User:Danuker|Danuker]] ([[User talk:Danuker|talk]]) 14:05, 16 July 2020 (UTC)
:: I'm halfway through doing an upgrade, but I'm having trouble getting squid configured properly. Once it's done, I'm hoping this resolves these issues. --[[User:Short Circuit|Michael Mol]] 11:28, 1 October 2011 (UTC)
: Several reasons. First, I have a pretty strong personal dislike of Freenode at this point. I have been unable to reclaim ownership of either my username or rosetta code's existing IRC channel on IRC after multiple attempts over fifteen years and nearly a third of my life on earth, and it's just not worth the hassle. I gave Freenode most of fifteen years to start acting like a professionally-managed service. They don't wish to. That's their business. Second, IRC is a terrible protocol. This is reflected in third, the larger technology community has settled on Slack; it Just Works Better. Fourth, there are decent alternatives like Mattermost, but I'm not going to pay to host a Mattermost server, and paying someone else to do so brings us back to the problem of creating an account on a third-party service. If you're concerned about privacy with Slack, you've presumably worked out how to solve that problem with email. Create an email account somewhere exclusively for your Slack account as it relates to Rosetta Code. That's 100% acceptable, and nobody will get on your case about it, least of all me. Some people are already doing that. If you don't want to use Slack's proprietary clients, download the Mattermost client; it can talk with Slack's servers, and should be FLOSS enough for your needs. Finally, in most of fifteen years of having an IRC channel, the channel never had more than ten people. Currently, it has 223 people, and is adding around five a day. --[[User:Short Circuit|Michael Mol]] ([[User talk:Short Circuit|talk]]) 15:49, 16 July 2020 (UTC)
:::Any update on this? Just tried updating my user avatar again, and got the same "fun" error message:
:: I understand. Thank you for the explanation, and for pointing out Mattermost. [[User:Danuker|Danuker]] ([[User talk:Danuker|talk]]) 15:56, 16 July 2020 (UTC)
".jpg" is not a permitted file type. Permitted file types are png, gif, jpeg, svg.
::: No problem! It was a valid question, and the history isn't well-documented. --[[User:Short Circuit|Michael Mol]] ([[User talk:Short Circuit|talk]]) 15:58, 16 July 2020 (UTC)
:::I also tried it as .jpeg, and then with no extension. Tried uploading a PNG; got the "File extension does not match MIME type" error. -- [[User:Eriksiers|Erik Siers]] 09:02, 16 October 2011 (UTC)
:::I still can't upload .png files. Perhaps the problem is they are created with GDI+ ... I guess I'll use imgur or something :( --[[User:Crazyfirex|Crazyfirex]] 02:27, 19 November 2011 (UTC)


::: By the by-and-by, I tried to sign up to   '''RC's Slack'''   immediately after I saw your alert box,   but my attempt was unsuccessful,   it appears that my Windows/SP isn't up to snuff   (from what I could glean from the error messages).   I don't know how many other Rosetta Code users are still running Windows/XP   (there must be others, I should think),   but I thought you'd like to know about my attempt to sign up.   Apparently, my PC's hardware is also too outdated to install the newer Windows systems,   or even, for that matter, newer web browsers.   The only browser that now works for Windows/SP is FireFox 59.9.0,   not even the Windows Internet Explorer that came with Windows/XP runs correctly anymore.     -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 18:31, 16 July 2020 (UTC)
==Contributions question==


:::: It might be a good time to try Linux, which works quite well on older hardware. Another option would be to pick up a used machine at a computer recycling center; you can often find them for around $100US. I spend most of my time on a Chromebook now, and you can get those for $100-200US as well. A Raspberry Pi 4 running Raspbian can serve, too, for less than $50. As a word of warning, I do intend to eventually disable non-HTTPS connections, at which point XP may simply stop working after enough iterations on the TLS protocol. --[[User:Short Circuit|Michael Mol]] ([[User talk:Short Circuit|talk]]) 20:54, 16 July 2020 (UTC)
What does "top" mean in the "my contributions" list ? I think I could't figure it out so far! [[User:Ulrie|Ulrie]]
: I think it means there haven't been any edits more recent than yours. --[[User:Short Circuit|Michael Mol]] 21:14, 6 September 2010 (UTC)
::I think it might mean that you edited the entire page instead of just a section (as in you clicked the edit link at the top of the page). It doesn't have much significance anyway I don't think. --[[User:Mwn3d|Mwn3d]] 21:50, 6 September 2010 (UTC)
::Nevermind. Mike is right. --[[User:Mwn3d|Mwn3d]] 21:51, 6 September 2010 (UTC)


::::: Linux   (or any flavor of *nix)   isn't an option for me as I use (must-have) software that only runs under Windows   (well, DOS, actually).   Yeah, yeah, I know, I know,   one foot still stuck in the past.   Even if I were to buy a used PC,   I'd still have to pay full price for a Windows upgrade, and I don't relish that upgrade pain.   There aren't many used PCs around here, and of what I've seen,   most (if not all) are pretty low on real storage for today's needs.   I can barely make FireFox run in   2 GB   (!!),   it makes my life responding to CAPTCHA's challenges pretty interesting,   if not pretty damn frustrating.   I would pay a small fortune to not suffer CAPTCHA's sense of humor,   or whatever sort of "entertainment" it offers.   And, after all that, that's assuming that I could even upgrade   (to a newer Windows software)   on that used PC.   As for HTTPS, I have HTTPS connectivity now,   but who knows if there will be additional protocols/challenges or whatever,   that would disable my use of HTTPS on my only web browser.   If so, well,   it was a good run   (a dozen years)   while it lasted.   I was hoping to get enough REXX entries/solutions to get over a   '''1,000''',   but that reality might be fleeting.   I'll try to get another ten or so new REXX entries in within the next couple of weeks,   so don't hurry in your conversion   (tongue in cheek).     -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 21:42, 16 July 2020 (UTC)
==Oops!==


:::::: You should look into DOSBox. It's a DOS emulator for Linux. I used to use it to play everything from Dune 2 to SimCity 2000 to Commander Keene to Duke Nukem 3d. I believe it's fully compatible with MS-DOS 6.22 (I don't think there were any additions in MS-DOS 7 you'd care about). Worth a look, anyway. --[[User:Short Circuit|Michael Mol]] ([[User talk:Short Circuit|talk]]) 22:50, 16 July 2020 (UTC)
I uploaded a new version of [[http://rosettacode.org/wiki/File:HoughTransformHex.png this image]]. I accidently upload a 3mb version. How do I delete the image so it isn't hoarding storage space? [[User:Cferri|Chris Ferri]] 19:47, 12 August 2010 (UTC)
: Let me worry about bandwidth and server storage space. The server made thumbnails, so as long as those are what get embedded in various places, things should be fine.
: That said, if you want to replace the file, try the "upload new version" link that's on that page somewhere. --[[User:Short Circuit|Michael Mol]] 19:49, 12 August 2010 (UTC)
:: Hm. That image could probably use a run through pngcrush, though. GIF might work as a better format, too; 8-bit palettized, with LZMA compression, works nicely for some scenarios. Play around with it. :) --[[User:Short Circuit|Michael Mol]] 19:51, 12 August 2010 (UTC)
:::K, thank you for the help. [[User:Cferri|Chris Ferri]] 20:19, 12 August 2010 (UTC)


::::::: Thanks, I'll look into that.   I'm not very comfortable about jumping from Windows to Linux, that's a whole 'nother kettle of fish.   I still have a DOS "starter/backup"   3.5   inch floppy   (yes, that's right, a complete DOS system that I can use for recovery).   I only had to use it twice.   My old PC doesn't support booting off of a CD or DVD or a USB stick (drive),   so it's a hard drive or a 3.5 inch floppy.   Anyway, as I grow older,   I have less and less time for things that don't work,   ya only have so much time left for the good things.   Ya never can tell when covid-19 will come a-calling.   I already have too many strikes against me in that department.     -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 23:26, 16 July 2020 (UTC)
== LabVIEW ==
So, for LabVIEW, the optimal solution is to actually upload the vi containing the solution code rather than upload an image of the code. Would that be OK, or would that consume too much storage space? LabVIEW vi's can be anywhere from 7KB to several megs.
--[[User:Cferri|Chris Ferri]]
: Hm. That's actually a very, very interesting problem. First, MediaWiki (what this site runs on) limits allowed upload file types. I can modify that, but that wouldn't be a good policy habit to get into. Additionally, a 7KB block of source code would be a rather large segment to inline into a page--and MW can OOM on multi-megabyte pages. (That's assuming the .vi files were human-readable.) So while uploading the .vi files is the optimal solution from a code execution standpoint, it's not practically workable. That leaves screenshots, ''assuming'' there's enough information in the screen shot for the user to build the solution.
: Now you've got me seriously pondering something like mercurial as a back-end for holding the source code--that would efficiently handle the scenario. It would also require a massive redesign of how the site software works.
: Can screen shots work? (I think you're replying to something, but I don't know off-hand where the other part of this conversation took place.) --[[User:Short Circuit|Michael Mol]] 14:56, 14 July 2010 (UTC) 11:17, 14 July 2010 (UTC)
:: If I could chime in on the subject, I think it would be a good idea to have both the image and the vi file itself. The image would give a general idea of what the program looks like to someone who's not familiar with or does not own LabVIEW. But that alone could potentially make it very tedious to try. Some LabVIEW programs can grow to be quite large and could be time-consuming to re-write. A downloadable version could be a huge time saver for those who own a version of it. So I would recommend having an image and a download link, if possible. --[[User:Tyrok1|Tyrok1]] 16:14, 14 July 2010 (UTC)
::: Really, I agree. The problem, though, is a technical one; I don't have an effective means of allowing the upload and storing of .vi files. --[[User:Short Circuit|Michael Mol]] 16:18, 14 July 2010 (UTC)
::::Ok well below are the front panel and block diagram for heap sort implemented in LabVIEW. This vi in my opinion represents the average labVIEW vi. My problem with this is the only way to see the other cases and nested functions etc would be to upload an image of them as well. This could lead to potentially many dozens of images needed to show all the cases in a case structure etc. And, anybody wanting to use this code won't have the ability to run the code without all of these images from which to recreate these functions. I have no idea how your file hierarchy is setup, but one solution to the storage problem would be to create a "labVIEW" folder in which you can place all files with a .vi file extension that are uploaded.--[[User:Cferri|Chris Ferri]]
[[File:Heap_sort-front_panel.png|200px|Heap sort front panel]]
[[File:Heap_sort-block_diagram.png|200px|Heap sort block diagram]]
::::: The least tractible problem stems from implementation limitations: MediaWiki file uploads are limited by PHP settings on the server, which are in term adjusted with an eye towards resource usage (most notably memory, but disk usage is something I'd be worried about as well.). The best practicable solution I could provide would be a sideband upload mechanism such as a source code repository that used MediaWiki credentials for authentication. Doable, and has interesting and useful side effects wrt the rest of the site, but that'd take planning. I actually had a face-to-face conversation with [[User:Tyrok1|Tyrok1]] today, where he explained to me some of the limitations of the screenshot approach, so I understand your problem. I just don't have the time to implement it right now. --[[User:Short Circuit|Michael Mol]] 22:39, 14 July 2010 (UTC)
::::::No probs. It's not a huge issue for me to be unable to upload the LabVIEW solutions. I'm more interested in staying in practice and solving the tasks on this site give me a good way to do that. But, when or if this site is ever capable of handling LabVIEW solutions to programming tasks, I'd happily take the time to upload all of them. Until then, I see no point in uploading screen shots of the code without the source to go along with it (for people who use labVIEW). As you can see, even trivial algorithms are difficult to decipher without labVIEW's profile and debug tools.--[[User:Cferri|Chris Ferri]]


: Slack responds, "This link is no longer active" when the link in the banner is selected.
Has anyone asked the company that creates LabVIEW if they have a way to textually dump its programs for use on sites such as this? I can see that a non-graphical, but still 'meaningful' textual form might be useful to others.(They could output a version in [http://www.graphviz.org/ graphviz dot] format for example). --[[User:Paddy3118|Paddy3118]] 05:06, 15 July 2010 (UTC)
: Perhaps the banner can be removed?
: Not AFAIK, but I did learn that the .vi file contains positional data for blocks and connections, that the blocks are generally very simple, that most meaningful programs wind up constituted of a huge number of blocks, and that all that data for all those very simple blocks adds up. I don't know how much it supports by way of linked-in libraries and code-reuse. If there were a textual format, I'd be surprised if some third-party tools for library processing and such didn't crop up. --[[User:Short Circuit|Michael Mol]] 14:36, 15 July 2010 (UTC)
:--[[User:GarveyPatrickD|GarveyPatrickD]] ([[User talk:GarveyPatrickD|talk]]) 02:25, 9 December 2020 (UTC)
::There is no way to textually represent the G source code. It would be pointless, because the source for a labVIEW vi not only contains the positioning info for the visual programming elements, but also hidden labVIEW processes running in other threads. It would be harder to decipher than a picture of the block diagram. So, I do have the option of uploading the vi's to the [http://zone.ni.com/devzone/cda/tut/p/id/5053 LabVIEW Developer Zone], and then link to them from there. But, I am hesitant to do so because I don't know what license user created programs are licensed under. --[[User:Cferri|Chris Ferri]]


==Possible synergy==
== Multilingual ==
Hi, there is a new technology that is very related to Rosetta code. It is called "progsbase" (check it out on Google or here: [https://repo.progsbase.com https://repo.progsbase.com]). One difference between Rosetta code and progsbase, is that progsbase encourages programming similarly in different programming languages. In other the same program in different languages are programmed essentially the same way. This enables one especially interesting automation: As the programs are programmed the same way in all supported languages, it can be automatically translated. So, the programs are written once and automatically made available in all supported languages.


What do you guys think? Is there a possible synergy or cooperation with rosetta code possible here?
Are you going to ever introduce a multilingual in Rosetta Code?
: A what? --[[User:Short Circuit|Michael Mol]] 18:46, 8 April 2010 (UTC)
:: Like into Wikipedia. Sorry, i.e. adding multi-language. --[[User:DCamer|DCamer]] 18:52, 8 April 2010 (UTC)
::: I'm still not clear on what you're trying to say. Is English your best language? If not, try giving a full description in a language you're comfortable with, and I'll throw it through, e.g. Babelfish and possibly another native speaker. Might be easier that way. --[[User:Short Circuit|Michael Mol]] 18:55, 8 April 2010 (UTC)
:::: Do you plan to add to the site other languages except English? (comfortable to me: Планируете ли вы добавлять на сайт другие языки кроме Английского?). --[[User:DCamer|DCamer]] 19:01, 8 April 2010 (UTC)
::::: Ah, I see what you mean! I don't know how practical that would be on MediaWiki. The source code itself should be common between ''all'' human languages, even if the individual descriptions and the rest of the pages would not be. I don't think it will happen while the site runs on MediaWiki, but it's definitely something I would plan to allow for if/when a suitable alternative can be implemented. --[[User:Short Circuit|Michael Mol]] 19:06, 8 April 2010 (UTC)
:::::: You could do it via subdomains like Wikipedia does -- like '''en.rosettacode.org''' vs '''ru.rosettacode.org'''. -- [[User:Eriksiers|Eriksiers]] 19:10, 8 April 2010 (UTC)
::::::: That's not the problem. The problem is that the core content, the lang-by-task matrix of examples, is reasonably correct for all languages, but the supporting description and explanation isn't. The way the examples are currently presented on the site, we would see the example code for any lang-task point diverge, without an effective way to resolve updates and differences between the various languages. (Granted, even with code fixedly common between all human languages, you still run into quirks of variable names and comments. Adding locale support to source code presentation would be a daunting (though interesting) task in itself!) --[[User:Short Circuit|Michael Mol]] 19:40, 8 April 2010 (UTC)
:::::::: I see. Yes, you're right, Mediawiki is probably unsuitable as-is. Oh well. -- [[User:Eriksiers|Eriksiers]] 20:22, 8 April 2010 (UTC)
::::::::: So there is [http://www.mediawiki.org/wiki/Extension:SpecialInterwiki extension Interwiki] [http://www.mediawiki.org/wiki/Manual:Interwiki and manual] :). I tried on the local machine - no problem. --[[User:DCamer|DCamer]] 21:26, 8 April 2010 (UTC)
:::::::::: We have InterWiki, but the problem is that we'd want to transclude the code itself across all languages, because the code itself should be common to all human languages. There are two problems with transclusion. First, the code examples would need to be separated from page content (which I already believe needs to happen, personally), with the English and Russian versions of the site transcluding from them. Second, with the transclusion, it's not trivial to make a change to a code example; you would have to navigate to the sourced page and make the change there. (If that second part weren't a problem, I would have already addressed the first part by breaking out the code examples into the "Example:" namespace I've already created on the site.) --[[User:Short Circuit|Michael Mol]] 21:34, 8 April 2010 (UTC)
::::::::::* But why the code to separate from the main text? So that the changes in the code would be reflected simultaneously in all languages? --[[User:DCamer|DCamer]] 10:33, 9 April 2010 (UTC)
:::::::::::Yes, exactly. Otherwise, it becas a conflict resolution problem much like that of source control, but without the aid of automated toos. --[[User:Short Circuit|Michael Mol]] 11:23, 9 April 2010 (UTC)
:::::::::::* Then it is possible to create the code in the various article and to refer to it through the template. <nowiki>{{Example:Code1}}</nowiki>. --[[User:DCamer|DCamer]] 11:55, 9 April 2010 (UTC)
:::::::::::: Translated from earlier, Google Language Tools: ''Есть две проблемы с transclusion. Во-первых, примеры кода, должны быть отделены от содержимого страницы (о котором я уже считаю, должно произойти, лично), с английской и русской версии сайта transcluding от них. Во-вторых, transclusion, это не тривиально внести изменения в пример кода, вы должны перейти на страницу источников и внести изменения там. (Если это вторая часть не проблема, я бы уже обратились к первой части, разбив из примеров кода в "Пример:" имен я уже создал на сайте.) - Майкл Мол 21:34, 8 апреля 2010 (UTC)'' --[[User:Short Circuit|Michael Mol]] 12:00, 9 April 2010 (UTC)
::::::* Alternatively - you could create it through a template, [http://oryol-world.wikia.com/wiki/Oryol-World_Wiki here an example], bottom of the page, or [http://www.mediawiki.org/wiki/Template:Languages on website MediaWiki]. --[[User:DCamer|DCamer]] 19:36, 8 April 2010 (UTC)
:::::::::::: Trying again. (I passed it backward and forward through Google until it came back saying what I was trying to say.): Есть две проблемы с transclusion. Во-первых, образцы должны быть отделены от содержимого страницы (о котором я уже считаю, должно произойти), с английской и русской версии сайта transcluding от них. Во-вторых, это не тривиально внести изменения в теле шаблона от страницы, использующие этот шаблон, надо перейти на страницу шаблона и сделать один изменим там. (Если второй половине не было проблем, я бы уже implemanted первую часть, разбив примеры кода из в "Пример:" пространство имен, что я уже создал на сайте.) --[[User:Short Circuit|Michael Mol]] 18:36, 9 April 2010 (UTC)
::::::::::::: As you wish, however, often themselves examples contain of comments and text strings, that should also be translated, so it turns out that problems with sample no. If the project has become multilingual and international, it was be cool! :)<br />P.S. I apologize for bump post. --[[User:DCamer|DCamer]] 20:52, 15 April 2011 (UTC)
:::::::::::::: No problem. I wish we could do it, but it'd be a _lot_ of maintenance and overhead to be done properly. I know there's a massive following from your area, but I don't have the resources to do the thing properly. --[[User:Short Circuit|Michael Mol]] 20:56, 15 April 2011 (UTC)
::::::::::::::* Excuse me, but about what resources are you talking? Money? To attract the Staff? Or to technical side? With respect to the second, they are not needed, just a subdomain, and multiple directives in LocalSettings.php. With respect to Staff: the people there is, are able to control the language section. --[[User:DCamer|DCamer]] 11:41, 16 April 2011 (UTC)
:::::::::::::::* The resources to get the wiki switched over to a semantically structured and constructed layout. See [[Rosetta Code:Village Pump/Semantic MediaWiki#Discussion]], particularly the part where it talks about using [[Hough Transform]] as a test environment. That's the ''single'' largest thing that makes this difficult to do. If that were taken care of, most of the rest of the maintenance headaches would vanish, and the rest manageable, as long as there were some dedicated folks to help maintain the RU side of internationalization. (I also expect there to be friction and communications difficulties across internationalizations with respect to task clarification, but that's a problem that can be addressed once it happens) --[[User:Short Circuit|Michael Mol]] 13:26, 16 April 2011 (UTC)
::::::::::::::* In addition, in the interwiki there is «transwiki transclusion», allows the use pages from the other wiki as templates. --[[User:DCamer|DCamer]] 12:06, 16 April 2011 (UTC)


:Hi, from your descrition above, it seems that language idioms will be lost. How would an OO language and a functional language be usefully compared for example? --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 21:19, 3 August 2018 (UTC)
== Rcode buttons ==


:Progsbase is yet another computer language. It claims that "...the progsbase tooling can write the program out to one of the supported languages, which include all programming languages with a few exceptions, but these exceptions account for less that 1% of written programs". The 'all programming languages' is hype. It supports 9 languages (not including the most important F#). The last time I looked RC has 823 languages, so 9 is hardly all. It doesn't include COBOL, Ruby or F#, there is no evidence offered 'that the exceptions account for less than 1% of written programs', but with just these 3 exceptions I find it difficult to accept. It doesn't support Objected Oriented features, but most tasks on RC don't require OO. So someone could add Progsbase to RC as the 823rd. + 1 language and write many of the tasks in it, and as a bonus then have Progsbase tooling write it in 9 other languages.--[[User:Nigel Galloway|Nigel Galloway]] ([[User talk:Nigel Galloway|talk]]) 09:44, 4 August 2018 (UTC)
I dig it. Nice touch. --[[User:Mwn3d|Mwn3d]] 01:51, 11 April 2010 (UTC)
: Slowly gearing towards prettifying things and improving site structure and layout. I think I need to use a better font, though. And I want the server to generate and cache the alternate sizes. And I want MW to handle size specifications in points, darnit! Each button is a 48k image, currently, but at 96x96px the Language button is a mere 8.4k, before and after pngcrush. --[[User:Short Circuit|Michael Mol]] 01:58, 11 April 2010 (UTC)


==Broken Links???==
== AssaCom is spam user ==
Sorry, not a wiki expert.
Two items: contact info on the User Short Circuit page is not working
Returned e-mail:
mx-in-b1-2.szfltintnat.v.visvr.net rejected your message to the following email addresses:


mikemol@rosettacode.org (mikemol@rosettacode.org)
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)
The address you sent your message to wasn't found at the destination domain. It might be misspelled or it might not exist. Try to fix the problem by doing one or more of the following:


Send the message again, but before you do, delete and retype the address. If your email program automatically suggests an address to use, don't select it.
== Pipe Dream ==
Clear the recipient AutoComplete cache in your email program by following the steps in this article: Status code 5.1.1. Then resend the message, but before you do, be sure to delete and retype the address.
Contact the recipient by some other means (by phone, for example) to confirm you're using the right address. Ask them if they've set up an email forwarding rule that could be forwarding your message to an incorrect address.


Second item. I tried to leave a Python 3.x version of go fish and got to a broken link?
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?
LINK
http://rosettacode.org/wiki/Help:Sandbox


ERROR
--[[User:DanBron|DanBron]] 23:25, 16 April 2010 (UTC)
Exception encountered, of type "RuntimeException"
: 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.) --[[User:Short Circuit|Michael Mol]] 23:40, 16 April 2010 (UTC)
: Actually, using the [http://www.mediawiki.org/wiki/API:Query_-_Lists#recentchanges_.2F_rc 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. —[[User:Underscore|Underscore]] ([[User talk:Underscore|Talk]]) 00:20, 17 April 2010 (UTC)


Regards,
== [Solved] Rewording required? ==
tsb
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).
[[User:Wolf|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&mdash;a question of pride for some people. --[[User:Short Circuit|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. --[[User:Short Circuit|Michael Mol]] 16:34, 11 May 2010 (UTC)
All done. Thank you again. [[User:Wolf|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: [http://www.autohotkey.com/forum/viewtopic.php?t=44657&postdays=0&postorder=asc&start=225 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. [[User:Wolf|Wolf]] 12.May 2010 14:32h (GMT+2)
: No time constriction. --[[User:Short Circuit|Michael Mol]] 13:42, 12 May 2010 (UTC)


: As noted by [[User:Tsbrownie]] at 11:43, 2 December 2017, [[Help:Sandbox]] is still returning:
: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. --[[User:Paddy3118|Paddy3118]] 14:09, 12 May 2010 (UTC)
: Exception encountered, of type "RuntimeException"
: You're correct. And this is a discussion better suited for that task's talk page. --[[User:Short Circuit|Michael Mol]] 14:22, 12 May 2010 (UTC)
:[[User:GarveyPatrickD|GarveyPatrickD]] ([[User talk:GarveyPatrickD|talk]]) 19:29, 6 December 2020 (UTC)


==cloudflare issue==
== 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? --[[User:ShinTakezou|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. --[[User:Short Circuit|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. --[[User:Rdm|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. --[[User:Short Circuit|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. --[[User:Rdm|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. --[[User:Short Circuit|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! --[[User:Rdm|Rdm]] 15:55, 8 June 2010 (UTC)
::::::: URLs ''should'' still require it, FYI. --[[User:Short Circuit|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). --[[User:Rdm|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. --[[User:Short Circuit|Michael Mol]] 12:28, 9 June 2010 (UTC)


is there a timeperiod which is affected? if that period is small then only people who logged in during that period should be affected. not sure if it is a lot of effort to figure out who that is.
Same for me, no ext link afair, but captchaed anyway. Last edit went smooth captchalessly, thanks &mdash;[[User:ShinTakezou|ShinTakezou]] 18:41, 8 June 2010 (UTC)


lucky i came to check the site before the passwords expired because it turns out i was using an expired email address. i would not have been able to reset an expired password without troubling you. [[User:EMBee|eMBee]] ([[User talk:EMBee|talk]]) 03:16, 25 February 2017 (UTC)
== Spammer? ==


according to https://blog.cloudflare.com/incident-report-on-memory-leak-caused-by-cloudflare-parser-bug/ the issue existed from the 13th of february to the 18th. that's one week. only users who connected to rosettacode in that period would be affected. [[User:EMBee|eMBee]] ([[User talk:EMBee|talk]]) 04:09, 25 February 2017 (UTC)
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… –[[User:Dkf|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. --[[User:Short Circuit|Michael Mol]] 13:40, 10 June 2010 (UTC)


there is more (from the report):
== Back to ==


* 2016-09-22 Automatic HTTP Rewrites enabled
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 --[[User:ShinTakezou|ShinTakezou]] 11:57, 11 June 2010 (UTC)
* 2017-01-30 Server-Side Excludes migrated to new parser
* 2017-02-13 Email Obfuscation partially migrated to new parser


did rosettacode use any of these features? if not then it should actually not be affected at all. [[User:EMBee|eMBee]] ([[User talk:EMBee|talk]]) 04:26, 25 February 2017 (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. --[[User:Rdm|Rdm]] 13:46, 11 June 2010 (UTC)


: Good point; I should only need to expire passwords for accounts touched during the affected period. However, understand that RC didn't need to have those features enabled to be affected; those features resulted in the client being sent data that was resident in memory on Cloudflare's systems, they didn't have control over whether data would be in that memory in the first place; if someone logged into RC, their credentials would be in memory for a time. Then someone else makes a request from some other site with those features enabled, and they would get some chunk of Cloudflare's server's memory sent to them. This is a very, very common misunderstanding from people who've only read Cloudflare's blog post on the subject, and Cloudflare has unfortunately downplayed the severity and scope of the issue. --[[User:Short Circuit|Michael Mol]] ([[User talk:Short Circuit|talk]]) 04:33, 25 February 2017 (UTC)
== Problems with uploading new versions of existing images ==


:: yes, i didn't read that out of the report. will have to read again. the way you explain it makes sense of course. thanks. not good on cloudflares part to not make that clear. :-( [[User:EMBee|eMBee]] ([[User talk:EMBee|talk]]) 04:50, 25 February 2017 (UTC)
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...) -- [[User:Eriksiers|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. --[[User:Short Circuit|Michael Mol]] 18:29, 22 September 2010 (UTC)
::As long as you're aware of it, I'm happy...ish. :-) -- [[User:Eriksiers|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. --[[User:Short Circuit|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. --[[User:Short Circuit|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. -- [[User:Eriksiers|Erik Siers]] 19:05, 22 September 2010 (UTC)
:::::The cache won't catch nearly as much as would be ideal, because of complexities surrounding [http://www.http-stats.com/X-Vary-Options 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.) --[[User:Short Circuit|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. -- [[User:Eriksiers|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. --[[User:Short Circuit|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 [[:File:Eriksiers_avatar.jpg|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".


: The expiry process *should* allow one login using the old password, requiring the user to set a new password before proceeding. It's not a reset, but an expiry. I chose that approach because not everyone even has their email address loaded in... --[[User:Short Circuit|Michael Mol]] ([[User talk:Short Circuit|talk]]) 04:34, 25 February 2017 (UTC)
(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.) -- [[User:Eriksiers|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? --[[User:Mwn3d|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? -- [[User:Eriksiers|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. --[[User:Short Circuit|Michael Mol]] 13:58, 4 February 2011 (UTC)
::::That's... kinda weird. Is it one of the patches in [http://svn.wikimedia.org/viewvc/mediawiki/trunk/debs/squid/debian/patches/ here]? I might take a look at it (if I can understand it). -- [[User:Eriksiers|Erik Siers]] 14:36, 4 February 2011 (UTC)
::::: [http://svn.wikimedia.org/viewvc/mediawiki/trunk/debs/squid/debian/patches/26-vary_options.dpatch?view=log this one]. --[[User:Short Circuit|Michael Mol]] 14:58, 4 February 2011 (UTC)


: Unfortunately, I don't have a way to reliably know whether or not a given user's credentials were at risk. The best I have is <code sql>SELECT count(*) FROM user where (user_newpass_time < 20170219000000 or user_newpass_time is null)</code>; user_touched is tempting, but it's reset every time a user visits their talk page, so the most active users wouldn't show up in the result set. --[[User:Short Circuit|Michael Mol]] ([[User talk:Short Circuit|talk]]) 04:58, 25 February 2017 (UTC)
==Contest with RC questions==
It seems an APL programming contest used RC questions: [http://www.truepr.co.uk/news/dl/24/ here].
: Yeah, I first noticed referral traffic from Dyalog's contest a few months ago. Pretty cool. :) --[[User:Short Circuit|Michael Mol]] 09:03, 27 September 2010 (UTC)


: Query applied. Now to expire the existing sessions. --[[User:Short Circuit|Michael Mol]] ([[User talk:Short Circuit|talk]]) 05:00, 25 February 2017 (UTC)
== Template work ==
: PHP sessions deleted. Object cache (where MediaWiki session data is stored) truncated. Logins seem unaffected; MediaWiki's session handling is disturbingly robust. Won't matter after a few weeks. --[[User:Short Circuit|Michael Mol]] ([[User talk:Short Circuit|talk]]) 05:19, 25 February 2017 (UTC)


:: awesome, i can confirm that it worked. just wonder what does "session cookie longevity will be reduced until late March" mean? [[User:EMBee|eMBee]] ([[User talk:EMBee|talk]]) 05:28, 25 February 2017 (UTC)
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? --[[User:Mwn3d|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. :) --[[User:Short Circuit|Michael Mol]] 15:06, 11 October 2010 (UTC)
::: <code>$wgCookieExpiration = min(array(30*86400, time() - 1487999574));</code> ... I don't know if $wgCookieExpiration applies to existing cookies, though. It's unfortunately the best I can do. --[[User:Short Circuit|Michael Mol]] ([[User talk:Short Circuit|talk]]) 05:31, 25 February 2017 (UTC)
:::: i think it worked as expected. i was immideately logged out on the next reload, so my cookie must have been expired right away.[[User:EMBee|eMBee]] ([[User talk:EMBee|talk]]) 05:56, 25 February 2017 (UTC)
::: In any case, I'm overdue for calling <code c>sleep()</code>. o/ --[[User:Short Circuit|Michael Mol]] ([[User talk:Short Circuit|talk]]) 05:32, 25 February 2017 (UTC)
::::<code c>sleep(28800)</code>[[User:EMBee|eMBee]] ([[User talk:EMBee|talk]]) 05:56, 25 February 2017 (UTC)


==Is file uploading blocked forever?==
== Stats ==
I went to [http://rosettacode.org/wiki/Special:ListFiles File list] and discovered that all file uploads are blocked since 6/2/2016, even admins have no uploads. Is it sort of technical glitch? Or result of fighting spam too hard?? I'm planning 3 new tasks with 7 pictures. Without picture uploads it is useless. Another interesting issue: Why nobody complains? --AnatolV 21:30, 18 July 2016 (UTC)
:According to /Special:Contributions/Short_Circuit page, he (Short Circuit) took a long vacation starting on 4/12/16 and traveling around the Globe. I hope nothing bad happened to him… But… '''RC should have active admin''' able to answer Qs and resolve problems.
:P.S. BTW I’m glad we have at least 2 more complaining contributors. LOL--AnatolV 22:02, 2 August 2016 (UTC)


I have tried to upload images so I can fully discuss AVL Trees but the image upload fails. Is this a problem for everyone - or just me.[[User:NNcNannara|NNcNannara]] ([[User talk:NNcNannara|talk]]) 10:33, 2 August 2016 (UTC)
Thanks for the welcome.


: File uploading is disabled until such time as I can verify it is safe. We had an issue where some malicious files were uploaded. Many apologies; it's a frustrating scenario. --[[User:Short Circuit|Michael Mol]] ([[User talk:Short Circuit|talk]]) 17:06, 8 August 2016 (UTC)
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)?


::NP and TYVM for clarifying this.--AnatolV 22:14, 8 August 2016 (UTC)
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?


:::Any progress on uploading files -- especially pictures. Graphics code and programs creating windows populated with controls will be almost useless if the output does not accompany the code. Maybe Captua?[[User:KenS|KenS]] ([[User talk:KenS|talk]]) 08:04 29 August 2016 (UTC)
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.


'''Image file uploads still appear to be blocked. Will this be resolved soon please? -- 31 Dec 2016.'''
[[User:CRGreathouse|CRGreathouse]] 04:38, 3 November 2010 (UTC)
:I'll look into it again some time in the next few weeks. File uploads will not be blocked forever. It'll just have seemed that way. [[User:Short Circuit|Michael Mol]] ([[User talk:Short Circuit|talk]]) 15:39, 2 January 2017 (UTC)

::I want to jazz up the Java AVL Page with some diagrams and discussion. Unfortunately, the upload of the .gif files fails - I suspect that I don't have the permissions. How about it Mike? The pages will look beautiful.[[User:NNcNannara|NNcNannara]] ([[User talk:NNcNannara|talk]]) 10:07, 21 February 2017 (UTC)
::When I get the permissions, I will update the Native C++, Managed C++ and C# Pages too.[[User:NNcNannara|NNcNannara]] ([[User talk:NNcNannara|talk]]) 10:11, 21 February 2017 (UTC)

::Apparently image uploads have been blocked since 6/2/2016 - that's almost a year. What is a Wiki without images? Dead in the water I'd say.[[User:NNcNannara|NNcNannara]] ([[User talk:NNcNannara|talk]]) 10:24, 23 February 2017 (UTC)

:: We should clone all contents to a site where "the community" (or some designated caretakers) has enough access rights to keep wheels turning. [[User:Yeti|Yeti]] ([[User talk:Yeti|talk]]) 23:36, 28 December 2018 (UTC)

==Problems and a few suggestions==

I’ve tried to send email to mikemol@rosettacode.org but it failed (no such email). This is my 2nd probem.

'''Suggestion:''' In OEIS Wiki we have a better solution (to avoid spammers): if user logged in and visit another user page, s/he can see link “Send email to this user”.
In this case email could be any, e.g., topabracadabra@rosettacode.org, or real one, but sender can’t see it.

For your convinience I’m putting here another suggestion (from my User Talk page).

In some cases incomplete solution is reasonable, e.g., language limitations, too slow computer, etc.

'''Suggestion:''' May be editors should create Wiki tag “Incomplete task solution” (not red, but normal one, like Output tag). So, editors and/or authors can use it to mark such solutions.

And now, here is email (as is) with my 1st and prime problem that I was trying to send to you.

Dear Mr. Mol,

Recently I’ve ran at an annoying problem: RC is blocking my login, only because it decided that I’m overactive. I already described it in details on http://rosettacode.org/wiki/User_talk:AnatolV
What is terrible, after this post (on User talk) I was denied to log in again!

I am not asking you about editor privileges, because I can’t spend much time on RC as editor, but at the same time, I hope you have (or can set) '''something like “trusted user” account property''', allowing frequent access to RC (as for editors).
Of course, it should be easily revoked, if compromised. What do you think?

As I said: I can’t be on RC often, now I’m active, but next 2 months I’m out.
E.g., I wasn’t using RC almost whole February this year.

Another suggestion you can find on my User talk page. <<NOW FIND IT ADDED ABOVE>>

You know?? It reminds me old saying: “Any good initiative is always punishable!”
LOL If r active, stop it!! Nobody needs it! LOL

Best regards,

AnatolV

<<Note: this is added now, not in original email>>
P.S. At least 1 editor,- Gerard Schildberger, agree: this is/was a problem to him too.

==Cyberbullying==
===Legal definition===
<pre>
Cyberbullying is defined in legal glossaries as

actions that use information and communication technologies to support deliberate,
repeated, and hostile behavior by an individual or group, that is intended to harm
another or others.
use of communication technologies for the intention of harming another person
use of internet service and mobile technologies such as web pages and discussion groups
as well as instant messaging or SMS text messaging with the intention of harming another
person.

Examples of what constitutes cyberbullying include communications that seek to intimidate,
control, manipulate, put down, falsely discredit, or humiliate the recipient. The actions
are deliberate, repeated, and hostile behavior intended to harm another. Cyberbullying has
been defined by The National Crime Prevention Council: “when the Internet, cell phones or
other devices are used to send or post text or images intended to hurt or embarrass another
person.

A cyberbully may be a person whom the target knows or an online stranger. A cyberbully may be
anonymous and may solicit involvement of other people online who do not even know the target.
</pre>
Michael I believe that the posts from http://rosettacode.org/wiki/Talk:Arithmetic-geometric_mean to Talk:Kaprekar by ledrug and Hignight constitute communications that seek to intimidate, control, manipulate, put down, falsely discredit, or humiliate me. The actions are deliberate, repeated, and hostile towards me. How else am I to interpret:
<pre>
I'll make a few comments, but won't discuss it any more after that, since that would be
obviously futile.

I don't know what kind of antique lisp machine you have installed in your basement, but
your code does not compile on either SBCL or Clisp. Maybe geniuses shan't be bothered by such
trifles.
Your code, once made compile with SBCL (change that do (...) () to do (...) (nil), does
exactly the samething mathematically: raise a power of a base repeately, until either it
splits the square of n with the right sum, or it's too large. Except you are doing it in a
convoluted way, using non-integer methods on integers, and ends up with something literally
100 times slower then my edit you reverted (on SBCL that is, I don't know about your antique
lisp machine).

You had one good idea of checking congruence, and a whole lot of terrible ones: being
thoughtless in dealing with datatypes (pow and log on integers in C++, / and floor in Lisp);
being sloppy in performance tuning (your "v.fast" C++ code isn't all that fast); being
vengeful (paddy_cnt?); being narcissistic (own name as variable?); being inconsiderate to
code readers (what kind of person posts unindented Lisp?); and generally being an all-around
dick.

Your sarcasm in the lisp code was neither subtle nor funny. You give British humor a bad
name.

You are probably not stupid, but it's safe to say you are not the smartest person on RC, by a
long shot. And smart people around here tend to have good manners, unlike you or I. Stop
treating yourself like you are the one true genius, and try to do something that's helpful to
people instead of showing off, OK? (my guess: probably not. Oh well.) --Ledrug 00:10, 4
October 2012 (UTC)

Well said. He is clearly more interested in being a pompous dick then contributing
quality code to RC. --Larry Hignight 08:24, 4 October 2012 (UTC)
</pre>
I believe that the following:
<pre>
I'm sure that Nigel will respond to these results in his usual manner: "that is hot air",
"all of your implementations are flawed; Mine is the only true Common Lisp", "Surely, you
must have my version and Ledrug's version mixed up", or even the classic "Why didn't you just
fix my code!" Who knows... I'm sure that it will be amusing though. Therefore, I encourage
everyone with a working CL implementation to attempt to compile both versions and post your
results. --Larry Hignight 07:45, 8 October 2012 (UTC)
</pre>
consitutes an attempt "to solicit involvement of other people online who do not even know the target."
--[[User:Nigel Galloway|Nigel Galloway]] 12:35, 15 October 2012 (UTC)
==Respectful behavior toward other users, and towards this site==
Michael I would ask you to reread the Talk:Kaprekar_numbers page.
:*The comment "First, the message left on my user talk page by one genius" was posted by ledrug not me, you are wrong in fact.
:*Secondly the comment "A lot of hot air for somthing that doesn't exist! I did not break the origional solution, I made it solve the task" is in response to a long list of reasons why he feels his lisp style is better than mine, followed by "Yeah, it's kind of a shame that someone broke it though. --Larry Hignight 22:42, 23 September 2012 (UTC). Hignight maintains I broke his solution I did not. The proof is in the sample output showing it working (now lost to history). I had no problem with him undoing the changes. I have no wish to discuss my lisp style in a program which was not well written in the first place and had anyway been replaced by ledrug.
:*Thirdly, when have I been asked to sign my posts before? I usually do, and if I don't it is merely by accident as any reasonable person would think.
:*Fourthly I refer you to ledrugs comments on http://rosettacode.org/wiki/Talk:Arithmetic-geometric_mean "That was one of the most amazing paragraph to have ever graced RC, where except the first and the last, every sentence is wrong to some extent, and it was written sincerely (as far as I can tell).", and tell me how my response "Thank you for your interest, but why so angry?" can be considered agressive in any way to what is a very agressive posting from ledrug. Again in response to the bile posted on the Kaprekar page by ledrug starting "First, the message left on my user talk page by one genius" and finishing "You are probably not stupid, but it's safe to say you are not the smartest person on RC, by a long shot. And smart people around here tend to have good manners, unlike you or I. Stop treating yourself like you are the one true genius" "I responded "Again ledrug why so angry? I didn't revert your edit, it is a good solution, I left it there and reinstated my solution which you deleted, as, indeed, it was you who deleted Larry's solution". Again how is that aggresive?
In conclusion please reread the postings on the Talk:Kaprekar page understanding that you were mistaken in your understanding that I wrote "First, the message left on my user talk page by one genius" and explain to me how my response to ledrug's bile has been aggressive. He continually posts comments questioning my sincerity, I insist that you clarify that you for Rosetta Code do not support that contention.

As we seem to agree that "First, the message left on my user talk page by one genius" is agressive, it only remains for you to convince yourself that its authorship is ledreg for you to address your critism where it belongs.
--[[User:Nigel Galloway|Nigel Galloway]] 12:03, 15 October 2012 (UTC)
: Bleh. It does seem I've misread the discussion. My apologies. This is an artifact of my not having enough time...If you guys want me to come in and try resolving the conflict, I'm going to need information prepackaged, cited and digestible. I see some hope on Kaprekar Number's talk page, in that people started moving toward a structured resolution. That's good! Please continue! Unfortunately, I'm closing on a house this week, and I'm going to have zip spare time to go over the details for a few days. I'll look at it this weekend, if 'briefs' are readily available. --[[User:Short Circuit|Michael Mol]] 13:19, 15 October 2012 (UTC)
::I hope you are enjoying your new house. In your submission to my talk page I was dissapointed to see that you consider it acceptable for RC to be a hostile environment. When you encouraged people to continue moving towards a structured resolution were you calling for Hignights contribution of October 16th which includes:
<pre>
The code that you submitted looked like something a drunk C programmer would have written while doing a first experiment with CL.
</pre>
and
<pre>
I called you a pompous dick AFTER you started dismissing valid criticisms with smart ass remarks, confusing the issue with lies on this talk page and then writing unwarranted comments on someone's user page. If you don't like being called a dick, then stop acting like a dick. It's pretty simple, really. Regarding your latest lie and attempt at confusing the issue, "You have agreed that he replaced your version to 'reduce code; simplify; speed up; conform to task and extra'," I never said that Ledrug's version reduced my code, simplified my code, or agreed to anything on this page. Ledrug's change comments were (once again) comments about his code. He improved his code. You should consider doing the same.
</pre>
or do you consider it a kick in the teeth?
::For the record:
<pre>
(cur | prev) 04:55, 19 September 2012‎ Ledrug (Talk | contribs)‎ (84,438 bytes) (→{{header|Common Lisp}}: reduce code; simplify; speed up; conform to task and extra) (undo)
(cur | prev) 00:12, 19 September 2012‎ Lhignight (Talk | contribs)‎ (88,507 bytes) (→{{header|Common Lisp}}: Updated the description of the 'fast' implementation.) (undo)
(cur | prev) 23:54, 18 September 2012‎ Lhignight (Talk | contribs)‎ (88,429 bytes) (Undo revision 140330 by Nigel Galloway (talk)) (undo)
</pre>
00:12, 19 September 2012 was the last time Hignight had code on this task replaced by Ledrug at 04:55 with the comment "reduce code; simplify; speed up; conform to task and extra". This was his first submission of code so I can see no way of interpretting this as referring to his own code. It is my sincere belief that it refers to Hignights, I may be wrong but I am not Lying. I am not nor ever have been drunk while submitting anything to rosettacode, and not at anytime that comes immeadiatly to mind.
--[[User:Nigel Galloway|Nigel Galloway]] 16:27, 18 October 2012 (UTC)
: Regarding signing posts...there is a note left by another user on your talk page, but on re-reading, it was on the structure of your signatures, not the lack of them. I misread it in a way that backed up a misrecollection. Again, my apologies. Re-reading your contribution history, you've even gone through and adjusted indentation of previous conversation. Whether that's good or not depends on whether it's what the original author meant, but I appreciate the attention. --[[User:Short Circuit|Michael Mol]] 13:19, 15 October 2012 (UTC)
::You are not precise as to which indentation you refer. The origional situation was:
<pre>
12 Common Lisp Implementation
12.1 Conflict Resolution?
12.1.1 Issue the first
12.1.2 Issue the second
12.1.3 Issue the third

</pre>
with 12.1.1, 12.1.2, and 12.1.3 being my response to paddy3118. Hignight changed that as follows:
<pre>
12 Common Lisp Implementation
12.1 Conflict Resolution?
12.2 Testing Common Lisp Contributions
12.2.1 Issue the first
12.2.2 Issue the second
12.2.3 Issue the third

</pre>
my responses now being to his rant, and making no sense. I changed it as follows:
<pre>
12 Common Lisp Implementation
12.1 Conflict Resolution?
12.1.1 Issue the first
12.1.2 Issue the second
12.1.3 Issue the third
12.2 Testing Common Lisp Contributions

</pre>
please advise if it is any other change on which you require claryfication.
--[[User:Nigel Galloway|Nigel Galloway]] 16:27, 18 October 2012 (UTC)

==How can I efficiently find out the author of a solution?==
browsing the history is cumbersome
<div><small>''(This was written by [[User:Walterpachl|Walterpachl]] ([[User_talk:Walterpachl|Talk]] | [[Special:Contributions/Walterpachl|contribs]]) at 07:21, 8 June 2012 (UTC))''</small></div>

: There isn't really an easy way; not everyone signs their code (if they do, they're encouraged to use an HTML comment so that it is only cluttering things up when editing) and MediaWiki doesn't track line-level or character-level provenance particularly much. It just has a sequence of diffs and you have to find it yourself. FWIW, I find that bisecting is quite a good way to find who wrote a change; on the rare occasions I've needed to know the author of an example, I've been able to find it in a few minutes by using that technique with the history pages' range functionality. –[[User:Dkf|Donal Fellows]] 10:31, 8 June 2012 (UTC)

==Adding a language==

Add a Language.
How can I get ooRexx (I created a stub) into the list of languages.
I want to add its solution to Abstract Data Type to the Algorithms.

User: Walterpachl
: Check out [[Rosetta Code:Add a Language]]. Also, you can use <nowiki>--~~~~</nowiki> for a convenient, automatic, timestamped signature when you leave notes on talk pages. --[[User:Short Circuit|Michael Mol]] 16:13, 27 May 2012 (UTC)

I did but couldn't finish -- I created the page but kow is it added to the list-
And right now I am stuck when I try to add the code to the task list :-(
<nowiki>--~~~~</nowiki>

Now I added the code but apparently it did not like the syntax
Is there some noformat option?
and the <nowiki>--~~~~</nowiki> doesn't do what you promised.
Sorry for the difficulties of a real newbie here!
: Don't use the &lt;nowiki&gt; / &lt;nowiki&gt; tags when you use <nowiki>--~~~~</nowiki>. The &lt;nowiki&gt; / &lt;nowiki&gt; tags tell the wiki software <em>not</em> to interpret <nowiki>--~~~~</nowiki>. --[[User:Short Circuit|Michael Mol]] 17:38, 27 May 2012 (UTC)

It's now reasonably formatted and it looks good!!!!

Could you pls insert ooRexx to thje list of languages?
(or give me instructions for the dummy (me) )?
--[[User:Walterpachl|Walterpachl]] 18:17, 27 May 2012 (UTC)
:The page you created at [[ooRexx]] isn't in the right place. Take a close look at [[Rosetta Code:Add a Language#Category_Page]]. Anywhere you see "Ayrch" on that page, think "ooRexx" instead. --[[User:Short Circuit|Michael Mol]] 18:22, 27 May 2012 (UTC)

Thanks. I managed. My PC in the country home seems to have this defect of crazily formatting :-(
( I noticed also stramge formatting when answering mails:-( )

Anyway. Here in Vienna it works.
Pls point me at instrucions how to color my code.
--[[User:Walterpachl|Walterpachl]] 16:10, 28 May 2012 (UTC)

: [[Help:Syntax Highlighting]] --[[User:Short Circuit|Michael Mol]] 17:35, 28 May 2012 (UTC)

Hm. I see what's been done for mnay other languages.
However, pretty much to do in a strange language for getting Rexx highlighted.
Or am I too scared?
Could I also use HTML tagging for a start?
--[[User:Walterpachl|Walterpachl]] 11:41, 29 May 2012 (UTC)
: Do not use HTML. That would make it very, very cumbersome to correct later on. Just use <nowiki><lang oorex>(your code here)</lang></nowiki> for now, and when proper support is added, things will just work. Chances are, Rexx's syntax highlighting support will work decently well for you, too. I should be able to make a tweak on the server to have 'oorex' apply Rexx's syntax highlighting support. It'd be a start. Getting out of the gate on a new language isn't usually easy. --[[User:Short Circuit|Michael Mol]] 13:03, 29 May 2012 (UTC)
Thanks BUT
unfortunately none of the Rexxes is in GeSHi :-( as far as I can see...
no highlighting there either
--[[User:Walterpachl|Walterpachl]] 14:11, 29 May 2012 (UTC)
: Start with a basic language template that handles comments and strings (there should be those around; it appears to be [[C]]-like to me) and then add in the keywords (or at least the things that are normally used ''like'' keywords; I don't know whether the rexx-like languages are keyword-based in the first place). That'll give you enough to be going on with, and it's only a little effort if you know the language. (Alas, some other languages are considerably trickier.) –[[User:Dkf|Donal Fellows]] 14:38, 29 May 2012 (UTC)

maybe it's easier than I (we) thought..
Where would i find the template and where would I store my 'extended' template?
A friend of mine suggested that VIM is doing a good job on producing highlighted text
for many languages
--[[User:Walterpachl|Walterpachl]] 15:42, 29 May 2012 (UTC)
: Download a copy of GeSHi. The per-language source files are pretty easy to read. This conversation needs to move somewhere else. (Perhaps to [[Special:WebChat|IRC]]?) I simply can't maintain communicating at this rate and latency at this time. --[[User:Short Circuit|Michael Mol]] 15:50, 29 May 2012 (UTC)

okay. let's take that offline.
I downloaded the php files of GesHi. can you (Dkf) send me a mail where I should put the first rexx.php in rosettacode
in order to see its effect (I am sure there will be iterations necessary) pachl at chello dot at (the at's are different ones :-)
--[[User:Walterpachl|Walterpachl]] 21:54, 29 May 2012 (UTC)

Tied to get to the list and got this for my append:
Hi!
You've just tried to send mail to geshi-users, and you're not
registered. Please register at
http://lists.sourceforge.net/lists/geshi-users
And the link does not work:-(
--[[User:Walterpachl|Walterpachl]] 18:46, 30 May 2012 (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? [[User:CRGreathouse|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]]). –[[User:Dkf|Donal Fellows]] 10:57, 3 November 2010 (UTC)


== Attack page? ==
== Attack page? ==
Line 253: Line 438:
*[[Rosetta Code talk:Finances#Write-off.3F]]
*[[Rosetta Code talk:Finances#Write-off.3F]]
-- [[User:Eriksiers|Erik Siers]] 12:46, 4 October 2011 (UTC)
-- [[User:Eriksiers|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...--[[User:Short Circuit|Michael Mol]] 23:25, 14 December 2011 (UTC)


== Spam users ==
== Spam users ==
Line 267: Line 453:
::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. -- [[User:Eriksiers|Erik Siers]] 07:15, 7 October 2011 (UTC)
::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. -- [[User:Eriksiers|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. --[[User:Short Circuit|Michael Mol]] 12:52, 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. --[[User:Short Circuit|Michael Mol]] 12:52, 7 October 2011 (UTC)
:::: It might be worth considering doing more automated banning. I've been watching the war you've been fighting over the past month or so (and flagging problem pages as I see them) and I'm wondering if it's sustainable in its current form. Is it possible to change the rules to make things harder for the scum? The logs I can see don't let me find out whether there's some common feature of the hosts submitting spam, but I bet it'll prove to be a relatively small group that's targeting RC… –[[User:Dkf|Donal Fellows]] 17:45, 4 February 2012 (UTC)
::::: Thanks for the flaggings. I've been thinking of taking a page from [https://panopticlick.eff.org/ Panopticlick] and [mod_security http://modsecurity.org/] and use request fingerprinting to block automated attackers. The risk of false positives is very low compared to IP-banning, and automated attack scripts are highly likely--at least for the short term--to not change their fingerprints much between attacks. --[[User:Short Circuit|Michael Mol]] 17:53, 4 February 2012 (UTC)

Heads up: [[User:Healthytact23164]], [[User:Gmalestripperx]] look very suspicious, but haven't spammed yet. –[[User:Dkf|Donal Fellows]]
: When I see new users in the recent changes feed, I add them to my watchlist. That way, I get an email when their page is created, so I can catch spam users in under five minutes, if I'm awake. --[[User:Short Circuit|Michael Mol]] 17:00, 10 February 2012 (UTC)


== Uploading problem ==
== Uploading problem ==
Line 278: Line 469:
[[User:CRGreathouse|CRGreathouse]] 07:15, 23 November 2011 (UTC)
[[User:CRGreathouse|CRGreathouse]] 07:15, 23 November 2011 (UTC)


: This is a known problem. See [[#Image Upload problem?|Image Upload problem?]] and [[#Problems with uploading new versions of existing images|Problems with uploading new versions of existing images]] on this page. -- [[User:Eriksiers|Erik Siers]] 07:31, 23 November 2011 (UTC)
: This is a known problem. See [[#Image Upload problem?|Image Upload problem?]] <s>and [[#Problems with uploading new versions of existing images|Problems with uploading new versions of existing images]]</s> on this page. -- [[User:Eriksiers|Erik Siers]] 07:31, 23 November 2011 (UTC)

:: Ah. No solution known, then? I didn't see one at either of those links. [[User:CRGreathouse|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. -- [[User:Eriksiers|Erik Siers]] 08:27, 23 November 2011 (UTC)
::: There's some related discussion on my talk page, see if it's of any help. --[[User:Ledrug|Ledrug]] 08:51, 23 November 2011 (UTC)
:::There is a workaround linked to in the above discussion: [http://irclog.perlgeek.de/rosettacode/2011-07-06#i_4069398]. --[[User:Mwn3d|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. --[[User:Short Circuit|Michael Mol]] 14:03, 23 November 2011 (UTC)
:: I managed to make it work by disabling JavaScript on my browser. [[User:CRGreathouse|CRGreathouse]] 03:12, 28 November 2011 (UTC)
: The MediaWiki software has been updated, serverside. Is this still going on? --[[User:Short Circuit|Michael Mol]] 23:24, 14 December 2011 (UTC)
:: Hi, I have been trying to upload an image to Rosetta Code but it is not working. Is it possible to embed images from an online source instead? -- JusC 12:56 27 July 2020 (UTC)
::: I have added a couple of example offsite images to JusC's [[User talk:JusC|talk]] page. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 01:20, 28 July 2020 (UTC)

==<nowiki><math></nowiki> not working?==
Equations in the tasks are not being rendered for some reason. Could you check this? Thanks. --[[User:Paddy3118|Paddy3118]] 07:00, 14 December 2011 (UTC)
: Also broken on all other pages; for example, “<tt><nowiki><math>1</math></nowiki></tt>” here renders as <math>1</math> (which used to render as “<span style="font-family: times,serif">1</span>” 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 <nowiki><math></nowiki> tag. –[[User:Dkf|Donal Fellows]] 09:18, 14 December 2011 (UTC)
: Should be fixed. --[[User:Short Circuit|Michael Mol]] 23:23, 14 December 2011 (UTC)
::Thanks Michael! --[[User:Paddy3118|Paddy3118]] 04:18, 15 December 2011 (UTC)
== Related Pages -- group them? ==
[[Greyscale_bars/Display]], [[Colour_pinstripe/Display]], [[Pinstripe/Display]], and to a lesser extent [[Colour_bars/Display]], plus their printer related tasks are all very similar. In fact, many of them center around 4 horizontal bars composed of a pattern of vertical bars, and the code is very similar between each task as a result. (Compare the AHK solutions for Colour pinstripe and Pinstripe; they differ by only a tiny bit: the few lines which distinguish between repeating colored vs repeating greyscale bars.) IMHO, they should all should be grouped together somehow, or even merged. &mdash; [[User:Crazyfirex|Crazyfirex]] 21:43, 15 December 2011 (UTC)
: Have at it! See [[Template:Collection]]...Though that kind of thing really should be accomplished using semantic tags and inline-queries, now. Take a look at [[Template:Mp community]]. --[[User:Short Circuit|Michael Mol]] 23:30, 15 December 2011 (UTC)
:: Hmm... how about "Graphical bars", "Graphics bars", or "Graphics patterns"? &mdash; [[User:Crazyfirex|Crazyfirex]] 22:07, 16 December 2011 (UTC)
::: More likely, something like <nowiki>[[task aspect::line drawing]]</nowiki>. At some point, we can have a box which lists the known aspects of a task, and then drill down to other tasks with the same aspect[s]. --[[User:Short Circuit|Michael Mol]] 01:35, 17 December 2011 (UTC)
:::: Most tasks actually involve filled '''rectangles''' (looking at the sources there is usually a "FillRect" and very few "DrawLine" &mdash; one uses a brush, the other a pen), so how about "rectangle drawing"?
::::: To my mind, it's the same thing if I use a one stroke of a pen with a square brush to fill in the same set of pixels as I could with filling a rectangle. I don't have a strong feelings to care which way it goes. As the thing becomes done more properly, ambiguous scenarios like this will be wrapped up in a tree of properties and subproperties.
::::: It does bring to mind an interesting way to draw a distinction, however: The same task, except in a rotated frame of, say, 30 degrees counterclockwise. --[[User:Short Circuit|Michael Mol]] 02:07, 17 December 2011 (UTC)

== Demo of IPv6 access from anon user. ==

SC here. Just demonstrating what an anonymous IPv6 user looks like. --[[Special:Contributions/2001:470:C5B9:DEAD:E269:95FF:FEC5:295F|2001:470:C5B9:DEAD:E269:95FF:FEC5:295F]] 15:24, 22 January 2012 (UTC)

Another edit, from the same user, on the same /48, but a different /64. ('beef' instead of 'dead'. This is my wifi network, as opposed to my wired network.) The final 64 bits are different, because I'm using my wireless NIC instead of my wired NIC, and the two NICs have different MAC addresses. Also, if I were dedicated to it, I could automate coming at the wiki from 2^16 different /64s. The use of IPv6 privacy extensions would allow me to randomize the MAC-derived portion, too. If it were truly necessary to block my network, you would have to do it at a /48. That should be a last resort, though. Generally, you'd block the /128 (the full, specific IP) first, followed by the /64, followed by the /56, and then the /48. The larger the subnet, the more collateral damage, so larger blocks should be last. --[[Special:Contributions/2001:470:C5B9:BEEF:4EED:DEFF:FE93:63A0|2001:470:C5B9:BEEF:4EED:DEFF:FE93:63A0]] 15:37, 22 January 2012 (UTC)

== IP address to nickname change request. ==

Hi. Recently I discovered that I created the page [http://rosettacode.org/wiki/Talk:Canny_edge_detector Canny_edge_detector] not being logged in. Is there a way to change my IP address 87.224.129.185 to my nickname `firstfire' in the history? Thanks. --[[User:Firstfire|Firstfire]] 04:28, 7 March 2012 (UTC)
: Not something I can do, sorry. --[[User:Short Circuit|Michael Mol]] 06:29, 7 March 2012 (UTC)
:: Well, not a big deal. Thanks anyway. --[[User:Firstfire|Firstfire]] 19:06, 7 March 2012 (UTC)

== "Edit privileges will now require email addresses" ==

Does this mean that anonymous edits are no longer allowed? -- [[User:Eriksiers|Erik Siers]] 00:49, 15 March 2012 (UTC)
:Never mind; checked for myself. But is this likely to be a permanent policy change? -- [[User:Eriksiers|Erik Siers]] 01:21, 15 March 2012 (UTC)
::I'd like it to be. I don't expect spammers to adapt quickly, and it's already allowed me to relax restrictions on image uploads (the same restrictions that coincided with the problems with AJAX uploads). I'll probably drop CAPTCHAs for registered users next.--[[User:Short Circuit|Michael Mol]] 02:58, 15 March 2012 (UTC)

I noticed what you wrote on [[User talk:XazuxiRasiha]]. In light of the new policy (especially the nice big notification banner) I would think that it's safe to assume that anyone who gives a false email address when signing up is probably trying to spam. -- [[User:Eriksiers|Erik Siers]] 13:10, 17 March 2012 (UTC)
: About one in three bounces I get are typos or other email errors, actually. Only two out of three are spam accounts, and it's worth the trouble (for now) for me to handle it manually. --[[User:Short Circuit|Michael Mol]] 14:24, 17 March 2012 (UTC)

===The spam continues===

Well... I've been (mostly) away for a while now, and I'm seeing several users that have been approved, only to (apparently) immediately spam. So... what's the next step? ''Is'' there a "next step"? (In other words, given any thought to the matter?) The problem is obviously not automated spamming, but the people behind the spamming.

The only thought I had would be to "casually" ask them what their preferred language is, and then ask them to solve some trivial problem (in a manner different from what's already posted here, if applicable) ''before'' approving them to edit. (Re: asking about their preferred language... Most people that I've talked with, when they have a favorite language, are more than willing to discuss what they like about the language and why. Spammers generally aren't programmers, and I think you'd likely get a blunt answer: "Java" instead of "Java! I love how easy it is to do OOP and etc. etc. etc.") -- [[User:Eriksiers|Erik Siers]] 20:05, 10 July 2012 (UTC)
: We have spam, but it's nowhere near as bad as it was. For every created account that posts crap, three or four spam-like usernames are created which don't post anything. I'm pretty comfortable with the email policy right now. Also, things are ''finally'' settling down at home, which means I can start looking at the 'next step'. I expect that, were I to check, most of the verified spam accounts will have mailinator-backed email addresses. I should then be able to work with the Mailinator admins to get spambots banned from Mailinator services. This may require a change in our privacy policy to allow me to share email address, time and IP details with the Mailinator folks, and get the Internet cleaned up for a lot more than just RC. --[[User:Short Circuit|Michael Mol]] 20:18, 10 July 2012 (UTC)
::Hmm... I think it would probably require a policy change at Mailinator. A ''major'' change. Mailinator is pretty easy to abuse. -- [[User:Eriksiers|Erik Siers]] 20:24, 10 July 2012 (UTC)
::: Mailinator has a bad reputation, but I'm told their people at the top have good intentions. So I'd be happy to work with them if they're interested. I haven't had the time+opportunity for the outreach, but that's coming. Meanwhile, our current spam input is manageable, and I'll be joining the rotation of people blocking spammers and deleting spam. --[[User:Short Circuit|Michael Mol]] 20:28, 10 July 2012 (UTC)
: Is this change actually in place? Or is it still possible to create pages without verifying the code sent to one's email address at registration time? (I created an account with an email address that would not work, but didn't try to create any pages - but the registration message indicated that the only thing I would need the emailed code for was signing up for email notifications.) --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 04:53, 20 June 2015 (UTC)

== Popular pages? ==
Hi, Whatever happened to <nowiki>http://rosettacode.org/mw/index.php?title=Special:PopularPages</nowiki> ? --[[User:Paddy3118|Paddy3118]] 22:01, 10 May 2012 (UTC)
:I think with the mega-caching that goes on here the pageview counters were pretty much meaningless (you'll notice them missing from the bottoms of pages). It might also save some resources on the server to disable pageview counts. --[[User:Mwn3d|Mwn3d]] 01:32, 11 May 2012 (UTC)
::Yes and no. The mega-caching was getting partially punched-through to update the counters, but only essentially randomly. That wouldn't defeat ''relative'' measurements, as far as stat-keeping goes. However, as those got updated, they tended to purge cache, which hindered performance. They also pushed more work for reads and writes into the MySQL database, which, again, hinders performance. The last update to MediaWiki added more workload to the PHP code, and I found need to go on an optimization binge to improve pageload speed. As the site stands now, it could probably take a slashdotting in stride. --[[User:Short Circuit|Michael Mol]] 01:43, 11 May 2012 (UTC)
::And sorry for not responding sooner; I've been away on my honeymoon for the past few days. --[[User:Short Circuit|Michael Mol]] 01:43, 11 May 2012 (UTC)

::No problem about the page - I appreciate that its gone for a reason. --[[User:Paddy3118|Paddy3118]] 03:41, 11 May 2012 (UTC)


== Congratulations ==

:''... And sorry for not responding sooner; I've been away on my honeymoon for the past few days. --[[User:Short Circuit|Michael Mol]] 01:43, 11 May 2012 (UTC)''

First things first Michael: [http://www.youtube.com/watch?v=us3dQ0nnlHY CONGRATULATIONS!!!] --[[User:Paddy3118|Paddy3118]] 03:41, 11 May 2012 (UTC)

:(I second that! -- [[User:Eriksiers|Erik Siers]] 17:44, 11 May 2012 (UTC))
==SPDY==
Things I'm not sure of:
*How much this would help us
*How much this would help users
*How much work you can/are willing to put into it
*If this is even an applicable setup for us
*If it's already done for us
I was looking at the FF release notes and saw that SPDY is enabled by default in newer versions. I looked around a (very) little bit and came across [http://googledevelopers.blogspot.com/2012/04/add-spdy-support-to-your-apache-server.html this]. Hopefully we have everything necessary to support it. It could reduce our bandwidth a little bit and (more importantly) speed things up for our users. --[[User:Mwn3d|Mwn3d]] 17:39, 5 June 2012 (UTC)
: Not going to happen soon. Apache doesn't face the public Internet, Squid does. I'd need squid to support SPDY. I'm also disinclined to use SPDY until it's been around a bit longer; right now, I'd consider implementations of the protocol to be immature, and thus a security risk. Otherwise, I rather like it. --[[User:Short Circuit|Michael Mol]] 18:05, 5 June 2012 (UTC)

==Socio-PLT: Programming Language Perceptions==
I just found the site and spent 40 minutes playing with the [http://www.eecs.berkeley.edu/~lmeyerov/projects/socioplt/viz/rank.html# summary table]. It seems to be a good way of showing programmers ideas on different languages in a comparative manner.

Is there a place for a link to this site on RC? I had thought of something akin to [[Help:Similar_Sites|Similar Sites]], but this site shows the opinions of programmers on languages rather than code examples. --[[User:Paddy3118|Paddy3118]] 08:09, 9 June 2012 (UTC)
: Might make sense to rename [[Help:Similar Sites]] to [[Help:Additional Resources]]. That link seems worthwhile. --[[User:Short Circuit|Michael Mol]] 12:17, 10 June 2012 (UTC)
===Proof issues===

I have had a simple statement: that a computer implementation of an infinite type can represent only a finite number of distinct values (and, therefore, must fail to satisfy a set of axioms which require an infinite set of distinct values) removed, twice -- and without justification -- from the Proof task. Therefore, I am removing myself from the discussion, and will not be posting on this site until after either (a) the removal is explained to my satisfaction, or (b) the issue is explicitly described in some other fashion (where differences between implementations can be judged on their merits rather than because of some system which cannot be included in the task description). --[[User:Rdm|Rdm]] 13:23, 14 May 2012 (UTC)

Here's a (somewhat longwinded) attempt at stating my point of view on this issue: http://r-nd-m.blogspot.com/2012/05/glib-types.html --[[User:Rdm|Rdm]] 19:52, 16 May 2012 (UTC)
: I'll get at reading that as soon as I can. I did go back and read the talk page for [[Proof]], and it sounded to me like part of the problem was people talking past each other. I could see ways to mitigate and try to correct the issue, but as I'm still getting back on my feet after a honeymoon/vacation where I was largely incommunicado, and as I have a backlog of major RC-related issues at home and on the server to deal with, I haven't had the time to wade in. --[[User:Short Circuit|Michael Mol]] 20:25, 16 May 2012 (UTC)

:: Ok, it's not all that big of a deal, but I do not want to be making the problem worse than it is. Honeymoon definitely takes priority over something like this. --[[User:Rdm|Rdm]] 20:54, 16 May 2012 (UTC)

==No code colourization at present? ==
Hi Michael. Just reporting that there seems to be no code colourization at the moment from lang tags and <nowiki>{{task}}</nowiki> isn't being processed properly. --[[User:Paddy3118|Paddy3118]] 05:07, 2 September 2012 (UTC)
: Ow. I'll get right on it. --[[User:Short Circuit|Michael Mol]] 10:02, 2 September 2012 (UTC)
: I've just checked three random pages, and the syntax highlighting appears to be working there. Can you provide the steps to reproduce? --[[User:Short Circuit|Michael Mol]] 10:10, 2 September 2012 (UTC)

Sorry. It seems the problem is with my Firefox browser. Switching to Chromium the pages look fine. I'll restart Firefox, my login, the box - in order until it starts working again :-) --[[User:Paddy3118|Paddy3118]] 10:25, 2 September 2012 (UTC)

==Something's up with the search/indexing... ==
I'm glad to have finally found this page -- http://rosettacode.org/wiki/Permutations_by_swapping
If you try searching for permutation, permutations, etc, you get short-circuited directly into the "Permutations" topic, which incidentally should probably be broken down further into the individual algorithms for doing so. I can only assume that this Short_Circuit guy has gone overboard with the short circuiting on the search feature in a zealous attempt to short circuit the world. ;) Only by searching for "permutations by" or "permutations by swapping" do you actually get the chance to see that this swapping page even exists on the wiki. Further, searching for terms on that page like "Steinhaus" yield only a result on the Permutations topic even though that term is all over the "Permutations by swapping" one, while other terms like "Trotter" do yield the swapping page as a result. It's kind of like the wiki prefers the Permutations topic over the Permutations by swapping topic for some reason. I only even found it thanks to google's indexing in the first place. --[[User:CStubing|CStubing]] 03:21, 29 October 2012 (UTC)
P.S. I have a C++ implementation of the Steinhaus algo to put up there, but I just want to refactor a little first.

:When you type <code>permutations</code> in the field, then hitting Search does what you expect. Hitting Go does as you described. Try hitting the Search button. --[[User:Paddy3118|Paddy3118]] 07:18, 29 October 2012 (UTC)
:Thanks, I didn't even notice there were 2 buttons, because I'm actually just hitting enter in the field after typing. I'd suggest making that default action on no button click perform a search rather than a go, as I think that behavior is more aligned with user expectations. --[[User:CStubing|CStubing]] 16:26, 29 October 2012 (UTC)

==Creating a new user account==
Hi, I logged out then logged in again to look at the page for creating a new user and it seemed to be missing a clear message about not spamming the site. Do we need one? --[[User:Paddy3118|Paddy3118]] 11:02, 12 November 2012 (UTC)

It's not as if I think it would deter the seasoned spammer, I just thought that we needed to make it indefensible. --[[User:Paddy3118|Paddy3118]] 11:05, 12 November 2012 (UTC)
: I'm not sure a defense is even necessary; RC doesn't have a legal system, and the people who enforce what pass for rules are reasonably seasoned at distinguishing between meaningful links (i.e. things which are related to RC's interest domain) and useless links. If someone appeals, that puts them past the tens of thousands of automated spammer attempts we've had...and that's when I tend to step in. --[[User:Short Circuit|Michael Mol]] 14:18, 12 November 2012 (UTC)

== Captcha, yay ==

I just got a captcha when creating [[RLE]] (a redirect). I can't recall getting one before, and I've created my shared of pages. Is this some sort of random thing, or is my memory just fuzzy, or...? (Not going to create more pages to test.) -- [[User:Eriksiers|Erik Siers]] 17:12, 28 December 2012 (UTC)
: Used to be CAPTCHAs would only be triggered on account creation. Now they're triggered on page creation, file uploads and edits that introduce external links. I will very likely eventually create a group for whitelisted users. Not today, though. --[[User:Short Circuit|Michael Mol]] 17:15, 28 December 2012 (UTC)
:: Has this happened yet? [[User:Shyam Has Your Anomaly Mitigated|Shyam Has Your Anomaly Mitigated]] ([[User talk:Shyam Has Your Anomaly Mitigated|talk]]) 13:43, 22 December 2016 (UTC)

== Wikipedia has an automatic book creator ==
Just found [http://en.wikipedia.org/wiki/Help:Books this]. I created a book and found that they also create pages with all the authors names at the end. --[[User:Paddy3118|Paddy3118]] 13:32, 27 March 2013 (UTC)
: Slick. I think I've seen it before, but I don't think it was as mature. --[[User:Short Circuit|Michael Mol]] ([[User talk:Short Circuit|talk]]) 21:53, 31 March 2013 (UTC)

== Problems with reports? ==

I was just trying to look at [[Reports:Tasks not implemented in Tcl]], and I got a blank page. Same also for the equivalent page with Perl and Java. It looks like the MW upgrade broke the report system somehow. –[[User:Dkf|Donal Fellows]] ([[User talk:Dkf|talk]]) 10:52, 1 April 2013 (UTC)
: [[Rosetta Code:Village Pump/MediaWiki 1.20 Upgrade Issues]] --[[User:Short Circuit|Michael Mol]] ([[User talk:Short Circuit|talk]]) 13:52, 1 April 2013 (UTC)

== Possible vandalism ==

The User [[User:Cbasicuser|Cbasicuser]] has replaced the whole article [[Include a file]]
with a page that just explains an example of [[IWBASIC]]. I thought this deletion was unitentional.
Therefore I undid his changes. Now [[User:Cbasicuser|Cbasicuser]] has replaced the whole article [[Include a file]] again.
I have not the time and the power (administrator rights) to deal with such situations.
The changes of [[User:Cbasicuser|Cbasicuser]] look strange.
His additions contain lots of empty lines and comments.
I am not sure that [[User:Cbasicuser|Cbasicuser]] acts constructive.
Please take a look at it. --[[User:Georg Peter|Georg Peter]] ([[User talk:Georg Peter|talk]]) 09:33, 14 April 2013 (UTC)

:I have politely [[User_talk:Cbasicuser|invited them]] to explain here. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 16:25, 14 April 2013 (UTC)

I received a reply from Cbasicuser and will move it here:
--[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 05:14, 18 April 2013 (UTC)

:;Explanation re<nowiki>:</nowiki> include files

:1. I was still learning to use the wiki. So, it me a bit of time to get it to do what I want. Also, I was not feeling well, which is why I was staying in and posting here in my off time, and it had an effect on my level of attention.

:2. When I looked at the user guide for the language again, I realized there were a number of ways in it seems to me there are a number of ways to do what could be considered adding source code to a file. And I wanted to give what I considered to be a good picture of the language in that example.

:3. As I fairly recovered and need to catch up, I, in fact, really don't plan on posting anything more. I did come to see if there was anything I needed to clean up before and to double check a couple of pieces of code I posted actually worked, as I'd made corrections on the site but not in my files.

:4. Happy?

We were all newbies once :-) Thanks for the heads-up. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 05:14, 18 April 2013 (UTC)


== On the Research Project ==

Looks great! - I read the PDF full paper and left some comments on their blog [http://bugcounting.net/blog/?p=130#comment-157 here]; (although my comments are awaiting moderation.<br>
I did question there use of RC for performance comparisons as I pointed out that Python was external frameworks that embed and extend libraries in other languages such as numpy, scipy, Biopython, PyPy Ipython, etc that are an alternative to switching from Python and are used by those wanting speed, but are very rarely used in RC examples. (Are they idiomatic)? --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 17:51, 23 September 2014 (UTC)
: I'm glad you left comments on their blog. Bearophile dropped into IRC to point out similar flaws, and I directed him there... --[[User:Short Circuit|Michael Mol]] ([[User talk:Short Circuit|talk]]) 19:54, 23 September 2014 (UTC)


===Spam Deletion===

I guess I need to ask for spam deletion powers. I hate dealing with spam, and I don't really want to get into this, but it seems like sometimes I'm the only person around when there's fresh spam, and I sometimes get annoyed enough that I want to do something about it. But probably also I'll need to be pointed at some docs on policy and/or procedures. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 11:02, 2 April 2015 (UTC)

: So... if this saves, presumably I have admin privileges. However, there's another spam page up, and I do not see an "admin link on the left" even when I try to edit it. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 14:08, 10 April 2015 (UTC)
:: See "Admin links" at the top, sorry. But what you're looking for for spam deletion is in the dropdown arrow next to the search bar at the top. Warning: Do *not* do IP bans. The IPs that show up are actually the CDN proxies; I don't have things set up properly to recognize the header that Cloudflare uses to identify the origin IP. Also, if you check the "Recent Changes" page, you'll see deletion and rollback links there. Be careful. --[[User:Short Circuit|Michael Mol]] ([[User talk:Short Circuit|talk]]) 14:23, 10 April 2015 (UTC)

::: Ah, thanks. I see the delete mechanism now.
::: And that cloudfront thing is a tough one, since you don't want to enable that http header for people talking to you from IPs they control.
::: But wait.. how can content delivery networks validly act as valid content-providing clients? Perhaps the right thing to do here would be to IP ban all of CloudFront's proxy servers? (At least while they are being advertised as serving in that role?)?? --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 14:37, 10 April 2015 (UTC)
:::: We're deliberately using CloudFront as our CDN. rosettacode.org actually points at their servers, and their servers pass requests back to us if they're not already cached. CloudFront does pack a header to identify the client's original source IP, but I've never gotten MW configured to recognize that header as containing the source IP. It's on my TODO list, but said list is very, very, very long, and even older... --[[User:Short Circuit|Michael Mol]] ([[User talk:Short Circuit|talk]]) 14:40, 10 April 2015 (UTC)
::::: Oh, and I have direct access to RC's origin servers firewalled off from anywhere except CloudFlare. Nobody is supposed to be able to access RC's server (except via SSH) except through them. --[[User:Short Circuit|Michael Mol]] ([[User talk:Short Circuit|talk]]) 14:50, 10 April 2015 (UTC)
::::: Oh, duh. And I should know that - I've seen the cloudfront fallback pages often enough. But CloudFront uses X-Forwarded-For for this purpose and when I read up on moinmoin wiki, docs they imply that it's supported. So I am going to guess this is a versioning thing and the pain is the inevitable pains and losses which come with any software upgrade. Well... I guess, good luck with your TODO list. (And my advice there - if I had to give advice - would be: go after some low hanging fruit, let some other things boil for a while, and good luck...) --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 14:53, 10 April 2015 (UTC)

Care to join in [[User_talk:Paddy3118#Autoblock?|this]] topic Mike? --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 11:07, 6 July 2015 (UTC)

=== Spammers ===

We have been having intermittent problems with spammers. And while a number of accounts have been used, they all seem to have a common focus.

So it might be a good idea if we could gather more information about these attacks.

One thing, in particular, that I would like to see, is the domain name that they used when verifying their registration. (The part of the email address after the @ sign, ideally with a few preceding characters also.) Just seeing that might tell us something useful about what they are doing (and would also help verify that email verification for registration is actively being used).

Is this something that we can do, now? Or, do we need to ask the mediawiki community for an implementation? --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 21:51, 12 April 2016 (UTC)

: It's not something that (AFAIK) is readily availble in MediaWiki. And there are serious privacy questions to consider, too. I wish I had a good answer, but I don't. --[[User:Short Circuit|Michael Mol]] ([[User talk:Short Circuit|talk]]) 17:04, 8 August 2016 (UTC)

== Rendering speed ==

We have been accumulating a number of [[Special:LongPages]]. And, that tends to make pages load slowly. And, I think you have already implemented the suggestions in the [[mw:Manual:Performance_tuning|mediaikia manual page on performance tuning]] Anyways, I am wondering if there's some other ways to address this while retaining the usefulness of the site? (And, especially, I am wondering if there is some existing effort(s) underway that might help with this.)

(I suppose [http://blog.wikimedia.org/2014/12/29/how-we-made-editing-wikipedia-twice-as-fast/ wikipedia's approach] might work, but I don't know what all efforts that migration involves...) --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 04:38, 10 May 2016 (UTC)
: It's getting to be a real problem. The recent issues with session lost were driven by storing page rendering cache data in the same place as the session cache. Session cache is now in the DB, but, yeah, definitely need to start moving on this. I really would love to be able to migrate to a semantic-assembly model like we attempted a few years ago, we ran into bugs / limitations in Semantic MediaWiki when we tried it. Longer term, I'm seriously thinking MediaWiki is aging out as the servicable tool for the job. It imposes constraints that are quite inconvenient (seriously, we should be able to say "show me all the examples written in C" or "show me all examples of this task written in a functional language"), and then there are page rendering issues like these. --[[User:Short Circuit|Michael Mol]] ([[User talk:Short Circuit|talk]]) 17:02, 8 August 2016 (UTC)

:: Any implementation is going to have issues. Conceptually, we should be able to modify the mediawiki code (first as a specific hack for our needs, then redoing it in plugin format and engaging whatever is left of the mediawiki team - or maybe just forking the code). I think it's mostly php, which is ... ad hoc, and more than a little unpredictable... But unless we are willing to write a replacement ourselves, I don't think we're going to find anything which is particularly suited to our needs. That said, I'd love to be proven wrong on this. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 17:09, 8 August 2016 (UTC)

== Upload problem: Could not store file, Could not delete lock file ==

This seems different than the previously mentioned upload problem, so I'm creating a new section for it.

I tried uploading the file SpiralHaskell.png for use on [[Archimedean spiral]], and I got the following "warnings":

'''Upload warning'''
* Could not store file "/tmp/phpcxaVsU" at "mwstore://local-backend/local-public/6/64/SpiralHaskell.png".
* Could not delete lock file for "mwstore://local-backend/local-public/archive/6/64".
* Could not delete lock file for "mwstore://local-backend/local-public/6/64".
* Could not delete lock file for "mwstore://local-backend/local-public/archive/6/64/20160916083829!SpiralHaskell.png".


(although it says "warning", it seems like an error, because the file was not successfully uploaded)

--[[User:Ppelleti|Ppelleti]] ([[User talk:Ppelleti|talk]]) 09:03, 16 September 2016 (UTC)

Never mind, I guess this is the same thing as [[#Is file uploading blocked forever?]]. The error just seemed so technical, it didn't seem like it was intentional.

--[[User:Ppelleti|Ppelleti]] ([[User talk:Ppelleti|talk]]) 09:13, 16 September 2016 (UTC)

== Current version of GeSHi ==

I was wondering whether RC is going to be updated to support the latest stable version of GeSHi which, according to their site, is 1.0.9.0 (targetting PHP 7) or 1.0.8.13 (targetting PHP 4 or 5)?

It appears that version 1.0.8.10 is the version currently in use though, curiously, it's not listed on the [[Special:Version|Version]] page.

The reason I (and probably several others) are particularly interested in this is because support for many more languages has been added recently to GeSHi including Kotlin, Julia, Swift, Mathematica and Phix all of which have numerous examples on RC.

--[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 18:01, 1 October 2017 (UTC)

== Once present, now a missing file? ==
Hi Michael, Someone editing [[Text processing/Max licenses in use]] mentioned that the data file: http://rosettacode.org/resources/mlijobs.txt was missing. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 07:07, 7 October 2017 (UTC)
::Hi Paddy, Yes, it was me who noticed that file was missing. The file, readings.txt, which is used for [[Text processing/1]] and [[Text processing/2]] is also missing though I haven't got around to adding an entry for them just yet. --[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 09:30, 7 October 2017 (UTC)

== Deleted Page ==

Please email me this [[User:Shyam Has Your Anomaly Mitigated/cons|deleted page]]; I asked [[User_talk:Thundergnat#deletion|Thundergnat]], but they're being [[User_talk:Shyam_Has_Your_Anomaly_Mitigated#Rosettacode_is_NOT_a_blogging_site|very rude]]. -- [[User:Shyam Has Your Anomaly Mitigated|Shyam Has Your Anomaly Mitigated]] ([[User talk:Shyam Has Your Anomaly Mitigated|talk]]) 15:54, 14 July 2019 (UTC)


== Wikipedia webpage for Rosetta Code ==

Mike:

I thought you should know that on the Wikipedia webpage for '''Rosetta Code''', &nbsp; someone (userid '''4thaugust1932''') has provided a link &nbsp; (for your name, as the founder of Rosetta Code) &nbsp; to someone else:

Michael Benjamin Mol (born 16 August 1971) in Cape Town, South Africa is a medical doctor,
an executive television producer,
presenter, international speaker and business consultant.

I thought you might may want to go there (on Wikipedia) and have it straighten out, or at the least, revert the change. &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 15:59, 25 September 2019 (UTC)

:I took the liberty of removing the link. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 19:29, 25 September 2019 (UTC)

:: Thanks. &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 20:27, 25 September 2019 (UTC)

==User sowing discord==
Hi Mike, just thought you might want to, at least, monitor this [http://rosettacode.org/wiki/User_talk:Thundergnat#Task_deletions discussion about a user]. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 11:03, 9 December 2020 (UTC)

== ISBN template ==

I'm surprised the {{ISBN|0-262-51087-1}} isn't available. It seems to be part of [https://en.wikipedia.org/wiki/Template:ISBN Wikipedia].
<br />--[[User:GarveyPatrickD|GarveyPatrickD]] ([[User talk:GarveyPatrickD|talk]]) 00:51, 10 December 2020 (UTC)

== Rosetta_Code:Village_Pump/Features_Wanted returning "RuntimeException" ==

Selecting "Rosetta Code:Village Pump/Features Wanted" from https://rosettacode.org/mw/index.php?title=Special:AllPages&from=&to=&namespace=4 returns "RuntimeException". --[[User:GarveyPatrickD|GarveyPatrickD]] ([[User talk:GarveyPatrickD|talk]]) 19:30, 24 December 2020 (UTC)

== User: page redirected to wiki page ==

Perhaps this redirect page should be the target [[User:Paulo_Jorente]] and this wiki page should be eliminated [[Paulo_Jorente]]?<br />--[[User:GarveyPatrickD|GarveyPatrickD]] ([[User talk:GarveyPatrickD|talk]]) 22:54, 2 January 2021 (UTC)

== Category redirected to Language page ==

Should these redirects be removed?
*https://rosettacode.org/mw/index.php?title=Category:ALGOL_68C&redirect=no
*https://rosettacode.org/mw/index.php?title=Category:ALGOL_68G&redirect=no
*https://rosettacode.org/mw/index.php?title=Category:ALGOL_68RS&redirect=no

== COBOL Categories ==

Both '''Category:COBOL/Omit''' and '''Category:Cobol/Omit''' exist. Perhaps '''Category:Cobol/Omit''' should be removed?
<br />--[[User:GarveyPatrickD|GarveyPatrickD]] ([[User talk:GarveyPatrickD|talk]]) 20:55, 26 January 2021 (UTC)

== Language related categories ==

Both [[:Category:AutoHotkey_related]] and [[:Category:AutoHotkey_Implementations]] exist. They seem to have the same contents. May I ask what the purpose of [[:Category:AutoHotkey_related]] is?
<br />--[[User:GarveyPatrickD|GarveyPatrickD]] ([[User talk:GarveyPatrickD|talk]]) 21:43, 16 February 2021 (UTC)
: The same question applies to [[:Category:BASIC related]] and [[:Category:BASIC Implementations]].<br />--[[User:GarveyPatrickD|GarveyPatrickD]] ([[User talk:GarveyPatrickD|talk]]) 21:48, 16 February 2021 (UTC)

== Frontpage widget? ==

Shouldn't Template:Mp introduction be in the Category:Frontpage widgets ?
<br />--[[User:GarveyPatrickD|GarveyPatrickD]] ([[User talk:GarveyPatrickD|talk]]) 01:09, 2 March 2021 (UTC)

== Suggestion for layout and task design - why didn't my topic appear on the table? ==

I have a suggestion for the way tasks are presented. I created a topic but it doesn't appear in the Village Pump table. Does it require any extra step?

[[Rosetta_Code:Village_Pump/useless_tasks_for_pure_synthax_comparison]]

== Another spammer ==
See [[Everything_you_should_know_about_veins]]

== Help! ==
1. Cannot login to RC using Google Chrome, even though cookies have been enabled for both http:// and https://

2. When logged in using Firefox, I cannot save a trivial edit of http://rosettacode.org/mw/index.php?title=Partition_function_P&action=edit&section=13 because
(a) RC thinks an external hyperlink has been added (none was added); and (b) the reCaptcha mechanism does not work.

3. The invitation to join Slack leads to a page that says: "This link is no longer active."
== Compiler Lexical Analysis ==
I think the set of programs used to test qualifying codes should also include the set of failures such as: end of line in a string, end of file in a string, end of file in a comment, a quoted character with two or more characters specified, a empty quoted character, a number containing a non digit, a number over the maximum possible, etcetera. Both the C and Java versions have code for testing over the maximum number and neither worked correctly for me. If the maximum integer is turned into a string and the input integer's string is longer or equal and the string is greater than the maximum, it is not valid.

== IP address in "email address confirmation" email ==
The confirmation email I received says "Someone, probably you, from IP address 172.68.66.13, has registered an account". This is not the IP address I was connecting from. This is a CloudFlare IP address.

== RC's MW is dangerously out of date & And updating also helps People with unreliable/no internet connection. ==

Hi. I am trying to make Rosetta Code into a ZIM archive so people who don't have reliable internet can use the site. I think it would be a good addition to the Kiwix projects archives as well, so once it works I will try and add it there.

Its actually meant to be easy to do especially for Media Wiki sites like Rosetta code, because of the tool mwoffliner. However the version of Media Wiki is too old, so its not compatible. Ive checked and its not the tool itself, i cant find a reliable way to get the data which is low enough on traffic and covers all the pages, its not very practical.

I would argue this causes other issues because version 1.26 which RC uses is 6 years out of date.

The mwoffliner tool only requires version 1.27 or greater which is still 5 years ago, so backwards compatibility is usually not an issue.

I think this effort will benefit students learning programming in places where internet is unreliable or not available.

Just need a version update for this to work, i am happy to do the rest.

Latest revision as of 18:27, 24 August 2022

Archived sections

Put new stuff below here

Slack

Slack is a proprietary web service with tons of nonfree JS, that also requires an account. IRC allows flexible authentication (such as: allow anyone to talk, allow only registered people to talk, or allow only registered people to enter the channel), and demands much fewer resources. Freenode is free to use and there already is a #rosettacode channel. Why not use Freenode IRC? Danuker (talk) 14:05, 16 July 2020 (UTC)

Several reasons. First, I have a pretty strong personal dislike of Freenode at this point. I have been unable to reclaim ownership of either my username or rosetta code's existing IRC channel on IRC after multiple attempts over fifteen years and nearly a third of my life on earth, and it's just not worth the hassle. I gave Freenode most of fifteen years to start acting like a professionally-managed service. They don't wish to. That's their business. Second, IRC is a terrible protocol. This is reflected in third, the larger technology community has settled on Slack; it Just Works Better. Fourth, there are decent alternatives like Mattermost, but I'm not going to pay to host a Mattermost server, and paying someone else to do so brings us back to the problem of creating an account on a third-party service. If you're concerned about privacy with Slack, you've presumably worked out how to solve that problem with email. Create an email account somewhere exclusively for your Slack account as it relates to Rosetta Code. That's 100% acceptable, and nobody will get on your case about it, least of all me. Some people are already doing that. If you don't want to use Slack's proprietary clients, download the Mattermost client; it can talk with Slack's servers, and should be FLOSS enough for your needs. Finally, in most of fifteen years of having an IRC channel, the channel never had more than ten people. Currently, it has 223 people, and is adding around five a day. --Michael Mol (talk) 15:49, 16 July 2020 (UTC)
I understand. Thank you for the explanation, and for pointing out Mattermost. Danuker (talk) 15:56, 16 July 2020 (UTC)
No problem! It was a valid question, and the history isn't well-documented. --Michael Mol (talk) 15:58, 16 July 2020 (UTC)
By the by-and-by, I tried to sign up to   RC's Slack   immediately after I saw your alert box,   but my attempt was unsuccessful,   it appears that my Windows/SP isn't up to snuff   (from what I could glean from the error messages).   I don't know how many other Rosetta Code users are still running Windows/XP   (there must be others, I should think),   but I thought you'd like to know about my attempt to sign up.   Apparently, my PC's hardware is also too outdated to install the newer Windows systems,   or even, for that matter, newer web browsers.   The only browser that now works for Windows/SP is FireFox 59.9.0,   not even the Windows Internet Explorer that came with Windows/XP runs correctly anymore.     -- Gerard Schildberger (talk) 18:31, 16 July 2020 (UTC)
It might be a good time to try Linux, which works quite well on older hardware. Another option would be to pick up a used machine at a computer recycling center; you can often find them for around $100US. I spend most of my time on a Chromebook now, and you can get those for $100-200US as well. A Raspberry Pi 4 running Raspbian can serve, too, for less than $50. As a word of warning, I do intend to eventually disable non-HTTPS connections, at which point XP may simply stop working after enough iterations on the TLS protocol. --Michael Mol (talk) 20:54, 16 July 2020 (UTC)
Linux   (or any flavor of *nix)   isn't an option for me as I use (must-have) software that only runs under Windows   (well, DOS, actually).   Yeah, yeah, I know, I know,   one foot still stuck in the past.   Even if I were to buy a used PC,   I'd still have to pay full price for a Windows upgrade, and I don't relish that upgrade pain.   There aren't many used PCs around here, and of what I've seen,   most (if not all) are pretty low on real storage for today's needs.   I can barely make FireFox run in   2 GB   (!!),   it makes my life responding to CAPTCHA's challenges pretty interesting,   if not pretty damn frustrating.   I would pay a small fortune to not suffer CAPTCHA's sense of humor,   or whatever sort of "entertainment" it offers.   And, after all that, that's assuming that I could even upgrade   (to a newer Windows software)   on that used PC.   As for HTTPS, I have HTTPS connectivity now,   but who knows if there will be additional protocols/challenges or whatever,   that would disable my use of HTTPS on my only web browser.   If so, well,   it was a good run   (a dozen years)   while it lasted.   I was hoping to get enough REXX entries/solutions to get over a   1,000,   but that reality might be fleeting.   I'll try to get another ten or so new REXX entries in within the next couple of weeks,   so don't hurry in your conversion   (tongue in cheek).     -- Gerard Schildberger (talk) 21:42, 16 July 2020 (UTC)
You should look into DOSBox. It's a DOS emulator for Linux. I used to use it to play everything from Dune 2 to SimCity 2000 to Commander Keene to Duke Nukem 3d. I believe it's fully compatible with MS-DOS 6.22 (I don't think there were any additions in MS-DOS 7 you'd care about). Worth a look, anyway. --Michael Mol (talk) 22:50, 16 July 2020 (UTC)
Thanks, I'll look into that.   I'm not very comfortable about jumping from Windows to Linux, that's a whole 'nother kettle of fish.   I still have a DOS "starter/backup"   3.5   inch floppy   (yes, that's right, a complete DOS system that I can use for recovery).   I only had to use it twice.   My old PC doesn't support booting off of a CD or DVD or a USB stick (drive),   so it's a hard drive or a 3.5 inch floppy.   Anyway, as I grow older,   I have less and less time for things that don't work,   ya only have so much time left for the good things.   Ya never can tell when covid-19 will come a-calling.   I already have too many strikes against me in that department.     -- Gerard Schildberger (talk) 23:26, 16 July 2020 (UTC)
Slack responds, "This link is no longer active" when the link in the banner is selected.
Perhaps the banner can be removed?
--GarveyPatrickD (talk) 02:25, 9 December 2020 (UTC)

Possible synergy

Hi, there is a new technology that is very related to Rosetta code. It is called "progsbase" (check it out on Google or here: https://repo.progsbase.com). One difference between Rosetta code and progsbase, is that progsbase encourages programming similarly in different programming languages. In other the same program in different languages are programmed essentially the same way. This enables one especially interesting automation: As the programs are programmed the same way in all supported languages, it can be automatically translated. So, the programs are written once and automatically made available in all supported languages.

What do you guys think? Is there a possible synergy or cooperation with rosetta code possible here?

Hi, from your descrition above, it seems that language idioms will be lost. How would an OO language and a functional language be usefully compared for example? --Paddy3118 (talk) 21:19, 3 August 2018 (UTC)
Progsbase is yet another computer language. It claims that "...the progsbase tooling can write the program out to one of the supported languages, which include all programming languages with a few exceptions, but these exceptions account for less that 1% of written programs". The 'all programming languages' is hype. It supports 9 languages (not including the most important F#). The last time I looked RC has 823 languages, so 9 is hardly all. It doesn't include COBOL, Ruby or F#, there is no evidence offered 'that the exceptions account for less than 1% of written programs', but with just these 3 exceptions I find it difficult to accept. It doesn't support Objected Oriented features, but most tasks on RC don't require OO. So someone could add Progsbase to RC as the 823rd. + 1 language and write many of the tasks in it, and as a bonus then have Progsbase tooling write it in 9 other languages.--Nigel Galloway (talk) 09:44, 4 August 2018 (UTC)

Broken Links???

Sorry, not a wiki expert. Two items: contact info on the User Short Circuit page is not working Returned e-mail: mx-in-b1-2.szfltintnat.v.visvr.net rejected your message to the following email addresses:

mikemol@rosettacode.org (mikemol@rosettacode.org) The address you sent your message to wasn't found at the destination domain. It might be misspelled or it might not exist. Try to fix the problem by doing one or more of the following:

   Send the message again, but before you do, delete and retype the address. If your email program automatically suggests an address to use, don't select it.
   Clear the recipient AutoComplete cache in your email program by following the steps in this article: Status code 5.1.1. Then resend the message, but before you do, be sure to delete and retype the address.
   Contact the recipient by some other means (by phone, for example) to confirm you're using the right address. Ask them if they've set up an email forwarding rule that could be forwarding your message to an incorrect address.

Second item. I tried to leave a Python 3.x version of go fish and got to a broken link? LINK http://rosettacode.org/wiki/Help:Sandbox

ERROR Exception encountered, of type "RuntimeException"

Regards, tsb

As noted by User:Tsbrownie at 11:43, 2 December 2017, Help:Sandbox is still returning:
Exception encountered, of type "RuntimeException"
GarveyPatrickD (talk) 19:29, 6 December 2020 (UTC)

cloudflare issue

is there a timeperiod which is affected? if that period is small then only people who logged in during that period should be affected. not sure if it is a lot of effort to figure out who that is.

lucky i came to check the site before the passwords expired because it turns out i was using an expired email address. i would not have been able to reset an expired password without troubling you. eMBee (talk) 03:16, 25 February 2017 (UTC)

according to https://blog.cloudflare.com/incident-report-on-memory-leak-caused-by-cloudflare-parser-bug/ the issue existed from the 13th of february to the 18th. that's one week. only users who connected to rosettacode in that period would be affected. eMBee (talk) 04:09, 25 February 2017 (UTC)

there is more (from the report):

  • 2016-09-22 Automatic HTTP Rewrites enabled
  • 2017-01-30 Server-Side Excludes migrated to new parser
  • 2017-02-13 Email Obfuscation partially migrated to new parser

did rosettacode use any of these features? if not then it should actually not be affected at all. eMBee (talk) 04:26, 25 February 2017 (UTC)

Good point; I should only need to expire passwords for accounts touched during the affected period. However, understand that RC didn't need to have those features enabled to be affected; those features resulted in the client being sent data that was resident in memory on Cloudflare's systems, they didn't have control over whether data would be in that memory in the first place; if someone logged into RC, their credentials would be in memory for a time. Then someone else makes a request from some other site with those features enabled, and they would get some chunk of Cloudflare's server's memory sent to them. This is a very, very common misunderstanding from people who've only read Cloudflare's blog post on the subject, and Cloudflare has unfortunately downplayed the severity and scope of the issue. --Michael Mol (talk) 04:33, 25 February 2017 (UTC)
yes, i didn't read that out of the report. will have to read again. the way you explain it makes sense of course. thanks. not good on cloudflares part to not make that clear. :-( eMBee (talk) 04:50, 25 February 2017 (UTC)
The expiry process *should* allow one login using the old password, requiring the user to set a new password before proceeding. It's not a reset, but an expiry. I chose that approach because not everyone even has their email address loaded in... --Michael Mol (talk) 04:34, 25 February 2017 (UTC)
Unfortunately, I don't have a way to reliably know whether or not a given user's credentials were at risk. The best I have is SELECT count(*) FROM user where (user_newpass_time < 20170219000000 or user_newpass_time is null); user_touched is tempting, but it's reset every time a user visits their talk page, so the most active users wouldn't show up in the result set. --Michael Mol (talk) 04:58, 25 February 2017 (UTC)
Query applied. Now to expire the existing sessions. --Michael Mol (talk) 05:00, 25 February 2017 (UTC)
PHP sessions deleted. Object cache (where MediaWiki session data is stored) truncated. Logins seem unaffected; MediaWiki's session handling is disturbingly robust. Won't matter after a few weeks. --Michael Mol (talk) 05:19, 25 February 2017 (UTC)
awesome, i can confirm that it worked. just wonder what does "session cookie longevity will be reduced until late March" mean? eMBee (talk) 05:28, 25 February 2017 (UTC)
$wgCookieExpiration = min(array(30*86400, time() - 1487999574)); ... I don't know if $wgCookieExpiration applies to existing cookies, though. It's unfortunately the best I can do. --Michael Mol (talk) 05:31, 25 February 2017 (UTC)
i think it worked as expected. i was immideately logged out on the next reload, so my cookie must have been expired right away.eMBee (talk) 05:56, 25 February 2017 (UTC)
In any case, I'm overdue for calling sleep(). o/ --Michael Mol (talk) 05:32, 25 February 2017 (UTC)
sleep(28800)eMBee (talk) 05:56, 25 February 2017 (UTC)

Is file uploading blocked forever?

I went to File list and discovered that all file uploads are blocked since 6/2/2016, even admins have no uploads. Is it sort of technical glitch? Or result of fighting spam too hard?? I'm planning 3 new tasks with 7 pictures. Without picture uploads it is useless. Another interesting issue: Why nobody complains? --AnatolV 21:30, 18 July 2016 (UTC)

According to /Special:Contributions/Short_Circuit page, he (Short Circuit) took a long vacation starting on 4/12/16 and traveling around the Globe. I hope nothing bad happened to him… But… RC should have active admin able to answer Qs and resolve problems.
P.S. BTW I’m glad we have at least 2 more complaining contributors. LOL--AnatolV 22:02, 2 August 2016 (UTC)

I have tried to upload images so I can fully discuss AVL Trees but the image upload fails. Is this a problem for everyone - or just me.NNcNannara (talk) 10:33, 2 August 2016 (UTC)

File uploading is disabled until such time as I can verify it is safe. We had an issue where some malicious files were uploaded. Many apologies; it's a frustrating scenario. --Michael Mol (talk) 17:06, 8 August 2016 (UTC)
NP and TYVM for clarifying this.--AnatolV 22:14, 8 August 2016 (UTC)
Any progress on uploading files -- especially pictures. Graphics code and programs creating windows populated with controls will be almost useless if the output does not accompany the code. Maybe Captua?KenS (talk) 08:04 29 August 2016 (UTC)

Image file uploads still appear to be blocked. Will this be resolved soon please? -- 31 Dec 2016.

I'll look into it again some time in the next few weeks. File uploads will not be blocked forever. It'll just have seemed that way. Michael Mol (talk) 15:39, 2 January 2017 (UTC)
I want to jazz up the Java AVL Page with some diagrams and discussion. Unfortunately, the upload of the .gif files fails - I suspect that I don't have the permissions. How about it Mike? The pages will look beautiful.NNcNannara (talk) 10:07, 21 February 2017 (UTC)
When I get the permissions, I will update the Native C++, Managed C++ and C# Pages too.NNcNannara (talk) 10:11, 21 February 2017 (UTC)
Apparently image uploads have been blocked since 6/2/2016 - that's almost a year. What is a Wiki without images? Dead in the water I'd say.NNcNannara (talk) 10:24, 23 February 2017 (UTC)
We should clone all contents to a site where "the community" (or some designated caretakers) has enough access rights to keep wheels turning. Yeti (talk) 23:36, 28 December 2018 (UTC)

Problems and a few suggestions

I’ve tried to send email to mikemol@rosettacode.org but it failed (no such email). This is my 2nd probem.

Suggestion: In OEIS Wiki we have a better solution (to avoid spammers): if user logged in and visit another user page, s/he can see link “Send email to this user”. In this case email could be any, e.g., topabracadabra@rosettacode.org, or real one, but sender can’t see it.

For your convinience I’m putting here another suggestion (from my User Talk page).

In some cases incomplete solution is reasonable, e.g., language limitations, too slow computer, etc.

Suggestion: May be editors should create Wiki tag “Incomplete task solution” (not red, but normal one, like Output tag). So, editors and/or authors can use it to mark such solutions.

And now, here is email (as is) with my 1st and prime problem that I was trying to send to you.

Dear Mr. Mol,

Recently I’ve ran at an annoying problem: RC is blocking my login, only because it decided that I’m overactive. I already described it in details on http://rosettacode.org/wiki/User_talk:AnatolV What is terrible, after this post (on User talk) I was denied to log in again!

I am not asking you about editor privileges, because I can’t spend much time on RC as editor, but at the same time, I hope you have (or can set) something like “trusted user” account property, allowing frequent access to RC (as for editors). Of course, it should be easily revoked, if compromised. What do you think?

As I said: I can’t be on RC often, now I’m active, but next 2 months I’m out. E.g., I wasn’t using RC almost whole February this year.

Another suggestion you can find on my User talk page. <<NOW FIND IT ADDED ABOVE>>

You know?? It reminds me old saying: “Any good initiative is always punishable!” LOL If r active, stop it!! Nobody needs it! LOL

Best regards,

AnatolV

<<Note: this is added now, not in original email>> P.S. At least 1 editor,- Gerard Schildberger, agree: this is/was a problem to him too.

Cyberbullying

Legal definition

Cyberbullying is defined in legal glossaries as

    actions that use information and communication technologies to support deliberate,
    repeated, and hostile behavior by an individual or group, that is intended to harm 
    another or others.
    use of communication technologies for the intention of harming another person
    use of internet service and mobile technologies such as web pages and discussion groups
    as well as instant messaging or SMS text messaging with the intention of harming another 
    person.

Examples of what constitutes cyberbullying include communications that seek to intimidate,
 control, manipulate, put down, falsely discredit, or humiliate the recipient. The actions 
are deliberate, repeated, and hostile behavior intended to harm another. Cyberbullying has 
been defined by The National Crime Prevention Council: “when the Internet, cell phones or 
other devices are used to send or post text or images intended to hurt or embarrass another 
person.

A cyberbully may be a person whom the target knows or an online stranger. A cyberbully may be
 anonymous and may solicit involvement of other people online who do not even know the target.

Michael I believe that the posts from http://rosettacode.org/wiki/Talk:Arithmetic-geometric_mean to Talk:Kaprekar by ledrug and Hignight constitute communications that seek to intimidate, control, manipulate, put down, falsely discredit, or humiliate me. The actions are deliberate, repeated, and hostile towards me. How else am I to interpret:

I'll make a few comments, but won't discuss it any more after that, since that would be
 obviously futile.

    I don't know what kind of antique lisp machine you have installed in your basement, but 
your code does not compile on either SBCL or Clisp. Maybe geniuses shan't be bothered by such 
trifles.
    Your code, once made compile with SBCL (change that do (...) () to do (...) (nil), does 
exactly the samething mathematically: raise a power of a base repeately, until either it
 splits the square of n with the right sum, or it's too large. Except you are doing it in a 
convoluted way, using non-integer methods on integers, and ends up with something literally
 100 times slower then my edit you reverted (on SBCL that is, I don't know about your antique
 lisp machine).

    You had one good idea of checking congruence, and a whole lot of terrible ones: being
 thoughtless in dealing with datatypes (pow and log on integers in C++, / and floor in Lisp);
 being sloppy in performance tuning (your "v.fast" C++ code isn't all that fast); being 
vengeful (paddy_cnt?); being narcissistic (own name as variable?); being inconsiderate to 
code readers (what kind of person posts unindented Lisp?); and generally being an all-around 
dick. 

    Your sarcasm in the lisp code was neither subtle nor funny. You give British humor a bad
 name.

You are probably not stupid, but it's safe to say you are not the smartest person on RC, by a 
long shot. And smart people around here tend to have good manners, unlike you or I. Stop 
treating yourself like you are the one true genius, and try to do something that's helpful to 
people instead of showing off, OK? (my guess: probably not. Oh well.) --Ledrug 00:10, 4 
October 2012 (UTC)

    Well said. He is clearly more interested in being a pompous dick then contributing
 quality code to RC. --Larry Hignight 08:24, 4 October 2012 (UTC)

I believe that the following:

I'm sure that Nigel will respond to these results in his usual manner: "that is hot air",
 "all of your implementations are flawed; Mine is the only true Common Lisp", "Surely, you 
must have my version and Ledrug's version mixed up", or even the classic "Why didn't you just
 fix my code!" Who knows... I'm sure that it will be amusing though. Therefore, I encourage
 everyone with a working CL implementation to attempt to compile both versions and post your 
results. --Larry Hignight 07:45, 8 October 2012 (UTC) 

consitutes an attempt "to solicit involvement of other people online who do not even know the target." --Nigel Galloway 12:35, 15 October 2012 (UTC)

Respectful behavior toward other users, and towards this site

Michael I would ask you to reread the Talk:Kaprekar_numbers page.

  • The comment "First, the message left on my user talk page by one genius" was posted by ledrug not me, you are wrong in fact.
  • Secondly the comment "A lot of hot air for somthing that doesn't exist! I did not break the origional solution, I made it solve the task" is in response to a long list of reasons why he feels his lisp style is better than mine, followed by "Yeah, it's kind of a shame that someone broke it though. --Larry Hignight 22:42, 23 September 2012 (UTC). Hignight maintains I broke his solution I did not. The proof is in the sample output showing it working (now lost to history). I had no problem with him undoing the changes. I have no wish to discuss my lisp style in a program which was not well written in the first place and had anyway been replaced by ledrug.
  • Thirdly, when have I been asked to sign my posts before? I usually do, and if I don't it is merely by accident as any reasonable person would think.
  • Fourthly I refer you to ledrugs comments on http://rosettacode.org/wiki/Talk:Arithmetic-geometric_mean "That was one of the most amazing paragraph to have ever graced RC, where except the first and the last, every sentence is wrong to some extent, and it was written sincerely (as far as I can tell).", and tell me how my response "Thank you for your interest, but why so angry?" can be considered agressive in any way to what is a very agressive posting from ledrug. Again in response to the bile posted on the Kaprekar page by ledrug starting "First, the message left on my user talk page by one genius" and finishing "You are probably not stupid, but it's safe to say you are not the smartest person on RC, by a long shot. And smart people around here tend to have good manners, unlike you or I. Stop treating yourself like you are the one true genius" "I responded "Again ledrug why so angry? I didn't revert your edit, it is a good solution, I left it there and reinstated my solution which you deleted, as, indeed, it was you who deleted Larry's solution". Again how is that aggresive?

In conclusion please reread the postings on the Talk:Kaprekar page understanding that you were mistaken in your understanding that I wrote "First, the message left on my user talk page by one genius" and explain to me how my response to ledrug's bile has been aggressive. He continually posts comments questioning my sincerity, I insist that you clarify that you for Rosetta Code do not support that contention.

As we seem to agree that "First, the message left on my user talk page by one genius" is agressive, it only remains for you to convince yourself that its authorship is ledreg for you to address your critism where it belongs. --Nigel Galloway 12:03, 15 October 2012 (UTC)

Bleh. It does seem I've misread the discussion. My apologies. This is an artifact of my not having enough time...If you guys want me to come in and try resolving the conflict, I'm going to need information prepackaged, cited and digestible. I see some hope on Kaprekar Number's talk page, in that people started moving toward a structured resolution. That's good! Please continue! Unfortunately, I'm closing on a house this week, and I'm going to have zip spare time to go over the details for a few days. I'll look at it this weekend, if 'briefs' are readily available. --Michael Mol 13:19, 15 October 2012 (UTC)
I hope you are enjoying your new house. In your submission to my talk page I was dissapointed to see that you consider it acceptable for RC to be a hostile environment. When you encouraged people to continue moving towards a structured resolution were you calling for Hignights contribution of October 16th which includes:
The code that you submitted looked like something a drunk C programmer would have written while doing a first experiment with CL. 

and

I called you a pompous dick AFTER you started dismissing valid criticisms with smart ass remarks, confusing the issue with lies on this talk page and then writing unwarranted comments on someone's user page.  If you don't like being called a dick, then stop acting like a dick.  It's pretty simple, really.  Regarding your latest lie and attempt at confusing the issue, "You have agreed that he replaced your version to 'reduce code; simplify; speed up; conform to task and extra'," I never said that Ledrug's version reduced my code, simplified my code, or agreed to anything on this page.  Ledrug's change comments were (once again) comments about his code.  He improved his code.  You should consider doing the same.

or do you consider it a kick in the teeth?

For the record:
(cur | prev) 04:55, 19 September 2012‎ Ledrug (Talk | contribs)‎ (84,438 bytes) (→{{header|Common Lisp}}: reduce code; simplify; speed up; conform to task and extra) (undo)
(cur | prev) 00:12, 19 September 2012‎ Lhignight (Talk | contribs)‎ (88,507 bytes) (→{{header|Common Lisp}}: Updated the description of the 'fast' implementation.) (undo)
(cur | prev) 23:54, 18 September 2012‎ Lhignight (Talk | contribs)‎ (88,429 bytes) (Undo revision 140330 by Nigel Galloway (talk)) (undo) 

00:12, 19 September 2012 was the last time Hignight had code on this task replaced by Ledrug at 04:55 with the comment "reduce code; simplify; speed up; conform to task and extra". This was his first submission of code so I can see no way of interpretting this as referring to his own code. It is my sincere belief that it refers to Hignights, I may be wrong but I am not Lying. I am not nor ever have been drunk while submitting anything to rosettacode, and not at anytime that comes immeadiatly to mind. --Nigel Galloway 16:27, 18 October 2012 (UTC)

Regarding signing posts...there is a note left by another user on your talk page, but on re-reading, it was on the structure of your signatures, not the lack of them. I misread it in a way that backed up a misrecollection. Again, my apologies. Re-reading your contribution history, you've even gone through and adjusted indentation of previous conversation. Whether that's good or not depends on whether it's what the original author meant, but I appreciate the attention. --Michael Mol 13:19, 15 October 2012 (UTC)
You are not precise as to which indentation you refer. The origional situation was:
    12 Common Lisp Implementation
        12.1 Conflict Resolution?
            12.1.1 Issue the first
            12.1.2 Issue the second
            12.1.3 Issue the third

with 12.1.1, 12.1.2, and 12.1.3 being my response to paddy3118. Hignight changed that as follows:

    12 Common Lisp Implementation
        12.1 Conflict Resolution?
        12.2 Testing Common Lisp Contributions
            12.2.1 Issue the first
            12.2.2 Issue the second
            12.2.3 Issue the third

my responses now being to his rant, and making no sense. I changed it as follows:

    12 Common Lisp Implementation
        12.1 Conflict Resolution?
            12.1.1 Issue the first
            12.1.2 Issue the second
            12.1.3 Issue the third
        12.2 Testing Common Lisp Contributions

please advise if it is any other change on which you require claryfication. --Nigel Galloway 16:27, 18 October 2012 (UTC)

How can I efficiently find out the author of a solution?

browsing the history is cumbersome

(This was written by Walterpachl (Talk | contribs) at 07:21, 8 June 2012 (UTC))
There isn't really an easy way; not everyone signs their code (if they do, they're encouraged to use an HTML comment so that it is only cluttering things up when editing) and MediaWiki doesn't track line-level or character-level provenance particularly much. It just has a sequence of diffs and you have to find it yourself. FWIW, I find that bisecting is quite a good way to find who wrote a change; on the rare occasions I've needed to know the author of an example, I've been able to find it in a few minutes by using that technique with the history pages' range functionality. –Donal Fellows 10:31, 8 June 2012 (UTC)

Adding a language

Add a Language. How can I get ooRexx (I created a stub) into the list of languages. I want to add its solution to Abstract Data Type to the Algorithms.

User: Walterpachl

Check out Rosetta Code:Add a Language. Also, you can use --~~~~ for a convenient, automatic, timestamped signature when you leave notes on talk pages. --Michael Mol 16:13, 27 May 2012 (UTC)

I did but couldn't finish -- I created the page but kow is it added to the list- And right now I am stuck when I try to add the code to the task list :-( --~~~~

Now I added the code but apparently it did not like the syntax Is there some noformat option? and the --~~~~ doesn't do what you promised. Sorry for the difficulties of a real newbie here!

Don't use the <nowiki> / <nowiki> tags when you use --~~~~. The <nowiki> / <nowiki> tags tell the wiki software not to interpret --~~~~. --Michael Mol 17:38, 27 May 2012 (UTC)

It's now reasonably formatted and it looks good!!!!

Could you pls insert ooRexx to thje list of languages? (or give me instructions for the dummy (me) )? --Walterpachl 18:17, 27 May 2012 (UTC)

The page you created at ooRexx isn't in the right place. Take a close look at Rosetta Code:Add a Language#Category_Page. Anywhere you see "Ayrch" on that page, think "ooRexx" instead. --Michael Mol 18:22, 27 May 2012 (UTC)

Thanks. I managed. My PC in the country home seems to have this defect of crazily formatting :-( ( I noticed also stramge formatting when answering mails:-( )

Anyway. Here in Vienna it works. Pls point me at instrucions how to color my code. --Walterpachl 16:10, 28 May 2012 (UTC)

Help:Syntax Highlighting --Michael Mol 17:35, 28 May 2012 (UTC)

Hm. I see what's been done for mnay other languages. However, pretty much to do in a strange language for getting Rexx highlighted. Or am I too scared? Could I also use HTML tagging for a start? --Walterpachl 11:41, 29 May 2012 (UTC)

Do not use HTML. That would make it very, very cumbersome to correct later on. Just use <lang oorex>(your code here)</lang> for now, and when proper support is added, things will just work. Chances are, Rexx's syntax highlighting support will work decently well for you, too. I should be able to make a tweak on the server to have 'oorex' apply Rexx's syntax highlighting support. It'd be a start. Getting out of the gate on a new language isn't usually easy. --Michael Mol 13:03, 29 May 2012 (UTC)

Thanks BUT unfortunately none of the Rexxes is in GeSHi :-( as far as I can see... no highlighting there either --Walterpachl 14:11, 29 May 2012 (UTC)

Start with a basic language template that handles comments and strings (there should be those around; it appears to be C-like to me) and then add in the keywords (or at least the things that are normally used like keywords; I don't know whether the rexx-like languages are keyword-based in the first place). That'll give you enough to be going on with, and it's only a little effort if you know the language. (Alas, some other languages are considerably trickier.) –Donal Fellows 14:38, 29 May 2012 (UTC)

maybe it's easier than I (we) thought.. Where would i find the template and where would I store my 'extended' template? A friend of mine suggested that VIM is doing a good job on producing highlighted text for many languages --Walterpachl 15:42, 29 May 2012 (UTC)

Download a copy of GeSHi. The per-language source files are pretty easy to read. This conversation needs to move somewhere else. (Perhaps to IRC?) I simply can't maintain communicating at this rate and latency at this time. --Michael Mol 15:50, 29 May 2012 (UTC)

okay. let's take that offline. I downloaded the php files of GesHi. can you (Dkf) send me a mail where I should put the first rexx.php in rosettacode in order to see its effect (I am sure there will be iterations necessary) pachl at chello dot at (the at's are different ones :-) --Walterpachl 21:54, 29 May 2012 (UTC)

Tied to get to the list and got this for my append: Hi! You've just tried to send mail to geshi-users, and you're not registered. Please register at http://lists.sourceforge.net/lists/geshi-users And the link does not work:-( --Walterpachl 18:46, 30 May 2012 (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)
It might be worth considering doing more automated banning. I've been watching the war you've been fighting over the past month or so (and flagging problem pages as I see them) and I'm wondering if it's sustainable in its current form. Is it possible to change the rules to make things harder for the scum? The logs I can see don't let me find out whether there's some common feature of the hosts submitting spam, but I bet it'll prove to be a relatively small group that's targeting RC… –Donal Fellows 17:45, 4 February 2012 (UTC)
Thanks for the flaggings. I've been thinking of taking a page from Panopticlick and [mod_security http://modsecurity.org/] and use request fingerprinting to block automated attackers. The risk of false positives is very low compared to IP-banning, and automated attack scripts are highly likely--at least for the short term--to not change their fingerprints much between attacks. --Michael Mol 17:53, 4 February 2012 (UTC)

Heads up: User:Healthytact23164, User:Gmalestripperx look very suspicious, but haven't spammed yet. –Donal Fellows

When I see new users in the recent changes feed, I add them to my watchlist. That way, I get an email when their page is created, so I can catch spam users in under five minutes, if I'm awake. --Michael Mol 17:00, 10 February 2012 (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)
Hi, I have been trying to upload an image to Rosetta Code but it is not working. Is it possible to embed images from an online source instead? -- JusC 12:56 27 July 2020 (UTC)
I have added a couple of example offsite images to JusC's talk page. --Pete Lomax (talk) 01:20, 28 July 2020 (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)

Related Pages -- group them?

Greyscale_bars/Display, Colour_pinstripe/Display, Pinstripe/Display, and to a lesser extent Colour_bars/Display, plus their printer related tasks are all very similar. In fact, many of them center around 4 horizontal bars composed of a pattern of vertical bars, and the code is very similar between each task as a result. (Compare the AHK solutions for Colour pinstripe and Pinstripe; they differ by only a tiny bit: the few lines which distinguish between repeating colored vs repeating greyscale bars.) IMHO, they should all should be grouped together somehow, or even merged. — Crazyfirex 21:43, 15 December 2011 (UTC)

Have at it! See Template:Collection...Though that kind of thing really should be accomplished using semantic tags and inline-queries, now. Take a look at Template:Mp community. --Michael Mol 23:30, 15 December 2011 (UTC)
Hmm... how about "Graphical bars", "Graphics bars", or "Graphics patterns"? — Crazyfirex 22:07, 16 December 2011 (UTC)
More likely, something like [[task aspect::line drawing]]. At some point, we can have a box which lists the known aspects of a task, and then drill down to other tasks with the same aspect[s]. --Michael Mol 01:35, 17 December 2011 (UTC)
Most tasks actually involve filled rectangles (looking at the sources there is usually a "FillRect" and very few "DrawLine" — one uses a brush, the other a pen), so how about "rectangle drawing"?
To my mind, it's the same thing if I use a one stroke of a pen with a square brush to fill in the same set of pixels as I could with filling a rectangle. I don't have a strong feelings to care which way it goes. As the thing becomes done more properly, ambiguous scenarios like this will be wrapped up in a tree of properties and subproperties.
It does bring to mind an interesting way to draw a distinction, however: The same task, except in a rotated frame of, say, 30 degrees counterclockwise. --Michael Mol 02:07, 17 December 2011 (UTC)

Demo of IPv6 access from anon user.

SC here. Just demonstrating what an anonymous IPv6 user looks like. --2001:470:C5B9:DEAD:E269:95FF:FEC5:295F 15:24, 22 January 2012 (UTC)

Another edit, from the same user, on the same /48, but a different /64. ('beef' instead of 'dead'. This is my wifi network, as opposed to my wired network.) The final 64 bits are different, because I'm using my wireless NIC instead of my wired NIC, and the two NICs have different MAC addresses. Also, if I were dedicated to it, I could automate coming at the wiki from 2^16 different /64s. The use of IPv6 privacy extensions would allow me to randomize the MAC-derived portion, too. If it were truly necessary to block my network, you would have to do it at a /48. That should be a last resort, though. Generally, you'd block the /128 (the full, specific IP) first, followed by the /64, followed by the /56, and then the /48. The larger the subnet, the more collateral damage, so larger blocks should be last. --2001:470:C5B9:BEEF:4EED:DEFF:FE93:63A0 15:37, 22 January 2012 (UTC)

IP address to nickname change request.

Hi. Recently I discovered that I created the page Canny_edge_detector not being logged in. Is there a way to change my IP address 87.224.129.185 to my nickname `firstfire' in the history? Thanks. --Firstfire 04:28, 7 March 2012 (UTC)

Not something I can do, sorry. --Michael Mol 06:29, 7 March 2012 (UTC)
Well, not a big deal. Thanks anyway. --Firstfire 19:06, 7 March 2012 (UTC)

"Edit privileges will now require email addresses"

Does this mean that anonymous edits are no longer allowed? -- Erik Siers 00:49, 15 March 2012 (UTC)

Never mind; checked for myself. But is this likely to be a permanent policy change? -- Erik Siers 01:21, 15 March 2012 (UTC)
I'd like it to be. I don't expect spammers to adapt quickly, and it's already allowed me to relax restrictions on image uploads (the same restrictions that coincided with the problems with AJAX uploads). I'll probably drop CAPTCHAs for registered users next.--Michael Mol 02:58, 15 March 2012 (UTC)

I noticed what you wrote on User talk:XazuxiRasiha. In light of the new policy (especially the nice big notification banner) I would think that it's safe to assume that anyone who gives a false email address when signing up is probably trying to spam. -- Erik Siers 13:10, 17 March 2012 (UTC)

About one in three bounces I get are typos or other email errors, actually. Only two out of three are spam accounts, and it's worth the trouble (for now) for me to handle it manually. --Michael Mol 14:24, 17 March 2012 (UTC)

The spam continues

Well... I've been (mostly) away for a while now, and I'm seeing several users that have been approved, only to (apparently) immediately spam. So... what's the next step? Is there a "next step"? (In other words, given any thought to the matter?) The problem is obviously not automated spamming, but the people behind the spamming.

The only thought I had would be to "casually" ask them what their preferred language is, and then ask them to solve some trivial problem (in a manner different from what's already posted here, if applicable) before approving them to edit. (Re: asking about their preferred language... Most people that I've talked with, when they have a favorite language, are more than willing to discuss what they like about the language and why. Spammers generally aren't programmers, and I think you'd likely get a blunt answer: "Java" instead of "Java! I love how easy it is to do OOP and etc. etc. etc.") -- Erik Siers 20:05, 10 July 2012 (UTC)

We have spam, but it's nowhere near as bad as it was. For every created account that posts crap, three or four spam-like usernames are created which don't post anything. I'm pretty comfortable with the email policy right now. Also, things are finally settling down at home, which means I can start looking at the 'next step'. I expect that, were I to check, most of the verified spam accounts will have mailinator-backed email addresses. I should then be able to work with the Mailinator admins to get spambots banned from Mailinator services. This may require a change in our privacy policy to allow me to share email address, time and IP details with the Mailinator folks, and get the Internet cleaned up for a lot more than just RC. --Michael Mol 20:18, 10 July 2012 (UTC)
Hmm... I think it would probably require a policy change at Mailinator. A major change. Mailinator is pretty easy to abuse. -- Erik Siers 20:24, 10 July 2012 (UTC)
Mailinator has a bad reputation, but I'm told their people at the top have good intentions. So I'd be happy to work with them if they're interested. I haven't had the time+opportunity for the outreach, but that's coming. Meanwhile, our current spam input is manageable, and I'll be joining the rotation of people blocking spammers and deleting spam. --Michael Mol 20:28, 10 July 2012 (UTC)
Is this change actually in place? Or is it still possible to create pages without verifying the code sent to one's email address at registration time? (I created an account with an email address that would not work, but didn't try to create any pages - but the registration message indicated that the only thing I would need the emailed code for was signing up for email notifications.) --Rdm (talk) 04:53, 20 June 2015 (UTC)

Popular pages?

Hi, Whatever happened to http://rosettacode.org/mw/index.php?title=Special:PopularPages ? --Paddy3118 22:01, 10 May 2012 (UTC)

I think with the mega-caching that goes on here the pageview counters were pretty much meaningless (you'll notice them missing from the bottoms of pages). It might also save some resources on the server to disable pageview counts. --Mwn3d 01:32, 11 May 2012 (UTC)
Yes and no. The mega-caching was getting partially punched-through to update the counters, but only essentially randomly. That wouldn't defeat relative measurements, as far as stat-keeping goes. However, as those got updated, they tended to purge cache, which hindered performance. They also pushed more work for reads and writes into the MySQL database, which, again, hinders performance. The last update to MediaWiki added more workload to the PHP code, and I found need to go on an optimization binge to improve pageload speed. As the site stands now, it could probably take a slashdotting in stride. --Michael Mol 01:43, 11 May 2012 (UTC)
And sorry for not responding sooner; I've been away on my honeymoon for the past few days. --Michael Mol 01:43, 11 May 2012 (UTC)
No problem about the page - I appreciate that its gone for a reason. --Paddy3118 03:41, 11 May 2012 (UTC)


Congratulations

... And sorry for not responding sooner; I've been away on my honeymoon for the past few days. --Michael Mol 01:43, 11 May 2012 (UTC)

First things first Michael: CONGRATULATIONS!!! --Paddy3118 03:41, 11 May 2012 (UTC)

(I second that! -- Erik Siers 17:44, 11 May 2012 (UTC))

SPDY

Things I'm not sure of:

  • How much this would help us
  • How much this would help users
  • How much work you can/are willing to put into it
  • If this is even an applicable setup for us
  • If it's already done for us

I was looking at the FF release notes and saw that SPDY is enabled by default in newer versions. I looked around a (very) little bit and came across this. Hopefully we have everything necessary to support it. It could reduce our bandwidth a little bit and (more importantly) speed things up for our users. --Mwn3d 17:39, 5 June 2012 (UTC)

Not going to happen soon. Apache doesn't face the public Internet, Squid does. I'd need squid to support SPDY. I'm also disinclined to use SPDY until it's been around a bit longer; right now, I'd consider implementations of the protocol to be immature, and thus a security risk. Otherwise, I rather like it. --Michael Mol 18:05, 5 June 2012 (UTC)

Socio-PLT: Programming Language Perceptions

I just found the site and spent 40 minutes playing with the summary table. It seems to be a good way of showing programmers ideas on different languages in a comparative manner.

Is there a place for a link to this site on RC? I had thought of something akin to Similar Sites, but this site shows the opinions of programmers on languages rather than code examples. --Paddy3118 08:09, 9 June 2012 (UTC)

Might make sense to rename Help:Similar Sites to Help:Additional Resources. That link seems worthwhile. --Michael Mol 12:17, 10 June 2012 (UTC)

Proof issues

I have had a simple statement: that a computer implementation of an infinite type can represent only a finite number of distinct values (and, therefore, must fail to satisfy a set of axioms which require an infinite set of distinct values) removed, twice -- and without justification -- from the Proof task. Therefore, I am removing myself from the discussion, and will not be posting on this site until after either (a) the removal is explained to my satisfaction, or (b) the issue is explicitly described in some other fashion (where differences between implementations can be judged on their merits rather than because of some system which cannot be included in the task description). --Rdm 13:23, 14 May 2012 (UTC)

Here's a (somewhat longwinded) attempt at stating my point of view on this issue: http://r-nd-m.blogspot.com/2012/05/glib-types.html --Rdm 19:52, 16 May 2012 (UTC)

I'll get at reading that as soon as I can. I did go back and read the talk page for Proof, and it sounded to me like part of the problem was people talking past each other. I could see ways to mitigate and try to correct the issue, but as I'm still getting back on my feet after a honeymoon/vacation where I was largely incommunicado, and as I have a backlog of major RC-related issues at home and on the server to deal with, I haven't had the time to wade in. --Michael Mol 20:25, 16 May 2012 (UTC)
Ok, it's not all that big of a deal, but I do not want to be making the problem worse than it is. Honeymoon definitely takes priority over something like this. --Rdm 20:54, 16 May 2012 (UTC)

No code colourization at present?

Hi Michael. Just reporting that there seems to be no code colourization at the moment from lang tags and {{task}} isn't being processed properly. --Paddy3118 05:07, 2 September 2012 (UTC)

Ow. I'll get right on it. --Michael Mol 10:02, 2 September 2012 (UTC)
I've just checked three random pages, and the syntax highlighting appears to be working there. Can you provide the steps to reproduce? --Michael Mol 10:10, 2 September 2012 (UTC)

Sorry. It seems the problem is with my Firefox browser. Switching to Chromium the pages look fine. I'll restart Firefox, my login, the box - in order until it starts working again :-) --Paddy3118 10:25, 2 September 2012 (UTC)

Something's up with the search/indexing...

I'm glad to have finally found this page -- http://rosettacode.org/wiki/Permutations_by_swapping If you try searching for permutation, permutations, etc, you get short-circuited directly into the "Permutations" topic, which incidentally should probably be broken down further into the individual algorithms for doing so. I can only assume that this Short_Circuit guy has gone overboard with the short circuiting on the search feature in a zealous attempt to short circuit the world. ;) Only by searching for "permutations by" or "permutations by swapping" do you actually get the chance to see that this swapping page even exists on the wiki. Further, searching for terms on that page like "Steinhaus" yield only a result on the Permutations topic even though that term is all over the "Permutations by swapping" one, while other terms like "Trotter" do yield the swapping page as a result. It's kind of like the wiki prefers the Permutations topic over the Permutations by swapping topic for some reason. I only even found it thanks to google's indexing in the first place. --CStubing 03:21, 29 October 2012 (UTC) P.S. I have a C++ implementation of the Steinhaus algo to put up there, but I just want to refactor a little first.

When you type permutations in the field, then hitting Search does what you expect. Hitting Go does as you described. Try hitting the Search button. --Paddy3118 07:18, 29 October 2012 (UTC)
Thanks, I didn't even notice there were 2 buttons, because I'm actually just hitting enter in the field after typing. I'd suggest making that default action on no button click perform a search rather than a go, as I think that behavior is more aligned with user expectations. --CStubing 16:26, 29 October 2012 (UTC)

Creating a new user account

Hi, I logged out then logged in again to look at the page for creating a new user and it seemed to be missing a clear message about not spamming the site. Do we need one? --Paddy3118 11:02, 12 November 2012 (UTC)

It's not as if I think it would deter the seasoned spammer, I just thought that we needed to make it indefensible. --Paddy3118 11:05, 12 November 2012 (UTC)

I'm not sure a defense is even necessary; RC doesn't have a legal system, and the people who enforce what pass for rules are reasonably seasoned at distinguishing between meaningful links (i.e. things which are related to RC's interest domain) and useless links. If someone appeals, that puts them past the tens of thousands of automated spammer attempts we've had...and that's when I tend to step in. --Michael Mol 14:18, 12 November 2012 (UTC)

Captcha, yay

I just got a captcha when creating RLE (a redirect). I can't recall getting one before, and I've created my shared of pages. Is this some sort of random thing, or is my memory just fuzzy, or...? (Not going to create more pages to test.) -- Erik Siers 17:12, 28 December 2012 (UTC)

Used to be CAPTCHAs would only be triggered on account creation. Now they're triggered on page creation, file uploads and edits that introduce external links. I will very likely eventually create a group for whitelisted users. Not today, though. --Michael Mol 17:15, 28 December 2012 (UTC)
Has this happened yet? Shyam Has Your Anomaly Mitigated (talk) 13:43, 22 December 2016 (UTC)

Wikipedia has an automatic book creator

Just found this. I created a book and found that they also create pages with all the authors names at the end. --Paddy3118 13:32, 27 March 2013 (UTC)

Slick. I think I've seen it before, but I don't think it was as mature. --Michael Mol (talk) 21:53, 31 March 2013 (UTC)

Problems with reports?

I was just trying to look at Reports:Tasks not implemented in Tcl, and I got a blank page. Same also for the equivalent page with Perl and Java. It looks like the MW upgrade broke the report system somehow. –Donal Fellows (talk) 10:52, 1 April 2013 (UTC)

Rosetta Code:Village Pump/MediaWiki 1.20 Upgrade Issues --Michael Mol (talk) 13:52, 1 April 2013 (UTC)

Possible vandalism

The User Cbasicuser has replaced the whole article Include a file with a page that just explains an example of IWBASIC. I thought this deletion was unitentional. Therefore I undid his changes. Now Cbasicuser has replaced the whole article Include a file again. I have not the time and the power (administrator rights) to deal with such situations. The changes of Cbasicuser look strange. His additions contain lots of empty lines and comments. I am not sure that Cbasicuser acts constructive. Please take a look at it. --Georg Peter (talk) 09:33, 14 April 2013 (UTC)

I have politely invited them to explain here. --Paddy3118 (talk) 16:25, 14 April 2013 (UTC)

I received a reply from Cbasicuser and will move it here: --Paddy3118 (talk) 05:14, 18 April 2013 (UTC)

Explanation re: include files
1. I was still learning to use the wiki. So, it me a bit of time to get it to do what I want. Also, I was not feeling well, which is why I was staying in and posting here in my off time, and it had an effect on my level of attention.
2. When I looked at the user guide for the language again, I realized there were a number of ways in it seems to me there are a number of ways to do what could be considered adding source code to a file. And I wanted to give what I considered to be a good picture of the language in that example.
3. As I fairly recovered and need to catch up, I, in fact, really don't plan on posting anything more. I did come to see if there was anything I needed to clean up before and to double check a couple of pieces of code I posted actually worked, as I'd made corrections on the site but not in my files.
4. Happy?

We were all newbies once :-) Thanks for the heads-up. --Paddy3118 (talk) 05:14, 18 April 2013 (UTC)


On the Research Project

Looks great! - I read the PDF full paper and left some comments on their blog here; (although my comments are awaiting moderation.
I did question there use of RC for performance comparisons as I pointed out that Python was external frameworks that embed and extend libraries in other languages such as numpy, scipy, Biopython, PyPy Ipython, etc that are an alternative to switching from Python and are used by those wanting speed, but are very rarely used in RC examples. (Are they idiomatic)? --Paddy3118 (talk) 17:51, 23 September 2014 (UTC)

I'm glad you left comments on their blog. Bearophile dropped into IRC to point out similar flaws, and I directed him there... --Michael Mol (talk) 19:54, 23 September 2014 (UTC)


Spam Deletion

I guess I need to ask for spam deletion powers. I hate dealing with spam, and I don't really want to get into this, but it seems like sometimes I'm the only person around when there's fresh spam, and I sometimes get annoyed enough that I want to do something about it. But probably also I'll need to be pointed at some docs on policy and/or procedures. --Rdm (talk) 11:02, 2 April 2015 (UTC)

So... if this saves, presumably I have admin privileges. However, there's another spam page up, and I do not see an "admin link on the left" even when I try to edit it. --Rdm (talk) 14:08, 10 April 2015 (UTC)
See "Admin links" at the top, sorry. But what you're looking for for spam deletion is in the dropdown arrow next to the search bar at the top. Warning: Do *not* do IP bans. The IPs that show up are actually the CDN proxies; I don't have things set up properly to recognize the header that Cloudflare uses to identify the origin IP. Also, if you check the "Recent Changes" page, you'll see deletion and rollback links there. Be careful. --Michael Mol (talk) 14:23, 10 April 2015 (UTC)
Ah, thanks. I see the delete mechanism now.
And that cloudfront thing is a tough one, since you don't want to enable that http header for people talking to you from IPs they control.
But wait.. how can content delivery networks validly act as valid content-providing clients? Perhaps the right thing to do here would be to IP ban all of CloudFront's proxy servers? (At least while they are being advertised as serving in that role?)?? --Rdm (talk) 14:37, 10 April 2015 (UTC)
We're deliberately using CloudFront as our CDN. rosettacode.org actually points at their servers, and their servers pass requests back to us if they're not already cached. CloudFront does pack a header to identify the client's original source IP, but I've never gotten MW configured to recognize that header as containing the source IP. It's on my TODO list, but said list is very, very, very long, and even older... --Michael Mol (talk) 14:40, 10 April 2015 (UTC)
Oh, and I have direct access to RC's origin servers firewalled off from anywhere except CloudFlare. Nobody is supposed to be able to access RC's server (except via SSH) except through them. --Michael Mol (talk) 14:50, 10 April 2015 (UTC)
Oh, duh. And I should know that - I've seen the cloudfront fallback pages often enough. But CloudFront uses X-Forwarded-For for this purpose and when I read up on moinmoin wiki, docs they imply that it's supported. So I am going to guess this is a versioning thing and the pain is the inevitable pains and losses which come with any software upgrade. Well... I guess, good luck with your TODO list. (And my advice there - if I had to give advice - would be: go after some low hanging fruit, let some other things boil for a while, and good luck...) --Rdm (talk) 14:53, 10 April 2015 (UTC)

Care to join in this topic Mike? --Paddy3118 (talk) 11:07, 6 July 2015 (UTC)

Spammers

We have been having intermittent problems with spammers. And while a number of accounts have been used, they all seem to have a common focus.

So it might be a good idea if we could gather more information about these attacks.

One thing, in particular, that I would like to see, is the domain name that they used when verifying their registration. (The part of the email address after the @ sign, ideally with a few preceding characters also.) Just seeing that might tell us something useful about what they are doing (and would also help verify that email verification for registration is actively being used).

Is this something that we can do, now? Or, do we need to ask the mediawiki community for an implementation? --Rdm (talk) 21:51, 12 April 2016 (UTC)

It's not something that (AFAIK) is readily availble in MediaWiki. And there are serious privacy questions to consider, too. I wish I had a good answer, but I don't. --Michael Mol (talk) 17:04, 8 August 2016 (UTC)

Rendering speed

We have been accumulating a number of Special:LongPages. And, that tends to make pages load slowly. And, I think you have already implemented the suggestions in the mediaikia manual page on performance tuning Anyways, I am wondering if there's some other ways to address this while retaining the usefulness of the site? (And, especially, I am wondering if there is some existing effort(s) underway that might help with this.)

(I suppose wikipedia's approach might work, but I don't know what all efforts that migration involves...) --Rdm (talk) 04:38, 10 May 2016 (UTC)

It's getting to be a real problem. The recent issues with session lost were driven by storing page rendering cache data in the same place as the session cache. Session cache is now in the DB, but, yeah, definitely need to start moving on this. I really would love to be able to migrate to a semantic-assembly model like we attempted a few years ago, we ran into bugs / limitations in Semantic MediaWiki when we tried it. Longer term, I'm seriously thinking MediaWiki is aging out as the servicable tool for the job. It imposes constraints that are quite inconvenient (seriously, we should be able to say "show me all the examples written in C" or "show me all examples of this task written in a functional language"), and then there are page rendering issues like these. --Michael Mol (talk) 17:02, 8 August 2016 (UTC)
Any implementation is going to have issues. Conceptually, we should be able to modify the mediawiki code (first as a specific hack for our needs, then redoing it in plugin format and engaging whatever is left of the mediawiki team - or maybe just forking the code). I think it's mostly php, which is ... ad hoc, and more than a little unpredictable... But unless we are willing to write a replacement ourselves, I don't think we're going to find anything which is particularly suited to our needs. That said, I'd love to be proven wrong on this. --Rdm (talk) 17:09, 8 August 2016 (UTC)

Upload problem: Could not store file, Could not delete lock file

This seems different than the previously mentioned upload problem, so I'm creating a new section for it.

I tried uploading the file SpiralHaskell.png for use on Archimedean spiral, and I got the following "warnings":

Upload warning

  • Could not store file "/tmp/phpcxaVsU" at "mwstore://local-backend/local-public/6/64/SpiralHaskell.png".
  • Could not delete lock file for "mwstore://local-backend/local-public/archive/6/64".
  • Could not delete lock file for "mwstore://local-backend/local-public/6/64".
  • Could not delete lock file for "mwstore://local-backend/local-public/archive/6/64/20160916083829!SpiralHaskell.png".


(although it says "warning", it seems like an error, because the file was not successfully uploaded)

--Ppelleti (talk) 09:03, 16 September 2016 (UTC)

Never mind, I guess this is the same thing as #Is file uploading blocked forever?. The error just seemed so technical, it didn't seem like it was intentional.

--Ppelleti (talk) 09:13, 16 September 2016 (UTC)

Current version of GeSHi

I was wondering whether RC is going to be updated to support the latest stable version of GeSHi which, according to their site, is 1.0.9.0 (targetting PHP 7) or 1.0.8.13 (targetting PHP 4 or 5)?

It appears that version 1.0.8.10 is the version currently in use though, curiously, it's not listed on the Version page.

The reason I (and probably several others) are particularly interested in this is because support for many more languages has been added recently to GeSHi including Kotlin, Julia, Swift, Mathematica and Phix all of which have numerous examples on RC.

--PureFox (talk) 18:01, 1 October 2017 (UTC)

Once present, now a missing file?

Hi Michael, Someone editing Text processing/Max licenses in use mentioned that the data file: http://rosettacode.org/resources/mlijobs.txt was missing. --Paddy3118 (talk) 07:07, 7 October 2017 (UTC)

Hi Paddy, Yes, it was me who noticed that file was missing. The file, readings.txt, which is used for Text processing/1 and Text processing/2 is also missing though I haven't got around to adding an entry for them just yet. --PureFox (talk) 09:30, 7 October 2017 (UTC)

Deleted Page

Please email me this deleted page; I asked Thundergnat, but they're being very rude. -- Shyam Has Your Anomaly Mitigated (talk) 15:54, 14 July 2019 (UTC)


Wikipedia webpage for Rosetta Code

Mike:

I thought you should know that on the Wikipedia webpage for Rosetta Code,   someone (userid 4thaugust1932) has provided a link   (for your name, as the founder of Rosetta Code)   to someone else:

  Michael Benjamin Mol (born 16 August 1971) in Cape Town, South Africa is a medical doctor, 
  an executive television producer, 
  presenter, international speaker and business consultant.  

I thought you might may want to go there (on Wikipedia) and have it straighten out, or at the least, revert the change.     -- Gerard Schildberger (talk) 15:59, 25 September 2019 (UTC)

I took the liberty of removing the link. --Paddy3118 (talk) 19:29, 25 September 2019 (UTC)
Thanks.     -- Gerard Schildberger (talk) 20:27, 25 September 2019 (UTC)

User sowing discord

Hi Mike, just thought you might want to, at least, monitor this discussion about a user. --Paddy3118 (talk) 11:03, 9 December 2020 (UTC)

ISBN template

I'm surprised the Template:ISBN isn't available. It seems to be part of Wikipedia.
--GarveyPatrickD (talk) 00:51, 10 December 2020 (UTC)

Rosetta_Code:Village_Pump/Features_Wanted returning "RuntimeException"

Selecting "Rosetta Code:Village Pump/Features Wanted" from https://rosettacode.org/mw/index.php?title=Special:AllPages&from=&to=&namespace=4 returns "RuntimeException". --GarveyPatrickD (talk) 19:30, 24 December 2020 (UTC)

User: page redirected to wiki page

Perhaps this redirect page should be the target User:Paulo_Jorente and this wiki page should be eliminated Paulo_Jorente?
--GarveyPatrickD (talk) 22:54, 2 January 2021 (UTC)

Category redirected to Language page

Should these redirects be removed?

COBOL Categories

Both Category:COBOL/Omit and Category:Cobol/Omit exist. Perhaps Category:Cobol/Omit should be removed?
--GarveyPatrickD (talk) 20:55, 26 January 2021 (UTC)

Language related categories

Both Category:AutoHotkey_related and Category:AutoHotkey_Implementations exist. They seem to have the same contents. May I ask what the purpose of Category:AutoHotkey_related is?
--GarveyPatrickD (talk) 21:43, 16 February 2021 (UTC)

The same question applies to Category:BASIC related and Category:BASIC Implementations.
--GarveyPatrickD (talk) 21:48, 16 February 2021 (UTC)

Frontpage widget?

Shouldn't Template:Mp introduction be in the Category:Frontpage widgets ?
--GarveyPatrickD (talk) 01:09, 2 March 2021 (UTC)

Suggestion for layout and task design - why didn't my topic appear on the table?

I have a suggestion for the way tasks are presented. I created a topic but it doesn't appear in the Village Pump table. Does it require any extra step?

Rosetta_Code:Village_Pump/useless_tasks_for_pure_synthax_comparison

Another spammer

See Everything_you_should_know_about_veins

Help!

1. Cannot login to RC using Google Chrome, even though cookies have been enabled for both http:// and https://

2. When logged in using Firefox, I cannot save a trivial edit of http://rosettacode.org/mw/index.php?title=Partition_function_P&action=edit&section=13 because (a) RC thinks an external hyperlink has been added (none was added); and (b) the reCaptcha mechanism does not work.

3. The invitation to join Slack leads to a page that says: "This link is no longer active."

Compiler Lexical Analysis

I think the set of programs used to test qualifying codes should also include the set of failures such as: end of line in a string, end of file in a string, end of file in a comment, a quoted character with two or more characters specified, a empty quoted character, a number containing a non digit, a number over the maximum possible, etcetera. Both the C and Java versions have code for testing over the maximum number and neither worked correctly for me. If the maximum integer is turned into a string and the input integer's string is longer or equal and the string is greater than the maximum, it is not valid.

IP address in "email address confirmation" email

The confirmation email I received says "Someone, probably you, from IP address 172.68.66.13, has registered an account". This is not the IP address I was connecting from. This is a CloudFlare IP address.

RC's MW is dangerously out of date & And updating also helps People with unreliable/no internet connection.

Hi. I am trying to make Rosetta Code into a ZIM archive so people who don't have reliable internet can use the site. I think it would be a good addition to the Kiwix projects archives as well, so once it works I will try and add it there.

Its actually meant to be easy to do especially for Media Wiki sites like Rosetta code, because of the tool mwoffliner. However the version of Media Wiki is too old, so its not compatible. Ive checked and its not the tool itself, i cant find a reliable way to get the data which is low enough on traffic and covers all the pages, its not very practical.

I would argue this causes other issues because version 1.26 which RC uses is 6 years out of date.

The mwoffliner tool only requires version 1.27 or greater which is still 5 years ago, so backwards compatibility is usually not an issue.

I think this effort will benefit students learning programming in places where internet is unreliable or not available.

Just need a version update for this to work, i am happy to do the rest.