Rosetta Code:Village Pump/Old main talk: Difference between revisions

From Rosetta Code
Content added Content deleted
mNo edit summary
Line 1: Line 1:
==Syntax highlighting==
[http://helmed.info/topic/elenco-hotel/ elenco hotel lisbona] [http://helmed.info/topic/breathe-easy/ breathe easy base] [http://amohseni.info/img/styles/vaio-mouse/ vaio mouse e tastiere] [http://davte.info/library/html/il-divo.htm il divo] [http://chaba.info/ginnastica-artistica/ ginnastica artistica] [http://bloprofeldi.info/lib/non-lo.htm non lo fai per amore] [http://saibso.org/driver-flash.htm driver flash disk] [http://helmed.info/topic/georgos-mazonakis/ georgos mazonakis mp3] [http://saibso.org/de-noche.htm de noche en la ciudad] [http://saibso.org/image.htm image] [http://amohseni.info/img/styles/msn-com/ msn com] [http://davte.info/library/html/seagate-momentus.htm seagate momentus 4200 2] [http://psisemiya.com/images/small/liceo-e/ liceo e pascal] [http://psisemiya.com/images/small/weasle/ weasle] [http://nobinters.org/condizionatori-carrier.htm condizionatori carrier] [http://chaba.info/bloodrayne-arriva/ bloodrayne arriva su psp] [http://bloprofeldi.info/lib/home-theater.htm home theater bose] [http://helmed.info/topic/www-cgilscuola/ www cgilscuola it rieti] [http://chaba.info/fisio/ fisio 630] [http://bloprofeldi.info/lib/pensioni-rimini.htm pensioni rimini] [http://saibso.org/figa-nera.htm figa nera] [http://bloprofeldi.info/lib/it-s.htm it s wonderful world] [http://saibso.org/data-backup.htm data backup] [http://chaba.info/pady-pank/ pady pank] [http://ashythro.info/library/html/everything-that/ everything that glitters] [http://davte.info/library/html/classe-.htm classe 15 con attestato di rischio] [http://amohseni.info/img/styles/socket-sdio/ socket sdio] [http://bloprofeldi.info/lib/haiducci-dragosta.htm haiducci dragosta din tei] [http://kinunia.cn/trombone-pistoni.htm trombone pistoni] [http://bloprofeldi.info/lib/un-caso.htm un caso fortunato] [http://amohseni.info/img/styles/ford-racing/ ford racing 2] [http://bloprofeldi.info/lib/acer-mb.htm acer 512mb usb mp3] [http://psisemiya.com/images/small/lexus-ls/ lexus ls 400] [http://amohseni.info/img/styles/ministero-per/ ministero per i beni e le attivita culturali] [http://nobinters.org/nikon-f.htm nikon f-100] [http://kinunia.cn/he-shape.htm he shape of my hear] [http://saibso.org/luan-zhegu.htm luan zhegu] [http://kinunia.cn/stampanti-hp.htm stampanti hp laserjet 2100] [http://helmed.info/topic/giochi-del/ giochi del mare] [http://davte.info/library/html/istituti-paritari.htm istituti paritari a siracusa] [http://saibso.org/saalian.htm saalian] [http://kinunia.cn/bilabiale.htm bilabiale] [http://bloprofeldi.info/lib/gianna-singole.htm gianna singole] [http://ustall.org/web/la-situazione.htm la situazione di advance wars] [http://ustall.org/web/pioneer-dv.htm pioneer dv 380-s] [http://psisemiya.com/images/small/hotspot/ hotspot] [http://kinunia.cn/super-filmotheque.htm super filmotheque] [http://davte.info/library/html/lettore-mp.htm lettore mp3 registratore 1gb] [http://kinunia.cn/konica-minolta.htm konica minolta dimage 7i] [http://psisemiya.com/images/small/servants/ servants] [http://helmed.info/topic/phone-center/ phone center servizi] [http://nobinters.org/dimage-e.htm dimage e 323 konica minolta] [http://helmed.info/topic/il-mito/ il mito di protagora platone] [http://helmed.info/topic/dfi-nf/ dfi nf4 infinity] [http://davte.info/library/html/microsoft-money.htm microsoft money 2005] [http://amohseni.info/img/styles/creative-lettore/ creative lettore mp3 muvo tx se] [http://helmed.info/topic/alaia-vestito/ alaia vestito] [http://nobinters.org/giorgia-palmas.htm giorgia palmas fakes] [http://helmed.info/topic/www-stronng/ www stronng com] [http://davte.info/library/html/news-furgoni.htm news furgoni mercedes benz] [http://helmed.info/topic/aoc-/ aoc 19 monitor] [http://nobinters.org/supermerca.htm supermerca 2] [http://psisemiya.com/images/small/le-ragazze/ le ragazze del wrestling] [http://saibso.org/ragazzo-bollate.htm ragazzo bollate] [http://davte.info/library/html/justin-timberlake.htm justin timberlake like i love you] [http://helmed.info/topic/grand-hotel/ grand hotel aston] [http://kinunia.cn/maniglie-maniglieria.htm maniglie maniglieria] [http://nobinters.org/bci.htm bci 3000] [http://psisemiya.com/images/small/cd-doobie/ cd doobie brothers] [http://helmed.info/topic/f-c/ f c barcelona] [http://bloprofeldi.info/lib/last-minut.htm last minut com it] [http://ustall.org/web/el-carro.htm el carro de mustang] [http://kinunia.cn/pavo.htm pavo] [http://davte.info/library/html/album-digitale.htm album digitale] [http://ustall.org/web/toner-type.htm toner type 1220d] [http://chaba.info/video-di/ video di carolina marconi] [http://ashythro.info/library/html/maglie-datch/ maglie datch] [http://ustall.org/web/snuff-machinery.htm snuff machinery] [http://chaba.info/portoni-sezionali/ portoni sezionali] [http://saibso.org/asus-pda.htm asus pda] [http://kinunia.cn/carmel-ristorante.htm carmel ristorante] [http://chaba.info/o-zone/ o zone dragostea din tei video] [http://bloprofeldi.info/lib/toshiba-r.htm toshiba r100] [http://saibso.org/card-reader.htm card reader 3 5] [http://psisemiya.com/images/small/emily-transex/ emily transex] [http://chaba.info/i-cavalieri/ i cavalieri dello zodiaco - la leggenda] [http://ustall.org/web/coldplay-video.htm coldplay video] [http://psisemiya.com/images/small/colin-macrae/ colin macrae rally] [http://davte.info/library/html/wheda.htm wheda] [http://ustall.org/web/rimorchio-usati.htm rimorchio usati] [http://ustall.org/web/codici-sblocco.htm codici sblocco telefonini] [http://bloprofeldi.info/lib/toyota-prius.htm toyota prius problemi] [http://nobinters.org/strictly-come.htm strictly come dancing] [http://chaba.info/copertina-di/ copertina di fifa2005] [http://davte.info/library/html/flaminia.htm flaminia] [http://ustall.org/web/du-parc.htm du parc] [http://ustall.org/web/coco-n.htm coco n club] [http://amohseni.info/img/styles/photo-gratis/ photo gratis con vagina] [http://chaba.info/rom-di/ rom di killer instinct] [http://psisemiya.com/images/small/microonde-panasonic/ microonde panasonic forno ventilato] [http://psisemiya.com/images/small/tutto-citta/ tutto citta roma] [http://saibso.org/www-webpatente.htm www webpatente it] [http://ustall.org/web/venditori-tecnici.htm venditori tecnici (regione piemonte - torino provincia)] [http://chaba.info/xmen-/ x-men 1.5 - x-treme edition] [http://psisemiya.com/images/small/amd-/ amd 64 4400 x2] [http://davte.info/library/html/cuffie-musica.htm cuffie musica] [http://ustall.org/web/jotuni-maria.htm jotuni, maria] [http://amohseni.info/img/styles/hard-disk/ hard disk serial ata 150 200gb] [http://psisemiya.com/images/small/bassa-danza/ bassa danza] [http://davte.info/library/html/wave-master.htm wave master] [http://davte.info/library/html/agriturismo-mugello.htm agriturismo mugello] [http://helmed.info/topic/adult-entertainment/ adult entertainment] [http://helmed.info/topic/ennio-morricone/ ennio morricone] [http://nobinters.org/valore-auto.htm valore auto usata eurotax] [http://psisemiya.com/images/small/comune-milano/ comune milano] [http://ustall.org/web/locchio-della.htm locchio della spirale] [http://psisemiya.com/images/small/daryl-hannah/ daryl hannah playboy] [http://amohseni.info/img/styles/orient-automatico/ orient automatico] [http://chaba.info/lei/ lei 55] [http://ustall.org/web/cicciolina-e.htm cicciolina e il suo cavallo] [http://psisemiya.com/images/small/testo-from/ testo from sarah with love] [http://amohseni.info/img/styles/sposati/ sposati] [http://psisemiya.com/images/small/lucarelli-selvaggia/ lucarelli selvaggia] [http://chaba.info/repent-walpurgis/ repent walpurgis] [http://saibso.org/vacanza-estate.htm vacanza estate 2004 sardegna] [http://nobinters.org/www-dabizzi.htm www dabizzi it] [http://ustall.org/web/auricolare-bluetooth.htm auricolare bluetooth per palmari] [http://helmed.info/topic/saitek-impact/ saitek impact x6-38u dual analog pad] [http://kinunia.cn/palestra-milano.htm palestra milano angelo caroli club] [http://ustall.org/web/i-ricordi.htm i ricordi e le persone] [http://bloprofeldi.info/lib/noemi-gonzales.htm noemi gonzales] [http://nobinters.org/eva-ferrari.htm eva ferrari] [http://davte.info/library/html/labrador-regalo.htm labrador regalo] [http://nobinters.org/canon-digital.htm canon digital ixus ii] [http://amohseni.info/img/styles/petrucciani/ petrucciani] [http://nobinters.org/bassey.htm bassey] [http://helmed.info/topic/non-me/ non me lo so spiegare di tiziano ferro] [http://psisemiya.com/images/small/inter-diretta/ inter diretta] [http://saibso.org/wrongful-death.htm wrongful death] [http://kinunia.cn/ragazzo-orbetello.htm ragazzo orbetello] [http://amohseni.info/img/styles/keane-live/ keane live recordings 2004] [http://psisemiya.com/images/small/de-maria/ de maria c srl] [http://kinunia.cn/preouts.htm preouts] [http://bloprofeldi.info/lib/porno-black.htm porno black] [http://bloprofeldi.info/lib/corse-dei.htm corse dei cavalii] [http://chaba.info/software-download/ software download] [http://nobinters.org/caught-in.htm caught in a middle] [http://amohseni.info/img/styles/kyosho-caliber/ kyosho caliber] [http://chaba.info/www-belgacom/ www belgacom be] [http://bloprofeldi.info/lib/linksys-adattatore.htm linksys adattatore] [http://chaba.info/ftry/ ftry] [http://psisemiya.com/images/small/acer-lcd/ acer lcd al1715] [http://chaba.info/gioco-di/ gioco di barbie] [http://nobinters.org/aspirapolvere-scope.htm aspirapolvere scope elettriche] [http://ustall.org/web/txp-l.htm t2xp l] [http://bloprofeldi.info/lib/testo-canzone.htm testo canzone thank you di jamelia] [http://helmed.info/topic/i-don/ i don t want to miss a think] [http://nobinters.org/mapsource-points.htm mapsource points of interest] [http://psisemiya.com/images/small/laurax-it/ laurax it] [http://psisemiya.com/images/small/ogni-volta/ ogni volta di vasco] [http://saibso.org/workcentre-pe.htm workcentre pe16] [http://saibso.org/mx-vs.htm mx vs atv unleashed] [http://amohseni.info/img/styles/amateur-anal/ amateur anal] [http://ashythro.info/library/html/fotos-perreo/ fotos perreo] [http://amohseni.info/img/styles/www-rinnovamento/ www rinnovamento nello spirito it] [http://helmed.info/topic/hit-mania/ hit mania estate 2004] [http://helmed.info/topic/bagnati/ bagnati] [http://ashythro.info/library/html/bellissime-ragazze/ bellissime ragazze] [http://saibso.org/lupo-.htm lupo 1 4 tdi] [http://kinunia.cn/efilm-memory.htm e-film memory card] [http://amohseni.info/img/styles/summer-jam/ summer jam music] [http://nobinters.org/tessennano.htm tessennano] [http://helmed.info/topic/voli-per/ voli per la sardegna] [http://psisemiya.com/images/small/route-/ route 66 kit] [http://psisemiya.com/images/small/nativita/ nativita] [http://davte.info/library/html/gummi.htm gummi] [http://psisemiya.com/images/small/fenny-bravo/ fenny bravo] [http://bloprofeldi.info/lib/affitto-casa.htm affitto casa vacanza sirmione] [http://amohseni.info/img/styles/compilation-festival/ compilation festival bar] [http://amohseni.info/img/styles/tesi-scienze/ tesi scienze statistiche] [http://chaba.info/caratteristiche-ottimo/ caratteristiche ottimo amplificatore per hi fi] [http://ustall.org/web/digiuno.htm digiuno] [http://kinunia.cn/gianrusso.htm gianrusso] [http://chaba.info/age-of/ age of space] [http://psisemiya.com/images/small/lettore-mp/ lettore mp3 fm mmc] [http://chaba.info/yo-no/ yo no soy tu marido] [http://saibso.org/cd-danza.htm cd danza] [http://nobinters.org/ford-livorno.htm ford livorno] [http://bloprofeldi.info/lib/ditta-fantozzi.htm ditta fantozzi] [http://kinunia.cn/altavilla.htm altavilla] [http://bloprofeldi.info/lib/jessica-ogle.htm jessica ogle] [http://amohseni.info/img/styles/seggiolino-per/ seggiolino per auto chicco] [http://davte.info/library/html/luccio-dalla.htm luccio dalla] [http://ashythro.info/library/html/le-nuove/ le nuove foto di costantino e daniele] [http://saibso.org/sony-vaio.htm sony vaio v2s] [http://nobinters.org/batteria-universale.htm batteria universale] [http://saibso.org/lettori-cd.htm lettori cd e radio] [http://nobinters.org/agenzia-delle.htm agenzia delle entrate lecco] [http://bloprofeldi.info/lib/battista.htm battista] [http://ashythro.info/library/html/double-layer/ double layer portatili] ==Syntax highlighting==


It took a month, but we now have [[Help:syntaxHighlighter Support|Syntax Highlighting]]! It would be very helpful if people crawled through all the programming examples on Rosetta Code and instituted the formatting changes. --[[User:Short Circuit|Short Circuit]] 16:50, 20 February 2007 (EST)
It took a month, but we now have [[Help:syntaxHighlighter Support|Syntax Highlighting]]! It would be very helpful if people crawled through all the programming examples on Rosetta Code and instituted the formatting changes. --[[User:Short Circuit|Short Circuit]] 16:50, 20 February 2007 (EST)
:And...Syntax highlighting support has been removed. It worked poorly for each tested language, and didn't support many languages already in place on Rosetta code. --[[User:Short Circuit|Short Circuit]] 10:28, 22 February 2007 (EST)
:And...Syntax highlighting support has been removed. It worked poorly for each tested language, and didn't support many languages already in place on Rosetta code. --[[User:Short Circuit|Short Circuit]] 10:28, 22 February 2007 (EST)
::Damn... That sucks... Well, I guess I'll see what I can do, unfortunately, I changed to a new computer, and lost everything I've done 'till now. But well... --[[User:CrashandDie|CrashandDie]] 02:44, 6 March 2007 (EST)
::Damn... That sucks... Well, I guess I'll see what I can do, unfortunately, I changed to a new computer, and lost everything I've done 'till now. But well... --[[User:CrashandDie|CrashandDie]] 02:44, 6 March 2007 (EST)
:::Hey, it's good to hear from you. Might I recommend you try building a MediaWiki extension, rather than a bot? The highlighting extension we tried last month worked by adding
:::Hey, it's good to hear from you. Might I recommend you try building a MediaWiki extension, rather than a bot? The highlighting extension we tried last month worked by adding <syntaxHighlighting language="blah"> tags around the code block, leaving the code easily editable. I don't think it would be easy to do that using a bot that dropped in <font> tags. --[[User:Short Circuit|Short Circuit]] 02:52, 6 March 2007 (EST)
::::Ok, I'll look into that, I'll probably just mod the actual syntaxhighlighting, I'll get the sources from mediawiki and start working on it as soon as I have some time to spare... Cheers --[[User:CrashandDie|CrashandDie]] 10:33, 12 March 2007 (EDT)

==Copying from Wikipedia==

As you may already know, wikipedia supplies samples of code in 'pseudocode'. Would it make sense to copy these across from wiki to here (placed in its own 'pseudocode language section). Maybe then others may use these as a base for translating them into one of the 'usable' codes. There shouldn't be any legal issues in doing this, should there? --[[User:Oatzy|Oatzy]] 18:47, 25 January (GMT)
:As a blanket rule, if you copy from Wikipedia, include a citation with a link to the specific version of the page copied from. I don't know that the GFDL requires it, but ''I'' will. :-) I'll mention this in the Copyrights page. --[[User:Short Circuit|Short Circuit]] 13:57, 25 January 2007 (EST)

== Things needed ==

1) A village pump type page (like wikipedia has) where this kind of stuff can be put

2) Better segregation of language types. For instance, is LaTeX really a programming language? As a markup language, it's as much a programming language as HTML is IMO. (Of course, HTML could be added instead), should completely different codes be on their own page?

