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

IRC log for #mojo, 2017-07-13

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

All times shown according to UTC.

Time Nick Message
00:41 Pierre joined #mojo
01:11 zivester joined #mojo
01:57 aborazmeh joined #mojo
02:03 stryx` joined #mojo
02:06 bc547 joined #mojo
02:08 noganex joined #mojo
02:33 zivester joined #mojo
06:22 Pierre joined #mojo
06:41 dod joined #mojo
06:48 dod joined #mojo
07:00 dod joined #mojo
07:15 Vandal joined #mojo
07:17 dod joined #mojo
07:44 dod joined #mojo
07:55 inokenty-w joined #mojo
07:57 schelcj joined #mojo
07:58 Pierre joined #mojo
08:05 prg joined #mojo
08:32 cosimo joined #mojo
08:38 cosimo joined #mojo
08:40 rshadow joined #mojo
08:51 castaway moo ;)
08:51 sri o/
08:52 castaway sri: from the way mst described, and the way I was planning to do - one adds minion tasks in ones own other piece of software.. and just starts the workers using the small mojo app?
08:52 sri tasks would be defined in the app
08:52 castaway I havent actually tried it yet though..
08:53 sri app->minion->add_task(moo => sub {...})
08:53 sri it's not just about the worker command, also defining tasks somewhere
08:54 castaway hmm, now Im confused how mst is using it..
08:54 sri use Mojolicious::Lite; plugin Minion => {...}; app->minion->add_task(moo => sub {...}); app->start;
08:55 sri most minimalisitic solution i can think of
08:57 castaway ah. mebbe he meant minimal as in - no url routes etc
08:58 sri mojolicious pretty much just provides the logger and some glue in that scenario
09:00 castaway hmm, ok..
09:02 preaction i wrote Beam::Minion to do basically that
09:06 * castaway looks that up
09:06 castaway I like when I can just install shit instead of working ;)
09:10 castaway preaction++ and ooh actual db connect string examples ;)
09:19 castaway preaction: hmm, tho one needs more code bits to make the tasks /
09:19 castaway ?
09:20 preaction the code bits are modules, if that's what you mean, yes
09:25 sri that's not unlike what i had in mind for making minion less mojolicious specific, just with a little less abstraction :)
09:26 castaway preaction: yu
09:26 castaway hmm, can they use/add extra bits of db data?
09:28 preaction yes. you can configure your dbh/dbic/whatever and then get things from the database
09:29 preaction my TPC talk still isn't on the youtube, otherwise there'd be a nice 20-minute introduction talk
09:30 castaway ;)
09:31 preaction https://preaction.github.io/Data-Workflows-With-Beam the slides exist, and in the speaker view (hit "s") the notes are basically what i said, but that's a bit less easy than the video
10:08 iamb joined #mojo
10:34 gregf_ joined #mojo
12:16 tchaves joined #mojo
12:34 gizmomathboy joined #mojo
12:39 sprog joined #mojo
13:00 gryphon joined #mojo
13:13 Pierre joined #mojo
13:32 dod joined #mojo
14:01 zivester joined #mojo
14:03 mcsnolte joined #mojo
14:08 trone joined #mojo
14:25 petru joined #mojo
14:57 sh14 joined #mojo
15:07 karjala_ joined #mojo
15:58 Pyritic joined #mojo
16:04 gabiruh joined #mojo
16:15 karjala_ joined #mojo
16:32 PryMar56 joined #mojo
16:58 * sri is seriously offended by vscode now
16:59 pink_mist 0_o oh?
16:59 sri it says PERL
16:59 sri !!!
16:59 pink_mist :(
16:59 sri there's Python, Ruby, Perl 6, and then PERL
16:59 sri i don't even
17:00 Grinnz it says "Perl" for me
17:00 sri i'm using the latest version without extensions
17:01 sri fresh install
17:01 purl fresh install is, like, case sensitive, with the new fs
17:01 tianon Poetic Esoteric Rockstar Language
17:07 jnbek YES!!
17:14 stryx` joined #mojo
17:42 sri on the plus side, vscode is very very snappy and tasks are pretty cool
17:53 sri and the config system is very good
18:01 petru joined #mojo
18:01 dod joined #mojo
18:24 sri would be nice to have ep syntax highlighting in vscode
18:37 sri Grinnz: do you have perl extensions installed?
18:37 Grinnz nope
18:37 Grinnz i don't remember seeing anything interesting
18:37 pink_mist sri: maybe it's german locale kind of thing
18:38 sri looked through the vscode repo, there is no uppercase perl
18:38 sri and i use en_US locale
18:39 sri testing it on a mac though
18:59 dmanto joined #mojo
19:02 sri i guess vscode can convert textmate language bundles
19:02 sri that should make ep syntax support pretty easy
19:06 brunoramos joined #mojo
19:21 brunoramos joined #mojo
19:22 sri these should be easy to convert... if someone here has a little time https://github.com/SublimeText/Mojolicious
19:56 jberger a wild tianon appears!
19:56 tianon quick, set it on fire before it causes trouble
19:56 jberger awww, I was gonna let it go unburnt
19:57 tianon <:D
19:57 * jberger grudgingly sets tianon on fire
19:57 * tianon ????????????????????????????????????????????????????????????????????????????
19:58 sri oh
19:58 sri i'm too late
20:00 Grinnz did someone say... fire? http://www.behindthevoiceactors.com/_img/chars/junkrat-overwatch-7.8.jpg
20:04 zivester joined #mojo
20:11 Lee[home] joined #mojo
20:13 sri think vscode has won me over :o
20:14 sri it does the one thing i value most in gui editors better than atom
20:15 Grinnz whats that?
20:15 purl well, that is correct, I don't think you have a birthdate column on Assistance do you?
20:15 Grinnz purl: ???
20:15 purl grinnz: wish i knew
20:16 pink_mist purl: why would Assistance have a birthday column?
20:16 purl i don't know, pink_mist
20:16 pink_mist purl: enlightening as always
20:16 purl pink_mist: sorry...
20:16 Lee_ joined #mojo
20:17 sri find in project of course :)
20:17 arcanez purl: that?
20:17 purl that is probably correct, I don't think you have a birthdate column on Assistance do you?
20:17 arcanez purl: forget that
20:17 purl arcanez: I forgot that
20:17 * arcanez pets purl
20:17 purl don't mess with me
20:17 arcanez purl: botsnack
20:17 purl thanks arcanez :)
20:17 sri and vscode does navigation in find in project results a lot better than atom
20:18 Grinnz ah, find in project, i havent really tried that cause i just git grep everything
20:18 Grinnz but it did look nice
20:23 sri actually, vim mode looks really good too https://marketplace.visualstudio.com/items?itemName=vscodevim.vim
20:24 sri also a bit of a weak spot in atom
20:31 sri aside from the PERL, i also got it to look pretty reasonable http://i.imgur.com/ajw6ZxZ.jpg
20:32 sri even the silly shadows can be disables, really nice settings system
20:32 sri s/s/d/
20:40 marty joined #mojo
20:41 Pierre joined #mojo
20:48 rshadow joined #mojo
20:59 genio sri: heh. your background image is the same as mine and where that opened up, it blended in all too well. I found myself trying to scroll in the window
21:04 Grinnz THIS. IS. PERL!
21:05 Grinnz and yeah I like the settings. even better in the last few updates.
21:07 sri genio: lol
21:08 sri i don't know where the PERL comes from :(
21:10 sri the little happy smiley next to the PERL really ties it all together
21:10 Grinnz heh
21:18 Pyritic joined #mojo
21:43 Lee_ joined #mojo
21:43 Lee[home] joined #mojo
21:52 CandyAngel You know when you send an email with an activation link.. is a UUID suitable for that?
21:53 preaction sure
21:53 CandyAngel Gooood, thankies
21:55 CandyAngel I'm making something so people can "reserve" their usernames from another service for this one, by registering there (whisper the bot your email, it sends email with link which creates the account)
22:01 stryx` joined #mojo
22:03 jberger I use a JWT for that
22:04 jberger http://perltricks.com/article/193/2015/9/18/How-to-send-verification-emails-using-Mojolicious/
22:13 sri neat, when you search in a document it prefills the search box with the word your cursor is currently on... i really like these little ux things
22:14 Grinnz lots of neat things you can do once you don't have to do it all through an arbitrary terminal *cough*
22:14 sri i'm still comparing it to atom
22:14 pink_mist not many gui editors do that either, yeah
22:16 sri you can feel that the vscode folks care about making a good editor
22:16 Grinnz i feel the same about a lot of microsoft products lately, except for windows
22:19 jberger "when you search in a document it prefills the search box with the word your cursor is currently on" <-- you mean vim's "Shift-*" ? </troll>
22:22 sri we're only comparing gui editors
22:23 * sri will always be a vim user too
22:24 sri although these days i try to limit my customizations to one vimrc that i can quickly copy to all the machines i work on
22:26 sri btw. if anyone feels like exchanging vscode settings, here's mine so far https://gist.github.com/anonymous/4cde1ff63ce765bc988b6fb598e57ff3
22:27 Grinnz this is all i have... this is for work code without a strict length limit, thats why the ruler at 100 https://gist.github.com/Grinnz/a5d78a6370d7de35502ee29a303c40ec
22:28 Grinnz i used to have more a couple versions ago, but then they fixed their text wrapping options so the defaults are fine
22:30 Grinnz ... "minimap"?
22:30 Grinnz i didn't know this was an FPS :P
22:30 sri aha, i was missing insertFinalNewline
22:31 Grinnz oh, is that the sidebar that shows the contents of the file?
22:31 Grinnz hmm, i think that used to default to on but it doesn't now
22:31 sri yea, i don't like editor minimaps
22:32 sri just like colors in the file explorer, just distraction from work
22:32 preaction i like knowing approximately where i am in a file sometimes, but that could be achieved in many ways
22:33 Grinnz the scrollbar does that well enough for me
22:33 Grinnz especially vscode's scrollbar, which shows pips for your selected text
22:33 preaction vim. no scrollbar :(
22:33 Grinnz psssh
22:33 pink_mist vim has a percentage
22:33 preaction yeah, but that requires thinking

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