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

IRC log for #mojo, 2017-03-27

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

All times shown according to UTC.

Time Nick Message
00:06 kiwiroy joined #mojo
00:20 kiwiroy joined #mojo
00:27 stryx` joined #mojo
00:33 aborazmeh joined #mojo
00:34 kiwiroy joined #mojo
00:35 schelcj if i have a template block that i'd like to reuse across multiple templates, i should be looking at creating a helper instead?
00:43 jabberwok schelcj: You could also use the %= include directive along with %= content_with to wrap one template block within another
00:46 schelcj can i pass parameters to content_with like a block?
00:48 kiwiroy joined #mojo
00:49 pink_mist just the stash afaik
01:17 schelcj can't see how to do this tonight, thanks though jabberwok and pink_mist, will have to come back tomorrow.
01:45 _dave_ joined #mojo
01:54 dave joined #mojo
02:41 noganex joined #mojo
04:04 dboehmer_ joined #mojo
04:13 disputin joined #mojo
05:18 ashimema joined #mojo
05:26 dod joined #mojo
05:40 inokenty-w joined #mojo
06:14 dod joined #mojo
06:36 Vandal joined #mojo
07:04 AndrewIsh joined #mojo
07:31 sri dave: don't bring that gamergate bullshit here
07:31 sri it's just full of bugs
07:34 sri having played the game, all faces are bad
07:37 sri that Pingu comparison is spot on! i've thought the exact same thing http://www.gamesradar.com/mass-effect-andromedas-animations-are-getting-compared-to-pingu-robots-and-gorillas/
07:46 someguy joined #mojo
07:47 someguy should 'Class "%s" is not a controller' be fatal, or is it fine to do something silly like that?
07:47 preaction what are you trying to do?
08:31 osfabibisi joined #mojo
08:33 sri so, what are your thoughts on sereal vs storable?
08:36 * nic is too hungry and read that as 'cereal'
08:36 sri skipped breakfast here too :S
08:37 prg joined #mojo
08:38 nic I'm slowly switching my apps to use Sereal in place of Storable
08:39 nic The clincher for me is that there's always a clean upgrade path
08:39 mishanti1 dave: Might be, but I doubt it. Faces have always be absolutely horrible in the ME-games, regardless of the gender.
08:42 sri mishanti1: not to mention species... most salarians talk like this https://s-media-cache-ak0.pinimg.com/originals/39/29/1f/39291fa4849a9621639d2a6283ad8666.gif
09:32 irqq joined #mojo
09:41 dexteruk joined #mojo
10:03 dexteruk_ joined #mojo
11:02 batman hope it's ok i closed https://github.com/kraih/mojo/issues/1076
11:19 tchaves joined #mojo
11:34 dso joined #mojo
11:39 litwol hmm. i hope i can ask general perl-learning question here (I'm learning perl from #rex + #mojo more than other traditional sources).
11:40 litwol I would like to parse ssh .config file into formal structure (tokenise ?) to then later use in a script to build dynamic menu inside FVWM.
11:41 litwol question is: Could some one point me to a good resource teaching how to think about and implement tokenisers?
11:41 litwol i would like to avoid my previous approach of regex for /specific/ values, i'd like something more generic.
11:50 litwol although i think straight up grep for just the 'Host' string to display will really serve my entire need. /me sigh. never mind.
11:53 dso litwol: maybe you should have a look at Net::SSH::Perl::Config - it looks like it does already the parsing you want, but I did not test it, yet
12:03 cosimo joined #mojo
12:40 perlpilot joined #mojo
12:53 janl joined #mojo
12:55 cosimo joined #mojo
12:56 cosimo joined #mojo
12:58 janl left #mojo
12:58 gryphon joined #mojo
13:00 osfabibisi joined #mojo
13:00 purl joined #mojo
13:01 purl1 joined #mojo
13:01 litwol dso: ty
13:22 aborazmeh joined #mojo
13:27 itaipu joined #mojo
13:29 Pyritic joined #mojo
13:53 sri i love the internet of things :D https://www.theregister.co.uk/2017/03/26/miele_joins_internetofst_hall_of_shame/?mt=1490573864407
14:11 itaipu joined #mojo
14:24 kes joined #mojo
14:25 kes Hi. Is there a way to force Mojolicious url_for to use https for schema?
14:25 kes it generates http://... even when current request come to https://
14:28 jberger kes it uses the base that the current request was made to
14:28 jberger so if you request it on https it will generate urls with https
14:29 pink_mist did you forget to set the proxy env var if you're using a reverse proxy?
14:29 jberger a common mistake is forgetting to set reverse proxy mode when you are behind one (pink_mist++)
14:29 jberger beat me to it
14:29 pink_mist and/or forget to make your frontend pass in the scheme =)
14:29 kes pink_mist: yeah, ( Thank you
14:29 pink_mist *shema
14:30 kes what is the name for environment variable?
14:33 pink_mist MOJO_REVERSE_PROXY
14:33 purl MOJO_REVERSE_PROXY is not what you're looking for
14:33 purl1 i heard MOJO_REVERSE_PROXY was not what you're looking for
14:33 purl1 i already had it that way, purl.
14:33 pink_mist 0_o purls
14:34 PopeFelix purl, this channel is no place for your sibling rivalry
14:34 purl ...but this channel is not for help, it is for laying down and avoiding or http://weknowyourdreams.com/images/minions/minions-04.jpg...
14:40 jberger we have a purl1 now?
14:41 PopeFelix if we could just knit one, we could have a purl 2.
14:41 jberger kes it can also be set in hypnotoad config or with switches on the other servers
14:41 jberger PopeFelix++
14:43 kes we use nginx as proxy. I am googling info about MOJO_REVERSE_PROXY now
14:44 kes and what this option is doing
15:09 mishanti1 sri: Pretty awesome that Pingu-reference :)
15:10 asarch joined #mojo
15:28 pink_mist kes: it makes your mojolicious backend server look at the X-Forwarded-For and X-Forwarded-Proto headers (I think those are the two at least)
15:28 pink_mist kes: otherwise it doesn't look at those when you call url_for
15:29 gregf_ joined #mojo
15:33 disputin joined #mojo
15:42 zivester joined #mojo
15:44 asarch joined #mojo
15:54 Grinnz sri: i've always liked that Sereal is faster, can handle regex refs, and is a lot more configurable
15:55 Grinnz Storable just feels dated to me
15:55 Grinnz Sereal also does built in compression which is helpful in some cases
15:55 Grinnz decoded transparently on the other end
15:56 haarg it's also versioned more sanely
15:57 haarg and can be used in other languages
15:58 PopeF joined #mojo
16:02 kes pink_mist: thank you
16:09 itaipu joined #mojo
16:21 PryMar56 joined #mojo
16:47 stryx` joined #mojo
16:53 PopeFelix joined #mojo
17:03 rshadow joined #mojo
17:12 rshadow joined #mojo
17:22 lluad joined #mojo
17:27 tchaves joined #mojo
17:29 itaipu joined #mojo
17:42 disputin joined #mojo
17:44 disputin joined #mojo
17:49 dod joined #mojo
17:50 irqq joined #mojo
18:17 kes What do you think about this improvement:
18:17 kes http://paste.scsys.co.uk/557665
18:19 kes fixed typo: http://paste.scsys.co.uk/557667
18:30 purl joined #mojo
18:43 rshadow joined #mojo
19:41 dave sri: I've only vaguely heard about gamergate. I tend to stay far away from that crap, so if you could do me the courtesy of explaining briefly why you thought what I said related to that...I'd be honored.
19:41 dave that way I can take that back to those that are encouraging me not to buy mass effect andromeda :)
19:44 pink_mist dave: all the gamergate stuff was a giant mess, started when it was revealed that a female independent game developer had been trading sexual favours for favourable reviews of her games to the "journalists" .... and that was just the start. every side of the conflict got worse and worse and worse and worse and as a bystander you really didn't want anything to do with either side at the end
19:45 dave wow
19:46 preaction ... that's not what happened at all: some ex-bf tried getting revenge by making false accusations which fed into an existing and ongoing identity crisis...
19:46 pink_mist that's what one side of the story tries to claim, yes
19:46 dave ok so when you hear people say different stories, you know there's drama involved lol
19:46 preaction but they're wrong, and you're right?
19:47 stryx` joined #mojo
19:47 pink_mist I'm not saying I'm right, I'm just saying what a lot of people heard, and that's what really started the whole debacle. I frankly don't care if what they heard was true or not
19:48 pink_mist I don't want anything to do with it really
19:48 preaction okay, but you picked which point of view to explain, which speaks to which point of view you believe
19:48 dave Ok so...heh...maybe I shouldn't have considered this a safe channel to ask that in
19:49 pink_mist preaction: please don't try to put me on one of the sides. that story was literally what actually started the whole thing.
19:49 preaction it's an ongoing and terrible thing. if you want the most balanced view you're going to get, it's probably going to have to be wikipedia. everyone else has an agenda, since it's been political since the very start
19:50 pink_mist I don't believe wikipedia to be impartial either
19:50 preaction pink_mist: that _fake_ story. you offered nothing to explain how true the story was or not
19:51 pink_mist I couldn't say if it's fake or not
19:52 pink_mist I literally have no idea, aside of you claiming it is
19:52 pink_mist I don't *want* to know either
19:52 pink_mist it's too much crap for me to want to deal with
19:53 dave I'm sorry I asked for clarification lol
19:54 miller joined #mojo
20:00 Grinnz i think it's safe to say nobody really wants to talk about this further
20:02 dave A safer topic might be asking why there's an unauthorized release of Sereal on CPAN
20:02 pink_mist is it RURBAN?
20:02 preaction my guess is going to be rurban
20:03 dave Ivan Kruglov
20:03 dave version 4
20:03 purl i think version 4 is in the /usr/local/bin/perl
20:03 pink_mist oh
20:04 pink_mist then I couldn't say
20:04 pink_mist if it was RURBAN, he tends to do some things like that for his fork of perl
20:04 pink_mist but I thought he had mostly stopped
20:04 dave his "fork"?
20:04 Grinnz cperl
20:05 Grinnz ikruglov appears to be a committer on the Sereal repo, so i guess he just hasn't been given pause permissions yet
20:05 Grinnz it's a dev release anyway, so it doesn't need permissions
20:06 dave geez cperl is on a mission
20:07 Grinnz luckily, mostly his own mission
20:07 dave I was going to ask if he got much support
20:08 genio purl: forget version 4
20:08 purl genio: I forgot version 4
20:08 dave version 4
20:08 dave woot! :D
20:26 gryphon joined #mojo
20:38 trone joined #mojo
23:45 irqq_ joined #mojo
23:59 tchaves joined #mojo

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