sphex

Activity Graph

Page 1 of 3 | Next »

2016-06-19

[12:00:51] sphex: Ping timeout: 240 seconds

2016-06-18

[04:29:32] sphex: Read error: Connection reset by peer
[04:35:20] sphex: has joined #ruby

2016-06-16

[16:30:41] sphex: Ping timeout: 244 seconds
[16:34:09] sphex: has joined #ruby

2016-06-15

[15:35:41] sphex: has joined #ruby

2016-06-12

[00:51:58] sphex: Ping timeout: 250 seconds

2016-06-10

[05:46:27] sphex: Ping timeout: 260 seconds
[05:47:54] sphex: has joined #ruby
[18:39:15] sphex: Ping timeout: 260 seconds
[18:40:27] sphex: has joined #ruby

2016-06-09

[18:53:53] sphex: has joined #ruby

2016-06-07

[02:24:21] sphex: Read error: Connection reset by peer

2016-06-05

[14:26:42] sphex: Ping timeout: 260 seconds
[14:28:45] sphex: has joined #ruby

2016-06-04

[02:02:00] sphex: Ping timeout: 260 seconds
[02:04:51] sphex: has joined #ruby
[02:13:12] sphex: Ping timeout: 246 seconds
[02:42:58] sphex: has joined #ruby
[20:32:34] sphex: Ping timeout: 260 seconds
[21:39:40] sphex: has joined #ruby

2016-06-03

[14:45:04] sphex: has joined #ruby

2016-05-29

[15:47:28] sphex: has joined #ruby
[19:27:29] sphex: Read error: Connection reset by peer

2016-05-26

[00:56:04] sphex: Ping timeout: 260 seconds
[00:58:01] sphex: has joined #ruby
[19:25:43] sphex: Read error: Connection reset by peer

2016-05-24

[05:19:13] sphex: has joined #ruby

2016-05-22

[09:32:00] sphex: Ping timeout: 246 seconds

2016-05-21

[20:31:46] sphex: has joined #ruby

2016-05-19

[09:28:19] sphex: Read error: Connection reset by peer

2016-05-17

[22:02:10] sphex: Remote host closed the connection
[22:08:44] sphex: has joined #ruby

2016-05-09

[21:18:04] sphex: Ping timeout: 240 seconds
[21:19:01] sphex: has joined #ruby

2016-05-03

[19:42:26] sphex: *.net *.split
[19:51:42] sphex: has joined #ruby

2016-04-29

[19:14:35] sphex: has joined #ruby

2016-04-25

[07:01:27] sphex: Ping timeout: 250 seconds

2016-04-24

[20:46:27] sphex: Ping timeout: 260 seconds
[20:47:48] sphex: has joined #ruby

2016-04-23

[18:45:14] sphex: Ping timeout: 260 seconds
[19:04:04] sphex: has joined #ruby

2016-04-22

[18:18:23] sphex: has joined #ruby

2016-04-21

[06:11:16] sphex: Read error: Connection reset by peer

2016-04-17

[14:40:11] sphex: has joined #ruby

2016-04-14

[04:31:25] sphex: Ping timeout: 276 seconds

2016-04-13

[01:28:04] sphex: Ping timeout: 264 seconds
[01:29:37] sphex: has joined #ruby
[18:39:18] sphex: Ping timeout: 252 seconds
[18:42:28] sphex: has joined #ruby
[21:28:04] sphex: Ping timeout: 264 seconds
[21:29:23] sphex: has joined #ruby

2016-04-07

[11:44:02] sphex: has joined #ruby

2016-04-01

[10:42:02] sphex: Read error: Connection reset by peer

2016-03-23

[19:38:21] sphex: has joined #ruby

2016-03-22

[09:20:09] sphex: Ping timeout: 246 seconds

2016-03-20

[17:21:44] sphex: has joined #ruby
[19:18:18] sphex: Read error: Connection reset by peer
[19:23:57] sphex: has joined #ruby

2016-03-16

[07:42:53] sphex: Read error: Connection reset by peer
[07:43:10] sphex: has joined #ruby
[08:54:40] sphex: Ping timeout: 252 seconds

2016-03-06

[06:55:38] sphex: has joined #ruby

2016-03-03

[02:23:52] sphex: Ping timeout: 248 seconds

2016-03-01

[16:19:51] sphex: Ping timeout: 276 seconds
[16:26:38] sphex: has joined #ruby

2016-02-27

