Camelia, the Perl 6 bug

IRC log for #mojo, 2013-08-21

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

All times shown according to UTC.

Time Nick Message
00:06 dqw joined #mojo
00:12 dsteinbrunner joined #mojo
00:18 shmuel joined #mojo
01:06 basic6 joined #mojo
01:44 asarch joined #mojo
01:57 Meiermann joined #mojo
02:00 d4rkie joined #mojo
02:06 dvinciguerra joined #mojo
02:23 jast joined #mojo
03:23 preflex_ joined #mojo
04:30 punter joined #mojo
04:32 Meiermann joined #mojo
04:59 dotandimet joined #mojo
05:00 StinkfooT joined #mojo
05:06 dqw joined #mojo
05:19 yakudza joined #mojo
05:22 dotandimet1 joined #mojo
05:52 d4rkie joined #mojo
05:59 marcus sri: summer is over :-/
05:59 marcus Winter is coming!
06:02 Britzel joined #mojo
06:14 Meiermann joined #mojo
06:19 denisboyun joined #mojo
06:39 dpetrov_ joined #mojo
07:10 perkar joined #mojo
07:13 perkar hey everyone, I've been trying to figure out what the best practice would be for a multi-user mojolicious app for each user to have a "global" view of certain data, for instance, other logged in users, locking for editing certain entities via forms, etc... should the global state be kept outside of the mojo app (in a database?) or can it be done within the mojo itself?
07:14 perkar i'm using hypnotoad via apache reverse proxy for the production environment, if it makes any difference
07:20 arthas joined #mojo
07:29 marcus perkar: You should do it in a backend storage.
07:31 mire joined #mojo
07:32 perkar marcus: thanks, am i correct in assuming that sharing data between sessions is impossible (or much harder and requires an IPC mechanism outside of mojo) when running hypnotoad, but not necessarily so with morbo or Mojolicious::Lite ?
07:32 marcus perkar: that sentence doesn't make sense. hypnotoad can run both Mojolicious and ::Lite apps
07:33 perkar marcus: yes, but the difference (I supposed) was that the processes under hypnotoad become forks?
07:33 marcus perkar: storing state in memory in the web app is not a good design regardless.
07:33 marcus but more possible with a single-threaded server yes.
07:34 perkar perkar: right, just curious :-)
07:34 perkar er... marcus*
07:34 perkar back to the DB schemas then
07:34 perkar thanks for the help
07:40 fhelmber_ joined #mojo
07:41 fhelmbe__ joined #mojo
07:48 rem_lex|pivo joined #mojo
07:51 bpmedley perkar: What DB are you using?
07:57 perkar bpmedley: MySQL through DBIC
07:58 bpmedley perkar: All you need is a table with a username string and a "state" string, right?
07:59 perkar bpmedley: yes, i think so
08:14 Vandal joined #mojo
08:21 fhelmber_ joined #mojo
08:21 fhelmber_ joined #mojo
08:22 basiliscos joined #mojo
08:42 maxhq joined #mojo
08:46 basiliscos joined #mojo
08:55 alnewkirk joined #mojo
08:59 tholen42 joined #mojo
09:03 HtbaaPi joined #mojo
09:03 sh4 joined #mojo
09:11 denis_boyun joined #mojo
09:37 fhelmber_ joined #mojo
09:56 moritz joined #mojo
10:17 moltar joined #mojo
10:35 mire joined #mojo
10:48 nic bah, found my bug: url_escape $c->url_for(..)
10:49 nic Didn't know stuff like that could cause seg faults, so wasted days looking in the wrong places
10:50 fhelmber_ joined #mojo
10:50 bowtie_ joined #mojo
11:01 denis_boyun joined #mojo
11:01 dsteinbrunner joined #mojo
11:07 D4RK-PH0ENiX joined #mojo
11:10 Mike-PerlRecruiter_ joined #mojo
11:13 dqw2 joined #mojo
11:13 zibi joined #mojo
11:25 mire joined #mojo
11:28 dqw joined #mojo
11:40 fhelmbe__ joined #mojo
11:46 fhelmber_ joined #mojo
12:00 punter joined #mojo
12:09 dqw joined #mojo
12:13 dqw2 joined #mojo
12:39 dqw joined #mojo
13:11 dsteinbrunner tempire: Heroku does not have documented perl support… should that give me pause as far as using them?
13:11 dsteinbrunner also what version of perl do they have installed?
13:12 dsteinbrunner dotcloud has documentation which gives me a little more comfort
13:12 dsteinbrunner have you used dotcloud?
13:20 asarch joined #mojo
13:27 denis_boyun joined #mojo
13:36 vervain joined #mojo
13:42 nic there are happy mojolickers on each of those platforms
13:48 fhelmbe__ joined #mojo
14:08 bluescreen joined #mojo
14:20 gryphon joined #mojo
14:27 yakudza joined #mojo
14:39 zibi joined #mojo
14:41 Kovensky joined #mojo
15:15 dqw joined #mojo
15:31 shmuel joined #mojo
15:43 dqw joined #mojo
15:57 tempire dsteinbrunner: no, it's fine.
15:58 tempire I've used dotcloud once or twice.
15:58 tempire heroku is free.
15:58 tempire and much prettier.
15:58 tempire they use buildpacks.
15:58 tempire so it's not a matter of what perl they have installed.
15:58 tempire it's a matter of what perl is configured in the buildpack.
15:59 tempire I think the buildpack that we currently use is 5.16.something
16:00 Adura joined #mojo
16:08 moltar joined #mojo
16:14 punter joined #mojo
16:18 ladnaV joined #mojo
16:19 d4rkie joined #mojo
16:35 mire joined #mojo
16:36 sh4 joined #mojo
16:46 dsteinbrunner tempire: so for data store you just using SQLite or the like to keep it free?  Or are you hitting outside servers for db ish type things?
16:46 dsteinbrunner wait… nevermind
16:46 tempire I've used mysql, redis, and github as a data store.
16:47 tempire they provide addons, many with free tiers
16:47 tempire oh, and mongo
16:47 tempire and postgres
16:47 tempire really anything you can think of
16:47 dsteinbrunner right… gotchya
16:48 dsteinbrunner so you use all of them to distribute the load and keep things free ;-P
16:49 tempire that's why heroku is great.
16:49 tempire just like github.
16:51 dsteinbrunner do Mojolicious::Command::deploy::heroku puts the build pack in place?
16:51 dsteinbrunner ok.. I see the ref to https://github.com/tempire/perloku
16:53 dsteinbrunner 5.14.2 to 5.16.2 to 5.18.2?
17:07 stephan48 joined #mojo
17:20 dvinciguerra joined #mojo
17:23 sri tempire: you could replace daemon with prefork in the readme
17:24 sri more performance
17:26 sri one of the reasons i added prefork was actually cloud hosting like heroku
17:26 sri since hypnotoad doesn't work there
17:26 sri (at least not so well)
17:47 dotandimet joined #mojo
18:08 gryphon joined #mojo
18:08 dsteinbrunner sri: why is hypnotoad not well suited for such environments
18:09 dsteinbrunner works best in a single server environment or something else?
18:12 sri restarting doesn't work in such environments
18:15 dsteinbrunner what is missing from them that makes restarting an issue?
18:16 dsteinbrunner I already have a VPS.. might just be best to stick with that
18:19 asarch joined #mojo
18:25 mire joined #mojo
18:29 fhelmber_ joined #mojo
19:01 espent joined #mojo
19:14 dotandimet joined #mojo
19:25 mire_ joined #mojo
19:25 Mike-PerlRecruiter_ joined #mojo
19:27 fhelmber_ joined #mojo
19:29 fhelmbe__ joined #mojo
19:47 dpetrov_ joined #mojo
20:16 hummeleBop joined #mojo
20:18 StinkfooT joined #mojo
20:25 espent_ joined #mojo
20:44 nicomen joined #mojo
21:00 maxhq joined #mojo
21:19 rem_lex| joined #mojo
21:33 riche joined #mojo
21:34 riche in Test::Mojo any way to decode get_ok response for running test like mojo_has?
21:34 riche sorry json_has
21:47 marty I finally get to use Mojo::UserAgent in my app.  \o/
22:05 dvinciguerra joined #mojo
22:07 denis_boyun joined #mojo
22:13 sri \o\
22:13 sri /o/
22:16 tempire |o_
22:16 tempire _o|
22:54 asarch joined #mojo
23:45 bjoernfan joined #mojo

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