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

IRC log for #mojo, 2017-05-03

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

All times shown according to UTC.

Time Nick Message
00:45 zivester joined #mojo
01:51 aborazmeh joined #mojo
02:42 noganex_ joined #mojo
04:04 dboehmer joined #mojo
04:46 Trick14 joined #mojo
06:09 dod joined #mojo
06:15 dod joined #mojo
06:19 inokenty-w joined #mojo
06:22 itaipu joined #mojo
06:49 Peppard joined #mojo
07:14 AndrewIsh joined #mojo
07:43 trone joined #mojo
07:54 Vandal joined #mojo
08:09 dod joined #mojo
08:25 osfabibisi joined #mojo
08:37 rshadow joined #mojo
08:45 marcus left #mojo
09:33 prg joined #mojo
09:44 foursixnine joined #mojo
09:50 marcus joined #mojo
10:07 salva joined #mojo
10:56 tchaves joined #mojo
11:17 Lee_ joined #mojo
11:17 Lee joined #mojo
12:06 itaipu joined #mojo
12:32 karjala_ joined #mojo
12:33 karjala_ The default mojolicious exception webpage doesn't output a stacktrace of the error. Is there a gist somewhere that shows how to include a stacktrace in an exception page?
12:34 karjala_ Stacktraces are very useful (I think)
12:34 nic Are you running in development mode?
12:35 karjala_ Yes
12:35 karjala_ nic, yes
12:35 karjala_ so I copied the default exception template into templates/exception.development.html.ep
12:36 karjala_ and i'll be editing that
12:38 nic heh, I seem to have broken my "click for more" button, so doesn't look like a day when I can offer help :D
12:39 tchaves joined #mojo
12:48 karjala_ did it
12:48 karjala_ copied code from the pod of Mojo::Exception
12:49 dod joined #mojo
12:52 VVelox joined #mojo
13:01 tchaves joined #mojo
13:18 stryx` joined #mojo
13:34 gizmomathboy joined #mojo
13:45 mcsnolte joined #mojo
13:55 Grinnz karjala_: the default exception page does have the stack trace....
13:55 Grinnz the development mode one of course, in production you should never have that visible
13:58 osfabibisi joined #mojo
14:06 zivester joined #mojo
14:08 Lee joined #mojo
14:17 Lee_ joined #mojo
14:20 karjala_ Grinnz, oh, found it. You need to click for more somewhere. ok
15:06 maschine joined #mojo
15:22 stryx` joined #mojo
15:28 gryphon joined #mojo
15:29 PryMar56 joined #mojo
15:41 Pyritic joined #mojo
15:46 dod joined #mojo
15:47 yysachinyy joined #mojo
16:15 Lee joined #mojo
16:17 yysachinyy joined #mojo
16:26 Pyritic joined #mojo
16:26 rshadow joined #mojo
16:49 rshadow joined #mojo
16:52 disputin joined #mojo
17:19 PopeFelix joined #mojo
17:32 stryx` joined #mojo
17:43 mib_i4ispc joined #mojo
18:04 Pyritic joined #mojo
18:13 sh14 joined #mojo
18:16 howitdo joined #mojo
19:08 dikim joined #mojo
19:12 eseyman joined #mojo
19:19 rshadow joined #mojo
19:43 itaipu joined #mojo
20:08 tyldis Grr. I'll miss TPC In AMS :(
20:21 armen joined #mojo
20:56 Janos joined #mojo
21:06 jberger tyldis: come to TPC in DC
21:06 jberger heh, though I'm not sure I'd necessarily want to subject anyone to come to the US under His Orangeness
21:07 tyldis I wanted to, but I'm on vacation then. My boss has summoned me to a different non-developer conference in Utah at the time of TPC in AMS.
21:07 tyldis Sad year for me.
21:09 tyldis And yeah, traveling to the US feels risky these days. I'm certainly not going to retweet any of your tweets.
21:09 tyldis That would have me barred instantly.
21:09 tyldis ;)
21:12 disputin joined #mojo
21:13 jberger honestly even I'm a little nervous about my twitter
21:13 jberger and the fact that I'm worried worries me even more
21:14 tyldis I would put up some kind of canary service if I were you
21:14 jberger but I have citizenship going for me
21:14 jberger and I'm careful not to say anything that even remotely sounds threatening
21:14 jberger (not that I would, but I mean I don't even want it to sound that way)
21:15 jberger I've thought of building a "dead mans switch" service for going across borders
21:15 tyldis Yeah, making it risky for your own citizens to return home is rather dramatic.
21:15 jberger "if you don't hear from me in 2 hours, go nuts"
21:16 tyldis Your next CPAN project?
21:16 tyldis ;)
21:16 tyldis DeadManSwitch::jberger - if no new release within 24 hour assume missing.
21:18 jberger it would be more like a web service that you register that you are going to be going through customs and if you don't respond to it to cancel start tweeting on your behalf or other social things ..
21:18 jberger the general problem being that if stuff goes sideways at the border it can be very hard to keep your means of communication
21:18 jberger ie, they take your phone pretty quickly
21:18 perlpilot joined #mojo
21:22 jberger I can't find the story, and the one I'm thinking of is actually about Britain, but there was a really compelling case about a year ago
21:23 tyldis Oh. Bad times.
21:23 purl bad times are worth it when, for instance, when the 4 year old realizes that repeat 4 [fd 100 rt 90] makes a square.
21:23 jberger ah here it is: https://medium.com/@rachelnabors/wtfuk-73009d5623b4
21:24 jberger finally found my google-fu
21:25 jberger tldr, she was going to a conference, got tripped up by one of their questions, was held secretly at heathrow for 3 days and no one knew where she was
21:25 jberger they took her phone early on so she couldn't tell anyone
21:36 tyldis Reading it, long
21:36 tyldis But yeah, I fear something similar whenever traveling
21:41 nic tbf the staff at Heathrow regularly go missing for like 3 days at a time
21:41 Grinnz jberger: yikes
21:45 jberger funny that two of my biggest "oh s^%$" moments about the state of the western culture were not from the US
21:45 jberger that one and the time that the Le Pen people kicked out the reporter
21:45 jberger pretty violently
21:45 jberger of course, both have close parallels to the US
21:46 jberger but maybe because they weren't in the US I happened to see them more (coverage concerns)
21:53 hertzhaft joined #mojo
22:16 Grinnz https://www.youtube.com/watch?v=4h3m7B4v6Zc
22:16 howitdo joined #mojo
22:16 Grinnz this oughta be fun
22:18 cng I don’t watch trailers, but I do like hearing about new shows. I closed the window (to avoid any spoilers) before I could see any details. Is it a Netflix show?
22:19 Grinnz yep
22:20 Grinnz it's an ensemble cast combining the last 4 netflix marvel shows
22:22 cng interesting; not that I liked all the characters. But a ‘team’ show could be fun.
22:27 Xyem joined #mojo
22:31 Jonis joined #mojo
22:51 PopeFelix I'm trying to implement a delayed action class using Mojo::IOLoop. The idea is that you pass a code ref to the action class, but it doesn't get executed until you "pull the trigger", as it were.
22:52 PopeFelix The way I had been doing it is via Mojo::IOLoop->singleton, but that's a shared event loop, and so pulling the trigger on one causes everything in the loop to execute.
22:54 PopeFelix I thought I might ought to use two IOLoops, but it occurs to me that those IOLoops wouldn't interact with an IOLoop already running in the calling program.
22:55 PopeFelix I'm using Future::Mojo as well.
22:56 Grinnz honestly that sounds more like event dispatch/pubsub than something that needs an event loop
22:56 PopeFelix I'm not sure how to even formulate a good question. What I want to happen is for one Future to do its thing, and if it succeeds, cancel the other Future. But under the hood, I'm pushing things onto the event loop.
23:02 PopeFelix Maybe I should just bite the bullet and try and work up a proper asynchronous file i/o thing.
23:36 Trick14 question to get on the road with DOM
23:38 Trick14 how do i select all div where class starts with 'expander game bonus'
23:46 Grinnz classes are non-ordered; something like this might work: $dom->find('div[class~=expander][class~=game][class~=bonus]')
23:49 Grinnz see https://metacpan.org/pod/Mojo::DOM::CSS for explanations of selectors

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