[02:34:15] sphex: has joined #ruby
[22:24:05] sphex: Ping timeout: 252 seconds
[22:24:08] sphex: has joined #ruby
[22:36:59] sphex: Remote host closed the connection
[22:41:01] sphex: has joined #ruby
[23:39:26] sphex: Write error: Broken pipe
[23:57:53] sphex: has joined #ruby

2016-02-26

[17:04:49] sphex: has joined #ruby
[17:20:34] sphex: *.net *.split

2016-02-24

[22:26:29] sphex: Ping timeout: 240 seconds
[22:28:46] sphex: has joined #ruby
[23:18:04] sphex: Ping timeout: 252 seconds

2016-02-21

[11:01:32] sphex: Read error: No route to host
[11:01:48] sphex: has joined #ruby

2016-02-19

[18:25:48] sphex: has joined #ruby

2016-02-17

[08:00:57] sphex: Read error: Connection reset by peer

2016-02-16

[00:03:44] sphex: shevy: they're more lightweight threads pretty much. much less crazy to implement than full continuations. but the thing is, Fibers are used automatically when using enumerators in a certain way (which is awesome), but also they seem to hide away the thread-local storage because of that IIUC, which is super annoying...
[00:05:16] sphex: drale2k: if you keep receiving data on those sockets, eventually the kernel-side buffer will fill up, and the sender will have to slow down and stop, so there's a limit to how much memory will be wasted for each socket. it won't just keep building up because you're not reading them.
[00:07:38] sphex: drale2k: that's one connection at a time right?
[00:09:07] sphex: drale2k: maybe let the thread close the socket itself when it is done, then terminate by itself
[00:09:32] sphex: drale2k: yeah, each accept() gets you a new socket, which can be used concurrently
[02:57:52] sphex: hey. what do you guys think of "service locator/registry" / "inversion of control containers" patterns and the like? is there a better way to do it in ruby?
[03:13:22] sphex: do they plan on making MRI GIL-free eventually? or at least making it more granular...
[03:16:23] sphex: r4z3r: okay
[03:19:56] sphex: hey.. one thing I'm not sure of: when using built-in classes like Array, Hash, String, etc, is it OK to assume that they do their own locking and that most of their methods could be called directly from different threads?
[03:32:56] sphex: Ropeney: ok
[03:38:45] sphex: Ropeney: oh, neat. thanks.
[03:41:09] sphex: Ropeney: hey, any idea if it has a thing that lets you have thread/fiber-local variables that are "inherited" by other threads/fibers? the built-in thread/fiber locals all disappear in the sub-threads/fibers and I'm trying to workaround that.
[03:41:51] sphex: hrm maybe I'm approaching this the wrong way though, maybe there's a better thing in concurrent-ruby...
[04:24:31] sphex: hey so when writing a class-level DSL-style module, it seems like the convention is to make it work when "include"d rather than requiring it to be "extend"ed into the using class. is that what one should do?
[04:30:09] sphex: Ox0dea: yeah, but you can make them do lots of stuff by hooking into "included" and "extended".
[04:32:32] sphex: but it seems to me that lots of DSL modules do that. they let you "include" them and then they define class-level helper methods from there.
[04:39:22] sphex: hrm. actually I guess most DSLs let you inherit from them, so it extends and includes at the same time sort of. I guess. I checked so many examples I'm starting to confuse them all.
[04:40:07] sphex: Ox0dea: the thing is.. you sometimes need both to define instance methods, and helper class methods, and if you want to provide that as a mixin, AFAIU you'd have to do some extending from included, or some including from extended. :/
[04:44:30] sphex: ah yeah.. by bundling the class-level and instance-level methods in the same module? yeah, not very neat. reminds me of those "extend self" I have seen.
[04:49:56] sphex: Ox0dea: alright. the "module_function" is a shortcut right? It won't "flow-through" an include or otherwise be magic?
[04:57:22] sphex: Ox0dea: ok. yeah. only ordinary inheritance does that?
[05:04:39] sphex: dammit. I thought I understood that stuff. I had to stop using ruby for a while and now this is all confusing me *again*.
[05:11:09] sphex: Ox0dea: I must be using the wrong terms, I was thinking of this kind of behavior: https://gist.github.com/Math2/867c4f9ae8a49e0aa366
[05:15:40] sphex: oh yeah.. I remember. they also show up in "ancestors". it's inheritance too. and modifying a module after it has been included will still affect the module that included it...
[05:17:28] sphex: hey thanks Ox0dea
[05:21:27] sphex: you've been answering my questions since forever on this channel!
[05:22:42] sphex: hrm possibly even exactly these questions :/
[05:26:52] sphex: haha. huh. mildly disturbing. I'm still not fully mentally prepared for 1984.
[05:42:00] sphex: Ox0dea: oh yeah this should help. I'll watch that later for sure. thanks!
[05:43:20] sphex: RClass sure looks *alot* cleaner than Perl's SVs

