Perl 6 - the future is here, just unevenly distributed

IRC log for #rosettacode, 2012-01-22

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

All times shown according to UTC.

Time Nick Message
00:42 mwn3d_phone1 joined #rosettacode
00:51 mikemol nimdAHK: You can also do named arguments. In fact, that's probably preferable to numerically-indexed arguments in the general case.
00:52 nimdAHK mmm
03:10 mwn3d_phone joined #rosettacode
04:02 mikemol Ok, I've got the MediaWiki-GeSHi glue extension cleaned up. I'll get a github account set up for it tomorrow.
04:02 mikemol er. repo.
05:19 mwn3d_phone mikemol: I think it worked. [[Infinity]] loaded really fast for me on my phone (just clicked random).
05:19 fedaykin http://rosettacode.org/wiki/Infinity
05:24 mikemol mwn3d_phone: Haven't changed much that should affect performance. (Though I did simplify a little bit of the code flow)
05:24 mikemol Just got it cleaned up enough that I'm comfortable posting it somewhere.
05:24 mikemol I'm going to need some assistance getting features I want/need added to it.
06:00 mikemol https://github.com/mikemol/mwgeshiglue
06:01 mikemol Once this issue is taken care of, RC's site speed should drastically improve: https://github.com/mikemol/mwgeshiglue/issues/5
06:02 mikemol I'm hoping opticron can help me with that one. I've briefly looked at the MultiCategorySearch code, but he wrote the memcached tie-in for it.
06:03 mikemol https://github.com/mikemol/mwgeshiglue/issues/4 relates to a long-outstanding feature request for people who want to crawl the site.
08:51 GlitchMr joined #rosettacode
11:33 mischi joined #rosettacode
13:13 kpreid joined #rosettacode
13:40 mischi joined #rosettacode
14:27 mischi_ joined #rosettacode
15:04 mwn3d_phone mikemol: does mediawiki handle IPv6 addresses with anon users?
15:09 mischi joined #rosettacode
15:09 mbishop joined #rosettacode
15:20 mikemol mwn3d_phone: What do you mean?
15:21 mwn3d_phone Anon users usually show up as users with an IPv4 address. Will IPv6 users show up with their IPv6 addresses?
15:22 mikemol Yes.
15:22 mikemol I'll demonstrate.
15:25 mikemol http://rosettacode.org/mw/index.php?title=User_talk:Short_Circuit&curid=2906&diff=130849&oldid=128534&rcid=132788
15:25 fedaykin "User talk:Short Circuit - Rosetta Code" http://rldn.net/16yer
15:26 mwn3d_phone Whoa...cool
15:27 mikemol What I don't know is how blocking of malicious IPv6 users will work.
15:27 mwn3d_phone The recent changes feed is gonna get crazy with that. Those are a lot longer.
15:27 mikemol You could easily block a single IPv6 address using MW's interface, but IPv6 privacy extensions means that a user could come in with a large number of different IPs with no explicit effort.
15:28 mikemol You'd really want to be able to block /64s and /56s, if not /48s.
15:29 mikemol (Start with a single IP. If more bad edits come from the same /64, block the /64. If more bad edits come from the same /56, block that. /48s are a harder choice to make, but plausible.)
15:34 mbishop joined #rosettacode
15:38 mikemol http://rosettacode.org/mw/index.php?title=User_talk%3AShort_Circuit&action=historysubmit&diff=130850&oldid=128534
15:38 fedaykin "User talk:Short Circuit - Rosetta Code" http://rldn.net/kWnY
16:17 mikemol Neat. I didn't realize our sorting algorithms were so well-organized.
16:51 mwn3d_phone1 joined #rosettacode
17:33 mwn3d_phone joined #rosettacode
17:35 nimdAHK How do I link to a WP article?
17:35 nimdAHK something like [[WP:Recursion]] right?
17:35 fedaykin http://rosettacode.org/wiki/WP:Recursion
17:35 nimdAHK hmm
17:38 nimdAHK anyone?
17:45 mwn3d_phone nimdAHK: it might be case-sensitive
17:45 mwn3d_phone [[wp:recursion]]
17:45 fedaykin http://rosettacode.org/wiki/wp:recursion
17:45 nimdAHK mwn3d_phone: thanks
17:46 nimdAHK it works in RosettaCode but not in IRC
17:46 nimdAHK fedaykin needs an update :P
17:48 mwn3d_phone Actually its not that good on the site either
17:48 mwn3d_phone You can use a wp link as a redirect target
17:49 mwn3d_phone And it thinks the wp page doesn't exist
17:49 nimdAHK lol
17:49 nimdAHK oy, I'm not used to introducing a whole language to RosettaCode
17:49 nimdAHK so many pages to make
17:49 mwn3d_phone I used to have one set up at [[RIT]] for my college and it kept coming up as a broken redirect
17:49 fedaykin http://rosettacode.org/wiki/RIT (Doesn't exist.)
17:50 nimdAHK [[SubVI]], {{VI snippet}}, {{llibheader|LabVIEW_CWD}}...
17:50 fedaykin http://rosettacode.org/wiki/SubVI
17:50 nimdAHK usually the groundwork is already laid
17:51 mwn3d_phone Its a new kind of language too
17:51 mwn3d_phone Not just textual code
17:51 nimdAHK yeah
17:52 nimdAHK I've done ~30 solutions so far
17:52 nimdAHK the hardest part is going to be libraries
17:53 nimdAHK since they are actually SubVIs, and each SubVI is only one "function"
17:53 nimdAHK so an elaborate LabVIEW solution will have many libheaders
18:04 mwn3d_phone nimdAHK: so I do java solutions a lot and there could be a libheader for every import in the java code but I usually reserve libheaders for libraries that don't "come with" the language
18:05 nimdAHK well that's what I mean. There are many SubVI's provided by National Instruments that don't come with the installer.
18:05 nimdAHK For example, [[LabVIEW_CWD]]
18:05 fedaykin http://rosettacode.org/wiki/LabVIEW_CWD (Doesn't exist.)
18:05 nimdAHK wops
18:05 nimdAHK {{libheader|LabVIEW_CWD}}
18:06 nimdAHK it gets the current working directory in LabVIEW, and is freely available for download from ni.com
18:06 fedaykin "National Instruments: Test, Measurement, and Embedded Systems"
18:06 nimdAHK geez, fedaykin is aggressive
18:06 mwn3d_phone Every link
18:07 nimdAHK guess so
18:07 nimdAHK but that last one doesn't even hyperlink :/
18:08 mwn3d_phone It does on my phone
18:32 mikemol nimdAHK: ImplSearchBot (at least, I think it was ImplSearchBot) used to create language pages based on language users.
18:32 mikemol That automation went away when we added MultiCategorySearch.
18:32 mikemol That said, it would be useful to have a bot which did that.
18:32 mikemol Actually, I take that back. I don't think that was ever actually automated. Hm.
18:33 nimdAHK I'm just talking about different language terms
18:33 nimdAHK LabVIEW is so nonstandard
18:33 nimdAHK In order to create a library page, I had to first create a page explaining what a SubVI is
18:33 nimdAHK and then I could create the lib page, and only then could I post my solution :P
18:34 GlitchMr42 joined #rosettacode
18:34 nimdAHK also, even posting a solution requires a file upload
18:35 nimdAHK I did make it a tiny bit easier with {{VI solution}}
19:27 r4m joined #rosettacode
19:34 nimdAHK new goal: have at least one LabVIEW solution under every letter of the alphabet
19:35 nimdAHK ouch, there's only 3 J tasks
19:39 mwn3d_phone nimdAHK: "j tasks"?
19:39 nimdAHK tasks starting with J
19:39 nimdAHK sorry
19:40 nimdAHK I don't think I can implement any of the three tasks which start with J
19:41 nimdAHK now a quine in LabVIEW... that would be something amazing
20:34 mikemol I've seen a Piet Quine before, so I wouldn't be surprised if it's doable.
20:34 mikemol However, it's very strongly depend on rendering characteristics in LabVIEW.
20:34 mikemol If something like a display's DPI characteristics or color depth come into play, I suspect you'd be SOL.
20:35 mikemol Hm. Though you're exporting as PNGs, aren't you?
20:35 mikemol That should be fine. Difficult, but fine. ^^
20:36 nimdAHK but a normal PNG isn't executable
20:37 nimdAHK in order for the output to be executable, it would need to output a .vi
20:37 nimdAHK or a VI Snippet
20:37 mikemol Ah. I was thinking of VI Snippets.
20:37 nimdAHK but those have embedded code!
20:37 nimdAHK LabVIEW doesn't OCR the code back out of the PNG
20:37 mikemol Doesn't need to.
20:38 nimdAHK it's a PNG with pixels, AND the .vi embedded in the metadata
20:38 mikemol What counts is that the exported image has the same content as the output of the program.
20:38 mikemol Doable, very probably, and also very probably difficult.
20:38 nimdAHK I'll wait a while :P
20:39 nimdAHK ooh, I've done 41 solutions in LabVIEW so far
20:39 mikemol I've seen Quines for the DEFLATE algorithm. That might be a prereq to pulling off LabVIEW's. :)
20:39 nimdAHK 41 solutions == time to update {{mylang|LabVIEW}} to intermediate :D
20:39 nimdAHK [[User:Crazyfirex]]
20:40 fedaykin http://rosettacode.org/wiki/User:Crazyfirex
20:41 nimdAHK hmm... in order to have a LabVIEW solution for each letter of the alphabet, I need to come up with a task starting with J
20:41 nimdAHK either that or implement JSON by hand D:
21:02 nimdAHK mikemol: what did you say to try to keep the images under? I just uploaded a 23 KB solution to [[Tokenize a string]]
21:02 fedaykin http://rosettacode.org/wiki/Tokenize_a_string
21:02 mikemol Try for under 50KB
21:02 nimdAHK OK
23:28 mwn3d_phone1 joined #rosettacode
23:34 Tenzen joined #rosettacode
23:51 mwn3d_phone joined #rosettacode
23:54 mwn3d_phone1 joined #rosettacode

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