Camelia, the Perl 6 bug

IRC log for #mojo, 2010-07-21

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

All times shown according to UTC.

Time Nick Message
00:00 `_mpu joined #mojo
00:13 memowe Hey, that's MY whip! :D
00:52 Alias joined #mojo
01:35 xantus_ strange, I set session( cid => value ) and no cookie
01:35 xantus_ :/
01:50 xantus_ ok, odd
01:50 xantus_ If I set something in the session
01:50 xantus_ and pause the tx
01:51 xantus_ then wake it up 10-15s later with a response
01:51 xantus_ I get no cookie header
02:09 xantus_ ok, well, I use a redirect + param and cookie check instead
02:09 xantus_ ignite supports long polling now
02:10 * xantus_ waves
02:18 ask joined #mojo
02:41 yakudzo joined #mojo
02:54 janus joined #mojo
02:58 cognominal joined #mojo
03:18 su-bzero_ joined #mojo
04:04 tl joined #mojo
04:23 memowe_ joined #mojo
04:47 Foxcool joined #mojo
04:57 yakudzo When I encode data to JSON how do I set some field of an object to false
04:57 yakudzo ?
04:57 yakudzo not to "false"
04:58 yakudzo if I set $item->{select} = 0; it will returt JSON data as {select: Nan}
04:59 yakudzo and if i set $item->{select} = 'false' I will get {select: "false"}
04:59 yakudzo but i need {select : false} ):
05:03 yakudzo got it
05:03 yakudzo rtfm helps sometimes ((:
05:14 zakame joined #mojo
05:51 Su-Shee joined #mojo
06:00 murata joined #mojo
06:10 robinsmidsrod yakudzo: have you tried $item->{'select'} = !!0; ?
06:11 robinsmidsrod yakudzo: what was the solution?
06:11 yakudzo robinsmidsrod, $item->{select} = Mojo::JSON->false;
06:11 robinsmidsrod :)
06:41 zakame joined #mojo
06:44 vti sri: http://perlsharedhosting.com​/tech/frameworks/mojolicious
06:44 garfield [ Mojolicious | Perl Shared Hosting ]
06:44 garfield http://xrl.us/bhtye2
07:11 dotan joined #mojo
07:13 dotan left #mojo
07:17 jest joined #mojo
07:56 arthas joined #mojo
08:42 yko joined #mojo
09:26 * sri yawns
09:30 dotan joined #mojo
09:37 * janus can't resist thinking of professor yawnsworth ;)
09:37 janus *scnr*
10:00 yakudzo I send in request content following json string 'json=%5B%22%2Fssw%2Fmrm%2Fport%2Ftau%​2Fasdfasd%2Fport9%22%2C%22%2Fssw%2Fmrm​%2Fport%2Ftau%2Fasdfasd%2Fport8%22%5D'
10:00 yakudzo but cant translate it to normal object
10:00 yakudzo Mojo::JSON->decode($self->req->body) returns undef
10:00 yakudzo why ?
10:12 sri yakudzo: sounds very invalid to me
10:13 sri what would magically unquote ->req->body?
10:14 yakudzo req body is 'json=%5B%22%2Fssw%2Fmrm%2Fport%2Ftau%​2Fasdfasd%2Fport9%22%2C%22%2Fssw%2Fmrm​%2Fport%2Ftau%2Fasdfasd%2Fport8%22%5D'
10:14 sri maybe ->param('json') works better
10:14 yakudzo sri
10:14 yakudzo yes I got it
10:14 sri yes, thats totally invalid
10:14 yakudzo but cant understand
10:14 yakudzo I try to send json data
10:14 sri how would a json decoder understand url encoded strings?
10:14 yakudzo but get normal request
10:15 sri that doesn't make the slightest sense
10:15 sri yakudzo: maybe it would help if you told us what you actually want to achieve?
10:17 sri Mojo::JSON->decode($self->param('json'))
10:17 sri i'm just guessing here, since you didn't explain anything, but that might just work
10:18 yakudzo sri I just wanted to give some information from clientside dojo to mojo request. It was json array
10:19 sri looks more like a urlencoded form post that wants to become a json array again to me
10:19 yakudzo and when I get it Mojo::JSON returned undef to me
10:19 sri of course it did
10:19 yakudzo so I added json to this string
10:20 sri that doesn't make any sense
10:20 yakudzo hold on Ill leme paste it
10:21 yakudzo (:
10:21 sri i'm not sure a paste can help here
10:23 sri all you have to do is turn your input string into valid json again
10:24 sri which totally depends on what dojo did to it before sending
10:27 yakudzo at least you will understand what I wanted here and what I got at the end. and may be I will find out normal way to pass Json strings to mojo
10:27 yakudzo http://paste.scsys.co.uk/46955
10:27 garfield [ magnet_web paste from Someone at 217.168.150.38... ]
10:30 sri Mojo::JSON->new->decode(Mojo::ByteS​tream->new($self->req->body)->url_d​ecode->encode('UTF-8')->to_string);
10:30 yakudzo wow
10:30 yakudzo leme check it
10:30 sri i won't argue how stupid it is to url encode in the first place and just give you a solution
10:31 yakudzo but i did not encoded
10:31 yakudzo (:
10:31 yakudzo dojo did this
10:31 yakudzo (:
10:31 sri ops it's url_unescape i think
10:31 sri not decode
10:33 sri hmm, wait
10:33 sri is that url encoded at all?
10:33 yakudzo yes it was url
10:34 yakudzo firebug shows it like this
10:34 yakudzo ["/ssw/mrm/port/tau/asdfasd/port9", "/ssw/mrm/port/tau/asdfasd/port8"]
10:34 sri seems totally broken then
10:35 sri there is no way this 0=%5B&1=%22&2=... could ever become json again i think
10:36 sri well, good luck, thats nothing i could help with
10:37 yakudzo sri, finally i got workaround by just send in content: remove_links not dojo.toJson(remove_links) and getting it from $self->req->params that looks like [
10:37 yakudzo '0',
10:37 yakudzo '/ssw/mrm/port/tau/asdfasd/port9',
10:37 yakudzo '1',
10:37 yakudzo '/ssw/mrm/port/tau/asdfasd/port8'
10:37 was kicked by sri: yakudzo
10:37 yakudzo joined #mojo
10:38 yakudzo oops (: sorry for pasting
10:39 sri one more reason to never try dojo for me :)
10:39 yakudzo sri, and what other reasons ?(:
10:39 sri jquery
10:40 yakudzo (((%
11:54 yko Mojo::DOM should be promouted as jquery-like library :D
11:54 yko i know, someone still waiting for tests.
11:55 * sri cracks the whip
11:55 yko sri: can you aply little patch? http://bit.ly/bPznaU
11:55 garfield [ Commit 9c513e75e9c8eb9b680c84b51564cd230e0d058c to korshak's mojo - GitHub ]
11:56 yko Grabbing one site with Mojo::Client and Mojo::DOM (its precious!) and tired of geting warnings :D
11:56 yko uninitialized value in length bla bla bla...
11:57 sri huh?
11:57 yko Use of uninitialized value in length at C:/Perl/site/lib/Mojo/CookieJar.pm line 38.
11:57 sri ah
11:57 yko aha
11:57 sri ok
11:58 yko thanks a lot, you save my nervous system and somebody's life :)
11:58 sri i'll commit it together with the test :)
11:58 yko okay, np
11:58 yko btw, Mojo::DOM is just great
11:59 yko one thing confusing me is ->search :( it's called 'find' in jQuery :D
12:00 sri that can be changed
12:05 yko $(this).find('blabla').each(function (i, o) { o.text() })
12:05 yko $dom->find('blabla')->each(sub { shift->text })
12:11 yko joined #mojo
12:23 GitHub7 joined #mojo
12:23 GitHub7 mojo: master Yaroslav Korshak * 47cd27a (1 files in 1 dirs): Remove warning
12:23 GitHub7 mojo: master Sebastian Riedel * 18856d9 (5 files in 3 dirs): renamed search method in Mojo::DOM to find
12:23 GitHub7 mojo: master commits 6ba8808...18856d9 - http://bit.ly/dttrZK
12:23 GitHub7 left #mojo
12:23 sri yko: done :)
12:24 yko yay!!
12:25 * yko applauds!
12:27 GitHub29 joined #mojo
12:27 GitHub29 mojo: master Sebastian Riedel * f1a258f (2 files in 2 dirs): added counter to each callback in Mojo::DOM - http://bit.ly/bLSHPs
12:27 GitHub29 left #mojo
12:29 yko :) great
12:29 sri in jquery the counter is the first argument
12:29 yko little diff with jquery, but
12:29 yko ye
12:29 sri but i think it's less common for us
12:29 yko sri++
12:29 yko just great
12:29 yko we have jQuery builtin
12:33 GitHub139 joined #mojo
12:33 GitHub139 mojo: master Sebastian Riedel * 60c5c03 (1 files in 1 dirs): test cleanup - http://bit.ly/aoopMM
12:33 GitHub139 left #mojo
12:33 sri you can just use pop to get the counter first :)
12:34 yko shure, it's not a problem anyway.
12:35 yko but i think being more jquery-like is a very nice feature
12:36 sri ye
12:39 sri perl -Mojo -e 'oO("http://www.reddit.com")->dom->find("a.title")->each(sub { Oo(pop . ". " . shift->text)->say })'
12:44 ask joined #mojo
12:46 yko i've got the test!
12:46 sri :O
12:46 yko But not that one, you need :D
12:46 yko http://bit.ly/aRhos6
12:46 garfield [ Commit 510e3bda0efb02c96cabf39a607be3d38bafb893 to korshak's mojo - GitHub ]
12:47 yko oops. typo :(
12:49 sri whats that test for?
12:50 yko sri, give me one minute pls
12:50 GitHub175 joined #mojo
12:50 GitHub175 mojo: master Sebastian Riedel * cf6f601 (2 files in 2 dirs): cleanup - http://bit.ly/b5D3za
12:50 GitHub175 left #mojo
12:54 sri perl -Mojo -e 'oO("http://www.reddit.com")->dom->find("a.title")->each(sub { Oo(pop, ". ", shift->text)->say })'
12:54 sri or the business friendly version
12:54 sri perl -Mojo -e 'g("http://www.reddit.com")->dom->find("a.title")->each(sub { b(pop, ". ", shift->text)->say })'
12:56 yko sri: okay, updated. http://bit.ly/9vaQ8b that test is about mixing nsted tags
12:56 garfield [ Commit 510a5ea581e85d8ed8bbcd6495152597337fb008 to korshak's mojo - GitHub ]
12:57 sri yko: thats wrong
12:57 yko i expect to get from '<a> text <b> inner </b> outer</a>' -- ' text inner outer'
12:57 sri yea, thats wrong
12:57 yko im wrong? hmm, maybe
12:57 yko but why? :)
12:58 yko can i get text in order it will be displayed to user (or something like that)?
13:01 GitHub174 joined #mojo
13:01 GitHub174 mojo: master Sebastian Riedel * 40b13c2 (2 files in 2 dirs): fixed all_text bug in Mojo::DOM - http://bit.ly/bRcEhE
13:01 GitHub174 left #mojo
13:01 sri yko: that might do it
13:02 yko Yay! Test passes :D
13:03 sri there was already a test, but it was wrong :/
13:03 yko Oh, sorry i miss that test then
13:03 sri easy to overlook
13:04 sri when i said your test was wrong, i thought it was ->text and not all_text ;p
13:04 sri your test was of course right
13:05 yko oh! so text() will return nested tags textalso now? yay!
13:05 yko sri++
13:05 sri nope doesn't
13:05 yko O_O
13:05 * yko is silly.
13:05 sri that wouldn't make sense Oo
13:05 * sri cracks the whip
13:06 yko xantus was right, ye
13:34 _mpu Oo is b
13:34 _mpu ?
13:38 GitHub183 joined #mojo
13:38 GitHub183 mojo: master Sebastian Riedel * 6a4b980 (1 files in 1 dirs): cleanup - http://bit.ly/a31YXG
13:38 GitHub183 left #mojo
13:38 sri _mpu: ye
13:48 kimoto sri: I want to translate Mojolicious::Guides to Japanese in shared wiki.
13:48 kimoto Is it OK?
13:48 sri kimoto: of course
13:49 sri kimoto: russian translation is almost finished i think
13:49 kimoto Oh! good.
13:50 * sri needs ice cream
13:51 kimoto I try translation in a month.
13:53 siegfri3d joined #mojo
13:55 kimoto sir: By the way, do you intend to release Mojolicious 1.0 if Mojolcious is implemented on some level?
13:55 Su-Shee sri: icecoffee with vanilla icecream and cream and .. something else.
13:56 sri kimoto: 1.0 will happen in a few weeks i think :)
13:57 sri Su-Shee: got some chocolate chip ice cream *drool*
13:57 yko damn, i should hurry up :D
13:57 sri no ice cream for yko...
13:59 Su-Shee I need real food before icecream..
14:00 yko no icecream for me indeed. I've got enough today :p
14:18 ask joined #mojo
14:58 vti_mob joined #mojo
14:58 vti_mob Hi!
14:59 vti_mob Mojo rocks!
15:00 sri !
15:04 vti_mob joined #mojo
15:06 vti_mob Mojo is the best framework deer Welt!
15:06 yko vti++
15:06 vti_mob *deer
15:06 * yko is not a deer!
15:06 vti_mob Stupid autocomplete
15:07 yko hehe
15:07 * sri hands vti some ice cream
15:07 vti_mob Back to vodka
15:07 vti_mob c u
15:20 dotan joined #mojo
15:28 vel joined #mojo
15:46 _mpu dancer really looks loke Mojolicious::Lite
15:46 _mpu isn't it ?
15:46 sri you mean both look like sinatra
15:47 _mpu okay, it's the kind of answer I wanted :)
15:47 _mpu where do all these good ideas come from ...
15:48 _mpu sinatra's website is kind of fresh :)
16:00 Su-Shee the good ideas come from lisp and smalltalk, usally. ;)
16:14 sri -Mojo -e 'a("/", {json => {hello => "world"}})->start' daemon
16:14 sri server oneliner anyone? :)
16:15 Su-Shee i've just parsed eyeliner.. I need food. now.
16:29 yko wow
16:31 ashleydev joined #mojo
16:36 ashleydev_ joined #mojo
16:39 GitHub180 joined #mojo
16:39 GitHub180 mojo: master Sebastian Riedel * 2d6ca3b (3 files in 2 dirs): added Mojolicious::Lite support to ojo - http://bit.ly/aKDIrP
16:39 GitHub180 left #mojo
16:40 sri :)
16:41 sri it's a little hackish... but everything works, even if you mix Mojolicious::Lite and ojo
16:41 sri oh, and i've added w() for websocket oneliners
16:44 sri anyone know a public websocket server i could use for an example?
16:53 GitHub154 joined #mojo
16:53 GitHub154 mojo: master Sebastian Riedel * ba8b202 (3 files in 3 dirs): cleanup - http://bit.ly/dhFfRG
16:53 GitHub154 left #mojo
16:59 ashleydev joined #mojo
17:03 ashleydev_ joined #mojo
17:10 _mpu eval "package $caller; use Mojolicious::Lite;"; is a bit dark :)
17:10 sri _mpu: better ideas welcome ;p
17:11 _mpu why not using {} (it's not that better ...)
17:11 sri how do you switch to the caller namespace then?
17:14 _mpu eh ...
17:22 sri perl -Mojo -e 'a("/" => sub { shift->receive_message(sub { shift->send_message("echo: $_[0]") }) })->start' daemon
17:22 sri websocket echo server
17:22 sri perl -Mojo -e 'w("ws://127.0.0.1:3000" => sub { shift->receive_message(sub { shift->finish and b(shift)->say })->send_message("hi there!") })'
17:22 sri and the client :)
17:23 vti you invented netcat :)
17:23 sri but with websockets!
17:23 vti ye!
17:28 Su-Shee so it's webcat. ;)
17:29 sri rawr!
17:29 Su-Shee well _that's_ something one could work with. ;)
17:30 sri rawr is also the name of my world of warcraft character (which i abandoned a few months ago)
17:30 dotan left #mojo
17:30 vti sri: what?! how do find time for that? :D
17:31 vti *how do you
17:31 sri thats the point, i didn't ;p
17:31 sri i heard the russians love world of warcraft
17:32 vti i quit playing in school
17:32 vti fallout2 was my last game
17:32 sri :o
17:32 vti now i play labyrinth!!!
17:32 sri :D
17:33 sri labyrinth is way more addicting that wow...
17:33 sri *than
17:36 GitHub104 joined #mojo
17:36 GitHub104 mojo: master Sebastian Riedel * 1a9c12a (1 files in 1 dirs): cleanup - http://bit.ly/aKQYwl
17:36 GitHub104 left #mojo
18:01 ashleydev_ joined #mojo
18:08 xantus_ joined #mojo
18:17 ashleydev_ joined #mojo
19:13 ask joined #mojo
20:07 ashleydev_ joined #mojo
20:33 sri i'll change detour() a little bit
20:34 sri get('/baz')->detour('test1#', foo => 'lalala');
20:34 sri it can then be used as an alternative for ->to()
20:34 sri and it can use controller =>... as application class
20:35 sri should make usage much easier
20:35 xantus_ cool
20:36 sri the one difference between detour() and to() will be that to() routes require an exact match
20:36 sri while detour() can take a *detour* and the remaining path is preserved for the embedded app
20:36 xantus_ I'm working on the other transports for ignite, and couchdb is now a requirement
20:37 xantus_ multiple mojo servers would be supported now
20:37 xantus_ all client state and buffers are stored in couch
20:40 xantus_ OH, and you can store your config in couchdb
20:40 xantus_ ;)
20:41 xantus_ think about it... you could watch _changes on your config doc and do live config updates
20:42 sri :)
20:46 xantus_ maybe you can take a look at my project later and give me your feedback
20:47 esskar joined #mojo
20:47 esskar hi
20:48 esskar has anybody started a CMS with Mojo yet?
20:49 sri xantus_: will try, but sooooo busy now that the weather is more hacker friendly
20:49 sri esskar: don't think so
20:50 sri well, i've seen a fiew mini cms apps
20:50 sri but no *real* one
20:50 sri *few
20:56 dotan joined #mojo
21:02 DaTa esskar: i only know about Mojolicious::Plugin::ContentManagement just read an anouncement of it
21:09 esskar DaTa: thanks. i will check
21:15 * yko love stash.
21:16 yko that's so good to not define stash values for url_for or link_to or redirect if you are on some route, that already contains it
21:17 yko like being on /:id you don't need to stash id in url_for 'delete' for route delete /:id/delete
21:17 yko Mojolicious just know what you need.
21:23 xantus_ :)
21:24 xantus_ In a deep voice: Ooooh yeah, Mojo knows what you need baby
21:24 yko haha
21:34 spleenjack joined #mojo
21:35 xantus_ http://www.limbogame.org/
21:35 garfield [ LIMBO ]
21:39 xantus_ http://www.flipboard.com/
21:39 garfield [ Flipboard for iPad ]
21:45 ashleydev joined #mojo
21:50 GitHub89 joined #mojo
21:50 GitHub89 mojo: master Sebastian Riedel * 464f25d (5 files in 5 dirs): made detour much more flexible - http://bit.ly/bLD4ly
21:50 GitHub89 left #mojo
21:52 GitHub65 joined #mojo
21:52 GitHub65 mojo: master Sebastian Riedel * 4c7a900 (1 files in 1 dirs): fixed typo - http://bit.ly/d6sFUB
21:52 GitHub65 left #mojo
21:53 sri xantus_: very pretty
21:54 xantus_ yeah, the app is nice
21:54 xantus_ http://dl.dropbox.com/u/1548709/BBC_R4_Trac​king_the_Lincolnshire_Poacher_24112006.mp3
21:54 garfield http://xrl.us/bht28r
21:59 ltriant joined #mojo
22:16 dotan left #mojo
22:19 stephen joined #mojo
22:23 xantus_ sri: http://ccinsider.comedycentral.com/2010/07/20​/futurama-fanarama-futuramastar-wars-mashups/
22:23 garfield [ Futurama Fanarama: Futurama/Star Wars Mashups | Comedy Central Insider | Funny, TV and Comedy Blog ]
22:23 garfield http://xrl.us/bht3bd
22:24 sri X_x
22:44 GitHub77 joined #mojo
22:44 GitHub77 mojo: master Sebastian Riedel * 6aea4d3 (2 files in 2 dirs): rewrote application embedding part of the routing guide - http://bit.ly/cQi5nM
22:44 GitHub77 left #mojo
22:44 sri should be much more dwim now
22:46 sri you basically just throw anything at it and it will try to figure out what you meant :)
22:47 sekimura joined #mojo
22:48 sri whats also funny is that basically everything with a ->handler method can be an embedded application now
22:48 xantus_ nice
22:50 xantus_ like get('/baz')->detour( controller => 'Foo:Bar' );?
22:50 xantus_ package Foo::Bar; sub handler {}
22:56 sri almost, controller is still the lower case thingy ;)
22:56 xantus_ ah
22:56 xantus_ I see the commit
22:56 sri get('/baz')->detour(namespace => 'Foo:Bar' )
22:56 sri that should do it
22:56 xantus_ your detour section uses to() is that intended
22:56 xantus_ in the docs
22:56 sri typo, already fixed
22:57 xantus_ oh :)
22:57 sri or if you mean the guide, then it's intended
22:57 xantus_ Routes.pm
22:57 sri intended
22:57 xantus_ k
22:58 sri detour() is now really just about the partial match thing, otherwise it's equal to to()
23:01 GitHub112 joined #mojo
23:01 GitHub112 mojo: master Sebastian Riedel * a952425 (1 files in 1 dirs): pod cleanup - http://bit.ly/c7elrJ
23:01 GitHub112 left #mojo
23:03 sri i always liked the idea of having one mainstream framework and many smaller domain specific ones that could just be embedded :)
23:06 xantus_ yeah, thats really cool
23:07 xantus_ you could have a module that serves up debug info
23:09 xantus_ like say... a dns module
23:10 xantus_ with stats of resolved domains, etc
23:10 xantus_ as
23:11 GitHub79 joined #mojo
23:11 GitHub79 mojo: master Sebastian Riedel * b2b6936 (2 files in 2 dirs): fixed a small bug preventing basic embedded applications - http://bit.ly/cczo02
23:11 GitHub79 left #mojo
23:11 sri ok, now it's even tested
23:14 GitHub148 joined #mojo
23:14 GitHub148 mojo: master Sebastian Riedel * eb2eada (1 files in 1 dirs): as basic as an embedded application can be - http://bit.ly/bDPvFI
23:14 GitHub148 left #mojo
23:17 stephan48 sri: do you remeber my issue from some week ago?
23:17 stephan48 that my app is running but not getting any requests in?
23:18 sri stephan48: i don't even remember what i did yesterday ;p
23:18 stephan48 sri: damn drunk head
23:18 xantus_ well, my point is, even a non mojo module can provide some useful info if you just point a route at a module that supports it
23:19 stephan48 i found out that i have another app running of mojo on the same server which infact runs fine
23:19 stephan48 but another one doesnt run correctly
23:21 sri stephan48: so, basically what i told you :)
23:21 xantus_ sri: so how would I point /foo at say, Data::Dumper
23:21 stephan48 sri: system is broken? :)
23:21 xantus_ doesn't mojo prepend your app namespace
23:22 sri stephan48: no, another app running, thats what i suspected
23:22 stephan48 on same port?
23:22 sri xantus_: just use the namespace stash value
23:22 xantus_ oh! I see
23:23 sri hehe, yea, if Data::Dumper had a handler method it could do domething useful :)
23:23 xantus_ yep
23:24 xantus_ hm
23:27 stephan48 sri: if same port no theres no way that that can happen :)
23:27 GitHub17 joined #mojo
23:27 GitHub17 mojo: master Sebastian Riedel * c7bc6c1 (2 files in 2 dirs): show minimal embeddable application in guide - http://bit.ly/bsFoFm
23:27 GitHub17 left #mojo
23:27 sri stephan48: different ports?
23:28 stephan48 jop
23:28 stephan48 all tryed and checked before
23:28 stephan48 if nothing running
23:28 sri stephan48: it's the lock file
23:28 stephan48 lockfile?
23:28 sri it is shared just like the pid file by default
23:28 sri accept mutex lock
23:28 sri on github only the prefork daemon has it
23:29 stephan48 wouldnt no
23:29 stephan48 -wouldnt
23:30 stephan48 i also tried normal deamon
23:30 stephan48 and yes i use github ver
23:30 stephan48 oh damn now the normal deamon works
23:31 stephan48 so how to solve the issue with the prefork one=
23:32 GitHub43 joined #mojo
23:32 GitHub43 mojo: master Sebastian Riedel * 9bc6e0d (2 files in 2 dirs): pod cleanup - http://bit.ly/bR9Gks
23:32 GitHub43 left #mojo
23:32 sri there is no issue, just use a different lock file
23:32 stephan48 k
23:33 stephan48 it says "defaults to random temp file"
23:33 stephan48 so shouldnt be there no problem?
23:33 sri it's random but consistent
23:34 stephan48 random but consitent?
23:34 stephan48 consistent means stays same or?
23:34 sri the same on a server
23:34 stephan48 oh god :)
23:34 stephan48 that explains all :)
23:35 stephan48 like /tmp/mojolicious_like.lock?
23:36 stephan48 when i change it it works :)
23:36 stephan48 thanks sri
23:37 sri hmm, there is no real need for it to be consistent anymore
23:37 sri people using hot deployment are adviced to specify a lock file anyway
23:37 stephan48 :9
23:37 stephan48 :)*
23:38 stephan48 yea
23:38 stephan48 maybe a quick notice would be nice
23:38 stephan48 like: theres already a lockfile.. we are going to do this and that now
23:42 xantus_ sri: true, maybe include the pid by default?
23:50 GitHub48 joined #mojo
23:50 GitHub48 mojo: master Sebastian Riedel * 0aeb2be (2 files in 2 dirs): fixed Mojo::Server::Daemon::Prefork to use a random lock file by default - http://bit.ly/bY4c8n
23:50 GitHub48 left #mojo
23:50 sri :)
23:50 stephan48 thanks sri :)
23:53 stephen joined #mojo

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