justizin

Activity Graph

Page 1 of 1

2018-09-14

[02:13:36] justizin: has joined #ruby

2018-09-03

[19:10:26] justizin: *.net *.split

2018-07-20

[00:07:25] justizin: *.net *.split
[00:15:47] justizin: has joined #ruby

2018-06-20

[03:51:48] justizin: Ping timeout: 276 seconds
[05:25:01] justizin: has joined #ruby
[05:57:41] justizin: Ping timeout: 256 seconds
[06:20:14] justizin: has joined #ruby

2018-06-01

[03:44:46] justizin: *.net *.split
[07:47:36] justizin: has joined #ruby

2018-05-29

[02:47:14] justizin: *.net *.split
[02:48:00] justizin: has joined #ruby

2018-05-23

[06:57:04] justizin: has joined #ruby

2018-05-22

[14:33:09] justizin: has joined #ruby
[17:30:59] justizin: Quit: Connection closed for inactivity

2018-05-20

[02:20:35] justizin: Quit: Connection closed for inactivity

2018-05-19

[22:11:37] justizin: has joined #ruby

2018-03-18

[07:18:46] justizin: Ping timeout: 240 seconds

2018-03-02

[04:13:14] justizin: has joined #ruby

2017-12-27

[19:13:56] justizin: Ping timeout: 255 seconds
[19:52:29] justizin: has joined #ruby

2017-12-21

[06:26:11] justizin: *.net *.split
[06:31:49] justizin: has joined #ruby
[06:48:30] justizin: *.net *.split
[07:24:48] justizin: has joined #ruby

2017-12-09

[05:06:11] justizin: *.net *.split
[05:39:53] justizin: has joined #ruby

2017-12-08

[07:07:04] justizin: Read error: Connection reset by peer
[07:07:23] justizin: has joined #ruby

2017-12-07

[14:48:31] justizin: *.net *.split
[14:55:10] justizin: has joined #ruby

2017-10-06

[02:12:39] justizin: Ping timeout: 255 seconds
[02:13:38] justizin: has joined #ruby

2017-09-21

[21:45:27] justizin: Ping timeout: 252 seconds
[22:00:46] justizin: has joined #ruby

2017-09-12

[02:37:49] justizin: has joined #ruby

2017-07-11

[01:52:45] justizin: Quit: Connection closed for inactivity

2017-07-10

[17:44:54] justizin: has joined #ruby

2017-07-01

[01:47:22] justizin: Quit: Connection closed for inactivity

2017-06-30

[04:00:40] justizin: Quit: Connection closed for inactivity
[18:51:36] justizin: has joined #ruby

2017-06-29

[19:01:42] justizin: has joined #ruby

2017-06-15

[00:48:54] justizin: Quit: Connection closed for inactivity

2017-06-14

[20:12:43] justizin: has joined #ruby

2017-06-09

[05:08:00] justizin: Quit: Connection closed for inactivity

2017-06-08

[20:58:23] justizin: has joined #ruby

2017-06-07

[18:30:39] justizin: has joined #ruby
[18:32:57] justizin: getting this error that typically indicates xcode missing, when it's not (trying to gem install mysql2 on macos sierra) : "ld: library not found for -l-lpthread", anyone know anything else i might wanna check?
[18:33:24] justizin: i'm kinda wondering, is it possible i need to remove and install xcode command line tools fresh? not sure i've ever encountered that, but a first time for everything..
[18:39:32] justizin: havenwood: "xcode-select version 2347."
[18:40:03] justizin: havenwood: but i'm thinking, maybe that install had a silent failure? it should provide pthread, yah?
[18:40:26] justizin: havenwood: si
[18:41:07] justizin: dminuoso: yah, i support a largeish team and i try to get the least esoteric path working, if possible.
[18:41:30] justizin: our devs use a vagrant box tho, i just need bundle install to run on my mac so i can 'bundle exec cap deploy' without all that
[18:41:41] justizin: havenwood: yah, it's failing on pthread, totally finds mysql-config and such
[18:46:15] justizin: dminuoso: yah, "ld: library not found for -l-lpthread"
[18:50:16] justizin: maybe? i'm not sure..
[18:52:15] justizin: dminuoso: happily
[23:20:16] justizin: Quit: Connection closed for inactivity

2017-05-25

[16:28:15] justizin: has joined #ruby
[21:20:18] justizin: Quit: Connection closed for inactivity

2017-05-02

[17:15:40] justizin: has joined #ruby
[22:25:25] justizin: Quit: Connection closed for inactivity

2017-04-27

[12:05:24] justizin: Quit: Connection closed for inactivity

2017-04-13

[00:10:47] justizin: i'm trying to write some code that forcibly disconnects my kafka client, for the purpose of verifying some retry logic works. looks like it is running Socket.close(), but the sockets still show up in netstat / lsof as ESTABLISHED.
[00:11:23] justizin: doing my best to grok the actual implementation, but i can't find where close() is defined ... i know that when i forced a disconnect using gdb, i had to run 'shutdown' instead of 'close' on the fd.
[00:12:12] justizin: ruby socket doesn't seem to have the differentiation, i want to assume it does the Right Thing(tm), but struggling to see that.
[00:12:22] justizin: anyone know anything about this sorta problem? :)
[00:29:17] justizin: darix: yah i found that, i just wanted to do this programmatically from within ruby.
[00:29:38] justizin: trying to write a self-contained program that reproduces a certain problem, then fixes it.
[15:10:49] justizin: *.net *.split
[17:00:53] justizin: has joined #ruby

2017-04-06

[14:16:00] justizin: Ping timeout: 255 seconds
[16:14:55] justizin: has joined #ruby

2017-04-04

[23:04:50] justizin: has joined #ruby
[23:09:07] justizin: anyone know if it's possible with tempfile, or an alternative existing implementation, to limit length of temp filenames? trying to generate nagios check result files, which want a 7-char name beginning with 'c'
[23:10:02] justizin: mkstemp seems to conform by default, but Tempfile seems to generate much longer names.
[23:11:38] justizin: or if not by default, with a template. i guess python tempfile.mkstemp conforms by default.
[23:13:44] justizin: havenwood: right, but limiting the length, not so much, by default Tempfile.new('c') on this particular ruby, at least, gives me: `/tmp/c20170404-31444-12jgzda`
[23:14:07] justizin: whereas 'mktemp -t cXXXXXX' gives me '/tmp/cTnvL5y'
[23:14:14] justizin: any way to influence what the generated component of the filename is?
[23:14:37] justizin: i don't see anything in docs, i'm just trying to avoid shelling out to tmpfile or calling mkstemp via ffi
[23:14:58] justizin: havenwood: right, but ... this is how nagios works, so ... it will reject anything else.
[23:15:30] justizin: currently i'm processing items from a kafka stream and sending a value to graphite, then i'm checking graphite for the age of the last data point, which is fairly expensive compared to, say, writing out a text file on the nagios host. :)
[23:15:43] justizin: it is an esoteric use case and i don't entirely fault the ruby Tempfile for not accommodating, it's just what I need.
[23:15:55] justizin: worst case I probs just reimplement mkstemp or something, but that feels icky.

2014-02-22

[06:29:03] justizin: i have a fresh app with one type, 'photo', which i'm trying to make include an attachment using paperclip, and i get a validation error about the mime type being incorrect, which in fact seems to be because it's using the 'file' command to check, but it passes a filename that does not exist, so the result is like "file: not found", as one would expect. anyone seen this?
[06:29:27] justizin: this is such a totally basic, from-scratch app it's super difficult to understand what could be going wrong, but i'm confident it's something stupid i've overlooked