Camelia, the Perl 6 bug

IRC log for #mojo, 2010-08-03

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

All times shown according to UTC.

Time Nick Message
01:06 awnstudio joined #mojo
01:20 xantus_ wtf, perl not finishing a write to disk?
01:21 xantus_ hm, its like a 15mb limit or some os thing
01:24 y0j joined #mojo
01:31 sri damn, oauth looks so simple, but testing it is absolutely insane
01:31 xantus_ :(
01:32 sri now i get why vti has almost no tests
01:49 sri wow, oauth is so much easier
01:49 sri umm 2.0
01:53 GitHub136 joined #mojo
01:53 GitHub136 mojo: master Sebastian Riedel * 0c5d3ea (5 files in 4 dirs): added some quotes - http://bit.ly/cNTSxc
01:53 GitHub136 left #mojo
02:10 awnstudio joined #mojo
02:20 awnstudio joined #mojo
02:34 awnstudio joined #mojo
02:35 Foxcool joined #mojo
03:00 MojoGuest591 joined #mojo
03:00 MojoGuest591 asdasdasd
03:01 janus joined #mojo
03:01 MojoGuest591 use flash?
03:09 Foxcool joined #mojo
03:19 Foxcool joined #mojo
03:23 yakudzo joined #mojo
03:27 Alias__ joined #mojo
04:03 tholen42 joined #mojo
04:10 MojoGuest437 joined #mojo
04:10 MojoGuest437 ddd
04:17 Foxcool joined #mojo
04:22 Foxcool joined #mojo
04:22 tholen42 joined #mojo
04:22 Alias__ joined #mojo
04:22 yakudzo joined #mojo
04:22 janus joined #mojo
04:22 y0j joined #mojo
04:22 abqar joined #mojo
04:22 stephen joined #mojo
04:22 ltriant joined #mojo
04:22 BlueT_ joined #mojo
04:22 chansen joined #mojo
04:22 hidek___ joined #mojo
04:22 cognominal joined #mojo
04:22 stephan48 joined #mojo
04:22 murakoma joined #mojo
04:22 Alias joined #mojo
04:22 xantus_ joined #mojo
04:22 Schmidt joined #mojo
04:22 Yappo joined #mojo
04:22 jawnsy joined #mojo
04:22 garfield joined #mojo
04:22 zakame joined #mojo
04:22 vti joined #mojo
04:22 sekimura joined #mojo
04:22 memowe joined #mojo
04:22 tempire joined #mojo
04:22 robinsmidsrod joined #mojo
04:22 FlyingY3ti_ joined #mojo
04:22 gizzlon joined #mojo
04:22 go|dfish joined #mojo
04:22 dann_ joined #mojo
04:22 tardisx joined #mojo
04:22 edenc joined #mojo
04:22 garu joined #mojo
04:22 phillipadsmith joined #mojo
04:22 DaTa joined #mojo
04:22 marcus joined #mojo
04:22 plu joined #mojo
04:30 ashleydev joined #mojo
04:38 alex joined #mojo
05:44 MojoGuest724 joined #mojo
05:44 MojoGuest880 joined #mojo
05:44 MojoGuest880 1
05:44 MojoGuest880 2
05:44 MojoGuest724 3
05:44 MojoGuest724 4
05:44 janus last;
05:46 MojoGuest880 excellent
06:01 MojoGuest341 joined #mojo
06:14 y0j joined #mojo
06:28 ysyrota joined #mojo
06:37 yko joined #mojo
06:57 arthas joined #mojo
07:32 marcus hoi
08:05 mvuets joined #mojo
08:06 crab is anyone using plack middleware for session management with mojo?
08:15 vti sri: i will write tests now when i have client and server
08:59 ask joined #mojo
08:59 marcus sri: been reading up on http://www.scottklement.com/​rpg/socktut/nonblocking.html now. Still don't understand why you wouldn't get a positive effect of populating the send buffer while rendering the template
09:00 garfield [ Blocking vs. non-blocking sockets ]
09:00 garfield http://xrl.us/bht73c
09:00 marcus you would not need to wait for the buffer to flush, just start stuffing data there while it's rendering.
09:40 Alikus joined #mojo
09:44 sri marcus: now you are assuming we have total control
09:48 marcus sri: you do have a non-blocking socket, no?
09:48 marcus what will happen outside of mojo obviously depends on engines
09:49 sri EAGAIN
09:50 sri you can't just dump all your shit into the send buffer
09:50 crab <%= ... =%> is great.
09:51 crab is there some equivalent to catalyst's script/foo_server.pl -r? or does it behave that way by default?
09:51 sri --reload
09:52 sri -r might just work too
09:53 crab sri: i just read your new Guides/{Routing,Rendering}.pod: very nice, thanks.
09:53 sri it only reloads modules and doesn't restart the server, so you sometimes have to manually restart for bigger changes, but general usage is much more pleasant
09:53 * marcus stuffs a banana in sri's send buffer
09:54 * sri throws back an EAGAIN
09:56 crab so you just write and remove as much of the banana as you can and wait for the socket to become eatable^Wwritable again, no?
09:56 sri *munch*
10:01 crab if i do <%= include 'x' =%> in a template, are my stash variables accessible to the included template or do i have to pass them explicitly?
10:02 marcus EWOULDBLOCK
10:03 sri they are accessible
10:04 crab ok. also, speaking of BLOCKs, where is the code that turns <% my $block = { ... }%> into a sub i can call?
10:05 sri thats a syntax error
10:05 sri <% {%>lalala<%}%> becomes a sub
10:06 crab er, yeah. i was including some %>-ery in the "...". sorry.
10:06 sri they are special tags implemented at the lowest level
10:06 crab ah.
10:07 sri i would have liked to implement blocks without special tags, but there is no way to do it without making them look very awful
10:09 sri <% foo_bar => sub { %>lalala<% }; %> would have been the pure version
10:09 sri and each helper would have to redefine a global buffer object to capture bock results
10:10 crab btw, in Rendering.pod in two places necessary is spelled as neccessary
10:11 sri thanks fixing
10:12 crab if you want other nitpickety doc patches, i can send you.
10:12 sri sure, pull requests on github would be nice
10:16 sri oauth 1.0 is horrible
10:18 sri generating signatures and browser requirement ruined it
10:20 vti there is xauth
10:20 marcus all the cool sites are using oauth tho
10:25 marcus so, who's going to Tokyo to talk about Mojo? http://yapcasia.org/2010/info/yapca​sia-tokyo-2010-lt.html?utm_source=t​witterfeed&amp;utm_medium=twitter
10:25 garfield [ YAPC::Asia Tokyo 2010 のセッション/LT のスピーカー募集を開始 - YAPC::Asia Tokyo 2010 ]
10:25 marcus you could be big in japan!
10:25 garfield http://xrl.us/bhu3h5
10:26 sri well volunteered! :)
10:27 marcus It's too far for Eva to fly
10:28 marcus And I was in Tokyo just before she got born.
10:28 marcus Otherwise I'd have loved to go.
10:30 marcus 950 euros for a plane ticket from oslo
10:37 vti couchone.com is down too often =
10:37 vti =/
10:37 marcus sri:  did you see http://sheddingbikes.com/posts/1280829388.html ?
10:37 garfield [ Shedding Bikes: Programming Culture And Philosophy ]
10:38 sri marcus: yes, interesting conclusion
10:43 marcus sri: mojo getting supahpoll? :)
10:43 sri umm no
10:44 sri i'm not even sure we benefit at all from epoll/kqueue
10:44 marcus I see you use them automatically if available
10:44 marcus sri: probably need to benchmark to know
10:44 sri poll is different from platform to platform too
10:44 MojoGuest980 joined #mojo
10:45 sri on os x it's internally using kqueue these days i heard
10:45 marcus really?
10:46 marcus not able to find anything about that on google
10:47 marcus benchmarking is hard, let's go shopping
10:47 ask joined #mojo
10:47 sri think chansen brought it up some time ago
10:48 ask_ joined #mojo
10:49 sri we also don't utilize tcpcork, there are so many ways to optimize
10:50 sri not to mention low hanging fruits like unecessary accessors
10:50 crab anyone using plack middleware with mojo? for example, to do session stuff?
10:51 marcus crab: not me.
10:51 marcus sri: ah, tcpcork is linux version of TCP_NOPUSH
10:51 MojoGuest349 joined #mojo
10:52 sri thing is, in the end you would most likely not notice any difference even if you made the daemon a few times faster for hello world examples
10:54 sri but i would love more optimization patches *hint hint*
10:56 sri dunno if you're following tornado development, but they are using a *blocking* mysql api for friendfeed to slow everything down
10:57 alex joined #mojo
10:58 sri their reasoning is that a non blocking database lauyer would sinply get ovearloaded and crash the server
10:58 sri *-u
10:59 crab anyone using plack middleware with mojo? for example, to do session stuff?
10:59 crab argh
10:59 crab stupid up-arrow key. sorry.
11:00 sri get on up
11:00 sri get uppa
11:05 MojoGuest563 joined #mojo
11:06 vti anyone using plack middleware with mojo?
11:06 vti time to buy a new server
11:08 sri hope twitter adds oauth 2.0 soon
11:10 vti sri: feeling itchy about implementing oauth? ;p
11:11 sri vti: ye, worked on the client side yesterday and noticed how screwed up oauth 1.0 is :S
11:11 sri gonna wait for 2.0 for native oauth support
11:12 sri 1.0 just can't be made fun to use
11:12 vti :(
11:12 marcus sri: did you read the 2.0 spec?
11:12 sri marcus: parts of it
11:13 marcus does it resolve your issues?
11:13 sri all of them
11:13 sri no more signature!
11:13 sri no more browser requirement!
11:13 sri they specifically made sure command line http clients can be used again :)
11:14 marcus nice
11:14 marcus saved the spec to instapaper
11:15 sri they are making it almost as easy as basic auth and simply require https
11:15 sri very smart move
11:15 marcus yeah, I like that.
11:15 sri now someone needs to make openid simple too
11:16 vti after openid i thought that oauth 1.0a is damn easy
11:16 sri the idea is simple
11:16 sri but the points i listed really ruined it imo
11:18 sri vti: well, your module is more than enough for now, don't you think?
11:19 vti ye, but i have to get twitter credentials somehow... for testing, maybe for showmetheshell!!!
11:20 vti and ssl too =/
11:20 sri thats where i got annoyed yesterday too :)
11:20 crab any way to subscribe to the mojo list without having a google account?
11:21 sri "now authorize"...javascript site...!@#$%
11:21 sri crab: nope
11:24 vti i've used some public oauth testing servers, but they are all broken lol
11:25 sri ye sucks
11:30 vti i was thinking about new way to register on mojo-based website: "in order to get an account join #mojo channel on irc.perl.org and say 'mojo rocks'"
11:50 crab are there any examples of mojolicious apps that do user/role based authn/authz stuff?
11:51 sri dunno, but not much mojolicious specific about it
11:52 crab true, then my question is really: what modules do people use to do such things?
11:54 sri depends what those modules should do
11:54 marcus ^o^
11:56 marcus o/' so Jimmy gets high tonight / I must confess I'm a real live wire o/'
11:59 sri there are countless authen and persistence modules you can combine
12:11 crab when i say "mojolicious generate app x" and then script/x daemon, who calls Mojolicious->new?
12:11 sri server backend
12:12 sri command system starts a server, server starts app
12:13 sri but they all live in the same interpreter
12:14 sri so you can preload stuff in the script and such
12:18 dotan joined #mojo
12:44 crab in an under sub { ... }, is it ok for me to look at $self->tx->req(->method etc)?
12:44 crab must be.
12:45 sri of course
12:51 arthas joined #mojo
13:25 crab how can i do an "internal" redirect, i.e. invoke some other controller/action?
13:25 Foxcool joined #mojo
13:27 marcus just call the sub?
13:28 crab can i get a ref to the sub from the url, or do i have to make it a named sub? (not that i mind naming it)
13:29 sri named sub, we don't do internal redirects
13:30 sri not that we couldn't but so far nobody came up with a really good use case that depends on it
13:30 sri the thing about internal redirects is that they break RESTfulness
13:32 crab i tried to implement mst's "humane login screen" scheme in my mojolicious app (http://www.shadowcat.co.uk/blog/ma​tt-s-trout/humane-login-screens/)
13:32 garfield http://xrl.us/bhu3ty
13:32 crab it works, but there's one not-nice thing about it.
13:32 sri oh boy...
13:32 crab it converts things into POSTs that are conceptually GETs. i don't like that.
13:33 sri http://github.com/kraih/mojo/blob/m​aster/lib/Mojolicious/Lite.pm#L534
13:33 garfield [ lib/Mojolicious/Lite.pm at master from kraih's mojo - GitHub ]
13:33 garfield http://xrl.us/bhu3t8
13:34 sri thats my preferred aproach
13:36 crab what about the redirect-on-POST problem?
13:39 sri what problem?
13:41 crab hmm. so does nothing actually break any more if you return a redirect in response to a POST?
13:41 MojoGuest254 joined #mojo
13:41 crab it used to not work, but that was years ago. now it seems to be fine.
13:42 sri 302 is fine
13:42 sri it has become a best practice even
13:42 sri POST -> 302 -> GET
13:42 sri to avoid double submit
13:43 marcus I like that too
13:44 crab is there a good way to handle authentication for POST requests? i'm thinking of the following scenario:
13:44 crab you login, do some stuff, get a form to fill out to create a new frob. then you go away, the session times out, and you come back and fill in the form and hit submit.
13:45 sri hidden fields?
13:45 marcus that's how I do it
13:46 sri requiring another login after filling out a multi page form is also a best practice, amazon.com like
13:46 sri don't store that stuff in a session
13:46 sri not RESTful :)
13:46 crab hidden field containing what?
13:46 sri there are not that many use cases for session data actually
13:46 sri the data
13:47 crab no, i'm not storing anything in the session except the username.
13:47 sri not sure what the problem is then
13:47 crab oh i see. hidden fields on the login form. fine.
13:47 sri ye
13:50 crab maybe i should try to use http basic auth :-)_
13:50 sri basic is not fun to use
13:51 sri but a valid option over https
14:00 marcus it's user hostile
14:00 marcus you have to close the browser to log out
14:35 crab what is flash?
14:35 crab (in the context of the signed cookies example, i mean)
14:42 marcus one request session
14:43 dotan joined #mojo
14:58 memememomo joined #mojo
15:09 dotan joined #mojo
15:19 MojoGuest130 joined #mojo
15:30 alex joined #mojo
15:32 alex_ joined #mojo
15:33 crab hmm, $self->session(expires => 1) doesn't seem to have the desired effect with lynx.
15:34 crab oh, stupid lynx. never mind.
15:35 ilbot2 joined #mojo
15:35 Topic for #mojois now ♥ Join the revolution! ♥ | http://mojolicio.us | http://irclog.perlgeek.de/mojo/today
15:51 Htbaa joined #mojo
16:23 sri think i'll write something crazy just for the lulz
16:24 sri something almost entirely useless
16:59 MojoGuest805 joined #mojo
17:00 MojoGuest805 lol
17:00 MojoGuest805 whats up
17:16 MojoGuest40 joined #mojo
17:17 MojoGuest965 joined #mojo
17:17 MojoGuest965 fwef
17:25 ashleydev joined #mojo
17:35 crab sri: like what?
17:35 sri you'll see :)
17:36 crab what's the right place to open a database connection in a mojolicious app? i looked at mojo-paste and it opens a new one each time in sub process
17:36 crab before calling ->dispatch. i could do that, but i'd like to reuse the handle if possible. so is there a better place?
17:37 sri app->defaults(db =>...)
17:37 sri (if you're using lite)
17:37 sri will put the handle into the stash on every request, but instantiate it at startup
17:38 crab i was using lite, but i'm switching to non-lite now
17:38 sri then it's $self->defaults(...) in your startup sub
17:40 * crab does an experiment to figure out what happens when there are concurrent requests
18:08 MojoGuest267 joined #mojo
18:10 mojobot joined #mojo
18:11 spleenjack joined #mojo
18:14 mojobot joined #mojo
18:14 mojobot lulz!
18:16 mojobot joined #mojo
18:16 mojobot lulz!
18:16 mojobot joined #mojo
18:16 mojobot lulz!
18:21 mojobot joined #mojo
18:21 mojobot "RT $shirocaffee: @{JAGAxIMO} 僕自身もそちら専門じゃないので詳しくないんですけど、そう言われてみるとそうな​のかも。人工知能専攻の学生は今だとRubyとかPerlとかが多いのかな。" --Rubyist Bot
18:22 sri ok, half way there :D
18:22 mojobot joined #mojo
18:23 mojobot Twitter: "Oh, nun doch wieder, war wohl ein kleiner PERL-Skriptfehler ^^" --Philipp Weber
18:24 vti sri: is it you? :)
18:24 sri it's a mojolicious powered twitter/irc bot ;p
18:24 vti mojobot: die;
18:24 vti hm :)
18:25 mojobot Twitter: "RT !shirocaffee: !JAGAxIMO 僕自身もそちら専門じゃないので詳しくないんですけど、そう言われてみるとそうな​のかも。人工知能専攻の学生は今だとRubyとかPerlとかが多いのかな。" --perl ism
18:25 sri gonna have to integrate google translate
18:25 sri oh and of course !twitter for actual answering :D
18:27 vti http://twitter.com/mojobot
18:27 garfield [ David Henninger (mojobot) on Twitter ]
18:29 mojobot Twitter: "perl programming - http://www.perlwebdevelopmen​t.com/perl-programming.html" --p1net developer
18:29 garfield http://xrl.us/bhu4ig
18:29 mojobot joined #mojo
18:29 sri yea, i have another account for the bot :)
18:29 sri !twitter
18:29 vti tel me!
18:30 vti *ll
18:30 sri @perlrocks
18:30 mojobot joined #mojo
18:30 sri !twitter
18:30 mojobot joined #mojo
18:30 sri !twitter
18:31 mojobot Twitter: "Perlメモ~指定したフォルダ内のファイルパスを取得: Perlメモ#--------------------------------------​-----------------------------------##サブディ... http://bit.ly/d7opx4" --gadget
18:31 garfield [ �ͥ��ƥ��֥��������� Perl���������ꤷ���ե��������Υե������ѥ������� ]
18:31 sri ouch
18:32 mojobot joined #mojo
18:33 mojobot Twitter: "RT @PDAMobiz: BB News:  Blackberry 6 เปิดตัวอย่างเป็นทางการ Bold Perl 3G ได้อานิสงค์:  http://bit.ly/akoHnk #PDAMobiz" --c',) z z Z LOUKPLA
18:33 sri hmm
18:33 garfield [ BB News: Blackberry 6 ��Դ������ҧ��繷ҧ��� Bold Perl 3G ����ҹ�ʧ��:PDAMobiz.com Forum ]
18:33 sri garfield will be really annoying
18:33 was kicked by sri: garfield
18:34 mojobot Twitter: "If Python is executable pseudocode, then perl is executable line noise" --Devoted Daddy
18:35 mojobot Twitter: "C言語でも思ったけど同じ予約語を違う意味で何故使うのかと​、perlでもdoが二つの用途があるようで一瞬混乱した" --KERBEROS
18:35 mojobot Twitter: "RT @kerberos3: C言語でも思ったけど同じ予約語を違う意味で何故使うのかと​、perlでもdoが二つの用途があるようで一瞬混乱した" --AnyEvent::PerlIsm
18:35 mojobot Twitter: "SADIS RT @melissahana: Filosofi cinta menurut gloriosa : perasaan menderita karena tidak bisa bertemu pujaan hati. Perl http://mtw.tl/ldw0tz" --Dhara Iffany Aji
18:36 sri damn, perl is really international
18:36 mojobot Twitter: "Do you have 4 - 5 years experience in Perl Development in a web environment on Unix systems? If so, you're speaking my language. Let's talk…" --Micheale Washington
18:38 mojobot Twitter: "After Perl everything else is just assembly language" --Devoted Daddy
18:38 sri it's actually a really good test for the client
18:39 mojobot Twitter: "Требуется помощь программиста на Perl: Есть подпрограмма, которая собирает из таблиц данные… http://goo.gl/fb/FJyof #freelance #rabota" --Free-lance.ru
18:39 sri the hardest part about twitter streaming is oauth though -.-
18:40 mojobot Twitter: "RT !kerberos3: C言語でも思ったけど同じ予約語を違う意味で何故使うのかと​、perlでもdoが二つの用途があるようで一瞬混乱した" --perl ism
18:40 mojobot Twitter: "Perl Quotes: http://bit.ly/9wRhb9 Comments: http://bit.ly/bFjZpe" --Hacker News
18:43 mojobot Twitter: "Published a new post: Iron Perl II http://csstutorial.info/advance​dprogramming/iron-perl-ii-3486" --Namesplace.net Blogs
18:43 mojobot Twitter: "perl development - http://www.perlwebdevelopment.com/default.html" --p1ruby developer
18:44 sri too much noise? :)
18:45 Htbaa joined #mojo
18:45 mojobot Twitter: "Published a new post: Chicago Perl Hackathon http://csstutorial.info/advancedprog​ramming/chicago-perl-hackathon-3490" --Namesplace.net Blogs
18:45 vti sri: #mojo, #mojolicious is enough ;p
18:45 sri not for testing :/
18:46 sri hmm... #mojo might be way offtopic
18:47 sri guess i could filter for mojo and perl
18:48 mojobot Twitter: "@thanashyam Thanks for the recommendation for Bicycle Thieves. It was a good film. About the software, its a custom Perl/Gtk app." --Binny V A
18:48 mojobot joined #mojo
18:48 sri !twitter
18:50 mojobot Twitter: "Rainy evening with a cup of coffee and perl" --Pawel
18:50 mojobot joined #mojo
18:50 sri !twitter
18:50 mojobot sri: die puny human!
18:51 sri :D
18:53 mojobot Twitter: "RT @atshaman: Perl Programming: Standard code headings for report generation... http://bit.ly/dcqx01" --docward222
18:53 mojobot Twitter: "perl web developers - http://www.perlwebdevelopme​nt.com/perl-developers.html" --p1python developer
18:54 mojobot Twitter: "Требуется помощь программиста на Perl: Есть подпрограмма, которая собирает из таблиц данные заказа и передаёт их в... http://bit.ly/att5Wg" --zarplata.ru
18:54 mojobot Twitter: "Требуется помощь программиста на Perl: Есть подпрограмма, которая собирает из таблиц данные заказа и передаёт их в... http://bit.ly/bByHvm" --sergey
18:54 mojobot Twitter: "Требуется помощь программиста на Perl http://bit.ly/97e42F #freelance" --Free-lance
18:55 mojobot Twitter: "#Slew ||RT @IAMCHOPPER_
19:06 ask joined #mojo
19:17 mojobot joined #mojo
19:18 sri !twitter lulz!
19:18 mojobot joined #mojo
19:18 mojobot Twitter: "#perl #software #development - http://www.perlwebdevelopmen​t.com/perl-development.html" --p1python developer
19:19 sri !twitter lulz!
19:19 mojobot sri: http://twitter.com/perlrocks/status/20244122506
19:19 mojobot Twitter: "i still think #perl is &gt; than #python for sys-admin style helper scripts" --Philip Herron
19:19 mojobot Twitter: "Perl-разработчик на удаленку - 3000 USD (Бюджет: 90000  руб): Требуется красивый, умный и в меру упитанный програм... http://bit.ly/bpvWzB" --zarplata.ru
19:19 mojobot Twitter: "Perl-разработчик на удаленку - 3000 USD (Бюджет: 90000  руб): Требуется красивый, умный и в меру упитанный програм... http://bit.ly/d8VFDz" --sergey
19:19 mojobot Twitter: "Perl-разработчик на удаленку - 3000 USD (Бюджет: 90000  руб) http://bit.ly/ayIJGK #freelance" --Free-lance
19:19 sri woot
19:19 mojobot Twitter: "Perl Scripting Linux implement/customize vendro software - Raleigh, NC (http://tinyurl.com/22r7awq) Get Linux Jobs #Linux #27601 #jobs" --Get Linux Jobs
19:20 vti !twitter ☁
19:20 sri down ;p
19:23 mojobot joined #mojo
19:23 sri vti: now
19:23 vti !twitter ☁
19:23 mojobot vti: http://twitter.com/perlrocks/status/20244374762
19:23 sri oh noes
19:24 vti ;p
19:27 marcus sri: did you know your butteryfly is on the frontpage of Using Perl6 included in Rakudo Star?
19:27 sri Oo
19:27 sri had no idea
19:34 mojobot joined #mojo
19:34 sri !tweet test 123
19:34 sri !twitter test 321
19:35 mojobot joined #mojo
19:35 sri ohoh
19:35 mojobot joined #mojo
19:35 sri !tweet lalala
19:37 mojobot joined #mojo
19:37 sri !tweet lalala
19:37 mojobot sri: http://twitter.com/perlrocks/status/20245197572
19:42 vti buggy
19:42 sri of course ;p
19:43 mojobot joined #mojo
19:43 sri !tweet lalala
19:44 mojobot joined #mojo
19:45 sri !tweet foo
19:47 mojobot joined #mojo
19:47 sri !tweet works
19:47 mojobot sri: http://twitter.com/perlrocks/status/20245751131
19:47 sri :)
19:48 sri !tweet this tweet is waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa​aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaay tooooooooooooooooooooooooooo loooooooooooooooooooooooooooooooooooooooooooooong!
19:48 mojobot sri: http://twitter.com/perlrocks/status/20245790514
19:48 sri buggy
19:54 mojobot joined #mojo
19:59 Foxcool joined #mojo
20:02 mojobot joined #mojo
20:02 sri !tweet loooooooooooooooooooooooooooooooooooooooooooooong tweeeeeet is loooooooooooooooooooooooooooooooooooooooooooong
20:02 mojobot sri: twitter.com/perlrocks/status/20246596736
20:03 sri grrrr
20:04 mojobot joined #mojo
20:04 sri !tweet looooooooooooooooooooooooooooooooo​ooooooooooooooooooooooooooooooong tweet is looooooooooooooooooooooooooooooooooooo​oooooooooooooooooooooooooooooooooooooo​oooooooooooooooooooooooooooooooooong
20:04 mojobot sri: http://twitter.com/perlrocks/status/20246692096
20:04 sri yay
20:06 marcus !tweet REVOLUTION NOW!
20:06 mojobot marcus: http://twitter.com/perlrocks/status/20246771021
20:06 vti !tweet break, break, break
20:06 mojobot vti: http://twitter.com/perlrocks/status/20246799419
20:07 mojobot joined #mojo
20:08 sri !tweet mojolicious rocks!
20:08 mojobot Twitter: "mojolicious rocks! --sri" --perlrocks
20:08 mojobot sri: http://twitter.com/perlrocks/status/20246873779
20:08 sri haha
20:08 marcus sri: apparently sockets in perl6 is being worked on now
20:08 marcus so maybe soon
20:08 sri :o
20:09 sri !tweet marcus smells
20:09 mojobot sri: http://twitter.com/perlrocks/status/20246940326
20:09 marcus p6 is really really slow tho :)
20:10 sri !tweet @marcusramberg *poke*
20:10 mojobot sri: http://twitter.com/perlrocks/status/20247007175
20:10 marcus sri: how did you know I smell?
20:10 marcus just biked up from town.
20:10 xantus_ wtf is going on here
20:11 sri :D
20:11 sri i accidentally twitter
20:11 sri it's just a quick hack, 190 lines
20:12 sri but works well, reconnect and stuff
20:12 xantus_ did you do the oauth part
20:12 sri ye
20:12 xantus_ to watch a topic yet
20:12 xantus_ like #mojo
20:12 sri everything
20:12 xantus_ bastard
20:12 xantus_ nice work
20:12 sri !tweet mojolicious
20:12 mojobot Twitter: "mojolicious --sri" --perlrocks
20:12 mojobot sri: http://twitter.com/perlrocks/status/20247119805
20:12 vti sri: have you writte oauth?
20:12 xantus_ we should combine some of what I have
20:13 sri i stole oauth mostly
20:13 xantus_ config using couch
20:13 xantus_ modify couch to reconfig the bot
20:13 sri take what you like
20:13 xantus_ etc
20:13 sri it's going to be another micro example
20:13 xantus_ k
20:13 xantus_ location?
20:13 sri will commit after cleanup
20:14 sri oauth and irc are inlined though
20:14 vti stealing is wrong =/
20:14 xantus_ lol, hush vti
20:14 sri i originally wanted to add oauth to mojolicious... but i hate oauth 1.0 :(
20:14 * xantus_ steals vti's boose
20:15 marcus plonk
20:15 sri \o/
20:15 marcus I mean oink
20:15 xantus_ plonk is the sound of david mark being dropping off a message list
20:16 xantus_ there's a meetup at facebook tonight
20:16 marcus about david mark?
20:16 xantus_ lol, no
20:16 sri lol
20:18 mojobot joined #mojo
20:23 doubi joined #mojo
20:29 ask joined #mojo
20:29 xantus_ reverse proxy plugin anyone?
20:31 sri we have native reverse proxy support
20:31 sri sorry
20:32 xantus_ I can point a route at a remote host then?
20:32 xantus_ ...cause thats what I'm asking
20:33 sri oh
20:33 sri nope
20:33 xantus_ should be easy
20:33 sri it is, i'm redirecting my old rss feed that way :)
20:34 sri think i blogged it
20:35 xantus_ yep, July 11
20:35 xantus_ http://gist.github.com/471633
20:39 plenum joined #mojo
20:41 mojobot joined #mojo
20:41 sri ok, trying translate
20:41 sri bet it breaks :)
20:41 * marcus gets sri a 'I am blogging this' tshirt
20:42 sri could someone tweet something about perl in a crazy language
20:42 xantus_ k
20:43 mojobot Twitter: "Bra oppmøte på Oslo.pm i kveld tross alt. Tydelig at folk er interessert i Perl 6." --nordmarcus http://twitter.com/nordmarcus/status/20248802181
20:43 mojobot Twitter: "@Robbycunha a.k.a. faça um curso universitário pra aprender a mexer no Word, Excel e FrontPage. No máximo, Perl e C++." --brunorenno http://twitter.com/brunorenno/status/20248812329
20:43 sri grr
20:44 xantus_ let me know when to try again
20:44 xantus_ and what tag to use
20:44 mojobot Twitter: "Who's gonna win the battle? Asp.Net Vs PHP or Python or Perl or Ruby on Rails, ASP.Net dude coz that's what I use :) hoohhoho hhahhaah" --rabinlimbu http://twitter.com/rabinlimbu/status/20248898507
20:44 sri i'm watching perl atm
20:45 xantus_ k
20:45 sri but people seem not to care about the language setting :(
20:45 mojobot Twitter: "Perl Programming: Net::AIM sending to phone number http://forum.techgle.com/showthread.php?t=756600" --againpennzoll http://twitter.com/againpe​nnzoll/status/20248939352
20:45 xantus_ on what
20:46 sri on their profile
20:46 xantus_ ah
20:46 xantus_ google translate can auto detect
20:46 xantus_ if you let it
20:46 mojobot joined #mojo
20:46 xantus_ I can change mine to jap, and post
20:47 sri as far as i can see it has a separate detection api
20:47 mojobot Twitter: "RT @xantus: Perlは驚くばかりである #perl" --AE_PerlIsm http://twitter.com/AE_PerlIsm/status/20249076594
20:48 sri hmm
20:48 mojobot joined #mojo
20:48 xantus_ my account setting was jp
20:48 sri yea, my fault
20:49 mojobot joined #mojo
20:53 xantus_ should separate logic code from the bot
20:53 xantus_ like plugins
20:53 xantus_ websockets!
20:54 mojobot joined #mojo
20:55 mojobot joined #mojo
20:55 xantus_ omg
20:55 xantus_ http://github.com/karthick18/in​ception/blob/master/inception.c
20:55 xantus_ crazy
20:56 sri wtf
20:56 xantus_ seriously
20:59 mojobot joined #mojo
21:01 xantus_ I'm the 99th watcher
21:01 mojobot Twitter: "" () --RabbiPerl http://twitter.com/RabbiPerl/status/20249843461
21:01 sri :O
21:02 xantus_ lol
21:03 mojobot Twitter: "" () --RabbiPerl http://twitter.com/RabbiPerl/status/20249949228
21:04 mojobot joined #mojo
21:04 mojobot Twitter: "Alguie sabe que significa "() = [EXPRESION]" en #Perl" (es) --vivaelhuano http://twitter.com/vivaelhuano/status/20250019876
21:06 mojobot joined #mojo
21:06 mojobot Twitter: "perl programmers - http://www.perlwebdevelopmen​t.com/perl-programmers.html" () --p1netdeveloper http://twitter.com/p1netde​veloper/status/20250090893
21:08 mojobot joined #mojo
21:12 mojobot joined #mojo
21:12 mojobot Twitter: "3 days into writing Perl scripts before I remember that it's an elsif statement :(" () --cojan_duffy http://twitter.com/cojan_duffy/status/20250422444
21:14 mojobot joined #mojo
21:14 doubi joined #mojo
21:14 sri ok, think i'm close :)
21:14 mojobot Twitter: "Perl Programming: Directory listing with perl http://bit.ly/c3ZFGd" --personallyd http://twitter.com/personallyd/status/20250569247
21:15 mojobot Twitter: "@Reini_Urban Replied with an progress update for your #YapcEU presentation, sorry it's so late! #perl #ctypes" --doubious_code http://twitter.com/doubiou​s_code/status/20250591348
21:16 chansen joined #mojo
21:17 MojoGuest100 joined #mojo
21:17 mojobot joined #mojo
21:18 perlrocks joined #mojo
21:19 MojoGuest100 ddddddddddddddd
21:19 sri eeeee
21:19 sri :S
21:21 perlrocks Twitter: "A figment of my imagination reviews Dotty by Erica S. Perl @ABRAMSbooks @boydesigner http://bit.ly/aKE97j (via @100scopenotes)" --boydesigner http://twitter.com/boydesigner/status/20250933310
21:21 perlrocks Twitter: "RT @sfperlmongers: Our grant proposal to The Perl Foundation is up for public review.  Comments welcome - http://bit.ly/c94lcc" --redhotpenguin http://twitter.com/redhotp​enguin/status/20250934542
21:21 perlrocks Twitter: "A figment of my imagination reviews Dotty by Erica S. Perl @ABRAMSbooks @boydesigner http://bit.ly/aKE97j (via @100scopenotes)" --ABRAMSbooks http://twitter.com/ABRAMSbooks/status/20250965578
21:21 perlrocks Twitter: "A figment of my imagination reviews Dotty by Erica S. Perl @ABRAMSbooks @boydesigner http://bit.ly/aKE97j (via @100scopenotes)" --DiaryWimpyKid http://twitter.com/DiaryWi​mpyKid/status/20250981977
21:25 perlrocks joined #mojo
21:26 perlrocks {0002}Twitter:{000F} "CSVファイルの処理はPerlに限るぜえ" (ja) --wyyyyym http://twitter.com/wyyyyym/status/20251259941
21:26 perlrocks {0002}Twitter:{000F} "RT @wyyyyym: CSVファイルの処理はPerlに限るぜえ" --AE_PerlIsm http://twitter.com/AE_PerlIsm/status/20251261288
21:29 perlrocks joined #mojo
21:29 perlrocks Twitter: "Oh but Perl is not only a dirty source, Hey I&#39;m a little bit of useful process" (ja) --wyyyyym http://twitter.com/wyyyyym/status/20251390737
21:29 perlrocks Twitter: "RT @ wyyyyym: Perl is not only a source but dirty Oh, Hey I&#39;m a little bit of useful process" (ja) --AE_PerlIsm http://twitter.com/AE_PerlIsm/status/20251395474
21:29 sri yay
21:29 sri translation works
21:29 perlrocks joined #mojo
21:30 sri ok, time to let it run a bit
21:30 perlrocks Twitter: "RT! Wyyyyym: Perl is not only a source but dirty Oh, Hey I&#39;m a little bit of useful process" (ja) --perlism http://twitter.com/perlism/status/20251444404
21:30 perlrocks Twitter: "RT! Wyyyyym: CSV file handling in Perl&#39;m only s" (ja) --perlism http://twitter.com/perlism/status/20251444930
21:30 perlrocks Twitter: "Century of China producing spaghetti code language Perl Sorry if people are writing clear code&gt; &lt;" (ja) --wyyyyym http://twitter.com/wyyyyym/status/20251444873
21:30 sri lol
21:31 sri !tweet viva la revolucion! #perl
21:31 perlrocks sri: http://twitter.com/perlrocks/status/20251515503
21:31 perlrocks Twitter: "viva la revolucion! # Perl - sri" (de) --perlrocks http://twitter.com/perlrocks/status/20251515503
21:33 perlrocks Twitter: "perl web programming services - http://www.perlwebdevelopment.co​m/perl-development-services.html" --p1phpdeveloper http://twitter.com/p1phpde​veloper/status/20251669091
21:34 perlrocks Twitter: "Desperate Perl and Large Scale Perl: http://bit.ly/bDAPI4" --mfeathers http://twitter.com/mfeathers/status/20251677908
21:35 perlrocks Twitter: "RT! Wyyyyym: spaghetti code in Perl language Century of China Manufacturing Sorry if people are writing clear code&gt; &lt;" (ja) --perlism http://twitter.com/perlism/status/20251732632
21:36 perlrocks Twitter: "RT @ clairvy: TDD or a green, Perl, or the blue." (ja) --mzp http://twitter.com/mzp/status/20251835944
21:37 perlrocks Twitter: "#mojolicious now has its own twitter bot @perlrocks on irc, translated tweets can be really hilarious. http://twitpic.com/2bcgc3 #perl" --kraih http://twitter.com/kraih/status/20251852563
21:37 sri \o/
21:37 sri wow, so quick
21:38 perlrocks Twitter: "RT @techvibes: Vancouver's Parking Mobility is hiring a Perl Developer http://ht.ly/2jdL0" --employmentinvan http://twitter.com/employme​ntinvan/status/20251904457
21:38 cognominal joined #mojo
21:38 perlrocks Twitter: "Network Programming with Perl By Lincoln D. Stein (http://9loading.com/?p=14576)" --9loading http://twitter.com/9loading/status/20251952155
21:38 perlrocks Twitter: "RT @techvibes: Vancouver's Parking Mobility is hiring a Perl Developer http://ht.ly/2jdLO" --employmentinvan http://twitter.com/employme​ntinvan/status/20251954400
21:41 perlrocks Twitter: "@mfeathers I worked with an app with a well-executed large OO Perl codebase for 2 years. it was nice. weird sometimes, but nice." --chris_mcmahon http://twitter.com/chris_m​cmahon/status/20252083476
21:41 MojoGuest933 joined #mojo
21:42 sri few more international tweets and i'll go back to mojo only tracking
21:43 MojoGuest933 left #mojo
21:43 DaTa decode_entities is needed for some reason :)
21:44 perlrocks Twitter: "@arcterex Perl is probably english" --dkubb http://twitter.com/dkubb/status/20252294087
21:45 perlrocks Twitter: "Check this video out -- Puma Perl performs "Nancy's Legs" http://youtu.be/oHM-J_5-QuQ" --puma916 http://twitter.com/puma916/status/20252312818
21:45 perlrocks Twitter: "@ 2bkm iphone applications to deliver information &quot;apprank.biz&quot; recommended &quot;Perl &amp; LWP&quot; tweeting your review! e-book http://apprank.biz/app/jp334075384 # _ # apprank # iphone # appli # apps" (ja) --apprank_biz http://twitter.com/apprank_biz/status/20252362446
21:45 perlrocks Twitter: "RT @ apprank_biz: @ 2bkm iphone applications to deliver information &quot;apprank.biz&quot; recommended &quot;Perl &amp; LWP&quot; tweeting your review! e-book http://apprank.biz/app/jp334075384 # _ # apprank # iph ..." (ja) --AE_PerlIsm http://twitter.com/AE_PerlIsm/status/20252362931
21:46 MojoGuest689 joined #mojo
21:46 perlrocks Twitter: "@ 2bkm iphone applications to deliver information &quot;apprank.biz&quot; recommended &quot;Perl Hacks&quot; tweeting your review! e-book http://apprank.biz/app/jp334867942 # _ # apprank # iphone # appli # apps" (ja) --apprank_biz http://twitter.com/apprank_biz/status/20252409542
21:46 perlrocks Twitter: "RT @ apprank_biz: @ 2bkm iphone applications to deliver information &quot;apprank.biz&quot; recommended &quot;Perl Hacks&quot; tweeting your review! e-book http://apprank.biz/app/jp334867942 # _ # apprank # iph ..." (ja) --AE_PerlIsm http://twitter.com/AE_PerlIsm/status/20252410526
21:46 sri yay for spam
21:47 sri now i know translation works
21:47 sri they were all flagged english
21:49 sri guess i won't add it as am example, too ugly
21:49 sri *an
21:50 perlrocks Twitter: "@ Colombia_NG This perl as in 1300 but that is chimbo! q I will have to collect silver ball throw!" (es) --carlos_fcb http://twitter.com/carlos_fcb/status/20252628271
21:50 perlrocks Twitter: "perl programmers - http://www.perlwebdevelopmen​t.com/perl-programmers.html" --p1rubydeveloper http://twitter.com/p1rubyde​veloper/status/20252641753
21:51 TheCritic joined #mojo
21:51 TheCritic ok, quick question.... as I am reading this code, how would it be read in english: app->routes->route('/foo/:action​')->via('get')->to('foo#index');
21:58 perlrocks joined #mojo
21:59 sri see Mojolicious::Guides::Routing
21:59 sri spam is over btw :)
22:04 perlrocks joined #mojo
22:06 ltriant joined #mojo
22:10 perlrocks joined #mojo
22:16 perlrocks joined #mojo
22:22 perlrocks joined #mojo
22:26 sri http://gist.github.com/507265 # here's the code, it's too ugly to include as an example
22:27 sri !tweet ♥
22:27 perlrocks sri: http://twitter.com/perlrocks/status/20254829527
22:27 sri but unicode and stuff at least works
22:28 sri also demonstrates that there are no more leaks, these bots can just run forever
22:30 GitHub2 joined #mojo
22:30 GitHub2 mojo: master Sebastian Riedel * e8cf2af (2 files in 2 dirs): cleanup - http://bit.ly/dgDF3o
22:30 GitHub2 left #mojo
22:37 perlrocks joined #mojo
22:43 vti sri: was it easy to register an app and get credentials?
22:43 perlrocks joined #mojo
22:43 sri as easy as clicking a button can be
22:44 vti i thought there was some kind of approval
22:44 sri nope
22:45 vti ok
22:49 perlrocks joined #mojo
22:51 arthas joined #mojo
22:53 perlrocks joined #mojo
22:54 perlrocks joined #mojo
22:55 perlrocks joined #mojo
22:58 xantus_ heyyy, gist has been deleted :(
22:59 xantus_ sri: can I hack on that code?
23:00 xantus_ who wants a blekko invite?
23:00 DaTa joined #mojo
23:03 perlrocks joined #mojo
23:03 xantus_ ;)
23:04 sri xantus_: sure, just fixing something :)
23:04 xantus_ !tweet ♥ Join the revolution! ♥
23:04 perlrocks xantus_: http://twitter.com/perlrocks/status/20257114648
23:04 xantus_ hot
23:04 sri it's a huge ugly hack though ;p
23:05 xantus_ I don't care
23:05 sri (you've been warned)
23:05 xantus_ it saves me some time
23:05 xantus_ I can drop in my couch config plugin
23:05 xantus_ maybe abstract some things
23:06 sri the whole oauth stuff is a mess
23:06 sri it curently expects an access token and secret
23:07 perlrocks joined #mojo
23:07 xantus_ yep, I was in the middle of implementing the oauth twitter stuff
23:08 xantus_ so I have an api token, etc
23:09 xantus_ I was goign to call it IRC Twit : http://github.com/xantus/IRCTwit
23:10 arthas joined #mojo
23:11 xantus_ yoink
23:12 xantus_ oooh, you did the irc part raw
23:12 arthas joined #mojo
23:12 sri yea, irc is so trivial
23:13 perlrocks joined #mojo
23:14 xantus_ want to tack a license on this, or just call it artistic
23:14 sri artistic
23:14 xantus_ k
23:16 perlrocks Twitter: "Really fun twitter/irc bot hack. :) http://bit.ly/atoAwo #mojolicious #perl" --kraih http://twitter.com/kraih/status/20257892723
23:16 sri again, almost instant
23:17 xantus_ might want to pull your key and secret
23:18 sri it's just the consumer key/secret
23:19 * xantus_ nods
23:22 perlrocks joined #mojo
23:22 perlrocks Twitter: "#oauth 1.0 really ruins quick @twitter hacks... oauth 2.0 can't come soon enough. #perl #mojolicious" --kraih http://twitter.com/kraih/status/20258328438
23:23 ask_ joined #mojo
23:23 xantus_ ok, now it needs to spout bender quotes
23:24 sri BITE MY SHINY METAL ASS!
23:24 ask joined #mojo
23:28 perlrocks joined #mojo
23:29 ask joined #mojo
23:31 sri oh my, they really used the wrong butterfly logo for the rakudo pdf :S
23:32 sri next time i post failed attempts i really need to make it more obvious
23:34 xantus_ heh
23:34 perlrocks joined #mojo
23:41 perlrocks joined #mojo
23:47 perlrocks joined #mojo

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