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

IRC log for #mojo, 2014-01-05

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

All times shown according to UTC.

Time Nick Message
00:06 Jonis bpmedley: I've added a create index idx_lower_username on users (lower(username));
00:07 Jonis but now it's bedtime. thanks for your help though :)
00:35 sivoais joined #mojo
00:35 ka2u joined #mojo
00:40 good_news_everyone joined #mojo
00:40 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/E-8ErA
00:40 good_news_everyone mojo/master d739496 Sebastian Riedel: more XML detection tests
00:40 good_news_everyone left #mojo
01:18 ka2u joined #mojo
02:29 ka2u joined #mojo
02:59 klapperl joined #mojo
03:23 d4rkie joined #mojo
03:40 d4rkie joined #mojo
04:37 preflex_ joined #mojo
04:42 good_news_everyone joined #mojo
04:42 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/n7be2w
04:42 good_news_everyone mojo/master c9f389f Sebastian Riedel: small optimization
04:42 good_news_everyone left #mojo
05:17 ryozi joined #mojo
05:51 voegelas joined #mojo
06:06 voegelas joined #mojo
06:15 ryozi_ joined #mojo
06:24 ryozi joined #mojo
06:25 Vandal joined #mojo
06:31 D4RK-PH0ENiX joined #mojo
07:02 ryozi_ joined #mojo
07:06 irq joined #mojo
07:35 dvinciguerra joined #mojo
08:31 beyondcreed joined #mojo
08:33 Foxcool_ joined #mojo
09:13 hrupp joined #mojo
09:40 dotan joined #mojo
09:46 trone joined #mojo
10:39 bpmedley joined #mojo
10:54 bpmedley joined #mojo
11:12 Foxcool__ joined #mojo
11:15 basiliscos joined #mojo
12:14 mire_ joined #mojo
12:21 ladnaV joined #mojo
12:27 d4rkie joined #mojo
12:32 denisboyun joined #mojo
12:50 laouji joined #mojo
13:27 lammel2 joined #mojo
13:33 maxhq joined #mojo
13:51 laouji_ joined #mojo
14:07 Vandal joined #mojo
14:11 wingfold joined #mojo
14:14 cottoo joined #mojo
14:14 ivan joined #mojo
14:16 lammel2 joined #mojo
14:17 lammel2 left #mojo
14:27 sh4 joined #mojo
14:32 maxhq1 joined #mojo
14:43 asarch joined #mojo
15:03 irq joined #mojo
15:57 beyondcreed joined #mojo
16:19 rem_lex| joined #mojo
16:28 gryphon joined #mojo
17:10 abra_ joined #mojo
17:17 meshl joined #mojo
17:19 Foxcool__ joined #mojo
17:27 ka2u joined #mojo
18:01 dod joined #mojo
18:04 irq joined #mojo
18:10 dod joined #mojo
18:13 maxhq joined #mojo
18:24 human39 joined #mojo
19:06 Adura joined #mojo
19:08 ka2u joined #mojo
19:31 lukep joined #mojo
19:37 trone joined #mojo
19:57 lucs What's the recommended way to pass arguments to my app at startup? (not sure where to go from  Mojolicious::Commands->start_app('MyApp'); )
20:42 irq_ joined #mojo
21:17 meshl joined #mojo
21:32 Foxcool joined #mojo
22:14 nic lucs: You can already pass arguments (eg myapp help)
22:14 lucs I mean, arguments relevant to my application.
22:14 nic just give it some argument(s) (eg myapp testing) and try to read it via 'shift' (to pull it from @ARGV)
22:16 lucs Oh, I think I see what you mean, and that part is okay, but how can MyApp::new get to those arguments?
22:16 nic (I think 'startup' will be the most likely place to do that)
22:17 lucs (well, not necessarily 'new', but have MyApp know about them somehow.)
22:17 nic hmm, I'm not sure I can picture what you mean by MyApp::new (never needed one myself)
22:18 lucs Right, me neither actually.
22:18 nic ah, check them in your startup, then if you need to store them, choose a good place
22:19 nic it's common that commandline arguments override options in the config file for example
22:21 lucs I'm afraid I don't quite understand. How for example could I let MyApp::startup know that it needs to use $some_directory, settable from 'myapp'?
22:22 nic it can access @ARGV
22:22 lucs All I can think of for now is to use environment variables.
22:22 nic I really don't like EVs when they can be avoided
22:23 lucs Same here :)
22:23 jberger lucs, this gets asked very regularly
22:23 jberger and there is not "good" way
22:23 jberger instead use EVs or configuration parameters
22:23 lucs Is there a Mojolicious FAQ? ;)
22:24 lucs Um, configuration parameters?
22:26 lucs Oh, right, got it.
22:40 meshl joined #mojo
22:41 jberger joined #mojo
22:56 d4rkie joined #mojo
23:21 cfedde joined #mojo

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