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

IRC log for #mojo, 2016-10-04

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

All times shown according to UTC.

Time Nick Message
00:25 ivi joined #mojo
00:40 lluad joined #mojo
00:52 Janos joined #mojo
01:32 itaipu joined #mojo
01:39 stryx` joined #mojo
01:40 saki joined #mojo
01:40 batman joined #mojo
01:40 lluad joined #mojo
01:40 jacoby joined #mojo
01:40 Dandre joined #mojo
01:40 marty joined #mojo
01:40 orev joined #mojo
01:42 ashimema joined #mojo
01:47 mib_owzob5 joined #mojo
01:48 mib_owzob5 any idea how to resolve "curl: (7) couldn't connect to host" error installing mojolicious on Perl 5.8
01:49 bpmedley sri : I believe that the proxy issue is that Mojo::Transaction::connection is only called in Mojo::UserAgent::_connected, and that won't happen if the error is a "Connection Refused" from the proxy.  Does that make sense?
01:51 bpmedley mib_owzob5 : May we see your curl command?
01:51 mib_owzob5 curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org -n Mojolicious
01:51 Grinnz mib_owzob5: Mojolicious requires perl 5.10 anyway...
01:52 mib_owzob5 okay..
01:52 bpmedley mib_owzob5 : What version of perl do you have?
01:52 genio perlbrew or plenv up your own (newer) version of Perl
01:53 mib_owzob5 I have 2 server one with 5.8.8 and another with 5.10.1
01:53 mib_owzob5 probably I will use 5.10.1 as per requirement
01:53 genio sounds like EL 5 and 6.  perlbrew yourself up something usable
01:54 Grinnz mib_owzob5: you can try replacing https://cpanmin.us with https://raw.githubusercontent.com/miyagawa/cpanminus/master/cpanm as your curl might be using an out of date ssl
01:54 mib_owzob5 okay..
01:57 Grinnz actually i should have just suggested to use wget, that has a higher success rate for me on redhat systems
01:58 genio finished Luke Cage and was less than amazed, but wasn't bad.  WestWorld looks fun so far (only a short way into episode 1)
02:52 asarch joined #mojo
02:53 jberger The trailer for WW looked awesome
02:57 noganex joined #mojo
03:42 lluad joined #mojo
04:00 purl joined #mojo
04:01 inokenty-w joined #mojo
05:06 ccakes joined #mojo
05:09 sri westworld was awesome
05:17 marcus sri: liked it too
05:42 dod joined #mojo
05:45 dod1 joined #mojo
05:48 dod1 joined #mojo
05:59 jamesaxl joined #mojo
06:01 che-quest joined #mojo
06:29 mbudde joined #mojo
06:30 ccakes joined #mojo
06:30 che-quest joined #mojo
06:36 mbudde joined #mojo
06:46 ivi_ joined #mojo
06:47 AndrewIsh joined #mojo
06:55 ivi_ joined #mojo
06:58 Atog many thanks Grinnz, using each and $_ was definitelly the way.
06:58 Atog but regexp is like ten times faster in that one
07:16 dod joined #mojo
08:02 ccakes joined #mojo
08:09 rshadow joined #mojo
08:20 Janos joined #mojo
08:24 rshadow joined #mojo
08:32 osfabibisi joined #mojo
09:04 Janos joined #mojo
09:06 eseyman joined #mojo
09:11 geira joined #mojo
09:48 Janos joined #mojo
09:56 gregf_ joined #mojo
10:25 Janos joined #mojo
10:37 rshadow joined #mojo
10:41 ccakes joined #mojo
10:44 itaipu joined #mojo
10:56 tchaves joined #mojo
11:09 tchaves joined #mojo
11:35 blonewolfs joined #mojo
11:48 rshadow joined #mojo
11:57 ribasushi joined #mojo
12:00 Janos joined #mojo
12:02 itaipu joined #mojo
12:06 che-quest joined #mojo
12:31 lluad joined #mojo
12:48 zivester joined #mojo
12:53 gizmomathboy joined #mojo
12:53 parv joined #mojo
13:01 Janos joined #mojo
13:13 ramortegui joined #mojo
13:24 Atog https://paste.ee/p/Xcptr I'm playing around with delays and i would like to pass the $token from the second sub to the third along the response. How i could do that?
13:27 jberger there are several ways, check out the pass and data methods of the delay class
13:27 jberger also you can just close over some external data structure
13:28 jberger closing over a data structure can be easier but using the data storage can sometimes help prevent cycles (for some types of closures)
13:29 Atog i'm using data, is realy handy!
13:29 Atog but i don't like when i have to traverse and pass a ton of results
13:30 Atog because it's kinda odd for me to know the order of the stuff as its going
13:30 Atog if i pass the stuff i need along the same response i won't have to do any control at all on the next step
13:32 Atog i'll try to pass the delay object yo the api_call helper and try to build the response there
13:33 ptolemarch joined #mojo
13:55 PryMar56 joined #mojo
14:00 gregf_ joined #mojo
14:05 jberger I find that passing a delay object around is usually an anti-pattern
14:05 jberger sounds like you want the pass method
14:15 tchaves joined #mojo
14:22 Atog heh, returning $self->$callback('ASD', @_) in the api_call helper seems to do the trick
14:22 Atog thanks jberger!
14:23 asarch joined #mojo
14:42 jabberwok joined #mojo
14:43 mcsnolte joined #mojo
14:44 jabberwok I used Mojolicious::Plugin::ACME successfully once to create a certificate, but now when I run it again it freezes. Deleted the *.crt *.key files and still no luck re-generating a cert. And the 'revoke' command isn't defined? Trying to make several certs for multiple subdomains *confused*
14:58 disputin joined #mojo
15:00 zivester joined #mojo
15:02 jberger jabberwok: have you updated M::P::ACME?
15:02 jberger hopefully you kept your account key file
15:03 jberger that is your identity
15:12 jabberwok cpan says Mojolicious::Plugin::ACME has an unparsable version number
15:14 jberger Mojo::ACME
15:15 jabberwok ah
15:15 jabberwok 0.04 -> 0.07
15:15 jberger ok that makes sense
15:15 jabberwok ta-da
15:15 jberger should work after that
15:16 jabberwok =throws glitter=  magic!
15:16 jberger LE changed their terms acceptance, which is baked into the module
15:16 jberger I'd try to make that more forgiving if I completely understood how it worked
15:16 tchaves joined #mojo
15:17 jberger https://metacpan.org/changes/distribution/Mojo-ACME#L10
15:17 jabberwok =nod= the intertubes are littered with:  Beware Here Lye Deep Magicks
15:17 jberger also the error reporting before 0.07 was pretty terrible
15:18 jberger it should be somewhat better now
15:18 jberger though I'm sure there is still room for improvement
15:19 jabberwok muchas gracias.  is it possible to have multiple certs for possibly hundreds of subdomains? or should i just spring for a 'real' wildcard cert
15:19 pink_mist it's possible to have hundreds of certs for hundreds of subdomains
15:19 jberger wait 1 s
15:20 jberger read this before you go generating tons of certs: https://letsencrypt.org/docs/rate-limits/
15:20 pink_mist just a matter of obeying the LE requests for <timeframe> limits
15:20 pink_mist (unsure what the limit is)
15:20 pink_mist s/for/per/
15:21 jberger ok so its up to 100 domains per cert
15:21 jberger well wait
15:21 jberger 100 names per cert
15:22 jberger 20 certs per domain per week
15:22 jberger so that's 2000 subdomains per domain per week that you can issue if you do it right
15:23 jabberwok excellent. -- we would be adding perhaps one a week, at least until we surpass etsy ... [evil laugh]
15:23 jberger at sc we might actually have to request an exception
15:24 jberger we are doing something totally different and might actually hit some limits
16:03 zivester joined #mojo
17:01 Triskelion joined #mojo
17:02 dod joined #mojo
17:29 rshadow joined #mojo
17:35 lluad joined #mojo
17:41 itaipu joined #mojo
17:47 sri first day at suse spent with bureaucracy and unboxing a new laptop :)
17:48 sri the commute is going to kill my mojolicious time for the next 6 weeks though, 40 minutes in each direction :/
17:49 pink_mist driving yourself, or using public transport?
17:49 sri public transport
17:49 purl rumour has it public transport is a modernist concept
17:50 pink_mist if your public transport is good enough maybe it'd be doable to get some mojo work done on there? :P
17:51 sri i'm about here https://www.google.de/maps/place/Nuremberg/@49.4622595,11.1556839,15z/data=!4m5!3m4!1s0x479f57aeb5b61cd3:0xdd5daf85a98c21b7!8m2!3d49.45203!4d11.07675?hl=en
17:54 jberger taking a breather from mojo might be useful for you though, a little refresher
17:55 rshadow joined #mojo
18:18 spicyjac1 bus or tram?
18:18 Jonis joined #mojo
18:18 * spicyjac1 works on a bus, and also has a 40 minute ride in each direction
18:32 sri city train, subway and 15 minute walk
18:34 umask001 joined #mojo
18:36 sri the subway is kinda cool, fully automated and driverless
18:45 sri allright, optimization question, imagine you have a laptop with a 512gb ssd and a 1tb hdd, and you want to dual boot windows and linux, how do you partition those? :)
18:47 jberger how big is windows these days?
18:48 sri 20-30gb
18:50 mpapec eXfat for 1tb if it is for storage only
18:51 jberger then I'd say maybe 200GB Windows, 150GB Linux, 2xRAM Linux swap, remaining SSD for Linux /home, HDD in some multipurpose format for storage
18:52 jberger maybe even less for Linux /
18:52 jberger 100GB?
18:52 purl i guess 100GB is insane
18:52 jberger thanks purl, botsnack
18:52 purl :)
18:52 sri interesting idea
18:54 jberger I love putting /home on a separate partition, one of my favorite things about linux
18:54 jberger clean reinstall of the os is then possible without risk to you /home
18:54 jberger s/you/your/
18:57 spicyjack you could reuse the windows partition for big file storage, and keep things that need more perms on the linux side
18:57 spicyjack most distros, you can get up and running with tools for way under 20G
18:57 spicyjack probably closer to 7 or 8G
18:58 Grinnz when i want to share storage between windows and linux, i just make it NTFS
18:58 Grinnz as long as file permissions aren't important
18:58 Grinnz like, linux's NTFS drivers are at a point now where you might as well just do what windows wants
18:58 pink_mist yeah, same
18:59 pink_mist if shared storage was a priorit, I'd use the 1tb ssd as a complete ntfs volume, and use that for most of my data; the ssd would be where the OS:en lived
18:59 sri i messed up earlier and kept windows on the ssd and installed linux to the hdd :S
18:59 pink_mist *priority
19:00 sri didn't really think about it, was just happy i got it working ;p
19:00 sri but now i feel the itch to optimize
19:00 Grinnz i'd definitely keep swap and root for linux on the ssd, home depending on what i'm going to be launching from home
19:01 sri to be fair, that thing has 32gb ram, nothing's gonna get swapped
19:02 genio That's a crap-ton of ram in a laptop
19:02 Grinnz heh
19:04 jberger oh wow, yeah, 2xRAM for swap would be overkill then anyway
19:04 jberger IIUC the swap partition is used when suspending linux, so you still want >1xRAM for swap
19:05 jberger but that (a) could be wrong and (b) assumes you suspend a linux laptop, which I've never really gotten to work successfully
19:06 Grinnz jberger: only suspend to disk (hibernate), but yeah, suspend to ram or to disk are generally iffy
19:12 disputin joined #mojo
19:16 disputin joined #mojo
19:35 sri google just can't do hardware
19:36 sri that pixel phone is so boring
19:39 jberger my friend that worked for (formerly) Motorola Mobility no longer works there so, I don't care at all :-P
19:40 Grinnz if it doesn't have a model with a <4.5" screen, i don't care
19:41 sri i like 5" screens and android
19:41 sri the nexus 5 was awesome for its time
19:42 * sri wouldn't mind a non-exploding samsung s7 with stock android
19:48 jberger I like my s7, though I wonder if the screen is a little more prone to cracks than my s3 :s
19:48 jberger I now already have 2 small-ish cracks, where my s3 went its entire life without getting one
19:51 marcus still waiting for my iphone 7 :/
19:52 marcus the stupid tech company my new work buys things from is supposed to get it back in stock tomorrow.
19:57 andy_ joined #mojo
19:59 sri marcus: don't you listen to apple marketing? those cracks are now just called patina and are a feature! ;p
19:59 sri umm, jberger
19:59 marcus sri: I got the matte black
20:00 jberger heh
20:01 jberger if they can get apple users to believe that, they are more sheep-like than I thought they were
20:01 jberger on an android phone they are just cracks :-P
20:02 jberger luckily both are small and neither reach the display, they only are at the border
20:04 marcus are we talking about the iphone 6+ drama?
20:04 marcus http://ifixit.org/blog/8309/iphone-6-plus-gray-flicker-touch-death/ ?
20:05 martin joined #mojo
20:08 disputin joined #mojo
20:57 orev joined #mojo
21:10 sri this really annoys me http://www.dagolden.com/index.php/2682/a-discussion-of-dbix-class-governance-and-future-development/
21:10 sri i think xdg is overstepping
21:10 sri the pause admins are not the curators of cpan
21:11 sri add new permission levels to pause so the founder can retain control forever or shut up
21:12 sri when mst gave up first-come he knew what he was doing
21:12 jberger I added a comment, mostly to that effect
21:13 jberger well, to the effect of they should add a level
21:13 jberger I think I'm siding with mst now that there is evidence that riba agreed to take first-come only administratively
21:14 jberger but I think that adding that level is a bigger deal than how this fight turns out
21:33 nic linux hibernate is fraught with freezes upon boot, and needs to be debugged model-by-model
21:34 nic but linux suspend is awesome
21:34 nic It's one of the reasons I can't face booting into Windows any more
21:49 marty joined #mojo
21:57 ribasushi sri / jberger: you both got mail
21:57 ribasushi digging in the past is a dangerous thing
21:59 jberger I'm not digging
21:59 jberger but yes, I think the history of this DOES matter
21:59 ribasushi hence I emailed you a tad more history
22:02 jberger I'll respond on list, but TL;DR, I read both of those comments differently than you seem to
22:02 ribasushi fair enough, I'm of to bed, will read tomorrow
22:02 jberger ok
22:02 jberger cheer
22:02 jberger s
22:08 batman joined #mojo
23:15 disputin joined #mojo
23:39 marty joined #mojo
23:56 vytas joined #mojo

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