Perl 6 - the future is here, just unevenly distributed

IRC log for #rosettacode, 2011-10-25

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

All times shown according to UTC.

Time Nick Message
00:02 mwn3d_phone He's surrounded by prentheses for eternity now
01:17 mwn3d_phone1 joined #rosettacode
01:32 mwn3d_phone joined #rosettacode
02:44 eel2 REPL log monitoring broke! problem: <EOFException>
03:18 BenBE joined #rosettacode
06:00 GlitchMr joined #rosettacode
06:00 GlitchMr Hello :).
06:38 GlitchMr http://rosettacode.org/wiki/Break_OO_privacy#PHP
06:38 fedaykin "Break OO privacy - Rosetta Code"
06:38 GlitchMr I'm probably bored...
06:39 GlitchMr Also yes, I like using " as preg_replace() separator. It makes sense looking on weirdness of PHP syntax...
06:44 GlitchMr http://rosettacode.org/wiki/Calendar#Perl
06:44 fedaykin "Calendar - Rosetta Code"
06:44 GlitchMr This program is invalid
06:44 GlitchMr It's actually obfuscated call to "cal" program
07:04 eMBee mark it, or in this case, maybe even remove it
07:06 GlitchMr OK, I think I will deobfuscate "cal" word and mark it
07:07 GlitchMr I love abusing PHP this way :P
07:16 eel2 joined #rosettacode
09:37 BenBE Added another way for PHP: http://rosettacode.org/wiki/Break_OO_privacy#.7B.7Bheader.7CPHP.7D.7D
09:37 fedaykin "Break OO privacy - Rosetta Code" http://rldn.net/ouRV
11:49 mwn3d_phone1 joined #rosettacode
12:08 p6eval joined #rosettacode
12:43 Coderjoe_ joined #rosettacode
13:22 dagnyscott1 joined #rosettacode
13:25 GlitchMr joined #rosettacode
13:44 dagnyscott joined #rosettacode
14:15 mikemol mwn3d_phone: I had to wonder if McCarthy's last words were "Ritchie still lives."
14:16 mikemol http://americanhistory.about.co​m/cs/johnadams/f/adamswords.htm
14:16 fedaykin "John Adams Last Words" http://rldn.net/16Lim
14:17 mwn3d_phone Maybe their force ghosts are haunting bill gates and donald knuth
14:17 mikemol I believe Ken Thompson is still around.
14:18 mikemol [[wp:Ken Thompson]] indicates he was involved with [[Go]]
14:18 fedaykin http://rosettacode.org/wiki/wp:Ken_Thompson  http://rosettacode.org/wiki/Go
14:28 GlitchMr "Warning: This page is 33 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections."
14:28 GlitchMr ... this warning is annoying...
14:28 * mikemol nods
14:29 mikemol Often, that means it's time to split a page apart.
14:30 GlitchMr MediaWiki:Longpagewarning
14:30 GlitchMr ...
14:30 mwn3d_phone joined #rosettacode
14:30 GlitchMr http://rosettacode.org/wiki/99_Bottles_of_Beer
14:30 GlitchMr This is longest page on this site
14:30 fedaykin "99 Bottles of Beer - Rosetta Code"
14:30 GlitchMr It has 140KB...
14:34 GlitchMr http://rosettacode.org/wiki/Perl
14:34 fedaykin "Category:Perl - Rosetta Code"
14:34 GlitchMr BNF Grammar for Perl
14:34 GlitchMr ...
14:34 GlitchMr wait...
14:36 GlitchMr "Technically, anything outside of <?php ... ?> tags is automatically echoed in PHP. So any PHP source file which does not contain <?php ... ?> is automatically a quine:"
14:37 GlitchMr Not true
14:37 GlitchMr <script language="php"> is also legal PHP script start
14:37 GlitchMr But it's rarely used...
14:37 GlitchMr There is also <? and <%, but it's deprecated...
14:37 mikemol Make a note of it.
14:37 mikemol I was familiar with <?, but I'd never heard of <%. Heh.
14:38 GlitchMr Also, ending is optional
14:39 GlitchMr And <script language="php"> ?> is pefectly valid :)
14:41 GlitchMr http://php.net/manual/en/lang​uage.basic-syntax.phpmode.php
14:41 fedaykin "PHP: Escaping from HTML - Manual" http://rldn.net/8Es
14:41 GlitchMr Also, <?= is going to be not deprecated...
14:42 GlitchMr ... I find it weird...
14:43 GlitchMr Also, did you knew that "<?php" doesn't start script
14:43 eMBee i see the large page warning mostly when editing a task description. since the description itself is not in a seperate section it can not be edited by itself but the whole page needs to be opened...
14:43 GlitchMr It's more like "<?php " token...
14:43 GlitchMr Well, I usually see this when creating new examples...
14:44 GlitchMr ...
14:44 eMBee GlitchMr: then you are doing it wrong ;-)
14:44 GlitchMr How should I add new examples then?
14:44 mikemol GlitchMr: Rather than clicking the 'edit' link at the top of the page, you can click the 'edit' link just above where in the page you want your example to appear.
14:44 GlitchMr ... :)
14:44 GlitchMr Thanks for hint
14:44 eMBee pick the language that is closest to the one you want to add, then edit that and add your language
14:44 mikemol Neither way is "wrong", it's just more convenient to do it the latter way. :)
14:44 mikemol Also, less likely to hit an edit conflict.
14:45 * eMBee nods
14:46 eMBee ideally we'd have a "new language" button that would ask for the name of the language and then automatiically open a new section in the right place. but i don't know if that can be done
14:46 mikemol It's involve writing a MW extension.
14:46 mwn3d_phone I really don't like that way because a different language shows up automatically in the edit comments
14:46 mikemol I'll take it if someone wants to write it. :)
14:46 eMBee :-)
14:46 mwn3d_phone I know you can just change the language name that's there but not many people do
14:46 eMBee mwn3d_phone: you can edit the edit comment
14:46 mikemol This is one big reason I like hosting MW, rather than going with a wiki farm.
14:47 * eMBee nods
15:53 mwn3d_phone joined #rosettacode
17:10 GlitchMr http://rosettacode.org/wiki/​Find_limit_of_recursion#PHP
17:10 GlitchMr I got this on Windows
17:10 fedaykin "Find limit of recursion - Rosetta Code" http://rldn.net/15Kvb
17:10 GlitchMr I wonder what happens under Linux...
17:10 GlitchMr Because I made quick tests and I get different results.
17:11 GlitchMr On FreeBSD...
17:11 GlitchMr 33586
17:11 GlitchMr Segmentation fault
17:11 GlitchMr ...
17:11 GlitchMr OK...
18:42 GlitchMr joined #rosettacode
18:46 mwn3d_phone joined #rosettacode
18:47 Util joined #rosettacode
20:03 kpreid joined #rosettacode
21:59 kpreid joined #rosettacode
22:00 kpreid joined #rosettacode
22:27 mwn3d_phone1 joined #rosettacode
23:55 mwn3d_phone joined #rosettacode

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