Camelia, the Perl 6 bug

IRC log for #mojo, 2011-10-18

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

All times shown according to UTC.

Time Nick Message
00:00 xaka joined #mojo
00:03 xaka i'm trying to Mojo::JSON and looks there is something strange. It decodes '{"value":10}' to {'value' => '10'}, i.e., the real value is not a number anymore, it's the string
00:04 xaka encode works good, but decode doesn't
00:35 marty xaka:  perl -Mojo -E'say Mojo::JSON->new->decode(Mojo​::JSON->new->encode({number => 123}))->{number}'
00:35 marty works for me
00:36 marty not sure if that helps you or not.  But it returns an unquoted number on my system
00:36 xantus[] perl will ususally do the right thing with quoted numbers
00:37 xantus[] my $foo = "11"; $foo++; print $foo; = 12
00:37 ZadYree joined #mojo
00:44 Alias_ joined #mojo
00:50 perlrocks Twitter: "#Mojolicious 2.0 is out, taking #Perl waay beyond other web frameworks. Yay! \o/ #bragging" --sjoshuan http://twitter.com/sjoshuan​/status/126097837187543040
00:51 sjn that was fast
00:59 mercutioviz joined #mojo
01:15 perlrocks Twitter: "Reddit/p: Mojolicious - Perl real-time web framework http://t.co/Anbvgb0R" --tek_news http://twitter.com/tek_news​/status/126104035299307521
01:19 perlrocks Twitter: "Mojolicious 2.0 released: Perl real-time web framework http://t.co/IVUaTxHh" --jcleblanc http://twitter.com/jcleblan​c/status/126104977314820096
01:21 Alias_ left #mojo
01:35 perlrocks Twitter: "perlcodesample: Mojolicious 2.0 has been released a real-time Web framework for Perl. http://t.co/qC7q8jk6" (ja) --perlironman http://twitter.com/perlironm​an/status/126109150273994753
01:37 knighthacker joined #mojo
01:47 crab great
01:57 mattastrophe joined #mojo
02:12 abra joined #mojo
02:43 xaka joined #mojo
03:09 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/KqIBivGU" --slashdot http://twitter.com/slashdot​/status/126132715182501889
03:09 noganex_ joined #mojo
03:10 perlrocks Twitter: "Mojolicious 2.0: Modern Perl 4 Web http://t.co/qqRJdrna tea" (id) --Slashlulz http://twitter.com/Slashlul​z/status/126132916345520128
03:12 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/IDU7mQI7" --gestalt_ http://twitter.com/gestalt_​/status/126133594560274432
03:12 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/IK8AwEnP" --goairways http://twitter.com/goairway​s/status/126133599031410688
03:12 perlrocks Twitter: "::http://t.co/dCJCAdJ4:: Mojolicious 2.0: Modern Perl For the Web http://t.co/gYxPjNNm <--Full Story::" --docrocsnews http://twitter.com/docrocsne​ws/status/126133599878643713
03:12 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/EiFF0uaN" --followhalfey http://twitter.com/followhalf​ey/status/126133604626599936
03:12 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/xsu9Afw9" --twitkz http://twitter.com/twitkz/​status/126133608997064704
03:12 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/N4MgynZt" --ronrss http://twitter.com/ronrss/​status/126133611920490496
03:12 perlrocks Twitter: "Shashdot update: Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newl... http://t.co/rUCngv0a" --ChezPAX http://twitter.com/ChezPAX​/status/126133616089645057
03:12 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/yjNBVtfo" --evandentremont http://twitter.com/evandentrem​ont/status/126133613413662720
03:12 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/vnf3hyBq" --RSS_LuoFangbo http://twitter.com/RSS_LuoFan​gbo/status/126133617784131585
03:12 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web" --powenopovale http://twitter.com/powenopova​le/status/126133623329001472
03:12 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/SzrmLCsm" (it) --dantes76 http://twitter.com/dantes76​/status/126133629448486913
03:12 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/Z6si0f0n" --shreyaskini http://twitter.com/shreyaski​ni/status/126133633969946624
03:12 perlrocks Twitter: "News For Nerds Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly ... http://t.co/fNl8j5HD" --PurifyRS http://twitter.com/PurifyRS​/status/126133635513450496
03:12 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/uwD9f0P0" --AnitaCawala http://twitter.com/AnitaCawa​la/status/126133631923142656
03:12 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/1rjeHdce" --malcsilberman http://twitter.com/malcsilber​man/status/126133636348125184
03:12 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/HuGB4gdS" --iRajneekant http://twitter.com/iRajneeka​nt/status/126133634511011840
03:13 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/VdniyI4R" (fr) --hadopiland http://twitter.com/hadopilan​d/status/126133658535989248
03:13 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/zxeapAn3" (de) --boinc_united http://twitter.com/boinc_unit​ed/status/126133660394078209
03:13 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/Vj7ROPn4" --BearDown_Devs http://twitter.com/BearDown_D​evs/status/126133661585244160
03:13 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/H20rD8vB" --collen09 http://twitter.com/collen09​/status/126133662436691968
03:13 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/wRqdEUMz" --rustlejam http://twitter.com/rustleja​m/status/126133666362556416
03:13 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/enZIj6pr" --aveffects http://twitter.com/aveffect​s/status/126133667004289025
03:13 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/sz1aTyNN #Tech" --TheGeekDog http://twitter.com/TheGeekDo​g/status/126133668073848832
03:13 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/U8qMJoBI" --jirobait http://twitter.com/jirobait​/status/126133671097925632
03:13 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/idXa9ffb" --icodenow http://twitter.com/icodenow​/status/126133673887145986
03:13 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, ... http://t.co/S7mLiS4w #slashdot @amarchugg" --EatThisStory http://twitter.com/EatThisSto​ry/status/126133673463517184
03:13 perlrocks Twitter: "Slashdot: Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly relea... http://t.co/j2GEQXJg" --BookmarkedByUs http://twitter.com/BookmarkedB​yUs/status/126133672813400064
03:13 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/M33Joegb" --Cgrueber http://twitter.com/Cgrueber​/status/126133728291471361
03:14 perlrocks Twitter: "#security Mojolicious 2.0: Modern Perl For the Web http://t.co/gd6Lt4mR" --BrianDuPrix http://twitter.com/BrianDuPr​ix/status/126133999079931904
03:15 perlrocks Twitter: "Mention 4 FollowBack Mojolicious 2.0: Modern Perl For the Web http://t.co/695Vu0NX #TeamFollowBack" --gabyDeey http://twitter.com/gabyDeey​/status/126134200079351808
03:15 perlrocks Twitter: "“@slashdot: Mojolicious 2.0: Modern Perl For the Web http://t.co/hl0Cxvmm” OMG drool" --irwin http://twitter.com/irwin/status/126134249500852224
03:17 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released version... http://t.co/FXtrOpPA" --injvstice http://twitter.com/injvstic​e/status/126134793330114560
03:18 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/6oj0RhNt" --denofeedflip http://twitter.com/denofeedfl​ip/status/126134980752576512
03:18 perlrocks Twitter: "Mojolicious 2.0: Modern #Perl For the Web http://t.co/YRiVTEtn #html5" --metazoa_en http://twitter.com/metazoa_e​n/status/126135027665870848
03:19 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/VvHiqMpP" (fr) --mf1337 http://twitter.com/mf1337/​status/126135217873358848
03:20 perlrocks Twitter: "@ianspalter Mojolicious looks like what Google Dart wanted to be." --irwin http://twitter.com/irwin/status/126135556936708096
03:20 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/kO27Dfu1" --EmmyArthur http://twitter.com/EmmyArthu​r/status/126135587815174146
03:21 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/wwnaV0if" --dev_slashdot http://twitter.com/dev_slashd​ot/status/126135751221067777
03:21 perlrocks Twitter: "#linux #opensource Mojolicious 2.0: Modern Perl For the Web http://t.co/jV7kZnx6 #DhilipSiva" --DhilipSiva_linx http://twitter.com/DhilipSiva_​linx/status/126135782535741440
03:25 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/bpXa9yP0" --ESITechadvisors http://twitter.com/ESITechadvi​sors/status/126136739600416769
03:25 perlrocks Twitter: "@ianspalter OK, not exactly (since Dart compiles to crazy obfuscated JS). Mojolicious just has the cool factor Dart doesn't have." --irwin http://twitter.com/irwin/status/126136742037291009
03:26 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/UOs66iSw" --developer_news http://twitter.com/developer_n​ews/status/126136934903980032
03:26 GabrielVieira joined #mojo
03:27 perlrocks Twitter: "Mojolicious 2.0: Modern #Perl For the Web http://t.co/Zk2RdIwj #html5: Mojolicious 2.0: Modern #Perl For the Web... http://t.co/Ly4XCdKv" --html5guy http://twitter.com/html5guy​/status/126137230837293056
03:28 perlrocks Twitter: "I so much want this to thrive! Mojolicious is a Perl real-time web framework. http://t.co/hp10798c" --andrewgilmartin http://twitter.com/andrewgilma​rtin/status/126137501604790272
03:29 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/GtZZIr7v" --reljicb1 http://twitter.com/reljicb1​/status/126137691879387138
03:33 abra joined #mojo
03:36 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/ltZ06wzb" --ReddingNews http://twitter.com/ReddingNe​ws/status/126139570734628865
03:38 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid... http://t.co/gd6UsJ9S #slashdot #tel4rent" --tel4rent http://twitter.com/tel4rent​/status/126139988084658178
03:38 MojoGuest951 joined #mojo
03:38 MojoGuest951 From: http://www.google.com/search?gcx=c&amp;sourc​eid=chrome&amp;ie=UTF-8&amp;q=websockets+irc (1 hits)
03:38 MojoGuest951 test
03:39 mercutioviz joined #mojo
03:39 MojoGuest951 left #mojo
03:40 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/p3pvoRJh" --cesartechfeed http://twitter.com/cesartechf​eed/status/126140530152312832
03:41 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/1dj2Fo99" --reddigalicious http://twitter.com/reddigalici​ous/status/126140774172725248
03:45 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/5hH6htpv" --_programmer http://twitter.com/_programm​er/status/126141872765800448
03:45 perlrocks Twitter: "slashdot: Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly relea... http://t.co/RllPaAVB" --freezingrss http://twitter.com/freezingr​ss/status/126141873168453632
03:45 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/tJspvUOI" --M0bileP0int http://twitter.com/M0bileP0i​nt/status/126141879552196608
03:45 perlrocks Twitter: "Slashdot  :: Mojolicious 2.0: Modern Perl For the Web http://t.co/ZpGvFp1a #linux #tech" --galternativa http://twitter.com/galternati​va/status/126141880659476480
03:45 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/H7qn3tCo" --raltida65 http://twitter.com/raltida6​5/status/126141883872317440
03:45 perlrocks Twitter: "[/.] Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released v... http://t.co/reESFqxY" --yuanchao http://twitter.com/yuanchao​/status/126141893905088513
03:45 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/IwGYIsP1" --three_41 http://twitter.com/three_41​/status/126141903061270528
03:45 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/lDRAbRA0" --hantucantik1 http://twitter.com/hantucanti​k1/status/126141904118226944
03:45 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web: Kvorg writes "After a year of rapid development, newly released versio... http://t.co/NY6NDyFy" --sirxl http://twitter.com/sirxl/status/126141904793513984
03:47 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/uoFk4nS5 #tech #news" --xil3 http://twitter.com/xil3/status/126142251368853504
03:48 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/0zUOGpgD" --blackblogmedia http://twitter.com/blackblogme​dia/status/126142561189511168
04:00 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/ykw048FV" --stevesandersonf http://twitter.com/stevesander​sonf/status/126145553686986752
04:02 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/2EgmcsMF" --BigViews http://twitter.com/BigViews​/status/126146137076928512
04:03 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/CoS49k2X" --iowahawkeyedave http://twitter.com/iowahawkeye​dave/status/126146262356594688
04:04 perlrocks Twitter: "#Mojolicious 2.0: Modern #Perl For the #Web: http://t.co/yaZ6Vt6A | #CPAN #HTML5 #Sebastian #applications #deployment #development" --TibidyUS http://twitter.com/TibidyUS​/status/126146510038642688
04:05 cstamas joined #mojo
04:06 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/iLfYpQg9" --_SciTechNews http://twitter.com/_SciTechNe​ws/status/126147074373844993
04:14 perlrocks Twitter: "Has anyone in the ether kicked the tires on Mojolicious? What did you think? http://t.co/TOeM2gWS" --Pamela_Dornan http://twitter.com/Pamela_Dor​nan/status/126149157835636736
04:26 perlrocks Twitter: "Mojolicious 2.0 released: Perl real-time web framework http://t.co/w5IizRmF" (zh-cn) --jinnli http://twitter.com/jinnli/​status/126152109572890624
04:29 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/kfnVuYix" --HugeTechGuy http://twitter.com/HugeTechG​uy/status/126152794884407296
04:37 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/vhk7HWGj" --pete_barry http://twitter.com/pete_barr​y/status/126154946793046016
05:06 grim_fandango joined #mojo
05:09 ispy_ joined #mojo
05:23 crab augh
05:38 jwang Slashdot! sweet :)
05:52 Vandal joined #mojo
06:00 tempire shnikies
06:00 tempire interested to see the analytics from today
06:01 tempire mojocasts.com has quadrupled in hits
06:02 tempire that may just be from the hacker news post, though.  will have  to wait until tomorrow to see the slashdot effect.
06:05 kaare joined #mojo
06:05 aghbas joined #mojo
06:08 perlrocks Twitter: "Came Mojolicious 2.0 http://t.co/vTyRuh8v # perl # framework # mojo # mojolicious" (ru) --xomaa http://twitter.com/xomaa/status/126177799399682048
06:14 ZadYree joined #mojo
06:34 koban joined #mojo
06:36 batman joined #mojo
06:36 arthas joined #mojo
06:40 arthas joined #mojo
06:44 arthas joined #mojo
06:46 arthas joined #mojo
06:51 marcus Guess I will be posting comments on slashdot for the first time in a decade :D
06:52 arthas joined #mojo
06:52 marcus oops http://nordaaker.com/docs/skitch/Mo​jolicious_2.0__Modern_Perl_For_the_​Web_-_Slashdot-20111018-085230.jpg
06:55 arthas joined #mojo
07:01 * marcus comments, showing off his l33t slashdot id :D
07:02 sugar joined #mojo
07:14 perlrocks Twitter: "You have installed version is up today. RT @ takumi_aki: "t / mojolicious / websocket_lite_app.t ......... 26/78" will not advance during the test? ? ?" (ja) --takumi_aki http://twitter.com/takumi_ak​i/status/126194395715354624
07:14 perlrocks Twitter: "[Story] Perl Web Framework Mojolicious 2.0 release: In the first version released about a year after the developer announced Mojolicious 2.0. Mojolicious is a Perl real-time Web application development framework, the new major new features include: support ... http://t.co/64tHmacH" (zh-CN) --solidot http://twitter.com/solidot​/status/126194520500076544
07:15 MojoGuest285 joined #mojo
07:15 MojoGuest285 From: http://news.ycombinator.com/item?id=1277067 (33 hits)
07:16 perlrocks Twitter: "Perl Web Framework Mojolicious 2.0 release: In the first version released about a year after the developer announced Mojolicious 2.0. Mojolicious is a Perl real-time Web application development framework, the new major new features include: support for Perl 5 .... http://t.co/kvZfTLoT" (zh-CN) --DarkMourn http://twitter.com/DarkMour​n/status/126194870665740288
07:16 perlrocks Twitter: "Perl Web Framework Mojolicious 2.0 release: In the first version released about a year after the developer announced Mojolicious 2.0. Mojolicious is a Perl real-time Web application development framework, the new major new features ... http://t.co/32korBJh # tech # news" (zh-CN) --Android_Bots http://twitter.com/Android_Bo​ts/status/126194872574160896
07:18 perlrocks Twitter: "For the Perl addicts around there: http://t.co/xIV6pR6g" --Chris_Loza http://twitter.com/Chris_Loz​a/status/126195335797293057
07:22 perlrocks Twitter: "solidot: "Perl Web 框架 Mojolicious 2.0 发布" http://t.co/EskADrFA" (fi) --whwkaj http://twitter.com/whwkaj/​status/126196328509345792
07:32 tempire ugh.
07:32 tempire I made the mistake of reading the slashdot comments.
07:37 bosphorus joined #mojo
08:06 tabbi joined #mojo
08:06 Vandal I've got failed tests during installation :(
08:09 tabbi left #mojo
08:37 perlrocks Twitter: "Mojolicious 2.0 release, Perl Web Framework http://t.co/bJkvi6Mn" (zh-CN) --itrecommend http://twitter.com/itrecomme​nd/status/126215274746740736
08:37 perlrocks Twitter: "Mojocast #3: Authentication, Helpers, and Plugins #perl #mojolicious http://t.co/f74Q7zBY" --essiccf37 http://twitter.com/essiccf3​7/status/126215286880870400
08:39 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/x83tozXi" --clandestine4 http://twitter.com/clandestin​e4/status/126215926126362624
08:43 kvorg tempire: slashdot comments are not there to be read these days
08:43 tempire I know.  I should have resisted.
08:43 tempire sri: http://jacquesmattheij.com/The​+Unofficial+HN+FAQ#homepagehow
08:46 kvorg marcus: 387 is l33t indeed! :-)
08:47 kvorg and a prime (number) to boot
08:47 kvorg ah, drat, it's not and my brain needs more coffee
08:50 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web - Slashdot http://t.co/DO8vhmwd" --fcambus http://twitter.com/fcambus​/status/126218540985483264
08:51 sri good morning
08:51 purl Lies!
08:51 andrefs joined #mojo
08:52 kvorg morning :-)
08:52 perlrocks Twitter: "Wow, #mojolicious made it to the frontpage on slashdot. :) http://t.co/TWw6U6DQ #perl" --kraih http://twitter.com/kraih/status/126219155585241088
08:54 marcus for some reason it's collapsed on slashdot?
08:54 marcus I don't understand how these things work but..
08:55 sri because you read it before?
08:56 sri looks like hypnotoad had no problems with being slashdotted
08:57 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web - Slashdot http://t.co/P4jbVUfC" --dginev http://twitter.com/dginev/​status/126220412479746049
09:03 sri ok, how did the camel lose its head?
09:08 crab is this like a "why did the chicken cross the road?" joke?
09:08 sri look at the camel on slashdot ;p
09:09 stephan48 they dont like camels?
09:11 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/w9ULZ0LD" --marcionicolau http://twitter.com/marcionico​lau/status/126223863032983552
09:11 perlrocks Twitter: "Mojocast #3: Authentication, Helpers, and Plugins #perl #mojolicious http://t.co/Zjxc5pc8" --JackNova http://twitter.com/JackNova​/status/126223932016705536
09:16 perlrocks Twitter: "mojolicious: A next generation web framework for Perl http://t.co/i8mw7Eje" --tim_yates http://twitter.com/tim_yate​s/status/126225192421830656
09:17 tabbi joined #mojo
09:19 tabbi left #mojo
09:21 MojoGuest84 joined #mojo
09:21 MojoGuest84 From: http://www.google.co.uk/url?sa=t&amp;source=web&​amp;cd=1&amp;sqi=2&amp;ved=0CCYQFjAA&amp;url=htt​p%3A%2F%2Fdev.xantus.org%2F&amp;rct=j&amp;q=mojo​%20websocket%20demo&amp;ei=-ESdTsPsLIOj8gPVhsHeC​A&amp;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg (1 hits)
09:21 sri who asked for retweets to be shown again? :D
09:33 cosmincx joined #mojo
09:37 marcus Not me, but I'm asking for them to be turned off.
09:38 sri they are still turned off :)
09:40 sri and they still account for 99% of the bot timeline
09:40 marcus ouch
09:40 marcus guess you're hot shit :)
09:43 kvorg hot shit is the new black
09:44 * kvorg pushes sri in the alligator pit, showes MongoDB driver after him and closes the trap door.
09:44 kvorg time to go to work :-)
09:50 spleenjack joined #mojo
09:57 abra joined #mojo
09:59 * stephan48 opens the trap door again, throws kvorg and a few alligators into it and clooses it, so teamwork and food!
09:59 crab what will the mongodb driver look like after it's passed through an alligator's digestive system?
09:59 stephan48 Moose?
09:59 purl Moose is sugar + class::mop + a bunch of other things, like roles. or uptodate
10:00 crab that is a terrifying thought.
10:01 stephan48 maybe
10:08 batman left #mojo
10:13 kvorg crab: ah, alligators for teamwork and kvorg for food. :-O
10:17 sugar joined #mojo
10:19 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web  http://t.co/jio76ZCw" --tripledes http://twitter.com/triplede​s/status/126241074913087488
10:19 sri mmmmmmmm… moose
10:28 crab a moose once bit my sister
10:30 perlrocks Twitter: "Mojolicious 2.0 released: Perl real-time web framework #perl /via YC http://t.co/fcvoPzCD" --FGRibreau http://twitter.com/FGRibrea​u/status/126243659866841088
10:37 ZadYree Hello, I've got a question: Is there a guide to set up a Mojo website on a web server I don't own? I mean I only can access to FTP, not even SSH.
10:37 perlrocks Twitter: "Mojolicious 2.0 http://t.co/HNWzKDwg" (sw) --fineleggirl http://twitter.com/fineleggi​rl/status/126245474104647680
10:37 perlrocks Twitter: "Mojolicious 2.0 http://t.co/XXqLAlKR" (sw) --mizzblizzy http://twitter.com/mizzblizz​y/status/126245498431606785
10:37 perlrocks Twitter: "Mojolicious 2.0 http://t.co/VJfmH3io" (sw) --sameer_kumar http://twitter.com/sameer_kum​ar/status/126245516207079425
10:38 perlrocks Twitter: "Mojolicious 2.0: The Web In A Box! http://t.co/To6RcLJn" --lordnaastik http://twitter.com/lordnaast​ik/status/126245825457295361
10:42 batman joined #mojo
10:53 abra joined #mojo
10:54 crab zadyree: step 1. run, don't walk, to another provider ;-)
10:54 ZadYree step 0: apply for a job ^^
10:54 ZadYree for me ofc :D
10:56 tabbi1 joined #mojo
10:57 perlrocks Twitter: "finally @sabersd has been waiting a long time! RT @tim_yates mojolicious: A next generation web framework for Perl http://t.co/IPRiuWbi" --staticnull http://twitter.com/staticnul​l/status/126250442798792704
10:57 sri 10k visitors during the last 12 hours
10:58 sri almost all from slashdot
10:59 sri hackernews was just about 6k yesterday
10:59 sri just a few hundred from hackernews today
11:00 sri reddit was just a few hundred on both days
11:01 sri 2k from feed aggregators and readers
11:02 sri both days
11:02 crab how many from alligators?
11:02 sri 7
11:03 perlrocks Twitter: "Mojolicious - Perl real-time web framework http://t.co/J2qwa324 (http://t.co/XNPFdHuN) [6 comments]" --reddit_prog_hot http://twitter.com/reddit_prog​_hot/status/126251956934148096
11:03 sri 42 from freshmeat :)
11:04 sri like 70% of all visitors are from the us
11:04 sri distant second is uk, then au and de
11:05 sri twice as many visitors using windows than linux
11:05 sri but linux is before os x
11:05 sri both are close though
11:06 sri 4th and 5th are ipad and iphone :)
11:07 sri that was for today (slashdot)
11:07 sri yesterday (hackernews) it was very similar, but os x was twice as big as windows
11:08 tabbi1 left #mojo
11:08 sri bounce rate was 70%
11:09 sri browsers are chrome, firefox, safari, opera (ie is almost not visible at the bottom)
11:09 sri chrome is quite a bit bigger than firefox, but both are way ahead of safari
11:11 sri 2 visitors from a blackberry browser
11:11 sri and dozens more phone specific ones
11:11 marcus ZadYree: amazon will give you a free ec2 instance
11:12 sri dotcloud is free too
11:12 ZadYree \o/
11:12 marcus http://aws.amazon.com/free/
11:13 sri the provider for most of our us visitors is called "road runner"
11:13 * sri just discovers new analytics stats
11:13 sri next are comcast and verizon
11:13 ZadYree well, I'm a bit sceptic about putting my website in amazon's hands
11:14 sri biggest european one is deutsche telekom
11:15 ZadYree Orange is the 2nd mondial one afaik
11:16 sri for out visitors it's proxad (whatever that might be)
11:16 sri *our
11:19 regueifa joined #mojo
11:19 andrefs joined #mojo
11:19 perlrocks Twitter: "Re: [PerlChina] Perl web framework - Mojolicious been exposed for some time, welcome to exchange http://t.co/LohPv7kT" (zh-CN) --nyxajedebi http://twitter.com/nyxajedeb​i/status/126256074490785792
11:20 marcus ZadYree: well, there are other free alternatives. Anything but a provider which only gives you ftp access
11:21 andrefs joined #mojo
11:22 ZadYree well, I 100M agree, but my domain name and hosting service is already paid :D
11:22 sri https://www.dotcloud.com/pricing/
11:22 ZadYree kk
11:24 ZadYree 99$/month is quite expensive, isn't it
11:24 ZadYree btw I already have an account :D
11:24 sri but free is not
11:26 ZadYree yup
11:28 perlrocks Twitter: "@ Techno_neko @ perlcafe Mojolicious, Amon2, Catalyst, I choose to love and good in the Dancer. Japanese Dancer will be less information" (ja) --aloelight http://twitter.com/aloeligh​t/status/126258300894453760
11:32 perlrocks Twitter: "Thank you! RT @ aloelight: @ techno_neko @ perlcafe Mojolicious, Amon2, Catalyst, I choose to love and good in the Dancer. Japanese Dancer will be less information" (ja) --techno_neko http://twitter.com/techno_ne​ko/status/126259476348153856
11:34 perlrocks Twitter: "@ Aloelight @ Mojolicious Thanks I would like to make in techno_neko" (ja) --PerlCafe http://twitter.com/PerlCafe​/status/126259761560813569
11:34 bosphorus joined #mojo
11:42 migo joined #mojo
11:50 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web - Slashdot http://t.co/A9rhOq5h" --Gremski http://twitter.com/Gremski​/status/126263810515402752
11:57 dlg joined #mojo
11:58 dlg is there an easy way to pass something along to a useragent callback?
12:16 Shaeto_ joined #mojo
12:36 perlrocks Twitter: "Mojolicious appeared in version 2.0. Do webdeweloperzy still do something in Perl?: Sebastian Riedel Announce ... http://t.co/yYugreZ7" (pl) --webhostingpl http://twitter.com/webhosting​pl/status/126275346281672704
12:36 andrefs joined #mojo
12:37 Shaeto_ hi guys, i have a project there i need to build page using several controllers. for example i have controllers for "menu", for "workspace", "footer" etc etc. each controller have own template etc, now i need to embedd several "elements" into one page. simplest way i think is add specific methods for all "element" controllers and use there render_content to return render result. next i can call controllers directly from template. not sure if this way is recomm
12:39 dolmen joined #mojo
12:41 dolmen How can I replace Mojo::Log to redirect messages to my own logging system?
12:49 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/hQTxKuJL" --kenancasey http://twitter.com/kenancase​y/status/126278849267900416
12:50 dolmen my M9s app is embedded with Twiggy inside a bigger app and I would like to use a common logging system to send logs to syslog
12:52 marty Shaeto_: I'm not sure if there is a "recommended" way to do it.  My guess would be to either use a common layout for all templates or a common controller for the final rendering.  (just a suggestion)
12:52 perlrocks Twitter: "Yappari Mojolicious lite goes in the non lite so antipathetic" (ja) --jamadam http://twitter.com/jamadam​/status/126279489889124352
12:56 Shaeto_ thank you marty
13:04 Akron joined #mojo
13:06 marty dolmen:  Not sure if MojoX::Log::Dispatch is still functional.  If not, it may give some good ideas.
13:11 perlrocks Twitter: "Release web-framework Mojolicious 2.0, continuing the development of Catalyst http://t.co/vsmALCsK" (ru) --opennetru http://twitter.com/opennetr​u/status/126284254878507009
13:14 sri that should be turned into a plugin
13:21 kvorg hmm, so slashdot was not such a silly idea after all?
13:21 * kvorg gloats.
13:21 sri kvorg++
13:22 * kvorg jumps up and down and falls back in the pit screaming "and Freshmeat!".
13:24 perlrocks Twitter: "Interesting, according to my analytics data we got 3-4 times more visitors from slashdot than from hackernews. #mojolicious #perl" --kraih http://twitter.com/kraih/status/126287578403045377
13:27 ZadYree Well, is there a guide to set up a mojo w/ dotcloud? I don't really understand how it works
13:28 marty very cool that Hypnotoad handled all the traffic that was thrown at it.
13:28 marty kvorg++
13:29 marty ZadYree: Have you read this...  http://blog.kraih.com/mojolicio​us-in-the-cloud-hello-dotcloud
13:29 marty Not sure if it is up to date however
13:31 stephan48 no anymore the did some changes to the deployment process
13:31 ZadYree well, using the app.pl directly seems... weird!
13:32 ZadYree I had read it an hour ago but meh... it still looks obscure to me
13:35 Akron ZadYree: Just mix that tutorial with the updated deployment from http://docs.dotcloud.com/services/perl/ and it should work easily.
13:41 amoore joined #mojo
13:51 stephan48 jap!
13:51 stephan48 oh hi Akron!
13:52 Akron stephan48: Hi!
13:55 ZadYree Thanks Akron, let's brainstorm. I should rather read mojo code, the fact is I don't understand few things
13:57 plu ZadYree: you can also take a look at https://github.com/plu/github-meets-cpan - this is running on dotcloud and using mojolicious
13:58 ZadYree ah thank you
13:59 sri plu: great example, it should be on top of the wiki example list ;)
14:00 mire joined #mojo
14:03 mire hi, do you guys use threads + events for networking or just events limiting yourself to one cpu?
14:04 sri processes and events
14:10 cosmincx joined #mojo
14:10 sri the basic design is very similar to nginx
14:12 mire sri, thanks I'll give it a look
14:16 KayT3 joined #mojo
14:16 perlrocks Twitter: "Release web-framework Mojolicious 2.0, continuing the development of Catalyst: http://t.co/psa3PtKN" (ru) --Un1oR http://twitter.com/Un1oR/status/126300520137768960
14:16 KayT2 joined #mojo
14:16 knighthacker left #mojo
14:16 perlrocks Twitter: "OpenNews: Release web-framework Mojolicious 2.0, continuing the development of Catalyst http://t.co/yumC24Pr looks tasty" (ru) --Un1oR http://twitter.com/Un1oR/status/126300673779314688
14:20 perlrocks Twitter: "What is the @ say memememomo mojolicious mojolicious@googlegroups.com" (ja) --trinityCRZ http://twitter.com/trinityCR​Z/status/126301617514496000
14:22 migo joined #mojo
14:23 spleenjack joined #mojo
14:24 perlrocks Twitter: "2.0! / "Mojolicious 2.0 released: Perl real-time web framework - Sebastian Riedel about Perl and the Web" http://t.co/6JoFj3UT" (ja) --memememomo http://twitter.com/memememom​o/status/126302714085900288
14:31 GabrielVieira joined #mojo
14:36 perlrocks Twitter: "Framework 2.0 makes Mojolicious pace http://t.co/tB6VFMhi # linux" (de) --linuxmagazin http://twitter.com/linuxmagaz​in/status/126305688132648960
14:36 perlrocks Twitter: "@ Linux magazine Framework 2.0 makes Mojolicious pace http://t.co/18tkw8wE # linux" (de) --tux_news http://twitter.com/tux_news​/status/126305689495814144
14:40 perlrocks Twitter: "Linux Magazine Online News: Framework 2.0 makes Mojolicious pace http://t.co/L7w45YtK # linux" (de) --linuxticker http://twitter.com/linuxtick​er/status/126306677434748929
14:41 sri http://groups.google.com/group/mojolicio​us/browse_thread/thread/16428abe2b225cb1
14:41 sri that's actually a really tricky problem on the list
14:43 mattastrophe joined #mojo
14:43 perlrocks Twitter: "Release web-framework Mojolicious 2.0, continuing the development of Catalyst http://t.co/SbuKd8T3" (ru) --Lininua http://twitter.com/Lininua​/status/126307396355235840
14:43 sri opening tags in comments are easy to ignore, but closing ones…
14:47 koban left #mojo
14:47 mattastrophe joined #mojo
14:55 tty234 joined #mojo
14:58 kvorg i am a bit slow, so please run this by me: all template tags, including comment tags, are parsed in the same way, so that their contents must be syntactically correct for the tokenizer?
14:58 perlrocks Twitter: "Shared: The release web-framework Mojolicious 2.0, continuing the development of Catalyst: presented to the second stable rel ... http://t.co/pPdSJjRt" (ru) --stepanov http://twitter.com/stepanov​/status/126311238920708096
14:59 kvorg but at the same time a commented line with a tag inside it should not have any problems? (i had some problems with that in newer versions, but i never investigated since the commented lines were obsolete anyway)
15:00 sri lines are preprocessed into tags
15:00 sri % lalala; becomes <% lalala; %>
15:00 batman joined #mojo
15:00 kvorg so comments are not really comments in traditional sense, but are tags that produce no output.
15:00 sri right
15:01 sri how else could they work?
15:02 kvorg well, you could either enjoy making a very very special case for comment lines to allow the traditional understanding where comments can contain anything, or you could just put something like the above phrasing in the documentation. :-)
15:02 sri the documentation is pretty clear already i think
15:02 sri maybe you don't know the latest version yet
15:03 kvorg ah, should have looked ... even doc comments should be made on the latest master.
15:03 * kvorg crawls back in the pit, reading documentation.
15:03 sri http://mojolicio.us/perldoc​/Mojo/Template#DESCRIPTION # look at the tag overview
15:03 sri it even has examples for how lines are parsed
15:04 perlrocks Twitter: "Rails for Perl Mojolicious a http://t.co/Ab2Dm8ER" (es) --volkan68 http://twitter.com/volkan68​/status/126312734374625280
15:05 kvorg you are right, it is very clear. if i wanted to nitpick, i could suggest that the term comment is misleading, and you should replace it with noop or ignored or something like that. what do i know. users complain.
15:05 sri sure, give me a better term ;p
15:05 kvorg what do you think i am, smart or something?
15:06 sri heh
15:06 sri BUT
15:06 sri "ignored" and "noop" are misleading too
15:06 kvorg on the other hand, when everyone fixes their syntactical errors uncovered by this, it will all be forgotten, so perhaps we are fussing too much.
15:06 sri since tags are not ignored
15:07 kvorg hence the "or something" :-/
15:07 sri told ya it was tricky :)
15:10 GitHub181 joined #mojo
15:10 GitHub181 [mojo] kraih pushed 1 new commit to master: http://git.io/cQpLMQ
15:10 GitHub181 [mojo/master] mention that Perl 5.10 features are automatically enabled - Sebastian Riedel
15:10 GitHub181 left #mojo
15:12 mercutioviz joined #mojo
15:13 mattastrophe joined #mojo
15:15 perlrocks Twitter: "Release web-framework Mojolicious 2.0, continuing the development of Catalyst: http://t.co/eE4oFKjR" (ru) --kucheryavenkoa http://twitter.com/kucheryaven​koa/status/126315528619962372
15:21 sri http://www.cpantesters.org​/distro/M/Mojolicious.html # looks like a good release so far
15:21 sri only known problems are on windows with perl 5.12
15:21 sri and that's most likely a perl bug
15:22 marcus wow, webos is still updated
15:22 marcus wonder what happened with the ones we ordered
15:22 sri you seriously did?
15:23 sri wouldn't it make more sense to get a bunch of kindle fires for the same price?
15:23 sri since they are like, actually useful :)
15:23 marcus well, we did it long before the kindle fires were shipped, when they dropped the price to 99$ or whatever
15:24 marcus arne ordered them
15:24 marcus I'm not a big android fan
15:24 marcus webos is way prettier
15:25 sri i'm sure there's a necrophilia joke hidden somewhere
15:27 marcus being a perl developer, I'm careful with labeling things as 'dead'...
15:27 sri microsoft couldn't even establish windows phone as a viable platform yet
15:28 marcus true
15:28 marcus I like that one better than android too :-)
15:28 * sri too
15:28 mattastrophe joined #mojo
15:28 marcus guess it will help when nokia starts shipping wp7 devices
15:29 sri webos would need a miracle, like a HP+RIM alliance or so
15:29 marcus heh, that sounds more like a clusterfuck
15:30 marcus :)
15:30 sri but enterprise people would love it!
15:30 marcus maybe hp could open source, it and it could compete with wp80
15:30 marcus windows 8 even
15:30 perlrocks Twitter: "I haven't ever played with Mojolicious, but this looks promising: http://t.co/M2LsJa8h #Perl" --mfollett http://twitter.com/mfollett​/status/126319338146897921
15:31 marcus finally linux with a nice gui
15:31 sri i could see google buy it for the patents
15:31 marcus http://www.networkworld.com/communi​ty/blog/hp-should-open-source-webos
15:32 perlrocks Twitter: "Mojolicious 2.0 released: Perl real-time web framework http://t.co/u4ksqJV0 perl # # # Mojolicious WebDev" (de) --PerlHowto http://twitter.com/PerlHowt​o/status/126319623674146816
15:32 marcus see, the internet agrees with me
15:32 marcus if google buys it, it's dead as a doornail
15:32 marcus facebook should buy it and ship their own kindle fire competitor :)
15:33 sri INTERNET! IS THAT THING STILL AROUND?
15:33 sri hmm, facebook is a bit of a wildcard
15:35 marcus let's just hope hp doesn't sell to yahoo :)
15:35 marcus or AOL
15:36 perlrocks Twitter: "Web framework Mojolicious releases version 2.0 http://t.co/kCNcuO2D" --perlbuzz http://twitter.com/perlbuzz​/status/126320796653203456
15:37 mattastrophe joined #mojo
15:37 marcus https://github.com/mxcl/MBWebSocket could be fun to use with Mojolicious
15:38 sri shouldn't it be a client?
15:38 marcus hmm yeah
15:38 marcus I noticed that as well.
15:38 marcus I don't quite understand it from the example :D
15:39 marcus NSLog(@"Connected to a client (and we only work with one for now!)");
15:39 marcus with method name webSocketServerDidConnect
15:40 batman joined #mojo
15:40 marcus found a client too tho
15:41 marcus http://code.google.com/p/uni​tt/wiki/UnittWebSocketClient
15:47 xaka joined #mojo
16:01 Foxcool joined #mojo
16:03 sgsax joined #mojo
16:06 bosphorus joined #mojo
16:16 sri dolmen: look, if you're unhappy with something feel free to start a sensible discussion that can actually change things, but i do not appreciate snarky comments in threads about the celebration of a release
16:17 perlrocks Twitter: "New Bookmark: mojolicious:  http://t.co/pYlzvz5B" --speljamr http://twitter.com/speljamr​/status/126331120773107713
16:21 sromanov joined #mojo
16:22 dolmen sri: the "release early, release really really really often" is hard to follow, and sometimes painful
16:23 sri was that so hard to say?
16:23 dolmen will do
16:23 jwang is there anything wrong with no upgrading until you're ready?
16:23 sri i've actually acknowledged that criticism a few weeks ago and changed the release cycle already
16:24 sri you're not the only one feeling that way
16:24 dolmen jwang: the CPAN toolchain does not makes it easy
16:25 sri discussions solve problems, snarky comments only get you blacklisted
16:26 dolmen sri: do you have a link I could post about that change of release cycle?
16:26 marty personally, I actually like the relase early and often model.  Then I can keep develpment up to date and upgrade production when I want.
16:26 mercutioviz most oss projects do let people rant, but it's helpful to enclose the rant in <rant></rant> tags so that everyone knows you're just venting and not actually being a jerk
16:26 mercutioviz we get this over at the FreeSWITCH project all the time
16:27 marty I can sync my development envioronment with sri gitub branch in 2 seconds and I love to play with all the new goodies.  :)
16:28 sri dolmen: there is nothing official, the release every other day cycle was in fact just an experiment to see how people would react
16:29 sri mercutioviz: i don't mind ranting, but it should be done in the right environment
16:30 mercutioviz there is always a challenge with releasing often. e.g., people will always try your software in an environment you never thought of and/or have no way to test
16:30 mercutioviz the butterfly effect is quite real
16:31 sri best example is mojolicious 1.99, it had a fail rate of like 50% and we didn't know about it because cpantesters was broken for weeks
16:32 sri <3 cpantesters
16:32 mercutioviz sri: ACK that. our main dev is pretty tolerant of rants, but he will reach through IRC or email and rip someone's head off if they are snarky/rude/etc.
16:33 sri on a bad day my tolerance for snarky comments is rather low too :)
16:33 mercutioviz sri: you'd probably get along quite well with Tony (our benevolent dictator)
16:41 sri weird feeling, i'm actually happy with the mojolicious architecture now :)
16:45 MojoGuest509 joined #mojo
16:45 MojoGuest509 From: http://news.ycombinator.com/item?id=1277067 (34 hits)
16:46 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/YYdZoeRd" --JohnAdamMalam http://twitter.com/JohnAdamMa​lam/status/126338446594801665
16:46 perlrocks Twitter: "It has been a long time since I have written any #perl program. Would like to take a bit of #mojolicious" --akkinenirajesh http://twitter.com/akkineniraj​esh/status/126338452554907648
16:49 metaperl joined #mojo
16:52 MojoGuest555 joined #mojo
16:52 MojoGuest555 From: http://news.ycombinator.com/item?id=1277067 (35 hits)
16:52 marty sri: don't worry, the feeling will pass.  :P
16:52 perlrocks Twitter: "Blogorum: Mojolicious - Perl real-time web framework http://t.co/5Elb1ffQ" (de) --rfc1437 http://twitter.com/rfc1437​/status/126339917818249216
16:52 sri ;p
16:54 marty been playing with Mojolicous + Kendoui DataSource Syncing today.  Really fun, really powerful stuff.
16:55 perlrocks Twitter: "Release web-framework Mojolicious 2.0, continuing the development of Catalyst http://t.co/DNblRukS" (ru) --GNUProject http://twitter.com/GNUProjec​t/status/126340559190228992
16:55 * marty is drooling in anticipation of the mongodb driver.  ;p
16:56 Shaeto_ left #mojo
17:00 xaka sri: any ideas why json decoding of '{"value":10}' returns 10 as a string, not a number? i saw "0 + $1" trick, but somehow result hash's key
17:03 tempire I like the releasing often
17:03 tempire if cpan  makes it hard, that's a problem with cpan, not releasing often
17:04 tempire and it's not hard, really, it's just not obvious.
17:04 tempire cpanm https://github.com/kraih/mojo/tarball/v[version]
17:05 sri tempire: it's a psychological thing, release too often and people just assume something is unstable
17:06 sri i think the right balance is a few weeks between releases
17:06 tempire I think it also exposes the lack of a sane testing and release process on their end.
17:07 sri indeed
17:07 sri what other perl projects are there that are evolving so rapidly?
17:07 marty perl6?
17:07 purl somebody said perl6 was see Perl 6
17:08 * marty ducks and runs
17:08 sri :D
17:08 tempire the perl6 macros look interesting.
17:08 marty xaka: Did you test that mojo one-liner I posted for you?
17:08 tempire super wordy, though
17:08 sri not much in perl6 that looks boring
17:09 xaka marty: i think i was offline that time, didn't receive any post from you :(
17:09 tempire sri: did you see the link regarding gaming hacker news?
17:10 marty xaka:  xaka:  perl -Mojo -E'say Mojo::JSON->new->decode(Mojo​::JSON->new->encode({number => 123}))->{number}'
17:14 xaka marty: Can't use an undefined value as a HASH reference at -e line 1. :)
17:14 grim_fandango joined #mojo
17:14 perlrocks Twitter: "great. perl is the new java. (Mojolicious 2.0: Modern Perl For the Web - Slashdot) http://t.co/xg8XAGB7" --kizmorgan http://twitter.com/kizmorga​n/status/126345505906229250
17:15 xaka perl is the new java? o_O
17:15 sri lol
17:16 sri for the oneliner i get "123" on all my perl versions
17:16 marty :p,  Hmm, works here when I cut and paste it.  I have no idea why that does not work for you
17:16 sri tempire: yes
17:17 marty Yep, me too.  Which, in my limited understanding, would imply that any quoted numbers you see are not the result of the mojolicous json encoding/decoding
17:20 marty xaka: You should just get 123  (no quotes) when you run that line
17:21 xaka i'm confused, encode returns valid string, but decode returns nothing :)
17:22 xaka wtf, yesterday it worked, good or bad, but it did
17:22 marty sounds like Gremelins to me.  :)
17:22 sri our json tests are pretty damn good, a bug would surprise me
17:22 * sri bets on gremlins too
17:24 xaka i believe you guys, i checked that "0 + $1" is called, but somehow somewhere when value had been passed to hash, it was converted to string. magic because there is nothing only $hash{$key} = decode_value(...)
17:26 xaka python does better with dynamic types. at least it has concrete int, str, bool, ..., but still dynamic
17:27 sri 0 + $int or int($int), both work
17:29 tempire bah.  my cpanm github link from before didn't work.
17:29 tempire replacement:
17:29 tempire cpanm http://backpan.perl.org/auth​ors/id/S/SR/SRI/Mojolicious-[VERSION].tar.gz
17:29 MojoGuest628 joined #mojo
17:29 MojoGuest628 From: http://www.google.com/url?sa=t&amp;source=we​b&amp;cd=9&amp;ved=0CE4QFjAI&amp;url=http%3A​%2F%2Fdev.xantus.org%2F&amp;rct=j&amp;q=mojo​licious%20demos&amp;ei=SbedTrSoNMb40gHjsfSWC​Q&amp;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg (1 hits)
17:31 mattastrophe joined #mojo
17:32 sri http://backpan.perl.org/authors/id/S/SR/SRI/ # i sure have collected quite a few files over the years
17:33 xaka marty: actualy, even perl -Mojo -E 'say Mojo::JSON->new->decode(Mojo​::JSON->new->encode({number => "123"}))->{number}' will show you 123.
17:33 xaka marty: perl -MData::Dumper -MMojo -E 'say Dumper(Mojo::JSON->new->decode(​Mojo::JSON->new->encode({number => 123})))' shows more real situation
17:33 sri just use Devel::Peek
17:33 xaka marty: : compare with perl -MData::Dumper -MMojo -E 'say Dumper({number => 123})'
17:35 marty xaka: I get $VAR1 = { 'number' => 123 };
17:35 xaka marty: what the perl version?
17:36 sri i can confirm that
17:36 marty 5.14.1
17:36 xaka mine is 5.10.1
17:36 sri 5.14.2, 5.10.1, 5.12.3
17:37 marty I get the same results on 5.10.1
17:37 xaka hm, Devel::Peek shows "NV = 123" for Mojo encode/decode and "IV = 123" for hash
17:37 xaka iv sounds like integer value, but what is nv
17:39 xaka ok, NV is for doubles
17:40 xaka so, should i just throw away my perl version? :)
17:41 Sjors joined #mojo
17:42 perlrocks Twitter: "This is my favorite web toolkit. RT @kraih: #mojolicious 2.0 released, #perl real-time web framework. http://t.co/VO7jdurc" --ttyS1 http://twitter.com/ttyS1/status/126352444845342721
17:43 sri xaka: what flags does your int have?
17:43 mercutioviz joined #mojo
17:44 sri FLAGS = (NOK,pNOK
17:44 sri that's what i have with 5.14.2
17:44 xaka in case of mojo encode/decode: (NOK,pNOK)
17:44 xaka in case of hash: (IOK,pIOK)
17:44 sri interesting
17:45 sri i have (NOK,pNOK) with all versions
17:48 xaka when i changed 0 + $1 to 0 + int($1) it started show integers
17:51 Sjors joined #mojo
17:52 xaka but i think we cant just convert everything to int. there is also doubles and big integers
17:52 MojoGuest685 joined #mojo
17:52 MojoGuest685 From: http://blog.kraih.com/perl-is-ready-for-html5 (6 hits)
18:04 perlrocks Twitter: "Release web-framework Mojolicious 2.0, continuing the development of Catalyst http://t.co/TELz5CrS" (ru) --foss_news http://twitter.com/foss_new​s/status/126358093813653505
18:12 ato joined #mojo
18:13 sri "This PHP code is so clean and elegantly solves the problem at hand" - Nobody, never
18:13 sri :D
18:16 ato Does anyone have any idea why https://gist.github.com/1296202 gives me the same problem described in http://groups.google.com/group/mojolicio​us/browse_thread/thread/b217f49044c02c7d or http://toroid.org/ams/etc/mojolicious-db-handles ?
18:17 janus joined #mojo
18:18 mercutioviz haha re: PHP clean and elegant code
18:23 mattastrophe joined #mojo
18:24 smpb joined #mojo
18:40 ato Nevermind, I got it working after following https://github.com/kraih/mojo/wi​ki/Hypnotoad-prefork-web-server, which explained it quite plainly.
18:43 jwang people use PHP because it's (a) easier t get started and (b) easier to deploy - not b/c it's cleaner or more elegant
18:43 jwang there was a good thread on HN recently
18:43 tempire people still use php?
18:43 tempire I don't believe it.
18:44 jwang it's dropped a lot but it's still high according to google trends
18:45 jwang just put in "perl, ruby, python, php" into google trends
18:46 tempire Maybe tomorrow.
18:46 purl rumour has it maybe tomorrow is a better day for some more enlightenment
18:46 tempire Those languages are all boring to me.
18:46 tempire except for perl
18:46 jwang I was about to say ;)
18:48 perlrocks Twitter: "Mojolicious 2.0 release, Perl Web Framework: Mojolicious 2.0 release. Mojolicious the next generation of the Perl language of Web programming framework, providing ... http://t.co/RFk4q8XN" (zh-CN) --javaeye http://twitter.com/javaeye​/status/126369006578966528
18:49 azawawi joined #mojo
18:51 azawawi left #mojo
18:59 mattastrophe joined #mojo
19:01 tempire ok, now I see why smalltalk never took off
19:01 tempire these implementations are uuuuuugly
19:01 tempire and cocoa uses all the good stuff from it.
19:06 tabbi joined #mojo
19:10 smpb joined #mojo
19:38 sri mmmmm… cocoa
19:46 tabbi left #mojo
20:03 mattastrophe joined #mojo
20:05 amoore joined #mojo
20:07 jurre joined #mojo
20:08 jurre anyone here to answer a beginner question ?
20:08 marty jurre: sure
20:09 jurre i installed 2.0 and am trying out the examples from the website...
20:09 grim_fandango Okay folks, here's an interesting one for you: I've a Mojo app under Apache/CGI hosted at example.org/mygroup - I'm POSTING to /mygroup/signin which, if successful, redirects via $self->redirect_to($self->url_for('/welcome') but for some reason this always ends up as /mygroup/mygroup/welcome no matter what I do.  Can anyone provide me any insight on how to get rid of the duplicated "mygroup"?
20:09 grim_fandango Mojo 1.96 here - maybe that is a bug that has been fixed.
20:09 jurre why do i get the unboxing message and error "Template "clock.html.ep" not found" when trying 127.0.0.1:3000/time ?
20:10 sugar joined #mojo
20:11 marty jurre:  make sure you have the file clock.html.ep exists in your templates directory
20:11 jurre but its inline in a lite app?!
20:12 marty ok.  Then make sure you have a @@ clock.html.ep in your __DATA__ section
20:13 jurre i have, i just copied the example from the website in a file and startted it with morbo…
20:14 marty You can pastebin your file if like so I can look at it.
20:15 marty grim_fandango:  are running mojolicous under apache?  Or using morbo or hypnotoad?
20:16 grim_fandango joined #mojo
20:16 marty I'm assuing you are using Apache, but just want to make sure. :)
20:16 jurre its on pastebin
20:16 marty link?
20:16 purl link is awesome.
20:16 jurre http://pastebin.com/9F05pZYW
20:16 MattAdams Dropped connection, in case anyone made a suggestion for me.
20:17 jurre as i said its just the example from the website...
20:19 janus is the space in front from copy&paste?
20:20 marty jurre:  You have spaces in front of @@
20:20 marty those must be the first characters on the line
20:21 jurre ok let me change that and retry...
20:22 jurre yep that was is it… should have seen that… :-0  thanx!
20:23 marty MattAdams:  Can you test under Morbo?
20:23 MattAdams It seemed to be working okay under Morbo.
20:23 MattAdams marty: Problem started when I began using it as an Apache/CGI.
20:23 marty Then my guess is that you have a redirect somewhere in Apache.  (just a guess)
20:24 marty I've personally never run Mojolicous under Apache so don't trust me too much.  :)
20:24 MattAdams Shoot.  I think I might see the problem (missing final / after ScriptAlias path)
20:25 MattAdams Nah, that doesn't seem to be it.
20:25 MattAdams I'll keep poking at it, thanks marty.
20:25 marty :)
20:35 ato How do I remove the “welcome page” and have / map to /public/index.html instead?
20:42 marty A lite route would look like this...   get '/' => 'index';
20:43 marty If no index.html.ep exists in templates then I think  it will server it up from public.  But not sure.
20:51 sri marty: it doesn't, but render_static can be used
20:54 sri it's not very common to map routes to static files i think
20:59 MattAdams sri: Do you have any insight into the redirect troubles with Apache/CGI above?  The only way I could get around it was to pass a complete URL to $self->redirect_to() -- $self->redirect_to($self->url_for('/')) would always end up redirecting to /mygroup/mygroup when I just wanted to go to /mygroup.
21:00 sri nope
21:00 marty thanks: sri.
21:01 MattAdams Thanks.
21:07 mattastrophe joined #mojo
21:09 andrefs joined #mojo
21:16 perlrocks Twitter: "@kraih Congrats on Mojolicious  2.0 and getting on Slashdot. Also thanks for keeping Perl 5.8.8 as painful as it might be." --senormeow http://twitter.com/senormeo​w/status/126406236898992128
21:28 andrefs joined #mojo
21:29 sri oh, we've reached 30k visitors today
21:31 sri wonder how many prevent google analytics
21:36 janus you got the logs, just tell us please :)
21:40 ato_ joined #mojo
21:40 marty And Hypnotoad handled it all?
21:40 sri i actually don't have logs, just analytics
21:40 sri yes, all hypnotoad
21:40 marty Outstanding!
21:40 marty sri++
21:41 jurre left #mojo
21:45 ato_ left #mojo
21:45 ato joined #mojo
21:50 trone_ joined #mojo
21:51 sri :)
22:03 ato Do I really have to overwrite the render_not_found() routine if I want to change the standard 404 page?  http://toroid.org/ams/etc/mojo-testing-exceptions
22:03 ato In a regular app, that is.
22:08 sri http://gun.io/blog/python-for-the-web/ # hmm, i see this and can't stop thinking "damn, that's complicated"
22:08 marty ato:   running morbo?
22:08 ato marty: Yep, locally.
22:09 marty Do you know what your MOJO_MODE is?
22:10 sri i'm sure there's a recipe for that
22:11 marty I set my environment variable MOJO_MODE=production  -- then create a not_found.html.ep in templates and all is well
22:11 sri non mode specific one always works
22:12 sri there are 3 layers i think now
22:13 ato marty: Is my MOJO_MODE the same as what I'd use for setting $app->mode()?
22:13 sri hmm, the recipe is actually not that great, i'll rewrite it :)
22:14 ato /templates/not_found.html.ep works, thanks (-:  Would it be possible to serve a static 404 page, or would that really have no point?
22:15 marty imo, no point. :)
22:15 * sri agrees
22:16 ato Is there documentation anywhere of what these “magic names” are for 401, 404, 500, etc.?
22:16 ato not_found.html.ep wasn't very obious.
22:16 ato +v
22:18 sri only 404 and 500 are built in
22:18 ato What's the 500 called?
22:18 marty here is a better explanation of how the exception templates work.   http://mojolicio.us/perldoc/Mojolic​ious/Guides/Rendering#Mode_specific​_exception_and_not_found_templates
22:18 sri rewriting that recipe right now :)
22:19 ato Oh, thank you again (-:
22:20 ato marty: How would I go about pulling in my default layout for those pages?
22:23 ato Figured it out. (-:
22:25 marty afk
22:28 GitHub117 joined #mojo
22:28 GitHub117 [mojo] kraih pushed 1 new commit to master: http://git.io/x_uRqA
22:28 GitHub117 [mojo/master] improved the custom exception and not_found recipe - Sebastian Riedel
22:28 GitHub117 left #mojo
22:28 sri that should be a little better
22:29 sri http://mojolicio.us/perldoc/Mojolicious/Guides/Re​ndering#Custom_exception_and_not_found_templates
22:32 sri not entirely sure about the alternative list, but can't think of a better way to explain it
22:34 ato Thanks!
22:36 sri aside from the new title, i'm not sure i actually made it better :/
22:36 ato Well, pointing me to the docs was help enough in the first place (-:
22:37 metaperl|2 joined #mojo
22:45 GitHub82 joined #mojo
22:45 GitHub82 [mojo] kraih pushed 1 new commit to master: http://git.io/UQCJFQ
22:45 GitHub82 [mojo/master] made a few more refinements to the exception and not_found recipe - Sebastian Riedel
22:45 GitHub82 left #mojo
22:46 sri yea, i like it more that way
22:46 sri the case without mode is way too uncommon
22:57 sri oh my
22:57 sri look what treasure i have found!
22:58 sri http://www.hung-truong.com/blog/audio/NyanCat.m4r # it's a nyan cat ringtone for iphones
22:58 * sri shakes tempire
23:04 sjn o_O
23:04 sjn does that one go on forever?
23:07 sri i hope so
23:20 mercutioviz sri: dude, high 5 to you. I just wrote my first ever mojolicious lite app w/ mojo::ioloop and websockets. It took about 30 minutes, half of which was me being retarded with html
23:21 sri o/
23:22 marty \o
23:22 mercutioviz mojolicious = way too easy
23:22 * marty nods
23:23 * sri needs to sleep, don't trash the channel! :)
23:23 mercutioviz :P
23:23 marty well, except for Async.
23:24 marty nn sri!
23:24 sri async is hard, lets go shopping!
23:24 sri nn
23:24 marty \o/
23:27 perlrocks Twitter: "I was the person who originally created the Catalyst What is the author of Mojolicious. http://t.co/DFdJpUuS" (ja) --Cside_ http://twitter.com/Cside_/​status/126439352787156992
23:33 xantus[] sri: how do I remove a connection timeout
23:33 xantus[] without the id
23:33 xantus[] I just have the connection id
23:33 xantus[] doh, you went to sleep
23:34 xantus[] anyone else know?  I can't spend much time on this
23:35 marty I have no idea. I wish I could help, xantus[] :(
23:35 xantus[] http://workshop.chromeexperiments.com/bookcase
23:39 jwang_ joined #mojo
23:42 marty wow, that's pretty neat.
23:48 xantus[] yeah, I kinda want to do that for tv shows
23:48 xantus[] and movies
23:51 perlrocks Twitter: "Mojolicious 2.0: Modern Perl For the Web http://t.co/cB4skhYY" --jcleblanc http://twitter.com/jcleblan​c/status/126445353368162304
23:57 Alias_ joined #mojo

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