« Back to channel list

#ruby - 17 July 2016

« Back 1 day Forward 1 day »
[00:00:16] flashpoint9: has joined #ruby
[00:00:52] ghr: has joined #ruby
[00:10:59] ghr: has joined #ruby
[00:13:16] xall_: has joined #ruby
[00:13:17] bkxd: has joined #ruby
[00:15:14] spiette__: has joined #ruby
[00:15:24] LoneHerm_: has joined #ruby
[00:16:33] roamingdog: has joined #ruby
[00:18:38] crystal77: has joined #ruby
[00:20:24] ghr: has joined #ruby
[00:23:23] davedev24: has joined #ruby
[00:25:25] pontiki: has joined #ruby
[00:27:41] mdanielk: has joined #ruby
[00:29:06] hahuang65: has joined #ruby
[00:29:35] zacstewart: has joined #ruby
[00:29:54] ghr: has joined #ruby
[00:32:55] fullofcaffeine: has joined #ruby
[00:33:37] tristanp: has joined #ruby
[00:34:43] postapocallyptic: has joined #ruby
[00:34:57] postapocallyptic: how can I set a timeout for a socket connection?
[00:35:10] hutch34: has joined #ruby
[00:37:26] mdanielk: i dont know posta, im newbie on ruby
[00:38:15] JeanCarloMachado: has joined #ruby
[00:38:26] ljc: has joined #ruby
[00:39:25] ghr: has joined #ruby
[00:39:58] nankyokusei: has joined #ruby
[00:42:36] jhass: postapocallyptic: net/http does it like this https://github.com/ruby/ruby/blob/32674b167bddc0d737c38f84722986b0f228b44b/lib/net/protocol.rb#L153-L169
[00:43:02] jhass: you might be able to reuse that BufferedIO in fact
[00:43:10] jhass: though it's undocumented
[00:49:26] ghr: has joined #ruby
[00:49:27] dminuoso: has joined #ruby
[00:52:59] xall_: has joined #ruby
[00:56:00] Canucktux: has joined #ruby
[00:58:56] ghr: has joined #ruby
[01:01:00] matt_d: has left #ruby: ()
[01:02:19] hipertracker: has joined #ruby
[01:02:36] Stoner19: has joined #ruby
[01:04:08] Stoner19: I know very little about Ruby, if anything at all. Can someone tell me if this is something that someone such as myself could get up and running on my own server? https://open.blockspring.com/blocks/new?clone=cross-team-slack-chat
[01:05:29] crystal77: has joined #ruby
[01:05:50] ekinmur: has joined #ruby
[01:07:21] leea: has joined #ruby
[01:08:27] ghr: has joined #ruby
[01:13:53] bronson: has joined #ruby
[01:14:47] ljc: has joined #ruby
[01:14:48] l4v2: has joined #ruby
[01:15:44] leea: has joined #ruby
[01:17:01] akira616: has joined #ruby
[01:18:22] hutch34: has joined #ruby
[01:18:27] ghr: has joined #ruby
[01:18:43] tubuliferous: has joined #ruby
[01:19:28] xall_: has joined #ruby
[01:23:00] xall_: has joined #ruby
[01:23:05] LuckyABA: has joined #ruby
[01:24:07] hammond: has left #ruby: ()
[01:25:14] jenrzzz: has joined #ruby
[01:25:14] jenrzzz: has joined #ruby
[01:25:51] AndrewIsHere: has joined #ruby
[01:26:52] arescorpio: has joined #ruby
[01:28:38] mistermocha: has joined #ruby
[01:28:58] ghr: has joined #ruby
[01:30:07] hahuang65: has joined #ruby
[01:37:39] tristanp: has joined #ruby
[01:38:19] ur5us_: has joined #ruby
[01:38:28] ghr: has joined #ruby
[01:38:56] tristanp: has joined #ruby
[01:39:06] mistermocha: has joined #ruby
[01:41:42] nettoweb: has joined #ruby
[01:45:34] ljc: has joined #ruby
[01:48:29] ghr: has joined #ruby
[01:48:50] dylankarr: has joined #ruby
[01:50:01] dylankarr: has left #ruby: ()
[01:50:10] dminuoso: has joined #ruby
[01:51:28] dylankarr: has joined #ruby
[01:53:33] fullofca_: has joined #ruby
[01:54:30] dylankarr: has left #ruby: ()
[01:54:50] apipkin_: has joined #ruby
[01:54:57] moei: has joined #ruby
[01:58:04] ghr: has joined #ruby
[02:00:06] ElFerna: has joined #ruby
[02:05:05] pat: has joined #ruby
[02:06:07] martinium: has joined #ruby
[02:08:00] ghr: has joined #ruby
[02:08:23] shevy: https://www.blockspring.com/docs/ruby-quickstart-run
[02:08:36] shevy: from the API alone, I think that it targets people who know ruby
[02:12:29] monoprotic: has joined #ruby
[02:12:30] monoprotic: has joined #ruby
[02:14:50] contradictioned: has joined #ruby
[02:15:59] hutch34: has joined #ruby
[02:18:01] ghr: has joined #ruby
[02:18:06] JeanCarloMachado: has joined #ruby
[02:21:02] chipotle: has joined #ruby
[02:25:13] jgpawletko: has joined #ruby
[02:26:49] SCHAAP137: has joined #ruby
[02:27:31] ghr: has joined #ruby
[02:29:49] hk238: has joined #ruby
[02:31:04] zacstewart: has joined #ruby
[02:33:47] eizua: has joined #ruby
[02:35:26] yfeldblum: has joined #ruby
[02:36:16] underplank: has joined #ruby
[02:37:02] ghr: has joined #ruby
[02:37:16] ljc: has joined #ruby
[02:38:11] KnownSyntax: has joined #ruby
[02:38:11] KnownSyntax: has joined #ruby
[02:40:32] LuckyABA: has joined #ruby
[02:40:49] nankyokusei: has joined #ruby
[02:47:22] xall: has joined #ruby
[02:48:08] mistermocha: has joined #ruby
[02:48:33] ghr: has joined #ruby
[02:51:10] benlieb: has joined #ruby
[02:54:18] h1fuelcell: has joined #ruby
[02:55:06] h1fuelcell: When I try and change the behavior of 'yield' with `def yield`, the keyword's functionality appears unaffected
[02:55:33] h1fuelcell: Am I not really changing the Kernel's method yield when I just write `def yield` into the console?
[02:57:17] jackjackdripper: has joined #ruby
[02:58:03] ghr: has joined #ruby
[03:01:30] JesseH: has joined #ruby
[03:03:13] Devalo: has joined #ruby
[03:05:00] xlegoman: has joined #ruby
[03:07:34] ghr: has joined #ruby
[03:11:14] shevy: probably not, they should default to a private method on class Object at toplevel
[03:11:34] shevy: here is an old explanation possibly https://banisterfiend.wordpress.com/2010/11/23/what-is-the-ruby-top-level/
[03:12:36] nando293921: has joined #ruby
[03:12:40] shevy: however had, yield is a keyword http://ruby-doc.org/docs/keywords/1.9/files/keywords_rb.html#M000042
[03:13:08] shevy: http://ruby-doc.org/core-2.3.1/Kernel.html
[03:15:50] ljc: has joined #ruby
[03:17:04] ghr: has joined #ruby
[03:17:46] ljc: has joined #ruby
[03:18:01] roamingdog: has joined #ruby
[03:21:02] k3rn31: has joined #ruby
[03:22:52] h1fuelcell: has joined #ruby
[03:23:08] h1fuelcell: Thanks shevy
[03:23:45] nadir: has joined #ruby
[03:25:13] govg: has joined #ruby
[03:25:34] treaki__: has joined #ruby
[03:27:35] ghr: has joined #ruby
[03:32:57] zacstewart: has joined #ruby
[03:33:03] mistermocha: has joined #ruby
[03:33:28] ljc: has joined #ruby
[03:36:38] zacts: has joined #ruby
[03:37:05] ghr: has joined #ruby
[03:38:04] xall: has joined #ruby
[03:39:24] harfangk: has joined #ruby
[03:43:54] lxsameer: has joined #ruby
[03:48:52] nanoz: has joined #ruby
[03:49:06] ghr: has joined #ruby
[03:50:14] jackjackdripper: has joined #ruby
[03:50:17] tubuliferous: has joined #ruby
[03:51:26] wald0: has joined #ruby
[03:52:33] bkxd: has joined #ruby
[03:55:45] djbkd: has joined #ruby
[03:56:27] wnd_: has joined #ruby
[03:56:50] tristanp: has joined #ruby
[03:57:24] hiyosi: has joined #ruby
[03:57:28] tristanp: has joined #ruby
[03:58:36] ghr: has joined #ruby
[04:01:07] benlieb: has joined #ruby
[04:01:22] JeanCarloMachado: has joined #ruby
[04:02:32] gix: has joined #ruby
[04:06:30] c0mrad3: has joined #ruby
[04:08:07] ghr: has joined #ruby
[04:11:23] speaking1ode: has joined #ruby
[04:17:38] ghr: has joined #ruby
[04:20:12] hahuang65: has joined #ruby
[04:26:29] Terens: has anybody used ffi?
[04:29:22] bkxd: has joined #ruby
[04:29:38] ghr: has joined #ruby
[04:31:22] pat: has joined #ruby
[04:32:59] zacstewart: has joined #ruby
[04:37:25] hahuang65: has joined #ruby
[04:37:30] ljc: has joined #ruby
[04:39:01] k3rn31: has joined #ruby
[04:39:39] ghr: has joined #ruby
[04:41:41] nankyokusei: has joined #ruby
[04:43:41] chipotle_: has joined #ruby
[04:44:14] shevy: some C experts have like jhass I think
[04:44:22] shevy: probably hanmac as well
[04:47:36] LuckyABA: has joined #ruby
[04:49:10] ghr: has joined #ruby
[04:52:02] shevy: whoa... the deb file for the editor Atom is about 75MB in size... the ancient bluefish variant I use has 1,3M as archive...
[04:52:56] ljc: has joined #ruby
[04:53:17] TinkerTyper: has joined #ruby
[04:56:13] face: has joined #ruby
[04:57:05] AndrewIsHere: has joined #ruby
[04:58:10] hipertracker: has joined #ruby
[04:58:40] ghr: has joined #ruby
[04:59:18] cyclonis: has joined #ruby
[05:00:49] tubuliferous: has joined #ruby
[05:04:29] colegatron: has joined #ruby
[05:05:14] ponga: has joined #ruby
[05:08:25] roamingdog: has joined #ruby
[05:08:41] ghr: has joined #ruby
[05:09:21] hahuang65: has joined #ruby
[05:15:17] ljc: has joined #ruby
[05:15:41] fullofcaffeine: has joined #ruby
[05:19:17] ghr: has joined #ruby
[05:29:42] ghr: has joined #ruby
[05:34:29] zacstewart: has joined #ruby
[05:39:13] ghr: has joined #ruby
[05:45:50] jakkn: has joined #ruby
[05:46:50] colegatron: has joined #ruby
[05:48:43] ghr: has joined #ruby
[05:48:44] yadobujo: has joined #ruby
[05:53:59] benlieb_: has joined #ruby
[05:56:24] harfangk: has joined #ruby
[05:58:14] ghr: has joined #ruby
[06:02:37] Devalo: has joined #ruby
[06:04:15] tmtwd: has joined #ruby
[06:04:23] tubuliferous: has joined #ruby
[06:07:44] ghr: has joined #ruby
[06:07:53] xall: has joined #ruby
[06:10:19] hutch34: has joined #ruby
[06:14:16] shortdudey123: has joined #ruby
[06:14:41] ur5us: has joined #ruby
[06:16:49] wsewolod: has joined #ruby
[06:17:15] ghr: has joined #ruby
[06:23:29] codecop: has joined #ruby
[06:24:05] vuoto: has joined #ruby
[06:24:35] hipertracker: has joined #ruby
[06:26:46] ghr: has joined #ruby
[06:27:07] moeabdol: has joined #ruby
[06:27:46] rvca: has joined #ruby
[06:28:09] bkxd: has joined #ruby
[06:28:11] rvca: has joined #ruby
[06:29:59] mrBen2k2k2k: has joined #ruby
[06:30:56] drewo: has joined #ruby
[06:32:18] postmodern: has joined #ruby
[06:32:32] nhhc: has joined #ruby
[06:33:28] benlieb: has joined #ruby
[06:34:56] LoneHerm_: has joined #ruby
[06:35:34] zacstewart: has joined #ruby
[06:36:11] Dimik--: has joined #ruby
[06:37:47] pawnbox: has joined #ruby
[06:39:54] mistermocha: has joined #ruby
[06:40:53] MrBusiness2: has joined #ruby
[06:42:30] nankyokusei: has joined #ruby
[06:43:56] drewo: has joined #ruby
[06:47:17] ghr: has joined #ruby
[06:49:56] rvca: has joined #ruby
[06:57:17] ghr: has joined #ruby
[06:57:45] drewo: has joined #ruby
[06:58:24] vdamewood: has joined #ruby
[06:59:20] AndrewIsHere: has joined #ruby
[07:04:18] futilegames: has joined #ruby
[07:07:09] futilegames: has left #ruby: ()
[07:08:50] ghr: has joined #ruby
[07:10:16] roamingdog: has joined #ruby
[07:10:27] rvca: has joined #ruby
[07:12:38] drewo: has joined #ruby
[07:14:29] dionysus69: has joined #ruby
[07:18:19] ghr: has joined #ruby
[07:20:05] the_drow: has joined #ruby
[07:23:45] Guest60828: has joined #ruby
[07:26:09] rann: has joined #ruby
[07:27:49] ghr: has joined #ruby
[07:29:27] izzydoesit: has joined #ruby
[07:29:55] xall: has joined #ruby
[07:30:36] aries_liuxueyang: has joined #ruby
[07:31:40] solars: has joined #ruby
[07:33:30] benlieb_: has joined #ruby
[07:35:48] LoneHermit: has joined #ruby
[07:36:44] zacstewart: has joined #ruby
[07:37:20] ghr: has joined #ruby
[07:37:23] firstdayonthejob: has joined #ruby
[07:41:07] antgel: has joined #ruby
[07:42:35] drewo: has joined #ruby
[07:43:43] harfangk: has joined #ruby
[07:44:17] Guest60828: has joined #ruby
[07:45:23] djbkd: has joined #ruby
[07:46:50] ghr: has joined #ruby
[07:48:42] p0p0pr37: has joined #ruby
[07:49:16] hogetaro: has joined #ruby
[07:50:43] multi_io: has joined #ruby
[07:55:14] helpa: has joined #ruby
[07:56:21] ghr: has joined #ruby
[07:57:11] djbkd: has joined #ruby
[07:57:58] vuoto: has joined #ruby
[07:58:29] ur5us: has joined #ruby
[07:58:29] xue: has joined #ruby
[08:01:37] vuoto_: has joined #ruby
[08:03:10] helpa: has joined #ruby
[08:03:23] roamingdog: has joined #ruby
[08:03:42] voodoofish4302: has joined #ruby
[08:08:52] ghr: has joined #ruby
[08:13:47] chihhsin: has joined #ruby
[08:15:17] rippa: has joined #ruby
[08:17:01] benlieb: has joined #ruby
[08:18:15] vuoto: has joined #ruby
[08:18:22] ghr: has joined #ruby
[08:20:10] vuoto: has joined #ruby
[08:20:30] cd-rum: has joined #ruby
[08:22:46] nettoweb: has joined #ruby
[08:26:30] yadobujo_: has joined #ruby
[08:27:46] yeticry: has joined #ruby
[08:27:58] ghr: has joined #ruby
[08:28:03] drewo: has joined #ruby
[08:30:28] vuoto: has joined #ruby
[08:31:32] flughafen_: has joined #ruby
[08:33:51] toretore: has joined #ruby
[08:36:49] LoneHermit: has joined #ruby
[08:37:23] ghr: has joined #ruby
[08:37:35] Coldblackice: has joined #ruby
[08:43:24] nankyokusei: has joined #ruby
[08:45:28] chipotle: has joined #ruby
[08:45:29] vuoto: has joined #ruby
[08:46:30] Icey: has joined #ruby
[08:46:54] ghr: has joined #ruby
[08:48:45] Dreamer3: has joined #ruby
[08:50:22] xall: has joined #ruby
[08:51:12] iamayam: has joined #ruby
[08:51:25] theRoUS: has joined #ruby
[08:51:27] harrisi: has joined #ruby
[08:52:53] Technodrome: has joined #ruby
[08:57:31] pard: has joined #ruby
[08:58:12] pard: i'm trying to create a "standard" ruby AST the same way ESTree if for ECMAScript
[08:58:24] ghr: has joined #ruby
[08:58:32] pard: there is now a repo for it
[08:58:47] pard: could i ask anyone on this channel help me?
[08:59:18] jhass: you've seen Ripper?
[08:59:28] pard: jhass, yes
[08:59:47] pard: jhass, but i actually did not find it very human-readable
[09:00:11] Technodrome: what are you guys up too
[09:00:12] jhass: and https://github.com/whitequark/parser ?
[09:01:05] pard: jhass, yes; actually, it is very awsome, but I did not find its output very friendly either
[09:01:17] pard: *awesome
[09:01:44] jhass: well, either should have consumable output, just write a formatter for it?
[09:02:03] pard: jhass, could i ask your opinions on the estree's approach to ASTs? thanks :)
[09:02:11] jhass: never seen or looked at it
[09:02:27] jhass: just saying beware of reinventing the wheel from the ground up
[09:02:35] pard: could i give you the link?
[09:02:45] pard: to estree?
[09:03:02] jhass: I'm not too interested tbh
[09:03:11] pard: apologies
[09:03:17] jhass: nothing to worry about
[09:04:26] pard: i still believe it could be of value in giving a whole sense of what ruby's grammar is actually about
[09:04:39] pard: mind you take a look at my repo?
[09:04:49] tAn: has joined #ruby
[09:12:10] pard: it is on https://github.com/icefapper/ruby-ast; it would be great should any one bother take a look, as it might be useful
[09:12:55] ghr: has joined #ruby
[09:15:30] roamingdog: has joined #ruby
[09:15:55] hipertracker: has joined #ruby
[09:19:40] sergey_makagon: has joined #ruby
[09:21:34] Nawn: has joined #ruby
[09:22:09] drewo: has joined #ruby
[09:22:26] ghr: has joined #ruby
[09:27:26] vuoto: has joined #ruby
[09:31:48] vuoto: has joined #ruby
[09:31:56] ghr: has joined #ruby
[09:33:18] vuoto: has joined #ruby
[09:33:55] Guest60828: has joined #ruby
[09:35:24] pawnbox: has joined #ruby
[09:36:49] pawnbox: has joined #ruby
[09:37:25] djbkd: has joined #ruby
[09:37:57] zacstewart: has joined #ruby
[09:41:35] govg: has joined #ruby
[09:41:50] akira616: has joined #ruby
[09:42:31] marr: has joined #ruby
[09:43:27] ghr: has joined #ruby
[09:46:12] benhoi: has joined #ruby
[09:49:21] Rutix: has joined #ruby
[09:49:21] Rutix: has joined #ruby
[09:52:20] miqlas-H: has joined #ruby
[09:52:28] CloCkWeRX: has joined #ruby
[09:53:03] ghr: has joined #ruby
[09:54:24] pawnbox: has joined #ruby
[09:54:59] karapetyan: has joined #ruby
[09:55:44] anisha: has joined #ruby
[09:56:37] pawnbox: has joined #ruby
[09:58:45] drptbl: has joined #ruby
[10:02:14] yadobujo: has joined #ruby
[10:02:22] Wildfyr: has joined #ruby
[10:02:28] ghr: has joined #ruby
[10:02:41] ex0ns: has joined #ruby
[10:06:01] Xeago_: has joined #ruby
[10:06:40] ex0ns: has joined #ruby
[10:06:51] ledestin: has joined #ruby
[10:08:29] pawnbox_: has joined #ruby
[10:11:42] benlieb: has joined #ruby
[10:11:59] ghr: has joined #ruby
[10:13:49] symm-: has joined #ruby
[10:16:05] sergey_makagon: has joined #ruby
[10:16:15] drewo: has joined #ruby
[10:19:59] aryaching: has joined #ruby
[10:20:22] roshanavand: has joined #ruby
[10:23:30] ghr: has joined #ruby
[10:25:59] LoneHermit: has joined #ruby
[10:26:52] karapetyan: has joined #ruby
[10:28:41] yfeldblum: has joined #ruby
[10:33:00] ghr: has joined #ruby
[10:33:40] bigkevmcd: has joined #ruby
[10:34:12] moeabdol: has joined #ruby
[10:42:45] Guest60828: has joined #ruby
[10:42:49] karapetyan: has joined #ruby
[10:43:35] ur5us: has joined #ruby
[10:44:18] nankyokusei: has joined #ruby
[10:44:31] ghr: has joined #ruby
[10:46:18] kirun: has joined #ruby
[10:48:09] konsolebox: has joined #ruby
[10:48:59] anisha: has joined #ruby
[10:54:02] ghr: has joined #ruby
[10:58:55] symm-: has joined #ruby
[11:00:36] AndrewIsHere: has joined #ruby
[11:01:03] sdothum: has joined #ruby
[11:05:32] ghr: has joined #ruby
[11:06:20] webus: has joined #ruby
[11:08:04] Rodya_: has joined #ruby
[11:09:18] miqlas-H: Compiling ruby 2.4 on Haiku...
[11:10:20] drewo: has joined #ruby
[11:11:04] pontiki: has joined #ruby
[11:12:55] xall: has joined #ruby
[11:15:29] harfangk: has joined #ruby
[11:16:01] roshanavand: has joined #ruby
[11:17:06] c355E3B: has joined #ruby
[11:17:33] ghr: has joined #ruby
[11:17:42] Wildfyr: Any projects to do (not involvin rails)
[11:19:27] roshanavand: has joined #ruby
[11:20:16] miqlas-H: Wildfyr: compile Ruby on Haiku. Have fun!
[11:21:00] Wildfyr: ACTION starts googling
[11:22:21] roshanavand: has joined #ruby
[11:22:25] jhass: Wildfyr: https://www.codetriage.com/?language=Ruby
[11:22:25] mikecmpbll: has joined #ruby
[11:22:31] jhass: let me try to find the other one
[11:24:26] miqlas-H: Wildfyr: why lol? It is production ready, almost.
[11:24:56] Papierkorb: is haiku at least unix compatible?
[11:25:11] jhass: Wildfyr: http://www.refactorcop.com/
[11:25:16] Papierkorb: and/or posix?
[11:26:14] conta: has joined #ruby
[11:27:25] symm-_: has joined #ruby
[11:30:34] ghr: has joined #ruby
[11:30:56] BaroMeter: has joined #ruby
[11:31:49] roshanavand: has joined #ruby
[11:32:23] dionysus69: has joined #ruby
[11:35:29] SCHAAP137: has joined #ruby
[11:36:16] last_staff: has joined #ruby
[11:39:40] Stazer: has joined #ruby
[11:39:58] rapha: has left #ruby: ("laters!")
[11:39:59] flashpoint9: has joined #ruby
[11:41:32] Hanmac: has joined #ruby
[11:42:35] ghr: has joined #ruby
[11:47:42] ChrisWilding: has joined #ruby
[11:49:02] hipertracker: has joined #ruby
[11:52:05] ghr: has joined #ruby
[11:52:42] workmad3: has joined #ruby
[11:53:43] anisha: has joined #ruby
[11:54:48] benlieb: has joined #ruby
[11:55:31] shevy: miqlas-H did you have any luck?
[11:56:01] shevy: the last 2.4dev-preview did not fully work for me either
[11:56:10] shevy: so I am still on ruby 2.3.1p112
[11:57:45] pawnbox: has joined #ruby
[12:01:01] ChrisWilding: has joined #ruby
[12:05:56] pawnbox: has joined #ruby
[12:07:07] xall: has joined #ruby
[12:08:06] ghr: has joined #ruby
[12:09:09] sergey_makagon: has joined #ruby
[12:12:40] Mia: has joined #ruby
[12:12:47] icbm: has joined #ruby
[12:12:56] icbm: has left #ruby: ()
[12:13:45] miqlas-H: shevy: i needed to disable the stack protect, but it should work with this patch
[12:14:53] hutch34: has joined #ruby
[12:17:37] ghr: has joined #ruby
[12:21:04] kavanagh: has joined #ruby
[12:21:31] hipertracker: has joined #ruby
[12:25:05] JeanCarloMachado: has joined #ruby
[12:27:07] ghr: has joined #ruby
[12:27:18] zacstewart: has joined #ruby
[12:29:40] bzb: has joined #ruby
[12:36:38] ghr: has joined #ruby
[12:38:27] vpnc: has joined #ruby
[12:39:17] Dimik--: has joined #ruby
[12:41:32] wnd: has joined #ruby
[12:41:59] postapocallyptic: is visual ruby ok?
[12:42:52] jhass: first time I hear of it :o
[12:44:13] DoubleMalt: has joined #ruby
[12:45:00] roshanavand: has joined #ruby
[12:45:05] nankyokusei: has joined #ruby
[12:46:09] ghr: has joined #ruby
[12:55:39] ghr: has joined #ruby
[12:55:50] harfangk: has joined #ruby
[12:56:16] flughafen_: has joined #ruby
[12:56:36] nando293921: has joined #ruby
[12:57:34] shevy: hmm I heard of it before... years ago
[12:57:37] shevy: when we were young
[12:57:39] shevy: and innocent
[12:58:42] drewo: has joined #ruby
[12:59:25] nando293921: has joined #ruby
[13:01:23] xall: has joined #ruby
[13:01:53] AndrewIsHere: has joined #ruby
[13:05:37] hipertracker: has joined #ruby
[13:10:41] benlieb: has joined #ruby
[13:12:30] hipertracker: has joined #ruby
[13:12:40] ghr: has joined #ruby
[13:16:12] aryaching: has joined #ruby
[13:22:40] ghr: has joined #ruby
[13:22:41] webus: has joined #ruby
[13:24:16] ia9371: has joined #ruby
[13:24:21] ia9371: has left #ruby: ()
[13:25:25] drptbl: has joined #ruby
[13:25:44] Mon_Ouie: has joined #ruby
[13:28:23] jsaak: has joined #ruby
[13:28:35] zacstewart: has joined #ruby
[13:28:48] isberg: has joined #ruby
[13:32:11] ghr: has joined #ruby
[13:34:46] mrBen2k2k2k: has joined #ruby
[13:36:14] l4v2: has joined #ruby
[13:37:39] ElFerna: has joined #ruby
[13:40:06] harfangk: has joined #ruby
[13:40:48] vpnc: has joined #ruby
[13:42:12] ghr: has joined #ruby
[13:46:43] diegoviola: has joined #ruby
[13:51:13] sepp2k: has joined #ruby
[13:51:42] ghr: has joined #ruby
[13:52:04] rizenine: has joined #ruby
[13:52:39] drewo: has joined #ruby
[13:53:15] karapetyan: has joined #ruby
[13:53:44] pawnbox: has joined #ruby
[13:56:51] xall: has joined #ruby
[13:57:22] pawnbox: has joined #ruby
[13:58:25] hipertracker: has joined #ruby
[13:59:09] xlegoman: has joined #ruby
[13:59:33] karapetyan: has joined #ruby
[14:03:43] ghr: has joined #ruby
[14:03:52] flashpoint9: has joined #ruby
[14:04:26] crystal77: has joined #ruby
[14:08:40] hipertracker: has joined #ruby
[14:09:14] davedev24: has joined #ruby
[14:09:32] spider-mario: has joined #ruby
[14:10:04] webus: has joined #ruby
[14:10:34] davedev24: has joined #ruby
[14:11:52] hipertracker: has joined #ruby
[14:12:20] LoneHerm_: has joined #ruby
[14:13:40] Guest60828: has joined #ruby
[14:13:43] ghr: has joined #ruby
[14:15:42] webus_: has joined #ruby
[14:17:14] fmcgeough: has joined #ruby
[14:18:27] karapetyan: has joined #ruby
[14:21:01] karapetyan: has joined #ruby
[14:23:14] ghr: has joined #ruby
[14:27:14] hutch34: has joined #ruby
[14:29:16] hipertracker: has joined #ruby
[14:29:51] zacstewart: has joined #ruby
[14:30:14] rizenine: has joined #ruby
[14:31:56] karapetyan: has joined #ruby
[14:32:45] ghr: has joined #ruby
[14:35:11] ekinmur: has joined #ruby
[14:35:49] hipertracker: has joined #ruby
[14:36:57] Stoner19: I know very little about Ruby, if anything at all. Can anyone give me the scoop about how to run this on my own server? How involved is it? Is it a simple process? https://open.blockspring.com/blocks/new?clone=cross-team-slack-chat
[14:39:00] karapetyan: has joined #ruby
[14:39:26] doublemalt_: has joined #ruby
[14:39:28] giz|work: has joined #ruby
[14:42:18] ghr: has joined #ruby
[14:42:24] crystal77: has joined #ruby
[14:43:24] aryaching: has joined #ruby
[14:45:58] nankyokusei: has joined #ruby
[14:46:45] drewo: has joined #ruby
[14:46:58] yadobujo: has joined #ruby
[14:48:26] biberu: has joined #ruby
[14:48:49] flashpoint9: has joined #ruby
[14:50:59] xall: has joined #ruby
[14:51:54] yadobujo: has joined #ruby
[14:52:08] benlieb: has joined #ruby
[14:53:46] ghr: has joined #ruby
[14:54:58] flashpoint9: has joined #ruby
[14:56:06] pawnbox: has joined #ruby
[14:58:09] pawnbox: has joined #ruby
[14:59:58] hipertracker: has joined #ruby
[15:02:18] AndrewIsHere: has joined #ruby
[15:02:19] mrBen2k2k2k: has joined #ruby
[15:05:19] ghr: has joined #ruby
[15:05:28] cevett: did you not see this https://www.blockspring.com/blog/enable-cross-team-slack-chat-with-blockspring
[15:07:26] ur5us: has joined #ruby
[15:11:18] benlieb: has joined #ruby
[15:11:50] Stoner19: cevett yes, that is currently how I'm running it, but I'd like to do it on my own servers instead of pay blockspring $10 per month
[15:12:36] pawnbox: has joined #ruby
[15:13:10] benlieb: has joined #ruby
[15:14:47] cevett: It looks like you'll have to roll your own implementation then, it looks like what you posted is blockspring specific
[15:15:57] Stoner19: That's kind of what I thought, but wasn't really sure how it operated. Thanks cevett
[15:16:43] lacce: has joined #ruby
[15:16:47] ghr: has joined #ruby
[15:20:13] bronson: has joined #ruby
[15:20:39] karapetyan: has joined #ruby
[15:28:18] karapetyan: has joined #ruby
[15:28:20] ghr: has joined #ruby
[15:30:34] zacstewart: has joined #ruby
[15:36:06] JeanCarloMachado: has joined #ruby
[15:36:10] codecop: has joined #ruby
[15:36:23] sdothum: has joined #ruby
[15:36:33] ych: has joined #ruby
[15:36:48] bmurt: has joined #ruby
[15:37:48] ghr: has joined #ruby
[15:39:30] mchelen2: has joined #ruby
[15:40:01] futilegames: has joined #ruby
[15:40:45] mchelen2: i'm trying to change the display order of css files in a rails app. any idea where i should look for that?
[15:40:53] drewo: has joined #ruby
[15:41:32] ruby[bot]: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[15:42:18] mchelen2: jhass: ah ok thanks
[15:43:24] KaliLinuxGR: has joined #ruby
[15:44:03] l4v2: has joined #ruby
[15:44:43] aryaching: has joined #ruby
[15:45:16] xall: has joined #ruby
[15:48:42] anisha: has joined #ruby
[15:48:57] colegatron: has joined #ruby
[15:50:19] cevett: anyone used tinytds before? I'm trying to figure out the best way to convert the result object into human readable output
[15:51:08] cevett: i'm getting a hash of columnname => value right now but its ugly
[15:51:31] cevett: the output is an enumerable
[15:52:05] cevett: i need it to be human readable because I'm extending a testing framework that does checks based on stdout
[15:52:56] cevett: if you guys are familiar with serverspec/inspec it basically tests stdout against a regular expression
[15:54:08] futilegames: has joined #ruby
[15:55:19] ghr: has joined #ruby
[15:55:28] giz|work|2: has joined #ruby
[15:55:31] Wildfyr: has joined #ruby
[15:55:31] Wildfyr: has joined #ruby
[15:57:10] diegoviola: has joined #ruby
[15:58:35] diegoviola: has joined #ruby
[16:00:09] jmcc: has joined #ruby
[16:00:22] jmcc: hey can someone help me out with string encoding?
[16:00:30] jmcc: im having an issue
[16:00:49] jmcc: i have two strings that are identical in encoding and contents and printed appearance
[16:00:53] jmcc: but they are unequal
[16:00:56] jmcc: one is a literal
[16:01:00] jmcc: another is from a file
[16:01:21] jmcc: is there a way i can make the string from a file equal to the literal?
[16:03:33] dstarh: has joined #ruby
[16:04:27] benlieb: has joined #ruby
[16:04:50] ghr: has joined #ruby
[16:05:10] ruby[bot]: JmcC: We can't help you without your code, please post it to https://gist.github.com
[16:06:09] gregf: has joined #ruby
[16:06:18] jmcc: ok will do
[16:08:49] thoraxe: has joined #ruby
[16:09:02] joelwallis: has joined #ruby
[16:09:10] davedev24: has joined #ruby
[16:09:34] jmcc: https://gist.github.com/anonymous/a9ea68a5d19d4f9a093d7829a3c29041
[16:11:02] toretore: what is normalize supposed to do?
[16:11:40] pontiki: has joined #ruby
[16:11:47] jmcc: its supposed to make the string as close to a ruby literal as possible
[16:12:01] jmcc: because the string after being read from the file is in some ASCII encoding
[16:12:10] jmcc: and hte normal encode method wasnt working
[16:12:15] jmcc: so i just wrote that to see if it would
[16:12:17] jmcc: and it doesnt
[16:12:32] aryaching: has joined #ruby
[16:12:57] toretore: why is this a problem in the first place?
[16:13:18] jmcc: because my cms does strange things when it gets the string read from a file
[16:13:28] jmcc: but its fine with literals that i put in place for testing
[16:14:09] toretore: what strange things?
[16:14:26] jmcc: for page contents
[16:14:46] jmcc: it turns the nice WISIWIG rich text editor into a plain text textarea
[16:15:01] jmcc: i have no idea why it does this
[16:15:09] jmcc: probably a bug, but i need to work around it
[16:16:02] roamingdog: has joined #ruby
[16:16:20] ghr: has joined #ruby
[16:17:01] toretore: add this to the file and include the output: [html2, html].each{|s| p s; p s.encoding }
[16:17:45] vuoto: has joined #ruby
[16:18:01] jmcc: what the hell
[16:21:46] jmcc: ok i solved everything
[16:21:50] jmcc: thank you very much
[16:22:26] jmcc: it was a combination of the badly documented nature of the CMS and my own lack of code orginization
[16:24:33] aryaching: has joined #ruby
[16:26:51] banisterfiend: has joined #ruby
[16:27:51] ghr: has joined #ruby
[16:28:35] pawnbox: has joined #ruby
[16:28:53] nankyokusei: has joined #ruby
[16:29:45] sepp2k: has joined #ruby
[16:30:31] johnmilton: has joined #ruby
[16:33:31] mchelen2: has left #ruby: ()
[16:34:56] drewo: has joined #ruby
[16:35:04] buddhabrot_: has joined #ruby
[16:38:40] dvinciguerra_: has joined #ruby
[16:39:25] workmad3: has joined #ruby
[16:39:31] xall: has joined #ruby
[16:39:51] ghr: has joined #ruby
[16:47:41] sumobob: has joined #ruby
[16:49:30] AngryBuzzy: has joined #ruby
[16:50:19] xall: has joined #ruby
[16:50:22] ghr: has joined #ruby
[16:54:24] moeabdol1: has joined #ruby
[16:55:41] cZk: has joined #ruby
[16:56:39] cZk: has left #ruby: ("Leaving")
[16:59:52] giz|work|2: has joined #ruby
[16:59:53] ghr: has joined #ruby
[17:07:10] JohnBat26: has joined #ruby
[17:07:28] aryaching: has joined #ruby
[17:09:53] ghr: has joined #ruby
[17:13:34] govg: has joined #ruby
[17:13:54] marr: has joined #ruby
[17:19:22] tristanp: has joined #ruby
[17:19:24] ghr: has joined #ruby
[17:20:24] nankyokusei: has joined #ruby
[17:21:19] bronson: has joined #ruby
[17:21:51] inukshuk: has joined #ruby
[17:24:18] rickmasta: has joined #ruby
[17:25:07] AndrewIsHere: has joined #ruby
[17:26:54] macsteps: has joined #ruby
[17:29:02] drewo: has joined #ruby
[17:29:24] agit0: has joined #ruby
[17:31:07] spudowiar: has joined #ruby
[17:31:18] tristanp: has joined #ruby
[17:31:54] ghr: has joined #ruby
[17:33:16] jmcc: does anyone here use comfy mexican sofa?
[17:33:54] toretore: please tell me that's not the name of a gem
[17:34:14] jmcc: and i must say
[17:34:15] toretore: that's worse than a terrorist attack
[17:34:19] jmcc: im not enjoying using it
[17:37:22] tristanp: has joined #ruby
[17:37:46] ineb: has joined #ruby
[17:39:03] LoneHerm_: has joined #ruby
[17:39:20] Yzguy: has joined #ruby
[17:39:38] toretore: "Rails 4 CMS Engine"
[17:39:41] toretore: yeah, don't use that
[17:41:25] ghr: has joined #ruby
[17:43:19] finnnnnnnnnnn: has joined #ruby
[17:43:20] macsteps: has joined #ruby
[17:44:23] rehat: has joined #ruby
[17:45:40] underplank: has joined #ruby
[17:50:55] ghr: has joined #ruby
[17:51:08] Papierkorb: JmcC: if you insist on using a CMS, check out RefineryCMS
[17:51:32] Papierkorb: JmcC: Though I've never used it, not a fan of CMS's :)
[17:52:51] zacstewart: has joined #ruby
[17:53:56] Guest60828: has joined #ruby
[17:55:11] dionysus69: has joined #ruby
[17:56:42] alfiemax: has joined #ruby
[17:58:43] jmcc: Papierkorb: ill look at it
[17:58:51] jmcc: its just i wanted something really simple
[17:59:00] jmcc: but all the bugs made it anything but
[17:59:03] Papierkorb: JmcC: simple for what?
[17:59:22] jmcc: i basically don't want to have to learn to use the cms
[17:59:26] jmcc: i want to just use it
[17:59:32] jmcc: i hate web development
[17:59:35] jmcc: but im being paid
[17:59:38] Papierkorb: .... wordpress *cough*
[17:59:40] hipertracker: has joined #ruby
[17:59:43] jmcc: i hate php
[17:59:48] jmcc: i actually like ruby
[17:59:53] jmcc: even though im more of a lisp guy
[18:00:04] Papierkorb: I do too, but if you just need a webblog...
[18:00:18] jmcc: this is my summer job lmao
[18:00:50] Papierkorb: to set up a web blog?
[18:00:51] k3rn31: has joined #ruby
[18:00:53] jmcc: i sold my soul
[18:00:56] ghr: has joined #ruby
[18:00:59] jmcc: to make websites
[18:02:25] yfeldblum: has joined #ruby
[18:02:56] Papierkorb: JmcC: it really depends on what you *actually* need to do. Plain Rails isn't too hard either (See #RubyOnRails for that)
[18:03:09] jmcc: i need my clients to be able to edit
[18:03:47] jmcc: otherwise id just do LAMP
[18:03:53] Papierkorb: That's probably possible with every blogging software or CMS in the world I guess
[18:04:04] jmcc: which is why i chose mexican sofa
[18:04:11] jmcc: because its the simplest
[18:04:14] soulisson: has joined #ruby
[18:04:18] jmcc: and it said it wouldnt get in the way
[18:04:24] jmcc: but ive spend like 6 hours on it
[18:04:31] jmcc: and ive just started designing my website
[18:04:58] Papierkorb: in that time, you could've technically coded a reasonable blogging software with rails yourself...
[18:05:09] Papierkorb: Anyway, check out Refinery, and tell me later if it's any good ;)
[18:05:21] soulisson: Hi, guys sorry to bother you, I'm trying to learn about exception and exception handling, I read about it, do you mind if I check with you?
[18:05:32] Papierkorb: soulisson: ask away
[18:06:25] soulisson: Papierkorb, ok, if I understand correctly, an exception is an exceptional event that occurs during program execution, like a division by zero or trying to open a file that doesn't exist
[18:06:28] Yzguy: has joined #ruby
[18:06:36] toretore: every cms in the worls will get in your way JmcC
[18:06:41] Papierkorb: soulisson: sounds about right
[18:07:15] soulisson: and when an exception occurs, the code raises an exception which means passing an exception object to the system, correct?
[18:07:47] Papierkorb: soulisson: define "system"
[18:08:01] soulisson: Papierkorb, the interpreter
[18:08:25] Papierkorb: soulisson: you were looking for 'interpreter' or 'environment' then as word ;)
[18:08:59] Papierkorb: soulisson: But pretty much. In terms of ruby, you use the "raise" method, which you pass the exception object and which then, yes, does exception handling for you
[18:09:27] soulisson: ok, then the interpreter looks for an exception handler which is a piece of code able to handle the exceptional event that occured, correct?
[18:10:26] ghr: has joined #ruby
[18:10:27] Papierkorb: soulisson: Yes. In practice, this "piece of code" is usually higher up in the calling stack
[18:11:33] xxneolithicxx: has joined #ruby
[18:11:43] doublemalt_: has joined #ruby
[18:12:06] soulisson: ok, the exception handler is selected based on the type of the exception object and the type declared in the exception handler?
[18:12:51] Papierkorb: soulisson: Yes, the first matching handler is selected. A matching handler is one where the thrown exception is of the type, or a sub-class of this type, the handler expects.
[18:13:08] codecop: has joined #ruby
[18:14:07] soulisson: Papierkorb, if the exception handler is not found in the current method, the interpreter goes down in the calling stack to find it, if it doesn't find the program is terminated?
[18:15:51] Papierkorb: soulisson: Yes. This is actually the environment itself providing a 'catch all' exception handler, which upon invocation, will usually print the exception information and then terminate the process.
[18:15:53] jmcc: toretore: im like the rasmus lerdof of web development
[18:17:04] Dimik: has joined #ruby
[18:17:37] Papierkorb: soulisson: I'm saying this a bit more complicated to hint at that exceptions are environment local and won't/can't be handled by the operating system
[18:17:44] drewo: has joined #ruby
[18:18:12] mistermocha: has joined #ruby
[18:18:25] soulisson: Papierkorb, thank you very much, sorry for all those questions
[18:18:39] Papierkorb: soulisson: Nothing to apologize for
[18:18:44] Papierkorb: happy to help
[18:19:08] soulisson: Papierkorb, I think that some exceptions are "seen" by the system, think this is the case with SEH on windows iirc
[18:19:16] Mirubiri: has joined #ruby
[18:19:51] roshanavand: has joined #ruby
[18:19:57] ghr: has joined #ruby
[18:19:58] soulisson: but probably not relevant for Ruby :)
[18:22:01] soulisson: last question, is raise actually a method?
[18:22:11] Papierkorb: soulisson: in Ruby, yes it is
[18:22:20] soulisson: Papierkorb, ok, thanks
[18:22:21] Papierkorb: soulisson: You can in fact override it
[18:22:42] chip_: has joined #ruby
[18:22:44] soulisson: oh ok, interesting, thanks
[18:22:57] Papierkorb: Sure a deviation to many other languages, like Java or C++, where the "throw" statement is actually a special keyword
[18:23:49] Hobogrammer: has joined #ruby
[18:24:16] Hobogrammer: has joined #ruby
[18:24:27] rickmasta: has joined #ruby
[18:24:51] chip_: has joined #ruby
[18:25:10] soulisson: Ruby is awesome :)
[18:25:19] soulisson: Bye everyone
[18:25:21] soulisson: has left #ruby: ("Quitte")
[18:25:41] karapetyan: has joined #ruby
[18:26:22] macsteps: has joined #ruby
[18:27:11] Mirubiri: has joined #ruby
[18:27:48] chip_: has joined #ruby
[18:29:57] ghr: has joined #ruby
[18:30:36] chip_: has joined #ruby
[18:32:41] drewo: has joined #ruby
[18:37:30] Yzguy: I'm blanking on what I should do here
[18:37:35] Yzguy: I have this: https://www.dropbox.com/s/v7jfsukxvfkyxpa/Screen%20Shot%202016-07-17%20at%2011.36.22%20AM.png?dl=0
[18:38:04] Yzguy: but I need it to be submitted in a form, so I'm thinking radio buttons behind the scenes
[18:38:21] Yzguy: because I just need one selected.
[18:39:28] Yzguy: woops not that link: http://oi66.tinypic.com/2yzlah5.jpg
[18:40:57] Technodrome: has joined #ruby
[18:41:58] ghr: has joined #ruby
[18:42:46] Guest60828: has joined #ruby
[18:44:24] fredolinhares: has joined #ruby
[18:44:37] AndrewIsHere: has joined #ruby
[18:46:18] Caelum: has joined #ruby
[18:47:23] nando293921: has joined #ruby
[18:50:28] elifoster: has joined #ruby
[18:51:02] enterprisey: has joined #ruby
[18:51:58] dennisvennink: has joined #ruby
[18:52:00] ghr: has joined #ruby
[18:52:17] rickmasta: has joined #ruby
[18:52:22] roamingdog: has joined #ruby
[18:52:37] duoi: has joined #ruby
[18:52:49] xall: has joined #ruby
[18:54:14] enterprisey: has joined #ruby
[18:54:33] hipertracker: has joined #ruby
[18:54:35] zacstewart: has joined #ruby
[18:55:48] nankyokusei: has joined #ruby
[18:56:35] xall: has joined #ruby
[18:56:52] futilegames: has joined #ruby
[18:57:46] nando293921: has joined #ruby
[18:58:59] sleepee: has joined #ruby
[18:59:56] ekinmur: has joined #ruby
[19:03:19] LoneHermit: has joined #ruby
[19:05:15] floatingpoint: has joined #ruby
[19:06:41] cdg: has joined #ruby
[19:07:05] ghr: has joined #ruby
[19:08:07] ineb: has joined #ruby
[19:09:33] mrmortondk: has joined #ruby
[19:11:26] nofxx: has joined #ruby
[19:12:44] hipertracker: has joined #ruby
[19:13:23] angseus: has joined #ruby
[19:13:24] joes: has joined #ruby
[19:13:24] bob_f: has joined #ruby
[19:13:24] DefV: has joined #ruby
[19:13:25] lianj: has joined #ruby
[19:13:25] gypsydave5: has joined #ruby
[19:13:25] Papierkorb: has joined #ruby
[19:13:25] reaVer: has joined #ruby
[19:13:25] eam: has joined #ruby
[19:13:26] saltsa: has joined #ruby
[19:13:26] lianj: has joined #ruby
[19:13:26] SirCmpwn: has joined #ruby
[19:13:27] raldu: has joined #ruby
[19:13:32] gregf_: has joined #ruby
[19:13:32] skakri: has joined #ruby
[19:13:32] Paradox: has joined #ruby
[19:13:32] elaptics`away: has joined #ruby
[19:13:33] \13k: has joined #ruby
[19:13:33] Mr_Pancake: has joined #ruby
[19:13:34] DEac-: has joined #ruby
[19:13:35] spider-mario: has joined #ruby
[19:13:35] user12: has joined #ruby
[19:13:36] framling: has joined #ruby
[19:13:36] guacamole: has joined #ruby
[19:13:37] magicien: has joined #ruby
[19:13:40] tabakhase: has joined #ruby
[19:13:40] tris: has joined #ruby
[19:13:41] Mia: has joined #ruby
[19:13:41] Mia: has joined #ruby
[19:13:42] varesa: has joined #ruby
[19:13:42] Veejay: has joined #ruby
[19:13:43] MEATCHICKEN: has joined #ruby
[19:13:43] majjoha: has joined #ruby
[19:13:43] xybre: has joined #ruby
[19:13:43] daffy_duck: has joined #ruby
[19:13:44] hogetaro: has joined #ruby
[19:13:44] hakunin: has joined #ruby
[19:13:47] yadobujo: has joined #ruby
[19:13:47] soulcutter: has joined #ruby
[19:13:47] Asher: has joined #ruby
[19:13:48] maxmanders: has joined #ruby
[19:13:52] FifthWall: has joined #ruby
[19:13:54] halfdan: has joined #ruby
[19:13:55] codecop: has joined #ruby
[19:13:55] Thai_: has joined #ruby
[19:13:56] davidmichaelkarr: has joined #ruby
[19:14:06] samuelkadolph: has joined #ruby
[19:14:09] hplar: has joined #ruby
[19:14:15] Mon_Ouie: has joined #ruby
[19:14:18] programmerq: has joined #ruby
[19:14:20] M-mistake: has joined #ruby
[19:14:23] ereslibre: has joined #ruby
[19:14:24] Utkarsh_: has joined #ruby
[19:14:25] knight_: has joined #ruby
[19:14:29] Platini: has joined #ruby
[19:14:30] sepp2k: has joined #ruby
[19:14:30] KnownSyntax: has joined #ruby
[19:14:30] KnownSyntax: has joined #ruby
[19:14:30] tristanp: has joined #ruby
[19:15:10] Es0teric: has joined #ruby
[19:15:18] zel: has joined #ruby
[19:15:26] Elvin: has joined #ruby
[19:15:36] last_staff: has joined #ruby
[19:16:09] Nuck: has joined #ruby
[19:16:12] benlieb: has joined #ruby
[19:17:30] ghr: has joined #ruby
[19:17:39] tristanp: has joined #ruby
[19:17:41] nankyokusei: has joined #ruby
[19:19:53] bluntman: has joined #ruby
[19:21:44] alxgsv: has joined #ruby
[19:22:50] flashpoint9: has joined #ruby
[19:23:36] hahuang65: has joined #ruby
[19:23:42] nando293921: has joined #ruby
[19:24:01] mtkd: has joined #ruby
[19:26:40] aibot: has joined #ruby
[19:27:07] nando293921: has joined #ruby
[19:28:05] Tachikomas: has joined #ruby
[19:29:24] flashpoint9: has joined #ruby
[19:29:31] ghr: has joined #ruby
[19:29:44] mistermocha: has joined #ruby
[19:33:07] LoneHerm_: has joined #ruby
[19:33:24] Elvin: has joined #ruby
[19:33:37] chip_: has joined #ruby
[19:35:11] drewo: has joined #ruby
[19:36:27] GnuYawk: has joined #ruby
[19:39:00] GnuYawk: has left #ruby: ()
[19:39:43] GnuYawk: has joined #ruby
[19:40:49] pawnbox: has joined #ruby
[19:40:54] moeabdol1: has joined #ruby
[19:41:02] ghr: has joined #ruby
[19:41:50] User458764: has joined #ruby
[19:42:29] User458764: has joined #ruby
[19:42:53] vuoto: has joined #ruby
[19:43:58] User458764: has joined #ruby
[19:44:52] User458764: has joined #ruby
[19:45:11] David27: has joined #ruby
[19:45:42] GnuYawk: has left #ruby: ()
[19:45:48] crystal77: has joined #ruby
[19:45:48] symm-: has joined #ruby
[19:45:53] teoric: has joined #ruby
[19:45:57] GnuYawk: has joined #ruby
[19:46:51] jakkn_: has joined #ruby
[19:48:01] Coldblackice: has joined #ruby
[19:49:28] Azure: has joined #ruby
[19:49:40] drewo: has joined #ruby
[19:49:59] naftilos76: has joined #ruby
[19:50:58] mattwashere: has joined #ruby
[19:51:39] AndrewIsHere: has joined #ruby
[19:53:58] moeabdol2: has joined #ruby
[19:54:54] zacstewart: has joined #ruby
[19:54:57] futilegames: has joined #ruby
[19:56:32] ghr: has joined #ruby
[19:56:47] ur5us: has joined #ruby
[19:58:55] futilegames: has left #ruby: ()
[19:59:01] moeabdol3: has joined #ruby
[19:59:21] dionysus69: has joined #ruby
[19:59:22] jakkn_: has joined #ruby
[20:01:33] mattwashere: has joined #ruby
[20:06:21] maloik: has joined #ruby
[20:06:44] drewo: has joined #ruby
[20:07:03] ghr: has joined #ruby
[20:08:38] leea: has joined #ruby
[20:10:28] solars: has joined #ruby
[20:11:42] edwinvdgraaf: has joined #ruby
[20:11:59] rhg135: has joined #ruby
[20:12:34] mattwashere: has joined #ruby
[20:19:31] Yzguy: has joined #ruby
[20:19:44] ekinmur: has joined #ruby
[20:20:04] ghr: has joined #ruby
[20:20:50] hipertracker: has joined #ruby
[20:26:24] roamingdog: has joined #ruby
[20:27:40] mattwashere: has joined #ruby
[20:30:07] ghr: has joined #ruby
[20:31:22] ur5us: has joined #ruby
[20:31:34] ellisTAA: has joined #ruby
[20:32:13] ellisTAA: im trying to learn C, anyone know if ‘static int users = 10;’ is the same as @user = 10 in ruby?
[20:32:55] Papierkorb: ellistaa: C does not have classes
[20:32:59] Mirubiri: has joined #ruby
[20:33:39] ellisTAA: ok but in ruby @ allows u to preserve value across calls
[20:33:47] Papierkorb: ellistaa: 'static' in C creates a scoped, global variable, which is 'created' upon program start and only destroyed when the program ends
[20:33:50] ellisTAA: u dont need a class to use @
[20:34:16] ellisTAA: so it is like @
[20:34:28] shevy: did not Papierkorb just explain that it is closer to $
[20:34:34] Papierkorb: ellistaa: What I mean is, if you put that static line there in the .c file on the global scope, you get a *application global* variable. If you put it inside a function, only that function has access to it
[20:34:51] ellisTAA: oh ok so its a bit dif
[20:35:48] ellisTAA: so its like $ but its also scoped
[20:36:08] Papierkorb: ellistaa: reread what I just wrote to understand what I mean with 'scoped'
[20:36:29] Papierkorb: Rubys $vars are the closest relative, but there's no 100% equivalent in both languages
[20:36:39] postmodern: has joined #ruby
[20:36:41] ellisTAA: if i dont use static then the variable does not get saved across function calls
[20:36:45] joncol: has joined #ruby
[20:36:48] joncol: Hi, I'm doing a little tool that processes a yaml file and creates a PDF file from this. I want the user to supply the yaml file via a web page (I've got this part working with a Sinatra app in Ruby.) But how should I go about returning the produced PDF file to the client? The yaml file is uploaded via a POST request, so I cannot (?) use that to return the produced PDF...?
[20:37:16] Papierkorb: ellistaa: Well, you store that in some object. It's like storing everything inside a $global variable in your ruby script.
[20:37:26] ellisTAA: interesante
[20:37:26] Papierkorb: ellistaa: it's equally ugly, and usually not what you want
[20:38:06] Papierkorb: joncol: the POST request can totally respond with a resposne body, which can be the generated PDF file
[20:38:07] postmodern: when using webmock to test Net::HTTP heavy libraries, should one write a stub app and forward all requests to it with .to_rack(), or stub each individual request/response?
[20:38:34] Papierkorb: joncol: However, YAML could be a huge security issue. If possible, use JSON.
[20:40:15] joncol: Papierkorb: Cool, so the sinatra function with the route can just return a "blob" of the PDF data?
[20:40:48] Papierkorb: joncol: Yes. Make sure to set the 'Content-Type' in the response to 'application/pdf' too
[20:40:56] joncol: Papierkorb: What's the big security risk with YAML vs JSON?
[20:41:26] Papierkorb: joncol: It's not that YAML is insecure by itself. But, rubys YAML parser allows to effectively instantiate any ruby class in the program
[20:41:30] tAn: has joined #ruby
[20:42:08] joncol: Papierkorb: Cool. I'm only using Ruby for the Web-stuff. The tool itself is written in Haskell.
[20:42:09] monoprotic: has joined #ruby
[20:42:09] monoprotic: has joined #ruby
[20:42:11] Papierkorb: joncol: Which an attacker could use to for DoS attacks, or if you get really unlucky, to somehow steal data, own your system, and such. It quickly becomes a RCE
[20:42:28] Papierkorb: joncol: Is the YAML passed through *unparsed*?
[20:42:56] joncol: I'm parsing the YAML using Haskell.
[20:42:57] Papierkorb: joncol: is the Haskell app secured against that? And, it's just uncommon for HTTP APIs to use YAML over JSON ;)
[20:43:59] joncol: Btw, what is RCE?
[20:44:13] Papierkorb: joncol: Make sure that Sinatra does not parse the YAML for you either. If you don't need YAMLs advanced features, JSON would be less of an headache
[20:45:01] joncol: Papierkorb: OK, thanks for your help
[20:45:02] Papierkorb: RCE: Remote Code Execution, a class of vulnerabilities which enable an attacker to run code of some form on a server through a network connection
[20:47:45] Cohedrin: has joined #ruby
[20:48:05] ghr: has joined #ruby
[20:48:17] yadobujo: has joined #ruby
[20:55:41] zacstewart: has joined #ruby
[20:57:36] ghr: has joined #ruby
[20:57:47] mattwashere: has joined #ruby
[21:02:40] mistermocha: has joined #ruby
[21:02:47] KaliLinuxGR: has joined #ruby
[21:03:48] sumobob: has joined #ruby
[21:04:41] GnuYawk: has joined #ruby
[21:05:57] hipertracker: has joined #ruby
[21:07:06] ghr: has joined #ruby
[21:07:13] kavanagh: has joined #ruby
[21:10:48] ericsupreme: has joined #ruby
[21:14:44] SCHAAP137: has joined #ruby
[21:15:47] Nanuq: has joined #ruby
[21:16:37] ghr: has joined #ruby
[21:17:26] AngryBuzzy: has joined #ruby
[21:17:51] p0p0pr37_: has joined #ruby
[21:17:57] xall: has joined #ruby
[21:18:35] nankyokusei: has joined #ruby
[21:20:27] johnmilton: has joined #ruby
[21:25:19] karapetyan: has joined #ruby
[21:29:37] zacts: has joined #ruby
[21:29:43] ghr: has joined #ruby
[21:39:08] ghr: has joined #ruby
[21:39:22] zacstewart: has joined #ruby
[21:39:59] DevMagpie: has joined #ruby
[21:40:35] hipertracker: has joined #ruby
[21:40:41] KaliLinuxGR: has joined #ruby
[21:40:50] vdamewood: has joined #ruby
[21:41:28] mistermocha: has joined #ruby
[21:43:18] roamingdog: has joined #ruby
[21:48:03] yqt: has joined #ruby
[21:50:36] mozzarella: has joined #ruby
[21:51:09] ghr: has joined #ruby
[21:51:31] zacts: hi rubyists
[21:53:31] niko79542: has joined #ruby
[21:55:16] flashpoint9: has joined #ruby
[21:55:48] alfiemax: has joined #ruby
[21:57:47] nettoweb: has joined #ruby
[21:59:23] karapetyan: has joined #ruby
[22:01:09] ghr: has joined #ruby
[22:03:52] crystal77: has joined #ruby
[22:04:10] cd-rum: has joined #ruby
[22:04:37] niko79542: hi guys, I have a bubble sort method that takes an optional block, or just uses '{ |a, b| a <=> b }' to sort. Is there any way to put lines 7-12 in a helper function so bubble sort function isn't so long? https://gist.github.com/niko79542/002809019aae7181a9a8de057077f175?
[22:11:10] ghr: has joined #ruby
[22:11:42] mistermocha: has joined #ruby
[22:11:54] vF3hNGxc47h8: has joined #ruby
[22:12:01] Mon_Ouie: I would define the function as bubble_sort!(&block), and start by doing block ||= proc { |a, b| a <=> b }
[22:12:16] xall: has joined #ruby
[22:12:54] niko79542: Ok thanks! I'll retry it that way
[22:14:35] Canucktux: has joined #ruby
[22:15:15] flashpoint9: has joined #ruby
[22:16:27] JeanCarloMachado: has joined #ruby
[22:17:44] Cohedrin: has joined #ruby
[22:22:35] Technodrome: has joined #ruby
[22:23:31] rickmasta: has joined #ruby
[22:24:10] ghr: has joined #ruby
[22:24:23] enterprisey: has joined #ruby
[22:28:54] vinleod: has joined #ruby
[22:31:15] CybrGhost: has joined #ruby
[22:31:24] chipotle: has joined #ruby
[22:33:43] zenlot: has joined #ruby
[22:34:11] ghr: has joined #ruby
[22:34:38] dvinciguerra_: has joined #ruby
[22:40:16] Parko: has joined #ruby
[22:40:19] nankyokusei: has joined #ruby
[22:43:35] ReK2: has joined #ruby
[22:44:11] ghr: has joined #ruby
[22:44:29] dgynn_: has joined #ruby
[22:45:33] astrobun_: has joined #ruby
[22:45:51] rickmasta: has joined #ruby
[22:52:24] solars: has joined #ruby
[22:53:45] coffeecupp: has joined #ruby
[22:55:21] EXCHGR: has joined #ruby
[22:58:18] ghr: has joined #ruby
[23:04:36] minimalism: has joined #ruby
[23:05:47] yfeldblum: has joined #ruby
[23:06:10] yorickpeterse: has joined #ruby
[23:06:24] xall: has joined #ruby
[23:07:43] ghr: has joined #ruby
[23:11:14] LoneHerm_: has joined #ruby
[23:13:06] duoi: has joined #ruby
[23:17:13] ghr: has joined #ruby
[23:19:08] ruby[bot]: -bb $a:k4ppa123$#ruby-banned k4ppa123!*@*$#ruby-banned
[23:19:35] colegatron: has joined #ruby
[23:19:52] crystal77: has joined #ruby
[23:20:21] roamingdog: has joined #ruby
[23:22:08] ruby[bot]: -b mikespears!*@*$#ruby-banned
[23:22:46] hipertracker: has joined #ruby
[23:22:48] CloCkWeRX: has joined #ruby
[23:24:05] bronson: has joined #ruby
[23:25:32] matp: has joined #ruby
[23:27:14] ghr: has joined #ruby
[23:28:27] `tim`: has joined #ruby
[23:28:43] AngryBuzzy: has joined #ruby
[23:28:45] GnuYawk: has joined #ruby
[23:29:17] crystal77: has joined #ruby
[23:31:15] LuckyABA: has joined #ruby
[23:36:40] xall: has joined #ruby
[23:36:44] ghr: has joined #ruby
[23:45:35] rickmasta: has joined #ruby
[23:46:06] Guest60828: has joined #ruby
[23:46:15] ghr: has joined #ruby
[23:46:29] leea: has joined #ruby
[23:46:43] roamingdog: has joined #ruby
[23:47:39] GnuYawk: has joined #ruby
[23:48:07] banisterfiend: has joined #ruby
[23:50:49] GnuYawk: has joined #ruby
[23:52:31] flashpoint9: has joined #ruby
[23:55:08] flashpoint9: has joined #ruby
[23:58:16] ghr: has joined #ruby