heftig

Activity Graph

Page 1 of 3 | Next »

2019-03-21

[22:14:32] heftig: has joined #ruby
[22:14:49] heftig: has joined #ruby
[22:14:49] heftig: Changing host
[22:15:21] heftig: has left #ruby: ()

2018-07-15

[00:00:54] heftig: Quit: heftig
[00:05:16] heftig: has joined #ruby
[01:45:05] heftig: has left #ruby: ()

2018-07-13

[00:46:11] heftig: Quit: heftig
[00:55:35] heftig: has joined #ruby

2018-06-11

[13:25:11] heftig: eising: the \r is a problem, yes
[13:25:53] heftig: .chomp("\r\n")
[13:26:25] heftig: ah, nvm, bare .chomp does recognize \r\n

2018-06-10

[07:51:32] heftig: Ping timeout: 276 seconds

2018-06-03

[12:52:46] heftig: Quit: heftig
[12:59:13] heftig: has joined #ruby

2018-05-29

[02:44:51] heftig: *.net *.split
[02:45:19] heftig: has joined #ruby
[02:46:59] heftig: *.net *.split
[02:47:53] heftig: has joined #ruby
[18:23:52] heftig: Quit: heftig
[18:24:12] heftig: has joined #ruby
[18:35:05] heftig: Quit: heftig
[18:40:27] heftig: has joined #ruby

2018-05-24

[06:32:42] heftig: Ping timeout: 245 seconds
[07:23:45] heftig: has joined #ruby
[07:38:31] heftig: Quit: heftig
[07:43:03] heftig: has joined #ruby
[09:08:56] heftig: Ping timeout: 256 seconds
[09:09:14] heftig: has joined #ruby
[09:09:56] heftig: has joined #ruby
[09:09:56] heftig: Changing host
[09:16:50] heftig: has joined #ruby

2018-05-20

[20:13:02] heftig: Ping timeout: 256 seconds
[20:25:17] heftig: has joined #ruby

2018-05-17

[00:44:54] heftig: Quit: heftig
[00:46:00] heftig: has joined #ruby

2018-05-16

[00:01:10] heftig: Quit: heftig
[04:19:10] heftig: has joined #ruby
[17:39:49] heftig: Quit: heftig
[17:45:04] heftig: has joined #ruby

2018-04-26

[16:48:43] heftig: Read error: Connection reset by peer
[16:50:10] heftig: has joined #ruby

2018-04-25

[12:25:47] heftig: *.net *.split
[12:27:24] heftig: has joined #ruby
[15:01:18] heftig: *.net *.split
[15:03:13] heftig: has joined #ruby

2018-03-17

[00:01:45] heftig: Read error: Connection reset by peer
[00:01:59] heftig: has joined #ruby

2018-03-05

[16:39:05] heftig: Remote host closed the connection
[16:39:20] heftig: has joined #ruby
[16:40:01] heftig: Read error: Connection reset by peer
[16:43:19] heftig: has joined #ruby

2018-02-25

[09:34:48] heftig: *.net *.split
[09:36:30] heftig: has joined #ruby

2018-02-09

[10:40:31] heftig: Remote host closed the connection
[10:40:44] heftig: has joined #ruby

2018-02-02

[13:36:00] heftig: are there any differences left between symbols and frozen strings?

2018-01-28

[18:31:46] heftig: Read error: Connection reset by peer
[18:33:26] heftig: has joined #ruby

2018-01-22

[23:27:28] heftig: Quit: No Ping reply in 180 seconds.
[23:28:36] heftig: has joined #ruby

2018-01-16

[00:03:17] heftig: Read error: Connection reset by peer
[00:04:00] heftig: has joined #ruby
[10:51:59] heftig: za1b1tsu: maybe you're supposed to use class_double("SomeService")
[10:53:07] heftig: za1b1tsu: i wouldn't load the SomeService class if I need to mock it
[10:54:15] heftig: za1b1tsu: ah, you also need to call as_stubbed_const on the double
[10:54:44] heftig: so double_test = class_double("SomeService").as_stubbed_const
[10:56:05] heftig: za1b1tsu: I guess
[10:56:17] heftig: za1b1tsu: also I think the SomeService needs to be a string

