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

IRC log for #mojo, 2016-10-18

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

All times shown according to UTC.

Time Nick Message
00:04 Janos joined #mojo
00:31 mcsnolte joined #mojo
00:34 disputin joined #mojo
00:47 aborazmeh joined #mojo
01:42 troglodita joined #mojo
01:47 ilbot2 joined #mojo
01:47 Topic for #mojo is now ???? nom nom | http://mojolicious.org | http://irclog.mojolicious.org | http://code-of-conduct.mojolicious.org
02:02 noganex joined #mojo
02:05 mishanti1 joined #mojo
02:36 chansen joined #mojo
02:59 noganex_ joined #mojo
03:18 root joined #mojo
03:19 perfi Mojo::Server::Daemon->stop() still keep listen socket open, how can I close listening socket
03:19 perfi Is anyone online here?
03:29 perfi delete $server->{servers}; this works
04:03 Janos joined #mojo
04:13 zivester joined #mojo
04:14 polettix joined #mojo
04:58 khfeng joined #mojo
05:06 Janos joined #mojo
05:49 inokenty-w joined #mojo
05:51 dod joined #mojo
05:53 aborazmeh joined #mojo
05:56 dod joined #mojo
06:15 polettix joined #mojo
06:15 salva0 joined #mojo
06:27 Vandal joined #mojo
07:12 trone joined #mojo
07:15 dod joined #mojo
07:18 mbudde joined #mojo
07:39 CW joined #mojo
07:44 alilles joined #mojo
07:45 AndrewIsh joined #mojo
07:56 VVelox joined #mojo
08:05 che-quest joined #mojo
08:14 osfabibisi joined #mojo
08:54 rshadow joined #mojo
09:27 trone joined #mojo
10:32 che-quest joined #mojo
10:40 rshadow joined #mojo
10:58 tchaves joined #mojo
11:11 tchaves joined #mojo
11:20 tchaves joined #mojo
11:45 jkramer In Mojo::DOM, is there any difference between the *_nodes methods and the ones without _nodes other than one takes an optional selector?
11:46 jkramer For example preceding vs preceding_nodes or children vs child_nodes
11:48 nic element vs node
11:49 jkramer Oh
11:49 jkramer Should have read the fineprint :)
11:54 rshadow joined #mojo
11:54 jberger That reminds me though, we haven't gotten those questions since renaming those methods
11:55 jberger It was a bit painful to break code just to change the method names but as long as we did it I'm glad it worked \o/
12:07 rshadow1 joined #mojo
12:34 jkramer sri: That selector thing you were talking about, was that just an idea or is there already code somewhere that's just not merged?
12:36 itaipu joined #mojo
12:39 zivester joined #mojo
13:05 gizmomathboy joined #mojo
13:09 asarch joined #mojo
13:16 ramortegui joined #mojo
13:24 marty joined #mojo
13:39 marty joined #mojo
13:44 aborazmeh joined #mojo
13:51 ivi joined #mojo
14:26 mcsnolte joined #mojo
14:46 karjala joined #mojo
14:56 disputin joined #mojo
15:15 jberger jkramer: as far as I know it is just an idea
16:06 zivester joined #mojo
16:26 disputin joined #mojo
16:47 vicash left #mojo
16:49 vicash joined #mojo
16:53 kes joined #mojo
16:55 sri just an idea, and it might not be doable
16:55 sri problem is anchoring the accessor at the root
16:55 sri i tried :root:nth-child(...) in browsers and it doesn't work
16:55 kes joined #mojo
16:55 sri so, the Mojo::DOM behavior doesn't seem spec compliant
16:56 sri Mojo::DOM is a fragment parser, so you can have anything at the root... like <div><p></p></div><div><p></p></div>
16:57 sri try generating a unique selector for the <p>
17:13 jberger sucks that :scope is dead again
17:19 Lee joined #mojo
17:20 polettix joined #mojo
17:22 rshadow joined #mojo
17:23 sri argh, now that i like kde everybody is telling me horror stories about the future of kde :,(
17:30 mrEriksson Give it a year or two and those stories will be about Gnome instead, and then back to kde again after that
17:32 mishanti1 sri: ^^ What mrEriksson said. It's been like that for years and years.
17:39 dod joined #mojo
18:04 howitdo joined #mojo
18:25 marty joined #mojo
18:37 vicash sri: xfce
18:39 mishanti1 joined #mojo
18:40 itaipu joined #mojo
18:54 itaipu joined #mojo
18:55 inokenty joined #mojo
18:57 dave 2nded .. xfce (but I sadly use kwin with it)
19:25 sri xfce seems to have a lot of fans
19:29 vicash sri: because xfce is based off Gnome2 and doesn't forcibly change the UI on you like Gnome3. it also runs on lesser CPU. Gnome3 is a CPU hog
19:29 Grinnz MATE is similar, and cinnamon is sort of the same style but on the gnome 3 shell
19:30 Grinnz i used XFCE a bunch on systems with bad GPUs
19:30 Grinnz it's a nice fallback desktop but not really to my taste
19:31 mishanti1 joined #mojo
19:32 vicash XFCE is great if you run Linux in a VM or on servers running VNC server for GUI access
19:38 rshadow joined #mojo
19:43 mishanti1 joined #mojo
20:04 polettix joined #mojo
20:15 itaipu joined #mojo
20:32 marty joined #mojo
21:03 dave so...I find myself trying to explain non-blocking to a PHP programmer...can anyone recommend a site that has a good tutorial on it?
21:04 dave it = non-blocking
21:06 disputin joined #mojo
21:06 suede dave: just teach them what an event loop is
21:07 suede and how it relates to socket programming
21:07 suede and then explain why it's superior to using a socket-per-thread system
21:08 preaction how experienced are they? you could couch it in terms they already know: apache waits for an incoming event, then executes a php script when that happens, in another process (assuming mpm_prefork). it is then free to receive more incoming events while it waits for the php script to finish
21:11 dave yeah seems like either suggestion means teaching internals
21:12 dave and while I always recommend software devs learn internals, PHP programmers tend to not handle internals discussions well
21:13 preaction internals of what? do they know javascript? same discussion there
21:13 dave internals of { apache, event loops, socket programming }
21:14 dave I liked the tea-kettle example on the mojo wiki
21:28 sri xfce is quite ugly
21:31 bpmedley dave: I would start down a similar path as preaction, except I would use absolute numbers.  For example, given 8GB of ram how many GET requests can be served with X number of processes.  Then, I would show them how many could be served via a non-blocking approach..
21:36 dave thanks for those ideas all :D I think I overwhelmed the PHP programmer. Must remember to slow my brain down before teaching.
21:37 dave sri: xfce isn't designed to be pretty, it's designed to be minimalist and get out of your way as much as it can
22:35 disputin joined #mojo
22:45 itaipu joined #mojo

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