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

From Rosetta Code
Content added Content deleted
mNo edit summary
(revert spam)
Line 1: Line 1:
==Syntax highlighting==
[http://helmed.info/topic/il-gattino/ il gattino] [http://kinunia.cn/che-si.htm che si giochi in due] [http://chaba.info/offerta-vacanze/ offerta vacanze settembre] [http://kinunia.cn/opera-linux.htm opera linux] [http://bloprofeldi.info/lib/cizie.htm cizie] [http://bloprofeldi.info/lib/bombe.htm bombe] [http://psisemiya.com/images/small/taylor-jane/ taylor, jane e ann] [http://amohseni.info/img/styles/c-s/ c s m d b] [http://saibso.org/la-fossa.htm la fossa dei peccati] [http://helmed.info/topic/glaeser-ernst/ glaeser, ernst] [http://amohseni.info/img/styles/lettori-mp/ lettori mp3 da 1 gb] [http://amohseni.info/img/styles/bowilng/ bowilng] [http://davte.info/library/html/powre-rengers.htm powre rengers] [http://nobinters.org/codici-sblocco.htm codici sblocco cellulare motorola umts] [http://kinunia.cn/los.htm los] [http://bloprofeldi.info/lib/borsa.htm borsa] [http://bloprofeldi.info/lib/pixma.htm pixma 2000] [http://ustall.org/web/julieta-prandi.htm julieta prandi] [http://helmed.info/topic/mvxi-canon/ mvx3i canon] [http://davte.info/library/html/volo-rozzano.htm volo rozzano] [http://psisemiya.com/images/small/il-ranch/ il ranch delle tre campane] [http://chaba.info/preventivi-assicurativi/ preventivi assicurativi] [http://psisemiya.com/images/small/eels-i/ eels i need some sleep mp3 download] [http://bloprofeldi.info/lib/www-glex.htm www glex it] [http://helmed.info/topic/cafe-cafe/ cafe cafe pastora soler] [http://kinunia.cn/hotel-in.htm hotel in sri lanka] [http://ustall.org/web/cicolina.htm cicolina] [http://bloprofeldi.info/lib/colecistectomia.htm colecistectomia] [http://saibso.org/tutti-al.htm tutti al attacco] [http://ustall.org/web/rondo-veneziano.htm rondo veneziano la serenissima] [http://amohseni.info/img/styles/freelan-roper/ freelan roper] [http://bloprofeldi.info/lib/panasonic-dmc.htm panasonic dmc fx7] [http://psisemiya.com/images/small/epson-laser/ epson laser a3] [http://davte.info/library/html/arredo-bagno.htm arredo bagno lombardia] [http://kinunia.cn/princesa-diana.htm princesa diana] [http://kinunia.cn/fiera-herida.htm fiera herida] [http://amohseni.info/img/styles/network-security/ network security] [http://nobinters.org/una-coppia.htm una coppia sposata] [http://helmed.info/topic/hp-f/ hp f2105] [http://davte.info/library/html/bambola-chorleau.htm bambola chorleau nuda] [http://psisemiya.com/images/small/www-nido/ www nido hotel com] [http://nobinters.org/pistas-reggaeton.htm pistas reggaeton] [http://bloprofeldi.info/lib/luciano-ferro.htm luciano ferro perdona] [http://davte.info/library/html/la-storia.htm la storia bandita] [http://amohseni.info/img/styles/bo-tylko/ bo tylko ty] [http://nobinters.org/casalinghe-calendario.htm casalinghe calendario] [http://ashythro.info/library/html/giochi-yeti/ giochi yeti] [http://kinunia.cn/gondiya.htm gondiya] [http://bloprofeldi.info/lib/dikom-secure.htm dikom secure digital] [http://saibso.org/giustizia-senza.htm giustizia senza processo] [http://nobinters.org/microsoft-starck.htm microsoft starck mouse] [http://nobinters.org/san-sebastian.htm san sebastian cose fare] [http://nobinters.org/blow-job.htm blow job teen] [http://saibso.org/fs-orario.htm fs orario] [http://bloprofeldi.info/lib/t-compatibili.htm t0441 compatibili] [http://nobinters.org/canon-obiettivi.htm canon obiettivi reflex zoom] [http://nobinters.org/ice-cream.htm ice cream mania] [http://nobinters.org/goo-goo.htm goo goo doo] [http://helmed.info/topic/kingston-sdram/ kingston sdram 512 pc133 dimm] [http://chaba.info/un-altro/ un altro zelda per gamecube] [http://ustall.org/web/mercedes-e.htm mercedes e 320 sw] [http://ustall.org/web/cuando-volvera.htm cuando volvera aventura] [http://davte.info/library/html/canon-ef.htm canon ef 90-300 usm] [http://ustall.org/web/le-mie.htm le mie origini] [http://davte.info/library/html/wind.htm wind] [http://ustall.org/web/dave-candy.htm dave candy] [http://bloprofeldi.info/lib/foto-di.htm foto di ragazze nude] [http://davte.info/library/html/fabrizio-deandre.htm fabrizio deandre] [http://nobinters.org/proposta-tomba.htm proposta tomba] [http://saibso.org/wintv.htm wintv 350] [http://kinunia.cn/tavolo-vetro.htm tavolo vetro] [http://saibso.org/notebook-toshiba.htm notebook toshiba sa60] [http://davte.info/library/html/federgolf.htm federgolf] [http://saibso.org/roberto-ghidoni.htm roberto ghidoni] [http://chaba.info/lettore-memorie/ lettore memorie int] [http://helmed.info/topic/base-audio/ base audio la nostra vita eros ramazzotti] [http://chaba.info/cd-key/ cd key office 2000] [http://bloprofeldi.info/lib/natashakiss.htm natashakiss] [http://amohseni.info/img/styles/sigla-tg/ sigla tg uno] [http://davte.info/library/html/pouf-letto.htm pouf letto] [http://davte.info/library/html/guerlain-terracotta.htm guerlain terracotta pour homme] [http://chaba.info/finanziamento-regionali/ finanziamento regionali] [http://nobinters.org/kula-quest.htm kula quest] [http://davte.info/library/html/cristalreport.htm cristalreport] [http://helmed.info/topic/garmin-street/ garmin street pilot c 330] [http://psisemiya.com/images/small/vaffanculo-mp/ vaffanculo mp3 elio] [http://nobinters.org/clonoa.htm clonoa] [http://davte.info/library/html/scoobydoo-ps.htm scooby-doo ps2 videogiochi] [http://bloprofeldi.info/lib/hp.htm hp 23] [http://ashythro.info/library/html/ricciardi/ ricciardi] [http://helmed.info/topic/lest-outside/ lest outside alone] [http://psisemiya.com/images/small/www-fastfurios/ www 2fast2furios it] [http://saibso.org/autocad-libri.htm autocad libri] [http://bloprofeldi.info/lib/teseo-contro.htm teseo contro il minotauro] [http://saibso.org/cam-seggiolino.htm cam seggiolino auto] [http://saibso.org/lettura-mms.htm lettura mms ricevuto] [http://amohseni.info/img/styles/caratteristiche-cani/ caratteristiche cani] [http://ustall.org/web/marie-claire.htm marie claire d ubaldo] [http://chaba.info/neovo-/ neovo 19 f-419] [http://ashythro.info/library/html/ozcan/ ozcan] [http://saibso.org/viaggi-pullman.htm viaggi pullman roma mantova] [http://psisemiya.com/images/small/inglese-corso/ inglese corso intensivo] [http://bloprofeldi.info/lib/intel.htm intel 915] [http://nobinters.org/hamburger-time.htm hamburger time] [http://helmed.info/topic/asti-cinzano/ asti cinzano] [http://nobinters.org/diademi.htm diademi] [http://ashythro.info/library/html/lettori-mp/ lettori mp3 creative] [http://helmed.info/topic/www-ss/ www ss juvestabia it] [http://nobinters.org/lowell.htm lowell] [http://nobinters.org/la-voglia.htm la voglia] [http://saibso.org/televisione-schermo.htm televisione schermo piatto 28] [http://psisemiya.com/images/small/diabolus/ diabolus 66] [http://psisemiya.com/images/small/lettori-dvd/ lettori dvd divx xvid] [http://ustall.org/web/tchat-gay.htm tchat gay] [http://amohseni.info/img/styles/ati-radeon/ ati radeon 9550 256mb agp] [http://chaba.info/gucci-parfum/ gucci parfum] [http://davte.info/library/html/luli-bossa.htm luli bossa] [http://chaba.info/residence-rimini/ residence rimini] [http://saibso.org/foto-mogli.htm foto mogli] [http://nobinters.org/camargo.htm camargo 1994] [http://amohseni.info/img/styles/dalmatinac/ dalmatinac] [http://amohseni.info/img/styles/sopravvivenza-antichi/ sopravvivenza antichi] [http://saibso.org/ma-ia.htm ma ia hii] [http://psisemiya.com/images/small/video-hard/ video hard] [http://saibso.org/joule-james.htm joule, james prescott] [http://saibso.org/rottura-del.htm rottura del culo] [http://helmed.info/topic/transcend-photobank/ transcend photobank] [http://ustall.org/web/koshi.htm koshi] [http://davte.info/library/html/gerusalemme-liberata.htm gerusalemme liberata parafrasi canto iii] [http://davte.info/library/html/the-rock.htm the rock show] [http://saibso.org/benzin.htm benzin] [http://saibso.org/www-mare.htm www mare] [http://amohseni.info/img/styles/termozeta-tostapane/ termozeta tostapane] [http://chaba.info/bbc-news/ bbc news] [http://ustall.org/web/geom-marco.htm geom marco costantini] [http://nobinters.org/ragazzo-ravenna.htm ragazzo ravenna] [http://kinunia.cn/but-for.htm but for now] [http://bloprofeldi.info/lib/metalo-slug.htm metalo slug] [http://saibso.org/gena-nolin.htm gena nolin] [http://nobinters.org/thierry-cham.htm thierry cham] [http://bloprofeldi.info/lib/clip-hunter.htm clip hunter] [http://ustall.org/web/taglie-forti.htm taglie forti reggio emilia] [http://bloprofeldi.info/lib/noleggio-tendone.htm noleggio tendone] [http://ustall.org/web/porno-video.htm porno video 2004] [http://bloprofeldi.info/lib/www-fine.htm www fine pix viewer it] [http://ustall.org/web/audio-focal.htm audio focal] [http://kinunia.cn/masterizzatori-dvd.htm masterizzatori dvd per mac] [http://kinunia.cn/shrapnel.htm shrapnel] [http://nobinters.org/bob-marley.htm bob marley. spiritual journey] [http://helmed.info/topic/alpina-bmw/ alpina bmw] [http://bloprofeldi.info/lib/volo-lissone.htm volo lissone] [http://davte.info/library/html/michelle-trachtenberg.htm michelle trachtenberg] [http://bloprofeldi.info/lib/fiat-pd.htm fiat pd] [http://psisemiya.com/images/small/u-n/ u n i c e f] [http://kinunia.cn/militari-donne.htm militari donne nude] [http://nobinters.org/freepassword.htm freepassword] [http://amohseni.info/img/styles/www-unina/ www unina it immatricolazioni] [http://ustall.org/web/dre.htm dre] [http://kinunia.cn/canon-ef.htm canon ef fisheye] [http://amohseni.info/img/styles/acrobat-/ acrobat 7 pro ita] [http://kinunia.cn/rosas-rojas.htm rosas rojas] [http://amohseni.info/img/styles/sdram-/ sdram 133 mhz] [http://helmed.info/topic/maniaco-sessuale/ maniaco sessuale] [http://davte.info/library/html/fiat-bravo.htm fiat bravo td 100] [http://nobinters.org/dvd-r.htm dvd r tdk printable] [http://psisemiya.com/images/small/filca/ filca] [http://chaba.info/telefono-cordless/ telefono cordless siemens gigaset sl150] [http://helmed.info/topic/ban/ ban] [http://chaba.info/salvatore-accardo/ salvatore accardo] [http://amohseni.info/img/styles/lacie-hard/ lacie hard disk esterno 500] [http://chaba.info/brisa-hector/ brisa hector y tito] [http://helmed.info/topic/jambes/ jambes] [http://ustall.org/web/galleggiante-nuoto.htm galleggiante nuoto] [http://nobinters.org/model-young.htm model young little] [http://ustall.org/web/n-palmare.htm n50 palmare] [http://saibso.org/orata.htm orata] [http://nobinters.org/knock-on.htm knock on wood] [http://ustall.org/web/behringer-xm.htm behringer xm8500] [http://kinunia.cn/annunci-con.htm annunci con cell] [http://ustall.org/web/uahex.htm uahex] [http://helmed.info/topic/dragostei-di/ dragostei di tei] [http://psisemiya.com/images/small/goooooooooogle/ goooooooooogle] [http://nobinters.org/miss-maglietta.htm miss maglietta bagnata] [http://nobinters.org/qiryat-yam.htm qiryat yam] [http://psisemiya.com/images/small/chat-c/ chat c6] [http://chaba.info/pietta/ pietta] [http://ustall.org/web/www-playtv.htm www playtv com] [http://bloprofeldi.info/lib/philips-jukebox.htm philips jukebox mp3 hdd-100] [http://chaba.info/keygen-stylexp/ keygen stylexp] [http://kinunia.cn/game-boy.htm game boy spiderman] [http://davte.info/library/html/opiniones-del.htm opiniones del la obra de garcia marquez] [http://helmed.info/topic/escpae-the/ escpae the room] [http://helmed.info/topic/yer-cuntry/ yer cuntry] [http://davte.info/library/html/htpc-case.htm htpc case e alimentatori] [http://nobinters.org/il-signore.htm il signore degli anelli 4 dvd] [http://chaba.info/michelangelo-adsl/ michelangelo adsl] [http://bloprofeldi.info/lib/consob.htm consob] [http://davte.info/library/html/gretchen-nua.htm gretchen nua] [http://kinunia.cn/montorsi.htm montorsi] [http://ustall.org/web/triple-play.htm triple play 2001] ==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 19:35, 17 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)