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

IRC log for #mojo, 2014-10-10

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

All times shown according to UTC.

Time Nick Message
00:12 fhelmber_ joined #mojo
00:32 Ptolemarch joined #mojo
00:36 bpmedley joined #mojo
00:40 meshl joined #mojo
00:46 d4rkie_ joined #mojo
00:49 davido_ joined #mojo
00:50 human39 joined #mojo
01:19 davido_ joined #mojo
01:27 Ptolemarch joined #mojo
01:30 klapperl_ joined #mojo
01:30 sri :D
01:34 D4RK-PH0ENiX joined #mojo
02:05 laouji joined #mojo
02:08 * sri wonders if this would be better than the current Mojo::Pg example app https://gist.github.com/anonymous/a26f6d298a827ee7e64f
02:32 sri anyway, basic support is not in the repo https://github.com/kraih/mojo-pg/commit/bbb90e1576f7e97600958a6cf66626ac7d766521
02:32 sri s/not/now/
02:32 sri ;p
02:32 sri super minimalistic
02:34 sri batman: looks like i was wrong, it only took one day ;p
02:35 sri still a few rough edges, but i think it's fun enough, with the DATA section stuff and all
02:53 noganex_ joined #mojo
02:53 sri i wasn't sure about it before, but it fits in really well
02:54 sri some funny problems i stumbled over... like concurrent tests messing with each others migrations... ended up with a shared mojo_migrations table for versions, and test specific names for each set of migrations
02:56 Eke- joined #mojo
03:01 jberger sri++
03:01 jberger sri you move too fast! I was still learning about redis
03:02 jberger now I'm gonna end up back in sql land too
03:02 sri hehe, i have the feeling i'm way too slow... since i'm building this for myself :)
03:03 * jberger had to learn all the things
03:03 meredith i'd call that fast, and i like how simple it is
03:03 * jberger sets marcus on fire (not sure why exactly)
03:10 sri postgresql makes it really simple
03:11 sri i just stitch together some ddl sql and run it in a transaction
03:14 * sri roasts some marshmallows over marcus
03:18 * jberger brings smore makings
03:21 woz joined #mojo
03:29 basic6 joined #mojo
03:33 Ptolemarch joined #mojo
03:36 doublelel joined #mojo
03:48 preaction joined #mojo
03:50 KCL_ joined #mojo
03:52 doublelel joined #mojo
04:03 woz joined #mojo
04:09 doublelel joined #mojo
04:12 fhelmber_ joined #mojo
04:27 Ptolemarch joined #mojo
04:47 laouji joined #mojo
04:49 laouji joined #mojo
04:54 jamesaxl joined #mojo
05:03 woz joined #mojo
05:57 Eke- joined #mojo
06:04 woz joined #mojo
06:19 laouji joined #mojo
06:25 laouji joined #mojo
06:26 ver joined #mojo
06:33 Ptolemarch joined #mojo
06:35 cpan_mojo Mojolicious-Plugin-Images 0.006 by Alex - http://metacpan.org/release/ALEXBYK/Mojolicious-Plugin-Images-0.006
06:35 Vandal joined #mojo
06:42 dod joined #mojo
06:53 dp_ joined #mojo
06:56 tempire Well.
06:56 * tempire is reading the postgres manual
06:56 tempire This is awesome.
06:57 tempire oooh, tablify
07:05 woz joined #mojo
07:27 Ptolemarch joined #mojo
07:28 dod joined #mojo
07:29 dod joined #mojo
07:31 dod joined #mojo
07:40 trone joined #mojo
07:41 vytas joined #mojo
07:42 odc this Images plugin looks pretty nice
07:44 odc >requires perl 5.20
07:44 odc idiot!
07:47 cpan_mojo Mojolicious-Plugin-Bootstrap3 3.2005 by Jan Henning Thorsen - http://metacpan.org/release/JHTHORSEN/Mojolicious-Plugin-Bootstrap3-3.2005
07:50 basiliscos joined #mojo
07:52 rawler joined #mojo
08:00 preaction joined #mojo
08:00 batman sri: cool :)
08:02 tempire odc: Time to upgrade!
08:03 woz joined #mojo
08:03 cpan_mojo Mojolicious-Plugin-FontAwesome4 4.2003 by Jan Henning Thorsen - http://metacpan.org/release/JHTHORSEN/Mojolicious-Plugin-FontAwesome4-4.2003
08:03 odc it was so simple to just use the debian's perl ;_;
08:05 tempire odc: System perl is the devil.
08:06 tempire Adapt!
08:06 tempire data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxISEhQUERIUFBUVFRQUFBUWFRQQFBQUFBQWFhQRFBQYHCggGBolHBQUITEhJSkrLi4uFx8zODMsNygtLisBCgoKDg0OFxAQFywcHBwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwrLCwsLDcsLCw3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sPaFQyYFw6ldT8ObRSuNWBVEX6K
08:06 Adurah_ That's quite a few bytes.
08:06 tempire qWE+qrsVKQCLq+Uo9zWgtA3PJ90PFTanEdv+hV0uats6dz+R6rfgkRy3Sx1ACyVT4vFl5pnHUokTHy7u49AjGEN457V0e2BSKDSLPKhM8lFkBQTGUegA5RjO6nK2kOIboOGZt1FuHPNIjgeiHJi3DZTTiWukF0iGZiUSCFzuEB0ESOhNRF1JTiKXxHKNElcZIG7lHoksTidDL61Q8VWYLAAgl4vVyiwNMrtR4HATo2U68iJNw8kJtn1N7P7pqHNGn7rb48eqbhcoT4Vj+Wjx4S1Z6ESZO08OHqEPFSMA3c0bV9wv23S78oZ0JHoVpmUsHO/sld09uZz2OJ9iP5kj+S80xgroG8nxKp4GjUAR3EeS9IjwjAKDQudzf4fcDcYLhzsN1hnx2KmS/zT4Zf+7mSQyF7A4F7SBqbtQ+ofcLPXi1W4SPRFtzStPgn4p0sOF
08:06 tempire lHJFX1A/D4pf4iwf7PM5jTbTTm/9XbgLnvbbr3HOvhLnfUOez8k9hcpYedvK1uJw6o7MwYNh+qiif6mzJmA/d7Jr90N23KWixfWx7q0w+NYQo7XqE8LCWuoXXebC7DLm6MNN2uI9KVThqOwHXlWmNkDY9A5PsO9NeM0ocJBqf5pPE4Rgke6gbcfA96tCdP0cAi+89otKYrD9i7eDi625uTKW6AD9tknJImNJHKRkW2mbTnoTpVjkN6m4jYUr7UoZENwW4m7paM2TY5SkjUd0J6IDmJGiAmosYW8ITG2l32ClsOljlRxwkouU5E29th39g6ldOtJRdMGjcqnfI6Z+96enelJ8SZJS0H6R1vnvVnE5raALf8A6Ci3aVhA2m0gE7osczT1HqEIjdaz0B4iiPchQhFLUktBym0KcUV9E3FAAgwoYCVDMZWxsLiardNyT
08:06 Adurah_ I'd /flushq or something.
08:06 tempire gLi/jfGHRXaaHfvupyskE9jT5dE6NmIElPkGot2AaT2dUq7GF4+t31NAG/4gOKK5/K4NbTUjQW/hJN+ITQlI2dR/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qBQ9Qe/ZDkdtsotAH3EnzpAYSolY7uWkyRUgoOKwOTMVrkZr0sCiByqVNg5lTmX4/QK71WWtakbLTqI87vY8JfMMQHixs4cH9Fz+pTDyqlGjX7T1AcD2gWCnsFm5bs7jvBB91UNmcDd10pEfiT1QHWska8WDYUi0LmcFjy07bd3
08:06 tempire RdEyTUASCO4qthx+FY7VI5vLGE+lcKufISd+e1WOJeWbNPb78g9qRka2/puu9Y7a4hUpALYYstI22lTUAVIOvj0QVSJWNbfHqt6PM9g/VSe7t9Oim1ILlFqm91qGpNUbIWBatbKA2sUQVJMhGFHa5AapA0lSGK1JETx17ljHqRJ6EgeKRIPFUEN76UpHdnKCQiG1akFJgUrVBAFbLyp6QhvajsJNKkhxlTVJraitFy0XIAnzu3/ACFpz+xCJUdSez0YjnLSCADRvcWPMdU9hM0eXkyO5uzwO4Uqq1q0tno3izt7pMrFig42tOWliDjbQiixsDyP9C2sQdQJ7ForFiSECVFbWJxcYtLaxMMUmrFiCqYU9K2sUpEAUZSsWJwg1ixYmGLa2sTNiwLFiAi7lY4rFiCQtYVixCmiorFiZxgUlixIV//Z
08:06 tempire crap.
08:06 Adurah_ Use a URL shortener next time. ;)
08:07 * tempire blames marcus
08:08 batman WHERE IS THE BAN TEMPIRE BUTTON IN CONVOS?!?????!
08:08 batman ;)
08:08 tempire I tried to kick myself for that.
08:08 tempire But I lost ops somewhere along the line.
08:08 Adurah_ Does /flushq or similar work on your client?
08:09 marcus tempire: I blame me too
08:09 marcus nice picture tho
08:09 tempire was kicked by batman: tempire
08:09 batman \o/
08:11 tempire joined #mojo
08:11 batman tempire <3
08:12 dod joined #mojo
08:13 fhelmber_ joined #mojo
08:16 aleksey joined #mojo
08:22 Ptolemarch joined #mojo
08:26 dabudabu I think the kick command would have been sent to the server after you were done pasting anyway
08:34 basiliscos joined #mojo
08:40 cpan_mojo Mojolicious-Plugin-XRD 0.09 by Nils Diewald - http://metacpan.org/release/AKRON/Mojolicious-Plugin-XRD-0.09
09:16 Ptolemarch joined #mojo
09:39 doublelel joined #mojo
09:43 arthas joined #mojo
09:43 arthas joined #mojo
09:49 basiliscos joined #mojo
09:52 basiliscos joined #mojo
10:09 basiliscos joined #mojo
10:15 basiliscos joined #mojo
10:18 basiliscos joined #mojo
10:20 basiliscos joined #mojo
10:54 sujithm_ joined #mojo
11:15 basiliscos joined #mojo
11:22 Ptolemarch joined #mojo
11:47 bpmedley_ joined #mojo
11:58 GillesM joined #mojo
12:02 neilhwatson joined #mojo
12:13 jberger I am tempire of #mojo, resistance if futile
12:13 jberger shit
12:13 fhelmber_ joined #mojo
12:14 jberger resistance IS futile
12:16 Ptolemarch joined #mojo
12:18 bc547 jberger: resistance is voltage divided by current :-)
12:21 d4rkie joined #mojo
12:27 marcus purl: what is resistance?
12:27 purl resistance is futile
12:44 D4RK-PH0ENiX joined #mojo
12:48 ignacio_ joined #mojo
12:52 tbushell joined #mojo
12:59 Kripton joined #mojo
13:00 alanminter oh those Amazon people are so damn asynchronous... just sent me a header "nnCoection: close"
13:00 basiliscos joined #mojo
13:05 nicomen lol
13:11 hernan release migrations plzkthx
13:11 hernan >)
13:18 arthas joined #mojo
13:50 arthas joined #mojo
13:57 good_news_everyon joined #mojo
13:57 good_news_everyon [mojo] kraih pushed 2 new commits to master: http://git.io/2Q8lHg
13:57 good_news_everyon mojo/master 580022f Sebastian Riedel: fixed bug in Mojolicious::Routes::Route where formats could be rendered twice for embedded applications
13:57 good_news_everyon mojo/master 5cc50d7 Sebastian Riedel: fixed inflate command to ignore files without extensions
13:57 good_news_everyon left #mojo
14:00 Ptolemarch joined #mojo
14:10 good_news_everyon joined #mojo
14:10 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/41A1dQ
14:10 good_news_everyon mojo/master 48c53b7 Sebastian Riedel: no need for a separate method
14:10 good_news_everyon left #mojo
14:10 tbushell joined #mojo
14:19 sri OMG... TIL about locking clauses in postgresql http://www.postgresql.org/docs/9.4/static/sql-select.html#SQL-FOR-UPDATE-SHARE
14:19 sri that will make queues super trivial
14:20 doublelel joined #mojo
14:24 nicomen is tehre some way to do "real" form submissions with mojo, or do I need to get mechanizer out of the closet for such things?
14:25 nicomen (by real I mean automatically fetch the values belonging to a form)
14:26 sri all we have is http://mojolicio.us/perldoc/Mojo/DOM#val
14:27 nicomen hmm
14:30 sh4 joined #mojo
14:33 disputin joined #mojo
14:36 irq joined #mojo
14:40 preaction joined #mojo
14:56 tianon it's pretty easy to gather them with Mojo::DOM
14:56 tianon just have to ->find the form, then ->find the element types you're interested in
15:06 sri too bad we couldn't make it work for forms
15:09 preaction joined #mojo
15:11 Jonneh joined #mojo
15:21 nicomen hehe, yes, making a submit_form_ok now
15:21 nicomen but I think it might be useful for others
15:23 nicomen but I'm wondering a bit how to override action, method, and headers in a way that is consistent with other mojo::ua/test::mojo methods
15:38 nicomen Something like this: https://gist.github.com/nicomen/dccb9c4843b649b91c0d
15:40 * sri wonders which method name is better for migrations from the DATA section of the current class... ->from_class or ->from_data
15:41 odc ->from_DATA
15:41 sri eww
15:41 odc heh
15:41 odc but it's clearer
15:41 nicomen from__DATA__ ?
15:41 odc lol
15:42 sri "but it's clearer"
15:42 genio ->from_data_and_by_data_we_actually_mean_DATA_and_we_hope_that_is_clear()
15:43 nicomen ->from_data_section then ;)
15:43 odc oh nice
15:43 nicomen ->from_literal_data
15:44 nicomen https://www.google.no/search?q=perl+literal+data
15:45 odc meh
15:46 nicomen however there aren't other ways to inline data like that, so since it belongs to a package AFAIK. You could argue in favour of ->from_package to
15:49 sri the readme example now uses migrations, think that gives the impression that you have to use migrations? https://github.com/kraih/mojo-pg
15:52 genio I'd maybe split it up into two examples for clarity.  I understand that it's not necessary to use migrations, but I don't know what sense others might get from it
15:53 nicomen but I like that you inrtoduce something really useful very early
15:55 nicomen I think just changing the comment above the migrate call should be enough. Maybe "Synchronize database schema during startup using optional built-in migrations"
15:56 nicomen ...built-in migrations from inlined data section :-P
15:56 nicomen (since my first thought would be how I can maintain the migrations in a separate file)
15:57 nicomen I would appreciate if the comment answers "do I _have_ to use migrations? and do they _have_ to be inline?"
15:58 nicomen next question amongst my collegues would be... yeah but where's the dbh to use it with DBIx::Class ;-D
16:00 sri the fact that showing migrations in the example makes you ask so many questions is kind of an argument against showing them
16:00 hernan ill use migrations on my blogero cms
16:00 hernan \o/
16:01 sri it's all highly experimental still, especially migrations
16:01 sri i'm not even sure yet if they will stay in Mojo::Pg
16:02 nicomen I really like that they are there
16:04 aleksey joined #mojo
16:14 fhelmber_ joined #mojo
16:43 * tempire is converting his most recent app to postgres and Mojo::Pg
16:44 tempire Is SQL::Abstract still the thing?
16:44 mst there's also SQL::Composer which doesn't look bad
16:45 tempire Better dep list, for sure
16:46 tempire Oh, ::abstract is only Moo
16:46 tempire not so bad
16:46 mst I was just about to give you a really confused look :P
16:49 hernan not sure its best practice to create a base mojo app. And create another one which extends the first
16:53 Ptolemarch joined #mojo
16:53 dp_ joined #mojo
17:07 Dandre joined #mojo
17:25 nicomen hernan: ?
17:33 Akron joined #mojo
17:34 hernan nicomen: i created a cms, it has admin section with login and a pg connection. just like a normal app. and uses files from /templates/_blogero/ and /public/_blogero
17:34 jamesaxl joined #mojo
17:34 hernan then i created a couple sites that extend the Blogero::CMS
17:35 hernan so the user can build his controllers etc, like a normal mojo app
17:35 hernan package My::App; extends 'Blogero'; ...
17:36 hernan then user can add more controllers and etc.. in the end everything is extending mojolicious::controller
17:38 Akron sri: The first step of the migrations is something like the initial schema, right? So for ease of consumption I would probably make the first step description optional and so you could show how to create a schema in the data section without migration possibilities in the example. Although @@ migrations may then be confusing ... but I guess you need the versioning?
17:39 thowe joined #mojo
17:39 Akron I would probably like @@ schema with an intial schema and following migrations better than @@ migrations ... dunno.
17:39 sri Akron: more complexity to make it simpler? Oo
17:40 sri anyway, i have different problems to worry about... i want to use locking to make concurrent migrations a non-issue
17:40 Akron No - less complexity: no migrations in the example at all, but showing a schema in the data section (sorry - that's what I meant with "inline" rather than from a file).
17:41 Akron Concurrent migrations ... okay, I'm out. ;)
17:54 sri i think i have a version that works :)
17:54 berov joined #mojo
17:59 berov Any advise when a test like content_is in my application fails to avoid "Rendering inline template"? Is it possible for example easily to use some exception.html.ep only when tests are running?
18:01 hernan berov: some ENV var ?
18:01 berov looked at them - a LOT :) like HARNESS_*
18:02 berov ets
18:02 hernan dont solve?
18:02 berov s/s/c/
18:02 berov no idea where to do the check
18:03 berov will look
18:04 hernan you dont know how to use them?:
18:05 berov may be exception.test.html.ep
18:05 sri fun stuff... https://github.com/kraih/mojo-pg/commit/6712f00fdbfdc17a84736860227e89db3aae8717
18:06 sri this stuff is quite hard to test
18:08 hernan i need more hours in my day
18:08 hernan 24 is just not enough
18:08 hernan to test all this fun stuff
18:08 hernan =)
18:09 berov hernan: I understand you!
18:10 sri and i finally found a flaw in postgresql!
18:10 sri lack of upsert
18:10 berov MERGE?
18:10 purl somebody said MERGE was the default in'it
18:10 tempire no replace into ?
18:12 berov BTW the following trick with exception.html.ep should work : Make your exception.html.ep and in it check the environment,mode, whatever and include the exception.$WHATEVER.html.ep
18:14 mst sri: that's largely because there's several different semantics that can be useful
18:15 mst and so far as I'm aware, nobody's really thrashed out exactly what's required, and then tried to produce a patch
18:15 hernan berov: specially because i dont work with perl at $work.. so i must keep up on my free time.. or else ill be behind guys that use perl 8hrs a day at $work =)
18:17 hernan but some opportunity will come >)
18:17 berov I started forgetting programming at work although I am supposed to be Perl developer :D
18:18 berov anyway
18:18 hernan in the end its a dead end
18:18 woz joined #mojo
18:19 berov yep...
18:20 neilhwatson joined #mojo
18:22 irq joined #mojo
18:49 dod joined #mojo
18:50 woz joined #mojo
19:17 sri the concurrent migration problem happens for example when you run tests with HARNESS_OPTIONS=j9
19:18 sri two tests load your app, which migrates to the latest version on startup, with bad timing you have two migrations running at the same time
19:19 sri so i just lock the migrations table, and one wins, the other just waits and will notice that there's no work to do
19:19 sri and using ->migrate on startup becomes a no-brainer
19:29 mst sri: you're using postgresql. you can put the migrations in transactions and do a SELECT FOR UPDATE on the migration table at the start, surely
19:48 cpan_mojo Mojolicious-Plugin-XRD 0.10 by Nils Diewald - http://metacpan.org/release/AKRON/Mojolicious-Plugin-XRD-0.10
19:53 tbushell joined #mojo
20:01 sri mst: don't see how that would be more elegant
20:01 sri exclusive table lock seems very clean here
20:02 mst sri: because you should be doing the migration in a transaction anyway
20:02 mst I don't honestly care how you do the lock once you're inside the transaction though
20:02 sri umm, i never did it without a transaction
20:02 mst ok
20:02 sri what's your point?
20:03 mst at that point I'd've reached for SELECT ... FOR UPDATE just because that's the usual way to lock a piece of data I'm going to change at the end
20:03 mst but I guess for a single row table doing it mysql-style is fine too
20:06 sri it's not even a single row table, there can be multiple named migrations, and i like not having them run concurrently, makes parallel tests more predictable
20:08 mst aha, that was the part I was missing
20:08 * mst blames head cold, ignore me
20:11 chansen The point of using SELECT FOR UPDATE is concurrency control, and to guarantee isolation
20:15 fhelmber_ joined #mojo
20:18 * sri puts on a hazmat suit
20:21 chansen sri: I should probably order one also, who knows when Ebolavirus hits us?
20:27 mst I live in a university town
20:28 mst it's already fucking plague season
20:39 xevz joined #mojo
20:39 chansen hehe
20:52 disputin joined #mojo
20:55 mudler https://www.youtube.com/watch?v=-oB6DN5dYWo
20:56 mudler lol
20:56 disputin joined #mojo
20:57 cpan_mojo Ado 0.67 by Krasimir Berov - http://metacpan.org/release/BEROV/Ado-0.67 (depends on Mojolicious::Plugin::SemanticUI)
21:01 disputin joined #mojo
21:04 bjoernfan joined #mojo
21:07 denis_boyun joined #mojo
21:11 good_news_everyon joined #mojo
21:11 good_news_everyon [mojo] kraih tagged v5.49 at 8aa4055: http://git.io/J93a7Q
21:11 good_news_everyon left #mojo
21:12 cpan_mojo Mojolicious 5.49 by Sebastian Riedel - http://metacpan.org/release/SRI/Mojolicious-5.49
21:12 good_news_everyon joined #mojo
21:12 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/IMMaqQ
21:12 good_news_everyon mojo/master 812ed77 Sebastian Riedel: bump version
21:12 good_news_everyon left #mojo
21:16 cpan_mojo Mojolicious-Plugin-HostMeta 0.14 by Nils Diewald - http://metacpan.org/release/AKRON/Mojolicious-Plugin-HostMeta-0.14
21:26 jzawodn_ wow, I just spent far too long drying to deciper how an example in the docs works :-(
21:27 jzawodn_ now trying to figure out how to clearly point out what is obvious in retrospect
22:14 Ptolemarch joined #mojo
22:38 jnbek booyah!!
22:45 cpan_mojo Mojo-Pg 0.04 by Sebastian Riedel - http://metacpan.org/release/SRI/Mojo-Pg-0.04
22:50 sri allright, i think Mojo::Pg is mostly feature complete now
22:50 sri focus now is to make it all rock solid
22:55 jnbek sri: nice work
22:56 firnsy sri++
22:56 * firnsy <3 rocks
22:58 sri \o/
23:01 Eke- joined #mojo
23:02 D4RK-PH0ENiX joined #mojo
23:02 D4RK-PH0ENiX joined #mojo
23:03 berov and next is Mojo::mysql ;)
23:04 D4RK-PH0ENiX joined #mojo
23:08 D4RK-PH0ENiX joined #mojo
23:11 D4RK-PH0ENiX joined #mojo
23:30 bpmedley joined #mojo
23:46 bpmedley_ joined #mojo

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