I'm working on modernizing Rosetta Code's infrastructure. Starting with communications. Please accept this time-limited open invite to RC's Slack.. --Michael Mol (talk) 20:59, 30 May 2020 (UTC)

User talk:NevilleDNZ

From Rosetta Code

Welcome[edit]

Welcome, and thanks for contributing to Rosetta Code! I created and run the site. Algol, huh? I've heard of it, but haven't seen it myself. (What's it used for these days?)

I see you've already figured out the structure of the site. That's great! I'm looking forward to seeing your contributions. Don't worry about the frequency of your contributions. Most of us do stuff on the site because we enjoy it, so don't rush yourself. :-)

Do you mean OSDC2007? Rosetta Code didn't exist in 2006. Anyway, glad to hear that people talk about the site. --Short Circuit 09:23, 30 November 2007 (MST)

Yes, OSDC2007. Glad to be here... I have been looking for something like this for some time.

NevilleDNZ 18:48, 30 November 2007 (MST)

BTW: Can you give me a sorted ranking of the most looked at pages in Category:Programming Tasks, and Category:Solutions by Programming Task pages, and I will start with these first.

NevilleDNZ 18:56, 30 November 2007 (MST)

This is the best I've got. --Short Circuit 19:11, 30 November 2007 (MST)

That is perfect... NevilleDNZ 19:15, 30 November 2007 (MST)

None[edit]

Hi Neville, In your None examples it may be best to cut short the additional discussion of Pythons boolean false values as the section is over-long and not about False/True. You could do one example of testing for None and explaining the difference between if x is (not) None: and if x: when x has value None as it is a useful distinction in Python when testing for None; but omitting the false_list example would usefully shorten the entry. --Paddy3118 06:51, 21 October 2008 (UTC)

Algol language file[edit]

Would you be interested in providing a GeSHi language file for ALGOL68, for inclusion into RC's and, upstream, GeSHi? Here's an example of one that MBishop created yesterday. --Short Circuit 16:20, 11 February 2009 (UTC)

A good idea. I'll take a look at it. NevilleDNZ 20:29, 11 February 2009 (UTC)

Any progress on this? I thought about creating one, but Algol68 has a fairly large group of reserved words, and it's formatting is confusing (that is, all the different systems doing bold and such). --Mbishop 19:20, 10 September 2009 (UTC)

Is it normal Algol68 syntax highlighter puts a ">" before ( or ) in some context? It is rather confusing since the codes won't work as they are (at least with Algol68g) --ShinTakezou 16:23, 12 June 2010 (UTC)

Indeed, the ">" is wrong. I've taken a quick look to see why GeShi/algol68.php is inserting the ">" and it is not immediately obvious. I will take another look at it today. -- NevilleDNZ 21:10, 12 June 2010 (UTC)

Number Names??[edit]

Hi, Could you add a task description to this please. Thanks. --Paddy3118 11:48, 20 March 2010 (UTC)

The description just added by User:Underscore looks good enough. ThanX NevilleDNZ 01:49, 22 March 2010 (UTC)

Use of works with template[edit]

Re [1]: The works with template should be used only if the example uses some sort of "nonstandard" features or runs into common implementation bugs. If the example works with any correct implementation of the language specification, and correct implementations are not uncommon, then works with should be omitted. —Kevin Reid 13:41, 2 May 2010 (UTC)

It seems to me that if (when) the 'standard' implementation of a language evolves, then various code specimens will spontaneously break. This kind of "bit rot" can be avoided by providing a simple test case, and a hint to which was the "works with"/"last known good" implementation/release. This is particularly important with languages that are evolving. But even well defined and static languages there are areas that have been missed by the standard definition (IF they even have a standard definition). These issues will only be discovered if the somewhere there is reference to which implementation/release was used when the code specimen was submitted.

Also as the code is run on other CPU, then the code specimens can break, or output results may actually be required to vary. Again a hint as to the implementation/CPU should be hinted out somewhere.

Previously I have had numerous problems with python code samples that use the newer language features. C code often generates different results on 8 bit CPUs with 16 bit ints. I have encountered a couple of examples with Algol68.

It reminds me a bit of the "lighthouse urban myth". Your call!

NevilleDNZ 14:21, 2 May 2010 (UTC)

Algol68 and more[edit]

Algol68 is one of those I've installed but not frequented at all... still. I intend to get a taste of it, soon or later (hopely not too later). I will use the manuals you've given the links of for sure! Thank you (sometimes it is hard to find valuable material googling/other-SE-ing here and there)! In the old ancient beautiful days I knew something like 50 kanji (surely not more) and many words (I am not able to quantify them) using only kana, so I couldn't read them on newspaper or alike, without furigana (kana added over kanji to let people that do not know them to be able to read them), while all this knowledge altogether was not enough to write anything but small childish sentences... Now time's passed, and I can remember very few things (forgot almost all kanji, a lot of words and many grammar things...). I still like japanese... it is in my list of language I would like to learn for real in another life.

Currently I am taking a look at MIPS (to add it along side to MMIX), but when I get satisfied (or tired) of it, I will pick Algol68 and see what I can do with it! —ShinTakezou 18:37, 8 June 2010 (UTC)

Puzzle code suggestion: Electronic Telomerase[edit]

I'm not sure if there is a solution, but...

Wrap specimen of code in a quine within built in limit on reproduction.

Details:

This Electronic Telomerase code operates in two modes - Mitosis, and Meiosis:

Mitosis - When standard input is empty:

 1st. run code specimen (genome).
 2nd. Decrement the internal count-down counter.
   - IF counter is > 0 THEN behave like the original quine 
   - ELSE some appropriate form of death - eg empty program? FI

Meiosis - When standard input is not empty:

 1st. replace the code specimen with the new genome (stand input).
 2nd. reset the internal count-down counter to 255
 3rd. otherwise behaves like a regular quine.

Ideally, this code is portable to Non ASCII run time environments.

Test case suggestion:

Initial Mitosis yields a "# hello, world #" comment.
Run 3 times...
First Meiosis test replaces "# hello world #" with a "# G'day, mate! #" comment.
Run in Mitosis 3 times...
Second Meiosis test replaces "# G'day, mate! #" with "# Top o' the mornin' to you! #" comment.
Run in Mitosis 255 times...

etc...

NevilleDNZ 02:48, 19 July 2010 (UTC)

Copying examples from Wikipedia[edit]

Hi NevilleDNZ. Unless you have permission from the authors, I don't think you can neccessarily copy examples from wp for this site. Authorship is lost for example. --Paddy3118 (talk) 18:23, 2 April 2013 (UTC)

Fair/interesting point... (as others have said) this code is from "old" wikipedia c. 2007, maybe before a license change. I will keep a watch at Talk:Currying for developments. NevilleDNZ (talk) 01:40, 3 April 2013 (UTC)

User talk:Short Circuit = Big ThanX for RC, and for taking the time to keep it fresh.[edit]

Hey User:Short Circuit... a big thanks for Rosettacode.org, it is magic seeing new tasks and corresponding contributions magically appear every day. And I'll not forget someone has to do all the house keeping, updating software, and removing spam (sooo... maanyyyy spammmmmmers!!!! May they be minced, boiled and canned).

Big ThanX for RC, and for taking the time to keep it fresh.

NevilleDNZ (talk) 01:45, 20 May 2013 (UTC)

Greetings! ...and I also want to add my appreciation. Not sure this is the proper forum for random chitchat. --Loren (talk) 16:51, 24 September 2013 (UTC)


Spam[edit]

If you see spam, you can add a {{remove}} template for the admins. I also delete the links, but I leave the content so the admins can verify that it was indeed spam. Fwend (talk) 11:36, 27 May 2013 (UTC)

OK... The spammers seem to have gotten a bit carried away... I wish they actually contributed some code samples before they spammed... NevilleDNZ (talk) 12:18, 28 May 2013 (UTC)

Earl Hines, Teddy Wilson, Art Tatum - "Rosetta" - A Comparison[edit]

https://www.youtube.com/watch?v=ufvOSpP3L7o

Enjoy ... NevilleDNZ (talk) 00:34, 14 November 2014 (UTC)