Perl 6 - the future is here, just unevenly distributed

IRC log for #rosettacode, 2013-12-21

| Channels | #rosettacode index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
03:23 kpreid joined #rosettacode
12:08 ivanshmakov BTW, and how about allowing different /natural/ (as in: human) languages at Rosetta Code? (In a manner similar to the Wikimedia Commons, for example.)
13:12 RRR2 joined #rosettacode
13:51 ivanshmakov joined #rosettacode
15:37 TimToady ivanshmakov: as a linguist, I think it's a fine long-term goal, but as a moderator, I think "Gah, how can I tell if that's spam?" :)
16:00 ttmrichter TimToady: You appoint moderators for each supported language.
16:01 TimToady that runs into critical mass issues unless you can find enough moderators that are sufficiently motivated to check frequently
16:01 TimToady we barely manage in English on that score
16:02 TimToady as it is, I'm just guessing on some of the Polish spam...
16:03 TimToady the presence of a link is suggestive, but some of those links I'm not sure I *want* to follow...
16:45 ivanshmakov TimToady: I’d volunteer to patrol recent changes there (as soon as the HTTPS support becomes available, anyway), but there’s a problem: how do I filter only the changes which have anything to do with the languages I can discern non-constructive edits in?
16:49 TimToady obviously we need to have an RC task for discerning the language of a text :)
16:50 TimToady we should probably be scanning specially for text with links in any case
16:51 TimToady we can't always depend on the spambassadors to put their spam conveniently into new user pages for us :)
17:02 ivanshmakov TimToady: Every time a piece of text is inserted, it should be labelled with a language it’s in. The purpose is twofold: ‘xml:lang’ (so that if one loads the page into a “wordpossessor,” the right spelling checks are applied), and also hiding the text pieces in languages other than the currently selected by the reader.
17:03 ivanshmakov TimToady: Then, we could label the changes with the languages which were added, modified, or removed, or if any unmarked text was added.
17:06 ivanshmakov (FWIW, Wikidata is particularly nice when it comes to multilinguality. It’s hardly a good fit for RC, though.)
17:12 TimToady hiding text seems like a good way to hide spam too :)
17:13 TimToady as a linguist, I think people should be exposed to more foreign languages :)
17:30 RRR2 joined #rosettacode
17:39 dzho joined #rosettacode
17:40 ivanshmakov TimToady: Well, having a handful of lines of text in each of, say, 42 different languages isn’t going to be helpful, is it?
17:42 ivanshmakov TimToady: Naturally, those keeping the spam off the resource would enable either all or a considerable part of the languages supported. But it doesn’t seem to make much sense to display to the casual user the descriptions he or she couldn’t understand.
17:45 ivanshmakov TimToady: Besides, even if such a feature won’t be implemented at the site itself, someone will surely post a Greasemonkey script somewhere at Userscripts to do just that in virtually no time.
18:21 GlitchMr Why Rosetta Code would require multiple languages?
18:21 GlitchMr I mean, programmers are expected to know English.
18:23 GlitchMr Then again, I don't think it's required to have a moderator for every language. Unless you have requirements of having a native speaker.
18:24 GlitchMr http://rosettacode.org/wiki/100_doors#C
18:24 GlitchMr "Uses: C Runtime (Components:printf,)"
18:24 fedaykin "100 doors - Rosetta Code"
18:24 ivanshmakov GlitchMr: Schoolboys learning programming aren’t necessarily fluent in any language but their native one. (And frankly, I wouldn’t really rely on the latter, either.)
18:24 GlitchMr I'm thinking this should be removed. I mean, "C runtime" is part of C language.
18:30 GlitchMr Also, this example appears to use C++ comments, but it doesn't mention C99.
18:33 ivanshmakov GlitchMr: C99 is some… let me count that… 14 years old! Does relying on the standard that old still requires an explicit mention?
18:35 ivanshmakov (On a second thought, ##networking still notes that “IP address classes died in 1993.” The world of computers and communications is all about traditions, I guess.)
18:38 GlitchMr ivanshmakov, does relying on printf() still requires an explicit mention?
18:38 GlitchMr (besides, Microsoft C compiler still doesn't support C99)
18:41 ivanshmakov GlitchMr: Microsoft Visual C++ (sic) supports the “C” programming language “for historical reasons” only. Check, e. g., http://herbsutter.com/2012/05/03/​reader-qa-what-about-vc-and-c99/.
18:42 ivanshmakov Essentially, they provide a “C90 compiler” (as then, — only as an add-on for their C++ implementation), not a “C” one.
18:45 GlitchMr http://rosettacode.org/wiki/24_game#C
18:45 fedaykin "24 game - Rosetta Code"
18:45 GlitchMr Or this example. uncontext.h is POSIX, not C. It should mention POSIX.
18:45 GlitchMr ucontext.h*
18:46 GlitchMr And ucontext.h is deprecated.
18:48 ivanshmakov GlitchMr: Well, it’s a Wiki, isn’t it? That is: it just waits for someone to come and fix it. (And why would such a game require ucontext.h, I wonder?)
18:49 GlitchMr From what I see, it abuses ucontext.h to emulate exceptions.
18:49 GlitchMr (I wonder why not setjmp.h then...)
18:50 ivanshmakov GlitchMr: BTW, relying on printf () should not require an explicit mention, unless the code is more likely to be useful on embedded systems (which may lack full C support) than on general purpose ones.
18:51 GlitchMr It could be fun to rewrite "24 game" to use setjmp.h instead. Using ucontext.h this way counts as abuse in my opinion anyway.
19:22 GlitchMr http://rosettacode.org/wiki/9_bi​llion_names_of_God_the_integer#C - "gmp.h" is "GNU Multiple Precision Arithmetic Library". Definitely not a standard C feature.
19:22 fedaykin "9 billion names of God the integer - Rosetta Code" http://rldn.net/3O
19:23 GlitchMr I guess I have to mark it as using it.
19:24 ivanshmakov GlitchMr: Probably.
19:26 GlitchMr http://rosettacode.org/wiki/​99_Bottles_of_Beer#Code_golf
19:26 fedaykin "99 Bottles of Beer - Rosetta Code" http://rldn.net/3z
19:26 GlitchMr Code golf is code golf, but you cannot declare auto variables without type.
19:27 GlitchMr _=100; is just wrong.
19:31 GlitchMr Then again, I cannot refuse that there is possibly a compiler that compiles that, even if gcc doesn't.
19:33 GlitchMr http://rosettacode.org/wiki/99_Bott​les_of_Beer#A_preprocessor_solution
19:33 fedaykin "99 Bottles of Beer - Rosetta Code" http://rldn.net/3z
19:33 GlitchMr 'warning: string literal of length 11174 exceeds maximum length 4095 that ISO C99 compilers are required to support'
19:33 GlitchMr Then again, it's a creative solution, so this is probably not a problem.
19:37 mikemol|zoe joined #rosettacode
19:40 GlitchMr http://rosettacode.org/wiki/99_Bo​ttles_of_Beer#The_bottled_version - I've a feeling that "int p(char *t)" is incorrectly under #define. If I move it to the next line, it works.
19:40 fedaykin "99 Bottles of Beer - Rosetta Code" http://rldn.net/3z
19:41 GlitchMr (this program also triggers undefined behavior...)
19:44 GlitchMr http://rosettacode.org/wiki/Abstract_type#C
19:44 GlitchMr #include intefaceAbs.h
19:44 fedaykin "Abstract type - Rosetta Code"
19:44 GlitchMr It should be quoted.
21:54 Giomancer joined #rosettacode
22:34 mwn3d joined #rosettacode

| Channels | #rosettacode index | Today | | Search | Google Search | Plain-Text | summary