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

IRC log for #mojo, 2016-11-09

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

All times shown according to UTC.

Time Nick Message
00:01 polettix joined #mojo
01:02 aborazmeh joined #mojo
01:18 stryx` joined #mojo
01:45 jabberwok joined #mojo
03:49 noganex_ joined #mojo
04:48 trwww joined #mojo
05:03 mib_vfyy1u joined #mojo
05:19 gizmomathboy joined #mojo
05:23 inokenty-w joined #mojo
05:31 trwww joined #mojo
05:59 mtths joined #mojo
06:25 trwww joined #mojo
06:33 parv joined #mojo
06:55 tyldisc joined #mojo
06:57 tyldisc joined #mojo
06:58 tyldisc joined #mojo
06:59 Vandal15263 joined #mojo
06:59 jamesaxl joined #mojo
07:00 mbudde joined #mojo
07:04 mbudde joined #mojo
07:13 polettix joined #mojo
07:19 sri jberger: well, browsers do send cookies with the websocket handshake, so i suppose you could do cookie auth in http and then do the websocket handshake afterwards :)
07:27 dod joined #mojo
07:32 dod joined #mojo
08:16 AndrewIsh joined #mojo
08:21 trone joined #mojo
08:29 sri so trump actually won :O
08:30 Grinnz yeah...
08:31 * pink_mist feels like the only thing to do is laugh at the absurdity of it all
08:31 pink_mist first brexit, now trump
08:31 pink_mist this year has been so crazy
08:31 batman i feel like crying
08:31 mishanti1 Well, electing Trump might be bad for americans, but I think much safer for the rest of us.
08:32 mishanti1 Would be nice if Oboma could continue though.
08:32 mishanti1 *Obama
08:32 pink_mist safer? I feel the opposite
08:32 batman i can only understand this with "hate" and "desperation"
08:32 batman pink_mist: me too
08:34 mishanti1 Trump is a damn distasteful clown, that I believe will undermine the US internationally, thereby lessening their influence. I think it would be health for the world if the US could for a while focus on what's going on domestically instead of all these other things they have been up to.
08:35 pink_mist mishanti1: if he wasn't able to launch nuclear missiles anywhere in the world at the flip of a switch, maybe
08:36 rshadow joined #mojo
08:43 mishanti1 pink_mist: That's just fear-mongering and a gross oversimplification.
08:44 suede mishanti1: i mean, he is isolationist, so i guess you could consider that to be undermining the US internationally?
08:44 suede but intentionally?
08:48 mishanti1 suede: I do not believe he would try to undermine the US intentionally, and I think he would think he was doing a darn good job no matter what the record showed. But just his demeanor and how he deals with people would be enough that they would undermine themselves.
08:48 suede mishanti1: my main problem with him is that there's always the chance he would do foreign policy from his gut instinct
08:49 suede rather than trusting advisors
08:49 mishanti1 suede: Yeah, I absolutely agree with that.
08:51 mishanti1 In any case, americans were very cleat on who they prefer. It'll be an interesting couple of years ahead.
08:52 mishanti1 s/cleat/clear/
08:53 suede mishanti1: it will be interesting. I don't think it's the end of the world like many people are claiming. I think the stress and nonstop news cycle from the start of the election to now has really freaked people out on both sides to the point of unending paranoia
08:53 suede The internet really really didn't help that
08:54 mishanti1 suede: Absolutely. FUD-levels have been hight, and is not at all beneficial for anyone. I bet things will turn out quite all right once people have calmed down.
08:55 mishanti1 I wonder what an election without fear-mongering and mud-slinging would be like.
08:56 suede mishanti1: \o/
08:56 suede We'll probably never see anything civil again
08:57 suede Unless some catastrophe happens and we lose the internet
08:57 suede mishanti1: realistically, most people aren't /that/ affected by the doings of the president anyways
08:57 suede Local state and city laws for sure affect more people directly than anything the president does
08:58 janl well, that's the problem. if trump does not manage to do something that affects the underclasses in the US in a positive way he'll have failed them.
08:58 suede janl: That's definitely true. We'll just have to wait and see I suppose.
08:59 janl did you reach for the popcorn or the scotch?
08:59 janl sorry, burbon
08:59 suede Neither. I want my full attention on what happens next.
09:01 janl https://scontent-arn2-1.xx.fbcdn.net/v/t1.0-9/14956456_10157770657335078_4672287921177483580_n.jpg?oh=dc1069ebb4ed4bb40b6f3757aeb19005&oe=588AF9DD
09:24 osfabibisi joined #mojo
09:28 stryx` joined #mojo
09:40 batman does anyone know of a perl module that minify javascript and can generate source maps?
09:41 batman (would be cool if assetpack had support for generating source maps)
10:00 gregf_ joined #mojo
10:01 stryx` joined #mojo
10:16 Lee batman: i have this: https://metacpan.org/pod/JavaScript::Packer
10:16 Lee but i took over maintenance so not sure if it does what you need
10:18 dotan_convos joined #mojo
10:18 batman Lee: doesn't seem like it supports source maps..?
10:20 * Lee shrugs
10:20 Lee :)
10:20 Lee when i look at the source i ask myself *why* i offered to take over maintenance
10:22 osfabibisi joined #mojo
10:22 stryx` joined #mojo
10:27 batman haha
10:36 batman sorry for laughing :/
10:36 Lee :)
10:37 janl schadenfreude is the only genuine joy
11:11 tchaves joined #mojo
11:12 rshadow joined #mojo
11:14 kes joined #mojo
11:17 stryx` joined #mojo
11:21 gbhat joined #mojo
11:26 gbhat Hi, If I fork in an action of a Mojolicious endpoint, what is the first tasks I must perform in the child to ensure safety - Possible list 1. Close the $tx, 2. Reset event loop? Thank you.
11:27 gbhat Also - I call exit in child after my child finishes whatever it was supposed to do (write to a disk file for example).
11:56 osfabibisi joined #mojo
11:57 sri see Mojo::IOLoop::subprocess
12:10 trone joined #mojo
12:18 gbhat sri: Thank you. Will do.
12:19 sri oh, i even wrote a recipe http://mojolicious.org/perldoc/Mojolicious/Guides/Cookbook#Subprocesses
12:24 gbhat :) Even better
12:40 gbhat Just one doubt and I will ask at th request of sounding stupid - When I fork, the entire Mojolicious webapp is copied and runs - listening on port 5000 (say) - though a different section of code is running. In that event, wont the forked copy also start serving client requests? And wouldnt that possibility require that I "close" any (copies of) open sockets in the child?
12:42 gbhat *at the risk of....
12:48 polettix joined #mojo
12:58 batman gbhat: Mojo::IOLoop->reset;
12:58 pink_mist gbhat: Mojo::IOLoop::subprocess calls the ioloop's ->reset() method: https://metacpan.org/source/SRI/Mojolicious-7.10/lib/Mojo/IOLoop/Subprocess.pm#L30
13:07 asarch joined #mojo
13:35 zivester joined #mojo
13:40 gizmomathboy joined #mojo
13:43 suede i'm so exhausted
13:50 itaipu joined #mojo
13:55 mishanti1 suede: Been doing php?
13:56 suede mishanti1: no, the election has taken a lot out of me and i also stumbled across some old poetry my ex wrote when we were in a relationship years ago
13:56 suede and it was simultaneously insightful, disheartening, and accurate all in one
13:56 suede the poetry, that is
13:57 suede i mean, i've moved on, but she never exactly explained to me in a way i could understand how she viewed our relationship
13:57 suede and it's a really weird feeling looking back and realizing that she was completely right
13:58 suede anyways, this channel isn't my personal blog so i'll shhh :P
14:10 jacoby joined #mojo
14:12 rshadow joined #mojo
14:21 Pyritic joined #mojo
14:24 marty joined #mojo
14:44 marty joined #mojo
15:01 Janos joined #mojo
15:09 jberger I think I'm not going to comment on the election at all here
15:09 jberger my twitter has plenty of it
15:11 lluad joined #mojo
15:20 suede I'm having issues with MojoX::JSON::RPC::Client
15:20 suede when I try and call Client->new it ends up being undefined
15:22 suede i get
15:22 suede Can't call method "state" on an undefined value at [...]
15:23 suede state $btcrpc = MojoX::JSON::RPC::Client->new;
15:31 genio state is a 5.10+ feature. are you using Mojo::Base  or   use feature 'say'; somehow?
15:32 genio err, say/state bleh
15:41 Pyritic joined #mojo
15:45 zivester joined #mojo
15:52 suede genio: I am using Mojo::Base
15:52 suede and say elsehwere
15:52 suede elsewhere*
15:52 suede oh
15:53 suede I wasn't actually using Mojo::Base
15:53 suede I was just doing
15:53 suede use base Mojolicious::Plugin
15:53 suede thanks genio
15:54 gryphon joined #mojo
15:54 gryphon z:\
15:54 * gryphon hates auto-focus.
16:01 osfabibisi joined #mojo
16:07 ben Anyone know if it's possible to use Plugin::Mail from within a custom Command? Since my script is a Mojolicious::Command, it appears it doesn't have access to stash or mail.
16:12 vicash ben: you may want to create a helper that stores the Plugin::Mail object to be accessible in the Command class. That's how I access databases from a Command class
16:15 mcsnolte joined #mojo
16:31 ben vicash: Hmm, thanks. That didn't seem to allow me to make use of the stash either, but I realised I can pass along the parameters directly with the mail function (which I also realised is accessible via $self->app in a Command class)
16:40 vicash ben: stash is only valid when a route is invoked. i would not advise to use it in a command.
16:48 ben vicash: Thanks, yes I thought it might be problematic
16:50 rshadow joined #mojo
16:55 vicash is there a neat way to detect if the requesting browser/client is an iPhone/Android/mobile vs desktop browser ? I want to display something different based on what the requesting user-agent is.
17:04 c0xc joined #mojo
17:04 osfabibisi joined #mojo
17:06 c0xc is it expected that mojo::useragent fails with an undefined value error if an incomplete url is provided? http://paste.debian.net/894003/
17:15 tyldisc joined #mojo
17:18 jberger c0xc: for a relative url the useragent tries to access the $ua->app's app
17:19 jberger err, $ua->server->app
17:20 jberger which since it isn't set cannot be used to call build_tx
17:22 stryx` joined #mojo
17:22 henq joined #mojo
17:23 c0xc jberger, i see, makes sense. that feature didn't come to mind when i got the error message. thanks
17:27 sri jberger: thing is, you deserve it for your shitty voting system
17:27 sri re trump
17:28 sri clinton got more votes actually
17:28 sri like almost 200k more votes
17:32 jberger legacy of country of united states
17:32 jberger and yes, much sigh
17:32 sri and nobody in my twitter stream even cares about that
17:41 jberger nope, its really dumb
17:41 jberger state's rights (and other statewide crap) have been the bastion of regressives since the founding of this country
17:42 preaction s/bastion/dog whistle/
17:45 suede *.net *.split
17:45 suede rest in perl
17:46 tyldisc joined #mojo
17:46 mcsnolte joined #mojo
17:46 zivester joined #mojo
17:46 Janos joined #mojo
17:46 polettix joined #mojo
17:46 gbhat joined #mojo
17:46 tchaves joined #mojo
17:46 jamesaxl joined #mojo
17:46 trwww joined #mojo
17:46 Gedge joined #mojo
17:46 skaji joined #mojo
17:46 eseyman joined #mojo
17:46 Adurah joined #mojo
17:46 janus joined #mojo
17:46 mattp_ joined #mojo
17:46 CW joined #mojo
17:46 tojo joined #mojo
17:46 xdg joined #mojo
17:46 alilles joined #mojo
17:46 khfeng_ joined #mojo
17:46 lari joined #mojo
17:46 Prajith joined #mojo
17:46 ssm joined #mojo
17:46 Sebbe joined #mojo
17:46 tholen joined #mojo
17:46 chansen joined #mojo
17:46 purl joined #mojo
17:46 saki joined #mojo
17:46 abracadaniel joined #mojo
17:46 gabiruh joined #mojo
17:46 Caldrin joined #mojo
17:46 plicease joined #mojo
17:46 SmokeMachine joined #mojo
17:46 meredith joined #mojo
17:46 firnsy joined #mojo
17:46 pink_mist joined #mojo
17:48 itaipu joined #mojo
17:48 disputin joined #mojo
17:55 disputin joined #mojo
17:55 tyldisc joined #mojo
17:55 mcsnolte joined #mojo
17:55 zivester joined #mojo
17:55 Janos joined #mojo
17:55 polettix joined #mojo
17:55 tchaves joined #mojo
17:55 jamesaxl joined #mojo
17:55 trwww joined #mojo
17:55 Gedge joined #mojo
17:55 skaji joined #mojo
17:55 eseyman joined #mojo
17:55 Adurah joined #mojo
17:55 janus joined #mojo
17:55 mattp_ joined #mojo
17:55 CW joined #mojo
17:55 tojo joined #mojo
17:55 xdg joined #mojo
17:55 alilles joined #mojo
17:55 khfeng_ joined #mojo
17:55 lari joined #mojo
17:55 Prajith joined #mojo
17:55 ssm joined #mojo
17:55 Sebbe joined #mojo
17:55 tholen joined #mojo
17:55 chansen joined #mojo
17:55 purl joined #mojo
17:55 saki joined #mojo
17:55 abracadaniel joined #mojo
17:55 gabiruh joined #mojo
17:55 Caldrin joined #mojo
17:55 plicease joined #mojo
17:55 SmokeMachine joined #mojo
17:55 meredith joined #mojo
17:55 firnsy joined #mojo
17:55 pink_mist joined #mojo
17:55 coolo sri: got your food?
18:05 dod joined #mojo
18:20 sri coolo: ate too much lebkuchen, gonna be sick tomorrow :S
18:22 suede sri: that sounds so good
18:22 suede german baked goods are the best
18:32 polettix joined #mojo
18:34 asarch joined #mojo
18:42 PryMar56 joined #mojo
19:00 asarch joined #mojo
19:00 dod joined #mojo
19:00 stryx` joined #mojo
19:00 gryphon joined #mojo
19:00 lluad joined #mojo
19:00 marty joined #mojo
19:00 gizmomathboy joined #mojo
19:00 kes joined #mojo
19:00 dotan_convos joined #mojo
19:00 mtths joined #mojo
19:00 orev joined #mojo
19:00 CHYC joined #mojo
19:00 jkramer joined #mojo
19:00 upasana_ joined #mojo
19:00 bpmedley joined #mojo
19:00 mgrimes_ joined #mojo
19:00 perlpilot joined #mojo
19:00 Lee joined #mojo
19:07 henq joined #mojo
19:07 Lee joined #mojo
19:07 perlpilot joined #mojo
19:07 mgrimes_ joined #mojo
19:07 bpmedley joined #mojo
19:07 upasana_ joined #mojo
19:07 jkramer joined #mojo
19:07 CHYC joined #mojo
19:07 orev joined #mojo
19:07 mtths joined #mojo
19:07 dotan_convos joined #mojo
19:07 kes joined #mojo
19:07 gizmomathboy joined #mojo
19:07 marty joined #mojo
19:07 lluad joined #mojo
19:07 gryphon joined #mojo
19:07 stryx` joined #mojo
19:07 dod joined #mojo
19:07 asarch joined #mojo
19:07 pink_mist joined #mojo
19:07 firnsy joined #mojo
19:07 meredith joined #mojo
19:07 SmokeMachine joined #mojo
19:07 plicease joined #mojo
19:07 Caldrin joined #mojo
19:07 gabiruh joined #mojo
19:07 abracadaniel joined #mojo
19:07 saki joined #mojo
19:07 purl joined #mojo
19:07 chansen joined #mojo
19:07 tholen joined #mojo
19:07 Sebbe joined #mojo
19:07 ssm joined #mojo
19:07 Prajith joined #mojo
19:07 lari joined #mojo
19:07 khfeng_ joined #mojo
19:07 alilles joined #mojo
19:07 xdg joined #mojo
19:07 tojo joined #mojo
19:07 CW joined #mojo
19:07 mattp_ joined #mojo
19:07 janus joined #mojo
19:07 Adurah joined #mojo
19:07 eseyman joined #mojo
19:07 skaji joined #mojo
19:07 Gedge joined #mojo
19:07 trwww joined #mojo
19:07 jamesaxl joined #mojo
19:07 tchaves joined #mojo
19:07 zivester joined #mojo
19:07 mcsnolte joined #mojo
19:07 tyldisc joined #mojo
19:07 bjoernfan joined #mojo
19:07 ksmadsen joined #mojo
19:07 caeles_ joined #mojo
19:07 matt__ joined #mojo
19:07 Andreas2 joined #mojo
19:07 omega joined #mojo
19:07 charsbar joined #mojo
19:07 mfontani joined #mojo
19:07 michael joined #mojo
19:07 tinita joined #mojo
19:07 cfedde joined #mojo
19:07 Phil21 joined #mojo
19:07 hahainternet joined #mojo
19:07 isomorphismes joined #mojo
19:07 marcus joined #mojo
19:07 robinsmidsrod joined #mojo
19:07 ranguard joined #mojo
19:07 CandyAngel joined #mojo
19:07 daemonic joined #mojo
19:07 arcanez joined #mojo
19:07 sri joined #mojo
19:07 diegok joined #mojo
19:07 tianon joined #mojo
19:07 spicyjack joined #mojo
19:07 genio joined #mojo
19:07 tempire joined #mojo
19:07 augensalat joined #mojo
19:07 oalders joined #mojo
19:07 preaction joined #mojo
19:07 jlaffaye joined #mojo
19:07 yuni joined #mojo
19:07 mrallen1 joined #mojo
19:07 mtj joined #mojo
19:07 anparker joined #mojo
19:07 ribasushi joined #mojo
19:07 da5id joined #mojo
19:07 bjakubski joined #mojo
19:07 geheimnis` joined #mojo
19:07 Nemix joined #mojo
19:07 stephan48 joined #mojo
19:07 harleypig joined #mojo
19:07 jantore joined #mojo
19:07 mrEriksson joined #mojo
19:07 karjala joined #mojo
19:07 BinGOs joined #mojo
19:07 suede joined #mojo
19:07 cstamas joined #mojo
19:07 ccakes joined #mojo
19:07 Grinnz joined #mojo
19:07 umask001 joined #mojo
19:07 simbabque joined #mojo
19:07 stefan joined #mojo
19:07 Zx3 joined #mojo
19:07 Ralesk joined #mojo
19:07 VVelox joined #mojo
19:07 salva joined #mojo
19:07 sivoais joined #mojo
19:07 bobkare joined #mojo
19:07 jberger joined #mojo
19:07 ashimema joined #mojo
19:07 c0xc joined #mojo
19:11 blonewolfs joined #mojo
19:13 henq hi guys, what is best jobboard for posting project that most likely be implemented with mojolicious?   --   jobs.perl.org ?
19:26 preaction henq: yes
19:26 henq okay, thx
20:49 gryphon joined #mojo
21:08 gbhat joined #mojo
21:11 gbhat Hi. I am new to Mojolicious and had a question about the nature of different servers shipped with Mojolicious. I understand the difference between the server started by the daemon command and that started by the prefork command. Can someone explain the difference between prefork and hypnotoad?
21:13 sri http://mojolicious.org/perldoc/Mojolicious/Guides/Cookbook#Hypnotoad
21:14 sri short version, hot deployment
21:14 gbhat Thanks - I did read that but missed the importance of hot deployment.
21:26 disputin joined #mojo
21:41 stryx` joined #mojo
21:46 gizmomathboy joined #mojo
22:27 henq joined #mojo
22:28 arcanez joined #mojo
22:28 jberger joined #mojo
22:28 Ralesk joined #mojo
22:28 tinita joined #mojo
22:28 mtj joined #mojo
22:28 anparker joined #mojo
22:28 ranguard joined #mojo
22:28 cfedde joined #mojo
22:28 omega joined #mojo
22:28 VVelox joined #mojo
22:28 Zx3 joined #mojo
22:28 stefan joined #mojo
22:28 augensalat joined #mojo
22:28 tianon joined #mojo
22:28 spicyjack joined #mojo
22:28 stephan48 joined #mojo
22:28 c0xc joined #mojo
22:28 suede joined #mojo
22:28 robinsmidsrod joined #mojo
22:28 michael joined #mojo
22:28 umask001 joined #mojo
22:28 sivoais joined #mojo
22:28 CandyAngel joined #mojo
22:28 caeles joined #mojo
22:28 cstamas joined #mojo
22:28 diegok joined #mojo
22:28 Phil21 joined #mojo
22:28 bobkare joined #mojo
22:28 yuni joined #mojo
22:28 isomorphismes joined #mojo
22:28 Nemix joined #mojo
22:28 hahainternet joined #mojo
22:28 harleypig joined #mojo
22:28 mrallen1 joined #mojo
22:28 bjakubski joined #mojo
22:28 sri joined #mojo
22:28 Grinnz joined #mojo
22:28 charsbar joined #mojo
22:28 Andreas2 joined #mojo
22:28 salva joined #mojo
22:28 daemonic joined #mojo
22:28 karjala joined #mojo
22:28 da5id joined #mojo
22:28 ksmadsen joined #mojo
22:28 oalders joined #mojo
22:28 bjoernfan joined #mojo
22:28 mfontani joined #mojo
22:28 preaction joined #mojo
22:29 ribasushi joined #mojo
22:29 ccakes joined #mojo
22:30 ashimema joined #mojo
22:30 tempire joined #mojo
22:31 simbabque joined #mojo
22:31 marcus joined #mojo
22:33 geheimnis` joined #mojo
22:33 BinGOs joined #mojo
22:33 mrEriksson joined #mojo
22:33 jantore joined #mojo
22:33 genio joined #mojo
22:38 jlaffaye joined #mojo
22:38 matt_ joined #mojo

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