2016-02-15

[23:50:56] sphex: has joined #ruby
[23:53:50] sphex: hey! I have a question about Thread/Fiber local storage... is there any way to make this happen: Thread.current[:test] = "!"; Thread.new { puts Thread.current[:test] }.join
[23:55:10] sphex: I mean, to have the local storage be inherited by threads or fibers created.
[23:57:38] sphex: drale2k: well.. it will hold the socket open (as long as there is a reference remaining to this object), *and* this will require some memory (and kernel resources)

2015-12-18

[17:12:02] sphex: Ping timeout: 246 seconds

2015-12-16

[16:29:30] sphex: Ping timeout: 272 seconds
[16:44:14] sphex: has joined #ruby-offtopic
[16:44:14] sphex: has joined #ruby

2015-12-11

[19:14:23] sphex: has joined #ruby-offtopic
[19:14:23] sphex: has joined #ruby

2015-12-09

[00:18:54] sphex: Read error: Connection reset by peer
[00:18:55] sphex: has joined #ruby-offtopic
[00:18:55] sphex: has joined #ruby
[07:12:57] sphex: Ping timeout: 250 seconds

2015-12-07

[14:17:48] sphex: Ping timeout: 246 seconds
[14:21:20] sphex: has joined #ruby-offtopic
[14:21:20] sphex: has joined #ruby

2015-12-06

[16:56:24] sphex: Ping timeout: 245 seconds
[18:02:15] sphex: has joined #ruby-offtopic
[18:02:15] sphex: has joined #ruby

2015-12-05

[08:08:03] sphex: Read error: Connection reset by peer
[08:14:35] sphex: has joined #ruby-offtopic
[08:14:35] sphex: has joined #ruby

2015-12-04

[07:47:50] sphex: Read error: Connection reset by peer
[07:48:09] sphex: has joined #ruby-offtopic
[07:48:09] sphex: has joined #ruby

2015-12-01

[11:04:48] sphex: Ping timeout: 244 seconds
[13:37:11] sphex: has joined #ruby
[13:37:12] sphex: has joined #ruby-offtopic

2015-11-30

[14:23:46] sphex: Ping timeout: 244 seconds
[14:40:44] sphex: has joined #ruby-offtopic
[14:40:44] sphex: has joined #ruby

2015-11-29

[22:18:51] sphex: *.net *.split
[22:19:26] sphex: has joined #ruby-offtopic
[22:19:26] sphex: has joined #ruby

2015-11-26

[19:01:49] sphex: *.net *.split

2015-11-13

[18:50:59] sphex: Read error: Connection reset by peer
[18:55:44] sphex: has joined #ruby
[18:55:45] sphex: has joined #ruby-offtopic

2015-11-08

[16:28:49] sphex: has joined #ruby-offtopic
[16:28:49] sphex: has joined #ruby

2015-11-02

[18:37:23] sphex: Ping timeout: 264 seconds

2015-11-01

[22:14:48] sphex: Ping timeout: 255 seconds
[22:17:28] sphex: has joined #ruby-offtopic
[22:17:28] sphex: has joined #ruby

2015-10-30

[09:47:35] sphex: Read error: Connection reset by peer
[14:48:35] sphex: has joined #ruby
[14:48:36] sphex: has joined #ruby-offtopic
[15:16:46] sphex: Ping timeout: 268 seconds
[22:39:03] sphex: has joined #ruby-offtopic
[22:39:03] sphex: has joined #ruby

2015-10-29

[03:35:29] sphex: has joined #ruby-offtopic
[03:35:29] sphex: has joined #ruby
[23:31:59] sphex: Ping timeout: 264 seconds
[23:33:43] sphex: has joined #ruby
[23:33:44] sphex: has joined #ruby-offtopic

2015-10-24

[01:33:11] sphex: Ping timeout: 264 seconds

2015-10-21

[15:40:50] sphex: Ping timeout: 240 seconds
[15:42:41] sphex: has joined #ruby-offtopic
[15:42:41] sphex: has joined #ruby

2015-10-18

