Perl 6 - the future is here, just unevenly distributed

IRC log for #rosettacode, 2011-07-23

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

All times shown according to UTC.

Time Nick Message
00:37 BenBE mwn3d_phone Well, the election problem is more like you have N candidates and M jobs for those to do and X people ranking those N candidates in order of their preference (with ties in the ranking allowed). The M most preferred of the N candidates (N >= M) are choosen as the elected candidates.
00:37 mwn3d_phone Yeah I looked it up. I know its not all that similar.
00:37 BenBE In the stable marriage problem you'd have the corner case of M=N, which doesn't quite make sense to actually perform an election then ;-)
00:38 mwn3d_phone Stable marriage was the closest I could think of
00:38 Hypftier Here at the uni it's common that N < M :P
00:39 mwn3d_phone Write up a task. It'd be nice to see someone besides markhobley make one.
00:40 BenBE Well, IDK if a task "Implement the clone-free condorcet SSD method" (AKA Schulze Method) make such a good task description.
00:41 BenBE Especially as there unfortunately is no strict solution (except for the winner).
00:41 mwn3d_phone So make a story that they're trying to find the 5 most popular classes for a major or something
00:41 BenBE ((i.e. all condorcet-satisfying algorithms give the same winner, but their other ranking is not strictly defined))
00:42 BenBE I'll try.
00:42 mwn3d_phone The worst we can do is delete it :p
00:43 BenBE Or maybe: The folks at Debian have an upcoming election, but since the number of their members has grown substantial recently noone of the organizational team want's to count the ballots by hand.
00:43 BenBE (Actaully: Debian ARE using the Schulze method ;-))
00:44 BenBE Any special precaution to take in order to do a subpage on my user page on RC?
00:45 BenBE Or just use Nick/Subpage?
01:10 mwn3d_phone BenBE: [[User:BenBE/Subpage]] is all you need
01:10 fedaykin http://rosettacode.org/wiki/User:BenBE/Subpage (Doesn't exist.)
01:14 kpreid left #rosettacode
01:14 BenBE Okay, first try: http://rosettacode.org/wiki​/User:BenBE/Schulze_method
01:14 fedaykin "User:BenBE/Schulze method - Rosetta Code" http://rldn.net/UUb
01:17 kpreid joined #rosettacode
01:22 BenBE You also could retell the story with Wikipedia articles to delete (ordered by disgust of the admins) or party pizzas to order ...
01:23 BenBE BTW: The source you find on Wikipedia is only part of the solution.
01:23 BenBE I already tried to implement the solution in PHP but couldn't fix the bugs I had in the source.
01:24 BenBE Maybe tasks should get a difficulty rating ;-)
01:29 kpreid left #rosettacode
01:42 mwn3d_phone "Helt"?? Crazy non-yankee english speakers... :p
02:46 kpreid joined #rosettacode
03:29 kpreid left #rosettacode
03:45 lambdabot joined #rosettacode
03:46 kpreid joined #rosettacode
03:46 BenBE left #rosettacode
03:53 rodt left #rosettacode
04:36 mwn3d_phone1 joined #rosettacode
04:38 mwn3d_phone left #rosettacode
04:43 mwn3d_phone1 is now known as mwn3d_phone
10:17 FireFly joined #rosettacode
10:57 MigoMipo joined #rosettacode
11:46 rodt joined #rosettacode
11:50 rodt last lang i wrote was a few years ago... hmm looks messy
11:50 rodt this code : $'$($''$*' $(tr-arg $&$)$'$)$'
11:51 rodt calls this : $/$(contains :learn $&$)$C$?($'$A$'$\$.$?)$1$C$a$?(${$0$C$@$1$^ $%$=$C $?($('trace build'$)$?)$?($^$?)$0$C$1$`$C$2$^$a$}$?)$2$\
11:51 rodt together its recurvsive...i think
11:54 rodt this is like eval : $(contains $n $(trusted-users$)$)$C$?($A$P$C$?)$?($(echo hmm $n i can only process things for trusted users...$)$?)
11:57 rodt its a pretty funny langage, you do everything in 10 textbuffers lol
11:57 rodt $1 $2 $9 switches between buffers
11:58 rodt i forget the token to copy between them i think its prolly $^
11:59 rodt so the line of code with the tr-arg in it, is the function 'trace build' --yeah function names and var names and stuff can contain spaces lol ;)
11:59 rodt i function name can be a function as well
12:01 rodt it was made as an embedded lang for an irc bot lol
12:01 rodt them first two lines are the code, that enables the bot to code
12:02 rodt with that, you can say : try to learn this ok bot ?
12:02 rodt then tell it an algorithm, and say code that
12:02 rodt and it writes the alg in that lang
12:04 rodt heres teh function 'code that' : $(print Ok im coding give us alittle time ;)$)$C$('trace off'$)$C$('trace build'$)
12:06 rodt so yeah functions as functions names, was so that say the bots name is chiron... i wanted a funtion "what is chiron"
12:06 rodt but this should change depending on the bots current nick
12:07 rodt so this works : (function name slot : 'what is $b') (function def slot : $b is my name, im a bot :P)
13:02 MigoMipo left #rosettacode
13:22 MigoMipo joined #rosettacode
15:42 FireFly sed is also funny to program in, though you only get two text buffers in there
16:09 rodt ;)
16:47 kpreid left #rosettacode
16:52 kpreid joined #rosettacode
17:24 ashleydev left #rosettacode
22:21 ashleydev joined #rosettacode
23:08 BenBE joined #rosettacode
23:09 BenBE mwn3d_phone What about crazy non-English-natives?
23:10 mwn3d_phone BenBE: non-american-english-natives. We say "held" instead of "helt".
23:11 BenBE Ah, k. But otherwise the task description was okay?
23:14 mwn3d_phone The "[...]"s were kind of confusing. Also what was the "dropping" business?
23:16 BenBE You mean "drop all the links with property XY"?
23:16 BenBE It's quite easy to understand once you perform it once by hand.
23:16 mwn3d_phone I can't quite remember...I read it a few days ago
23:16 BenBE Just wrote it yesterday ;-)
23:17 mwn3d_phone I remember thinking that dropping was not discussed...I may have accidentally skipped something
23:17 mwn3d_phone Oi...time is moving slow
23:17 BenBE OT: Just removed the snippet fetching code from GeSHi on the RC server ...
23:17 BenBE Currently at DL of the snippets.
23:18 BenBE It's 6.3mb compressed tar/gz.
23:19 mwn3d_phone In any case I'll have to read it again. I can give you more accurate feedback. I simply don't remember enough right now.
23:19 BenBE k, NP. I've to add an example with the solution for the example anyway.
23:29 MigoMipo left #rosettacode
23:34 sorear Does the J cabal have a presence here?
23:50 BenBE mwn3d_phone The [...] means "skipped" because I quoted the Debian proceedings (and to avoid having to re-order the jumps within the instructions).
23:51 BenBE I included an example in my description at http://rosettacode.org/wiki​/User:BenBE/Schulze_method
23:51 fedaykin "User:BenBE/Schulze method - Rosetta Code" http://rldn.net/UUb
23:51 BenBE That's the one from en.wiki

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