Camelia, the Perl 6 bug

IRC log for #mojo, 2013-08-14

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

All times shown according to UTC.

Time Nick Message
00:02 good_news_everyone joined #mojo
00:02 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/Tb78Qw
00:02 good_news_everyone mojo/master 617aead Sebastian Riedel: fixed typo in tutorial
00:02 good_news_everyone left #mojo
00:17 shmuel joined #mojo
00:24 Akron sri: Oh, I thought there were still ->parse(->to_xml) things in there, but they are gone now (I'm pretty sure, the were there the last time I read Mojo::DOM) - so nevermind. I have nothing to complain about Mojo::DOM.
00:24 sri :)
00:41 Akron Mojo::DOM++
00:43 bpmedley jzawodn: Did you get your stuff deployed?
00:44 egopro joined #mojo
00:46 jzawodn bpmedley: not quite.  I'm getting closer though
00:46 bpmedley jzawodn: Need any help?
00:52 jzawodn bpmedley: currently fighting with upgrading to a sane version of mojo in our prod environment.  but if something comes up that's mojo-specific and not related to our env, I'll holler. thanks
01:15 russum joined #mojo
01:24 jzawodn ahh.. hypnotoad in newer releases no longer has a --config option
01:26 jzawodn (you can tell how far behind our prod env was)
01:28 sri :o
01:31 sri that's < 2.46 from 1.5 years ago
01:32 sri you're missing out on an insane amount of cool new stuff
01:32 sri especially hypnotoad got a lot better around 4.0
01:57 d4rkie joined #mojo
02:19 Lurchentsafter joined #mojo
02:34 jzawodn yeah.  now I'm upgraded
02:35 jzawodn just have to fix my logging now :-)
02:35 jordan joined #mojo
03:18 amirite joined #mojo
03:23 amirite_ joined #mojo
03:30 preflex_ joined #mojo
03:39 punter joined #mojo
03:42 basic6_ joined #mojo
03:55 asarch joined #mojo
04:29 stokachu joined #mojo
04:30 dqw joined #mojo
04:33 dqw2 joined #mojo
04:59 D4RK-PH0ENiX joined #mojo
05:06 hummeleBop joined #mojo
05:34 zacts joined #mojo
05:55 trone joined #mojo
06:09 batman joined #mojo
06:09 marcus joined #mojo
06:10 wsri joined #mojo
06:15 dvinciguerra joined #mojo
06:24 egopro joined #mojo
06:26 dpetrov_ joined #mojo
06:27 egopro joined #mojo
06:43 Vandal joined #mojo
06:50 tolid_air joined #mojo
07:00 Britzel joined #mojo
07:05 basiliscos joined #mojo
07:25 Mike-PerlRecruiter_ joined #mojo
07:45 basiliscos1 joined #mojo
07:49 zibi joined #mojo
07:58 fhelmber_ joined #mojo
08:06 mrphilov joined #mojo
08:12 mire joined #mojo
08:21 Adura joined #mojo
08:30 Lee joined #mojo
08:36 arthas joined #mojo
08:45 egopro joined #mojo
08:54 alnewkirk joined #mojo
09:03 basiliscos joined #mojo
09:03 basiliscos joined #mojo
09:04 mire joined #mojo
09:04 dotan joined #mojo
09:12 dod joined #mojo
09:14 denisboyun joined #mojo
09:21 basiliscos1 joined #mojo
09:21 denis_boyun_ joined #mojo
09:31 hrupp_ joined #mojo
09:39 denisboyun joined #mojo
09:47 basiliscos joined #mojo
09:48 denisboyun joined #mojo
09:49 mire joined #mojo
10:09 basiliscos1 joined #mojo
10:24 denis_boyun joined #mojo
10:35 mrphilov1 joined #mojo
10:54 moltar joined #mojo
10:54 denis_boyun joined #mojo
11:22 denisboyun joined #mojo
11:33 basiliscos joined #mojo
11:33 denis_boyun_ joined #mojo
11:52 dqw joined #mojo
12:13 denisboyun joined #mojo
12:17 basiliscos joined #mojo
12:18 basiliscos joined #mojo
12:21 yakudza joined #mojo
12:31 batman in mango: i want to update a document if it's owned by the right user and insert it if it does not exists.
12:32 sri upsert
12:33 batman hm... i don't think so. i will paste some code
12:33 phips|mac joined #mojo
12:33 * batman fail to explain with words. (code to the rescue!)
12:33 sri UPSERT!
12:35 batman :D
12:37 marcus batman: WHY U MONGO?
12:37 batman because i'm pretty sure you're going to make me sooner or later
12:38 sri hmmm
12:38 sri i'm going to change the ->update return value
12:42 sri this is the kind of design mistakes i was afraid of!
12:49 batman https://gist.github.com/722e56304928f000055c
12:50 batman ^ tried to show my issue there
12:53 amirite joined #mojo
12:57 sri and broken https://github.com/kraih/mango/commit/a​b35b1c94e55accd5302e07df82c635e5236e8df
13:00 batman marcus: http://noembed.com/
13:02 batman sri: i like the change
13:04 sri if anyone here wants to help checking method argument/return values... the python driver is a good reference https://github.com/mongodb/mongo-python-driver/
13:04 zibi joined #mojo
13:05 marty_ batman:  if you have a unique index on the field the insert will fail if it's a dupe.  $collection(->ensure_index({name => 1}, {unique => 1});
13:05 marty o/
13:05 sri \o
13:05 sri Bender: trust marty
13:05 Bender sri, I already trust marty
13:05 sri Bender: spread the love
13:05 marty I feel trustworthy!
13:06 batman marty: ah! sweet :)
13:06 batman thanks
13:06 marty :)
13:07 batman i stopped doing mongodb two years ago, so i'm a bit rusty (or close to useless)
13:16 basiliscos joined #mojo
13:19 maxhq joined #mojo
13:19 asarch joined #mojo
13:27 jberger joined #mojo
13:27 jberger <3 mango
13:28 * sri uploads a quick 0.11 release
13:28 * jberger is always reading the log :-)
13:29 sri lurking in the shadows
13:30 jberger Hmmm maybe at tonight's chicago.pm I should finally make some examples of my odm
13:31 * sri is still worried about method return values
13:31 diegok joined #mojo
13:31 sri ->aggregate will change a little with mongodb 2.6
13:31 sri it can return cursors then
13:32 sri only with a special argument though, so that should be fine
13:33 bluescreen joined #mojo
13:35 btyler joined #mojo
13:39 amirite_ joined #mojo
13:41 batman i wonder if { single => 1 } makes operations faster, even though if i have an unique index
13:44 Britzel_ joined #mojo
13:45 basiliscos1 joined #mojo
13:57 crab hey, i haven't uploaded a release in some time.
14:06 zivester joined #mojo
14:08 cosimo joined #mojo
14:08 d4rkie joined #mojo
14:12 arpadszasz joined #mojo
14:13 gryphon joined #mojo
14:18 sri we didn't have that many releases recently
14:19 sri there have been whole days without a commit :o
14:22 batman i would like to have Galileo/Plugin/FlexMemorize.pm as a standalone plugin
14:22 shmuel joined #mojo
14:23 sri Bender: trust jberger
14:23 Bender OK, sri
14:25 jberger batman: sorry I have been meaning to do that
14:25 batman no need to be sorry :)
14:25 batman i can do it if you like
14:25 sri slacker!
14:26 jberger The only difference between that and the old memorize is the ability to access the caching hash
14:26 * batman have no idea what is the "old"  and "that" ...
14:27 sri are your tests stable?
14:27 * sri remembers having to disable memorize tests by default because they were so unstable
14:27 jberger That lets you expire the memorizations
14:28 jberger sri: that's part of why I haven't released it :-(
14:28 sri ah
14:28 batman jberger: release 0.01 without that
14:29 jberger The difference for me (vs mojo) is that I could use a sleep 2 without fear
14:31 jberger Memorize a template with a time, wait 2s, then test
14:31 jberger Don't want to waste that time in mojo core tests
14:32 tempire <3 the auto-flight lookup on google maps
14:32 sri make sure to use Mojo::Util::steady_time too :)
14:32 jberger Ahhh good idea
14:41 basiliscos joined #mojo
15:05 dvinciguerra joined #mojo
15:10 amirite joined #mojo
15:12 KindTwo joined #mojo
15:15 amirite joined #mojo
15:17 mire joined #mojo
15:24 abra joined #mojo
15:35 SmokeMachine joined #mojo
15:39 amirite_ joined #mojo
15:49 btyler_ joined #mojo
15:51 AdmWiggin joined #mojo
15:51 denisboyun joined #mojo
16:01 basiliscos joined #mojo
16:01 SmokeMachine joined #mojo
16:05 basiliscos joined #mojo
16:09 KindOne joined #mojo
16:11 tianon joined #mojo
16:14 basiliscos joined #mojo
16:22 arpadszasz joined #mojo
16:22 dvinciguerra_ joined #mojo
16:27 Adura joined #mojo
16:32 bowtie_ joined #mojo
16:43 jberger joined #mojo
16:44 hummeleBop joined #mojo
16:52 KindTwo joined #mojo
16:52 tianon joined #mojo
16:52 basic6_ joined #mojo
17:00 denis_boyun joined #mojo
17:06 amirite joined #mojo
17:33 SmokeMachine joined #mojo
17:40 dod joined #mojo
17:49 dotandimet joined #mojo
17:59 btyler joined #mojo
18:15 dpetrov__ joined #mojo
18:24 marcus batman: noembed ser fett ut
18:24 marcus doh, wrong language again
18:43 mire joined #mojo
18:47 denisboyun joined #mojo
19:19 dqw joined #mojo
19:23 tolid_air joined #mojo
19:25 Mike-PerlRecruiter_ joined #mojo
19:26 jzawodn joined #mojo
19:55 KindOne joined #mojo
19:55 dvinciguerra_ joined #mojo
19:55 denisboyun joined #mojo
20:04 denis_boyun_ joined #mojo
20:15 punter joined #mojo
20:16 tempire $self->send(j pop);
20:28 mire joined #mojo
20:28 gryphon joined #mojo
20:36 sri tempire: not anymore!
20:36 sri ->send({json => pop})
20:36 sri sorry!
20:36 tempire better
20:36 tempire but not as fun
20:40 sri https://github.com/kraih/mojo/pull/525 # review!
20:55 * sri decides to use the github comment feature more often for code review
21:04 denis_boyun joined #mojo
21:13 zivester joined #mojo
21:32 lukep joined #mojo
21:46 amirite joined #mojo
21:48 dotandimet joined #mojo
22:10 KindTwo joined #mojo
22:13 * jberger has decided that github is the best thing since bread
22:30 tempire bread is overrated.
22:30 tempire makes you fat.
22:31 btyler_ joined #mojo
22:41 punter_ joined #mojo
22:42 dvinciguerra_ joined #mojo
22:46 maxhq joined #mojo
23:16 jberger_ joined #mojo
23:17 jberger_ sri: can haz opinionz on the name for the Memorize plugin?
23:17 jberger_ i.e. should I just use Mojolicious::Plugin::Memorize?
23:17 sri yes
23:18 jberger_ in that case, I've never "spun off" a module before, will there be version number problems from PAUSE?
23:19 jberger_ presumably I have to use something greater than the version number of mojolicious that removed it right?
23:21 laouji joined #mojo
23:24 amirite_ joined #mojo
23:27 jberger_ well, M::P::Memorize doesn't come up in any of the searches on *cpan.org sites
23:34 sri it never was a plugin, just part of DefaultHelpers
23:41 jberger_ oh, you're right
23:56 StinkfooT joined #mojo

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