Camelia, the Perl 6 bug

IRC log for #mojo, 2011-08-22

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

All times shown according to UTC.

Time Nick Message
00:28 Akron joined #mojo
00:29 Akron sri: typo - but I don't know exactly where - https://github.com/kraih/mojo/blob/e88​0f8d08a945e3773b913b74f88e195c0a9fbcd/​lib/Mojo/UserAgent/Transactor.pm#L360
00:31 GitHub143 joined #mojo
00:31 GitHub143 [mojo] kraih pushed 1 new commit to master: http://git.io/cJyaVg
00:31 GitHub143 [mojo/master] fixed typo - Sebastian Riedel
00:31 GitHub143 left #mojo
00:31 sri Akron: thanks, fixed
00:32 sri tempire: you're slacking, that should have been a 5min patch! :)
00:33 tempire I'm in the midst of a useful utility
00:46 sri tempire: you've not even started yet? :o
00:46 tempire correct
00:54 d4rkie joined #mojo
00:57 GitHub86 joined #mojo
00:57 GitHub86 [mojo] kraih pushed 1 new commit to master: http://git.io/TuyoOA
00:57 GitHub86 [mojo/master] made tag helper a little smarter - Sebastian Riedel
00:57 GitHub86 left #mojo
00:57 sri since it's for mojocasts :)
00:59 Alias_ joined #mojo
01:03 d4rkie joined #mojo
01:03 tempire \o
01:03 d4rkie joined #mojo
01:03 d4rkie joined #mojo
01:03 d4rkie joined #mojo
01:05 d4rkie joined #mojo
01:06 d4rkie joined #mojo
01:06 d4rkie joined #mojo
01:11 GitHub100 joined #mojo
01:11 GitHub100 [mojo] kraih pushed 1 new commit to master: http://git.io/o4cgLw
01:11 GitHub100 [mojo/master] documentation tweaks - Sebastian Riedel
01:11 GitHub100 left #mojo
01:13 sri http://en.wikipedia.org/wiki/Randal_L._Schwartz # not notable enough?
01:16 mspo I need some perl internals person for some questions about locale
01:16 sri internals is p5p
01:16 Alias_ left #mojo
01:24 tempire not notable enough?
01:25 tempire oh
01:25 tempire he's notable to me
01:47 d4rkie joined #mojo
01:58 elb0w__ joined #mojo
02:11 abra joined #mojo
02:15 crab there should be no way that hypnotoad can serve newly-updated stuff without being USR2'ed, right?
02:23 sri templates are loaded on demand, so if it wasn't ever requested before it could pick up the newer version
02:24 tempire crab: remember that kill USR2 nonsense has been replaced with "hypnotoad appname"
02:32 crab tempire: "nonsense"?
02:32 crab hypnotoad appname just sends USR2.
02:32 tempire Right, I'm just saying you don't have to type kill anymore
02:32 crab i'm all about the killing.
02:33 * tempire doesn't trust sea life
02:33 crab sri: ah, that must be what happened.
02:34 sri creepy crawlers
02:43 elb0w__ joined #mojo
04:40 alnewkirk potential issue found ... http://paste.scsys.co.uk/135685
04:45 ispy_ joined #mojo
04:59 ispy_ joined #mojo
05:26 marcus <3 Leaf fluttering in the wind
05:39 ispy_ joined #mojo
05:41 noganex joined #mojo
05:46 Foxcool joined #mojo
05:58 GitHub78 joined #mojo
05:58 GitHub78 [mojo] kraih pushed 1 new commit to master: http://git.io/P-XQlA
05:58 GitHub78 [mojo/master] cleanup - Sebastian Riedel
05:58 GitHub78 left #mojo
05:59 Eugene joined #mojo
06:09 sromanov joined #mojo
06:19 GitHub114 joined #mojo
06:19 GitHub114 [mojo] kraih pushed 1 new commit to master: http://git.io/ApDoOQ
06:19 GitHub114 [mojo/master] micro optimization - Sebastian Riedel
06:19 GitHub114 left #mojo
06:31 john joined #mojo
06:41 koban joined #mojo
06:43 Kulag joined #mojo
07:01 sugar joined #mojo
07:02 Kulag joined #mojo
07:06 crab alnewkirk: what is the problem?
07:06 purl hmmm... the problem is that DESTROY is called
07:07 alnewkirk crab, Mojo not respecting my naming conventions .... as usual
07:07 alnewkirk though I think sri secretly fixed it a moment ago
07:09 crab oh. AccountPersonRole -> Accountpersonrole
07:09 alnewkirk yup
07:09 crab weird. i now have no idea where/why/how controller case mapping happens.
07:11 alnewkirk im going pull from master and see if that fixes the issue
07:11 Firkin joined #mojo
07:14 crab ok, though i doubt that those changes are going to fix it.
07:16 Drossel joined #mojo
07:37 koban` joined #mojo
07:42 gizzlon what happent to /topic ^ ?
07:43 gizzlon feels so empty now :'(
08:01 xxtjaxx Can I use a flag or something to link to the secure version of a site?
08:02 xxtjaxx ^ in the link_to tagHelper
08:11 spleenjack joined #mojo
08:13 alnewkirk xxtjaxx, https://metacpan.org/module/Mo​jo::Message::Request#is_secure
08:16 cosmincx joined #mojo
08:25 gizzlon joined #mojo
08:26 gizzlon and it's back.. whoho \o/
08:26 Kulag joined #mojo
08:33 Drossel joined #mojo
08:37 Kulag joined #mojo
08:43 Drossel joined #mojo
09:15 alnewkirk tempire, we should do a Google+ hangout, talk about some goings-on, record it, then post it to Mojocast. .... like a VirtualTalk sorta thing
09:30 perlrocks Twitter: "Yay! metacpan.org now has a link to each release changelog. http://t.co/GaiRvdn #perl #cpan" --cstrep http://twitter.com/cstrep/​status/105572659722596352
09:35 perlrocks Twitter: "Mojolicious-Plugin-ShareHelpers 0.52 by SHARIFULN - http://t.co/m9aHH6E" --cpan_new http://twitter.com/cpan_new​/status/105573860392443905
10:08 snerfu joined #mojo
10:34 perlrocks Twitter: "Mojolicious, http://t.co/zKEz23n" (sw) --hisaichi5518 http://twitter.com/hisaichi55​18/status/105588641501421568
10:36 perlrocks Twitter: "Mojolicious, which is something wrong with redirect_to and access the Base http://:5000/ http://0:5000/." (ja) --hisaichi5518 http://twitter.com/hisaichi55​18/status/105589116313407488
10:57 preflex joined #mojo
10:59 xxtjaxx alnewkirk: That would test if my request was save already. But what I want is <%= link_to '/login' => begin, secure => 1 %> Login Page <% end %> so that it builds the link with https://<yourbase>/login
11:00 xxtjaxx Am I getting this right that if I return true in the realm sub in basic_auth that the user has rights to login?
11:19 geira joined #mojo
11:21 geira left #mojo
11:24 geira joined #mojo
11:24 geira left #mojo
11:26 xxtjaxx sri: ^ :)
11:46 xxtjaxx Can anybody recommend me a guide or anything for authentication management and how to best / safest write a web application with authentication?
11:48 Kulag joined #mojo
12:10 tabbi joined #mojo
12:10 tabbi left #mojo
12:11 koban` joined #mojo
12:42 sugar joined #mojo
12:52 judofyr joined #mojo
12:54 gizzlon xxtjaxx: aren't there some examples in the guides somewhere? Such as the ::lite guide?
12:57 elb0w xxtjaxx: what kind of authentication?
12:59 cosimo sorry for the stupid question, but how do I $c->redirect_to('route') with parameters?
12:59 cosimo $c->redirect_to('route', param1=>'value1', param2=>'value2', ...) doesn't seem to work
13:00 cosimo i looked a bit at this, but can't find anything obvious
13:00 cosimo which seems strange
13:00 cosimo i get redirected to that route, just without any parameters
13:01 rhaen puuuh. I tried to learn node.js for JavaScript, I tried to learn something else - I fall back to Mojo for complicated things, however. Maybe I should just stick with it.
13:01 rhaen And accept it as the best possible solution for all my tasks.
13:01 xxtjaxx gizzlon: you're right sorry.
13:02 gizzlon xxtjaxx: np
13:02 xxtjaxx elb0w: well simple webform auth and things.
13:02 elb0w Like encrypting passwords?
13:03 xxtjaxx elb0w: well best practices I have a thousand ideas yet I'd rather go with a normal  and accepted way to do this
13:03 elb0w I do this, https://gist.github.com/28bd1f125e9b729937c3
13:04 elb0w with the bcrypt plugin
13:04 elb0w Mojolicious::Plugin::Bcrypt;
13:05 perlrocks Twitter: "Do not use +1Y or +48h as expire dates for your cookies with Mojolicious. It won't work. Use epoch dates instead. Ex.: time() + 365 * 86400" --cstrep http://twitter.com/cstrep/​status/105626629560217600
13:05 xxtjaxx my $encrypted_password = $self->dbh->selectrow_array("SELECT password FROM users WHERE name=?",undef,$username); << there are higherlevel dbi mods to cope with sql. I for one use DBIx::Class
13:05 elb0w Yeah I might move there eventually
13:06 elb0w dont have a stable schema atm
13:06 elb0w using Mojolicious::Plugin::Database for now
13:06 xxtjaxx even though you can store your queries in dbi too and just pass it the variable special goodnes against SQLi's
13:07 xxtjaxx Plugin::Database?
13:07 elb0w yeah dbi wrapper for mojo
13:07 elb0w http://search.cpan.org/~madcat/Mojolicious-Plugin​-Database-1.04/lib/Mojolicious/Plugin/Database.pm
13:08 elb0w I wasnt sure how DBIx::Class would work with hypno
13:08 elb0w since dbi got its own plugin
13:08 xxtjaxx shucks...
13:08 xxtjaxx looks god awefull...
13:09 elb0w what does?
13:09 xxtjaxx that wrapper.
13:09 xxtjaxx I cannot.
13:09 elb0w really? what dont you like about it
13:11 xxtjaxx I don't like the pure sql writing you need I dont like having to put my variables in the query. I don't like it for these obvious security holes.
13:11 elb0w Well you dont put them in the query
13:12 elb0w that would open you up for sql injection
13:12 noganex xxtjaxx: yes, port hibernate to perl. ;)
13:12 xxtjaxx noganex: that would be the shit man! :D
13:13 xxtjaxx noganex: for now I'm happy with the Perlification of queries.
13:15 xxtjaxx $schema->resultset('Artist')->search( { name =>{ like => "%".$i."%"} });
13:16 xxtjaxx I do not have to know any sql at all except when I have to design it too.
13:18 elb0w Yeah it depends on the application
13:18 elb0w you cant optimize your queries there
13:20 d4rkie joined #mojo
13:21 xxtjaxx On another note: Moose just shitstormed me.
13:22 arthas joined #mojo
13:25 xxtjaxx http://pastebin.com/qT2gRs08 *narf*
13:25 marcus xxtjaxx: you need a tags_id column ;)
13:26 xxtjaxx yeah noticed...
13:26 xxtjaxx I meant to update that schema for a long time :/
13:28 xxtjaxx .o(yes you read right I implement a blogging plugin in Mojolicious)
13:29 xxtjaxx Why?: Because How?: As easyly implementable into any other mojolicious service as possible. Where?: right infront of you.,
13:35 xxtjaxx noganex: package Mojolicious::Plugin::Blog::​DB::Schema::Result::Author; << Only thing I hate about it.
13:41 perlrocks Twitter: "Mojolicious-Plugin-Toto 0.07 by BDUGGAN - http://t.co/wbdeMdP" --cpan_new http://twitter.com/cpan_new​/status/105635679274418177
13:41 xxtjaxx Found unknown argument(s) passed to 'schema' attribute constructor in 'Moose::Meta::Attribute' << WHat?
13:53 SmokeMachine joined #mojo
13:58 Akron joined #mojo
13:58 tabbi joined #mojo
13:58 tabbi left #mojo
14:00 Akron elb0w: You made a PayPal plugin some time ago, right?
14:00 elb0w Was going to
14:00 elb0w they wanted php instead
14:00 elb0w I guess someone could port it, https://github.com/gtsafas/PayPal-NVP-API
14:01 elb0w hate paypal
14:01 elb0w they are assholes
14:01 elb0w cancelled our acct mid business day because they didnt like our model
14:01 elb0w Authorize.net 10x better
14:02 elb0w Akron: you are doing a PP project?
14:03 elb0w wat?
14:03 purl Watt?  Watt?  I can't hear you, there's this buzzing noise where my brain should be.
14:03 elb0w er
14:04 Akron elb0w: Ah - okay. Yes, I have a plugin and now it's needed so I had to refurbish it. I just wanted to ask what your problems with PayPal was back then. Despite their API being total crap.
14:06 Akron I just do expressCheckout ... that's enough. But I remembered, you did a PayPal thing as well and their was lots of hate in your words. ;) Was just asking if Paypal forbid publishing your Plugin or something.
14:06 arthas joined #mojo
14:07 elb0w Yeah I know their whole flow very intimately regarding the NVP API
14:07 elb0w We were doing deal purchases
14:07 elb0w would create a whole bunch of authorizations and then execute the orders when a deal tipped
14:08 elb0w they cancelled our acct
14:08 elb0w they example code blows dick too
14:08 Akron elb0w: Ah. Your plugin seems pretty straight forward. I am doing (maybe unnecessarily) a lot of input validation.
14:08 elb0w Yeah agreed
14:08 elb0w I have some iterns that work there though
14:09 elb0w at the startup I wrote that for
14:09 elb0w I didnt want to take chacnes
14:09 elb0w chances*
14:09 Akron I see.
14:09 elb0w always extra validation when money is involved
14:09 elb0w thats the most important part
14:09 Akron Right.
14:10 Akron I hate to invest so much time in doing these things and then put it online for free - for the benefit of PayPal. :(
14:11 elb0w PayPal made us lose like 10 grand
14:11 elb0w We started a deal
14:11 elb0w had like 1k purchases by 4:30
14:11 elb0w then they cancelled our acct
14:12 elb0w no warning
14:12 Akron Wow.
14:12 elb0w yeah
14:13 elb0w Wrote the entire authorization.net class in that night
14:13 elb0w worked straight for a couple hours
14:13 elb0w The authorize.net docs are much easier
14:13 elb0w and their api is pretty simple. PayPal tries to be more clever than it needs to
14:15 Akron Agree. And to much deprecated things in their API although you have to specify the API version you want to communicate with.
14:16 elb0w Yeah
14:16 elb0w I mean it wasnt all a loss
14:17 elb0w I learned a lot about how web payments process things
14:17 elb0w but overall it was a lot of wtf's per minute
14:17 alpha6 joined #mojo
14:19 mattastrophe joined #mojo
14:20 xaka joined #mojo
14:20 Akron There are better things to learn. Oh ... damn ... really old plugin thing. Lots of __PACKAGE__->attr(). ;)
14:23 elb0w he
14:23 elb0w h*
14:23 elb0w :P
14:23 elb0w This is cool the geo plugin I put up, wonder how long that geo server will stay alive
14:25 rhaen btw, in the docs I only find http post as block operation in Mojo::UA.
14:25 rhaen is there a way to send a non blocking req?
14:25 stephan48 sure append a callback
14:25 rhaen bah!
14:25 rhaen right, yep - read everything.
14:25 * rhaen bangs his head.
14:26 stephan48 :)
14:26 tabbi joined #mojo
14:27 tabbi left #mojo
14:28 fhelmber_ joined #mojo
14:46 elb0w sri: http://mojolicio.us/perldoc/M​ojolicious/Lite#HTTP_Methods text error on # * /baz
14:46 elb0w it makes everything below look like a comment
14:46 elb0w actually its above that
14:48 sri crab: you don't know why case mapping happens?
14:49 sri crab: controller = snake_case (will be camelized), class = camel case (will not be modified)
14:49 elb0w god remind me of someone I know so much kolix lol
14:50 elb0w whoops
14:50 koban` left #mojo
14:51 abra joined #mojo
14:51 fhelmber_ joined #mojo
14:57 GitHub190 joined #mojo
14:57 GitHub190 [mojo] kraih pushed 1 new commit to master: http://git.io/qnzfbg
14:57 GitHub190 [mojo/master] made camelize a bit smarter - Sebastian Riedel
14:57 GitHub190 left #mojo
14:57 sri the downside of this is of course that stupid people won't get an error now and not learn the proper way to do it
14:59 alnewkirk add a im_stupid=1 flag
15:00 alnewkirk elb0w, http://anainc.tumblr.com/post/750495921​1/centralized-input-validation-for-perl
15:00 alnewkirk inout validation made easy
15:01 alnewkirk Akron,^^
15:02 sri https://github.com/alnewkirk/Validation-Class # but be careful, it requires dist zilla for every small patch
15:02 alnewkirk :}
15:03 alnewkirk im gonna start including the makefile
15:03 elb0w Yeah thats nice, but I dont think I would need it too often
15:04 elb0w if I need to post some forms
15:04 elb0w ill def use it though
15:10 Akron alnewkirk: I validate even if it's from a database by using a modified Mojo::Base. Ugly, but works.
15:11 alnewkirk whatever works
15:11 purl "whatever works" is not always the best solution - but it's good enough
15:12 elb0w good enough
15:12 Kulag joined #mojo
15:12 elb0w purl: good enough
15:12 purl elb0w: huh?
15:12 elb0w :(
15:12 elb0w purl: how cool am I?
15:12 purl you are trying to change the dns
15:15 perlrocks Twitter: "I stopped along to git clone from the Mojolicious." (ja) --hisaichi5518 http://twitter.com/hisaichi55​18/status/105659336528887809
15:16 Akron Goonies 'r' good enough!
15:23 alnewkirk yaayyyyyyy, mojolicious now respects my decision making
15:27 xaka sri: i think "/^[A-Z]/" should be changed to "/[A-Z]/", because sometimes classes have names like vCenter and so on
15:44 xaka joined #mojo
15:49 lammel left #mojo
15:50 vel joined #mojo
15:53 Akron joined #mojo
16:03 sromanov joined #mojo
16:05 sromanov joined #mojo
16:08 ispy_ joined #mojo
16:09 Eugene joined #mojo
16:11 rhaen hmpf, ...
16:11 rhaen given a form like: <input type=file name=f />
16:12 rhaen for a file upload.
16:13 rhaen doesn't the oneline like f('http://localhost', {f => file-asset}) should do the trick?
16:15 rhaen sorry: f('http://localhost/'{file => {f => './file.txt}})
16:25 sri rhaen: how is it supposed to know that you are not just sending a normal value?
16:26 sri second one is almost right, {f => {file => './file.txt}}
16:27 sri http://mojolicio.us/perldoc/M​ojo/UserAgent/Transactor#form
16:31 alpha6 joined #mojo
16:32 sromanov joined #mojo
16:40 tabbi joined #mojo
16:43 tabbi left #mojo
17:01 GitHub157 joined #mojo
17:01 GitHub157 [mojo] kraih pushed 1 new commit to master: http://git.io/lQkfLA
17:01 GitHub157 [mojo/master] fixed small route rendering bug - Sebastian Riedel
17:01 GitHub157 left #mojo
17:10 alpha6 joined #mojo
17:34 tempire alnewkirk: that's all you.  a hangout isn't refined enough for my tastes.
17:35 tempire You might want to talk to gabor, though.  He might be interested in something like that.  Maybe something to go along with his new perl weekly.
17:36 tempire huh.  so booking.com & cpanel are essentially funding the future of perl
17:36 tempire and net-a-porter, whoever they are
17:37 john tempire: funding perl is also marketing/recruiting for them since they are hiring perl devs
17:37 john good way to get some goodwill
17:38 tempire bah.  net-a-porter doesn't sell mens clothing.
17:38 tempire I'd work there for free pretentious clothing.
17:38 john I was just cruising cafepress and found 2 interesting things
17:39 john (1) PHP = People Hate Perl <- I guess you can make it a backronym and sell t-shirts that say: PHP = People Hate PHP ;)
17:39 john (2) they have a Mojolicious already but not ours
17:39 GitHub199 joined #mojo
17:39 GitHub199 [mojo] kraih pushed 1 new commit to master: http://git.io/qH0H4A
17:39 GitHub199 [mojo/master] cleanup - Sebastian Riedel
17:39 GitHub199 left #mojo
17:41 alnewkirk ummm, john, none cares what PHPers think (and not just in the Perl community), and also, ... explain (2)
17:41 john http://www.cafepress.com/bouncearama/6227887
17:42 john I found a catalyst store: http://www.cafepress.com/catalystdev
17:42 john I never knew there was one
17:42 john it's not really marketed
17:43 john the bouncearama link has a bunch of mojolicious swag
17:53 vel joined #mojo
17:59 Akron joined #mojo
18:00 sri hmm, i actually expected a lot more problems this week caused by all the renaming last week
18:02 tempire test coverage ftw
18:03 sri sure, but at least some people should get confused by the double entries in the "mojo" command list after upgrading
18:04 sri wonder if the majority develops on case insensitive file systems
18:07 perlrocks Twitter: "I don't get tired of playing with the new #websocket testing api in #mojolicious, could be nice for oneliners too. http://t.co/yjHUyr5 #perl" --kraih http://twitter.com/kraih/status/105702626930343936
18:08 tabbi1 joined #mojo
18:08 tabbi1 left #mojo
18:29 j-v-e joined #mojo
18:36 marcus sri: wish make install could deal with upgrades properly
18:37 sri marcus: as in delete garbage?
18:37 marcus sri: yes
18:37 sri that would be great indeed
18:37 marcus as in know what each distribution contains and remove the old crap
18:37 marcus it writes a package list, doesn't it?
18:38 sri don't know, could be
18:38 marcus Appending installation info to /Users/marcus/perl5/perlbrew/perls/perl-5.1​4.1/lib/5.14.1/darwin-2level/perllocal.pod
18:39 marcus not that useful
18:44 Firkin left #mojo
18:46 lammel2 joined #mojo
18:54 SmokeMachine_ joined #mojo
19:02 xaka marcus: that's why i use and learned Debian package management, when new release comes out, i run 2 command and i'm done - previous one is removed (including garbage) and new one is intalled. Which OS do you use?
19:03 sri darwin *cough*
19:04 xaka it's kind of FreeBSD, isn't?
19:05 sri yes, os x is kind of like freebsd
19:05 sri native os packages don't help much with perlbrew though
19:06 sri which pretty most competent perl developers use these days
19:06 sri *-pretty
19:06 sri how else would you test against multiple versions of perl?
19:07 kaare joined #mojo
19:07 tempire real men use distro perl, and man up to the consequences
19:07 marcus Guess I'm not a real man
19:07 marcus I decided to always use the most recent perl if possible
19:07 marcus what's the point of them adding more features to my language if I use an ancient version?
19:08 tempire I'm on 514.0; I don't feel like reinstalling all the modules for .1
19:08 marcus why write pop @$foo when pop $foo will do the trick?
19:08 gizzlon xaka: it's not kind of like freebsd >(
19:08 xaka gizzlon: not my words :-P
19:09 marcus xaka: well, it's a fork of freebsd kernel :)
19:09 sri gizzlon: userspace is close enough
19:09 gizzlon xaka: the command line, in practice,  su*ks
19:09 marcus gizzlon: on freebsd or on darwin? :-p
19:09 sri marcus: kernel is entirely different acyually
19:09 sri s/y/t/
19:09 gizzlon are there any native ports or packages?
19:10 marcus sri: oh, you're right. It's actually based on the NeXT kernel.
19:10 gizzlon marcus: and free/net bsd stuff
19:10 sri there's macports and homebrew
19:10 marcus gizzlon: there are several ports trees, as well as macbrew
19:10 marcus and fink I guess
19:10 marcus it kind of died I think
19:10 sri not sure why you think the command line sucks
19:10 gizzlon I'm on a mac right now ..
19:11 gizzlon with debian ;)
19:11 sri i use the normal zshell
19:11 tempire I wish homebrew would support newer versions of libraries that osx already distributes.
19:11 tempire macports feels so ancient
19:11 marcus tempire: feels almost like freebsd ports :p
19:11 marcus which I also hate
19:11 xaka marcus: about pop $foo vs pop @$foo. If you provide your packages via CPAN and people use them, you can't be sure that they dont use CentOS or RedHat :-P which has an oldest versions of perl
19:11 gizzlon marcus: ports rock.. for its use
19:11 marcus xaka: yes. But at least when I do client code I can use it.
19:12 sromanov > I decided to always use the most recent perl if possible
19:12 sromanov marcus: that's pretty selfish, don't you think? :D
19:12 marcus as long as I can get the client to use perlbrew rather than system perl.
19:12 marcus sromanov: no
19:12 * sri also uses the latest perl for his own code
19:12 gizzlon found that some os versions lack modules in perl core!
19:12 gizzlon think it was redhat.. stuff in perl core was not installed
19:12 marcus gizzlon: another reason not to use system perl
19:12 sromanov i mean, there's toooo many people who won't be able to use your code
19:12 sri perlbrew is great because i can test my cpan modules on different versions while developing on the latest
19:12 * marty would use 5.14 but the mongodb package will not install with 5.14
19:13 marcus sromanov: no, it doesn't mean that.
19:13 marcus sromanov: I didn't say I make my cpan distributions depend on the latest perl
19:13 marcus just that I use it for app development
19:14 sromanov all right then)
19:14 gizzlon yeah, who wants 5.8?
19:14 sri IF YOU'RE USING 5.8 I HATE YOU!
19:14 gizzlon do @work
19:14 marcus marty: I has it installed on 5.14.1
19:14 sromanov i don't like pop $foo feature though
19:14 marcus sromanov: why?
19:15 sri sromanov: you're crazy, that feature is awesome
19:15 marcus It's my favorite feature in years
19:15 tempire indeed
19:15 marty marcus: Really?  Damn, I tried it here about a month ago and it failed.  So I reverted to 5.12
19:15 sromanov i think perl looses it somewhat crazy beaty that way
19:15 sri best feature since say()
19:15 sromanov so you probably right calling me that0
19:15 marcus sromanov: you are a loon
19:15 sromanov =)
19:16 marcus sromanov: guess you're against modern perl as well =)
19:16 tempire sromanov: I'd bet these peanut butter cookies I'm eating that you'll like it once you get used to it.
19:16 sromanov actually not, that something different
19:16 marcus since it makes perl loose some of that crazy perl4 beauty
19:17 marcus like &foo(bar)
19:17 * tempire stomps on the grave of required &'s
19:18 sri http://images.memegenerator.n​et/instances/500x/9514395.jpg
19:18 sromanov modern perl is about efficency in generall, which is absolutely right thing
19:19 marcus sromanov: did you know that newer perls are more efficient than older ones? ;)
19:20 marcus so using the latest perl is good for the environment!
19:20 sri some performance improvements are insane
19:20 sri like the regex engine… 20 times as fast for some stuff we actually use in mojolicious
19:21 sri that's a lot of trees
19:22 tempire joined #mojo
19:23 sromanov totally agree. environment on the first place, after all =0)
19:23 tempire I want to go to yapc::eu next year
19:24 sromanov tempire: who doesn't ;)
19:24 tempire I heard everyone smokes in germany
19:24 * tempire hates smoking
19:24 sri smoking is a requirement for entering germany
19:24 marcus tempire: only weed
19:25 rhaen sri: really? Do you smoke?
19:25 xaka vodka is the same for entering russia )
19:25 * tempire hates marijuana as well, though slightly less
19:25 * sromanov thought is wal Holland
19:25 sri rhaen: nope ;p
19:25 rhaen xaka: *brrrr*
19:25 sromanov *waws
19:25 xaka rhaen: whooot?
19:25 rhaen let's have a nice mojothon, hack some stuff and drink some vodka
19:26 * tempire hates vodka
19:26 marcus tempire is such a hater
19:26 rhaen tempire: you can smoke, too.
19:26 marcus rhaen: he hates that too :)
19:26 xaka he should join to the project hate band :)
19:26 rhaen marcus: np, we can share his part then.
19:26 sromanov from russian perlers, i can say, we donna like vodka that much :)
19:27 rhaen marcus: *ugh* - you are from Norway.
19:27 rhaen marcus: I won't drink with you - I will stay careful.
19:27 marcus rhaen: what, you hate norwegians? =)
19:27 sri tempire: don't think there are many smokers left in germany actually, laws got rather strict
19:27 marcus rhaen: yeah, drink with the russians instead, those guys are light weights!
19:27 marcus :D
19:28 xaka sri: eto prosto kakie-to nepravilnie russkie perlisti
19:28 xaka ups
19:28 xaka wrong
19:28 * xaka killed himself
19:28 marcus lol
19:28 marcus ja panimajo
19:28 rhaen marcus: Lakefisk? Surströming? what was it?
19:28 rhaen *ugh*!
19:28 xaka i've touche s..i, omg, hell me
19:28 xaka *touched
19:28 marcus xaka: uchen nepravilnie
19:28 rhaen marcus: that stuff is straight from hell!
19:28 sromanov marcus, you know russian? wicked cool)
19:28 marcus rhaen: I agree, I don't eat it either
19:29 marcus sromanov: my wife is from st petersburg.
19:29 rhaen marcus: as long as I don't have have to eat that - let's have a drink.
19:29 sromanov just as myself)
19:29 rhaen I should visit Russia!
19:30 rhaen What about a yapc one day? Doesn't Moscaw have a yapc?
19:30 sromanov it sure does
19:30 marcus rhaen: moscow perl mongers helped arranged this year's conference
19:30 marcus rhaen: they actually applied to have it in moscow last year, iirc
19:30 rhaen oh, cool. This year is a little strange for me.
19:30 sromanov and one in st. petersburg is usually held in december
19:30 rhaen I'll hope to attend some conferences next year
19:30 marcus it's a bit of a hassle with visas to go to russia tho
19:31 rhaen sromanov: huh!
19:31 * tempire doesn't trust foreigners
19:31 rhaen marcus: oh, I'll ask them at interfriendship.com - should be easy :)
19:31 marcus rhaen: eek
19:32 xaka it's as difficult to go russia as go from russia to anywhere :-D
19:32 marcus xaka: mm
19:32 rhaen marcus: don't be shy!
19:32 sromanov it's quite easy to get europe visa in spb, i gotta say
19:32 rhaen Will someone attend our German conference this year?
19:33 marcus rhaen: if you're into that kind of thing, http://www.russianbrides.com/ has prettier girls :p
19:33 xaka sromanov: to finland it's, but to everywhere i think
19:33 tempire or better photographers, at least
19:33 marcus I actually have a guest from st. petersburg visiting atm
19:34 tempire off of russianbrides?
19:34 sromanov xaka: finland visa is Schengen
19:34 marcus no, girlfriend of my wife.
19:34 marcus she's going back home tomorrow.
19:34 xaka marcus: use him as a hostage and russia will be open for you :)
19:34 marcus xaka: I've been to russia many times :)
19:35 sugar joined #mojo
19:35 marcus I was even to a couple of russian weddings.
19:36 xaka marcus: can't say the same about norway, but i really want, i saw so many video how people fly there above the mountains, amazing, so beautiful nature
19:36 xaka marcus: oh, and you still alive, you're the true russian!
19:38 xaka sromanov: as i know st. petersburg citiziens have discounts when they want to go to finland? and actually it's easier for them to do it then for other russians
19:39 marcus ira who's visiting us now has a finnish multivisum
19:39 * xaka not sure that it's a channel about mojolicious...
19:39 rhaen hahaha.
19:39 marcus and once she has it, she can go anywhere in schengen
19:39 rhaen xaka: actually it is.
19:39 rhaen xaka: this is the craziest channel on irc.
19:39 * marcus and sri has always been good at keeping the mvc channels social
19:40 rhaen marcus: aha, that's possibly the reason for so many frameworks :)
19:41 arpadszasz joined #mojo
19:41 sromanov xaka: haven't heard about dicounts, it's easier because spb is actually one of the closest big cities to the border)
19:41 marcus Mojo - one framework to rule them all, and in the darkness bind them.
19:41 xaka ok, it's the lunch time, no more russia, norway, germany, whatever :)
19:41 sromanov the other one would be Murmansk - my birthplace
19:41 marcus xaka: paka
19:42 xaka marcus: paka eto esli bi ya sovsem ushel, a tak nado gorovit - priyantogo appetita :-P
19:42 marcus sromanov: my wife lived in murmansk until she was 15 :)
19:42 marcus xaka: allright, enjoy your food ;)
19:42 sromanov marcus: small world =)
19:43 rhaen huah, this mojo thingy is soo awesome.
19:45 * rhaen CRRRRIIIIIES: MOOOOJOOOOLLLIIIICOOOUUUSSS!
19:46 marcus sri: did you see https://github.com/kripken/emscripten/wiki ?
19:46 * marcus wonders if it would be possible to port perl to that.
19:46 marcus => perl in the browser \o/
19:46 marcus or miniperl at least
19:47 rhaen omg!
19:47 marcus http://www.gossamer-threads.c​om/lists/perl/porters/259213
19:49 tempire left #mojo
19:49 tempire joined #mojo
19:49 tempire left #mojo
19:49 tempire joined #mojo
19:50 marcus judofyr has already started to work on getting some part of ruby to run on it ;)
19:51 rhaen this is f*cking crazy, guys.
19:51 diegok marcus: so, the rails guys will finally be able to write ruby all the way :-p
19:51 rhaen Have you seen the linux in js thing?
19:51 rhaen like this one: http://bellard.org/jslinux/
19:51 marcus diegok: coffeescript is already close =)
19:52 rhaen problem:
19:52 rhaen there is no perl.
19:52 diegok marcus: right, close :)
19:54 marcus rhaen: yeah, the linux in js thing is way out there too
19:56 rhaen marcus: I looked into the node thing and looked into the js community
19:56 rhaen they are huge.
19:56 rhaen and they are doing all different kinds of stuff.
19:56 sri marcus: would be awesome if perl could be compiled to js
19:56 rhaen like the amplify things, phantomjs is nice.
19:57 rhaen sri: yep, absolutely.
19:57 rhaen sri: precompiling stuff from mojo templates to js, cool.
19:58 sri coffeescript to perl could also be fun :D
20:00 rhaen sri: you should take your drugs, regulary.
20:00 marcus is he still on snake poison?
20:00 sri if i had spare time and more drugs i would be tempted to actually write that ;p
20:00 rhaen marcus: I think so, yes.
20:01 marcus sri: don't you mean perl to cofeescript? :)
20:01 sri nope
20:20 alpha6 joined #mojo
20:23 sri tempire: %=t div => 'alala' could be neat
20:23 tempire I like that even better
20:23 tempire since tag sometimes makes small things longer than the html
20:24 tempire Another thing I noticed...
20:25 tempire I expected "%= $var" to work even though %= wasn't the first text in the string.
20:25 tempire s/string/line/
20:25 sri yea, that's never gonna work
20:27 tempire too risky?
20:27 sri not because it's impossible to implement but because highlighting would be a nightmare
20:27 tempire ah
20:27 sri i have so many ideas for crazy cool template features… but highlighting is a deal breaker
20:28 sri microsoft razor has some great new ideas
20:28 sri % for (1.. 10) {
20:28 sri lalala
20:28 sri }
20:28 sri it knows that a } is expected
20:29 sri they can do crazy stuff like that because they own the ide
20:29 sri i would love to go there, but it wouldn't be fun without highlighting
20:31 sri or i would love to be smart about inline expressions
20:32 sri lalala %= $foo lalalala
20:32 sri maybe even lalala $foo lalala
20:32 tempire I would really love %= div 'lalal'
20:34 sri make a helper plugin with all html5 tags :D
20:34 tempire would it be bad to assume an html tag unless a helper existed?
20:34 tempire er, xml tag
20:35 tempire since you can do <atypeofname>Name</atypeofname>
20:35 sri how would that work?
20:35 sri we need a prototype to get function calls without () working
20:36 sri https://github.com/kraih/mojo/blob/master​/lib/Mojolicious/Plugin/EPRenderer.pm#L52
20:36 sri tempire: code is there, knowck yourself out :D
20:37 tempire I know, I know
20:37 tempire patches welcome :)
20:37 sri the problem with autoload is that it would become %= div('lalala')
20:39 sri which of course would be a total mess with begin/end
21:17 perlite_ joined #mojo
21:30 alpha6 joined #mojo
22:09 GitHub151 joined #mojo
22:09 GitHub151 [mojo] kraih pushed 1 new commit to master: http://git.io/A1883A
22:09 GitHub151 [mojo/master] added experimental t helper to Mojolicious::Plugin::TagHelpers - Sebastian Riedel
22:09 GitHub151 left #mojo
22:11 perlrocks Twitter: "playing around with #mojolicious by @kraih for the front end to my malware sandbox project at work. #perl #sysadmin #security" --wdf_vrt http://twitter.com/wdf_vrt​/status/105764088298213376
22:12 sri tempire: just in case you don't find a better solution :)
22:15 perlrocks Twitter: "If you're using any experimental #mojolicious features make sure to send feedback, or they might just disappear in the future! #perl" --kraih http://twitter.com/kraih/status/105764936197738496
22:15 sri there's a lot of stuff marked as experimental
22:20 xaka i don't care about "experimental" word, but the phrase "can be removed in the future" scare me :)
22:22 sri good
22:23 xaka i believe with all this one-letter-helpers templates won't be readable, the mess of a/b/c/d/...
22:28 sri it's an experiment
22:28 sri try it and give feedback ;)
22:32 sri the thing about one letter helpers is however that they look good appended to %= without whitespace
23:06 vel joined #mojo
23:14 mattp_ joined #mojo
23:31 ispy_ joined #mojo
23:50 elb0w__ joined #mojo

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