3) Better guidelines as to what code should be placed. Is something that will run on it's own required, or just enough lines to complete the task (for instance, the part of a C++ program which will print "goodbye world" is: std::cout "goodbye world\n"; but that wouldn't compile on its own. On the other hand a BASIC compiler (or interpreter) will complete the task with: print "goodbye world", but it wouldn't really be a complete program (missing a line number and 'end' or 'system' at the end). So should people place: Only the code that completes the requirements? or; Enough code to get it to compile, dependent on how lax the compiler in question is? or; A program that is completed to specifications and accomplishes the task?

4) A copy of (or a link to) the GFDL1.2 that is easily visible.

[[User:62.252.32.16|62.252.32.16]] 17:57, 22 January 2007 (EST)

:1) Click on Feedback on the left.

:2) Once I get time to work on categorization, that'll happen. I need more people to step up and work on keeping style standards high.

:3) I'll work on clarifying the tasks to that end. Something like [[Control Structures]] clearly doesn't require a full program, while something like [[File I/O]] does.

:4) Click on the GNU FDL icon in the bottom-left corner of any page. --[[User:Short Circuit|Short Circuit]] 12:39, 23 January 2007 (EST)

===ParserFunctions===

Can we get [http://meta.wikimedia.org/wiki/ParserFunctions ParserFunctions] installed? It would really help with making more flexible templates. --[[User:Bob9000|Bob9000]] 00:00, 1 February 2007 (EST)
:Done. Enjoy. --[[User:Short Circuit|Short Circuit]] 09:47, 1 February 2007 (EST)

== Solution to linkspam? ==

At last, there has been a lot of linkspam vandalism. Those linkspams should be easy to automatically identify because they insert many links at once. Since valid external links are rare on this site, and many external links in one edit are virtually never done, maybe a simple rule to fight linkspam would be to automatically reject any change which introduces more than, say, three external links at once. This shouldn't be too strict for normal usage (if at some rare occurence you really need to insert more than three links, you can simply do two edits in a row). You also can except admins from that rule (nobody gets admin through an automatic procedure, thus spammers will never get admin rights).
:A simpler change would be to only allow logged-in users to make changes. I'm working out how to do this. It's not, unfortunately, a built-in option in Mediawiki. --[[User:Short Circuit|Short Circuit]] 09:32, 10 May 2007 (EDT)

== Spam wave prediction ==

There has been disturbing activity lately ("+" killers appeared as logged-in users with apparently randomly generated names). Given that similar activity from IPs happened before the spam wave which led to disallowing anonymous editing, and given that some spamming was indeed combined with removing "+" signs, I fear that's a testing of spambots for a new spam wave. Maybe creating a new account should be protected by Captchas.
: I've been working on some new kaptcha's (ideas), drop me an email or edit my talk page if you're interested... --[[User:CrashandDie|CrashandDie]] 07:34, 2 July 2007 (EDT)

Revision as of 22:23, 16 August 2007

Syntax highlighting

It took a month, but we now have Syntax Highlighting! It would be very helpful if people crawled through all the programming examples on Rosetta Code and instituted the formatting changes. --Short Circuit 16:50, 20 February 2007 (EST)

And...Syntax highlighting support has been removed. It worked poorly for each tested language, and didn't support many languages already in place on Rosetta code. --Short Circuit 10:28, 22 February 2007 (EST)
Damn... That sucks... Well, I guess I'll see what I can do, unfortunately, I changed to a new computer, and lost everything I've done 'till now. But well... --CrashandDie 02:44, 6 March 2007 (EST)
Hey, it's good to hear from you. Might I recommend you try building a MediaWiki extension, rather than a bot? The highlighting extension we tried last month worked by adding <syntaxHighlighting language="blah"> tags around the code block, leaving the code easily editable. I don't think it would be easy to do that using a bot that dropped in <font> tags. --Short Circuit 02:52, 6 March 2007 (EST)
Ok, I'll look into that, I'll probably just mod the actual syntaxhighlighting, I'll get the sources from mediawiki and start working on it as soon as I have some time to spare... Cheers --CrashandDie 10:33, 12 March 2007 (EDT)

Copying from Wikipedia

As you may already know, wikipedia supplies samples of code in 'pseudocode'. Would it make sense to copy these across from wiki to here (placed in its own 'pseudocode language section). Maybe then others may use these as a base for translating them into one of the 'usable' codes. There shouldn't be any legal issues in doing this, should there? --Oatzy 18:47, 25 January (GMT)

As a blanket rule, if you copy from Wikipedia, include a citation with a link to the specific version of the page copied from. I don't know that the GFDL requires it, but I will. :-) I'll mention this in the Copyrights page. --Short Circuit 13:57, 25 January 2007 (EST)

Things needed

1) A village pump type page (like wikipedia has) where this kind of stuff can be put

2) Better segregation of language types. For instance, is LaTeX really a programming language? As a markup language, it's as much a programming language as HTML is IMO. (Of course, HTML could be added instead), should completely different codes be on their own page?

