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

IRC log for #mojo, 2016-08-13

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

All times shown according to UTC.

Time Nick Message
00:26 tempire dernit
00:27 tempire http://io9.gizmodo.com/all-hail-this-brilliant-animatronic-hypnotoad-1785143194
01:28 jehdin joined #mojo
01:37 zivester joined #mojo
01:48 ayokh75 joined #mojo
01:55 ayokh75_ joined #mojo
02:13 asarch joined #mojo
02:21 noganex joined #mojo
02:52 disputin joined #mojo
02:53 disputin joined #mojo
03:14 meshl joined #mojo
04:17 jehdin joined #mojo
04:48 disputin joined #mojo
05:33 ayokh75 joined #mojo
05:45 disputin joined #mojo
06:13 disputin joined #mojo
06:39 che-quest joined #mojo
06:59 disputin joined #mojo
07:08 disputin joined #mojo
07:23 Vandal joined #mojo
08:05 kaare joined #mojo
08:19 disputin joined #mojo
09:15 Gedge joined #mojo
09:27 disputin joined #mojo
10:22 batman pretty quiet today compared to yesterday :-)
10:40 Craftsmanship that's what /she/ said ...
10:45 * batman doesn't get that joke.
11:01 Sebbe joined #mojo
11:19 Sebbe joined #mojo
11:29 disputin joined #mojo
12:03 ayokh75 joined #mojo
12:19 kid51 joined #mojo
12:55 cafe joined #mojo
13:09 zivester joined #mojo
13:16 cafe guys, could you please help on an annoying problem? I'm getting this ", <DATA> line 2231" suffix to my compilation error messages whenever I "use Mojo::Base 'SomeClass'" , even on an empty package. This is probably something in my environment.. but I can't find what is causing it. Any ideas?
13:25 pink_mist you could try close DATA; at the end of your code if you don't have any __DATA__ or __END__ section
13:26 pink_mist not sure how well that will actually work with inline templates and such though
13:34 asarch joined #mojo
13:42 cafe tried adding __DATA__ section, but didn't help.. (3 line SomeClass.pm) http://pastebin.com/MBdCjM8x
13:43 pink_mist *adding* __DATA__ section?! 0_o that's like the absolute opposite of what I suggested
13:56 cafe I mean, tired with and without __DATA__, also tried close DATA (just now), didn't work either
14:05 batman cafe: it would be useful to see some code and/or the complete error message.
14:23 cafe batman, pasted sample code plus complete error message at http://pastebin.com/MBdCjM8x
14:38 Craftsmanship I only see that warning with ::Controller, if i pick SomethingStupid or strict, I don't get DATA in the warning...
14:40 batman cafe: Mojo::Base imports strict and warnings, so you need to declare all your variables
14:40 batman using my $foo = 1;
14:41 batman cafe: https://metacpan.org/pod/Mojo::Base#DESCRIPTION
15:13 AirDisa joined #mojo
15:21 cafe joined #mojo
15:21 good_news_everyon joined #mojo
15:21 good_news_everyon [mojo] kraih pushed 1 new commit to master: https://git.io/v6ui3
15:21 good_news_everyon mojo/master 8414486 Sebastian Riedel: fix a few inconsistencies in the documentation
15:21 good_news_everyon left #mojo
15:26 sri now i'm more ok with the changes
16:00 marty_ joined #mojo
16:01 marty joined #mojo
16:10 jberger sri: is the constant Mojo::IOLoop::Client::TLS considered public api?
16:11 sri no, we only have one class with public constants i believe
16:12 jberger is there a recommended way to check for mojo tls support in a client library?
16:12 jberger I'm going through my rather embarrassing backlog of open tickets and PRs
16:13 jberger https://github.com/jberger/Mojolicious-Command-nopaste/pull/6
16:13 jberger I don't want to require IO::Socket::SSL in nopaste
16:13 jberger but that means I need to check if is available before allowing the user to use the gist service
16:14 sri i remember asking if Mojo::IOLoop should have a has_tls_support or similar method a long long time ago
16:14 jberger I COULD just check for IO::Socket::SSL 1.94 but that would be fragile if Mojo decides to use say a newer version of ::SSL or such
16:14 sri and everybody said no
16:14 jberger I don't recall that
16:14 sri well, you should have said yes then ;p
16:15 jberger well the past is the past
16:16 batman is it too late to add it now?
16:16 batman jberger: can't you just run the request and show an error message if it fails?
16:16 jberger that is the other option, and I will add it too
16:17 jberger I just was wondering if there is a generic way to address this (and fail early is always nice)
16:17 batman sounds like an optimisation that probably isn't required...
16:18 batman i would check for IO::Socket::SSL early and then just show some nice error message on failing tls/ssl
16:19 jberger I'm already checking for status class isn't 200, which isn't the same admittedly
16:20 jberger I guess I could check for error and not exists $error->{code}
16:20 * batman usually just show $error->{message}
16:20 jberger I guess that is what this does: http://mojolicious.org/perldoc/Mojo/Transaction#error
16:21 jberger I want to show the body if there is a response but it is not 200
16:41 cpan_mojo Mojolicious-Command-nopaste-0.09 by JBERGER https://metacpan.org/release/JBERGER/Mojolicious-Command-nopaste-0.09
16:59 sri think batman was actually the main opposition to Mojo::IOLoop::has_tls, because he wanted the api to be as minimal as possible
17:00 jberger maybe the IOLoop is a strange place to put that
17:01 jberger anyway, once I saw the error example in the Mojo::Transaction documentation I realize that I was just doing something dumb
17:10 batman sri: that is not impossible...
17:10 Janos joined #mojo
17:10 batman must have been when i was young and stubborn...............................
17:10 batman ;)
17:17 sri batman: like yesterday? ;p
17:18 sri (think you were younger than me at least)
17:27 batman yeah, hehe
17:39 jberger when did Mojo::JSON::true/false first get exported?
17:40 jberger 5.54 perhaps?
17:42 sri it's funny how i complained about overwatch being too expensive for the content, yet i already spent more time on it than most AAA titles ;p
17:43 FatalNIX joined #mojo
17:43 FatalNIX Hey guys
17:44 sri jberger: yes https://github.com/kraih/mojo/blob/v5.53/lib/Mojo/JSON.pm
17:45 jberger cool thanks
17:45 sri o/
17:45 jberger I'm trying to find the minimum version Galileo supports
17:45 jberger FatalNIX: hi
17:45 purl hello, jberger.
17:45 jberger not you purl
17:45 purl piss off then, hippie.
17:45 sri oi!
17:45 jabberwok fight fight fight
17:45 jberger man I missed purl
17:45 * jberger hugs purl
17:45 purl jberger: get off me, you botvert!
17:47 FatalNIX jberger: you played with Rethinkdb yet? :D
17:48 jberger FatalNIX: no, I've stuck pretty tightly to postgres lately
17:48 FatalNIX haha
17:49 jberger remind me what the Rethinkdb features are?
17:51 jberger Galileo officially now requires 5.54
17:51 jberger probably could make it work older than that, but meh
17:51 jberger interestingly I had to fix one usage of Mojo::DOM::attr (or maybe it was the way I was calling it with map)
17:52 jberger $dom_coll->map(attr => id)->each;
17:52 jberger had to become
17:52 Craftsmanship jberger: what's so fancy in 5.54?
17:52 jberger $dom_coll->map(sub{ $_->{id} })->each;
17:52 jberger Mojo::JSON::true and Mojo::JSON::false
17:53 jberger remember that we are at Mojo 7.01 so I don't spend too much time working on pre-6.0 compat anymore
17:54 FatalNIX jberger: Rethinkdb is similar to redis. It has support for a lot of nifty things like changefeeds, etc and is extreme;y scalable
17:54 FatalNIX I'm testing it as the message passing backend for my game
18:12 * batman is excited about the progress for convos lately :)
18:12 batman https://drive.google.com/open?id=0B_tCHIu9z7YSbXhkcG10TDlaUE0
18:14 sri batman: wow, looks pretty
18:14 batman thanks!
18:14 batman there have been quite a few iterations, but i feel pretty happy about the latest layout
18:15 batman i'm currently focusing on ux and functionality. don't want another ui redesign right now, hehe
18:16 jberger batman++
18:16 batman hm... maybe i should've saved that image in full size
18:17 jberger I'll probably move to that one soonish
18:17 jberger convos is such a big part of my daily life I worry about switching too soon ;-P
18:18 jberger but I should, to help you beta test if nothing else
18:18 jberger hopefully contribute here and there
18:18 batman jberger: would be awesome! marcus implemented "seen" in the backend a couple of days ago
18:19 batman it's really not hard to do stuff, as long as you ask where to code.
18:22 batman i like taking screenshots while developing... cool to see the development: https://drive.google.com/open?id=0B_tCHIu9z7YSOTY5WnE5Mzk3M0E
18:27 batman here is a desktop screenshot as well https://drive.google.com/open?id=0B_tCHIu9z7YSTllpc0FaMFdER2s the "notifications" on the right side is pretty crappy... need to redesign that box later on
18:30 jberger man I really don't remember the last time I had a day off with (a) the time, (b) the mental energy, (c) no other wants, all such that I can just curl up with some outstanding CPAN module issues
18:32 batman :/
18:32 batman and i thought i had little time...
18:33 FatalNIX dafuq
18:33 FatalNIX I must be using the Rethinkdb module wrong
18:34 FatalNIX trying to insert on database testing and it's using the database "test" instead lololol
18:34 jberger batman: but when I was doing that job queue all my mental energy was spent at the end of the day
18:35 FatalNIX jberger: are you scared of production websites using galileo?
18:35 jberger I could hardly convince myself to pick up a laptop at night, let alone code with it
18:35 jberger it was a fun project, and I'd still like to open source it when I get the chance
18:35 jberger it solves some very different problems than Minion does
18:35 jberger FatalNIX: not scared
18:35 jberger but it isn't really a full featured CMS in any real sense
18:35 FatalNIX must be the warranty
18:36 jberger it does what it does fairly well, but it is limited in other capacities
18:43 batman how silly... twitter doesn't seem to embed images from google drive or photos
18:44 * batman made three similar tweets :(
18:45 FatalNIX batman: wouldn't that need permissions?
18:45 batman FatalNIX: no. i created a sharable link, like the one i posted above
18:46 FatalNIX ok
18:46 FatalNIX I'm not in X so I wouldn't be able to see it anyways heh
18:46 sri batman: the chat.freenode.net link is a bit weird in your tweet
18:46 FatalNIX this my ol' CRT box
18:46 batman you don't have framebuffer?
18:47 FatalNIX I could set one up maybe with seejpeg
18:47 sri batman: if you want to link to an irc channel use an irc:// link
18:47 FatalNIX in svga mode
18:47 PryMar56 joined #mojo
18:47 batman sri: have twitter fixed that? i tried a year ago, and haven't tried again :/
18:47 sri have to admit i've never done it
18:48 batman i tried irc://chat.freenode.net/#convos
18:48 FatalNIX batman: when I'm programming all I need is a tty with emacs and whatever else
18:48 batman which didn't work... it just looked weird :(
18:48 jberger I use irc:// links in Mojolicious::Command::nopaste
18:48 batman jberger: how is that related?
18:48 jberger that's not for embedding, but in doing so I looked it up and it seem fairly standardized
18:49 jberger probably not, overall, just saying I like urls
18:49 batman +1
18:49 purl 1
18:49 batman the issue is twitter
18:52 jberger even as it is, that link doesn't go anywhere for me
18:57 batman no. twitter magically created a link :(
19:05 batman i really like this: https://ssl.thorsen.pm/paste/6bb64dff6441 :)
19:26 noganex joined #mojo
19:55 FatalNIX woah dafuq, my crt is very dim and is blinking
19:55 FatalNIX randomly started doing it
19:56 FatalNIX fixed
20:04 asarch joined #mojo
20:04 jberger FatalNIX: I think I know how to fix it more perminently
20:05 FatalNIX jberger: noooooo it's a good one
20:06 FatalNIX it's a 22" flatscreen CRT
20:06 FatalNIX :)
20:06 * jberger punts
20:06 FatalNIX wityh a resolution of 2048x1536 @80 Hz
20:06 batman i think my eyes would be sore if i had a crt
20:06 * jberger hurts his foot punting that monstrosity
20:06 FatalNIX lol
20:06 FatalNIX jberger: it weighs just under 70 pounds.
20:06 FatalNIX I  weighted it once
20:07 FatalNIX weighed*
20:07 FatalNIX and at maximum power it's 140 watts
20:07 FatalNIX but I'm running real low right now because I'm in a tty with very liitle bright stuff on the screen
20:12 FatalNIX jberger: you're not one of those people who drive around with no muffler in an automatic truck with a 2' bed right?
20:13 jberger ?
20:13 FatalNIX just checking
20:14 * jberger drives a Saab 9-3 convertible, black
20:14 FatalNIX oh I've seen those
20:14 jberger which some <<censored>> keyed two weeks ago
20:14 FatalNIX is it standard?
20:14 jberger as in not manual transmission?
20:15 jberger yes, this one is
20:15 FatalNIX as in manual
20:15 FatalNIX lol
20:15 FatalNIX hm
20:15 jberger this is an automatic sadly
20:15 FatalNIX :(
20:15 jberger my last one (which I gave to my little brother) is a stick
20:15 FatalNIX I only go for standards, I will drive an automatic sure, but I will never claim something that is automatic as mine
20:15 batman automatic++
20:15 jberger I loved it but it needed too much work to keep going
20:16 jberger as a much younger kid, it is worth his time
20:16 jberger for me, I wanted something a little more reliable
20:16 FatalNIX but ideally, it's really funny when you see some of these teenagers these days try to break into cars, get in, realize oh shit, I have no idea how to drive a standard, I'll try anyways, oh crap, I can't drive at all!" and then run off
20:16 jberger so I bought the last 2011 9-3 convertible I could find (last model year)
20:16 jberger and it happened to be automatic
20:17 FatalNIX sad face
20:17 purl
20:17 * FatalNIX pets purl
20:17 purl o/` purrrrrr o/`
20:17 Grinnz FatalNIX, sadly that didnt help my friend whose truck was stolen by kids then crashed into a wall cause they figured it out just enough
20:17 jberger batman got to ride in it, what do you think?
20:17 FatalNIX Grinnz: there is always that
20:18 FatalNIX maybe I should make a hidden lever in my stick to hold it in a high gear or some shit when I park it
20:18 Grinnz i have one of the last plasma tvs samsung ever made :(
20:18 FatalNIX though, I live in Maine, and people just don't steal cars
20:18 FatalNIX we all just leave our cars unlocked
20:19 FatalNIX I mean, if somebody REALLY wants to steal a car locking it won't do shit anyways
20:19 cafe batman, the $foo = 1 is there to trigger the error. The problem is the ", <DATA> line 2231." appended to the real error message (with the correct line number)
20:19 FatalNIX Grinnz: you also have one of the most expensive power bills samsung ever made
20:21 FatalNIX Grinnz: although sometrucks will take off in first gear without the clutch
20:21 FatalNIX tends to be a lot of the smaller cars that really really hate that
20:21 jberger my saab would definitely die with no extra gas starting from the clutch
20:21 jberger but my dad's Jeep does
20:21 batman jberger: i liked it! best ride this year :)
20:22 batman might have been to do with where i was... not sure ;)
20:22 batman but it seems like a smooth ride
20:22 jberger so anyone going from it to my old one would kill it for sure
20:22 jberger batman: hahaha
20:22 jberger you mean, when you directed us through the warzone?!
20:22 batman cafe: i don't get it
20:22 batman jberger: yeah, it's a great story :)
20:23 batman sri: did you know i almost got me and jberger killed in chicago?
20:23 FatalNIX batman WAT
20:23 batman but then i saved us, while watching *another* batman standing on the sidewalk :)
20:23 FatalNIX let me guess, you drive a lawn mower witha  big block 426
20:24 * batman likes to spice up that particular story
20:24 batman i think it was the closest i've been though, since the almost exploding taxi in peru
20:25 batman yeah... it's pretty safe living in norway :)
20:25 jberger exploding taxi?!
20:26 jberger anyway, we were fine, just as long as the gang wars didn't erupt around us
20:26 jberger and they didn't see my car and decide to rob us
20:26 jberger or carjack us
20:26 jberger yeah, I don't know how we survived
20:26 jberger :D
20:27 jberger ok, I'm going out for a bit
20:27 jberger o/
20:27 FatalNIX lol. see this is why I'm staying the **** in Maine
20:28 FatalNIX gangs don't exist... no such thing as mafia.. no weird stuff, ... just old geezers and amish and hard working people
20:28 FatalNIX I have to admit most people would probably be very bored here
20:29 FatalNIX Our problem though is that we're losing towns.
20:29 batman jberger: the cars run on gas (not petrol) in peru. so when you hear this whistling sounds, then it's high time to run as fast as you can out and away from the car.
20:29 FatalNIX mills are closing down and towns are becoming nameless and into township numbers.
20:30 FatalNIX we just lost another paper mill recently too
21:00 sri batman: yea, jberger mentioned it :)
21:01 sri you say norway is safe... but i still remember when marcus posted the picture of his shattered windows after the bomb
21:01 tyldis Apart from Oslo it is safe.
21:02 tyldis Go north and only age and stupidity can pose any kind of danger.
21:03 pink_mist unless you go to svalbard, surely
21:04 batman tyldis: oslo is very safe. it's much safer than a lot of the other cities in norway
21:05 batman sri: the bomb is not really that happens every day :P
21:09 batman *something that*
21:12 ayokh75 joined #mojo
21:22 Grinnz [16:19:50] <FatalNIX> Grinnz: you also have one of the most expensive power bills samsung ever made
21:22 Grinnz plasma TVs were incredibly efficient in the last year or two of production
21:22 Grinnz this one uses 1/10th of the wattage of my panasonic from 2008
21:23 Grinnz when you say they run on gas, you mean what we call "natural gas" in america? since we call petrol gasoline :P
21:24 Grinnz i only know a few cars sold here that run natural gas, one of the civics did
21:25 pink_mist well it's your own fault for using the word 'gas' about something which is a liquid :P
21:26 pink_mist (though for all I know, even the 'natural gas' stuff is actually liquid?)
21:27 batman Grinnz: yeah. "natural gas"... i tried to make it more obvious by saying "not petrol" :/
21:28 Grinnz pink_mist, it can be liquified for transport
21:28 batman :)
21:29 Grinnz https://en.wikipedia.org/wiki/Liquefied_natural_gas
21:29 Grinnz "−162 °C (−260 °F)" so not something you do normally :P
21:29 cuechan joined #mojo
21:31 cuechan_ joined #mojo
21:36 itaipu joined #mojo
21:37 tyldis Though, under pressure you probably can liquify it easier. But now we are getting a little OT.
21:38 tyldis afk.
21:44 nic In the uk it's called lpg: liquid petroleum gas.  I have a factory-fitted ford that uses it, switchable to standard petrol
21:54 hertzhaft joined #mojo
22:21 vicash batman: wow I always thought Convos was some phone app that jberger used but now i see it is a Mojolicious app that has some nifty features.. you guys should get VC funding and compete with Slack ;)
22:22 pink_mist https://www.youtube.com/watch?v=a01QQZyl-_I speaking of under pressure =)
22:28 batman vicash: i can't get VC funding.
22:31 batman not that it matters... it's just for fun
22:31 batman or... it's a lot of work, but it's still fun :)
22:31 batman but it's BSD, so if you want to give it a go, then go crazy.
22:38 vicash batman: i haven't tried it but i will install it one day to see how it works. was joking about the VC thing but it is still an option for you.
22:39 vicash the bigger problem is setting up one's own IRC servers. that is still a pain
22:40 bpmedley joined #mojo
22:52 batman vicash: yeah. going to make it standalone as well, so you don't need an irc server
22:52 batman the backend is pluggable now, so you can add support for whatever protocol you like.
22:53 batman you're talking about venture capital, right..? i know for a fact i can't get that as long as i live in norway.
23:01 zivester joined #mojo
23:01 batman *brb*
23:02 batman joined #mojo
23:05 batman joined #mojo
23:05 cuechan__ joined #mojo
23:15 batman joined #mojo
23:18 cuechan joined #mojo
23:29 y1mmm joined #mojo
23:43 jehdin convo does look interesting - paired with bitlbee or someat
23:43 FatalNIX omg
23:43 FatalNIX I forgot about bitlbee
23:43 FatalNIX I haven't used bitlbee since 1647
23:44 FatalNIX and 3 months, 9 days, 12 minutes, and 31 seconds.
23:44 FatalNIX ...Plus an additional 685.928162347 miliseconds.
23:45 jehdin and counting?
23:45 purl rumour has it counting is ok
23:47 FatalNIX lol
23:47 FatalNIX sure is purl
23:47 * FatalNIX pets purl
23:47 purl don't mess with me
23:47 FatalNIX :(
23:47 FatalNIX purl has attitude tonight.
23:47 purl FatalNIX: excuse me?
23:48 cuechan_ joined #mojo
23:49 pink_mist s/tonight//
23:49 FatalNIX :)

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