« Back to channel list

#ruby - 13 October 2017

« Back 1 day Forward 1 day »
[00:02:12] ramfjord: has joined #ruby
[00:03:15] jphase: has joined #ruby
[00:14:16] cagomez: has joined #ruby
[00:17:34] bwilson: has joined #ruby
[00:20:38] orbyt_: has joined #ruby
[00:20:57] cdg: has joined #ruby
[00:22:17] cagomez: has joined #ruby
[00:30:56] cagomez: has joined #ruby
[00:34:39] cdg: has joined #ruby
[00:35:03] duderonomy: has joined #ruby
[00:36:45] chopin: has joined #ruby
[00:39:57] bronson: has joined #ruby
[00:40:32] cyberRodent: has joined #ruby
[00:42:19] MrBismuth: has joined #ruby
[00:44:36] bmurt: has joined #ruby
[00:45:05] acmeraptor: has joined #ruby
[00:45:53] FahmeF: has joined #ruby
[00:46:35] acmeraptor: has left #ruby: ()
[00:53:00] GodFather: has joined #ruby
[00:56:18] bmurt: has joined #ruby
[00:56:49] edward_: has joined #ruby
[00:57:35] GodFather: has joined #ruby
[01:03:01] ineb: has joined #ruby
[01:04:57] _aeris_: has joined #ruby
[01:10:35] chopin: has joined #ruby
[01:12:24] __Yiota: has joined #ruby
[01:13:01] cdg: has joined #ruby
[01:13:39] Jameser: has joined #ruby
[01:13:48] juggler: has joined #ruby
[01:15:52] gusrub: has joined #ruby
[01:21:51] uZiel: has joined #ruby
[01:21:53] rwb: has joined #ruby
[01:28:04] bmurt: has joined #ruby
[01:32:58] enterprisey: has joined #ruby
[01:33:05] kculpis: has joined #ruby
[01:36:43] Cohedrin_: has joined #ruby
[01:40:55] mim1k: has joined #ruby
[01:40:59] d^sh: has joined #ruby
[01:43:29] bmurt: has joined #ruby
[01:43:32] alnewkirk: has joined #ruby
[01:50:54] Sp4ceman: has joined #ruby
[01:51:59] __Yiota: has joined #ruby
[01:55:51] pilne: has joined #ruby
[01:57:57] __Yiota: has joined #ruby
[02:04:19] __Yiota: has joined #ruby
[02:04:33] Cohedrin_: has joined #ruby
[02:10:25] kapil___: has joined #ruby
[02:10:50] Cohedrin_: has joined #ruby
[02:12:05] astrobunny: has joined #ruby
[02:16:12] alnewkirk: has joined #ruby
[02:19:09] cdg: has joined #ruby
[02:24:15] __Yiota: has joined #ruby
[02:32:53] alnewkirk: has joined #ruby
[02:34:13] chihhsin: has joined #ruby
[02:37:49] Zihan: has joined #ruby
[02:39:56] orbyt_: has joined #ruby
[02:40:54] bronson: has joined #ruby
[02:55:11] ahrs: has joined #ruby
[02:58:14] yeticry: has joined #ruby
[02:59:57] alnewkirk: has joined #ruby
[03:00:09] cadillac_: has joined #ruby
[03:04:49] kent\n: has joined #ruby
[03:05:24] ramfjord: has joined #ruby
[03:05:57] DarknessFalls: has joined #ruby
[03:11:17] mson: has joined #ruby
[03:14:22] DarknessFalls: I am having a difficult time running sudo gem install rails on my mac. It is generating many errors in the build process.
[03:14:54] DarknessFalls: for example, ‘ld: warning: ignoring file /usr/local/Cellar/xz/5.2.2/lib/liblzma.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/Cellar/xz/5.2.2/lib/liblzma.dylib’
[03:16:45] gix: has joined #ruby
[03:18:50] chopin: has joined #ruby
[03:19:53] DarknessFalls: it crashed on:
[03:20:06] DarknessFalls: Undefined symbols for architecture i386:
[03:20:07] DarknessFalls: "_lzma_auto_decoder", referenced from:
[03:20:08] DarknessFalls: _xz_head in libxml2.a(xzlib.o)
[03:20:10] DarknessFalls: "_lzma_code", referenced from:
[03:20:11] DarknessFalls: _xz_decomp in libxml2.a(xzlib.o)
[03:20:13] DarknessFalls: "_lzma_end", referenced from:
[03:20:14] DarknessFalls: ___libxml2_xzclose in libxml2.a(xzlib.o)
[03:20:16] DarknessFalls: "_lzma_properties_decode", referenced from:
[03:20:17] DarknessFalls: _is_format_lzma in libxml2.a(xzlib.o)
[03:20:19] DarknessFalls: ld: symbol(s) not found for architecture i386
[03:20:20] DarknessFalls: clang: error: linker command failed with exit code 1 (use -v to see invocation)
[03:20:21] DarknessFalls: make[2]: *** [xmllint] Error 1
[03:20:22] DarknessFalls: make[1]: *** [all-recursive] Error 1
[03:20:23] DarknessFalls: make: *** [all] Error 2
[03:24:37] dcluna: has joined #ruby
[03:26:18] Veejay: has joined #ruby
[03:27:39] chopin: has joined #ruby
[03:30:40] cadillac_: has joined #ruby
[03:32:16] acmeraptor: has joined #ruby
[03:32:50] uZiel: has joined #ruby
[03:34:19] acmeraptor: Not sure if this is the right place to ask, but I'm following a guide to install a property listing website.. https://github.com/etewiah/property_web_builder
[03:34:50] govg: has joined #ruby
[03:36:09] acmeraptor: I made it through the Ruby on Rails setup and down through most of the guide linked above, but at the command rails pwb:db:seed I am getting the following error: $ rails pwb:db:seed rails aborted! ActiveRecord::RecordInvalid: Validation failed: User must exist
[03:36:45] cajone: has left #ruby: ()
[03:37:30] acmeraptor: I have the config/database.yml updated with the user created for my postgresql db, but is there somewhere else to specify that information?
[03:37:55] arquebus: has joined #ruby
[03:39:24] elomatreb: The validation error tells you that there must be a user instance in the db. Did you forget some seeding step? (Also: #RubyOnRails might be better)
[03:40:46] acmeraptor: I will make another attempt to get into that channel in a bit, it appears to be locked even though I went to their website.. meh.
[03:40:51] ramfjord: has joined #ruby
[03:41:22] mim1k: has joined #ruby
[03:41:33] acmeraptor: I don't believe I missed any steps, the db creation and migration steps worked just fine.
[03:41:34] elomatreb: You need to register with NickServ (/msg NickServ help)
[03:42:05] Ropeney: acmeraptor, gist the whole stack trace
[03:42:15] acmeraptor: Oh that's right. I did that before but it must have expired. Been a while since I used IRC
[03:43:53] acmeraptor: I have the trace, what do you mean by gist?
[03:44:09] Ropeney: gist.github.com
[03:46:15] acmeraptor: Hopefully I did this right: https://gist.github.com/anonymous/e2cd4eb100bb7c9132ca1d7769314653
[03:48:44] nekomune: has joined #ruby
[03:50:13] __Yiota: has joined #ruby
[03:50:49] cajone: has joined #ruby
[03:52:24] cajone: has joined #ruby
[04:01:30] ramfjord: has joined #ruby
[04:06:45] alnewkirk: has joined #ruby
[04:18:53] awwaiid: has joined #ruby
[04:22:01] ramfjord: has joined #ruby
[04:39:43] mim1k: has joined #ruby
[04:40:28] __Yiota: has joined #ruby
[04:42:00] ur5us: has joined #ruby
[04:42:12] bronson: has joined #ruby
[04:42:33] ramfjord: has joined #ruby
[04:46:56] jinie: has joined #ruby
[04:51:07] imode: has joined #ruby
[04:54:26] alex``: has joined #ruby
[05:03:47] govg: has joined #ruby
[05:07:58] charliesome: has joined #ruby
[05:14:57] enterprisey: has joined #ruby
[05:17:47] elcontrastador: has joined #ruby
[05:18:27] Bock: has joined #ruby
[05:20:33] chopin: has joined #ruby
[05:22:03] ramfjord: has joined #ruby
[05:23:26] superbadjo|93189: has joined #ruby
[05:25:55] zautomata: has joined #ruby
[05:26:57] Freshnuts: has joined #ruby
[05:31:30] jphase: has joined #ruby
[05:36:41] giraffe: has joined #ruby
[05:37:33] tpendragon: has joined #ruby
[05:40:17] Cohedrin_: has joined #ruby
[05:42:59] bronson: has joined #ruby
[05:46:09] anisha: has joined #ruby
[05:46:28] nicolai86: has joined #ruby
[05:47:38] nofxx: has joined #ruby
[05:48:19] aupadhye: has joined #ruby
[05:48:59] dminuoso_: has joined #ruby
[05:49:07] dminuoso_: havenwood: class Integer def to_proc -> (e) { e[self] }; end; end
[05:49:12] dminuoso_: What do you think?
[05:49:27] dminuoso_: Is this more elegant than an nthL function?
[05:50:09] dminuoso_: I mean it's certainly more rubyesque considering Symbol#to_proc
[05:50:55] dminuoso_: >> class Integer def to_proc -> (e) { e[self] }; end; end; [[1,2],[3,4],[5,6]].map(&0)
[05:51:04] dminuoso_: ACTION kicks ruby[bot] 
[05:51:18] dminuoso_: >> class Integer def to_proc -> (e) { e[self] }; end; end; [[1,2],[3,4],[5,6]].map(&0)
[05:51:24] uZiel: has joined #ruby
[05:51:59] dminuoso_: >> class Integer def to_proc -> (e) { e[self] }; end; end; [[1,2],[3,4],[5,6]].map(&0)
[05:52:01] ruby[bot]: dminuoso_: # => /tmp/execpad-92752230e00d/source-92752230e00d:2: syntax error, unexpected ->, expecting ';' or '\n' ...check link for more (https://eval.in/879424)
[05:52:26] dminuoso_: >> class Integer def to_proc() -> (e) { e[self] }; end; end; [[1,2],[3,4],[5,6]].map(&0)
[05:52:27] ruby[bot]: dminuoso_: # => [1, 3, 5] (https://eval.in/879425)
[05:54:37] elomatreb: You can even use a variable like that, cool idea
[05:56:04] cdg: has joined #ruby
[05:58:45] kies: has joined #ruby
[05:58:51] charliesome: has joined #ruby
[06:01:33] FahmeF: has joined #ruby
[06:02:23] maum: has joined #ruby
[06:04:00] FahmeF_: has joined #ruby
[06:04:36] FahmeF_: has joined #ruby
[06:04:47] snickers: has joined #ruby
[06:17:51] Xiti: has joined #ruby
[06:18:32] ur5us: has joined #ruby
[06:20:09] morfin: has joined #ruby
[06:25:34] aufi: has joined #ruby
[06:28:40] dminuoso_: has joined #ruby
[06:35:09] uZiel: has joined #ruby
[06:35:31] jenrzzz: has joined #ruby
[06:42:46] dionysus69: has joined #ruby
[06:45:42] conta: has joined #ruby
[06:46:11] jenrzzz: has joined #ruby
[06:46:11] jenrzzz: has joined #ruby
[06:48:23] superbadjo|93189: has joined #ruby
[06:48:49] zautomata: has joined #ruby
[06:52:55] FahmeF: has joined #ruby
[06:53:37] MrSparkle: has joined #ruby
[06:54:18] dminuoso_: has joined #ruby
[06:59:50] vondruch: has joined #ruby
[07:00:11] FahmeF_: has joined #ruby
[07:01:45] andikr: has joined #ruby
[07:01:50] TomyWork: has joined #ruby
[07:08:06] ltem: has joined #ruby
[07:15:44] FastJack: has joined #ruby
[07:18:01] milardovich: has joined #ruby
[07:21:47] biberu: has joined #ruby
[07:22:37] ramfjord: has joined #ruby
[07:23:02] rgr_: has joined #ruby
[07:23:18] sysvalve: has joined #ruby
[07:28:14] mark_66: has joined #ruby
[07:31:00] claudiuinberlin: has joined #ruby
[07:33:20] simmaniac: has joined #ruby
[07:34:08] jphase: has joined #ruby
[07:35:34] zautomata1: has joined #ruby
[07:39:41] mjolnird: has joined #ruby
[07:41:45] rabajaj: has joined #ruby
[07:43:54] bronson: has joined #ruby
[07:48:37] charliesome: has joined #ruby
[07:49:16] burgestrand: has joined #ruby
[07:51:00] charliesome_: has joined #ruby
[07:52:11] dionysus70: has joined #ruby
[07:57:07] marr: has joined #ruby
[08:00:34] Silthias: has joined #ruby
[08:03:11] zautomata1: has joined #ruby
[08:06:21] rgr: has joined #ruby
[08:07:00] Silthias1: has joined #ruby
[08:08:07] dionysus69: has joined #ruby
[08:10:11] claudiuinberlin: has joined #ruby
[08:11:50] cdg: has joined #ruby
[08:12:00] guille-moe: has joined #ruby
[08:12:01] tvw: has joined #ruby
[08:16:17] idiocrash: has joined #ruby
[08:20:13] milardovich: has joined #ruby
[08:21:09] nowhere_man: has joined #ruby
[08:23:37] mim1k: has joined #ruby
[08:24:41] Cohedrin_: has joined #ruby
[08:28:53] Genya: has joined #ruby
[08:29:27] Beams: has joined #ruby
[08:32:50] nhhc: has joined #ruby
[08:34:08] blackmesa1: has joined #ruby
[08:34:11] rahul_bajaj: has joined #ruby
[08:37:43] cabotto: has joined #ruby
[08:39:37] charliesome: has joined #ruby
[08:40:32] lxsameer: has joined #ruby
[08:45:13] someuser_: has joined #ruby
[08:54:06] claudiuinberlin: has joined #ruby
[09:00:59] claudiuinberlin: has joined #ruby
[09:02:45] rahul_bajaj: has joined #ruby
[09:10:28] workmad3: has joined #ruby
[09:15:01] mjolnird: has joined #ruby
[09:20:47] kapil___: has joined #ruby
[09:22:15] cdg: has joined #ruby
[09:22:44] ramfjord: has joined #ruby
[09:36:23] jphase: has joined #ruby
[09:41:00] harfangk: has joined #ruby
[09:44:48] bronson: has joined #ruby
[09:47:11] Serpent7776: has joined #ruby
[09:59:33] rgr_: has joined #ruby
[10:01:06] Megamos: has joined #ruby
[10:05:03] zautomata1: has joined #ruby
[10:14:10] hfp_work: has joined #ruby
[10:16:44] dionysus69: has joined #ruby
[10:18:23] paranoicsan: has joined #ruby
[10:19:54] claudiuinberlin: has joined #ruby
[10:19:57] jamesaxl: has joined #ruby
[10:28:45] jamesaxl: has joined #ruby
[10:33:44] Mon_Ouie: has joined #ruby
[10:34:12] claudiuinberlin: has joined #ruby
[10:34:37] Genya: has joined #ruby
[10:35:06] agimenez: has joined #ruby
[10:58:10] gloscombe: has joined #ruby
[11:01:55] Tempesta: has joined #ruby
[11:03:51] tmm88: has joined #ruby
[11:04:32] GodFather: has joined #ruby
[11:08:02] gr33n7007h: has joined #ruby
[11:13:20] milardovich: has joined #ruby
[11:13:48] burgestrand: has joined #ruby
[11:19:53] shinnya: has joined #ruby
[11:23:01] ramfjord: has joined #ruby
[11:28:19] quobo: has joined #ruby
[11:33:06] jphase: has joined #ruby
[11:34:14] ldnunes: has joined #ruby
[11:35:22] jamesaxl: has joined #ruby
[11:36:42] FahmeF: has joined #ruby
[11:36:45] tcopeland: has joined #ruby
[11:37:03] milardovich: has joined #ruby
[11:39:32] milardovich: has joined #ruby
[11:39:46] nofxx: has joined #ruby
[11:40:50] joast: has joined #ruby
[11:43:51] milardovich: has joined #ruby
[11:46:08] Jameser: has joined #ruby
[11:46:30] bronson: has joined #ruby
[11:52:07] yeticry: has joined #ruby
[11:52:27] tvw: has joined #ruby
[11:55:11] VladGh: has joined #ruby
[11:55:53] sepp2k: has joined #ruby
[11:59:28] Tempesta: has joined #ruby
[12:01:44] guille-moe: has joined #ruby
[12:04:11] brendan-: has joined #ruby
[12:04:45] __Yiota: has joined #ruby
[12:10:56] marcux: has joined #ruby
[12:14:56] n35xdxb0: has joined #ruby
[12:18:58] nicesignal: has joined #ruby
[12:19:06] jphase: has joined #ruby
[12:22:51] ShalokShalom_: has joined #ruby
[12:25:29] ayonkhan: has joined #ruby
[12:26:48] tmm88: has joined #ruby
[12:27:36] InfinityFye: has joined #ruby
[12:31:40] sniffer: has joined #ruby
[12:33:05] gloscombe: has joined #ruby
[12:40:21] __Yiota: has joined #ruby
[12:42:03] ayonkhan: has joined #ruby
[12:42:10] FahmeF: has joined #ruby
[12:44:43] apparition: has joined #ruby
[12:44:51] milardovich: has joined #ruby
[12:50:15] tlaxkit: has joined #ruby
[12:56:47] mostlybadfly: has joined #ruby
[12:59:54] erlend: has joined #ruby
[13:00:52] rfoust: has joined #ruby
[13:04:10] truenito: has joined #ruby
[13:05:41] rwb: has joined #ruby
[13:08:11] Megamos: has joined #ruby
[13:09:10] mson: has joined #ruby
[13:14:20] alnewkirk: has joined #ruby
[13:15:18] adlerdias: has joined #ruby
[13:15:29] fmcgeough: has joined #ruby
[13:18:59] cdg: has joined #ruby
[13:19:14] chouhoulis: has joined #ruby
[13:19:47] zautomata: has joined #ruby
[13:19:48] claudiuinberlin: has joined #ruby
[13:23:13] ramfjord: has joined #ruby
[13:23:57] cdg_: has joined #ruby
[13:29:21] claudiuinberlin: Hello. I'm using Rails, Rspec, FactoryGirls and Sequel. In our test we create objects using FactoryGirl.create and then in our code we are searching using Sequel. But FG and sequel are running in different transactions and we cannot use it. Does anyone ever use this combination, and how he fix it. I'm starting to remove hair from my head :|
[13:30:25] vondruch: has joined #ruby
[13:32:49] john__: has joined #ruby
[13:33:04] tmm88: has joined #ruby
[13:35:00] DLSteve: has joined #ruby
[13:35:18] milardovich: has joined #ruby
[13:40:04] jordanm: has joined #ruby
[13:41:09] milardovich: has joined #ruby
[13:43:18] consti: has joined #ruby
[13:45:04] chopin: has joined #ruby
[13:45:15] ramfjord: has joined #ruby
[13:45:19] eliteqyuko: has joined #ruby
[13:46:19] jrafanie: has joined #ruby
[13:47:35] bronson: has joined #ruby
[13:48:26] chouhoulis: has joined #ruby
[13:51:17] rgr: has joined #ruby
[13:51:31] milardovich: has joined #ruby
[13:53:00] nowhere_man: has joined #ruby
[13:56:31] __Yiota: has joined #ruby
[13:57:40] claudiuinberlin: has joined #ruby
[13:58:23] simmaniac: has joined #ruby
[13:59:47] guardian: hello, is there an itiomatic oneliner way to match a string against a regex with 1 capture group, the result would be the captured group on match otherwise nil
[14:01:58] ShalokShalom_: has joined #ruby
[14:04:01] elomatreb: guardian: string[/regex/, 1] - 1 is the index of the first capture group
[14:05:41] Rapture: has joined #ruby
[14:06:47] uZiel: has joined #ruby
[14:11:29] Psybur: has joined #ruby
[14:15:31] ayonkhan: has joined #ruby
[14:17:33] guille-moe: has joined #ruby
[14:22:53] qqmash: has joined #ruby
[14:24:04] tax: has joined #ruby
[14:24:35] ur5us: has joined #ruby
[14:26:37] havenwood: claudiuinberlin: You might want to try the #RubyOnRails channel as well.
[14:27:58] chouhoul_: has joined #ruby
[14:28:20] havenwood: dminuoso: nice, and handy!
[14:29:37] havenwood: >> class Integer def to_proc() -> (e) { e[self] }; end; end; [[1,2],[3,4],->(n) { n * 42 }].map(&1)
[14:29:43] ruby[bot]: havenwood: # => [2, 4, 42] (https://eval.in/879688)
[14:30:12] guardian: elomatreb: nice
[14:31:26] d10n-work: has joined #ruby
[14:32:50] MrBismuth: How does Ruby handle Unicode strings? Are they encoded in a particular UTF variety, or does one have to use a library or arcane syntax to achieve Unicode?
[14:34:11] jinie: has joined #ruby
[14:35:05] Valkyrie_: has joined #ruby
[14:37:58] guille-moe: has joined #ruby
[14:41:16] burgestrand: MrBismuth all strings in ruby have an encoding (Encoding::BINARY is a valid encoding that is "no encoding")
[14:41:40] burgestrand: MrBismuth just because a string has an encoding does not necessarily mean the contents of the string is valid within that encoding
[14:42:31] burgestrand: MrBismuth setting encoding without conversion is done through `force_encoding`, and converting string in encoding A to encoding B is done through `encoding(encoding)` and in doing that you specify a behavior on how to deal with incompatible characters
[14:44:50] burgestrand: MrBismuth might be worth looking inside https://ruby-doc.org/core-2.4.0/Encoding.html
[14:45:54] tmm88: has joined #ruby
[14:46:38] burgestrand: I had a vague memory of seeing mention of a recent article bringing up string encodings, but I can't remember where I saw it, or if it was necessarily ruby…
[14:49:50] claudiuinberlin: has joined #ruby
[14:49:52] cschneid_: has joined #ruby
[14:50:33] brendan-: has joined #ruby
[14:52:58] havenwood: MrBismuth: The default string encoding for Ruby 2.0+ is UTF-8.
[14:57:11] charliesome: has joined #ruby
[14:58:12] polishdub: has joined #ruby
[14:59:22] Genya: has joined #ruby
[14:59:36] conta2: has joined #ruby
[15:02:51] orbyt_: has joined #ruby
[15:03:33] MrBismuth: Thank you urges... I guess he's gone.
[15:03:44] MrBismuth: Also, thank you as well, havenwood
[15:03:52] MrBismuth: That alone tells me a great deal.
[15:04:12] MrBismuth: I'm sort of surprised that Ruby will allow that kind of invalid typecasting
[15:04:35] MrBismuth: I guess it's the norm for languages of this sort, I doubt Perl would do anything different.
[15:04:47] MrBismuth: And I imagine that Python would just throw a hissy fit.
[15:04:57] havenwood: MrBismuth: What invalid typecasting?
[15:05:14] MrBismuth: well, I'm using C words because me no speak ruby well yet
[15:05:38] MrBismuth: I refer to the "force encoding" that someone spoke to me about just before you wrote.
[15:05:43] MrBismuth: I haven't read it all yet.
[15:05:48] MrBismuth: Got a lot on my plate today.
[15:06:07] MrBismuth: like figuring out where in Hell my other Lenovo charger is.
[15:06:19] BTRE: has joined #ruby
[15:06:31] MrBismuth: Hm, guess I could use the universal if I can find it.
[15:06:42] MrBismuth: Oh well, I've got some reading material at least.
[15:07:28] troys: has joined #ruby
[15:11:21] DTZUZO: has joined #ruby
[15:11:25] TomyLobo2: has joined #ruby
[15:11:32] TheDracle: has joined #ruby
[15:16:24] Megamos: has joined #ruby
[15:19:36] rfoust: has joined #ruby
[15:22:22] edward_: has joined #ruby
[15:22:34] Valkyrie_: has left #ruby: ("Closing Channel, bye.")
[15:22:39] Tempesta: has joined #ruby
[15:23:23] ayonkhan: has joined #ruby
[15:25:24] mtkd: has joined #ruby
[15:27:35] dinfuehr: has joined #ruby
[15:28:17] yeticry: has joined #ruby
[15:30:15] orbyt_: has joined #ruby
[15:31:58] nogic: has joined #ruby
[15:32:48] cadillac_: has joined #ruby
[15:35:10] bkxd: has joined #ruby
[15:36:02] cagomez: has joined #ruby
[15:38:32] chouhoulis: has joined #ruby
[15:40:04] alex``: has joined #ruby
[15:46:17] jphase: has joined #ruby
[15:48:12] slothbear: has joined #ruby
[15:48:30] bronson: has joined #ruby
[15:49:51] chopin: has joined #ruby
[15:55:45] imode: has joined #ruby
[15:58:19] govg: has joined #ruby
[15:59:15] yeticry: has joined #ruby
[16:02:20] uZiel: has joined #ruby
[16:02:32] marr: has joined #ruby
[16:02:38] milardovich: has joined #ruby
[16:07:57] orbyt_: has joined #ruby
[16:08:47] r3kz: has joined #ruby
[16:10:30] milardovich: has joined #ruby
[16:12:45] elitekkmjz: has joined #ruby
[16:18:28] mjolnird: has joined #ruby
[16:31:56] alnewkirk: has joined #ruby
[16:33:00] shinnya: has joined #ruby
[16:34:21] cschneid_: Is there an up to date doc on all the c api and definitions in ruby? Reading https://github.com/tmm1/rblineprof/blob/master/ext/rblineprof.c - and wondering where to get details on some of the built in types, and functions and what some of the defines are
[16:45:56] ShalokShalom: has joined #ruby
[16:48:13] tmm88: has joined #ruby
[16:48:31] alfiemax: has joined #ruby
[16:48:58] rgr: has joined #ruby
[16:53:31] Asher: has joined #ruby
[16:54:56] nowhere_man: has joined #ruby
[16:56:17] Asher: has joined #ruby
[16:56:23] SeepingN: has joined #ruby
[17:00:40] rgr: has joined #ruby
[17:02:07] moei: has joined #ruby
[17:02:54] FahmeF: has joined #ruby
[17:05:31] fizzycola: has joined #ruby
[17:07:23] uZiel: has joined #ruby
[17:07:51] gusrub: has joined #ruby
[17:08:40] Cohedrin_: has joined #ruby
[17:11:09] orbyt_: has joined #ruby
[17:11:58] chouhoulis: has joined #ruby
[17:13:42] TheDracle: has joined #ruby
[17:14:31] zautomata: has joined #ruby
[17:19:51] eckhardt: has joined #ruby
[17:22:46] hahuang65: has joined #ruby
[17:29:35] Cohedrin_: has joined #ruby
[17:32:42] selim: has joined #ruby
[17:34:10] lacour: has joined #ruby
[17:34:28] jrafanie: has joined #ruby
[17:34:34] raynold: has joined #ruby
[17:43:03] claudiuinberlin: has joined #ruby
[17:45:14] jenrzzz: has joined #ruby
[17:49:47] bronson: has joined #ruby
[17:54:57] belmoussaoui: has joined #ruby
[17:57:25] orbyt_: has joined #ruby
[17:59:09] r0llerd3rby: has joined #ruby
[18:03:59] xcesariox: has joined #ruby
[18:07:27] druonysus: has joined #ruby
[18:07:47] xcesariox: has joined #ruby
[18:09:00] drew_adams: has joined #ruby
[18:09:19] Asher: has joined #ruby
[18:11:23] yorickpeterse: has joined #ruby
[18:22:57] quobo: has joined #ruby
[18:25:03] john__: has joined #ruby
[18:27:18] cdg: has joined #ruby
[18:28:26] ldnunes: has joined #ruby
[18:29:05] chouhoul_: has joined #ruby
[18:30:32] chouhoul_: has joined #ruby
[18:32:00] belmoussaoui: has joined #ruby
[18:33:24] belmoussaoui: has joined #ruby
[18:38:27] sppp: hi guys, so how can i monitor a gpio port (a button press) which stores value 1 in a file when pressed and 0 when not pressed, continuously and fire some script if the button is pressed for more than5 sec say
[18:41:08] sppp: i have a file that stores a value : 0 or 1 , i want to continuosuly monitor it and take some action if it is 1
[18:41:13] cdg: has joined #ruby
[18:42:03] naprimer: has joined #ruby
[18:45:55] nowhere_man: has joined #ruby
[18:46:12] pilne: has joined #ruby
[18:48:43] ramfjord: has joined #ruby
[18:49:16] jenrzzz: has joined #ruby
[18:49:16] jenrzzz: has joined #ruby
[18:50:37] veeti: has joined #ruby
[18:56:37] Nahra: has joined #ruby
[18:58:50] bkxd: has joined #ruby
[19:00:29] orbyt_: has joined #ruby
[19:07:56] kristofferR: has joined #ruby
[19:14:35] alex``: has joined #ruby
[19:14:52] chouhoulis: has joined #ruby
[19:18:14] _sfiguser: has joined #ruby
[19:25:13] hgost: has joined #ruby
[19:26:21] jenrzzz: has joined #ruby
[19:28:43] govg: has joined #ruby
[19:29:44] postmodern: has joined #ruby
[19:32:35] sonne: has left #ruby: ()
[19:34:24] RickHull: has joined #ruby
[19:34:31] RickHull: are there tests for stdlib modules?
[19:34:43] RickHull: e.g. net/http ?
[19:36:55] jphase: has joined #ruby
[19:38:04] havenwood: RickHull: Yes, there are tests within Ruby and in RubySpec.
[19:38:31] havenwood: RickHull: https://github.com/ruby/spec/tree/master/library/net/http
[19:38:32] havenwood: RickHull: https://github.com/ruby/ruby/tree/trunk/test/net/http
[19:41:10] mjolnird: has joined #ruby
[19:45:13] RickHull: perfect, thanks!
[19:45:59] yorickpeterse: has joined #ruby
[19:47:15] yorickpeterse: has left #ruby: ()
[19:48:31] yorickpeterse: has joined #ruby
[19:48:52] sepp2k: has joined #ruby
[19:50:08] RickHull: any idea where dummy_io comes from? https://github.com/ruby/ruby/blob/trunk/test/net/http/test_httpresponse.rb#L9 I don't see it in StringIO
[19:50:30] bronson: has joined #ruby
[19:51:25] Dimik: has joined #ruby
[19:51:50] duderonomy: has joined #ruby
[19:51:50] RickHull: found it, in the test file itself, duh
[19:52:05] yorickpeterse: has joined #ruby
[19:57:40] yorickpeterse: has joined #ruby
[20:01:51] jenrzzz_: has joined #ruby
[20:02:20] milardovich: has joined #ruby
[20:03:11] cdg: has joined #ruby
[20:05:00] elitepwomr: has joined #ruby
[20:07:24] yorickpeterse: has joined #ruby
[20:14:32] eckhardt: has joined #ruby
[20:16:02] RickHull: hm, having trouble with Minitest's capture_io
[20:16:44] RickHull: a method call that I'm testing will warn on $stderr under certain conditions
[20:16:51] RickHull: i see the warning on STDERR and capture_io doesn't capture it
[20:18:38] yorickpeterse: has joined #ruby
[20:19:29] yorickpeterse: has joined #ruby
[20:19:33] RickHull: https://gist.github.com/rickhull/ab9c6fc07a2c41395d614ca5db50c98d
[20:20:49] RickHull: I've confirmed the output is not being sent to STDOUT either. out and err are both empty
[20:24:33] chopin_: has joined #ruby
[20:26:07] orbyt_: has joined #ruby
[20:28:39] edward_: has joined #ruby
[20:29:36] yorickpeterse: has joined #ruby
[20:30:19] jenrzzz: has joined #ruby
[20:30:19] jenrzzz: has joined #ruby
[20:31:53] RickHull: looks like capture_io doesn't play nicely with Logger, or the Lager wrapper
[20:32:13] minimalism: has joined #ruby
[20:33:48] RickHull: updated the gist with a minimal example
[20:35:14] cdg: has joined #ruby
[20:35:16] ResidentBiscuit: has joined #ruby
[20:36:16] RickHull: confirmed, does not play nice with Logger
[20:36:25] yorickpeterse: has joined #ruby
[20:37:51] RickHull: updated gist with super minimal example
[20:37:57] RickHull: zenspider: any idears?
[20:38:51] yorickpeterse: has joined #ruby
[20:39:38] RickHull: one possibility is that Logger uses a subprocess?
[20:42:23] RickHull: looks like capture_subprocess_io works, not sure why
[20:43:24] hahuang65: has joined #ruby
[20:43:59] RickHull: updated gist showing capture_io failure with capture_subprocess_io success
[20:45:51] Guest97372: has joined #ruby
[20:47:26] RickHull: looks like Logger uses monitor internally, which uses thread, which I guess is a subprocess?
[20:50:52] goyox86: has joined #ruby
[20:51:26] bronson: has joined #ruby
[20:51:43] ur5us: has joined #ruby
[20:52:25] goyox86: has joined #ruby
[20:53:10] darix: it is a thread. not a subprocess
[20:54:29] ^mtkd: has joined #ruby
[20:54:33] RickHull: close enough, I suppose, for minitest method naming conventions
[20:54:44] RickHull: a thread is subordinate to a process, in some sense :)
[20:56:52] jobewan: has joined #ruby
[21:01:11] goyox86: has joined #ruby
[21:01:54] FelixFox: has joined #ruby
[21:06:31] jphase: has joined #ruby
[21:08:09] goyox86: has joined #ruby
[21:09:15] FF: Hello. I have an unusual question. Does anyone know where to find the ruby interpreter for old Symbian smartphones?
[21:10:05] jenrzzz: has joined #ruby
[21:10:05] jenrzzz: has joined #ruby
[21:12:22] PaulCapestany: has joined #ruby
[21:13:04] RickHull: do you know the ruby version?
[21:13:52] RickHull: I imagine it was built from source is a less-than-perfectly-open manner -- what is the platform? unixlike?
[21:14:23] FF: I'm interested in any version
[21:14:53] RickHull: "Good grief! The Symbian build process fills me with horror, I'd never use it if I didn't have to." http://wiki.c2.com/?SymbianOs
[21:15:26] RickHull: what do you mean by find the interpreter? like where it lives on the filesystem?
[21:16:56] goyox86: has joined #ruby
[21:18:44] FF: I meant a website
[21:19:14] jphase: has joined #ruby
[21:19:41] RickHull: well symbian.com is defunct
[21:19:41] FF: Maybe someone have a copy of .sys file.
[21:21:10] RickHull: not sure what the status is with rubyforge (very old community infrastructure) but this was a thing, once: http://ruby-symbian.rubyforge.org/
[21:21:54] shinnya: has joined #ruby
[21:21:58] RickHull: you're probably best finding the most active symbian community rather than looking for symbian enthusiasts in the ruby community
[21:23:54] milardovich: has joined #ruby
[21:25:47] FF: In fact, there are no such active communities. I think that the chances of finding ruby for symbian are negligible.
[21:26:45] RickHull: what is your goal?
[21:32:33] FF: I have a Nokia N8 and I want to turn it into a server with my ruby script. Just for fun.
[21:33:08] __Yiota: has joined #ruby
[21:39:11] al2o3-cr: symbian, that brings back memories, that being the trusty psion series 3c great little thing that.
[21:39:58] snath: has joined #ruby
[21:40:30] ramfjord: has joined #ruby
[21:41:38] SuperL4g: has joined #ruby
[21:45:53] mim1k: has joined #ruby
[21:47:55] FF: What happened with unmaintained projects on rubyforge? Were they just deleted?
[21:48:39] sepp2k: has joined #ruby
[21:49:19] gusrub: has joined #ruby
[21:52:31] bronson: has joined #ruby
[21:53:03] jenrzzz: has joined #ruby
[21:57:40] ramfjord: has joined #ruby
[21:59:15] cdg_: has joined #ruby
[22:00:32] yokel: has joined #ruby
[22:00:56] jenrzzz: has joined #ruby
[22:04:19] RickHull: https://twitter.com/evanphx/status/399552820380053505
[22:04:41] RickHull: "Announced today that we're sunsetting RubyForge. Last day will be May 15th. Begin your data migration now!"
[22:06:16] ramfjord: has joined #ruby
[22:07:43] snath: has left #ruby: ("Leaving")
[22:07:51] fff: has joined #ruby
[22:09:16] rfoust: has joined #ruby
[22:11:33] RickHull: evanphx said there would be a tar.gz archive but I don't know where it would live
[22:11:35] RickHull: maybe archive.org
[22:11:41] FF: thanks for answer
[22:11:54] rgr: has joined #ruby
[22:15:05] FF: I'll try to build .sis from the source code
[22:18:49] orbyt_: has joined #ruby
[22:24:50] millerti: has joined #ruby
[22:25:19] mson: has joined #ruby
[22:25:44] chopin: has joined #ruby
[22:27:00] __Yiota: has joined #ruby
[22:32:15] griffindy: has joined #ruby
[22:36:32] Megamos: has joined #ruby
[22:37:51] workmad3: has joined #ruby
[22:44:01] marcux_: has joined #ruby
[22:44:42] rwb: has joined #ruby
[22:51:07] dionysus69: has joined #ruby
[22:53:20] bronson: has joined #ruby
[22:53:26] ur5us: has joined #ruby
[22:54:41] tcopeland: has joined #ruby
[22:57:09] hahuang65: has joined #ruby
[22:57:19] Paraxial: has joined #ruby
[22:58:26] SuperLag: has joined #ruby
[22:59:16] nowhere_man: has joined #ruby
[23:00:25] orbyt_: has joined #ruby
[23:03:44] nowhere_man: has joined #ruby
[23:09:35] cschneid_: has joined #ruby
[23:20:20] chopin: has joined #ruby
[23:27:40] naprimer2: has joined #ruby
[23:27:58] uZiel: has joined #ruby
[23:28:40] kliq: has joined #ruby
[23:30:05] ujjain: has joined #ruby
[23:30:05] ujjain: has joined #ruby
[23:31:02] Freshnuts: has joined #ruby
[23:35:32] DarthGandalf: has joined #ruby
[23:36:54] scorphus: has joined #ruby
[23:42:45] kn-928: has joined #ruby
[23:42:59] _aeris_: has joined #ruby
[23:46:19] mim1k: has joined #ruby
[23:48:48] kliq: has joined #ruby
[23:54:00] ramfjord: has joined #ruby
[23:54:10] bronson: has joined #ruby
[23:59:56] ramfjord: has joined #ruby