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

IRC log for #mojo, 2015-03-27

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

All times shown according to UTC.

Time Nick Message
00:20 sri oh, i guess permessage-deflate is a candidate for removal
00:20 sri it has not yet been turned into an rfc
00:22 sri and it is still chome exclusive
00:22 sri *+r
00:34 GabrielVieira joined #mojo
00:36 GabrielV_ joined #mojo
00:38 dmanto joined #mojo
00:41 Averna joined #mojo
00:42 dmanto in a controller i wrote time ago, i have constructions like
00:42 dmanto $c->stash->{foo} = 'bar'
00:42 dmanto instead of the (documented)
00:43 dmanto $c->stash(foo => 'bar')
00:43 dmanto this is wrong i guess...
00:43 disputin joined #mojo
00:52 jberger dmanto: both are documented
00:52 * jberger is home!
00:52 * jberger probably shouldn't write any code tonight though
00:53 jberger to much driving
00:53 jberger too
00:53 jabberwok two (2)
01:11 hshong joined #mojo
01:29 disputin joined #mojo
01:29 vmbrasseur joined #mojo
01:34 meshl joined #mojo
01:34 vmb joined #mojo
01:39 vmbrasseur joined #mojo
01:42 vmbrasseur joined #mojo
01:43 woz joined #mojo
01:51 meshl joined #mojo
01:54 howitdo joined #mojo
01:55 meshl joined #mojo
02:04 klapperl joined #mojo
02:08 dmanto left #mojo
02:15 meshl joined #mojo
02:45 cpan_mojo WebService-Rollbar-Notifier 1.001003 by Zoffix Znet - http://metacpan.org/release/ZOFFIX/WebService-Rollbar-Notifier-1.001003 (depends on Mojolicious)
02:52 cpan_mojo WebService-Rollbar-Notifier 1.001004 by Zoffix Znet - http://metacpan.org/release/ZOFFIX/WebService-Rollbar-Notifier-1.001004 (depends on Mojolicious)
03:05 noganex_ joined #mojo
03:08 sri was wondering when we would see the first atom fork http://nuclide.io/
03:09 sri (not really a fork)
03:09 preaction wtf. why are people building IDEs for libraries now?
03:09 Grinnz what language is that for?
03:09 Grinnz javascript?
03:09 purl well, javascript is a language built entirely out of umbrellas or for people not from Oregon or hard to freakin' test properly or a symlink to broken or testbed at http://jsfiddle.net or http://666.is/link/5932 or a dynamic computer programming language
03:09 preaction oh, my bad, that's for a language
03:09 Grinnz LOL, umbrellas
03:10 preaction that looks suspiciously like objective-c though
03:10 sri it's clearly an ide for internal use at facebook
03:10 Grinnz yeah that doesnt look like JS but it mentions JS
03:10 sri why else support hack
03:10 * Grinnz doesnt know what hack or react or atom is
03:11 sri hack = facebooks version of php
03:11 Grinnz ah
03:26 Snelius fvop
03:32 woz joined #mojo
03:33 cpan_mojo Mojolicious-Plugin-MoreUtilHelpers 0.04 by sshaw - http://metacpan.org/release/SHAW/Mojolicious-Plugin-MoreUtilHelpers-0.04
03:52 davido_ joined #mojo
04:14 inokenty-w joined #mojo
04:21 melo joined #mojo
04:32 thowe I can't seem to find how one includes ep templates in other ep templates, is this not a thing?
04:37 sri that's literally the title of the section that explains it
04:39 Oleg joined #mojo
04:39 thowe Ah, under rendering...  I'm looking under the doc for Mojo::Template  The word "include" isn't even on that page.
04:40 thowe thanks, though.  I could have swore I'de seen it...
04:40 sri because Mojo::Template can't do it
04:42 thowe so when "include" is called within a template, it's a function of the renderer...(?)
04:42 thowe I'm saying "ren der er really slowly in my head there...."
04:44 preaction Mojo::Template is the thing that knows what's Perl code and what's plain text. the renderer has the helpers and adds some perl code to the template to let you use the variables
04:45 basic6 joined #mojo
04:47 thowe I think I understand.
04:53 * thowe is being kicked out of his office....
05:31 vmbrasseur joined #mojo
05:32 reneeb joined #mojo
06:07 reneeb joined #mojo
06:45 d4rkie joined #mojo
07:03 dod joined #mojo
07:08 dod joined #mojo
07:10 woz joined #mojo
07:11 dotandimet joined #mojo
07:13 berov joined #mojo
07:16 marcusr hostile takeover?
07:17 bramirez joined #mojo
07:27 fhelmber_ joined #mojo
07:32 marcusr hmm, gitter has an irc bridge, apparently. Maybe it would be a nice way to get non-ircers into this channel?
07:38 dod joined #mojo
07:50 buu marcusr: What do we do with them once we have them?
07:58 eseyman joined #mojo
08:02 marcusr buu: boil them!
08:06 buu Mmmm what about basting
08:10 Vandal joined #mojo
08:12 edestler joined #mojo
08:13 bc547 feed them to purl?
08:13 AndrewIsh joined #mojo
08:18 buu I'm testing my new rPi playing some music and I can't tell if the weird noises are from the music or from the pi's output.. maybe I need different songs to test with..
08:19 trone_ joined #mojo
08:42 juikuen joined #mojo
08:44 csson joined #mojo
08:54 woz joined #mojo
09:01 coolo joined #mojo
09:34 dotandimet joined #mojo
10:17 woz joined #mojo
10:19 sh4 joined #mojo
10:21 alnewkirk joined #mojo
10:24 woz joined #mojo
10:32 ashimema joined #mojo
10:42 amon joined #mojo
10:43 waghso joined #mojo
10:44 waghso Need little help here. How to deploy lite app on daemon in Windows?
10:46 buu What is 'on daemon' ?
10:46 waghso the document have *nix syntax which dosen't work in windows
10:46 waghso daemon server
10:48 waghso Built-in web server Mojolicious have
10:49 jabberwok by deploy, perhaps you mean "add as a startup Service" in MS parlance
10:51 Zoffix waghso, what's the syntax? I think you might need to use double quotes where it tells you to use single once and vice-versa
10:51 * Zoffix tries to recall if "./" means the same thing on windows
10:51 riche Zoffix: only in powershell
10:51 buu It does
10:52 buu oh what
10:52 Zoffix waghso, then try dropping the  ./
10:53 buu Goddamn it windows.
10:53 waghso D:\OTHER\MOJOSERVER>./Mojotest.cgi daemon'.' is not recognized as an internal or external command,operable program or batch file.
10:53 waghso this is what I got
10:53 buu waghso: perl Mojotest.cgi daemon
10:53 riche waghso: perl Mojotest.cgi daemon
10:53 riche lol
10:53 waghso ./ is .\ on windows
10:53 buu Normally / works in modern windows =/
10:53 purl Hmm.  No matches for that, buu.
10:53 buu GET OUT
10:54 jabberwok ... / is the switch delimiter, \ is the path delimiter. MS-DOS 2.0 had SWITCHAR= in CONFIG.SYS to turn it around but that was dropped in MS-DOS 3.0, after MS sold Xenix to SCO.
10:54 Zoffix :O
10:54 waghso perl Mojotest.cgi daemon working
10:54 Zoffix \o/
10:55 jabberwok for a short period (1984?) msdos had the feeling of potential to turn into a decent OS.
10:56 waghso simple but silly mistake. but i don't find anywhere i need to add ' perl '
10:56 riche last time i tried thos hypnotoad wasn't "supported" on windows so I've been using cygwin ... but maybe that's changed
10:56 Kripton joined #mojo
10:56 waghso hypnotoad not supported in windows!!!
10:57 waghso thanks guys for your help!!
10:58 buu Cygwin is real nice
11:02 waghso is there any book to learn mojolicious or other resources? I know mojocasts and official documentaion
11:06 jabberwok there needs to be one!  oreilly seems to have a decade-long backlog anymore
11:09 coolo is there some global method to retrieve the app (from within the dbix models) ?
11:43 riche joined #mojo
11:51 jberger coolo: the app is not global
11:52 jberger you can make some kind of singleton pattern around it if you want
11:53 jberger but mostly, the mojo way is to have an app attribute and attach the app instance on model instantiation
12:09 coolo jberger: I guess. The problem is mainly that dbix results aren't really models - we just abuse them as such
12:11 neilhwatson joined #mojo
12:24 jabberwok "the mojo way" is why we need a book.
12:25 reneeb joined #mojo
12:29 waghso jabberwok: all community member can write a book as well. Just create some pages(topics) in github and all member will update that book
12:30 bwf joined #mojo
12:36 coolo that's a wiki not a book
12:36 coolo it was tried before
13:11 vytas joined #mojo
13:30 zivester joined #mojo
13:31 OmarOthman left #mojo
13:41 gryphon joined #mojo
13:46 AirDisa joined #mojo
14:07 marty joined #mojo
14:11 riche joined #mojo
14:30 GabrielVieira joined #mojo
14:32 asarch joined #mojo
14:35 bwf joined #mojo
14:38 AirDisa joined #mojo
15:02 mattastrophe joined #mojo
15:20 rwp joined #mojo
15:25 AirDisa joined #mojo
15:26 meshl joined #mojo
15:33 Adura joined #mojo
15:35 fhelmbe__ joined #mojo
15:43 tianon joined #mojo
15:47 kgoess left #mojo
15:48 Oleg joined #mojo
16:09 jb360_ joined #mojo
16:26 tianon joined #mojo
16:27 jkramer joined #mojo
16:27 jkramer Ahoy!
16:29 jkramer I propose improval of the documentation of Mojolicious::Validator, particularly how to add own checks
16:29 jkramer I.e. which parameters to expect in the sub and what to return (return true => error, not success)
16:29 Adura Is that a word?
16:30 jkramer Ahoy?
16:30 purl Arrr matey!
16:30 jkramer See?
16:30 purl O_O
16:30 Adura Improval...
16:30 jkramer I don't care, I'm not a native speaker :)
16:30 Adura What does it mean?
16:30 Grinnz_ "improvement"
16:30 purl "improvement" is it's now written in ruby ;)
16:30 Grinnz_ LOL
16:32 jkramer That was too much for him
16:32 jkramer Anyway, it's impossible to use add_check() without first looking at the source of the module to see what's expected, so IMO the POD needs to be improved :)
16:40 riche jkramer: you can fork on github and do pull request
16:41 asarch joined #mojo
16:46 Adura joined #mojo
16:55 dod joined #mojo
16:56 sri http://mojolicio.us/perldoc/Mojolicious/Guides/Rendering#Adding-form-validation-checks
16:58 d4rkie joined #mojo
17:00 marty Adura:  Ahoy is primarily a nautical term meaning to hail a ship or attract attention.   It's not commonly used unless you are referring to pirates.   example: Ahoy scallywag.  I mean to board yer ship and pillage yer wimin.
17:07 Adura No, "improval".
17:07 Grinnz_ lol
17:24 marty joined #mojo
17:27 jabberwok "improval" is not a word, I have been reliably informated.
17:28 marty Adura: oopps, sorry about that, I missed.  "improval" is easy.   It's a Homer Simpson speak.  example:  Doh! Bart! I do not improval!
17:29 jabberwok don't go all mimsy on us
17:30 jabberwok (clearly meaning, drawing electronic diagrams on quadrille paper, á la Forrest Mims III)
17:37 genio sri++ # mocking services for testing is so simple with Mojo!  my life is easier
17:43 AirDisa joined #mojo
18:02 AirDisa joined #mojo
18:03 csson joined #mojo
18:13 AirDisa joined #mojo
18:15 berov joined #mojo
18:16 AirDisa_ joined #mojo
18:23 muraiki joined #mojo
18:31 AirDisa joined #mojo
18:54 woz joined #mojo
18:59 trone joined #mojo
19:01 juikuen joined #mojo
19:12 zackiv31 joined #mojo
19:14 jnbek joined #mojo
19:17 sri oh, mozilla now teaches python... that's disappointing https://developer.mozilla.org/en-US/Learn
19:17 Grinnz_ where?
19:17 jabberwok bumper sticker:  Python Coders are Totally Spaced.
19:18 sri click on "learn technologies"
19:18 Grinnz_ ahhh
19:18 sri they make it look like a fundamental web technology :S
19:18 Grinnz_ well "teaches" is a bit of an overstatement for this page so far :P
19:19 Grinnz_ yeah that's... interesting
19:19 Adura Incoming Gekko Python interpretor!
19:19 Grinnz_ i dont even think a lot of companies use python for the web
19:19 Grinnz_ for everything else, certainly
19:26 AirDisa joined #mojo
19:26 sri lol, so nike makes mojo golf balls
19:27 Grinnz_ heh
19:29 meshl joined #mojo
19:32 riche sri: i got that like more than 10 yrs ago
19:32 riche i don't know if they sell 'em anymore
19:32 sri oh noes
19:33 sri there goes my interest in golf
19:33 riche http://www.golfdiscussions.com/yabbse/index.php?topic=17303.0
19:34 riche i think that post is BS
19:34 riche http://www.walmart.com/ip/Nike-Mojo-Golf-Balls-24-Pack/28848425
19:35 riche looks like a great giveaway item
19:35 riche if you look below, it says "does not contain a battery" ... lol
19:35 Grinnz_ hahaha
19:35 sri lol
19:36 jb360_ joined #mojo
19:36 riche mmm hmmm::: More powerful core for explosive distance
19:37 jnbek joined #mojo
19:53 zackiv31 joined #mojo
20:18 hernan604 sri just ordered 2 packs
20:27 sri i should be selling golf balls
20:35 AirDisa joined #mojo
20:43 dotandimet joined #mojo
20:43 woz joined #mojo
21:00 berov1 joined #mojo
21:20 Adura joined #mojo
21:35 AirDisa joined #mojo
21:42 marty joined #mojo
21:47 meshl joined #mojo
21:53 AirDisa joined #mojo
22:02 jb360_ joined #mojo
22:03 Grinnz_ joined #mojo
22:06 _dave_ joined #mojo
22:08 _dave_ Hello. Question about the "websocket" route: Is there any built-in check for a specific Origin: header or do you have to do that yourself?
22:09 marcusr don't strive; be a jerk; excellent!
22:15 jberger marcusr: ?
22:19 jb360_ joined #mojo
22:25 punter joined #mojo
22:26 sri marcusr: ?
22:28 reneeb joined #mojo
22:29 marcusr sorry, just drinking beer and playing with the code of conduct.
22:29 marcusr =]
22:30 Eke- kipppis for u2
22:31 marcusr you get a kippis, you get a kippis, EVERYBODY GETS A KIPPIS!
22:31 Eke- !
22:32 noganex joined #mojo
22:36 nicomen joined #mojo
22:37 mishantil Again I discover that naming things is bloody hard.
22:37 mishantil ...and conjuring up the idea that writing a query-language is a bad idea.
22:37 * mishantil has no idea what he's doing.
22:39 mishantil And it seems I can't type.
22:52 marcusr mishantil: I recommend drinking more.
22:54 mishantil marcusr: Thanks for the suggestion, but that is not for me. :)
22:55 Zoffix Did someone say drinking more?!
22:55 * Zoffix raises his beer can.
22:55 Zoffix Cheers!
22:55 jabberwok they say less is more, so now i'm drinking less (which is more).
22:57 good_news_everyon joined #mojo
22:57 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/jRfM
22:57 good_news_everyon mojo/master 7b7aa1e Sebastian Riedel: reorganize sections about conditions in the routing guide
22:57 good_news_everyon left #mojo
22:58 sri _dave_: ^
22:58 _dave_ ?
22:59 _dave_ I have no context for that pointer :)
22:59 stephan48 does this start to make sense? yes? you really should stop drinking! no? are you the driver of your group or what!
22:59 mishantil Bdgers.
22:59 _dave_ Assuming you are talking about "good_news_everyone"?
23:00 _dave_ AH...yes you are. Thanks.
23:13 marcusr hmm
23:13 marcusr I hate the Mojo::IRC synopsis. That is a bit sad.
23:14 batman marcusr: can i just come up with a suggestion.........
23:14 batman FIX IT!
23:14 batman ;)
23:14 jabberwok $dom->find('div.content')->each( sub { ... } )   # Mojo::DOM rocks
23:18 marcusr batman: what do you think I'm doing? :)
23:18 sri drinking beer
23:18 batman marcusr: i have no idea.
23:19 batman marcusr: did you know some of my friends think i have asberger's light? :P
23:19 batman kind of makes sense, since i don't interpret vague questions, hehe
23:20 batman *aspergers
23:20 sri asperger is not a thing anymore
23:20 sri it's considered normal now
23:20 batman did it change name?
23:20 batman ah. guess i'm just normal and boring then ;)
23:21 marcusr batman: https://gist.github.com/6f6c8cecd9fb092a22ab
23:22 * marcusr had to do it twice, because he didn't have perltidy installed for some fun reason.
23:22 batman marcusr: can't say i think the change is radically awesome.
23:22 marcusr batman: I really hate $message being used there. Specially for the join.
23:23 marcusr it's confusing as hell.
23:23 melo joined #mojo
23:23 batman i think the SYNOPSIS should be a simple bot example
23:23 marcusr (Implementing mojo::irc marvin adapter)
23:23 marcusr batman: I might provide after I finish my adapter. Just giving you my immediate reaction.
23:24 batman marcusr: whatever you change...it can't get any worse than what's already there :P
23:24 * marcusr has to relearn mojo::irc #sad
23:24 batman marcusr: one thing i'm not sure about... do we mention anywhere that we emit _any_ IRC event?
23:24 Zoffix There's Mojo::IRC?!
23:24 Zoffix *heavy breathing*
23:24 batman Zoffix: yeah
23:25 batman ...or do we just mention some of the events we might support?
23:25 marcusr Zoffix: how do you think we did convos?
23:25 Zoffix I've no idea what convos is :)
23:25 batman marcusr: pure accident ;)
23:25 marcusr Zoffix: http://convos.by/
23:25 Zoffix Neat
23:27 marcusr batman: btw I think some of your friends might be right =]
23:29 batman marcusr: yeah. sorry about that :(
23:29 marcusr batman: no worries <3 <3 <3
23:29 batman marcusr: btw. now, you're one of them! :)
23:30 marcusr 4sure
23:31 batman hehe
23:34 zivester joined #mojo
23:42 good_news_everyon joined #mojo
23:42 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/jR3s
23:42 good_news_everyon mojo/master a656bce Sebastian Riedel: more diverse condition examples
23:42 good_news_everyon left #mojo
23:48 good_news_everyon joined #mojo
23:48 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/jRs9
23:48 good_news_everyon mojo/master db0ee37 Sebastian Riedel: fix typo in routing guide
23:48 good_news_everyon left #mojo
23:50 sri it's a bit bizarre how china is attacking github
23:51 punter Can we add Ubic::Service::Hypnotoad to good_news_everyon's watchlist?
23:51 sri absolutely not
23:52 punter sorry, I meant some other bot's watchlist (the one that watches all modules with Mojolicious in their name)
23:53 sri just make it require mojolicious ;p

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