3) Better guidelines as to what code should be placed. Is something that will run on it's own required, or just enough lines to complete the task (for instance, the part of a C++ program which will print "goodbye world" is: std::cout "goodbye world\n"; but that wouldn't compile on its own. On the other hand a BASIC compiler (or interpreter) will complete the task with: print "goodbye world", but it wouldn't really be a complete program (missing a line number and 'end' or 'system' at the end). So should people place: Only the code that completes the requirements? or; Enough code to get it to compile, dependent on how lax the compiler in question is? or; A program that is completed to specifications and accomplishes the task?

4) A copy of (or a link to) the GFDL1.2 that is easily visible.

62.252.32.16 17:57, 22 January 2007 (EST)

1) Click on Feedback on the left.
2) Once I get time to work on categorization, that'll happen. I need more people to step up and work on keeping style standards high.
3) I'll work on clarifying the tasks to that end. Something like Control Structures clearly doesn't require a full program, while something like File I/O does.
4) Click on the GNU FDL icon in the bottom-left corner of any page. --Short Circuit 12:39, 23 January 2007 (EST)

ParserFunctions

Can we get ParserFunctions installed? It would really help with making more flexible templates. --Bob9000 00:00, 1 February 2007 (EST)

Done. Enjoy. --Short Circuit 09:47, 1 February 2007 (EST)

Solution to linkspam?

At last, there has been a lot of linkspam vandalism. Those linkspams should be easy to automatically identify because they insert many links at once. Since valid external links are rare on this site, and many external links in one edit are virtually never done, maybe a simple rule to fight linkspam would be to automatically reject any change which introduces more than, say, three external links at once. This shouldn't be too strict for normal usage (if at some rare occurence you really need to insert more than three links, you can simply do two edits in a row). You also can except admins from that rule (nobody gets admin through an automatic procedure, thus spammers will never get admin rights).

A simpler change would be to only allow logged-in users to make changes. I'm working out how to do this. It's not, unfortunately, a built-in option in Mediawiki. --Short Circuit 09:32, 10 May 2007 (EDT)

Spam wave prediction

There has been disturbing activity lately ("+" killers appeared as logged-in users with apparently randomly generated names). Given that similar activity from IPs happened before the spam wave which led to disallowing anonymous editing, and given that some spamming was indeed combined with removing "+" signs, I fear that's a testing of spambots for a new spam wave. Maybe creating a new account should be protected by Captchas.

I've been working on some new kaptcha's (ideas), drop me an email or edit my talk page if you're interested... --CrashandDie 07:34, 2 July 2007 (EDT)