« Back to channel list

#ruby - 09 March 2016

« Back 1 day Forward 1 day »
[00:01:20] uxp: has joined #ruby
[00:03:03] devbug: has joined #ruby
[00:06:51] malconis_: has joined #ruby
[00:07:44] Synthead: has joined #ruby
[00:08:31] robbyoconnor: has joined #ruby
[00:09:20] Ropeney: has joined #ruby
[00:10:48] wldcordeiro: has joined #ruby
[00:12:51] alphaatom: has joined #ruby
[00:12:52] ledestin: has joined #ruby
[00:12:57] BtcBen: has joined #ruby
[00:13:12] dstarh: has joined #ruby
[00:13:36] thomasfedb: has joined #ruby
[00:13:36] thomasfedb: has joined #ruby
[00:14:28] htmldrum_: has joined #ruby
[00:16:10] r0bby_: has joined #ruby
[00:16:17] nertzy: has joined #ruby
[00:16:21] guacamole: has joined #ruby
[00:17:24] vishwa: has joined #ruby
[00:17:46] malconis: has joined #ruby
[00:24:32] aeontech: has joined #ruby
[00:24:36] htmldrum: has joined #ruby
[00:28:34] tAn: has joined #ruby
[00:29:42] DLSteve: has joined #ruby
[00:30:09] solocshaw: has joined #ruby
[00:31:35] al2o3-cr: has joined #ruby
[00:34:22] tris: has joined #ruby
[00:35:47] charliesome_: has joined #ruby
[00:37:12] floatingpoint: has joined #ruby
[00:38:02] shanemcd: has joined #ruby
[00:38:17] sp4rrow: has joined #ruby
[00:39:23] statelesscode: has joined #ruby
[00:39:30] moos3: has joined #ruby
[00:40:22] Contigi: has joined #ruby
[00:43:19] alphaatom: has joined #ruby
[00:43:44] Lucky_ABA: has joined #ruby
[00:49:11] baweaver: has joined #ruby
[00:50:48] tenderlove: has joined #ruby
[00:51:35] kies: has joined #ruby
[00:52:29] malconis: has joined #ruby
[00:53:03] ivanskie_work: has joined #ruby
[00:53:16] n0xff: has joined #ruby
[00:53:25] justbleed: has joined #ruby
[00:54:09] KensoDev: has joined #ruby
[00:57:07] yuung: has joined #ruby
[00:57:47] gbgdev: has joined #ruby
[01:02:45] stannard: has joined #ruby
[01:02:47] moeabdol4: has joined #ruby
[01:03:27] ariel_17: has joined #ruby
[01:03:42] ariel_17: has joined #ruby
[01:04:52] mistermo_: has joined #ruby
[01:12:07] montyboy: has joined #ruby
[01:14:10] johnmilton: has joined #ruby
[01:16:07] CloCkWeRX: has joined #ruby
[01:16:40] Tricon: has joined #ruby
[01:17:39] tricon_: has joined #ruby
[01:18:19] Guest34101: has joined #ruby
[01:19:18] principia: has joined #ruby
[01:19:21] workmad3: has joined #ruby
[01:19:23] kent\n: has joined #ruby
[01:19:23] kent\n: has joined #ruby
[01:20:12] joevandyk: hey -- so i have text in the textile format. i want to convert it over to a tiny subset of html -- basically only converting `*bold*` to <strong>bold</strong> and `* list` into html list elements. anyone have any ideas on the best way to approach that?
[01:21:07] joevandyk: i don't think i can use something like RedCloth -> html as that will make html soup. i want line breaks to stay as line breaks, not get converted to <p> tags.
[01:21:53] yuung: has joined #ruby
[01:22:59] idefine: has joined #ruby
[01:26:32] DLSteve: has joined #ruby
[01:26:37] x77686d: has joined #ruby
[01:26:54] idefine: has joined #ruby
[01:28:32] ivanskie: has joined #ruby
[01:31:52] johnmilton: has joined #ruby
[01:32:12] Ox0dea: joevandyk: Why not regex? https://glot.io/snippets/ecmwc3f1z5
[01:33:40] cdg: has joined #ruby
[01:34:36] moos3: has joined #ruby
[01:39:10] arescorpio: has joined #ruby
[01:41:15] trosborn: has joined #ruby
[01:44:29] joevandyk: Ox0dea: that was my best idea, thought there might be something better. :)
[01:44:40] veloutin: has joined #ruby
[01:44:48] Ox0dea: joevandyk: There probably is. :P
[01:46:28] rattatmatt: has joined #ruby
[01:46:56] joevandyk: Ox0dea: this was my attempt: https://glot.io/snippets/ecmwqrn8ic
[01:47:05] joevandyk: wanted to handle cases where bold text is in list elements
[01:48:43] Ox0dea: joevandyk: Yeah, makes sense. Are these actually the only two elements you're wanting to emit?
[01:49:31] joevandyk: Ox0dea: yeah, i think those are the only things we used textile for.
[01:55:11] DmitryBochkarev: has joined #ruby
[01:57:30] bry4n: has joined #ruby
[02:00:30] ramfjord: has joined #ruby
[02:01:19] electriv: has joined #ruby
[02:02:17] aeontech: has joined #ruby
[02:03:49] moeabdol4: has joined #ruby
[02:06:53] aeon_: has joined #ruby
[02:12:36] mistermocha: has joined #ruby
[02:16:58] x77686d: has joined #ruby
[02:21:11] sucks: has joined #ruby
[02:21:29] Vile`: has joined #ruby
[02:21:51] vishwa: has joined #ruby
[02:27:31] rickmasta: has joined #ruby
[02:34:19] mwlang: has joined #ruby
[02:35:51] Guest34101: has joined #ruby
[02:37:18] duderonomy: has joined #ruby
[02:41:38] c0ncealed: has joined #ruby
[02:45:33] nanoz: has joined #ruby
[02:45:38] Rubie: has joined #ruby
[02:49:47] jenrzzz: has joined #ruby
[02:52:45] ariel_17: has joined #ruby
[02:55:39] alphaatom: has joined #ruby
[02:56:21] al2o3-cr: has joined #ruby
[02:58:47] alphaatom: has joined #ruby
[03:02:45] baweaver: has joined #ruby
[03:03:19] lemur: has joined #ruby
[03:04:24] moeabdol4: has joined #ruby
[03:05:27] akkad: has joined #ruby
[03:07:54] uglybandersnatch: has joined #ruby
[03:07:57] evenix: has joined #ruby
[03:08:09] evenix: Any google api magician here?
[03:08:10] mistermocha: has joined #ruby
[03:11:19] RegulationD: has joined #ruby
[03:12:13] rmulligan: has joined #ruby
[03:13:27] baweaver: has joined #ruby
[03:13:36] r0bby_: has joined #ruby
[03:14:35] eregi: has joined #ruby
[03:14:41] A124: has joined #ruby
[03:15:08] Gnubie__: has joined #ruby
[03:15:12] sindork: has joined #ruby
[03:15:59] Channel6: has joined #ruby
[03:17:12] charliesome: has joined #ruby
[03:17:46] j0bk: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[03:20:55] ivanskie: has joined #ruby
[03:23:33] duncannz: has joined #ruby
[03:24:17] moos3: has joined #ruby
[03:24:32] Rodya_: has joined #ruby
[03:26:23] LoneHerm_: has joined #ruby
[03:26:37] jenrzzz: has joined #ruby
[03:29:02] mistermocha: has joined #ruby
[03:32:01] Sembei: has joined #ruby
[03:33:23] droptone: has joined #ruby
[03:33:33] dopie: has joined #ruby
[03:33:37] droptone: What would be the ruby equivalent of this JS statement?
[03:33:38] droptone: while ($scope.avatarPathId.length < 3) $scope.avatarPathId = "0" + $scope.avatarPathId;
[03:34:24] droptone: Basically I need to conver the avatarPathId to a string, then prefix one zero if the avatarPathId is two chars, or two zeros if one char
[03:34:27] stardiviner: has joined #ruby
[03:34:51] droptone: so if the avatarPathId is "9", I would prefix 00, so the string is 009, and if it is "54", I would prefix one zero, so it the result is 054.
[03:34:51] Ox0dea: >> id = 42; '%04d' % id # droptone
[03:34:52] ruby[bot]: Ox0dea: # => "0042" (https://eval.in/533055)
[03:35:00] Ox0dea: Er, sorry, '%03d'.
[03:36:06] droptone: That's not working in irb.
[03:36:08] droptone: What exactly?
[03:36:15] droptone: so if the integer was "test", and test = 2
[03:36:36] droptone: and I want to A) convert to string and B) prefix 2 zeros to string if 1 char and 1 zero if 2 chars
[03:36:51] CloCkWeRX: has joined #ruby
[03:37:08] moos3: has joined #ruby
[03:37:09] droptone: hence the .length call in the JS
[03:37:20] Ox0dea: droptone: https://eval.in/533056
[03:37:35] Ox0dea: You don't need explicit looping for this; just use string formatting.
[03:38:11] droptone: so '%03d' % avatarPathId?
[03:38:38] yokel: has joined #ruby
[03:38:39] droptone: Ok, yes, that did it, brilliant.
[03:38:42] droptone: Thanks man, great stuff.
[03:38:53] Ox0dea: Happy to help.
[03:39:54] idefine: has joined #ruby
[03:40:15] fedexo: has joined #ruby
[03:42:11] B1n4r10: has joined #ruby
[03:43:54] moei: has joined #ruby
[03:44:37] LoneHerm_: has joined #ruby
[03:44:54] mistermocha: has joined #ruby
[03:45:49] Bloomer: has joined #ruby
[03:47:00] pawnbox: has joined #ruby
[03:51:02] crystal77: has joined #ruby
[03:52:27] idefine: has joined #ruby
[03:54:44] p1k: has joined #ruby
[03:54:50] Mon_Ouie: has joined #ruby
[03:57:06] mistermocha: has joined #ruby
[03:58:20] mallu: has joined #ruby
[03:58:47] mallu: has joined #ruby
[03:58:59] pawnbox: has joined #ruby
[04:01:14] xxneolithicxx: has joined #ruby
[04:04:20] hk238: has joined #ruby
[04:04:53] joevandyk: Ox0dea: hm, looks like i need to wrap the list elements in <ul>
[04:05:11] moeabdol4: has joined #ruby
[04:05:22] Ox0dea: joevandyk: It shouldn't be strictly necessary, but that's probably a good idea.
[04:06:22] aupadhye: has joined #ruby
[04:06:46] cwenner: has joined #ruby
[04:07:20] zast: has joined #ruby
[04:09:25] mistermocha: has joined #ruby
[04:09:46] mary5030: has joined #ruby
[04:09:46] Tamae: has joined #ruby
[04:12:06] cpup: has joined #ruby
[04:12:27] rmulligan: has joined #ruby
[04:12:50] mallu: has joined #ruby
[04:13:26] charliesome: has joined #ruby
[04:16:19] braincrash: has joined #ruby
[04:19:40] janzo: has joined #ruby
[04:22:27] bry4n_: has joined #ruby
[04:22:49] malconis: has joined #ruby
[04:24:18] mistermocha: has joined #ruby
[04:25:18] pawnbox: has joined #ruby
[04:26:53] baweaver: has joined #ruby
[04:29:06] mary5030_: has joined #ruby
[04:31:42] chouhoul_: has joined #ruby
[04:33:10] CloCkWeRX: has joined #ruby
[04:35:54] thor_: has joined #ruby
[04:36:14] aeontech: has joined #ruby
[04:36:43] hahuang61: has joined #ruby
[04:37:32] ESpiney: has joined #ruby
[04:38:29] treaki_: has joined #ruby
[04:42:06] pawnbox: has joined #ruby
[04:42:40] djbkd: has joined #ruby
[04:45:07] Dormo: has joined #ruby
[04:45:59] Dormo: Hi. Is this the right channel to go to for some general help with Ruby? I'm not a Ruby novice, but I've run into a strange issue that I can't fully understand
[04:48:14] pwnd_nsfw: has joined #ruby
[04:49:34] Dormo: Ah. My problem is described here: https://github.com/thibaudgg/video_info/issues/119#issuecomment-194111047
[04:49:46] bluOxigen_: has joined #ruby
[04:49:50] Dormo: there are two hyperlinks to the code in question (they are very short; a 1 line function and a tiny spec)
[04:50:13] Dormo: I feel like I must be missing something very obvious but I don't know what.
[04:51:30] jaiks: has joined #ruby
[04:51:45] Dormo: None of the other specs have any issues, and as far as I can tell I didn't do anything different (I wrote most all of them in the first place)
[04:51:55] jokke: has joined #ruby
[04:52:09] dellavg: has joined #ruby
[04:52:27] voker57: has joined #ruby
[04:52:28] voker57: has joined #ruby
[04:52:31] AustinMatherne: has joined #ruby
[04:52:46] alphaatom: has joined #ruby
[04:52:48] chris2: has joined #ruby
[04:53:46] djbkd: has joined #ruby
[04:53:58] _whitelogger_: has joined #ruby
[04:54:30] paatalaBhairavi: has joined #ruby
[04:57:31] dopie: has joined #ruby
[04:58:09] gremax: has joined #ruby
[04:58:42] BtcBen: has joined #ruby
[04:59:57] Moosashi: has joined #ruby
[05:01:34] krzkrzkrz: has joined #ruby
[05:02:25] hxegon: has joined #ruby
[05:03:59] mary5030: has joined #ruby
[05:04:04] ICantCook: has joined #ruby
[05:05:57] gix: has joined #ruby
[05:05:58] moeabdol4: has joined #ruby
[05:06:12] mozzarella: trying to run the specs, just a second
[05:06:18] rkazak: has joined #ruby
[05:06:40] baweaver: has joined #ruby
[05:08:34] dc1: has joined #ruby
[05:09:07] Dormo: mozzarella: thank you
[05:11:06] aeontech: has joined #ruby
[05:12:45] RegulationD: has joined #ruby
[05:15:22] Xiti: has joined #ruby
[05:18:16] LoneHerm_: has joined #ruby
[05:20:14] Synthead: has joined #ruby
[05:20:45] Synthbread: has joined #ruby
[05:22:06] j0bk: has joined #ruby
[05:23:57] ixti: has joined #ruby
[05:25:53] BadQuanta: has joined #ruby
[05:26:25] Lucky_ABA: has joined #ruby
[05:26:31] Rubie: has joined #ruby
[05:28:50] sbhatore: has joined #ruby
[05:29:09] lxsameer: has joined #ruby
[05:32:08] mozzarella: Dormo: I get "437 examples, 0 failures, 1 pending", is it normal?
[05:35:51] Moosashi: has joined #ruby
[05:36:24] Dormo: where are you pulling from?
[05:36:41] Dormo: https://github.com/vheuken/video_info/tree/author
[05:36:46] Dormo: this is the relevant repo/branch
[05:37:07] Infra-Red: has joined #ruby
[05:38:01] Infra-Red: has joined #ruby
[05:39:03] darkxploit: has joined #ruby
[05:39:15] Outlastsheep: has joined #ruby
[05:40:52] astrobun_: has joined #ruby
[05:41:32] siaW: has joined #ruby
[05:42:03] Dormo: mozzarella
[05:42:05] Dormo: i fixed my issue
[05:42:24] Dormo: https://github.com/thibaudgg/video_info/blob/893446010dd1e909619b672793fb8132e7d578d5/lib/video_info.rb#L57
[05:42:33] Dormo: :author_url needed to be added to that line
[05:43:04] Dormo: Sorry; I started maintaining this library years after it was originally written
[05:43:10] Dormo: so I still don't fully know the guts
[05:43:14] Dormo: Thanks for your help, though
[05:43:20] hackeron: has joined #ruby
[05:47:00] r0bby_: has joined #ruby
[05:49:33] UtkarshRay: has joined #ruby
[05:52:05] marcdel: has joined #ruby
[05:52:07] jenrzzz: has joined #ruby
[05:52:35] Lucky_ABA: has joined #ruby
[05:57:05] marcdel: has joined #ruby
[05:57:07] sandstrom: has joined #ruby
[05:58:30] xcesariox: has joined #ruby
[06:00:03] bronson_: has joined #ruby
[06:00:25] htmldrum_: has joined #ruby
[06:06:44] moeabdol4: has joined #ruby
[06:09:19] futilegames: has joined #ruby
[06:09:39] kent\n: has joined #ruby
[06:13:55] nocontrol: has joined #ruby
[06:16:52] sauvin: has joined #ruby
[06:18:00] futilegames: has joined #ruby
[06:20:28] gizless: has joined #ruby
[06:22:53] roshanavand: has joined #ruby
[06:23:48] MyMind: has joined #ruby
[06:26:32] chipotle: has joined #ruby
[06:27:46] LoneHermit: has joined #ruby
[06:27:59] p1k: has joined #ruby
[06:28:29] sandstrom: has joined #ruby
[06:29:26] paatalaBhairavi: has joined #ruby
[06:29:39] JohnBat26: has joined #ruby
[06:30:31] futilegames: has joined #ruby
[06:32:39] djbkd: has joined #ruby
[06:33:31] aupadhye: has joined #ruby
[06:39:29] aupadhye_: has joined #ruby
[06:43:41] djbkd: has joined #ruby
[06:44:01] htmldrum: has joined #ruby
[06:45:06] Es0teric: has joined #ruby
[06:54:41] steffkes: has joined #ruby
[06:54:56] Macaveli: has joined #ruby
[06:55:20] Moosashi: has joined #ruby
[06:55:35] mistermocha: has joined #ruby
[06:56:09] filterbubble: has joined #ruby
[06:56:31] Es0teric: has joined #ruby
[06:57:54] shevy: flughafen looks as if you got grounded again - how unexpected :))) http://goo.gl/3ikqm1 - I am sure they are not using ruby anywhere either!
[06:58:08] skydiver: has joined #ruby
[06:59:02] solars: has joined #ruby
[06:59:23] ohaibbq: has joined #ruby
[06:59:39] hahuang61: has joined #ruby
[07:00:07] siaW: has joined #ruby
[07:01:01] rmulligan: has joined #ruby
[07:06:02] dede: has joined #ruby
[07:07:12] rmulligan: has joined #ruby
[07:07:43] trosborn: has joined #ruby
[07:08:36] jas02: has joined #ruby
[07:08:44] moeabdol4: has joined #ruby
[07:09:07] nocontrol: has joined #ruby
[07:10:21] coyo: has joined #ruby
[07:10:21] coyo: has joined #ruby
[07:13:47] paradoxx: has joined #ruby
[07:13:55] BLuEGoD: has joined #ruby
[07:14:17] sandstrom: has joined #ruby
[07:14:54] Infra-Red: has joined #ruby
[07:17:12] Infra-Red: has joined #ruby
[07:20:23] Macaveli_: has joined #ruby
[07:20:42] andikr: has joined #ruby
[07:21:23] yardenbar: has joined #ruby
[07:26:39] hahuang61: has joined #ruby
[07:31:30] mayonnaise: has joined #ruby
[07:32:47] Infra-Red: has joined #ruby
[07:32:54] aganov: has joined #ruby
[07:34:20] jackjackdripper: has joined #ruby
[07:34:49] skade: has joined #ruby
[07:37:13] konsolebox: has joined #ruby
[07:37:51] steffkes: has joined #ruby
[07:37:52] steffkes: has joined #ruby
[07:38:24] nerium: has joined #ruby
[07:38:35] shevy: https://github.com/ruby/ruby/blob/trunk/ChangeLog#L4 wheee "benchmark/driver.rb: support memory usage benchmark. use `--measure-target=[target]'."
[07:40:36] Lich: has joined #ruby
[07:40:47] symm-: has joined #ruby
[07:40:56] marcdel: has joined #ruby
[07:41:13] r0bby_: has joined #ruby
[07:43:56] hinbody: has joined #ruby
[07:44:16] nerium: has joined #ruby
[07:45:28] mayonnaise: has left #ruby: ()
[07:45:59] firstdayonthejob: has joined #ruby
[07:49:08] futilegames: has joined #ruby
[07:50:53] drbrain: uses https://github.com/ruby/ruby/blob/trunk/test/lib/memory_status.rb
[07:51:45] bjmllr: has joined #ruby
[07:53:13] jaruga: has joined #ruby
[07:58:07] anisha: has joined #ruby
[07:59:22] skade: has joined #ruby
[07:59:43] futilegames: has joined #ruby
[08:02:00] configged-: has joined #ruby
[08:02:00] configged: has joined #ruby
[08:02:50] rdark: has joined #ruby
[08:03:21] sandstrom: has joined #ruby
[08:06:25] y2mq37: has joined #ruby
[08:08:57] UtkarshRay: has joined #ruby
[08:09:27] moeabdol4: has joined #ruby
[08:10:53] Ropeney: has joined #ruby
[08:10:59] malcolmva: has joined #ruby
[08:12:09] eregi: has joined #ruby
[08:12:42] Noxilex: has joined #ruby
[08:13:08] roshanavand: has joined #ruby
[08:14:09] codecop_: has joined #ruby
[08:14:54] aufi: has joined #ruby
[08:15:58] ferr: has joined #ruby
[08:16:01] LoneHermit: has joined #ruby
[08:16:22] roshanavand: has joined #ruby
[08:16:38] SCHAAP137: has joined #ruby
[08:17:41] poerror: has joined #ruby
[08:18:39] shtirlic: has joined #ruby
[08:22:10] blackgoat: has joined #ruby
[08:22:12] ruby-lang388: has joined #ruby
[08:22:31] trosborn: has joined #ruby
[08:22:51] mondok: has joined #ruby
[08:24:57] trosborn: has joined #ruby
[08:28:04] copperb0lt: has joined #ruby
[08:29:28] pawnbox: has joined #ruby
[08:29:36] eurialo: has joined #ruby
[08:30:58] tungd: has joined #ruby
[08:31:35] mark2: has joined #ruby
[08:33:37] Vile`: has joined #ruby
[08:33:55] olli: has joined #ruby
[08:39:48] Ishido: has joined #ruby
[08:44:30] bronson: has joined #ruby
[08:46:31] aupadhye: has joined #ruby
[08:48:35] jaruga_: has joined #ruby
[08:48:58] shredding: has joined #ruby
[08:49:07] shadowswalker: has joined #ruby
[08:54:02] fexilal: has joined #ruby
[08:56:34] rmulligan: has joined #ruby
[08:57:23] sandelius: has joined #ruby
[08:58:15] joonty: has joined #ruby
[08:58:29] sandelius: hey all. I'm fiddling with # frozen_string_literal: true and it raises an error as it should when I can the file with the ruby interpreter but does not show any error when running via minitest?
[08:58:45] sandelius: The method that should raise error is run
[08:58:49] atmosx: has joined #ruby
[08:59:42] uglybandersnatch: has joined #ruby
[09:00:59] igam: has joined #ruby
[09:01:27] skade: has joined #ruby
[09:06:18] Eising: has left #ruby: ()
[09:06:25] gbgdev: has joined #ruby
[09:06:45] drptbl: has joined #ruby
[09:06:48] aufi: has joined #ruby
[09:07:31] mdw: has joined #ruby
[09:10:19] moeabdol4: has joined #ruby
[09:12:02] ramfjord: has joined #ruby
[09:12:23] sandstrom: has joined #ruby
[09:12:48] nocontrol: I am trying to gem install rails in openbsd 5.8 but it fails with libiconv is missing. iconv is ok and I have installed rbenv to manage the ruby versions. any ideas ?
[09:13:50] maner: has joined #ruby
[09:14:17] RegulationD: has joined #ruby
[09:15:36] leventix: has joined #ruby
[09:16:16] leventix: has left #ruby: ()
[09:17:17] canton7: nocontrol, you probably need whatever headers/dev package your distro provides?
[09:18:00] nocontrol: canton7: openBSD 5.8 actually, no idea
[09:18:30] nocontrol: canton7: tried to install libiconv, ruby-iconv and gem install rails --with-iconv-lib but it fails with same message
[09:18:43] canton7: I'd call openbsd a bsd distro :P what message does it fail with?
[09:18:53] last_staff: has joined #ruby
[09:19:56] PedramT: has joined #ruby
[09:20:46] jhass: try recompiling your ruby since you installed libiconv
[09:21:26] Ginglink: has joined #ruby
[09:22:35] nocontrol: jhass: I am using rbenv
[09:22:40] nocontrol: jhass: just reinstall ?
[09:22:49] jhass: I guess? I hate rbenv and avoid it
[09:23:00] nocontrol: jhass: rvm fails hard in openBSD
[09:23:14] nocontrol: I am working on a hardware project actually and I have to use it
[09:23:22] nocontrol: and I can see it seems really awesome
[09:23:32] nocontrol: so it's a challenge to make ruby and then rails work
[09:23:39] nocontrol: maybe sinatra
[09:24:05] jhass: most people recommend you chruby + ruby-install these days
[09:24:17] ocbtec: has joined #ruby
[09:25:30] the_drow: has joined #ruby
[09:25:36] gbgdev: has joined #ruby
[09:26:09] al2o3-cr: has joined #ruby
[09:26:34] Hanmac: nocontrol: does your distri also has a package like libiconv-dev or similar?
[09:27:35] shevy: come on BSD guys, the linux guys can do it and so can you!
[09:27:37] LoneHerm_: has joined #ruby
[09:27:59] nocontrol: hanmac: trying now
[09:28:10] nocontrol: hanmac: nope Can't find libiconv-dev
[09:28:22] shevy: http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz
[09:28:24] nocontrol: jhass: looking into them
[09:28:34] tomphp: has joined #ruby
[09:28:47] Hanmac: shevy: i dont know BSD but i thought it has a different package for the dev files
[09:28:48] nocontrol: shevy: clone and make ?
[09:29:40] shevy: hanmac I only remember that you had to... cd to /usr/src or some subdirectory there or something? and then "make" possibly after adapting
[09:30:07] shevy: nocontrol dunno, not sure if libiconv works on the BSDs
[09:30:57] shevy: did not glibc have its own iconv implementation?
[09:32:30] Couch: has joined #ruby
[09:33:30] PedramT: has joined #ruby
[09:34:33] pawnbox: has joined #ruby
[09:34:35] sbhatore: has joined #ruby
[09:35:27] epochwolf: has joined #ruby
[09:35:37] shadowswalker: hey guys, I am having problem on metasploit with ruby, It says "fatal: Not a git repository (or any of the parent directories): .git
[09:35:40] shadowswalker: Could not find rake-10.4.2 in any of the sources
[09:35:42] shadowswalker: Run `bundle install` to install missing gems.
[09:35:49] binaryplease1: has joined #ruby
[09:37:15] jhass: ?metasploit
[09:37:29] jhass: ACTION slaps ruby[bot]
[09:37:45] jenrzzz: has joined #ruby
[09:37:53] jhass: shadowswalker: please join #metasploit for help with it
[09:38:01] sbhatore: has joined #ruby
[09:38:38] shadowswalker: jhass: thanks.
[09:40:14] n008f4g_: has joined #ruby
[09:41:05] baweaver: has joined #ruby
[09:42:52] nocontrol: shevy: I did a ./configure - make - make install and I am recompiling ruby to see If something changes
[09:44:27] Spami: has joined #ruby
[09:45:47] sepp2k: has joined #ruby
[09:46:10] eregi: has joined #ruby
[09:46:35] binaryplease: has joined #ruby
[09:47:16] FooMunki: has joined #ruby
[09:48:45] f4cl3y: has joined #ruby
[09:50:42] rmulligan: has joined #ruby
[09:51:30] jenrzzz: has joined #ruby
[09:52:40] bluOxigen: has joined #ruby
[09:55:15] pawnbox: has joined #ruby
[09:55:44] mikar: has joined #ruby
[09:56:08] TomyLobo: has joined #ruby
[09:57:11] ICantCook: has joined #ruby
[09:58:29] mondok: has joined #ruby
[09:58:45] marr: has joined #ruby
[09:59:01] quazimodo: has joined #ruby
[10:01:31] PedramT: has joined #ruby
[10:04:27] Xeago: has joined #ruby
[10:08:11] malcolmva: has joined #ruby
[10:08:57] workmad3: has joined #ruby
[10:09:19] GBrawl: has joined #ruby
[10:09:39] Xeago: has joined #ruby
[10:11:09] charliesome: has joined #ruby
[10:11:17] moeabdol4: has joined #ruby
[10:12:06] moonman: has joined #ruby
[10:12:06] ChanServ: +b *Moonman*!*@*
[10:12:06] ChanServ: ChanServ kicked moonman: is banned from this channel
[10:12:21] ruby[bot]: -b+b *Moonman*!*@* *Moonman*!*@*$#ruby-banned
[10:12:23] ruby[bot]: -b *Moonman*!*@*$#ruby-banned
[10:12:23] ruby[bot]: -b jimbow!*@*$#ruby-banned
[10:13:42] trosborn: has joined #ruby
[10:17:53] moonman: has joined #ruby
[10:17:53] ChanServ: +b *Moonman*!*@*
[10:17:53] ChanServ: ChanServ kicked moonman: is banned from this channel
[10:17:57] ruby[bot]: -b+b *Moonman*!*@* *Moonman*!*@*$#ruby-banned
[10:18:56] Hanmac: jhass: do you play with the banning tool?
[10:19:34] Infra-Red: has joined #ruby
[10:20:16] Hanmac: because i got confusing messages with +b -b and this moonman, confusing in that way that they change each time
[10:20:47] johnmilton: has joined #ruby
[10:20:47] mfaeh: has joined #ruby
[10:21:47] pawnbox: has joined #ruby
[10:24:07] gbgdev: has joined #ruby
[10:25:31] dgncn: has joined #ruby
[10:26:27] drptbl: has joined #ruby
[10:28:22] shevy: the end of all moonmen
[10:28:54] terlar: has joined #ruby
[10:33:10] pawnbox: has joined #ruby
[10:34:31] platzhirsch: has joined #ruby
[10:36:47] siaW: has joined #ruby
[10:37:13] pawnbox: has joined #ruby
[10:38:22] johnmilton: has joined #ruby
[10:38:24] arlek: has joined #ruby
[10:39:17] rodfersou: has joined #ruby
[10:39:34] pawnbox: has joined #ruby
[10:40:11] moeabdol4: has joined #ruby
[10:40:44] pawnbox: has joined #ruby
[10:42:17] tungd: has joined #ruby
[10:42:56] isene: has joined #ruby
[10:43:12] pawnbox: has joined #ruby
[10:44:48] rmulligan: has joined #ruby
[10:47:45] czerasz: has joined #ruby
[10:47:50] nocontrol: jhass: are you feeling comfortable with chruby ? Instead of rvm/rbenv ?
[10:48:37] jhass: I use chruby for quite some time now, yes
[10:48:52] pawnbox: has joined #ruby
[10:48:53] jhass: don't use ruby-install though, rather packages for my distro
[10:52:50] nocontrol: jhass: are you happy with it? I mean does it completely replace rvm/rbenv?
[10:53:19] aeontech: has joined #ruby
[10:53:30] jhass: for my usecases, yes
[10:54:21] yorickpeterse: I'll start a flamewar but I don't get why people use rbenv and not chruby
[10:54:30] yorickpeterse: why bother with shims? It just feels like a really weird approach
[10:54:43] yorickpeterse: "I can either use shims, rehash them, etc, or just use chruby and be done with it"
[10:55:05] jhass: my biggest grime is actually no fuzzy version matching
[10:55:20] adaedra: For the time I used rbenv, it was because it was lighter than rvm, and that I didn't know about chruby
[10:55:37] jhass: I have a lot of projects where I just want to lock to a minor version of ruby, not an exact patchlevel
[10:55:42] yorickpeterse: well yeah, not knowing about chruby is a valid reason
[10:57:54] nocontrol: jhass: nice information, I'll check it out - I am too tired with rbenv/rvm
[10:58:00] trosborn: has joined #ruby
[10:59:17] last_staff1: has joined #ruby
[11:02:49] duderonomy: my mind needs an expansion. Hopefully someone can help. :) Presuming this is enough info... If I have this line, how can I use the value of x, in the next line of code?
[11:02:51] duderonomy: (1..6).each { |x| break if dice.select {|n| n==x }.length > 2 }
[11:03:03] biberu: has joined #ruby
[11:03:10] duderonomy: the value of x when the look exited/break
[11:04:22] duderonomy: dice = [2, 5, 2, 2, 3]
[11:05:22] jhass: duderonomy: Enumerable#find
[11:05:41] jhass: also #count
[11:05:49] sandstrom: has joined #ruby
[11:06:12] Slice^: has joined #ruby
[11:06:35] flughafen: http://www.tagesspiegel.de/berlin/hauptstadtflughafen-berlin-schoenefeld-ber-start-muss-wohl-auf-2018-verschoben-werden/13071086.html shevy
[11:06:50] duderonomy: hey thx. initially on face value that reminds me of Python's enumerate, a little bit. I'll go read
[11:07:19] platzhirsch: has joined #ruby
[11:08:10] CustosLimen: has joined #ruby
[11:12:52] pawnbox: has joined #ruby
[11:15:00] RegulationD: has joined #ruby
[11:15:06] BtcBen: has joined #ruby
[11:15:31] shevy: flughafen yeah - it's a never-ending story :)
[11:17:05] ayonkhan: has joined #ruby
[11:18:12] tungd: has joined #ruby
[11:18:24] drptbl: has joined #ruby
[11:18:47] poerror: has joined #ruby
[11:22:30] bronson: has joined #ruby
[11:24:54] supplication: has joined #ruby
[11:25:06] kobain: has joined #ruby
[11:25:44] jottr: has joined #ruby
[11:25:48] trinaldi: has joined #ruby
[11:25:51] Hanmac: shevy & flughafen: if i can get them to think that they need BER for the next football World-Championship then it would be finish next week
[11:27:00] flughafen: should we bribe fifa to give us the 2018 weltmeisterschaft
[11:27:18] mikar: hi, does someone know why Net::HTTP would ignore my proxy environment variables? see this snippet: https://bpaste.net/show/27552025ded2
[11:28:53] snowy: has joined #ruby
[11:29:06] trosborn: has joined #ruby
[11:32:30] ldnunes: has joined #ruby
[11:33:23] but3k4: has joined #ruby
[11:33:47] pawnbox: has joined #ruby
[11:34:18] eregi: has joined #ruby
[11:36:56] PedramT: has joined #ruby
[11:37:44] shevy: flughafen better bribe for the Weltherrschaft!
[11:37:51] configged: has joined #ruby
[11:38:01] configged-: has joined #ruby
[11:38:19] danjack: hey guys, is there a possible way to declare programatically variables in a block? For example i want to call an argumentless function (def test) that it will have the variable 'bla' set to 'hello world'
[11:38:26] Ropeney: has joined #ruby
[11:38:57] rmulligan: has joined #ruby
[11:40:26] jhass: doesn't sound like it should be argumentless in the first place
[11:40:47] jhass: right, sigh
[11:41:03] danjack: i guess i have to use bindings
[11:42:13] baweaver: has joined #ruby
[11:42:27] jhass: to me sounds like you're on an evil path
[11:44:14] danjack: you always see only the evil in me
[11:44:17] arlek: has joined #ruby
[11:44:24] johnmilton: has joined #ruby
[11:44:30] jhass: maybe it's because it's all you show from yourself
[11:44:50] vikas027: has joined #ruby
[11:44:54] chocoelho: has joined #ruby
[11:44:58] danjack: of course, im a monster
[11:45:25] danjack: of course, im a monster
[11:45:28] danjack: o wrong window
[11:45:28] vikas027: has left #ruby: ()
[11:45:48] adaedra: monstrous.
[11:46:27] shevy: danjack as far as I know there are only two ways to declare local variables inside of a block; which is through || or by defining it inside the block
[11:46:33] k13nox: has joined #ruby
[11:49:02] htmldrum_: has joined #ruby
[11:50:16] beast: has joined #ruby
[11:53:03] trosborn: has joined #ruby
[11:53:04] danjack: im trying to do something like this
[11:53:13] danjack: def test; foo; end;b = binding;b.local_variable_set :foo, 'bar';p method(:test).unbind.bind(b).call
[11:53:26] danjack: >> def test; foo; end;b = binding;b.local_variable_set :foo, 'bar';p method(:test).unbind.bind(b).call
[11:53:36] Macaveli: has joined #ruby
[11:53:45] danjack: the bot doesnt work?
[11:53:54] jhass: you need to be identified with NickServ
[11:54:01] shevy: it is a snobbish bot
[11:54:13] shevy: <jhass> right, sigh
[11:54:36] jhass: that's a bug actually ;)
[11:55:04] mondok: has joined #ruby
[11:57:15] jenrzzz: has joined #ruby
[11:57:26] danjack: whats a bug actually?
[11:58:22] jhass: behavior of a program that was not intended by the author
[12:00:13] pawnbox: has joined #ruby
[12:06:31] sdothum: has joined #ruby
[12:08:20] htmldrum: has joined #ruby
[12:09:39] Pisuke: has joined #ruby
[12:09:41] Xeago: has joined #ruby
[12:10:01] dgncn: has joined #ruby
[12:10:26] jonee: has joined #ruby
[12:12:37] sandstrom: has joined #ruby
[12:19:06] Infra-Red: has joined #ruby
[12:19:53] d0nn1e: has joined #ruby
[12:20:54] Tempesta: has joined #ruby
[12:20:58] GBrawl: has joined #ruby
[12:23:12] Vile`: has joined #ruby
[12:23:47] pwnd_nsfw`: has joined #ruby
[12:24:37] terminal_: has joined #ruby
[12:24:37] bry4n: has joined #ruby
[12:24:43] duckpuppy: has joined #ruby
[12:24:55] jottr_: has joined #ruby
[12:25:14] siaw_: has joined #ruby
[12:25:19] siaw_: has left #ruby: ()
[12:25:21] thomasfedb_: has joined #ruby
[12:25:22] A124: has joined #ruby
[12:25:37] deepak_: has joined #ruby
[12:25:58] daemonwrangler_: has joined #ruby
[12:26:00] hahuang65: has joined #ruby
[12:26:03] Zarthus_: has joined #ruby
[12:26:10] deded: has joined #ruby
[12:26:13] jimeh_: has joined #ruby
[12:26:25] duderonomy: When I call Enumerable#find on my sequence (e.g. a string) will it return the index of the beginning of my match (regex). Do I need to make this index available myself (somehow) so that I may use it in the next line of my code?
[12:26:58] nibbo_: has joined #ruby
[12:27:11] Shidash: has joined #ruby
[12:27:15] f4cl3y: has joined #ruby
[12:27:24] galeido: has joined #ruby
[12:27:33] isene: has joined #ruby
[12:28:09] platzhirsch: has joined #ruby
[12:28:10] jhass: String is not an Enumerable and #find will not return an index
[12:28:12] voobscout: has joined #ruby
[12:28:14] Muz: has joined #ruby
[12:28:38] jhass: so I don't follow your question at all
[12:29:01] tubbo: has joined #ruby
[12:30:04] callumacrae: has joined #ruby
[12:30:50] duderonomy: Yes, that's right. I made a mistake and thought my data (at that stage) was in a string. You are correct it is Array. Cool.
[12:31:24] duderonomy: How can I get ahold of x after this line runs so that I may use x in the next line of my program? :)
[12:31:25] duderonomy: (1..6).each { |x| break if [2, 5, 2, 2, 3].select {|n| n==x }.length > 2 }
[12:31:36] RealMarc: has joined #ruby
[12:31:54] Seich: has joined #ruby
[12:31:58] duckpuppy: has joined #ruby
[12:32:02] iooner: has joined #ruby
[12:32:05] ElderFain: has joined #ruby
[12:32:13] jhass: Have a look at Enumerable#find and Array#count
[12:32:15] Diabolik: has joined #ruby
[12:32:19] Bilge: has joined #ruby
[12:33:10] duderonomy: Yes. Been reading. Thanks a lot.
[12:33:10] rmulligan: has joined #ruby
[12:33:11] duderonomy: maybe I re-assess and re-formulate my question. :)
[12:34:00] jhass: x = (1..6).find {|x| [2, 5, 2, 2, 3].count(x) > 2 }
[12:34:54] flughafen: has joined #ruby
[12:34:55] duderonomy: Thanks for helping a newb
[12:35:25] Ropeney: has joined #ruby
[12:39:08] barajasfab: has joined #ruby
[12:39:13] nobitanobi: has joined #ruby
[12:39:18] UtkarshRay: has joined #ruby
[12:40:27] stardiviner: has joined #ruby
[12:41:01] Hanmac: has joined #ruby
[12:41:36] jokke: has joined #ruby
[12:44:08] nobitanobi: Hello! When do you guys create custom exception instead of just doing fail 'An error message'? Where do you draw the line?
[12:44:43] the_drow: has joined #ruby
[12:44:47] quazimodo: has joined #ruby
[12:45:30] system64: has joined #ruby
[12:46:19] k13nox: has joined #ruby
[12:46:23] tungd: has joined #ruby
[12:46:39] tobiasvl: nobitanobi: do you want to raise an exception that can be caught lower down in the call stack or not, basically?
[12:47:17] tobiasvl: note that fail is the same as raise, it just has some default behavior which raises a RuntimeError directly
[12:48:00] Shaboum: has joined #ruby
[12:48:57] nobitano_: has joined #ruby
[12:49:33] chipotle: has joined #ruby
[12:49:59] moeabdol: has joined #ruby
[12:50:59] Trynemjoel: has joined #ruby
[12:52:00] pawnbox: has joined #ruby
[12:52:27] robbyoconnor: has joined #ruby
[12:53:41] jhass: which raise has too
[12:53:48] jhass: ACTION hates fail
[12:54:12] codecop: has joined #ruby
[12:54:14] codecop_: has joined #ruby
[12:55:38] DylanJ: jhass: what's the difference? rubocop always hates whatever i choose.
[12:56:04] shevy: rubocop hates everyone
[12:56:45] jhass: DylanJ: there's none, it's an alias
[12:56:57] jhass: it's one of the cops I disable, I always use raise
[12:57:19] jhass: the rationale is that you should use fail for stuff you don't plan to ever rescue
[12:57:31] jhass: which IMO is stupid, Kernel#abort is much better for these cases
[12:59:17] jhass: -b *Moonman*!*@*$#ruby-banned
[12:59:23] tobiasvl: ah, wasn't aware
[12:59:30] tobiasvl: so fail and raise are actually synonyms
[12:59:34] tobiasvl: all right then
[13:00:03] jenrzzz: has joined #ruby
[13:00:21] nobitano_: has joined #ruby
[13:00:57] apeiros: -o apeiros
[13:02:07] Ropeney: has joined #ruby
[13:03:28] kam270: has joined #ruby
[13:06:59] Xeago_: has joined #ruby
[13:07:38] Xeago__: has joined #ruby
[13:10:14] crnpen: has joined #ruby
[13:10:21] solocshaw: has joined #ruby
[13:10:26] shanemcd: has joined #ruby
[13:11:02] flughafen: has joined #ruby
[13:13:21] stannard: has joined #ruby
[13:15:38] robbyoconnor: has joined #ruby
[13:15:56] RegulationD: has joined #ruby
[13:17:08] nobitanobi: has joined #ruby
[13:17:50] aufi: has joined #ruby
[13:18:56] synthroid: has joined #ruby
[13:22:03] charliesome: has joined #ruby
[13:22:23] eregi: has joined #ruby
[13:22:43] mdw: has joined #ruby
[13:23:32] bronson: has joined #ruby
[13:23:35] pawnbox: has joined #ruby
[13:25:16] paatala_bhairavi: has joined #ruby
[13:25:52] configged: has joined #ruby
[13:26:02] configged-: has joined #ruby
[13:26:06] drptbl: has joined #ruby
[13:27:19] rmulligan: has joined #ruby
[13:27:51] aryaching: has joined #ruby
[13:30:17] shanemcd: has joined #ruby
[13:31:10] mdw: has joined #ruby
[13:33:21] nobitano_: has joined #ruby
[13:35:03] ferr: has joined #ruby
[13:36:34] jyaworski: has joined #ruby
[13:37:01] joonty: has joined #ruby
[13:38:27] roshanavand: has joined #ruby
[13:40:45] SCHAAP137: has joined #ruby
[13:42:58] Abrin_AWAY: has joined #ruby
[13:43:12] baweaver: has joined #ruby
[13:45:36] drptbl: has joined #ruby
[13:47:14] roshanavand: has joined #ruby
[13:49:13] gbgdev: has joined #ruby
[13:49:52] unl0ckd: has joined #ruby
[13:49:58] freerobby: has joined #ruby
[13:51:00] BadQuanta: has joined #ruby
[13:51:33] poerror: has joined #ruby
[13:53:43] stardiviner: has joined #ruby
[13:59:06] robbyoconnor: has joined #ruby
[14:01:14] ramortegui: has joined #ruby
[14:01:15] Abrin_AWAY: has joined #ruby
[14:01:39] DmitryBochkarev: has joined #ruby
[14:02:19] aegis3121: has joined #ruby
[14:04:54] snowy: has joined #ruby
[14:07:14] nocontrol: has joined #ruby
[14:10:14] croberts: has joined #ruby
[14:10:23] morfin: hello, any idea why can rm_rf 'tmp/data/*.txt' does not work for me?
[14:11:12] morfin: in rake job
[14:11:24] dubek: has joined #ruby
[14:14:07] morfin: rm_rf Dir.glob(tmp + "*.txt") worked
[14:14:24] BSaboia: has joined #ruby
[14:16:20] diegoviola: has joined #ruby
[14:16:46] casadei: has joined #ruby
[14:18:14] decoponio: has joined #ruby
[14:18:30] Hammy_Work: has joined #ruby
[14:19:07] hxegon: has joined #ruby
[14:21:27] haylon: has joined #ruby
[14:21:29] rmulligan: has joined #ruby
[14:21:57] sandstrom: has joined #ruby
[14:22:13] nohitall: has joined #ruby
[14:22:43] nohitall: how do I make the ruby environment accessible for every user on a system? from what I understand I have to run source ... each time
[14:23:09] jhass: nohitall: how did you install Ruby?
[14:23:32] nohitall: "curl -L https://get.rvm.io | bash -s stable --rails"
[14:23:37] roshanavand: has joined #ruby
[14:24:20] jhass: as a user, as root?
[14:24:38] jhass: then it should be available on all new login shells
[14:24:52] jmignault: has joined #ruby
[14:25:00] nohitall: I need it for redmine
[14:25:03] nohitall: but I get: "/home/app/redmine/extra/mail_handler/rdm-mailhandler.rb". Command output:
[14:25:06] nohitall: /usr/bin/env: ruby: No such file or directory
[14:25:19] nohitall: so I assume the env variable is not set for that user
[14:25:23] jhass: see /etc/profile.d/rvm.sh
[14:25:30] c_nick: has joined #ruby
[14:25:57] jhass: you might need to start it with rvm do
[14:26:17] nohitall: well I ran "source ~/.rvm/scripts/rvm"
[14:26:20] jhass: see https://rvm.io/workflow/scripting
[14:26:22] nohitall: and for me as root it works
[14:26:52] Xeago: has joined #ruby
[14:26:59] nohitall: ok I ran the rvm.sh
[14:27:10] c_nick: 432.412e-2 i have this scientific number which i want to set width to 7 excluding the '.' how should i go about it
[14:27:35] c_nick: eg: 432.412e-2 should become 0.043241
[14:28:04] c_nick: sorry thats 4.324120
[14:28:04] jhass: looks like you're confused about value and representation
[14:28:21] nohitall: jhass: so I ran "rvm all do /etc/profile.d/rvm.sh" was that correct?
[14:28:27] jhass: nohitall: no
[14:28:37] jhass: c_nick: so do you actually want to print (that is to convert it into a string) like that?
[14:28:39] swills: has joined #ruby
[14:29:05] jhass: nohitall: /etc/profile.d/rvm.sh is what loads RVM on all new login shells
[14:29:17] nohitall: ok so what am I supposed to do with that
[14:29:19] c_nick: jhass, trancate the number
[14:29:24] jhass: nohitall: rvm do is for executing commands inside a specific environment
[14:29:43] jhass: c_nick: so #round?
[14:30:10] nohitall: well I still get /usr/bin/env: ruby: No such file or directory
[14:31:17] malconis: has joined #ruby
[14:33:01] nohitall: im lost, not sure what to do here, ruby is confusing
[14:33:12] jhass: don't confuse Ruby with RVM
[14:33:24] nohitall: well I just need this .rb script to execute
[14:33:25] jhass: RVM is sometimes confusing, especially system wide installations
[14:33:26] nohitall: thats all I want
[14:33:35] ljarvis: lol sometimes
[14:33:51] Kruppe: has joined #ruby
[14:33:55] nohitall: so I figured installing ruby would solve the issue but nope
[14:34:19] jhass: whether RVM is the best way to install Ruby is highly debatable ;)
[14:34:36] jhass: who told you to do a system wide RVM install?
[14:34:58] nohitall: i just google for a tutorial "install ruby debian wheezy"
[14:35:13] nohitall: and ran that curl
[14:35:18] ariel_17: has joined #ruby
[14:35:50] jaroslav: has joined #ruby
[14:36:09] cpup: has joined #ruby
[14:36:22] floatingpoint: has joined #ruby
[14:37:23] malconis: has joined #ruby
[14:37:33] jhass: do you have the rvm command as the user you want to script as?
[14:37:39] jhass: if not, how do you switch to it?
[14:38:25] jaroslav: Hi @all. I've got a problem with OpenSSL::PKCS7. Before submitting bug, I'd like to make sure it's not just me not knowing how to use that class properly.
[14:38:48] jaroslav: Could someone, who has an idea how this all works, take a look please here: https://gist.github.com/jnahorny/9ccbb186c9f7c20c9f3e
[14:39:18] nohitall: nvm I just put /usr/local/rvm/rubies/ruby-2.2.1/bin/ruby in the script lol
[14:39:19] jaroslav: disclaimer: this code used to work for me with older openssl library versions.
[14:40:38] stardiviner: has joined #ruby
[14:41:26] al2o3-cr: has joined #ruby
[14:41:30] sankaber: has joined #ruby
[14:41:31] jhass: jaroslav: then it's probably indeed a bug
[14:41:55] B1n4r10: has joined #ruby
[14:42:49] jaroslav: jhass: yeah, I think there are two options: 1/ OpenSSL::PKCS7 on Ruby side is not in sync with openssl (and requires update), 2/ There is some new way of using it and I just can't find it ;)
[14:43:05] jaroslav: jhass: wanted to make sure it's not 2/, before creating bug report :)
[14:43:06] statelesscode: has joined #ruby
[14:44:05] jhass: I don't see another way either
[14:44:57] freerobby: has joined #ruby
[14:45:42] moos3: has joined #ruby
[14:47:01] nohitall: jhass: thanks anyway ;)
[14:47:02] shanemcd: has joined #ruby
[14:47:29] justbleed: has joined #ruby
[14:47:40] jhass: nohitall: yw, <insert improper solution, questions unanswered blabla here>
[14:48:32] nohitall: I just replaced /usr/bin/env ruby with #!/usr/local/rvm/rubies/ruby-2.2.1/bin/ruby
[14:48:45] nohitall: i only needed it for that 1 script, so it works for me
[14:49:05] nohitall: postfix pipes mail tothis script
[14:49:50] stannard: has joined #ruby
[14:51:18] Guest89: has joined #ruby
[14:51:24] darix: nohitall: did you read the script that you downloaded before piping it into your (root) shell?
[14:51:26] faelkle: has joined #ruby
[14:51:39] Alayde: has joined #ruby
[14:51:55] LoneHerm_: has joined #ruby
[14:52:17] nohitall: darix: na I forgot to mistrust ruby
[14:52:24] sankaber: has joined #ruby
[14:52:34] torarne: has joined #ruby
[14:53:08] darix: you should mistrust the admin that just blindly does curl ...| sh
[14:53:15] nohitall: its just a test system
[14:53:22] nohitall: but I get your point
[14:53:33] darix: apt-get install ruby
[14:53:37] darix: would have probably done it
[14:54:43] Vile`: has joined #ruby
[14:54:54] torarne: Q: I'm using method(__method__).parameters.each do |type, k| to instance_variable_set() named initialize() parameters, and it works fine in a regular class. But when I move the initialize code to a module, and call super from the class, the parameters are passed, but instance_variable_set doesn't seem to have any effect. Is there any way for the module's initialize() to affect instance variables of the class it's been included in? Thanks!
[14:55:38] Guest89: has joined #ruby
[14:55:41] torarne: I'm seeing the same thing with send
[14:55:44] apeiros: ?code torarne
[14:55:44] ruby[bot]: torarne: We can't help you without your code, please post it to https://gist.github.com
[14:55:48] nohitall: has left #ruby: ()
[14:56:07] apeiros: it doesn't matter from where a method comes. self is the object the method was called on.
[14:56:14] apeiros: so something is of, hence -> code
[14:56:50] igam: has joined #ruby
[14:57:04] Guest89: has joined #ruby
[14:57:14] darix: in worst case you set instance variables on the module
[14:57:27] HalcyonicStorm: has joined #ruby
[14:57:42] torarne: apeiros: darix: https://gist.github.com/torarnv/2a3ab96a49d3e388b863
[14:58:28] morfin: >> {"foo": "bar"}[:foo]
[14:58:29] ruby[bot]: morfin: # => "bar" (https://eval.in/533377)
[14:59:13] jhass: torarne: the def initialize inside the class wins, you don't override it
[14:59:16] morfin: ah, hash for symbol :foo same as hash for string "foo"?
[14:59:34] jhass: eh, nvm, you call super, I'll back off
[14:59:52] torarne: right, it's called, and the params seem to be from the Foo's initialize
[15:00:01] torarne: but the setting the instance variable seems to not affect Foo
[15:00:05] jhass: did you check .parameters (and thus method(__method__)) returns what you expect?
[15:00:30] ljarvis: morfin: it's because :foo == :"foo"
[15:00:45] ljarvis: morfin: and in {"foo": "bar"} the key is :"foo"
[15:00:59] ljarvis: which is :foo
[15:01:10] jenrzzz: has joined #ruby
[15:01:10] torarne: wait, no, the eval(k.to_s) fails
[15:01:15] morfin: btw are not hashes in Ruby similar to other languages hashes?
[15:01:25] ljarvis: morfin: they are similar, yes
[15:01:52] apeiros: torarne: the initialize you take the params from doesn't actually have those params
[15:01:58] apeiros: it has *parameters
[15:02:00] Alayde: has left #ruby: ("WeeChat 1.1.1")
[15:02:06] apeiros: so your eval won't work
[15:02:12] apeiros: that local variable is not around
[15:02:43] apeiros: you have to take it from the parameters lvar, and not via eval
[15:02:49] torarne: thanks! :D
[15:03:00] floatingpoint: has joined #ruby
[15:03:12] babblebre: has joined #ruby
[15:03:28] apeiros: torarne: you probably should do *args, **kwargs, so you can distinguish what's considered a kwarg and what not.
[15:03:39] jhass: torarne: https://p.jhass.eu/1f.rb aw too slow
[15:04:04] torarne: million thanks guys!
[15:04:28] apeiros: torarne: also you lack :keyreq
[15:04:48] torarne: what's that?
[15:04:53] apeiros: required keyword args
[15:05:00] cdg: has joined #ruby
[15:05:05] apeiros: >> def foo(bar:); end; method(:foo).parameters
[15:05:06] ruby[bot]: apeiros: # => [[:keyreq, :bar]] (https://eval.in/533381)
[15:06:20] runswithd6s: has joined #ruby
[15:06:38] ruby-lang119: has joined #ruby
[15:07:20] FooMunki: has joined #ruby
[15:08:18] axl_: has joined #ruby
[15:09:09] torarne: apeiros: ah, i think i undeerstand. so next unless type == :key or type == :keyreq should be enough i presume?
[15:09:32] apeiros: I think so.
[15:10:27] apeiros: you can actually simplify the code a lot: `def initialize(*, **kwargs); kwargs.each do |key, value| instance_variable_set(:"@#{key}", value) end; end`
[15:10:32] eregi: has joined #ruby
[15:10:35] apeiros: no need to go via Method#parameters
[15:10:54] apeiros: also don't forget to do `super if defined? super`
[15:11:08] torarne: in the module?
[15:11:25] mary5030: has joined #ruby
[15:11:34] Mojo_Nixon: has joined #ruby
[15:11:37] apeiros: otherwise you won't be able to use it in an inherited class
[15:11:50] apeiros: might not be the right thing.
[15:11:50] znz_jp: has joined #ruby
[15:12:07] nerium: has joined #ruby
[15:12:49] openstruct: has joined #ruby
[15:12:52] torarne: the super call gives initialize': wrong number of arguments (2 for 0) (ArgumentError)
[15:13:26] torarne: i guess i cant know how many arguments and which ones super would require
[15:13:31] torarne: from the module
[15:15:05] baweaver: has joined #ruby
[15:15:37] rmulligan: has joined #ruby
[15:17:55] mallu: has joined #ruby
[15:19:18] roshanavand: has joined #ruby
[15:20:25] ruby-lang119: is there an option to filter the list of countries when using country_select.....its not the priority list... need to display selected country in the dropdown
[15:20:59] c_nick: has joined #ruby
[15:21:04] bry4n: has joined #ruby
[15:21:30] evidex: has joined #ruby
[15:21:36] sarbs: has joined #ruby
[15:22:03] jhass: #rubyonrails probably has a higher chance of people with experience with that gem
[15:22:06] c_nick: jhass, round actually truncates till a point .. eg:- 432.412e-2 becomes 4.32412 but i want to set width to 7 so it should give me 4.324120
[15:22:07] shanemcd: has joined #ruby
[15:22:29] sandstrom: has joined #ruby
[15:22:31] c_nick: but 432.412e-2.round(7) gives 4.32412 only
[15:22:44] sandstrom: has joined #ruby
[15:22:44] shinnya: has joined #ruby
[15:23:01] jhass: c_nick: you're confusing value with representation
[15:23:10] mwlang: has joined #ruby
[15:23:38] jhass: 0.25 == 0.250 # => true
[15:24:35] c_nick: i need representation, significant digits should be 7 so it should trancate and represent in 7 digits (excluding the '.')
[15:24:49] jhass: c_nick: maybe answer my still open question
[15:25:13] c_nick: im confused?
[15:26:09] c_nick: 0.25 == 0.250 thats fine the value is correct but my code needs to represent in 4 significant bit so the o/p should be 0.250
[15:26:17] pawnbox: has joined #ruby
[15:26:22] jhass: represent where? to what
[15:26:36] mgorbach: has joined #ruby
[15:27:46] c_nick: o/p - output of my function, i used to achieve that with %0.nof%number(float) but for e-2 i am stuck requirements are my function should truncate big numbers and represent them in the significant digits passed to it
[15:28:22] jhass: that's so incredibly vague
[15:28:35] jhass: I can't help you if you stay that vague
[15:28:45] prefix: has joined #ruby
[15:29:38] apeiros: c_nick: as jhass already said - 0.25 is the same as 0.250, so if you need *the value* (i.e. you want to calculate), then there is no 0.250, only 0.25. If you want to display the value, use something like printf/sprintf
[15:29:48] justbleed: has joined #ruby
[15:29:50] f4cl3y: Hey guys, what is the difference between hash['key'] and has[:key]?
[15:30:02] ljarvis: f4cl3y: 'key' is a string, :key is a symbol
[15:30:04] apeiros: but then you have a string - which is representation, and can't be used for further calculation
[15:30:12] shanemcd: has joined #ruby
[15:30:56] pawnbox: has joined #ruby
[15:31:43] f4cl3y: has joined #ruby
[15:31:45] n008f4g_: has joined #ruby
[15:33:03] jhass: f4cl3y: 'key' is a string, :key is a symbol, they're different objects, so they are different keys
[15:33:23] malconis_: has joined #ruby
[15:33:44] f4cl3y: jhass: is one preferable than the other?
[15:33:45] xaxisx: has joined #ruby
[15:34:15] apeiros: f4cl3y: if one was universally better, don't you think only that one would exist? :)
[15:34:44] jyaworski_: has joined #ruby
[15:34:56] apeiros: symbols are good identifiers (fast comparison, small to store), but up until ruby 2.2 not suitable for any user input
[15:35:10] f4cl3y: apeiros: haha, true!
[15:35:50] apeiros: when in doubt, use strings
[15:36:01] f4cl3y: Thanks guys, sorry for such silly question, just started learning this magnificent language!
[15:36:07] GBrawl: has joined #ruby
[15:36:10] gnagh: has joined #ruby
[15:36:15] bronson: has joined #ruby
[15:36:36] apeiros: for anything which is used to identify something internal about ruby (method name, ivar name etc.), use symbols - as that's how they're natively represented anyway.
[15:37:08] s00pcan_: has joined #ruby
[15:37:24] xtc: has joined #ruby
[15:37:32] kaleido: has joined #ruby
[15:37:44] f4cl3y: apeiros: noted, thanks for the tip!
[15:38:05] fostertheweb: has joined #ruby
[15:38:43] fourq_: has left #ruby: ("twip")
[15:39:32] Alayde: has joined #ruby
[15:40:23] c_nick: yes strings are fine
[15:44:00] apeiros: ACTION is amused how people are confused by numbers lacking trailing zeros but not about lacking prefixed zeros :)
[15:44:03] aupadhye: has joined #ruby
[15:44:16] c_nick: So i need to now know how to represent a number like 478.2535e-2 as 4.7825350
[15:44:17] apeiros: "I need 0.2500", but that it isn't "00000000.25" is fine
[15:44:38] apeiros: c_nick: as said, use strings. sprintf can do that for you.
[15:44:41] neohunter: has joined #ruby
[15:44:44] c_nick: i know it sounds silly but its a requirement :(
[15:44:54] apeiros: >> "0.7f" % 478.2535e-2
[15:44:56] ruby[bot]: apeiros: # => "0.7f" (https://eval.in/533405)
[15:45:04] apeiros: >> "%0.7f" % 478.2535e-2
[15:45:05] ruby[bot]: apeiros: # => "4.7825350" (https://eval.in/533406)
[15:45:15] apeiros: silly %, where did it hide?
[15:45:23] treehug88: has joined #ruby
[15:45:26] adaedra: Between $ and ^.
[15:45:29] kies: has joined #ruby
[15:48:06] c_nick: apeiros, doesn't work for all n=432.412e-1 tol='7' p "%0.#{tol}f"%n
[15:48:21] ziyadb: has joined #ruby
[15:48:25] mary5030: has joined #ruby
[15:48:49] c_nick: >> "%0.7f" % 432.412e-1
[15:48:50] ruby[bot]: c_nick: # => "43.2412000" (https://eval.in/533408)
[15:50:34] apeiros: c_nick: I'm sure you're fully capable of reading the docs and adapting the code to suit your needs.
[15:50:36] apeiros: ACTION afk
[15:50:55] mary5030: has joined #ruby
[15:52:16] mary5030: has joined #ruby
[15:52:20] chouhoulis: has joined #ruby
[15:52:29] weemsledeux: has joined #ruby
[15:52:50] rippa: has joined #ruby
[15:53:51] whippythellama: has joined #ruby
[15:54:16] ivanskie_work: has joined #ruby
[15:54:38] malconis: has joined #ruby
[15:55:25] shanemcd: has joined #ruby
[15:55:40] Rubie: has joined #ruby
[15:55:40] dubek: has joined #ruby
[15:58:55] eregi: has joined #ruby
[15:59:15] Xeago_: has joined #ruby
[16:02:13] jenrzzz: has joined #ruby
[16:02:25] aufi: has joined #ruby
[16:03:37] chouhoulis: has joined #ruby
[16:03:50] griffindy: has joined #ruby
[16:04:18] griffindy: has joined #ruby
[16:04:22] ljames: has joined #ruby
[16:05:35] fostertheweb: has joined #ruby
[16:09:45] rmulligan: has joined #ruby
[16:10:03] chouhoulis: has joined #ruby
[16:12:08] skade: has joined #ruby
[16:13:11] elifoster: has joined #ruby
[16:13:23] Infra-Red: has joined #ruby
[16:14:34] roshanavand: has joined #ruby
[16:15:25] The_Phoenix: has joined #ruby
[16:16:42] aegis3121: has joined #ruby
[16:16:51] Es0teric: has joined #ruby
[16:17:31] Es0teric: has joined #ruby
[16:18:11] Es0teric: has joined #ruby
[16:19:14] tjohnson: has joined #ruby
[16:19:36] uglybandersnatch: has joined #ruby
[16:19:42] x77686d: has joined #ruby
[16:20:21] morfin: >> :foo.hash
[16:20:22] ruby[bot]: morfin: # => 2817 (https://eval.in/533419)
[16:21:18] morfin: everything in Ruby is hashable
[16:21:31] morfin: >> :foo.class.hash
[16:21:32] ruby[bot]: morfin: # => -128973460 (https://eval.in/533420)
[16:21:37] Infra-Red: has joined #ruby
[16:22:16] adaedra: >> nil.hash
[16:22:17] ruby[bot]: adaedra: # => -717083194 (https://eval.in/533423)
[16:22:38] gbgdev: has joined #ruby
[16:23:01] morfin: btw hash values depends on some system-wide parameters i think
[16:23:08] morfin: >> nil.hash
[16:23:09] ruby[bot]: morfin: # => 896448667 (https://eval.in/533425)
[16:23:21] morfin: and time?
[16:23:39] tomchapin: has joined #ruby
[16:25:32] Hanmac: morfin: but inside a ruby session the hash values should be fixed
[16:25:57] GBrawl: has joined #ruby
[16:26:20] supplication: has joined #ruby
[16:26:25] zast: has joined #ruby
[16:26:27] nfk: has joined #ruby
[16:27:10] apeiros: morfin: yes, Object#hash is seeded to avoid a possible attack pattern
[16:27:16] c_nick: has joined #ruby
[16:28:16] shanemcd: has joined #ruby
[16:30:10] nando293921: has joined #ruby
[16:31:44] morfin: ah nvm, it was just irb changing behaviour
[16:32:05] morfin: regular ruby gave different results for nil.hash
[16:32:24] RegulationD: has joined #ruby
[16:34:07] axl__: has joined #ruby
[16:35:24] morfin: apeiros, seems like seed generated only once when you start process, then it does not change
[16:36:03] morfin: so always in one process nil.hash == nil.hash otherwise it would not be possible to have properly working "hashmap"
[16:37:56] Uranio: has joined #ruby
[16:38:54] roshanavand: has joined #ruby
[16:39:44] marcdel: has joined #ruby
[16:40:33] Xeago: has joined #ruby
[16:41:32] steffkes: has joined #ruby
[16:41:33] steffkes: has joined #ruby
[16:44:14] apeiros: morfin: yes, the seeding happens when the process starts.
[16:44:29] fostertheweb: has joined #ruby
[16:45:22] shanemcd: has joined #ruby
[16:46:19] morfin: but forked processes "inherit" same seed?
[16:47:14] roshanavand: has joined #ruby
[16:48:41] apeiros: probably. otherwise existing hashes would break.
[16:48:58] wilbert: has joined #ruby
[16:50:49] marcdel: has joined #ruby
[16:51:41] Rubie: has joined #ruby
[16:52:02] mistermocha: has joined #ruby
[16:52:12] [Butch]: has joined #ruby
[16:52:50] volty: has joined #ruby
[16:53:54] Xeago: has joined #ruby
[16:57:10] c_nick: apeiros, how can i represent the e^-x numbers in a way by which i can set the width on it as required. eg:- 493.24210e^-2 and width set is 7 would give 4.932242 instead of 0.9324210
[16:59:06] stunder: has joined #ruby
[16:59:56] nopolitica: has joined #ruby
[17:00:28] bootstrappm: has joined #ruby
[17:00:46] bootstrappm: morning all! been a while since I've been in #ruby
[17:01:49] bootstrappm: has joined #ruby
[17:02:08] LuckyABA: has joined #ruby
[17:02:48] synthroid: has joined #ruby
[17:03:45] jenrzzz: has joined #ruby
[17:03:50] rmulligan: has joined #ruby
[17:03:51] marxarelli: has joined #ruby
[17:06:38] amclain: has joined #ruby
[17:07:19] fostertheweb: has joined #ruby
[17:07:22] DmitryBochkarev: has joined #ruby
[17:09:10] wilbert: has joined #ruby
[17:09:23] aiRness: has joined #ruby
[17:09:56] roshanavand: has joined #ruby
[17:10:02] aiRness: Hello. Is it possible to create an admin panel from the command line and how I can access it from the browser afterwards. Demise is installed and I've used the console but I can't use my admin user.
[17:10:09] DmitryBochkarev: has joined #ruby
[17:10:32] sandstrom: has joined #ruby
[17:10:40] eregi: has joined #ruby
[17:11:25] ruby[bot]: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[17:11:48] runswithd6s: has left #ruby: ("ERC (IRC client for Emacs 24.5.1)")
[17:11:48] aiRness: has left #ruby: ()
[17:11:53] bollullera: has joined #ruby
[17:12:54] dhollinger: has joined #ruby
[17:12:55] baweaver: has joined #ruby
[17:13:01] pawnbox: has joined #ruby
[17:14:31] anisha: has joined #ruby
[17:19:51] RegulationD: has joined #ruby
[17:20:12] anisha: has joined #ruby
[17:20:34] htmldrum: has joined #ruby
[17:20:50] skade: has joined #ruby
[17:21:06] fostertheweb: has joined #ruby
[17:21:32] mistermocha: has joined #ruby
[17:21:57] nando293921: has joined #ruby
[17:22:43] SCHAAP137: has joined #ruby
[17:23:00] B1n4r10: has joined #ruby
[17:23:07] anisha: has joined #ruby
[17:26:01] nikhil_360: has joined #ruby
[17:26:14] Infra-Red: has joined #ruby
[17:26:30] drptbl: has joined #ruby
[17:26:34] mistermocha: has joined #ruby
[17:26:42] platzhirsch: has joined #ruby
[17:28:34] ruby[bot]: -b morbid_ape!*@*$#ruby-banned
[17:28:54] shanemcd: has joined #ruby
[17:31:33] symm-: has joined #ruby
[17:31:42] mary5030_: has joined #ruby
[17:31:46] baweaver: has joined #ruby
[17:36:13] TvL: has joined #ruby
[17:36:59] al2o3-cr: has joined #ruby
[17:37:45] Xeago: has joined #ruby
[17:38:24] fourq: has joined #ruby
[17:39:29] dopie: has joined #ruby
[17:41:41] michaeldeol: has joined #ruby
[17:44:30] holyGlitch: has joined #ruby
[17:46:22] Coldblackice: has joined #ruby
[17:46:24] Infra-Red: has joined #ruby
[17:47:04] sneakerhax: has joined #ruby
[17:47:41] weemsledeux: has joined #ruby
[17:48:04] marcdel: has joined #ruby
[17:48:18] Don_John: has joined #ruby
[17:48:34] harryh: has joined #ruby
[17:50:07] DexterLB: has joined #ruby
[17:50:24] Infra-Red: has joined #ruby
[17:50:29] ivanskie_work__: has joined #ruby
[17:50:30] jgpawletko: has joined #ruby
[17:50:57] last_staff: has joined #ruby
[17:51:46] DonOtreply: has joined #ruby
[17:51:49] rcvalle: has joined #ruby
[17:52:09] Infra-Red: has joined #ruby
[17:52:22] ivanskie_work: has joined #ruby
[17:54:10] blackmesa: has joined #ruby
[17:54:13] Infra-Red: has joined #ruby
[17:54:27] sczizzo: has joined #ruby
[17:56:00] jackjackdripper: has joined #ruby
[17:56:00] bronson: has joined #ruby
[17:57:07] Infra-Red: has joined #ruby
[17:58:02] rmulligan: has joined #ruby
[17:58:33] nanoz: has joined #ruby
[17:58:38] jackjackdripper: has joined #ruby
[17:58:56] creat: has joined #ruby
[18:01:24] last_staff1: has joined #ruby
[18:01:31] Xeago_: has joined #ruby
[18:02:36] jyaworski_: has joined #ruby
[18:02:38] Xeago_: has joined #ruby
[18:03:03] nocontrol: has joined #ruby
[18:03:42] nocontrol: has joined #ruby
[18:04:10] fostertheweb: has joined #ruby
[18:07:18] aeontech: has joined #ruby
[18:07:41] barajasfab: has joined #ruby
[18:07:57] marcdel: has joined #ruby
[18:09:19] ivanskie_work_: has joined #ruby
[18:11:03] skweek: has joined #ruby
[18:11:48] skade: has joined #ruby
[18:14:28] darkf: has joined #ruby
[18:14:55] fostertheweb: has joined #ruby
[18:15:32] shadeslayer: has joined #ruby
[18:18:10] anjen: has joined #ruby
[18:21:26] gbgdev: has joined #ruby
[18:21:32] tAn: has joined #ruby
[18:24:01] axl_: has joined #ruby
[18:24:07] rmulligan: has joined #ruby
[18:24:25] cenny: has joined #ruby
[18:25:34] Xeago: has joined #ruby
[18:26:00] arlek: has joined #ruby
[18:26:23] shadoi: has joined #ruby
[18:26:32] casadei: has joined #ruby
[18:27:22] Xeago: has joined #ruby
[18:27:33] B1n4r10: has joined #ruby
[18:29:28] krzkrzkrz: has joined #ruby
[18:30:25] j0n3: has joined #ruby
[18:33:33] freerobby: has joined #ruby
[18:34:09] Arkon: has joined #ruby
[18:34:46] Arkon: Hi, I have a strange problem with my Regex. Ruby doesn't print the right extraction : http://pastebin.com/hqa8PdfZ
[18:34:47] ruby[bot]: Arkon: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/41bc5b4f94daf3658b3a
[18:34:47] ruby[bot]: Arkon: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[18:35:28] vishwa: has joined #ruby
[18:35:43] Arkon: The regex is right and working on many other tools: regexp101, rubular.com, Splunk... but not in ruby
[18:35:55] apeiros: Arkon: you should have read the docs for MatchData. match_data[0] is the full match.
[18:35:57] Hanmac: Arkon: match()[0] is whole string, match()[1] is the first match
[18:36:26] Arkon: crap you are right, I tought I tried [1] also
[18:36:29] Arkon: thanks :)
[18:36:44] jenrzzz: has joined #ruby
[18:36:47] Hanmac: Arkon: i prefer "string"[/regexp/, n] for shorter code
[18:36:53] baweaver: has joined #ruby
[18:40:50] djbkd: has joined #ruby
[18:41:28] aegis3121: has joined #ruby
[18:41:34] xtc: has joined #ruby
[18:42:35] c_nick: hanmac, whats the n for ?
[18:43:46] Hanmac: c_nick: int number
[18:45:01] ArtursL: has joined #ruby
[18:46:07] c_nick: hanmac, what does it means? can you give me an example please
[18:47:03] Hanmac: c_nick: http://ruby-doc.org/core-2.3.0/String.html#method-i-5B-5D str[regexp, capture] → new_str
[18:47:05] volty: the match number
[18:47:06] nocontrol: has joined #ruby
[18:47:53] mdw: has joined #ruby
[18:48:39] choke: has joined #ruby
[18:48:41] chouhoulis: has joined #ruby
[18:49:12] supplication: has joined #ruby
[18:49:12] BTRE: has joined #ruby
[18:49:44] chouhoulis: has joined #ruby
[18:50:05] mostlybadfly: has joined #ruby
[18:50:29] c_nick: I didnt quite understand why a[/[aeiou](.)\1/, 2] #=> nil
[18:51:07] chouhoul_: has joined #ruby
[18:51:07] c_nick: when you run it without capture it gives ell from the string "Hello World"
[18:51:41] mahna: has joined #ruby
[18:52:11] blackmesa: has joined #ruby
[18:52:31] jaroslav: has left #ruby: ()
[18:52:56] solars: has joined #ruby
[18:55:34] moeabdol: has joined #ruby
[18:55:35] DexterLB: has joined #ruby
[18:56:51] anisha: has joined #ruby
[18:56:51] mahna: Given a Gemfile with a git source, `bundle install`: "Using activesupport 5.0.0.beta3 from https://github.com/rails/rails.git", `ruby astest.rb` generates a LoadError: "`require': cannot load such file -- active_support."
[18:56:55] jdawgaz: has joined #ruby
[18:57:44] mahna: No Rails here, just the ActiveSupport reference in one file in the same dir containing the Gemfile.
[18:57:50] vishwa: has left #ruby: ()
[18:58:38] Hanmac: c_nick: because your regexp does not have a second capture group?
[18:58:46] firstdayonthejob: has joined #ruby
[18:58:55] mahna: As a GitHub source, `gem list` won't show the installed gem, but `bundle show activesupport` does.
[18:59:15] chipotle: has joined #ruby
[19:00:11] blackmesa: has joined #ruby
[19:02:23] Rinalds: has joined #ruby
[19:02:38] joonty: has joined #ruby
[19:02:44] malcolmva: has joined #ruby
[19:02:51] acidrainfall: has joined #ruby
[19:03:23] FooMunki: has joined #ruby
[19:03:29] acidrainfall: hey hey. In an erb, want to sort a hash, but this doesn't work: <% @outputs.sort.each_pair do | output, options | -%>
[19:03:41] acidrainfall: I get Detail: undefined method `each_pair' for #<Array:0x7f118841f5f0>
[19:03:57] acidrainfall: But putting the sort after .each_pair doesn't do anything
[19:04:29] RegulationD: has joined #ruby
[19:05:28] adaedra: Because .sort gives you an array, you can use .to_h to get a hash back and be able to use each_pair
[19:05:41] adaedra: otherwise, just replace each_pair with each
[19:05:52] acidrainfall: Which is the better way to do it?
[19:05:59] ramfjord: has joined #ruby
[19:06:16] moeabdol1: has joined #ruby
[19:06:34] mahna: Should this--requiring a gem from a git source--just work? (Dir contains the Gemfile and astest.rb.)
[19:06:40] cpup: has joined #ruby
[19:06:41] adaedra: definitely each
[19:07:19] adaedra: mahna: bundler is able to manage git gem dependency
[19:08:00] mahna: adaedra, got: `bundle install`: "Using activesupport 5.0.0.beta3 from https://github.com/rails/rails.git", `ruby astest.rb` generates a LoadError: "`require': cannot load such file -- active_support."
[19:08:17] adaedra: I think we have a factoid for that
[19:08:26] adaedra: You need to do bundle exec ruby astest.rb
[19:08:37] acidrainfall: Thank you so much.
[19:08:44] acidrainfall: What's each_pair for, if each is preferred?
[19:09:07] adaedra: acidrainfall: each_pair works only on hash, and here you have an array
[19:09:19] mahna: adaedra, you mean somewhere here? http://ruby-community.com/faq
[19:09:30] rmulligan: has joined #ruby
[19:09:38] adaedra: mahna: no, in ruby[bot] commands, but looks like I was wrong, nvm
[19:09:42] acidrainfall: adaedra: but .sort.each accomplishes the same purpose
[19:09:48] acidrainfall: or at least seems to
[19:09:52] adaedra: >> {a: 1}.sort
[19:09:55] ruby[bot]: adaedra: # => [[:a, 1]] (https://eval.in/533549)
[19:10:02] adaedra: acidrainfall: see what happens here?
[19:10:23] bronson: has joined #ruby
[19:10:56] baweaver: has joined #ruby
[19:11:18] adaedra: If I understand correctly what you're asking for, you're looking for @outputs.sort.each do |output, options|
[19:12:07] adaedra: mahna: anyway, does your thing works better with bundle exec?
[19:13:06] elifoster: has joined #ruby
[19:13:43] edwinvdgraaf: has joined #ruby
[19:13:44] acidrainfall: adaedra: That's what I'm looking for, I just want to make sure it doesn't break the structure. This is a hash-generated configuration file.
[19:13:57] ixti: has joined #ruby
[19:13:59] lemur: has joined #ruby
[19:14:04] acidrainfall: The original author wrote it with .each_pair, which keeps jumbling the file, which is annoying. I want it to be consistent.
[19:14:09] acidrainfall: Sounds like I've got it now, thanks a lot.
[19:14:22] BrunoSaboia: has joined #ruby
[19:14:58] Cohedrin: has joined #ruby
[19:15:07] adaedra: acidrainfall: for the sake of compatibility with Enumerable, hashes can be represented under two-dimension arrays, like shown above. That's what happens with sort, which returns this form; either you need to do Hash things and can use .to_h to remake a Hash, either you can do with the array form (it's rather close)
[19:15:37] cpup: has joined #ruby
[19:15:40] adaedra: acidrainfall: since you give two arguments to each's block, and each element of your sorted array has two elements, it is deconstructed when the block is called.
[19:16:13] Cohedrin: has joined #ruby
[19:16:28] edwinvdgraaf: has joined #ruby
[19:16:47] mahna: adaedra: `bundle exec ruby (file.rb)` works, as does `ruby (file.rb)` with `require 'bundler'; Bundler.setup` in my Gemfile. I thought it might automagically work without some sort of explicit Bundler tie, but get it now. Thanks!
[19:17:16] adaedra: mahna: ruby is not aware alone of your Gemfile, you need bundler to come play.
[19:17:52] adaedra: (this is not 100% true anymore as Ruby gets some bundler features, but this is not yet at bundler's level of support, at least was last time I tested.)
[19:17:54] mahna: Playing happily now, me + Bundler sitting in a tree.
[19:18:13] acidrainfall: adaedra: would it be a problem if there were a third dimension?
[19:18:53] adaedra: acidrainfall: since you come from a hash, this should work smoothly. I'd say best way to know is to test.
[19:19:03] djbkd: has joined #ruby
[19:19:08] acidrainfall: yeah it seems to be fine
[19:19:15] acidrainfall: I don't think there are any 3-dimension values
[19:19:39] acidrainfall: I did try @outputs.sort.to_h.each_pair but it said that it couldn't find .to_h
[19:19:51] adaedra: ruby version?
[19:19:52] acidrainfall: I'm still on le antiquated 1.8
[19:19:59] acidrainfall: Presumably not available?
[19:20:01] adaedra: this belongs in a museum!
[19:20:05] sczizzo: has joined #ruby
[19:20:11] adaedra: You can do Hash[...] iirc
[19:20:16] acidrainfall: YOU belong in a museum!
[19:20:29] adaedra: I'm only 23, calm down
[19:20:36] acidrainfall: man I feel old
[19:20:40] acidrainfall: And i'm only a few years older than you
[19:20:52] adaedra: >> {a: [1, 2, 3], b: [4, 5, [6, 7, 8]], c: {d: 9, e: 10}}.sort.each { |a, b| p [a, b] }
[19:20:53] ruby[bot]: adaedra: # => [:a, [1, 2, 3]] ...check link for more (https://eval.in/533551)
[19:20:58] acidrainfall: yeah that's perfect
[19:21:06] acidrainfall: This will do nicely
[19:21:09] acidrainfall: ACTION writes up the PR
[19:21:21] djbkd: has joined #ruby
[19:21:22] malcolmva: has joined #ruby
[19:21:26] SebastianThorn: has joined #ruby
[19:21:28] adaedra: I've never used each_pair, tbh.
[19:21:31] lujan: has joined #ruby
[19:21:47] mahna: adaedra, care to essplain the bundler feature comment? Sound interesting, I'm on 2.3.0 now, searching for some reference to this...
[19:22:03] adaedra: mahna: about ruby implementation?
[19:22:35] jxs_: has joined #ruby
[19:22:47] mahna: Ja: "this is not 100% true anymore as Ruby gets some bundler features"
[19:23:03] Rubie: has joined #ruby
[19:23:18] whippythellama: has joined #ruby
[19:23:38] adaedra: I never find this damned doc when I look for it
[19:24:05] jorrin: has joined #ruby
[19:25:46] evenix: has joined #ruby
[19:25:47] adaedra: https://reinteractive.net/posts/266-no-more-bundle-exec-using-the-new-rubygems_gemdeps-environment-variable mahna
[19:27:13] adaedra: Better http://blog.rubygems.org/2013/12/26/2.2.0-released.html
[19:27:17] mahna: adaedra: Interesting, thanks--I hadn't seen that mentioned before.
[19:27:53] Wicaeed: has joined #ruby
[19:28:06] snowy: has joined #ruby
[19:28:09] rmulligan: has joined #ruby
[19:29:08] KhanterWinters: has joined #ruby
[19:29:41] KhanterWinters: Hello, good afternoon, I have a question-problem
[19:31:36] KhanterWinters: I am learning ruby, but I am using windows, when I enter to the terminal and get into the irb, it says me undefined (I make the code in sublime text)
[19:31:47] michael_mbp: has joined #ruby
[19:32:50] kies: has joined #ruby
[19:33:10] codecop: has joined #ruby
[19:33:44] crdpink: has joined #ruby
[19:33:52] mdw: has joined #ruby
[19:34:13] mahna: KhanterWinters: Did you use http://rubyinstaller.org/? I had to touch Windows recently, and believe I installed that.
[19:34:43] KhanterWinters: yep, I use it... I install the lastest version for x64
[19:34:52] Lacedem: has joined #ruby
[19:36:01] adaedra: KhanterWinters: Isn't there some kind of special shortcut to use or something to have a Ruby-enabled cmd? (Haven't used Ruby under windows for a long time tho; this was too painful.)
[19:36:29] jenrzzz: has joined #ruby
[19:40:26] futilegames: has joined #ruby
[19:41:55] zarubin: has joined #ruby
[19:43:24] aeontech: has joined #ruby
[19:43:54] ruby-lang897: has joined #ruby
[19:45:52] aegis3121: has joined #ruby
[19:46:08] [Butch]_: has joined #ruby
[19:46:14] ruby-lang897: Is there an option to filter the country list while using country_select.....for example i would like to just display countries in US
[19:47:37] fexilal: you mean countries in North America?
[19:48:04] B1n4r10: has joined #ruby
[19:48:14] Xeago: has joined #ruby
[19:48:58] Xeago_: has joined #ruby
[19:49:39] dubek: has joined #ruby
[19:50:43] mdw: has joined #ruby
[19:52:01] drbrain: has joined #ruby
[19:52:10] tercenya: has joined #ruby
[19:54:45] mrchris: has joined #ruby
[19:55:39] Atrox: has joined #ruby
[19:57:22] stunder: has joined #ruby
[19:58:23] sandstrom: has joined #ruby
[20:00:00] mrchris: I'm building a gem. I've created a binary in which runs fine from within the root of the gem project but "require cannot load such file..." errors when I run the command outside of the gems folder.
[20:00:14] cpup: has joined #ruby
[20:00:33] mrchris: Is there a standard way of requiring files in a gem?
[20:00:49] bootstrappm: has joined #ruby
[20:01:40] gbgdev: has joined #ruby
[20:03:37] avenj: has joined #ruby
[20:03:45] aegis3121: The pattern I've seen is that you have lib/your_gem_name.rb that requires all the files your gem requires.
[20:03:49] Sembei: has joined #ruby
[20:03:58] aegis3121: then that file is the only one anybody needs to require, which ends up looking like require 'your_gem_name'
[20:04:09] aegis3121: (unless I've misunderstood your poblem, in which case sorry)
[20:05:11] zarubin: has joined #ruby
[20:05:52] shevy: __chris just install the gem
[20:06:36] kies: has joined #ruby
[20:06:40] eregi: has joined #ruby
[20:06:57] treehug88: has joined #ruby
[20:07:10] shevy: for all executables in bin/* of a gem, a simple require 'name_of_your_gem_here' should suffice
[20:07:14] mrchris: shevy, right. I did that but calling the bin command provided by the gem produces a "require" error
[20:07:48] mrchris: I am require the gem name from within the bin as well
[20:08:01] shevy: no, let it call your gem library/files
[20:08:45] shevy: you must do something incorrectly when you try to require it
[20:08:52] joonty: has joined #ruby
[20:11:09] marcdel: has joined #ruby
[20:11:17] mdw7: has joined #ruby
[20:11:50] marcdel: has joined #ruby
[20:12:06] thezanke: has joined #ruby
[20:13:23] stunder: has joined #ruby
[20:13:56] supplication: has joined #ruby
[20:15:14] platzhirsch: has joined #ruby
[20:15:18] moeabdol2: has joined #ruby
[20:18:17] yqt: has joined #ruby
[20:18:18] shanemcd: has joined #ruby
[20:18:29] chochesse_: has joined #ruby
[20:18:38] chochesse_: how can I get ruby to log per thread?
[20:20:18] shanemcd_: has joined #ruby
[20:20:27] shanemcd: has joined #ruby
[20:21:24] uglybandersnatch: has joined #ruby
[20:22:21] Xeago: has joined #ruby
[20:22:29] skweek: has joined #ruby
[20:23:46] cpup: has joined #ruby
[20:24:02] stunder: has joined #ruby
[20:24:57] BtcBen_: has joined #ruby
[20:25:54] decoponio: has joined #ruby
[20:26:33] baweaver: has joined #ruby
[20:28:55] boontdustie: has joined #ruby
[20:32:00] mistermocha: has joined #ruby
[20:32:32] bramswenson: has joined #ruby
[20:34:22] quazimodo: has joined #ruby
[20:34:56] siaW: has joined #ruby
[20:35:56] fantasticsid: has joined #ruby
[20:36:23] uglybandersnatch: has joined #ruby
[20:39:04] FernandoBasso: has joined #ruby
[20:39:06] jgpawletko: has joined #ruby
[20:40:43] rmulligan: has joined #ruby
[20:40:57] bronson: has joined #ruby
[20:42:23] siaW: has left #ruby: ()
[20:43:39] prefix: why does ruby's regex matcher take "" to be the same thing as "*"
[20:43:45] mdw: has joined #ruby
[20:43:59] havenwood: prefix: Example of what you mean?
[20:44:00] prefix: "" clearly isn't "*"
[20:44:34] havenwood: prefix: What code are you running? What Regexp?
[20:45:27] eam: prefix: do you mean how '""' is matched by /"*"/ ?
[20:46:07] kirun: has joined #ruby
[20:47:06] prefix: let's say I have the string, "a". if i run "a".match(Regexp.unon("")), it returns true
[20:47:51] shevy: what is unon - is that like onion
[20:47:52] prefix: *Regexp.union
[20:47:53] eam: prefix: sure, why shouldn't it?
[20:47:57] platzhirsch: has left #ruby: ()
[20:48:04] prefix: "" is not the same thing as .*
[20:48:10] ruby[bot]: havenwood: # => "" (https://eval.in/533580)
[20:48:12] eam: correct, but both match any string
[20:48:32] eam: the regex // will match anything
[20:48:49] eam: it will match differently, though
[20:48:49] baweaver: has joined #ruby
[20:48:50] prefix: that doesn't even make sense
[20:48:58] prefix: how is that even a thing
[20:49:02] eam: of course it does - you're giving it a nul requirement
[20:49:10] prefix: that's what the kleene star is for
[20:49:18] prefix: are you kidding me?
[20:49:21] eam: no, .* matches everything
[20:49:23] zenspider: has joined #ruby
[20:49:24] eam: it's different
[20:49:57] eam: >> "abc" =~ //; $&
[20:50:33] eam: havenwood: thx
[20:50:41] eam: >> "abc" =~ /.*/; $&
[20:50:49] eam: #=> "abc"
[20:51:21] eam: the regex /.*/ is going to match any and every character. The // regex is going to match no characters. Both will evaluate as a match on any input string
[20:51:38] eam: because all strings have a sequence of "no characters"
[20:51:55] eam: in between the start of the string and the first character (if there is a first character)
[20:52:12] evenix: I'm looking for a way to automatically gzip responses.
[20:52:27] eam: >> "abc".split //
[20:52:30] eam: => ["a", "b", "c"]
[20:53:01] eam: >> "abc".split /.*/
[20:54:40] uglybandersnatch: has joined #ruby
[20:55:24] havenwood: evenix: Rack::Deflater
[20:55:48] evenix: havenwood: tried
[20:56:00] moeabdol3: has joined #ruby
[20:56:04] evenix: :/ didn't work
[20:56:08] evenix: i'll look deeper into it
[20:56:26] havenwood: evenix: Nginx or Apache for gzip'n static assets, typically.
[20:56:33] nchambers: has joined #ruby
[20:57:20] prefix: the empty string is contained in every string
[20:57:21] evenix: havenwood: I'm on my local environment right now. I also tried this https://gist.github.com/relistan/2109707
[20:57:32] prefix: i remember this. how enjoyable
[20:57:48] n008f4g_: has joined #ruby
[20:58:02] havenwood: evenix: rack-zippy is another, i think rails focused?
[20:58:18] evenix: havenwood: perfect! I'll try that
[20:58:39] eam: prefix: and if you change .* to be the non-greedy .*? you'll find it matches like // because it maches on the smallest (empty) string instead of the largest (entire string)
[20:59:14] eam: which maybe helps frame the behavior, that // is a subset of what /.*/ can match
[20:59:21] elifoster: has joined #ruby
[20:59:26] prefix: i remember this now
[20:59:27] zarubin: has joined #ruby
[20:59:31] prefix: i had nightmares about this for a while back in college
[20:59:49] tAn: has joined #ruby
[21:00:37] eam: of course /.*?/ is a hell of a lot less efficient than //
[21:01:31] tomchapin: has joined #ruby
[21:04:41] htmldrum: has joined #ruby
[21:05:12] skade: has joined #ruby
[21:05:28] Guest34101: has joined #ruby
[21:08:05] marsjaninzmarsa: has joined #ruby
[21:08:23] huddy: has joined #ruby
[21:09:06] mrchris: shevy, could it have something to do with gemspecs?
[21:09:23] openstruct: has joined #ruby
[21:09:36] mrchris: i tried require_relative and require "../my_gem_name".. no joy
[21:09:36] SCHAAP137: has joined #ruby
[21:09:47] stunder: has joined #ruby
[21:11:12] trosborn: has joined #ruby
[21:11:56] cpup: has joined #ruby
[21:13:40] shadowbram: has joined #ruby
[21:13:45] mistermocha: has joined #ruby
[21:14:20] mistermocha: has joined #ruby
[21:15:06] sepp2k: has joined #ruby
[21:15:07] mistermocha: has joined #ruby
[21:15:12] evenix: havenwood: my issue is not related to assets.. when im trying to login to gmail using omniau-google2 the response from google is gzip compressed I'm trying to set up my application to automatically decode that
[21:15:42] evenix: 'rack-zippy is a Rack middleware for serving static gzipped assets precompiled by the Rails asset pipeline'
[21:15:45] evenix: I don't think this is what I need
[21:15:53] colegatron: has joined #ruby
[21:16:11] evenix: I'm trying to automatically uncompress gzip http response
[21:16:54] evenix: config.middleware.use Rack::Deflater might be a better option
[21:17:51] last_staff1: has joined #ruby
[21:18:16] stunder: has joined #ruby
[21:18:59] jenrzzz: has joined #ruby
[21:22:28] djbkd: has joined #ruby
[21:23:27] marcdel: has joined #ruby
[21:23:34] baweaver: has joined #ruby
[21:24:32] cdg: has joined #ruby
[21:25:05] A124: has joined #ruby
[21:27:20] cpup: has joined #ruby
[21:27:44] Xeago: has joined #ruby
[21:27:58] baweaver: has joined #ruby
[21:28:15] roshanavand: has joined #ruby
[21:28:21] kfpratt: has joined #ruby
[21:30:23] siaW: has joined #ruby
[21:31:15] vdamewood: has joined #ruby
[21:33:45] symm-: has joined #ruby
[21:38:44] ramfjord: has joined #ruby
[21:40:55] blackmesa: has joined #ruby
[21:42:54] holyGlitch: has left #ruby: ("Leaving")
[21:44:13] zipace: has joined #ruby
[21:45:04] jottr: has joined #ruby
[21:48:30] machinewar: has joined #ruby
[21:48:41] pikajude: has joined #ruby
[21:48:46] pikajude: does GEM_PATH get added to LOAD_PATH?
[21:48:50] poerror: has joined #ruby
[21:52:40] bluOxigen_: has joined #ruby
[21:53:10] tomphp: has joined #ruby
[21:53:16] kknight: has joined #ruby
[21:53:39] snockerton: has joined #ruby
[21:55:32] B4daBing73: has joined #ruby
[21:55:32] B4daBing73: has joined #ruby
[21:56:26] e4xit: has joined #ruby
[21:57:15] Xeago: has joined #ruby
[21:58:16] Hanmac: shevy i have seen the new ghostbusters trailer ... now i dont want to see it again oO https://www.youtube.com/watch?v=w3ugHP-yZXw
[21:58:37] ebbflowgo: has joined #ruby
[21:59:09] pikajude: also, what is the difference between setting an environment variable before running a script and setting it in ENV in the first line of the script
[21:59:16] floatingpoint: has joined #ruby
[21:59:26] Vile`: has joined #ruby
[21:59:30] Noxilex: has joined #ruby
[21:59:58] tpo: has joined #ruby
[22:01:11] adaedra: pikajude: if you use pre-defined environment, it can be overrider by caller
[22:01:22] adaedra: I can't type tonight.
[22:01:34] pikajude: specifically, i'm setting ENV["GEM_PATH"] in my script then require 'bundler/setup' fails
[22:01:42] pikajude: but if I set it in my shell before running the script, it works fine
[22:01:46] pikajude: so i'm trying to figure out why
[22:02:02] djbkd: has joined #ruby
[22:02:21] adaedra: Why are you even doing this
[22:02:27] pikajude: well, it's not my script
[22:02:33] pikajude: i'm trying to figure out why it stopped working
[22:02:37] pikajude: because i use it
[22:03:06] solocshaw: has joined #ruby
[22:03:36] adaedra: It's surely because RubyGems reconstruct its path from env before your script even start. This sounds like the wrong solution to the problem you're having.
[22:03:57] pikajude: oh, is that inbuilt functionality of ruby
[22:04:31] pikajude: if I --disable=gems, it works!
[22:05:07] adaedra: This sounds like even wronger solution to the problem imo.
[22:06:40] adaedra: Maybe if you explain the whole issue, a better solution could be found?
[22:07:03] idletask: My thoughts exactly; this looks like an XY problem
[22:07:23] pikajude: so this is what generates the script https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/interpreters/ruby/bundler-env/gen-bin-stubs.rb
[22:10:08] workmad3: has joined #ruby
[22:12:33] tonyynot: has joined #ruby
[22:13:34] faelkle: has joined #ruby
[22:18:16] pawnbox: has joined #ruby
[22:18:57] workmad3: has joined #ruby
[22:19:15] jdawgaz: has joined #ruby
[22:21:11] quazimodo: has joined #ruby
[22:21:42] swills: has joined #ruby
[22:27:07] skade: has joined #ruby
[22:27:17] jdawgaz: has joined #ruby
[22:27:23] tAn: has joined #ruby
[22:28:28] tao_: has joined #ruby
[22:30:16] jottr: has joined #ruby
[22:32:46] aeontech: has joined #ruby
[22:34:47] mdw: has joined #ruby
[22:35:28] BTRE: has joined #ruby
[22:35:33] trosborn: has joined #ruby
[22:36:32] nando293921: has joined #ruby
[22:36:46] baweaver: has joined #ruby
[22:40:48] zenlot6: has joined #ruby
[22:41:19] tAn: has joined #ruby
[22:41:59] jottr: has joined #ruby
[22:42:15] ctrlrsf: has joined #ruby
[22:42:51] jdawgaz: has joined #ruby
[22:51:27] Vingador: has joined #ruby
[22:53:22] tcrypt: has joined #ruby
[22:54:41] Azure: has joined #ruby
[22:54:49] n008f4g_: has joined #ruby
[22:56:59] howardg: has joined #ruby
[22:57:24] shanemcd: has joined #ruby
[22:57:25] spider-mario: has joined #ruby
[22:58:06] pawnbox: has joined #ruby
[22:59:35] flopsec: has joined #ruby
[22:59:49] A124: has joined #ruby
[23:00:04] ebbflowgo: has joined #ruby
[23:00:09] DynamicMetaFlow: has joined #ruby
[23:00:29] Dreamer3: has joined #ruby
[23:00:54] kp666: has joined #ruby
[23:01:19] uglybandersnatch: has joined #ruby
[23:01:22] eregi_: has joined #ruby
[23:01:25] cdg: has joined #ruby
[23:01:31] rikai: has joined #ruby
[23:01:31] postmodern: has joined #ruby
[23:01:44] shazaum_: has joined #ruby
[23:01:46] ramfjord_: has joined #ruby
[23:02:16] genpaku_: has joined #ruby
[23:02:42] ebbflowgo: has joined #ruby
[23:02:51] levifig: has joined #ruby
[23:03:24] Icey: has joined #ruby
[23:03:25] Some-body_: has joined #ruby
[23:03:50] Dreamer3_: has joined #ruby
[23:03:52] djbkd: has joined #ruby
[23:03:55] jenrzzz_: has joined #ruby
[23:04:06] pibby: has joined #ruby
[23:04:10] sysanthrope: has joined #ruby
[23:04:21] wilbert: has joined #ruby
[23:04:29] faelkle: has joined #ruby
[23:04:29] atmosx: has joined #ruby
[23:04:31] rideh: has joined #ruby
[23:04:38] djbkd: has joined #ruby
[23:04:50] arthropododo: has joined #ruby
[23:04:57] marcdel: has joined #ruby
[23:05:51] UserInneed: has joined #ruby
[23:06:28] uglybandersnatch: has joined #ruby
[23:07:01] dgncn: has joined #ruby
[23:07:06] baweaver: has joined #ruby
[23:09:35] darkxploit: has joined #ruby
[23:11:19] milesmatthias: has joined #ruby
[23:12:17] pwnd_nsfw: has joined #ruby
[23:12:33] supplication: has joined #ruby
[23:14:06] westmore: has joined #ruby
[23:14:51] mary5030: has joined #ruby
[23:15:39] zenlot6: has joined #ruby
[23:16:10] intrigueD: has joined #ruby
[23:16:20] pragmatism: has joined #ruby
[23:16:35] atmosx: has joined #ruby
[23:16:56] lemur: has joined #ruby
[23:18:41] quazimodo: has joined #ruby
[23:19:06] zeroDivisible: has joined #ruby
[23:21:31] johnmilton: has joined #ruby
[23:21:45] coyo: has joined #ruby
[23:21:48] BtcBen: has joined #ruby
[23:25:59] ebbflowgo: has joined #ruby
[23:27:56] BTRE: has joined #ruby
[23:27:58] ixti: has joined #ruby
[23:28:49] pawnbox: has joined #ruby
[23:28:58] Moonman420: has left #ruby: ()
[23:29:42] Eiam: has joined #ruby
[23:30:19] milesmatthias: has joined #ruby
[23:30:47] kknight: has joined #ruby
[23:30:50] LuckyABA: has joined #ruby
[23:32:07] p0p0pr37: has joined #ruby
[23:34:51] ensyde_: has joined #ruby
[23:37:39] ledestin: has joined #ruby
[23:38:16] snowy: has joined #ruby
[23:39:41] poerror: has joined #ruby
[23:40:39] acidrainfall: has left #ruby: ()
[23:41:10] johnmilton: has joined #ruby
[23:41:39] ytti: has joined #ruby
[23:42:19] Vile`: has joined #ruby
[23:43:29] mistermo_: has joined #ruby
[23:45:50] nando293921: has joined #ruby
[23:48:13] crowell: has joined #ruby
[23:48:25] mustmodify___: has joined #ruby
[23:54:57] safe: has joined #ruby
[23:56:26] ohcibi: has joined #ruby
[23:56:53] Ropeney: has joined #ruby
[23:58:10] Rutix: has joined #ruby
[23:58:11] Rutix: has joined #ruby
[23:59:02] pawnbox: has joined #ruby
[23:59:04] Hobbyboy: has joined #ruby