The web in a box - a next generation web framework for the Perl programming language

IRC log for #mojo, 2014-04-19

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

All times shown according to UTC.

Time Nick Message
00:31 d4rkie joined #mojo
01:03 irq_ joined #mojo
01:06 klapperl joined #mojo
01:24 beyondcreed joined #mojo
01:45 asarch joined #mojo
01:57 hesperaux joined #mojo
02:35 marty joined #mojo
04:37 t4nk016 joined #mojo
04:37 t4nk016 12321
04:37 t4nk016 EWEWF
04:37 t4nk016 EG
04:37 t4nk016 ERGRE
04:37 t4nk016 WG
04:37 t4nk016 44
06:01 Vandal joined #mojo
06:08 irq joined #mojo
06:19 sujithm joined #mojo
07:28 rem_lex| joined #mojo
08:16 basiliscos joined #mojo
08:20 sh4 joined #mojo
08:41 sujithm joined #mojo
09:28 denis_boyun joined #mojo
10:06 batman jberger: has_many in mandel must be completely broken :(
10:06 batman fixing it now
10:07 batman or... maybe not. i don't get why the unittest works
10:12 batman good! i didn't use it right :)
10:32 dod joined #mojo
10:59 jhg joined #mojo
11:08 mire joined #mojo
11:16 hummeleBop joined #mojo
11:25 jberger hehe
11:26 jberger yay today is finally perl day
11:26 jberger what shall I work on?
11:37 irq joined #mojo
11:56 batman :)
11:59 moritz jberger: perl!
11:59 batman jberger: i'm considering removing the $doc->save from the hasmany relationship
12:00 batman what do you think about that?
12:02 punter joined #mojo
12:06 ryozi joined #mojo
12:08 batman or maybe just add another method which allow $person->add_cats($bson_oid); ?
12:09 batman i also had a comment on why it didn't behave the other way around: that the $person had a list of foreign keys
12:10 batman and i think maybe my model is wrong: how can you make sure the order is right, if the link is in the foreign document?
12:10 batman maybe i didn't care about order when i started making this
12:13 sujithm joined #mojo
12:23 arthas joined #mojo
12:27 batman i also think it's quicker to select the way it's implemented now... might be wrong.
12:52 sri tempire: i really don't get your mongodb hate
12:54 balazs joined #mojo
12:54 sri looks like there's now a mongodb prototype with document level locking :o
12:55 sri 2.8 should be a good release for concurrency
12:57 sri it's hilarious when people bring up banking trying to explain their need for ACID transactions
12:58 sri banking transactions are eventual consistent
13:01 balazs does anyone have a whitepaper on how the banking system works on a technical level ? For example, can I lose my money if somebody hacks my bank's system ?
13:01 balazs not that I have so much...
13:06 balazs or what if a bank accidentally credits somebody $1M, then he wires it to another bank and takes it out as cash.
13:15 sujithm joined #mojo
13:27 irq joined #mojo
13:54 * jberger 's mind is blown by batman
14:15 good_news_everyone joined #mojo
14:15 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/TuVXZQ
14:15 good_news_everyone mojo/master 6c18df3 Sebastian Riedel: relaxed name handling in Mojo::Headers a little
14:15 good_news_everyone left #mojo
14:18 batman jberger: mine as well. I hate relationships. They are so hard to do right, hehe
14:18 denis_boyun joined #mojo
14:23 good_news_everyone joined #mojo
14:23 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/h_PbRQ
14:23 good_news_everyone mojo/master 5dce091 Sebastian Riedel: made Mojo::Headers a little more resilient
14:23 good_news_everyone left #mojo
14:25 good_news_everyone joined #mojo
14:25 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/9Bfm0A
14:25 good_news_everyone mojo/master aac16e8 Sebastian Riedel: fixed small bug in online tests
14:25 good_news_everyone left #mojo
14:26 sri batman: if in doubt... steal relationship handling from another popular odm
14:28 gryphon joined #mojo
14:29 sri http://mongoosejs.com/docs/guide.html # the most popular doesn't do relationships at all
14:33 sri https://doctrine-mongodb-odm.readthedocs.org/en/latest/reference/reference-mapping.html # doctrine calls it reference mapping
14:34 batman Ok. Will look into it later. I'm out eating lunch with my gf :)
14:34 mire joined #mojo
14:34 sri http://mongoid.org/en/mongoid/docs/relations.html # mongoid does embedding and references
14:44 bzero joined #mojo
14:46 batman I consider relationships to be one of the most important thing when working with databases.
14:46 batman Why store data, if they are not connected?
14:48 batman mongoosejs is what mandel is based on. Didn't know it had relationships.
14:48 batman *bbl*
14:50 asarch joined #mojo
15:08 denis_boyun_ joined #mojo
15:23 batman It looks like I've done what Mongoid have done.
15:23 batman Except I'm using dbrefs, which I think is a good idea (thanks sri)
15:29 d4rkie joined #mojo
15:45 denis_boyun joined #mojo
15:49 batman sri: have you looked at my relationship code? was curious if it makes sense...
15:50 batman i did not understand "Reference Mapping" in doctrine :(
16:09 batman don't bother. i need to fix mandel :(
16:12 asarch joined #mojo
16:18 neyasov_ joined #mojo
16:27 genio I've still yet to realize the benefit of MongoDB and the like for most things.  I see it being abused so much at $work that it makes me like it less.
16:39 batman sri: mongoid doesn't use DBRef. i think i like my way better.
16:39 batman except i've messed up big time :P
16:45 batman guess it's not to bad since mongoid is messed up as well :)
16:47 batman https://github.com/jhthorsen/mandel/blob/b31fab9b8c1b42a80d49a5cdadb484c0094225af/lib/Mandel/Relationship/HasMany.pm # can someone review?
16:47 batman (just the pod)
16:52 genio add_method_name looks to be missing some content.
16:53 batman yeah. nevermind the attributes and methods. they don't make much sense right now :/
16:56 genio Seems logical from my glancing view.  But again, my dislike of MongoDB has left me as a less than desirable reviewer since I have little experience withit
16:56 batman hehe :)
16:56 batman thanks anyway
16:57 genio I should really force myself to use MongoDB and friends a bit to gain some perspective
17:17 hesco I do not seem to be able to trigger this condition, no matter how invalid my data:  https://gist.github.com/hesco/91e52972eaf06476f0be  Any ideas as to what I am missing here?
17:20 irq joined #mojo
17:21 stephan48 does Mojo::Validation supports file uploads? i.e. creating a constraint for file size/name
17:22 batman stephan48: not out of the box
17:22 stephan48 good, atleast that is consistent with my findings :)
17:22 batman "object for current request to validate GET/POST parameters"
17:23 batman from Mojolicious::Controller ^
17:23 sri i've tried to discuss upload support a few times, but nobody seemed to care
17:23 stephan48 okey
17:24 stephan48 ah okey
17:24 sri so now i would only consider it for core if there was a very very good proposal with patch
17:25 stephan48 would be a nice to have for the few forms i have with file upload(< 5) but nothing essential
17:25 stephan48 sure
17:27 hesco This should do what it says, right?  if( ! $validation->is_valid ){
17:28 hesco so that if ANY field fails validation it should trigger the condition, right?
17:28 batman if($validation->has_error) # easier to read...
17:28 hesco I'm thinking perhaps I have logging turned off, testing again
17:35 hesco yep, set MOJO_LOG_LEVEL and things work better now
17:35 hesco never mind on that
18:20 sujithm joined #mojo
18:23 good_news_everyone joined #mojo
18:23 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/mOkZ8w
18:23 good_news_everyone mojo/master 7a4f945 Sebastian Riedel: better test coverage for Hypnotoad
18:23 good_news_everyone left #mojo
18:48 mire joined #mojo
18:50 dahl joined #mojo
19:12 neyasov_ joined #mojo
19:20 denis_boyun_ joined #mojo
19:43 good_news_everyone joined #mojo
19:43 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/xeO1eQ
19:43 good_news_everyone mojo/master fa82aba Sebastian Riedel: better default for Hypnotoad PID file
19:43 good_news_everyone left #mojo
19:46 Theano joined #mojo
19:46 Theano Hi
19:55 good_news_everyone joined #mojo
19:55 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/2XiP8w
19:55 good_news_everyone mojo/master 8076a27 Sebastian Riedel: no need to generate PID file all the time
19:55 good_news_everyone left #mojo
20:14 meshl joined #mojo
20:23 jnbek^dt joined #mojo
20:30 tempire HI!!!1
20:32 Theano hey
20:34 neyasov__ joined #mojo
20:53 meshl joined #mojo
21:02 sujithm joined #mojo
22:16 rem_lex joined #mojo
22:23 good_news_everyone joined #mojo
22:23 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/DwpeAA
22:23 good_news_everyone mojo/master d97370f Sebastian Riedel: added reverse_proxy attributes to Mojo::Server::Daemon and Mojo::Message::Request
22:23 good_news_everyone left #mojo
22:36 good_news_everyone joined #mojo
22:36 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/a16R1A
22:36 good_news_everyone mojo/master 9a74a5e Sebastian Riedel: better reverse proxy tests
22:36 good_news_everyone left #mojo
23:11 good_news_everyone joined #mojo
23:11 good_news_everyone [mojo] kraih pushed 2 new commits to master: http://git.io/NdX83Q
23:11 good_news_everyone mojo/master 5ad4fef Stefan Adams: fixed typo in documentation
23:11 good_news_everyone mojo/master 1a0eeb7 Sebastian Riedel: Merge pull request #613 from s1037989/master...
23:11 good_news_everyone left #mojo
23:20 punter joined #mojo
23:37 good_news_everyone joined #mojo
23:37 good_news_everyone [mojo] kraih tagged v4.94 at f16a95b: http://git.io/U0jlxQ
23:37 good_news_everyone left #mojo
23:38 good_news_everyone joined #mojo
23:38 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/G-Wa4Q
23:38 good_news_everyone mojo/master eb570c2 Sebastian Riedel: bump version
23:38 good_news_everyone left #mojo
23:40 cpan_mojo Mojolicious 4.94 by Sebastian Riedel - http://metacpan.org/release/SRI/Mojolicious-4.94

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