Perl 6 - the future is here, just unevenly distributed

IRC log for #rosettacode, 2011-08-05

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

All times shown according to UTC.

Time Nick Message
01:26 kpreid left #rosettacode
02:00 mikemol Finally got the RC finances pages updated.
02:00 mikemol https://spreadsheets.google.com/pub?key=ti-f-zxA1ga2QW_L1pQnwJg&output=html
02:10 kpreid joined #rosettacode
02:44 damagednoob joined #rosettacode
02:45 damagednoob left #rosettacode
03:52 mwn3d_phone1 joined #rosettacode
03:55 mwn3d_phone left #rosettacode
03:57 mwn3d_phone1 is now known as mwn3d_phone
06:33 CodeBlock qdad
06:34 CodeBlock zCXAxdf[ZD XfdzfdXAQDXCZAcxZAZ[C
06:34 CodeBlock od
06:34 CodeBlock woah
06:34 CodeBlock sorry for the noise
06:40 mwn3d_phone left #rosettacode
06:49 mwn3d_phone joined #rosettacode
07:33 Hypftier cat? :)
09:52 FireFly joined #rosettacode
11:10 Coderjoe left #rosettacode
11:15 Coderjoe joined #rosettacode
12:52 mwn3d_phone left #rosettacode
13:19 dagnyscott joined #rosettacode
14:34 _ilbot joined #rosettacode
14:34 Topic for #rosettacode is now Rosetta Code: Coding in (∞ - 1) languages ; http://irclog.perlgeek.de/rosettacode/today ; Pop a tab and stick around!
14:52 kpreid left #rosettacode
18:17 _ilbot joined #rosettacode
18:17 Topic for #rosettacode is now Rosetta Code: Coding in (∞ - 1) languages ; http://irclog.perlgeek.de/rosettacode/today ; Pop a tab and stick around!
18:24 mwn3d_phone "Lsd.subscriptions"? Looks suspicious.
18:39 mikemol No contributions. May or may not be a legit account, but it may also be stymied by the controls on normal accounts.
21:06 mikemol So, varargs are for when a function body doesn't know how many parameters it will take.
21:07 mikemol Is there a name for a counterpart mechanism when a caller doesn't know how many arguments it will pass to a function?
21:07 mikemol (Dealing with PHP specifically here, but looking for a more general concept)
21:08 mikemol In some languages, you might choose explicitly to pass an array to the function, but if the function's body operates on a varargs principle, then you're only ever really passing it a single argument.
21:19 slavik joined #rosettacode
21:27 mwn3d_phone joined #rosettacode
21:29 tyrok_laptop joined #rosettacode
21:30 tyrok_laptop mikemol: Quick thought: the title of the site is "Welcome to Rosetta Code".  It kinda borks bookmark order.  Dunno if you can even change that with it being a wiki, but I noticed it and thought I'd point it out.
21:30 mikemol hm
21:31 mikemol tyrok_laptop: Only true on the main page. Old title was 'Main Page', which I don't think was any better.
21:32 mikemol Though I guess I could just title it 'Rosetta Code'.
21:32 tyrok_laptop That'd help.
21:33 tyrok_laptop Starting with a "W" borks bookmark order as well as makes it difficult to pick out a tab/window when you have enough of them open to shrink down the text to the first 1-2 letters.  Tons of websites do that, too.
21:34 tyrok_laptop Gotta go.  See 'ya!
21:34 tyrok_laptop left #rosettacode
21:39 dagnyscott Along those lines, I noticed all the pages are (page name) - Rosetta Code
21:39 dagnyscott You could change that to Rosetta Code - (page name)
21:40 dagnyscott although I guess there are disadvantages to that, too, if you have a bunch of tasks open
21:41 mwn3d_phone I wonder if its something that can be added to a users prefs
21:42 mwn3d_phone Probably not a default MW option but it might something that's easy to add
21:42 mikemol I'm generally preferential to having the page-specific stuff first.
21:44 mwn3d_phone I have no preference either way. I don't really use bookmarks and I don't have that many tabs open at once.
21:46 mwn3d_phone But if it were a "page names first in titles" checkbox in the preferences that could satisfy lots of people
21:46 mwn3d_phone Then again it may not be worth the effort
21:47 mwn3d_phone We have a CF of task categories that's more important to me at least
21:47 mikemol ?
21:47 mikemol ah
21:47 mwn3d_phone (A little self-censorship)
21:48 slavik joined #rosettacode
21:48 mikemol I *really* don't give a rat's behind about task categories. I'd much rather see task pages tagged by subjects they poke.
21:49 mikemol Then take a set of those tags and use those as a basis for category browsing.
21:49 mikemol You might find tag clusters which would very nicely reflect de-facto categories.
21:49 mwn3d_phone Well yeah..."task categories"..."tags"...different names for how they're organized
21:50 mwn3d_phone If we get the SMW tags planned out then we can get rid of categories altogether I think
21:51 mikemol That's just the thing, I don't think it's necessary (or even appropriate) to pre-plan the tags.
21:51 mwn3d_phone Sorry
21:51 mwn3d_phone More phrasing differences
21:51 mwn3d_phone Planning out how tags will work on the pages
21:52 mwn3d_phone Not planning the tags themselves
21:52 mwn3d_phone The tagging mechanism
21:52 mwn3d_phone And searching mechanism
21:52 mikemol Ah. Well, if I get the "loop functions" extension rewritten to behave nicely, we could have something like "tag=A|tag=B|tag=C" as part of [[Template:Task]]
21:52 fedaykin http://rosettacode.org/wiki/Template:Task
21:53 mikemol I think the application of tags will really need to happen before we can figure out a good search mechanism. I don't know what kinds of tags we'll see.
21:54 mikemol Actually, something like a [[Template:Tags]], with "|name=value|name=value|name=value|name=value..." would work nicely.
21:54 fedaykin http://rosettacode.org/wiki/Template:Tags (Doesn't exist.)
21:55 mwn3d_phone No matter what we need to see what tags a task has and what tasks are tagged with a certain tag
21:56 mwn3d_phone Well we have [[template:tag]]. You could use multiple tag templates on a page.
21:56 fedaykin http://rosettacode.org/wiki/template:tag
21:56 mwn3d_phone Pretty much the same except we don't have to wait for a loop mechanism
21:56 mikemol in-line semantic query in [[Template:Task]] to list tags. Each tag link takes you to a semantic query listing all the pages with that tag.
21:56 fedaykin http://rosettacode.org/wiki/Template:Task
21:56 mwn3d_phone I tried to get that query to show up on a page
21:57 mwn3d_phone I can't figure it out
21:57 mwn3d_phone Their documentation isn't good
21:57 mikemol If you're going to have a single tag to a template instance, it's probably saner to just use SMW's syntax.
21:57 mikemol I'll demo it some time.
21:57 mwn3d_phone I figured people might not understand that right away
21:58 mwn3d_phone {{Tag|name}} looks better than {{#set:tag=name}}
22:00 mikemol You might do it the same way as you've done [[Template:Mylang]]
22:00 fedaykin http://rosettacode.org/wiki/Template:Mylang
22:01 mwn3d_phone What would need to go in the begin and end templates then?
22:02 mwn3d_phone Or are you talking about mylang only? Cause if you are then that's what my idea was for that template.
22:05 mikemol mwn3d_phone: No, I meant having a block_start, block entry, block_end structure, as you do with mylang.
22:05 mikemol I've got to get back to work. Still here.
23:24 mwn3d_phone joined #rosettacode

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