2018-01-07

[01:10:34] heftig: Read error: Connection reset by peer
[01:13:32] heftig: has joined #ruby

2017-12-27

[08:54:57] heftig: Read error: Connection reset by peer
[08:58:41] heftig: has joined #ruby

2017-12-24

[07:13:52] heftig: Ping timeout: 240 seconds
[10:27:01] heftig: has joined #ruby

2017-12-12

[20:45:15] heftig: *.net *.split
[20:45:28] heftig: has joined #ruby

2017-12-04

[15:19:35] heftig: Read error: Connection reset by peer
[15:35:19] heftig: has joined #ruby

2017-12-01

[02:28:49] heftig: has joined #ruby

2017-11-17

[00:01:02] heftig: Read error: Connection reset by peer
[00:02:54] heftig: has joined #ruby

2017-11-13

[12:50:27] heftig: Ping timeout: 258 seconds
[12:52:27] heftig: has joined #ruby

2017-11-12

[09:11:50] heftig: Remote host closed the connection
[09:19:28] heftig: has joined #ruby

2017-11-11

[11:35:28] heftig: Ping timeout: 240 seconds
[11:36:14] heftig: has joined #ruby

2017-11-09

[09:56:28] heftig: Ping timeout: 255 seconds
[10:29:12] heftig: has joined #ruby

2017-11-04

[10:17:01] heftig: Remote host closed the connection
[10:17:18] heftig: has joined #ruby

2017-10-23

[06:53:13] heftig: Remote host closed the connection
[07:00:03] heftig: has joined #ruby

2017-10-07

[13:45:28] heftig: Read error: Connection reset by peer
[13:45:51] heftig: has joined #ruby

2017-10-06

[02:12:38] heftig: Quit: No Ping reply in 180 seconds.

2017-10-02

[14:37:13] heftig: Remote host closed the connection
[14:37:38] heftig: has joined #ruby

2017-09-25

[14:09:58] heftig: Ping timeout: 264 seconds
[14:15:00] heftig: has joined #ruby

2017-09-18

[00:01:06] heftig: Read error: Connection reset by peer
[00:04:46] heftig: has joined #ruby

2017-09-17

[18:31:28] heftig: Ping timeout: 240 seconds
[18:55:23] heftig: has joined #ruby
[22:06:58] heftig: Ping timeout: 264 seconds
[22:12:51] heftig: has joined #ruby

2017-09-10

[11:44:47] heftig: Read error: Connection reset by peer
[11:46:20] heftig: has joined #ruby

2017-09-07

[01:10:11] heftig: Remote host closed the connection
[04:45:42] heftig: has joined #ruby

2017-08-15

[00:27:38] heftig: has joined #ruby

2017-08-14

[21:07:30] heftig: Ping timeout: 240 seconds
[21:56:57] heftig: has joined #ruby
[23:55:49] heftig: Ping timeout: 276 seconds

2017-08-13

[00:05:49] heftig: has joined #ruby
[00:24:55] heftig: Ping timeout: 276 seconds
[01:49:07] heftig: has joined #ruby

2017-08-12

[16:37:17] heftig: Ping timeout: 240 seconds
[18:08:06] heftig: has joined #ruby
[22:37:51] heftig: Ping timeout: 246 seconds

2017-08-11

[18:23:42] heftig: Write error: Connection reset by peer
[18:46:58] heftig: has joined #ruby
[20:01:30] heftig: Ping timeout: 240 seconds
[20:22:23] heftig: has joined #ruby

2017-08-06

[19:16:23] heftig: Ping timeout: 240 seconds
[21:21:21] heftig: has joined #ruby

2017-08-01

[13:01:08] heftig: Ping timeout: 240 seconds
[14:00:26] heftig: has joined #ruby

2017-07-31

[12:00:19] heftig: Ping timeout: 246 seconds
[14:56:56] heftig: has joined #ruby

2017-07-30