[01:01:01] sphex: Ping timeout: 265 seconds
[01:02:46] sphex: has joined #ruby-offtopic
[01:02:46] sphex: has joined #ruby
[09:09:59] sphex: Ping timeout: 240 seconds
[09:11:40] sphex: has joined #ruby-offtopic
[09:11:40] sphex: has joined #ruby

2015-10-17

[00:26:15] sphex: Ping timeout: 252 seconds
[00:27:01] sphex: has joined #ruby-offtopic
[00:27:01] sphex: has joined #ruby

2015-10-14

[16:50:05] sphex: *.net *.split
[17:07:48] sphex: has joined #ruby-offtopic
[17:07:48] sphex: has joined #ruby

2015-10-09

[00:43:53] sphex: Read error: Connection reset by peer
[00:47:33] sphex: has joined #ruby-offtopic
[00:47:33] sphex: has joined #ruby

2015-10-06

[15:25:38] sphex: Ping timeout: 268 seconds
[15:32:06] sphex: has joined #ruby-offtopic
[15:32:06] sphex: has joined #ruby

2015-10-05

[06:40:14] sphex: has joined #ruby
[06:40:15] sphex: has joined #ruby-offtopic

2015-10-04

[03:15:33] sphex: Read error: Connection reset by peer

2015-10-03

[19:39:54] sphex: Ping timeout: 268 seconds
[19:40:43] sphex: has joined #ruby
[19:40:44] sphex: has joined #ruby-offtopic

2015-09-22

[00:56:49] sphex: Ping timeout: 264 seconds
[01:03:38] sphex: has joined #ruby-offtopic
[01:03:38] sphex: has joined #ruby
[01:08:35] sphex: Remote host closed the connection
[01:19:06] sphex: has joined #ruby-offtopic
[01:19:06] sphex: has joined #ruby

2015-09-08

[03:32:56] sphex: Ping timeout: 260 seconds
[03:33:50] sphex: has joined #ruby-offtopic
[03:33:50] sphex: has joined #ruby

2015-09-07

[21:15:12] sphex: Ping timeout: 268 seconds
[21:28:56] sphex: has joined #ruby
[21:28:57] sphex: has joined #ruby-offtopic
[22:08:37] sphex: Ping timeout: 244 seconds
[22:17:24] sphex: has joined #ruby-offtopic
[22:17:24] sphex: has joined #ruby

2015-09-03

[07:00:25] sphex: Read error: Connection reset by peer
[07:11:41] sphex: has joined #ruby-offtopic
[07:11:41] sphex: has joined #ruby
[19:05:08] sphex: Ping timeout: 250 seconds
[19:09:18] sphex: has joined #ruby-offtopic
[19:09:18] sphex: has joined #ruby
[19:28:26] sphex: Ping timeout: 252 seconds
[19:29:29] sphex: has joined #ruby-offtopic
[19:29:29] sphex: has joined #ruby
[19:40:47] sphex: Ping timeout: 246 seconds
[19:41:51] sphex: has joined #ruby
[19:41:52] sphex: has joined #ruby-offtopic

2015-08-27

[14:50:01] sphex: Ping timeout: 265 seconds
[18:24:55] sphex: has joined #ruby

2015-08-26

[04:40:51] sphex: Ping timeout: 245 seconds
[05:20:40] sphex: has joined #ruby
[11:31:30] sphex: Ping timeout: 260 seconds
[11:59:28] sphex: has joined #ruby
[12:54:36] sphex: Ping timeout: 245 seconds
[12:56:19] sphex: has joined #ruby
[13:06:39] sphex: Ping timeout: 246 seconds
[13:08:38] sphex: has joined #ruby
[15:24:16] sphex: Ping timeout: 260 seconds
[19:08:32] sphex: has joined #ruby
[20:32:11] sphex: Ping timeout: 240 seconds
[20:50:36] sphex: has joined #ruby

2015-08-25

[21:55:05] sphex: has joined #ruby

2015-08-21

[19:38:21] sphex: has joined #ruby
[20:20:07] sphex: Ping timeout: 240 seconds
[20:38:54] sphex: has joined #ruby
[21:52:24] sphex: Ping timeout: 244 seconds

2015-08-19

[03:09:50] sphex: Ping timeout: 252 seconds

2015-08-16

[20:28:26] sphex: has joined #ruby-offtopic
[21:19:01] sphex: Ping timeout: 255 seconds
[21:19:47] sphex: has joined #ruby
[21:19:48] sphex: has joined #ruby-offtopic