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

IRC log for #mojo, 2014-10-20

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

All times shown according to UTC.

Time Nick Message
00:01 mst jberger: repeated reconnects fucking up the network every time batman runs the ansible shit
00:02 mst jberger: plus no formal abuse handling policy like I told them to sort after freenode blocked them
00:03 mst basically, at this point, convos is fucking amateur hour and is being treated accordingly
00:08 mst meredith: don't worry, as soon as convos actually works and understands what privacy is we'll fix the current settings
00:16 jberger mst: that's the demo service though
00:16 mst jberger: irrelevant
00:16 purl somebody said irrelevant was that or big and gray with a trunk or big and pink with a trunk or irreverent
00:16 jberger k
00:16 mst jberger: they either run it like a production service, or they run a demo ircd
00:17 jberger right, but my private install is obviously still running
00:17 jberger so it's the service not the client
00:19 jberger batman: just run demo as loopback
00:20 jberger I wouldn't want to administer a full irc proxy service
00:20 mst not sure "it's the service not the client" makes sense
00:20 preaction it's not the convos client, it's demo.convos.by (the service)
00:21 mst sure. a single user install will be allowed
00:21 maybe_sri joined #mojo
00:21 jberger cool
00:22 mst but without a privacy policy and some sort of reconnect throttling, any future multi-user convos insstalls will likely also have to be K-lined
00:22 jberger that makes sense
00:23 maybe_sri since i'm not in the mood to set up an irc bouncer again i guess i'll be taking some time off from irc until the problems have been resolved
00:24 jberger maybe_sri: run your own convos
00:24 jberger very easy to do
00:24 jberger mine has been up without issue for months
00:24 maybe_sri whole reason i switched to using convos was so i never have to run that stuff myself again ;p
00:25 maybe_sri a break might be good for me though
00:26 maybe_sri we can move design decisions to github and the mailing for the time being
00:27 jberger :'(
00:28 jberger there's never been a more retched hive of scum and villainy
00:28 d4rkie joined #mojo
00:28 jberger (the mailing list)
00:30 maybe_sri wat?
00:30 purl Watt?  Watt?  I can't hear you, there's this buzzing noise where my brain should be. or https://www.destroyallsoftware.com/talks/wat
00:30 jberger any mailing list really
00:31 maybe_sri you are an admin of that list!!!1
00:31 jberger conversations coming all willy nilly
00:31 jberger top posting
00:31 purl rumour has it top posting is when you reply to somebody else's post, with my reply at the top, and quote their entire message below my reply
00:31 jberger I just don't know if I can take it
00:32 maybe_sri this is getting a tad too negative for me
00:32 preaction do they speak english in What?
00:33 jberger dude, I'm joking
00:33 Averna joined #mojo
00:41 jberger ok so for the record, I like the interaction on irc, I've never been especially good at using mailing lists, so I was joking around
00:56 sri joined #mojo
00:57 sri guess irc is too important... gonna switch to irccloud instead
01:01 sri it's really shitty on mobile though :-(
01:03 laouji joined #mojo
01:13 Mso150 joined #mojo
01:15 sri left #mojo
01:15 sri joined #mojo
01:28 sri i think we depend too much on irc though
01:32 klapperl joined #mojo
01:40 doublelel joined #mojo
01:45 Mso150 joined #mojo
01:54 sri easiest way to change it would be to make github an official channel for discussing everything again, not just bugs and patches
02:08 jberger github issues has gotten a bit better
02:08 jberger it's too bad that metacpan doesn't understand issue tags
02:10 sri we've already accepted that bad issues stay open forever, so might as well accept feature requests there
02:14 good_news_everyon joined #mojo
02:14 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/nUtd4w
02:14 good_news_everyon mojo/master fa227b2 Sebastian Riedel: we now accept feature requests on GitHub
02:14 good_news_everyon left #mojo
02:17 sri have a feeling irccloud might not work out for me, so maybe i'll move back to a normal irc client and not being on irc 24/7
02:18 sri damn you convos for spoiling me!
02:19 sri looks like that node.js web client is dead already, would have given that a shot
02:21 Adurah Always wondered about batman's understanding about IRC when he didn't know why I wondered about the lack of CTCP replies.
02:49 noganex_ joined #mojo
03:03 doublelel joined #mojo
03:11 sri joined #mojo
03:13 * sri actually went all old school with tmux and irssi :o
03:18 sri i barely remember the shortcuts :S
03:31 irq joined #mojo
03:44 basic6_ joined #mojo
03:51 KCL joined #mojo
03:58 sri joined #mojo
04:03 davido_laptop joined #mojo
04:08 sri on the plus side... today i discovered "use option as meta key" in the os x terminal settings :)
04:15 sri kinda hilarious how i get emoji back by switching from web to terminal
04:44 sri joined #mojo
04:46 sri joined #mojo
04:48 zackiv31 joined #mojo
05:04 doublelel joined #mojo
05:32 laouji joined #mojo
05:54 sujithm joined #mojo
06:40 jamesaxl joined #mojo
06:51 Mso150 joined #mojo
06:54 preaction joined #mojo
06:54 neyasov__ joined #mojo
07:00 dod joined #mojo
07:03 dp_ joined #mojo
07:17 Vandal joined #mojo
07:21 Mso150 joined #mojo
07:29 rem_lex joined #mojo
07:29 basiliscos joined #mojo
07:43 vytas joined #mojo
07:48 trone joined #mojo
07:59 rawler joined #mojo
08:11 Ralesk sri: ever tried quassel?
08:12 neyasov__ joined #mojo
08:23 arthas joined #mojo
08:27 fhelmber_ joined #mojo
08:30 irq joined #mojo
08:42 dod joined #mojo
08:44 dod joined #mojo
08:46 Nei you can use the web interface for irssi too
08:49 meshl joined #mojo
08:51 Nei but having someone write an irccloud-like client for irssi would be golden
08:51 Nei guess there's a reason why irccloud is paid service :)
09:13 marcus joined #mojo
09:13 marcus le sigh
09:15 marcus__ joined #mojo
09:19 marcus joined #mojo
09:32 denis_boyun joined #mojo
09:35 arthas joined #mojo
09:39 aleksey joined #mojo
09:51 aleksey joined #mojo
09:52 aleksey left #mojo
10:20 aleksey joined #mojo
10:20 aleksey left #mojo
10:40 Jonneh joined #mojo
10:46 sujithm joined #mojo
10:46 Jonneh joined #mojo
11:12 doublelel joined #mojo
11:18 aramisf joined #mojo
11:25 marcus joined #mojo
11:26 icjs joined #mojo
11:27 icjs i'm having some weirdness with routes, i have /foo and /foo/bar and controller methods mapped to each but the method for /foo/bar is not firing
11:27 neilhwatson joined #mojo
11:27 dod joined #mojo
11:27 sujithm joined #mojo
11:28 nicomen icjs: can you make an example with Mojolicious::Lite?
11:30 icjs nicomen, ok - i'll have a go
11:42 icjs nicomen, not sure i can do it to the same level of complexity. i have a full mojo app - and a route /foo/bar doesn't seem to me wired up to the controller method properly
11:43 icjs the route appears under "pattern" when i access the app in a browswer without a rote
11:43 someanon joined #mojo
11:43 someanon hi guys
11:44 someanon a have some problem with version 4.91
11:44 someanon annoying debug warning " [debug] Your secret passphrase needs to be changed!!!"
11:45 someanon i tryied faq suggest, but it doesnt help
11:47 someanon app->secrets(['My very secret passphrase.']);
11:47 someanon can some one help
11:48 someanon i want to minimize holes in my project
11:48 Nei read the docs that accompany your version of mojo, or update to the latest one if you want to use the docs on the web
11:48 someanon i read
11:48 someanon $ perldoc Mojolicious::Guides::FAQ
11:49 someanon What does "Your secret passphrase needs to be changed" mean?
11:49 Nei the code you showed -- app->secrets([... -- isn't wrong
11:49 Nei if it doesn't work then the mistake must be in some part of the code you're /not/ showing us
11:50 someanon what kind of code can broke secret?
11:50 someanon i can't even imagine
11:51 Nei it's necessary for the signatures
11:51 someanon there is no error in 4.81
11:51 someanon yes!
11:51 someanon i don't touch them
11:52 someanon just using session
11:52 Kripton joined #mojo
11:52 icjs nicomen, got it: it seems the word "match" is special in Mojolicious
11:53 nicomen aha
11:53 icjs if i use a controller method name other than than, it works
11:53 nicomen someanon: the secret is used basically to create proper session cookies, if everyone use the same secret, anyone can easily decrypt the session cookies
11:53 icjs i think it's because http://mojolicio.us/perldoc/Mojolicious/Controller#match
11:54 nicomen someanon: setting the secret differes a bit between versions
11:54 someanon i changed it
11:54 someanon i tried a lot of them
11:54 someanon generated by pgwen -n 16
11:56 icjs sri, see above - maybe a useful additiuon would be to spit out a warning if mojo detects using a reserved method name?
11:56 nicomen $app        = $app->secrets(['passw0rd']); # this is what 4.91 docs say
11:57 someanon $self->secrets(['ASDONHOQIW@()C3qnv47qb89(((qY*#v89-nB #_nb5yv3q0']);
11:57 someanon oh
11:57 someanon app
11:57 someanon but i tried app also
11:58 someanon not works
11:59 icjs and i work in a team called "search & match" :-)
12:13 Dandre joined #mojo
12:15 someanon i think it can be bug
12:15 someanon so i will ignore it
12:25 sujithm_ joined #mojo
12:26 ignacio_ joined #mojo
12:32 nicomen http://opm.readthedocs.org/en/latest/opm-core/Installation.html <-- nice
12:37 nicomen can I do a deep json_like comparison? ie. some part of the structure needs to match a patten?
12:38 d4rkie_ joined #mojo
12:50 d4rkie joined #mojo
13:08 marty joined #mojo
13:12 Akron joined #mojo
13:13 Akron someanon: Please pastebin a minimal example of your startup function so we can see what's wrong with ->secrets().
13:14 Nei it's probably a bug in /your/ code;)
13:24 someanon Akron, there is only on call ->secrets
13:24 Nei paste the full whole complete code or it didnt happen. also, make a working *minimal example* that exhibits your bug
13:24 Akron Please - make a minimal pastebin.
13:25 Akron As Nei said. ;)
13:30 someanon Akron, http://pastebin.com/urCYJ8Tq
13:30 someanon look
13:30 someanon ok
13:31 someanon minimal working
13:31 r0b3rt joined #mojo
13:31 zivester joined #mojo
13:32 Akron someanon: You don't need ->app there - the $self in startup is the app.
13:32 someanon guys, i do not want that u will fix this bug for me. I just thought that u already saw this problem
13:33 someanon wow
13:33 someanon Akron, since which version?
13:34 someanon Akron, i removed all app
13:35 someanon not helped
13:35 someanon still debug warning
13:35 Akron someanon: I would expect it to be that way since very early versions. What else did you expect to be $self?
13:36 someanon maybe some meta controller :D
13:36 someanon or protocontroller
13:38 doublelel joined #mojo
13:39 Akron No.
13:39 Akron Set the secrets at the beginning - the debug info is released quite early.
13:45 lipizzan joined #mojo
13:49 someanon still warning
13:54 * sri wonders if he can map mouse scrolling to pg-up/down in tmux
13:57 bjoernfan "set -g mode-mouse on" didn't really do what I was expecting...
13:57 bjoernfan Please let me know if you find a way to do that.
14:00 sri yea, right now mouse scrolling triggers the up/down keys for me
14:04 Nei why would you want to change that?
14:05 sri to get it to scroll up and down in irssi
14:06 Nei load a mouse script for irssi
14:06 Nei although it's usually your terminal emulator that decides to send the up/down keys on mouse wheel
14:06 Nei welcome to the broken world of terminals. why not use mIRC instead
14:18 nicomen how can I build a tx object based on the output of mojo get -v 'url' ?
14:18 ryozi joined #mojo
14:33 sh4 joined #mojo
14:35 bd joined #mojo
14:42 sri btw. don't try to send me anything important via irc, my setup is really shitty and unreliable now
14:43 Nei you could run irssi on a server that is always on
14:43 Nei similar to convos
14:43 sri i am
14:43 sri and it's shitty
14:43 Nei or just run a private install of convos?
14:44 sri i don't trust convos anymore
14:44 sri and it's a pita to set up
14:44 mikegrb sri: did you get the 30,000 usd I sent to you via pm last night? it was sent via cryptoirccurrency so it's like cash and gone if you didn't receive it
14:45 Nei you could try the glowing-bear web fronted for irssi/weechat, although it's written by hobbyists so there's a certain gap
14:46 mikegrb it works for irssi?
14:46 sri i'm tired of experimental shit, maybe i should go back to znc and textual :S
14:46 Nei at least you have a solid base with irssi;)
14:46 sri with irssi i feel like i don't see anything
14:46 Nei and it can be extended with perl too
14:47 Nei mikegrb: looks like http://anti.teamidiot.de/static/nei/irssimobuffer.png
14:48 mikegrb hmmm, may have to give it a shot
14:48 Nei here's a ss of the desktop ver http://anti.teamidiot.de/static/nei/gb.png
14:50 mikegrb thanks, I'll have to give it a shot
14:50 D4RK-PH0ENiX joined #mojo
14:51 Nei grab it from http://anti.teamidiot.de/static/nei/*/Code/Irssi/teddy.tar.gz
14:51 mikegrb ahh, so not in mainline yet? thanks, got it
14:52 Nei there is an open PR
14:52 Nei not sure how it will be concluded...;)
14:52 mikegrb gotcha
14:53 sri and of course today we get a security bug report i need to share with the core team...
14:54 Nei I hope you can fix it soon
14:54 sri i can't do anything atm
14:54 Nei btw hiding joins/parts/quits improves readability, some also like coloured nicks and own lines in different colours
14:54 Nei starting bare bones may need a lil bit of setup tweaking
14:55 Akron someanon: Can you strip your minimal example further down? In my modified running version, there is no debug message anymore.
14:55 sri that's the problem when you rely on irc to get stuff done
14:55 Nei irssi-notifier is a useful addition to get google-cloud-notifications running
14:56 sri it would take weeks or maybe months for me to get efficient with irssi
14:56 Ralesk sri: again: have you tried quassel before? :)
14:56 sri Ralesk: what is that?
14:56 purl i think that is probably what is biting you.
14:57 asarch joined #mojo
14:57 Ralesk it's a GUI client, coming as a mIRC like something AND also as a separate client and "server" — you can run the core somewhere on a server of yours, and connect to it with your client. Kinda like a BNC, yet it isn't
14:58 Ralesk http://quassel-irc.org/
14:58 Nei so many irc clients to choose from
14:58 meshl joined #mojo
14:58 Nei even testing all of them to the heart would probably take years
14:58 Ralesk true :)
14:58 Nei you use quassel?
14:58 Nei there's also a quassel plug-in for irssi btw
14:59 Ralesk yes, been using it for like 5 years now if not more
14:59 Nei the core is pretty complex, due to its dependency on Qt
14:59 Nei I have a shared server here where I'm allowed a free slot, it suffices to run irssi but I couldnt get quassel to compile
15:00 Nei wanted to try it on a server out of curiosity
15:00 Ralesk yeah, that part of it is a bit of a bummer
15:00 sri Ralesk: how would a gui client help me, not to mention one that doesn't appear to work on os x?
15:01 Ralesk sri: dunno — you wanted things like scroll wheel to work :D
15:01 Nei on http://quassel-irc.org/downloads there seems to be an osx download;)
15:01 sri i said i wanted something better than znc+textual
15:01 Ralesk and core keeps you connected so you get all the backlogs when you connect with the client
15:01 nicomen what you want is an IRC client that is hosted on an .io domain
15:01 Nei nevertheless you need to come clear about what is required for it to be "better"
15:02 nicomen lol, found one: http://hexchat.github.io/
15:02 Ralesk okay, I don't know the exact issues you're facing, haven't been paying attention, but anyway, this has so far worked for me quite nicely (though indeed I don't use OS X, so I can't vouch for the client's usefulness on that)
15:02 nicomen looks like crap though
15:02 nicomen it's an offence against .io domains
15:02 Ralesk :D
15:03 nicomen sri: shouldn't you be using: https://atom.io/packages/irc
15:03 sri my anger about becoming so dependent on convos might be clouding my judgement atm.
15:03 Nei calm down, try again tomorrow ;)))?
15:03 sri yea, i should reconsider that irc break :)
15:04 sri anyway, don't sent me important stuff via irc, it will get ignored from now on!
15:04 Nei as the boss, you can resolve this issue in many ways :D
15:05 Nei I think there are many nice/interesting chat programs that work very well.
15:05 Ralesk (also there's a nice android client that's not as much an arse to use as ConnectBot+IRSSI :D)
15:05 Ralesk (again, dunno about iOS, should that be relevant)
15:17 nicomen on a brighter note, the convos team are frantically working the last two days
15:20 sri how awesome is that... my chrome just died while i was writing in gmail
15:20 sri this is not going to be a good week
15:20 Nei :D
15:20 marcus computers :(
15:20 Nei mutt has been pretty stable on me
15:21 sri this was literally the first time chrome died for me
15:23 nicomen http://en.wikipedia.org/wiki/Cybernetic_revolt just saying...
15:25 meshl joined #mojo
15:31 tbushell_ joined #mojo
15:34 cpan_mojo Mojolicious-Plugin-HostMeta 0.17 by Nils Diewald - http://metacpan.org/release/AKRON/Mojolicious-Plugin-HostMeta-0.17
15:34 quiggle joined #mojo
15:51 meshl joined #mojo
15:51 KCL_ joined #mojo
15:58 rem_lex|pivo joined #mojo
16:11 good_news_everyon joined #mojo
16:11 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/I_EqFA
16:11 good_news_everyon mojo/master 37cf15f Sebastian Riedel: fixed bug in Mojo::Server where secondary groups were not reassigned correctly
16:11 good_news_everyon left #mojo
16:20 sri so, when would you ever want to use POSIX::setgid()?
16:25 disputin joined #mojo
16:34 Mso150 joined #mojo
16:35 sri is there an idiom for secure uid/gid changes?
16:36 sri the perl docs on the topic are a mess! recommendations for POSIX::setgid() all over the place
16:39 marcus_ joined #mojo
16:46 sri marcus, jberger, tempire, batman, crab: i'm no security expert, and really need your help with this, PLEASE REVIEW!!!
16:47 irq joined #mojo
16:50 denis_boyun joined #mojo
16:56 marty I'm trying to improve my oop Perl skills (not using Moose, Moo, etc).   Lots of outdated info out there.  Does anyone know of a good example or tutorial of the current best practices for Perl oop?
16:57 dod joined #mojo
16:58 mst "don't do it by hand, use an M*"
16:58 mst Mojo::Base is close enough to count, as are Moose, Moo, Class::Tiny
16:58 neilhwatson Is Mouse still relevant?
16:59 mst not really
16:59 mst the original author of Mouse marked Any::Moose as deprecated in favour of Moo a while back
16:59 mst since Moo and Moose are actually compatible
17:00 mst (in the sense you can use both within one program without ending up fucked)
17:00 marty mst: Thanks.  I'll try Mojo::Base since I'm using Mojolicious anyway.
17:01 * sri needs to get a better understanding of how secondary groups are managed per process
17:06 disputin joined #mojo
17:25 marcus joined #mojo
17:36 marcus joined #mojo
17:55 mgrimes joined #mojo
18:03 marcus Today I learned something new about IP http://daniel.haxx.se/blog/2012/01/03/getaddrinfo-with-round-robin-dns-and-happy-eyeballs/
18:08 mgrimes joined #mojo
18:18 servit joined #mojo
18:19 servit hi. is it possible to load another mojolicious app within my mojolicious app?
18:19 servit I'm looking for a dancer load_app pendant in mojolicious.
18:21 sri http://mojolicio.us/perldoc/Mojolicious/Plugin/Mount
18:36 tempire oh my
18:36 tempire that does indeed seem like an unfortunate security problem.
18:44 sri guess i'm a doofus for assuming secondary groups were tied to the euid
18:45 sri in my defense, nobody else seems to know how it works exactly either! ;p
18:45 Nei what's the egid for? also can't you somehow roam betwen groups
18:47 marcus I want to roam free
18:50 stephanj freedom denied. insufficient funds.
18:52 jamesaxl joined #mojo
19:00 * marcus slinks back to his seat on the galley.
19:26 ignacio_ joined #mojo
19:29 ignacio__ joined #mojo
19:33 woz_ joined #mojo
19:33 fhelmber_ joined #mojo
19:48 sri joined #mojo
20:01 mad_hatter joined #mojo
20:01 mad_hatter Will mojolicious run on perl 5.8?
20:03 stephanj no.
20:03 Nei there is an old version of mojo in mojo-legacy that will
20:04 Nei (+ some cpan modles)
20:04 Nei I advise you update perl ;))
20:06 mst mad_hatter: http://p3rl.org/Perl::Build will run on perl 5.8 :)
20:07 sri Nei: one month is not that old
20:08 Nei only tomorrow is new enough
20:14 disputin joined #mojo
21:28 asarch joined #mojo
21:41 denis_boyun joined #mojo
22:24 davido___ joined #mojo
22:55 meshl joined #mojo
22:59 davido__ joined #mojo
23:18 berov joined #mojo
23:20 berov How can i make sure a test file is run last and no other tests are run at the same time?
23:20 berov sri: you mentioned something similar lat week I think.
23:20 berov last*
23:22 berov I named my files starting with 01-foo, 02-bar...
23:32 d4rkie joined #mojo
23:33 Nei not sure if there is any way to do it but you can write a "rulesfile" with seq: - par: instructions
23:33 good_news_everyon joined #mojo
23:33 good_news_everyon [mojo] kraih tagged v5.53 at 7b5692a: http://git.io/ffxEzg
23:33 good_news_everyon left #mojo
23:34 fhelmber_ joined #mojo
23:34 Nei default is testrules.yml iirc
23:34 good_news_everyon joined #mojo
23:34 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/n9dZtA
23:34 good_news_everyon mojo/master 6f64d34 Sebastian Riedel: bump version
23:34 good_news_everyon left #mojo
23:35 cpan_mojo Mojolicious 5.53 by Sebastian Riedel - http://metacpan.org/release/SRI/Mojolicious-5.53
23:54 jberger sadly I'm no security expert either
23:55 sri unix expert would be fine too
23:55 * jberger is an ultrafast electron microscope expect
23:56 jberger but apparently not a swipe type expert
23:56 * sri is actually still reading up on the topic
23:57 Nei did you read perlvar?
23:57 sri yea, perlvar is total garbage
23:58 sri UNIX and Linux System Administration Handbook has a good introduction to the topic... and now i'm reading the details in The Linux Programming Interface
23:59 Nei your change seems sensible but I don't know how other apps handle it
23:59 Nei sometimes you may actually want to retains some groups
23:59 sri btw. the right term is "supplementary group IDs"

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