User talk:NevilleDNZ: Difference between revisions

(Popular pages)
 
(26 intermediate revisions by 8 users not shown)
Line 14:
[[User:NevilleDNZ|NevilleDNZ]] 18:56, 30 November 2007 (MST)
:[http://www.rosettacode.org/rosettacode/w/index.php?title=Special:Popularpages This is the best I've got.] --[[User:Short Circuit|Short Circuit]] 19:11, 30 November 2007 (MST)
 
That is perfect... [[User:NevilleDNZ|NevilleDNZ]] 19:15, 30 November 2007 (MST)
 
== None ==
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 <code>if x is (not) None:</code> and <code>if x:</code> 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. --[[User:Paddy3118|Paddy3118]] 06:51, 21 October 2008 (UTC)
 
== Algol language file ==
 
Would you be interested in providing a GeSHi language file for ALGOL68, for inclusion into RC's and, upstream, GeSHi? [http://mbishop.esoteriq.org/stuff/oberon2.php.txt Here's an example] of one that MBishop created yesterday. --[[User:Short Circuit|Short Circuit]] 16:20, 11 February 2009 (UTC)
 
A good idea. I'll take a look at it. [[User:NevilleDNZ|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). --[[User:Mbishop|Mbishop]] 19:20, 10 September 2009 (UTC)
 
: Is it normal Algol68 syntax highlighter puts a "&gt;" before ( or ) in some context? It is rather confusing since the codes won't work as they are (at least with Algol68g) --[[User:ShinTakezou|ShinTakezou]] 16:23, 12 June 2010 (UTC)
 
Indeed, the "&gt;" is wrong. I've taken a quick look to see why GeShi/algol68.php is inserting the "&gt;" and it is not immediately obvious. I will take another look at it today. -- [[User:NevilleDNZ|NevilleDNZ]] 21:10, 12 June 2010 (UTC)
 
==Number Names??==
Hi, Could you add a task description to this please. Thanks. --[[User:Paddy3118|Paddy3118]] 11:48, 20 March 2010 (UTC)
 
The description just added by [[User:Underscore]] looks good enough. ThanX [[User:NevilleDNZ|NevilleDNZ]] 01:49, 22 March 2010 (UTC)
 
== Use of works with template ==
 
Re [http://rosettacode.org/mw/index.php?title=Roots_of_unity&diff=81425&oldid=prev]: 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. —[[User:Kevin Reid|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 "[http://www.navy.mil/navydata/questions/litehuse.html lighthouse urban myth]". Your call!
 
[[User:NevilleDNZ|NevilleDNZ]] 14:21, 2 May 2010 (UTC)
 
== Algol68 and more ==
 
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! &mdash;[[User:ShinTakezou|ShinTakezou]] 18:37, 8 June 2010 (UTC)
 
== Puzzle code suggestion: Electronic Telomerase==
 
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...
 
[[User:NevilleDNZ|NevilleDNZ]] 02:48, 19 July 2010 (UTC)
 
==Copying examples from Wikipedia==
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. --[[User:Paddy3118|Paddy3118]] ([[User talk: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. [[User:NevilleDNZ|NevilleDNZ]] ([[User talk: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. ==
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.
 
[[User:NevilleDNZ|NevilleDNZ]] ([[User talk: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. --[[User:Loren|Loren]] ([[User talk:Loren|talk]]) 16:51, 24 September 2013 (UTC)
 
 
== Spam ==
If you see spam, you can add a {{tmpl|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. [[User:Fwend|Fwend]] ([[User talk: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... [[User:NevilleDNZ|NevilleDNZ]] ([[User talk:NevilleDNZ|talk]]) 12:18, 28 May 2013 (UTC)
 
== Earl Hines, Teddy Wilson, Art Tatum - "Rosetta" - A Comparison ==
 
https://www.youtube.com/watch?v=ufvOSpP3L7o
 
Enjoy ... [[User:NevilleDNZ|NevilleDNZ]] ([[User talk:NevilleDNZ|talk]]) 00:34, 14 November 2014 (UTC)