[23:10:27] heftig: Ping timeout: 246 seconds
[23:58:58] heftig: has joined #ruby

2017-07-17

[17:11:46] heftig: Ping timeout: 264 seconds
[17:42:45] heftig: has joined #ruby

2017-07-04

[13:21:18] heftig: Ping timeout: 258 seconds
[14:23:04] heftig: has joined #ruby

2017-07-03

[16:20:00] heftig: Read error: Connection reset by peer
[16:44:30] heftig: has joined #ruby

2017-06-20

[00:17:16] heftig: *.net *.split
[00:22:54] heftig: has joined #ruby

2017-06-19

[18:19:41] heftig: *.net *.split
[18:27:37] heftig: has joined #ruby

2017-06-16

[18:59:11] heftig: Ping timeout: 255 seconds
[21:46:11] heftig: has joined #ruby

2017-06-04

[20:50:10] heftig: Ping timeout: 264 seconds
[21:22:03] heftig: has joined #ruby

2017-05-30

[09:27:29] heftig: *.net *.split

2017-05-23

[08:46:52] heftig: Remote host closed the connection
[09:11:19] heftig: has joined #ruby
[12:10:03] heftig: Remote host closed the connection
[12:30:19] heftig: has joined #ruby

2017-05-08

[15:43:11] heftig: Write error: Connection reset by peer
[16:02:02] heftig: has joined #ruby

2017-05-03

[22:28:53] heftig: Ping timeout: 240 seconds

2017-04-25

[15:24:15] heftig: has joined #ruby

2017-04-12

[09:11:29] heftig: Read error: Connection reset by peer
[09:26:11] heftig: has joined #ruby

2017-03-30

[09:24:37] heftig: Remote host closed the connection
[09:41:43] heftig: has joined #ruby

2017-03-28

[10:04:50] heftig: Read error: Connection reset by peer
[11:24:34] heftig: has joined #ruby

2017-03-27

[19:26:27] heftig: Ping timeout: 255 seconds
[19:27:23] heftig: has joined #ruby

2017-03-18

[12:25:56] heftig: Write error: Connection reset by peer
[13:34:54] heftig: has joined #ruby

2016-06-16

[08:56:16] heftig: there is no class without end

2016-06-10

[22:59:49] heftig: >> def a(a=nil); a; end; a(**{})
[22:59:54] heftig: >> def a(a=nil); a; end; a(**Hash.new)
[23:00:00] heftig: the heck is this ^

2016-06-06

