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

IRC log for #mojo, 2015-10-27

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

All times shown according to UTC.

Time Nick Message
00:03 Grinnz mishanti1, that is what Test::Mojo is for
00:04 Grinnz you don't want to try to send requests and listen for requests at the same time, with Test::Mojo it will just query its instance of the app, no listening involved
00:06 mishanti1 Grinnz: Yeah, and Test::Mojo is working brilliantly for that. :) What I am trying to achieve here is mocking an 'external' webservice that my app calls in a controllers action.
00:07 mishanti1 In other words starting a server that give a predetermined set of responses (errors, etc), update my apps config in test to point to that instance, then run the tests for my controller.
00:07 Grinnz PopeFelix wrote this recently, it might be of use https://metacpan.org/pod/Mojo::UserAgent::Mockable
00:08 mishanti1 Grinnz: He was actually here earlier and gave a couple of pointers on that. :)
00:08 mishanti1 Though what I am trying to do is slightly different.
00:08 sri and if you look into that module you'll see that the functionality is basically built into Mojo::UserAgent already
00:09 mishanti1 I'll have a look at it again. Perhaps I'll spot something I missed earlier.
00:14 mishanti1 So, if I understand you correctly I should be able to use the functionality of Mojo::UserAgent to control how it behaves _inside the controller_ without affecting the behaviour of Mojo::UserAgent used in Test::Mojo.
00:14 mishanti1 Is that correct?
00:15 good_news_everyon joined #mojo
00:15 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vWPaj
00:15 good_news_everyon mojo/master 1ee8b10 Sebastian Riedel: add an example for a mock web service
00:15 good_news_everyon left #mojo
00:16 sri oops
00:16 good_news_everyon joined #mojo
00:16 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vWPV0
00:16 good_news_everyon mojo/master e8a6479 Sebastian Riedel: fix typo in example
00:16 good_news_everyon left #mojo
00:30 good_news_everyon joined #mojo
00:30 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vWPo9
00:30 good_news_everyon mojo/master 10488d3 Sebastian Riedel: start with a fresh application
00:30 good_news_everyon left #mojo
00:33 genio sri++ # I never thought to do the mock tests that way.  I just created a Mojolicious::Lite app for my mocks
00:35 Ptolemarch joined #mojo
00:36 sri basically the same thing https://github.com/kraih/mojo/blob/master/lib/Mojolicious/Lite.pm#L53
00:36 sri Mojolicious::Lite sets a global default
00:37 sri (if you meant in the same file)
00:38 genio yea.  https://github.com/genio/www-salesforce-nb/blob/master/t/12-rest_delete.t#L20-L39   I think I pretty much stole from some of Mojo test files on how to do that
00:56 genio sri: https://github.com/kraih/mojo/blob/master/lib/Mojo/UserAgent.pm#L625  shouldn't that be app->routes->get() ?
00:57 genio Can't locate object method "get" via package "Mojolicious"   otherwise
01:20 dave if I use Mojo::Exception->throw() ... how do I get it to print a stack trace if I'm not in a Mojo application?
01:26 sri genio: oops
01:27 good_news_everyon joined #mojo
01:27 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vWP97
01:27 good_news_everyon mojo/master 3aa5db9 Sebastian Riedel: the router is needed here
01:27 good_news_everyon left #mojo
01:30 Ptolemarch joined #mojo
02:03 Zoffix joined #mojo
02:08 PryMar56 joined #mojo
02:16 concerned joined #mojo
02:18 concerned I have no clue where to start with doing twitter API calls with oauth tokens, apparently I have to make some kind of signature and stuff... is this the right place to talk about this? I'd just like suggestions on how to do this
02:18 concerned I'm using Mojolicious::Plugin::Web::Auth
02:19 Grinnz for a mojolicious application?
02:19 concerned yes, right now it's still in Mojolicious::Lite
02:19 genio https://metacpan.org/pod/Mojolicious::Plugin::OAuth2 likely is a starting point
02:20 concerned ooh, that looks better
02:20 concerned I just googled "mojolicous twitter auth" and came up with Mojolicious::Plugin::Web::Auth
02:20 concerned but this one looks a lot better, thanks
02:24 Ptolemarch joined #mojo
02:29 zivester joined #mojo
02:52 inokenty-w joined #mojo
02:58 davido_ joined #mojo
03:46 asm35 joined #mojo
03:59 irqq joined #mojo
04:30 Ptolemarch joined #mojo
05:23 aborazmeh joined #mojo
05:24 Ptolemarch joined #mojo
06:21 Vandal joined #mojo
06:58 dod joined #mojo
07:03 dod joined #mojo
07:17 dod joined #mojo
07:30 Ptolemarch joined #mojo
07:52 batman genio: does twitter support oauth2 now..?
08:06 Gedge joined #mojo
08:22 eseyman joined #mojo
08:25 Ptolemarch joined #mojo
08:26 aborazmeh joined #mojo
08:26 trone joined #mojo
08:30 HtbaaPi I noticed something with Minion. My worker, even having no jobs to do was taking up a lot of CPU
08:31 HtbaaPi I'm using the file backend. It had run quite a bit of jobs actually and the resulting file was about 16mb
08:31 HtbaaPi deleting the file and starting a worker again and cpu usage is back to near zero
08:32 HtbaaPi total nr of jobs was a little over 5100 by the way
08:32 HtbaaPi is this a known issue
08:55 ashimema joined #mojo
09:07 ashimema joined #mojo
09:38 punter joined #mojo
09:39 Ralesk joined #mojo
09:46 CIAvash joined #mojo
09:57 irqq joined #mojo
10:12 vanHoesel joined #mojo
10:15 nic HtbaaPi: that's expected with the File backend
10:15 nic but it's easy to mitigate by setting your cleanup thresholds
10:27 irqq joined #mojo
10:29 HtbaaPi nic: I don't mind the filesize. But the CPU usage when there's nothing to do seems weird. Nearly 100%
10:30 nic HtbaaPi: How does it know there's nothing to do?
10:31 Ptolemarch joined #mojo
10:37 HtbaaPi nic: looking at the stats there were no jobs to do. Only about 20 failed ones
10:50 asarch joined #mojo
11:06 espent_ joined #mojo
11:17 batman HtbaaPi: du you have EV installed? ($ mojo version)
11:25 Ptolemarch joined #mojo
11:35 HtbaaPi batman: yeah I got 4.21
11:41 nic HtbaaPi: my point is it only finds out there's nothing to do by... looking through the file... which is growing
11:42 nic if you keep the file small, times are also small
11:43 HtbaaPi ah I see
11:43 HtbaaPi nic: I'll look into ways to shrink the file
11:43 nic one option is let it clear out completed jobs
11:53 irqq_ joined #mojo
12:09 punter joined #mojo
12:29 ajr_ joined #mojo
12:41 HtbaaPi nic: thanks. I've set remove_after to a lower value
12:42 HtbaaPi I'm not using PostgreSQL or MySQL, so can't really use those as a backend. I could, of course, but don't want the extra overhead
12:42 HtbaaPi a SQLite Minion Backend would be neat though :)
12:42 nic was just about to say that :)
12:43 nic I doubt there's much to do, thanks to Grinnz's recent module
12:45 kaare_ joined #mojo
12:47 hernan605 joined #mojo
13:02 jontaylor joined #mojo
13:18 gryphon joined #mojo
13:22 davido_ joined #mojo
13:29 genio batman: https://dev.twitter.com/oauth/reference/post/oauth2/token  It seems so.  I just glanced quickly before suggesting the OAuth2 plugin
13:29 batman genio: cool! thank you
13:31 Ptolemarch joined #mojo
13:34 Lee their oauth2 implementation look odd
13:34 Lee no auth_code and you need to supply "Authorization: Basic" header to get the token
13:34 Lee i'm not sure exactly what flow that is...
13:35 Lee quick refresher of rfc6819 seems to suggest they've rolled their own
13:36 genio It looks similar to the username/password OAuth2 flow for Salesforce.  Except that in salesforce you send the username and password as separate form fields rather than the Basic Auth.  It seems odd indeed, but 6 of one, half dozen of the other.
13:36 genio https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_username_password_oauth_flow.htm
13:38 Lee ok, https://dev.twitter.com/oauth/application-only explains it - "Note that OAuth 1.0a is still required to issue requests on behalf of users." - so this is possibly not the oauth2 you're looking for...
13:40 Grinnz HtbaaPi, a minion backend for SQLite would be pretty trivial, but using a file backend in general means that there won't be any real pubsub, so queueing will be a little inefficient
13:40 genio That's one thing I like about Atlassian, you can use Basic over HTTPS for tools that shouldn't be web accessible.  Much less hassle
13:40 Grinnz HtbaaPi, but I'll put one together if you think it's something you'd use
13:42 genio Is there a need to with DBM::Deep as an option?
13:42 Grinnz that was my question ;)
13:43 genio sorry, I should have read the scrollback before becoming repetitive
13:43 Grinnz Lee, they have two different APIs. the Application-Only API uses oauth 1.0
13:43 Grinnz the other API is oauth 2.0 and is needed for things like posting tweets IIRC
13:45 Lee oh yeah, all the stuff in the menu on the left... jeez
13:48 Ptolemarch joined #mojo
13:52 neilhwatson joined #mojo
13:59 aborazmeh joined #mojo
14:06 Ptolemarch joined #mojo
14:08 neilhwatson joined #mojo
14:09 hernan605 joined #mojo
14:38 meshl joined #mojo
14:46 lluad joined #mojo
15:01 good_news_everyon joined #mojo
15:01 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vWMS4
15:01 good_news_everyon mojo/master 966d9b7 Sebastian Riedel: rename built-in templates with more descriptive names
15:01 good_news_everyon left #mojo
15:03 sri not sure about mojo/development.html.ep
15:03 sri maybe to mojo/diagnostics.html.ep or so
15:03 CIAvash joined #mojo
15:12 zivester joined #mojo
15:18 PryMar56 joined #mojo
15:18 good_news_everyon joined #mojo
15:18 good_news_everyon [mojo] Grinnz created json_large_integer (+1 new commit): http://git.io/vWMFI
15:18 good_news_everyon mojo/json_large_integer 5a93ac3 Dan Book: initial attempt at decoding large integers as strings (not portable)
15:18 good_news_everyon left #mojo
15:19 sri HtbaaPi: if you have an idea for how to reduce cpu usage of Minion::Backend::File, ideas are welcome
15:20 sri i still have an older patch btw. that didn't work https://gist.github.com/anonymous/aa72a382604644fb8d2e
15:27 good_news_everyon joined #mojo
15:27 good_news_everyon [mojo] Grinnz force-pushed json_large_integer from 5a93ac3 to 878fc41: http://git.io/vWMAy
15:27 good_news_everyon mojo/json_large_integer 878fc41 Dan Book: initial attempt at decoding large integers as strings (not portable)
15:27 good_news_everyon left #mojo
15:32 jberger Grinnz: return ()
15:32 jberger need to disambiguate the () as +()
15:33 Grinnz_ huh, that didnt seem to cause a problem but yeah
15:34 sri do you "need" to or do you not?
15:34 jberger I've been bitten hard by keyword () before so I see it now
15:34 sri i take that as a no ;p
15:34 jberger sri is right, probably don't even need the round braces
15:34 dvinciguerra joined #mojo
15:35 good_news_everyon joined #mojo
15:35 good_news_everyon [mojo] Grinnz force-pushed json_large_integer from 878fc41 to 9af9f10: http://git.io/vWMAy
15:35 good_news_everyon mojo/json_large_integer 9af9f10 Dan Book: initial attempt at decoding large integers as strings (not portable)
15:35 good_news_everyon left #mojo
15:40 punter joined #mojo
15:51 good_news_everyon joined #mojo
15:51 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vWDIk
15:51 good_news_everyon mojo/master 0515dfb Sebastian Riedel: a few more links
15:51 good_news_everyon left #mojo
15:52 jberger Grinnz_: now that that is out of the way, can that even work?
15:53 genio I think Apple's lying to me.  OS X installation  "About 0 seconds remaining" for the last few minutes.
15:53 jberger comparing a value as a number as greater than some max precision limit seems fraught with peril
15:53 jberger genio: Apple never lies
15:53 jberger about anything
15:53 good_news_everyon joined #mojo
15:53 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vWDIb
15:53 good_news_everyon mojo/master 60bafea Sebastian Riedel: fix typo in link
15:53 good_news_everyon left #mojo
15:54 Grinnz_ jberger: it will be iffy at the borderline i'm sure, but it does work for the tests i added there
15:54 jberger Steve Jobs is a hero of al ... ALL GLORY TO THE HYPNOTOAD!!
15:55 jberger doesn't integer overflow end up rolling the value back to -MAX
15:55 Grinnz_ no, the value becomes a float
15:55 Grinnz_ which is the whole problem :P
15:56 jberger ah
15:56 jberger right
16:02 genio heh.  reboots finally and now "About 23 minutes remaining"
16:03 meredith your computer is just fine but i fear you may have lost sync with apple reality
16:09 * sri kicks the reality distortion field generator
16:11 ajr_ joined #mojo
16:19 irqq_ joined #mojo
16:21 sri so, no opinions on a good name for mojo/development.html.ep?
17:06 disputin joined #mojo
17:12 ZoffixW joined #mojo
17:12 jberger sri: I didn't see anything about a name for that?
17:13 jberger you mean because calling it development doesn't really mean anything?
17:13 ZoffixW debug.tmpl
17:13 jberger I don't mind debug
17:13 jberger diagnostic
17:14 jberger dump
17:14 jberger (seems to need a d :-P )
17:27 dod joined #mojo
17:28 marcus https://twitter.com/MartinHerren1/status/658942213490155521 why do I not own such a cup? :-/
17:31 marcus Oh I hadn't realized sri had reopened the spreadshirt shop. Ordering one now :)
17:31 ZoffixW \o/
17:36 sri been open for quite some time ;p
17:37 sri i've changed the print method recently though, from velvety to smooth http://www.spreadshirt.com/help-C1328/categoryId/9
17:39 sri marcus: there's a huge link on http://mojolicio.us
17:39 marcus sri: Yeah, that's how I found it now
17:39 Grinnz ooo raptor mug
17:40 marcus I ordered a red cloud pirate one. Going to be my workplace mug
17:40 marcus maybe I'll finally get someone to use mojo at uio :)
17:40 sri am i the only one who likes the black mug?
17:40 ZoffixW No. I like black mugs. Because you can't see tea residue and no one bugs me that I need to wash my cup :P
17:41 sri ewww
17:41 Grinnz lol
17:41 Grinnz i like the black mug
17:42 marcus sri: I like the black one too, but I figured the red one would stand out more :)
17:42 sri if you used this as your coffee mug it would stand out even more ;p https://shop.spreadshirt.de/kraih/-A100081806
17:43 ZoffixW This is my current Mars One mug: http://i.imgur.com/jINuuOH.jpg
17:43 Grinnz haha
17:43 Grinnz ZoffixW, slightly stained
17:44 ZoffixW Perfectly clean! :)
17:49 cstamas joined #mojo
17:55 good_news_everyon joined #mojo
17:55 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vWDpZ
17:55 good_news_everyon mojo/master e4040bd Sebastian Riedel: rename another template
17:55 good_news_everyon left #mojo
17:55 sri jberger: think i like mojo/debug.html.ep
17:56 ZoffixW \o/
17:57 sri this is what it looks like in the logs https://gist.github.com/anonymous/0381d21407a603247183
17:57 * jberger once again covets the coffee and beer mugs
18:00 punter joined #mojo
18:02 Grinnz_ +1
18:36 damaya joined #mojo
18:45 asm35 joined #mojo
18:53 disputin joined #mojo
18:59 genio Apple--
19:00 ZoffixW What I find amusing is how 10 years ago all the "hackers" wouldn't be caught dead with a Mac, but now all seem to be using one. I wonder what happened. $company buying one for $work stuff, so you figure you use one at home too? Then you get used to it?
19:01 Grinnz_ ZoffixW: "hacker" has become a hipster thing :)
19:01 ZoffixW heh
19:02 Grinnz_ ZoffixW: also it helps that it's OS X now, and not OS/2
19:04 jberger $company bought me one
19:05 jberger I only love its weight and battery life
19:06 sri what other laptop is there for hackers?
19:07 * jberger also has a zareason
19:07 jberger but it weighs a ton, its screen isn't nearly as nice, and its battery life is average
19:08 jberger tbh I haven't turned it on in a whle
19:08 jberger it would probably be a shock
19:08 sri that thing looks gorrible ;p
19:08 sri s/g/h/
19:09 ZoffixW I have my ancient XPS that still works. But I don't usually use laptops. Just the 3-box Synergy combined desktop at $work and a regular desktop at $home. My thought would be the "hackers" would buy a decent Windows laptop, nuke windows and install their favourite flavour of *nix.
19:09 * sri uses laptops exclusively
19:10 sri dell xps 13 seems to be the only reasonably well designed linux laptop out there
19:11 sri now that thinkpads are dead
19:11 ZoffixW I have a 27" ASUS ROG 1440p monitor at home... There's no laptop in the world that satisfy that craving for screen real estate :) Also, half of my job is designing stuff. It'd probably suck doing so on a laptop too :/
19:12 Grinnz_ 15:06:27               <sri> what other laptop is there for hackers?
19:12 Grinnz_ my gigabyte laptop is not bad, but i hate the new optimus stuff, it is such a pain for linux
19:12 Grinnz_ i got that figured out though, so it's smooth otherwise :P
19:13 sri i like dell for this http://www.dell.com/us/business/p/xps-13-linux/pd
19:13 genio I can't use anything but a MBP due to the touch pad
19:13 Grinnz_ for a real linux laptop, the integrated intel video is fine anyway
19:13 Grinnz_ i got the optimus laptop because it can run gaemz
19:14 sri that said, still gonna stick with the macbook, because they are simply the best unix boxes available atm.
19:14 jberger I convinced a buddy to buy a no-os laptop and install linux right as the dual video cards came out
19:14 * Grinnz_ thinks self-built desktops are the best unix boxes available :P
19:15 jberger that was a serious pain
19:15 Grinnz_ jberger: ouch
19:15 Grinnz_ yeah i had no idea how much of a pain the dual intel/nvidia gpus would be
19:15 jberger someone had a python script that could mostly make things work
19:16 * sri is past his compiling your own kernel and messing with thousands of cryptic linux config files phase... since like 2003
19:16 Grinnz_ I installed nvidia drivers which someone fixed to allow the intel driver to load in tandem; and then had to mess with lightdm initialization so it would show up on the built-in display instead of trying to show up on an external display
19:16 Grinnz_ all in all, not too painful, just took a lot of research
19:16 * sri likes it when stuff just works
19:17 Grinnz_ it does, as long as you dont use 2 gpus from different manufacturers at once :P
19:17 jberger and as long as you keep the itunes store happy (yes I've "read" the EULA)
19:18 Grinnz_ i use fedora, so i don't touch "compiling my own kernel" :P
19:18 Grinnz_ that's a gentoo thing...
19:18 sri back in the days it was an all distros thing
19:20 jberger I always used Ubuntu because of the hardware support and ubuntuforums
19:20 sri and you'd buy suse/redhat distros in a store because it was too much to download with your dialup connection... good times
19:20 Grinnz_ heheh
19:20 ZoffixW :D
19:20 Grinnz_ jberger: yeah ubuntu has the "PHP effect" ... popular so it has good support, but it kind of goes off the wagon sometimes
19:21 jberger I haven't been as pro-ubuntu as I used to be
19:21 jberger but it is easy to get started with
19:21 jberger because of $job I'm starting to like FreeBSD, at least as a server base
19:21 Grinnz_ i feel Fedora is pretty easy to get started with these days, the problem is just their inability to bundle anything copyrighted like MP3 libs
19:22 Grinnz_ but that's mostly fixed by installing 2 rpms
19:22 ZoffixW I gave up with Ubuntu when they started shipping Unity.
19:22 jberger I could never use an rpm based distro
19:22 ZoffixW Switched to BodhiLinux then.
19:22 jberger I actually didn't hate unity
19:22 jberger everyone else did
19:22 ZoffixW I hate it with passion.
19:22 jberger I know
19:22 jberger I liked the "search any menu" feature
19:22 Grinnz_ i never used unity, but i hated Gnome 3 enough for both of them
19:23 Grinnz_ luckily fedora has spins, so i never touch the Gnome based spin anymore
19:24 genio I want my workstation to be reasonably simple out of the box.  I want to be able to move from one workstation to another with ease (not much customization needed).  Because of that, I pretty much stick with OS X and Windows for a workstation.
19:24 genio servers are a different thing all together.
19:25 Grinnz_ i'd Fedora all the things for my workstations, if i didn't need windows for gaming and home, and if i could convince them to let me install linux here :P
19:25 Grinnz_ gaming at home *
19:28 mtths joined #mojo
19:28 gryphon_ joined #mojo
19:29 trone joined #mojo
19:32 espent joined #mojo
19:47 dave if yer a masochist like me, you use FreeBSD as a desktop as well as a server base
19:48 cfedde fbsd is not that bad as a desktop.  Especially when you spend most of your time working with rectangles of text.
19:49 dave It's great for that and Emacs. I don't go gnome or kde ... mostly xfce with compiz (because I'm addicted to the scale plugin)
19:50 dave so things like firefox and thunderbird can't talk to each other
19:50 dave which is likely a good thing security wise
19:52 hernan605 make config-recursive   many times
19:54 dave um
19:54 dave yeah I love sitting here selecting options all day :)
19:55 dave of course the options are well documented :/
19:55 hernan605 recently we had a ssl problem...
19:55 hernan605 for a payment system
19:55 hernan605 on a centOS
19:55 hernan605 after many fails, curl was rebuilt and everything worked
19:56 hernan605 turn out centOS compiles curl without SSLv1
19:56 dave ack
19:56 hernan605 if it was fbsd...
19:56 hernan605 that wouldnt happen
19:56 dave er aren't you supposed to be avoiding sslv1?
19:56 hernan605 yes
19:57 hernan605 but the payment system has diferent pools of servers and they use sslv1
19:57 dave don't get me wrong, FreeBSD is one of my fav OSes
19:57 hernan605 its my fav too
19:57 dave nothing, however, is perfect
19:58 dave I still build all my own ports (using poudriere)
19:58 dave but my issue with them is that port writers put in zero docs for options
19:58 dave things like "if you select this, 1500 ports will be compiled along with the one you want"
19:59 hernan605 i understand
19:59 hernan605 anyhow i think thats not port writers problem
19:59 hernan605 would be nice to have!
20:00 dave someone did an options framework that was more modern and included docs...people still didn't include docs
20:00 dave I should probably check my configs again for my desktop ports set
20:01 hernan605 but just listing the options is very nice
20:01 disputin joined #mojo
20:01 dave they need to use mojolicious to present -all- the options for any set of ports in a readable format :D
20:01 dave so you could in theory use lynx
20:02 hernan605 mojo web install tool
20:02 dave lol yeah
20:02 hernan605 :p
20:02 dave heh
20:05 ajr_ joined #mojo
20:15 jberger bdfoy was looking at something like that about a year ago I think
20:16 jberger a mojo-based install tool
20:16 jberger I don't think he knew quite what he wanted though
20:17 damaya joined #mojo
20:18 * Grinnz_ gets the feeling most people making install tools don't know quite what they want
20:29 jberger this was the publically available stuff: http://blogs.perl.org/users/brian_d_foy/2010/04/what-could-a-completely-different-cpan-client-do.html
20:30 jberger since I have access to the private repo I see he still is working on his project, but I don't know what state its in
20:30 jberger and I probably shouldn't say any more than that
20:33 asm35 joined #mojo
20:36 Grinnz_ "We get to not use XML because we don't want to, not because we can't." - made me chuckle
20:37 genio heh. :)  poor XML.  Nobody likes it
20:51 jb360 joined #mojo
20:57 espent joined #mojo
21:06 hernan605 joined #mojo
21:10 irqq joined #mojo
21:22 punter joined #mojo
21:28 ajr_ joined #mojo
21:29 damaya joined #mojo
21:31 gryphon joined #mojo
21:49 meshl joined #mojo
21:52 jberger sri: I'm either having a brain fart or its the end of a long day, but remind me why the transaction is weakend and yet its safe to close over it to make a strong reference?
21:52 jberger I guess because it closes over it but undefs it
22:09 Zoffix_ joined #mojo
23:39 mattastrophe joined #mojo
23:44 sri hmm, i guess Mojolicious::Renderer::_warmup and Mojolicious::Static::_warmup should be part of the public api
23:44 sri we are pretty good about avoiding private methods to be called from outside a class
23:45 sri (otherwise)
23:45 sri making it public doesn't really add much value, besides documentation, but the method will always be there

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