Camelia, the Perl 6 bug

IRC log for #mojo, 2012-06-13

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

All times shown according to UTC.

Time Nick Message
01:00 laouji joined #mojo
01:09 scott joined #mojo
01:42 pointer joined #mojo
01:43 JerJer joined #mojo
01:45 ispy_ joined #mojo
01:45 JerJer1 joined #mojo
01:56 d4rkie joined #mojo
01:59 rem_lex| joined #mojo
03:50 ispy_ joined #mojo
03:55 mire joined #mojo
04:03 JerJer joined #mojo
04:18 ispy_ joined #mojo
04:30 ispy_ joined #mojo
04:36 ispy_ joined #mojo
04:38 sri \o\
04:39 sri /o/
04:44 omega doing morning yoga`?
04:59 ovnimancer joined #mojo
05:01 * sri nods
05:04 d4rkie joined #mojo
05:24 xaka joined #mojo
05:52 Foxcool joined #mojo
05:59 JerJer1 joined #mojo
06:01 russum joined #mojo
06:28 migo joined #mojo
06:39 fhelmber_ joined #mojo
06:41 mason joined #mojo
06:57 dominik joined #mojo
06:59 Leandr joined #mojo
07:09 Vandal joined #mojo
07:10 batman joined #mojo
07:11 DaTa joined #mojo
07:42 Leandr joined #mojo
07:46 mason hi all
07:46 mason does anyone know where an updated version of the 'Beer' app is for Mojolicious::Plugin::Toto ?
07:47 mason ie: a git repo for this example demo -> beer.dotcloud.com
07:48 mason the demo is referred to in the doc -> https://metacpan.org/module/BDUGGAN​/Mojolicious-Plugin-Toto-0.13/lib/M​ojolicious/Plugin/Toto.pm#OPTIONS
07:48 mason but the source doesn't seem to be available anywhere... :/
07:49 mason .. and the code snippet in the POD looks to be a little older/different than the working demo
07:50 mason i might just email Brian nicely, and ask him :)
07:59 pau4o joined #mojo
08:18 cosmincx joined #mojo
08:33 cosmincx joined #mojo
08:41 hugh joined #mojo
08:52 espent joined #mojo
08:54 lukep joined #mojo
09:14 ladnaV joined #mojo
09:46 mike_ joined #mojo
09:52 sri hmm, yapc streaming site wants me to install silverlight :o
09:52 random joined #mojo
09:55 random left #mojo
09:56 Leandr joined #mojo
10:02 mason can anyone recommend a simple CRUD example for mojo/mojo-lite?
10:05 mason Mojolicious::plugin::Toto looks perfect, but ...i'm struggling to find a decent working example for it
10:05 mason anyone got any tips?
10:09 ZadYree joined #mojo
10:41 noganex joined #mojo
10:41 random joined #mojo
10:50 mason c'mon guys, any suggestions for an example of a mojo CRUD app?
10:55 mason ive been looking all over the web for the last few hours - and i cant find a single example :/
10:56 random joined #mojo
10:58 mason ps: i'm not trolling here... its a genuine question :)
11:04 mason a search on the mojo google-groups list is a dead-end...
11:04 mason http://groups.google.com/gro​up/mojolicious/search?q=crud
11:07 sri it's yapc and wwdc, nobody is here :p
11:09 mason meh, just my luck...
11:20 AmeliePoulain joined #mojo
11:46 ZadYree Hello && all Hail to the Hypno Toad!
11:57 lukep joined #mojo
11:57 andrefs joined #mojo
12:40 ZadYree quick question: I'm using Mojo::Asset::File for a download system based on a temporary file, but I don't know how to have it removed right after it's been downloaded by the client. Any clue?
12:47 gryphon joined #mojo
12:55 brambles joined #mojo
13:09 Psyche^ joined #mojo
13:15 pointer joined #mojo
13:24 marcus CRUDZ
13:26 cosmincx joined #mojo
13:27 andrefs joined #mojo
13:39 mire joined #mojo
13:46 nic ZadYree: Does it need to be immediate?  You can't just set a timer (eg 20 mins) from the point of request?
13:47 ZadYree hum as it may change depending on the file size, I prefer no to. Plus, I don't want the server's harddisk to be full after someone make a download script.
13:50 tempire mason: are you just looking for any example app?
13:51 mason heya tempire no - something quite specific, a CRUD example
13:52 sri ZadYree: http://mojolicio.us/perldo​c/Mojo/Asset/File#cleanup
13:52 tempire I don't know of any public repos that have just that, and all four.
13:53 ZadYree wow great sri thanks
13:53 mason the closest thing ive found so far is 'fastnotes'... -> https://github.com/koorchik/FastNotes-Proto
13:53 sri stupid yaps streams do require silverlight :(
13:53 tempire yep.
13:53 tempire hilarious.
13:53 sri *yapc
13:53 tempire understandable, though, since it's provided by the university
13:54 sri the announcement said flash and quicktime too
13:55 tempire mason: I have a complete example app up, but it's only R
13:55 tempire no CUD
13:55 tempire so I guess it's statistically relevant, but not for cows
13:56 tempire bu-dum-psh!
13:56 AmeliePoulain joined #mojo
13:56 sri :)
13:56 tempire streaming is pretty good, though
13:56 tempire but that's probably 'cause I'm on the university network
13:57 sri no way i'm installing silverlight
13:57 mason the 'mojowka' wiki example looked promising, but i got an error on startup :/
13:57 mason $ ./mojowka daemon
13:57 mason Can't locate object method "root" via package "Mojolicious::Static" at ./mojowka line 54.
13:57 sri doesn't een have an uninstaller
13:58 mason any obv. idea on that error? (i'm a mojo n00b, sorry)
13:58 sri old mojolicious
13:58 sri (it requires)
13:58 tempire mason: it's not full crud, but http://git.io/mojoexample is available
13:59 sri root has been deprecated half a year ago and is gone now
14:00 sri that's the problem with example apps, they get written once and then abandoned
14:01 mason ok, i guessed that was the problem - thanks for the reply
14:02 sri we need volunteers to go through the example apps and file bug reports
14:03 tempire I volunteer to go through my own example
14:03 tempire done!
14:03 sri tempire++
14:03 sri whole wiki needs a cleanup
14:04 tempire oh
14:04 tempire I should mention that during my talk
14:04 sri !
14:05 sri list of presentations is also a joke, when i search on slideshare i get 67 results
14:05 sri perhaps that list should be removed now
14:09 sri we need someone who's not afraid of deleting pages
14:11 mason ah, and 'quelology' looked kinda CRUD-ish... -> https://github.com/moritz/quelology
14:12 Akron joined #mojo
14:12 mason i got quelology  up and running ok - but couldnt work out how to add any content to it ?!
14:14 mason ah, ok... there's a step to load some test records into quelology, that i missed...
14:16 DaTa cd
14:18 daxim joined #mojo
14:18 sri rm
14:20 * sri wants purl back :,(
14:28 * marcus gives sublime text 2 and vintage /vintageex a try
14:31 mason meh, quelology is read-only,  no CUD either
14:43 * nic is enjoying the pleasures of sublime text 2
14:43 sri marcus: didn't you hate search in project?
14:44 mire joined #mojo
14:48 marcus sri: TM2's is better, but I'm attracted to vi/ex + and split screen
14:51 inokenty joined #mojo
14:52 marcus and there are so many lovely extensions :)
14:55 mason nice!, Brain just posted his Mojolicious-Plugin-Toto  beer.app on github -> https://github.com/bduggan/beer
14:55 mason oops  s/brain/brian/ :p
14:57 mason i'm feeling pretty stoked about that!
15:05 sri marcus: it doesn't look native :(
15:05 marcus sri: sublime text doesn't?
15:05 sri ye
15:05 marcus sri: more so than vim tho
15:06 marcus not so happy with the tabs..
15:06 sri i love the look of chocolat... too bad it will never be any good
15:07 sri if only tm2 looked like chocolat...
15:07 marcus I've started to understand why it took so long for TM2
15:07 marcus alpha I mean. development seems to move as snail speed.
15:08 sri ye
15:09 * sri is still using a hacked up TM1
15:11 marcus editors are hard :-/
15:12 noganex joined #mojo
15:13 Leandr joined #mojo
15:15 tempire shopping!
15:27 marcus for editors!
15:28 marcus wait..
15:32 sri :-\
15:36 mason okay, i'm off - thanks for the advice tempire,sri
15:36 mason left #mojo
15:45 kthakore hey
15:45 pau4o left #mojo
15:52 dhoss joined #mojo
15:52 dhoss hey guys, i'm trying to write a teeny Mojolicious::Lite app and I want to use a template but not have it embedded in my app. how do I go about this?
15:53 dhoss http://paste.scsys.co.uk/200769 is what ih ave, and i have a template in the same directory called contact.html.ep
16:19 asarch joined #mojo
16:22 mire joined #mojo
16:32 nic dhoss: Are you saying you want to store your templates in a non-standard location (ie not '../templates') and you're asking how to add that location to the '->templates' path?
16:35 dhoss nic: oh i didn't see that they had to be stored in templates
16:36 tempire kthakore just gave a talk about his medical business.  pimped some mojolicious
16:36 sri kthakore++
16:39 * dhoss is digging what he's seen of mojolicious so far
16:39 dhoss kthakore: hire me
16:39 dhoss so is all static stuff relative to the template directory then? or?
16:39 tempire static is served from public/
16:39 dhoss aha
16:40 tempire is nginx pronounded engine-x ?
16:40 tempire I've been saying n-jinx forever
16:41 dhoss that's how i pronounce it
16:41 gryphon It's officially engine-x, but I heart it n-jinx first, and like cement my brain can't be changed without breaking.
16:41 gryphon s/heart/heard/
16:49 dhoss is there a way to turn off template caching for development?
16:50 tempire dhoss: use morbo, the dev server
16:50 dhoss tempire: oh duh
16:50 phillipadsmith joined #mojo
16:51 tempire the mojocasts will shoot you through some of the basics in a jiffy
16:51 * tempire jiffs
16:55 dhoss pff assuming and complaining is way cooler
16:58 * tempire freezes dhoss
17:04 andrefs joined #mojo
17:18 dhoss if i wanted to do something like $self->stash( success => 1 ) in a post request, how would i check for success in my template after a post request using the same template?
17:18 dhoss i tried <% if ( $success ) { %> ... <% } %> but it's telling me $success is undefined
17:21 JerJer joined #mojo
17:21 inokenty <% if (stash('success')) { %> ... <% } %>
17:22 JerJer i have my own module that does use Mojo::Base 'Mojo::EventEmitter';     Is i possible to use one callback for several events?
17:23 JerJer my app has quite a few events, all using the same $event hashref structure… all would contain $event->{'Event'}  as the event name
17:23 dhoss oh
17:23 dhoss cool
17:25 tempire lulz.  yapc streaming link now says "rm 325 Wednesday, 13 June 2012 PM Room 325"
17:47 tempire Equipment is all set up.  Prepped for tomorrow.
18:03 marcus Tempire: for great success.
18:03 marcus Remember to tell people to come here :)
18:07 rwstauner joined #mojo
18:13 d4rkie joined #mojo
18:21 batman joined #mojo
18:33 kthakore dhoss: come to job fair we can talk!!
18:34 kthakore tempire: thanks for watching talk!
18:37 tempire :)
18:37 tempire marcus: to nordaaker?
18:43 Mikey joined #mojo
18:49 tempire oooh, you mean IRC
18:49 tempire for sherbs
18:53 Foxcool joined #mojo
18:57 dhoss kthakore: i would if i was there :-(
18:57 kthakore dhoss: oh I will be putting job postings on http://aimed.cc
18:57 kthakore in a bit
18:57 kthakore which means tonight
18:57 kthakore considering I don't get hammered
18:58 dhoss kthakore: hot damn!
19:42 tempire intro to dancer talk plugged mojo::useragent for an lwp replacement :)
19:44 batman joined #mojo
19:44 dominik joined #mojo
20:02 angelixd_ joined #mojo
20:02 tl joined #mojo
20:04 kthakore_ joined #mojo
20:04 _[R] joined #mojo
20:05 migo_ joined #mojo
20:05 Mikey_ joined #mojo
20:05 brambles_ joined #mojo
20:07 JerJer joined #mojo
20:08 Gedge_ joined #mojo
20:08 kenjiskywalker_ joined #mojo
20:08 burk_ joined #mojo
20:09 phips_ joined #mojo
20:18 bzero_ joined #mojo
20:19 marty joined #mojo
20:32 rafl joined #mojo
20:34 gryphon joined #mojo
20:36 jwang joined #mojo
20:53 batman hi
20:53 kthakore_ hi
20:53 batman i'm trying to give Reactor->watcher an IO::Tty object, but it seems like it's calling my "read" callback all the time
20:54 batman any idea if this is because of EV or the IO::Tty object?
20:57 batman no... same with ::Poll
20:57 vervain joined #mojo
20:59 batman it looks like it's because it's writable all the time
21:01 batman but it's a bit strange, since i'm doing $self->reactor->watch($stdout_read, 1, 0)->io(...)
21:04 batman oh. the io() callback does watch($fh, 1, 1)...
21:06 batman better calling the methods in the right order :)
21:09 marty joined #mojo
21:12 gryphon joined #mojo
21:13 marty joined #mojo
21:16 batman s/callback/method/
21:21 perlite_ joined #mojo
21:29 Akron joined #mojo
21:33 Akron tempire: Good luck and lots of rainbows for your talk!
21:41 * tempire beams
21:46 lukep joined #mojo
21:54 andrefs joined #mojo
22:40 JerJer joined #mojo
23:17 ispy_ joined #mojo
23:33 Gryphon joined #mojo

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