[08:10:27] heftig: kareeoleez: maybe write x == y and y == "test"
[08:11:18] heftig: yeah, python has x == y == "test" which is weird coming from other languages but not that bad
[08:11:35] heftig: [x,y].all? { |i| i == "test" }
[08:12:18] heftig: ri "Enumerable#all?"
[08:13:19] heftig: returns true if the block never returns false (i.e. if the enumerable is empty, it's true too)
[08:13:56] heftig: (or rather, returns false or nil)
[08:14:14] heftig: yeah, i think that's what they meant by "isn't exactly what they want"
[08:14:21] heftig: apeiros: i meant the block
[18:49:45] heftig: Read error: Connection reset by peer
[18:50:52] heftig: has joined #ruby

2016-06-03

[10:04:36] heftig: Remote host closed the connection
[10:05:49] heftig: has joined #ruby

2016-05-29

[22:33:18] heftig: tie: that's not a standard
[22:34:11] heftig: and AFAIR the standard tab width is 8

2016-05-24

[07:34:18] heftig: TvL2386: include? disregards the argument's netmask
[07:34:44] heftig: you can't ask if a subnet includes another subnet; you can just ask if a subnet includes an address

2016-05-18

[06:42:33] heftig: _kraken: restore your honor through sacred sepukku
[06:43:23] heftig: _kraken: just delete the files installed?
[06:43:46] heftig: use gem uninstall with the same install dir?
[06:44:42] heftig: Jasonc: make a code snippet that shows the same problem
[06:44:55] heftig: _kraken: no
[06:45:56] heftig: it doesn't matter

2016-05-17

[13:45:34] heftig: manveru: looking at https://github.com/rubysl/rubysl-pathname/commits/2.0 suggests it might be 2.3
[13:46:47] heftig: manveru: eh, just use +

2016-05-06

[00:49:24] heftig: Remote host closed the connection
[00:50:33] heftig: has joined #ruby
[14:46:55] heftig: Read error: Connection reset by peer
[14:47:05] heftig: has joined #ruby

2016-05-04

[09:36:08] heftig: well, you can't do "do rescue end" but you can do "do begin rescue end end"
[09:38:06] heftig: apeiros: I wonder if `do begin ... rescue ... end end` is common enough for `do ... rescue ... end` to be considered

2016-05-02

[15:21:39] heftig: Ping timeout: 260 seconds

2016-04-28

[15:45:00] heftig: Read error: Connection reset by peer
[16:25:07] heftig: has joined #ruby

2016-03-21

[03:11:09] heftig: Quit: No Ping reply in 180 seconds.
[03:27:14] heftig: has joined #ruby

2016-03-10

[12:36:17] heftig: Ping timeout: 250 seconds
[12:37:07] heftig: has joined #ruby

2016-02-24

[11:03:32] heftig: Quit: heftig
[11:03:49] heftig: has joined #ruby

2016-02-17

[09:52:41] heftig: *.net *.split
[09:53:01] heftig: has joined #ruby
[10:03:47] heftig: *.net *.split
[10:03:49] heftig: has joined #ruby
[10:49:28] heftig: *.net *.split

2016-02-16

[11:22:02] heftig: platzhirsch: use IO#each_line instead of IO.foreach

2016-02-12

[08:27:01] heftig: evil always triumphs in the middle
[10:46:21] heftig: norc: or a shared sqlite database
[10:48:12] heftig: norc: or tdb: http://www.rubydoc.info/gems/tdb/0.6.2
[10:48:20] heftig: it's a string key-value store
[10:48:54] heftig: hm, actually it seems to use marshalling to store whatever
[10:51:06] heftig: norc: no need to do flocks, either. you could depend on atomic rename
[10:57:21] heftig: norc: fn = "sessionid.#{Process.pid}"; begin; File.write(fn, "newsessionid"); File.rename(fn, "sessionid"); rescue; File.delete(fn) rescue nil; raise; end
[10:58:27] heftig: atomic rename is widely used
[11:01:16] heftig: when you open the file you'll either get the old one or the new one
[11:01:43] heftig: renaming over a file won't disturb any of its handles
[11:01:54] heftig: (so those still operate on the old file, which just lost its name)

2016-02-07

[21:10:45] heftig: *.net *.split
[21:10:54] heftig: has joined #ruby

2016-02-05

[13:48:19] heftig: dajobat: without the 0
[13:48:47] heftig: inject has no idea what the zero element is
[13:50:58] heftig: i.e. the identity element
[13:51:59] heftig: dajobat: i was speaking in algebraic terms
[13:52:36] heftig: what you said would be equivalent to inject(0, :+), not inject(:+) as you claimed

2016-02-04

[20:47:48] heftig: *.net *.split
[20:50:45] heftig: has joined #ruby

2016-02-03

[07:35:47] heftig: wethu: it's just transformed into a method call at syntax level
[07:38:35] heftig: hm, actually there seem to be special bytecodes for a[]= and a[]
[07:38:49] heftig: opt_aset for the former and opt_aref for the latter
[07:41:10] heftig: rubinius seems to handle operators like other methods even at the bytecode level
[07:49:57] heftig: Read error: Connection reset by peer
[07:50:07] heftig: has joined #ruby
[08:03:56] heftig: Ox0dea: not worth it, I guess. << is used as lot to mean append, but >> is hardly popular
[08:05:27] heftig: (If you want to speed up number crunching with a lot of right shifts, you would want to write an extension anyway)

2016-01-31

[12:25:17] heftig: *.net *.split
[12:29:17] heftig: has joined #ruby

2016-01-30

[01:04:01] heftig: *.net *.split