« Back to channel list

#ruby - 20 June 2015

« Back 1 day Forward 1 day »
[00:00:22] al2o3-cr: seems to work
[00:01:05] Apocalypse: has joined #ruby
[00:01:05] Apocalypse: has joined #ruby
[00:01:06] baweaver: has joined #ruby
[00:01:16] acovrig: al2o3-cr: interesting, is there a way to raw print a string (I???m wondering if there is a character that isn???t printing and therefore didn???t get copied into the IRC)?
[00:02:14] al2o3-cr: acovrig: do "yuorsting".bytes a paste it here
[00:02:46] acovrig: al2o3-cr: I???m getting the string from .split(???\n???).each do |tag| tag.strip! tag.inspect
[00:03:46] al2o3-cr: acovrig: ah i see you problem you got other whitespace in you string
[00:03:52] acovrig: it???s an array? no implicit conversion of Array into String, interesting
[00:03:59] scottschecter: has joined #ruby
[00:04:15] acovrig: al2o3-cr: shouldn???t I see that it is an array with .inspect?
[00:04:24] s2013: has joined #ruby
[00:04:52] acovrig: al2o3-cr: is there something like PHP???s var_dump?
[00:05:20] weaksauce: acovrig what's var_dump do
[00:05:29] simplyianm: has joined #ruby
[00:06:04] acovrig: weaksauce: it pretty-prints a variable, string, array, object, whatever (http://php.net/manual/en/function.var-dump.php)
[00:06:10] al2o3-cr: you've got \xC0 and \xA0 in there
[00:06:14] choke: prints out an array or something in an ugly way, i think the rails variant in a controller would be puts
[00:06:40] weaksauce: well ruby has pretty print
[00:06:45] sharpmachine: has joined #ruby
[00:06:48] fabrice31: has joined #ruby
[00:06:50] acovrig: weaksauce: of an array?
[00:07:24] weaksauce: well pp works but awesome_print is better
[00:07:39] weaksauce: http://www.rubyinside.com/awesome_print-a-new-pretty-printer-for-your-ruby-objects-3208.html
[00:08:28] al2o3-cr: acovrig: this is the string you pasted to irc
[00:08:38] choke: I added the pry gem to my projects -- but I hate testing stuff in the browser and what not so by putting "binding.pry" somewhere in my code i can inspect the outputs within the terminal which i like
[00:08:45] al2o3-cr: >> "coyote ??".bytes
[00:08:46] ruboto: al2o3-cr # => [99, 111, 121, 111, 116, 101, 32, 194, 160] (https://eval.in/384621)
[00:09:31] weaksauce: acovrig I use p usually when I want to see exactly what something is.
[00:10:17] workmad3: has joined #ruby
[00:10:33] choke: although ap looks interesting too... think i'll install that and play around with it.... nice mention
[00:10:52] C1V0: has joined #ruby
[00:11:08] acovrig: al2o3-cr: tag.bytes returns 99 111 121 111 116 101 32 194 160 (I had it in the same puts as tag itself
[00:11:54] pragmatism: has joined #ruby
[00:13:59] flycatcher: has joined #ruby
[00:14:27] mjmac: has joined #ruby
[00:15:11] baweaver: has joined #ruby
[00:15:38] al2o3-cr: acovrig: "coyote ??".gsub(/\W/, "")
[00:16:29] al2o3-cr: >> "coyote ??".strip
[00:16:30] ruboto: al2o3-cr # => "coyote ??" (https://eval.in/384622)
[00:16:37] al2o3-cr: >> "coyote ??".gsub(/\W/, "")
[00:16:38] ruboto: al2o3-cr # => "coyote" (https://eval.in/384623)
[00:19:10] acovrig: al2o3-cr: yay, that did it, thanks; what did you do to ???decode??? the bytes?
[00:20:25] j4cknewt: has joined #ruby
[00:20:39] acovrig: and can I do var_name += ???string??? to append ???string??? to var_name, or do I need to do var_name = var_name + ???string????
[00:21:27] weaksauce: >> x="test"; x+="this"; x
[00:21:28] ruboto: weaksauce # => "testthis" (https://eval.in/384624)
[00:22:14] casadei: has joined #ruby
[00:22:18] weaksauce: acovrig be careful with strings and the plus sign though. nil + "this" would error
[00:22:25] acovrig: Ooh, different channels have differnet bots, I like the code exec one :)
[00:23:01] acovrig: weaksauce: yea, I presume it not to be an issue given just before the loop I have var_name = ??????
[00:23:02] weaksauce: in general string interpolation is safer. x = "test"; y = "#{x}this"
[00:23:46] weaksauce: acovrig and it's usually not very idiomatic ruby to initialize things like that. if you gist your code people can help you
[00:24:13] rbennacer: has joined #ruby
[00:24:43] weaksauce: >> ["coyote ", "ugly "].map {|x| x.strip}.join(" ")
[00:24:44] ruboto: weaksauce # => "coyote ugly" (https://eval.in/384625)
[00:26:24] weaksauce: map and join would perhaps be faster because it's calling native c code and doesn't instantiate a bunch of strings during the iterations.
[00:26:46] al2o3-cr: acovrig: actually better doing this .gsub(/[[:space:]]/, "")
[00:26:53] hazelux: has joined #ruby
[00:28:10] jfarmer: acovrig What are you trying to do?
[00:28:12] reset: has joined #ruby
[00:28:26] lupine: progressively adding strings is pathological to the GC
[00:28:52] simplyianm: has joined #ruby
[00:30:38] acovrig: jfarmer, weaksauce: https://gist.github.com/acovrig/831d6c0e523f8f57ff3c
[00:30:52] weaksauce: >> x="test"; id=x.object_id; x += "that"; [id,x.object_id]
[00:30:53] ruboto: weaksauce # => [551041720, 551042370] (https://eval.in/384626)
[00:31:15] robustus: has joined #ruby
[00:31:19] al2o3-cr: acovrig: change .gsub!(/\W/, "") with .gsub(/[[:space:]]/, "")
[00:31:46] weaksauce: >> x="test"; id=x.object_id; x << "that"; [id,x.object_id]
[00:31:47] ruboto: weaksauce # => [540490430, 540490430] (https://eval.in/384627)
[00:32:03] weaksauce: I suppose that's less rough on the GC
[00:34:22] jfarmer: acovrig https://gist.github.com/jfarmer/3ced88791611dbeb235e ?
[00:34:46] jfarmer: acovrig Do you have control over the markup you're parsing?
[00:36:41] mahtennek: has joined #ruby
[00:39:00] yaw: has joined #ruby
[00:39:14] pontiki: has joined #ruby
[00:40:29] senayar: has joined #ruby
[00:41:29] bgmarx_: has joined #ruby
[00:47:06] dgutierrez1287: has joined #ruby
[00:48:06] datanoise: has joined #ruby
[00:48:23] luckyme: has joined #ruby
[00:48:51] segfalt: has joined #ruby
[00:49:56] GitGud: has joined #ruby
[00:50:18] mcclurmc: has joined #ruby
[00:52:26] drewo: has joined #ruby
[00:53:12] rgb-one: has joined #ruby
[00:53:30] ndrei: has joined #ruby
[00:54:06] rafaelsales: has joined #ruby
[00:55:09] fgo: has joined #ruby
[00:56:03] eggoez: has joined #ruby
[00:56:57] rgb-one: Majority of you guys have made use of bundler right?
[00:57:23] pontiki: is this a poll?
[00:57:34] rgb-one: something like it
[00:57:50] Nilium: I tried it once then decided not to.
[00:58:08] rgb-one: How did you learn to use it?
[00:58:15] RegulationD: has joined #ruby
[00:58:29] pontiki: reading the documentatino
[00:58:31] Nilium: By looking at the site and going "wow this documentation sucks" and then looking at someone else's project.
[00:58:34] pontiki: reading many Gemfiles
[00:58:52] slawrence00: has joined #ruby
[00:59:14] weaksauce: Nilium what are you using? bunlder seems to be the de facto standard really
[00:59:23] Creede: has joined #ruby
[00:59:28] Nilium: I use Ruby for shell scripting.
[00:59:39] Nilium: Or in place of it, rather.
[00:59:40] rgb-one: What issues do you have with the bundler documentation Nilium?
[00:59:41] weaksauce: do you use gems?
[00:59:57] Nilium: rgb-one: General lack of organization and explanation for everything.
[01:00:12] dopie: has joined #ruby
[01:00:12] Nilium: weaksauce: Yes, but I don't need to care about distributing them to other people.
[01:00:17] Nilium: s/them/my scripts/
[01:00:59] rgb-one: Nilium: When did you last use bundler?
[01:01:10] Nilium: About three weeks ago.
[01:01:10] weaksauce: I'd be unhappy when I had to reinstall ruby and installing all the gems by hand
[01:01:32] Nilium: Why do it by hand?
[01:01:33] GitGud: has joined #ruby
[01:01:34] weaksauce: and the eventual version conflicts.
[01:01:57] Nilium: Version conflicts are a sign that you need to update anyway.
[01:02:37] rgb-one: On the first page there is a getting started guide and links to other relevant documentation, Were these not clear enough and in what way?
[01:02:50] pontiki: must be taking a poll
[01:02:54] weaksauce: well if you have a script that works with library x at version 1.0 and the gem maintainer made breaking changes with it in version 2.0. that's a problem
[01:02:59] Nilium: If you want to do a poll, set up a Google Doc or something for it.
[01:03:15] rgb-one: Good idea :)
[01:03:24] Nilium: That said, I don't use Ruby for anything other than small tool scripts. By the time something's hideously outdated, it probably doesn't matter.
[01:03:37] rgb-one: in the meantime this ruby channel is my audience
[01:04:34] quimrstorres: has joined #ruby
[01:04:55] Nilium: Chances are that if I'm going to make a long-term thing, it's going to be a gem.
[01:05:11] Nilium: I just can't find a use for bundler.
[01:05:32] Cust0sLim3n: has joined #ruby
[01:05:55] rgb-one: Nilium: What is bundler in your own words?
[01:06:14] Nilium: Well, it's not a replacement for google docs.
[01:06:21] rgb-one: Nilium: haha
[01:06:56] Nilium: Seeing as it's a poll, now I just want to know what the goal is.
[01:07:11] rgb-one: To improve the documentation
[01:08:52] wallerdev2: has joined #ruby
[01:09:06] Nilium: By the way, someone ban nambiz
[01:09:12] Nilium: It's a spambot
[01:09:35] al2o3-cr: oh, yeah was gonna mention that before good call
[01:09:37] michaeldeol: has joined #ruby
[01:09:48] al2o3-cr: spamming me with goldfish
[01:12:13] malconis: has joined #ruby
[01:12:18] rgb-one: I guess I will work on a poll and post it on reddit or something
[01:12:26] rgb-one: Thanks for the idea
[01:12:37] codingstream: has joined #ruby
[01:13:18] codingstream: Is there a way to do @@foo ||= value when @@foo has not already been defined in the class?
[01:15:36] heftig: codingstream: explain some more?
[01:15:56] Asher: has joined #ruby
[01:16:38] codingstream: heftig: instead of having to do: class Example; @@foo = 'value'; end, I'd like to not have to define @@foo first
[01:16:51] gambl0re: has joined #ruby
[01:18:15] nofxxx: In rake if I got rule 'a' => 'b' { |t| I can get 'a' with t.name, how to get 'b' ?
[01:19:39] Igorshp: has joined #ruby
[01:19:41] heftig: codingstream: and what value should it have?
[01:20:29] Oog: has joined #ruby
[01:23:05] jfarmer: codingstream First, you almost never want to use class variables, so the fact that you're using them likely means there's something more basic off about your approach to whatever problem you're trying to solve.
[01:23:25] sphex: hey. what would be the recommended way to localize ruby programs?
[01:23:28] jfarmer: codingstream But in general, the solution is to use a method and not reference the (class/instance) variable directly
[01:23:47] jfarmer: def foo; @foo ||= 'default_value'; end
[01:23:59] jfarmer: def foo=(val); @foo = val; end
[01:24:03] nofxxx: sphex, i18n gem is nice
[01:24:23] jfarmer: Then you can just call foo freely without having to think about whether the @foo variable is initialized
[01:24:29] unshadow: has joined #ruby
[01:24:52] sphex: nofxxx: alright. thanks
[01:25:30] nofxxx: answer to my question t.source
[01:25:49] codingstream: jfarmer: I have a bunch of classes and I'm taking advantage of Module#name for mapping to some HTTP paths, but need to override it in a few instances
[01:26:31] yoongkang: has joined #ruby
[01:26:39] mattarse: has joined #ruby
[01:26:51] codingstream: jfarmer: I'd like to do this at the class level, not instance level
[01:27:09] jfarmer: codingstream Nevertheless, you almost certainly don't want a class variable.
[01:27:12] saadq: has joined #ruby
[01:27:18] jfarmer: You can have instance variables at the class level, too, which is usually what you want.
[01:27:44] jfarmer: But this is all abstract; I can't recommend a course of action without having more context.
[01:27:44] codingstream: jfarmer: ah, I see. I think that will solve this perfectly then
[01:28:07] codingstream: jfarmer: thanks!
[01:28:58] GlenK_: has joined #ruby
[01:29:40] al2o3-cr: has joined #ruby
[01:30:53] Kneecaps: has joined #ruby
[01:31:26] yaw: has joined #ruby
[01:31:50] coderhs: has joined #ruby
[01:32:49] blue_deref: has joined #ruby
[01:33:00] havenwood: has joined #ruby
[01:33:10] Kneecaps: has left #ruby: ()
[01:33:10] serivichi: has joined #ruby
[01:36:24] choke: has joined #ruby
[01:37:22] dopie: has joined #ruby
[01:38:21] pygospa: has joined #ruby
[01:40:11] cbz: has joined #ruby
[01:45:35] jrunning: has left #ruby: ()
[01:46:34] hazelux: can anyone help me out with this issue? has_many :through is biting me. Thanks guys! https://gist.github.com/maxcodes/7c752c3c68b5b39faa80
[01:46:42] ItSANgo__: has joined #ruby
[01:50:28] havenwood: ?rails hazelux
[01:50:28] ruboto: hazelux, Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[01:51:25] havenwood: hazelux: Rails is probably the better channel to ask. :)
[01:51:38] charliesome: has joined #ruby
[01:52:23] cbz: has joined #ruby
[01:53:20] bkxd: has joined #ruby
[01:54:11] sevenseacat: has joined #ruby
[01:54:50] auzty: has joined #ruby
[01:55:34] fabrice31: has joined #ruby
[01:57:51] msnyon: has joined #ruby
[01:59:24] dfockler: has joined #ruby
[02:01:19] jtdoncas: has joined #ruby
[02:01:55] sarkyniin: has joined #ruby
[02:02:16] sigurding: has joined #ruby
[02:03:22] Rollabunna: has joined #ruby
[02:04:04] rafaelsales: has joined #ruby
[02:04:05] darkf: has joined #ruby
[02:04:50] rafaelsales: has joined #ruby
[02:06:18] sphex: hey. so what would be a good way to get a localized strftime()?
[02:08:15] Kneecaps: has joined #ruby
[02:09:46] RegulationD: has joined #ruby
[02:09:58] Rollabunna: has joined #ruby
[02:10:30] Musashi007: has joined #ruby
[02:10:56] senayar: has joined #ruby
[02:11:22] casadei: has joined #ruby
[02:11:25] flycatcher: has joined #ruby
[02:11:36] simplyianm: has joined #ruby
[02:11:59] dopie: has joined #ruby
[02:14:04] iamninja: has joined #ruby
[02:14:30] Forgetful_Lion: has joined #ruby
[02:15:17] Al3ks_: has joined #ruby
[02:15:51] jfarmer: sphex Did you read the first page at https://www.google.com/search?q=strftime+local+time+ruby ?
[02:15:58] Senjai: sphex: DateTime.now.strftie
[02:16:32] sphex: it says these are locale-independent
[02:16:47] Senjai: DateTime.now represents system time
[02:16:55] Senjai: DateTime.current represents UTC-0
[02:17:53] sphex: Senjai: I mean "locale", not local. as in translated in the current locale's language.
[02:19:38] jfarmer: I'm not sure what you mean.
[02:20:06] sphex: regular libc's strftime() is localized, but ruby disables that (prolly to not have to deal with encoding-related portability issues (perl has these)), but.. I'd like it back :p
[02:20:12] al2o3-cr: has joined #ruby
[02:20:18] Senjai: sphex: Strftime shouldnt be language dependent, is it?
[02:20:25] idafyaid: has joined #ruby
[02:20:28] Senjai: sphex: You can use I18n.l
[02:20:44] Senjai: and use that to format times
[02:20:46] jfarmer: I'm having a hard time imagining what a "localized" time would be.
[02:20:57] Senjai: across certain languages
[02:21:04] acovrig: jfarmer: I went AFK; yes that looks nice, no I don???t have controll of the input I???m parsing; background: this was PHP and I???m new to ruby and figured I???d try switching it to ruby, so I???m probably horribly inefficient.
[02:21:14] jfarmer: Like, if your locale were set to Japanese it'd print out 2015???6???19????
[02:21:18] jfarmer: For today's date?
[02:21:19] comm64x: has joined #ruby
[02:21:28] sphex: jfarmer: vendredi, le 19 juin
[02:21:34] comm64x: is there a rails specific channel
[02:21:41] jfarmer: comm64x #rubyonrails
[02:21:41] havenwood: ?rails comm64x
[02:21:41] ruboto: comm64x, Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[02:22:10] comm64x: ruboto: ty
[02:22:14] comm64x: has left #ruby: ()
[02:23:41] sphex: jfarmer: mostly I want localized day and month names. I'm used to just get them from strftime(). I'm gonna look into i18n then I guess. I was hoping it wouldn't be necessary. :/
[02:24:33] lupine: sphex, you could always use ffi
[02:25:06] jfarmer: sphex http://ruby-doc.org/core-2.2.0/Time.html#method-i-strftime
[02:25:28] lupine: (I don't know what the localisation disablement looks like)
[02:26:14] sphex: lupine: oh ok. sounds a bit hard core, heh.
[02:26:28] kotk: has joined #ruby
[02:27:26] jfarmer: sphex http://ruby-doc.org/stdlib-1.9.3/libdoc/date/rdoc/DateTime.html#method-i-strftime
[02:27:27] havenwood: sphex: An aside, but: http://strftimer.com/
[02:27:34] jfarmer: > This method is similar to strftime() function defined in ISO C and POSIX. Several directives (%a, %A, %b, %B, %c, %p, %r, %x, %X, %E*, %O* and %Z) are locale dependent in the function. However this method is locale independent.
[02:27:41] sphex: so far I was planning to use one of the gettext modules rather than i18n/r18n. I much prefer to have english strings in the program, then xgettext them out and translate them in .po files. I hope that's possible with ruby. :/
[02:28:20] lupine: rails uses some magic yaml file
[02:28:35] lupine: dunno if there are .po imports/exports/loads
[02:28:40] sphex: yeah I fscking hate that
[02:28:42] jfarmer: The wording there is awkward (seems like it wasn't written by a native English speaker), but they mean that while the ISO C strftime() function has locale-dependent formatting options, Ruby's DateTime#strftime is locale-independent
[02:28:53] jfarmer: sphex Those files have to l live _somewhere_
[02:29:07] lupine: standards are, well, standard
[02:29:09] jfarmer: I'd argue that them living in your project is better than them living in some system-wide magical location
[02:29:19] havenwood: !ban nambiz !T 1d private message spam isn't allowed
[02:29:20] ChanServ: +b nambiz!*@*
[02:29:20] ChanServ: ChanServ kicked nambiz: private message spam isn't allowed
[02:29:39] lupine: but that's never fussed ruby much
[02:30:06] sphex: jfarmer: sure. I just want them to be .po files with strings extracted from the source. rather than an "indirect identifier" system that i18n/r18n seem to require. unless I missed something...?
[02:30:29] jfarmer: sphex Oh, that's faier.
[02:31:34] jfarmer: But that's not how strftime works, is it?
[02:31:40] jfarmer: .po files are a gettext thing
[02:31:46] sphex: jfarmer: no no, separate issue
[02:32:30] dopie: has joined #ruby
[02:32:38] sphex: just saying that so far it looks like I won't be using those i18n/r18n libraries, so I was wondering if there was another, simpler way to localize my dates
[02:33:12] jfarmer: I don't feel like that's more or less complex, honestly.
[02:34:03] sphex: yeah.. I'll keep reading up on them.
[02:34:08] pontiki: i'm not sure if gettext won't handle interpolated strings correctly
[02:34:14] sphex: I'm just starting to learn ruby and everything's confusing
[02:34:18] sphex: thanks for the help!
[02:34:31] sphex: pontiki: yeah... I was worrying about that. :/
[02:34:55] sphex: pontiki: I'd be localizing printf-like strings only I guess
[02:35:07] pontiki: if you do everything with sprintf-style formatting, it may work
[02:36:10] jfarmer: I think you can do something like, e.g., i18n.localize(some_date, format: "%d %B %Y")
[02:36:10] simplyianm: has joined #ruby
[02:36:31] shinnya: has joined #ruby
[02:36:44] jfarmer: The fact that it is done this was has less to do with Ruby and more to do with the fact that we're in OOP-land.
[02:37:09] mcclurmc: has joined #ruby
[02:37:13] sphex: jfarmer: oh great. lemme try.
[02:37:57] arcanez: has left #ruby: ()
[02:38:48] sphex: jfarmer: yeah, disabling the localization of strftime() seems like a good idea; the system will return it with the locale's encoding, and ruby would have to turn it back into unicode, and portability would probably be hell
[02:39:08] sphex: jfarmer: "in `enforce_available_locales!': :en is not a valid locale (I18n::InvalidLocale)"
[02:39:24] sphex: oh. looks like I prolly have to do *something* to initialize it.
[02:39:24] cahya: has joined #ruby
[02:39:37] cahya: has left #ruby: ()
[02:40:00] jgpawletko: has joined #ruby
[02:41:27] davedev24_: has joined #ruby
[02:42:19] jfarmer: sphex Yes, there are lots of considerations.
[02:42:52] hcnewsom: has joined #ruby
[02:43:33] micmus: has joined #ruby
[02:47:09] duderonomy: has joined #ruby
[02:48:10] Ropeney: has joined #ruby
[02:48:16] datanoise: has joined #ruby
[02:48:26] sargas: has joined #ruby
[02:48:30] RickHull: has joined #ruby
[02:48:41] RickHull: can I set rake's --trace option in my Rakefile?
[02:48:44] sargas: has joined #ruby
[02:48:58] RickHull: i'm tempted to alias rake to 'rake --trace' but i probably don't want that everywhere
[02:49:54] krowv: has joined #ruby
[02:51:58] chipotle: has joined #ruby
[02:53:04] simplyianm: has joined #ruby
[02:55:22] RickHull: side note: http://rubyforge.org/ versus http://rake.rubyforge.org/files/doc/rakefile_rdoc.html
[02:55:48] RickHull: is time to kill rubyforge with fire?
[02:55:52] RickHull: nuke it from orbit?
[02:58:01] Cust0sLim3n: has joined #ruby
[02:59:25] shafox: has joined #ruby
[02:59:31] al2o3-cr: has joined #ruby
[03:00:47] scx_: has joined #ruby
[03:08:24] Igorshp: has joined #ruby
[03:09:25] Oog: has joined #ruby
[03:09:45] AustinLMayes: has joined #ruby
[03:09:59] msnyon: has joined #ruby
[03:10:53] ItSANgo__: has joined #ruby
[03:13:19] hfp: Hi all, I'm a bit confused at the difference between a mock and a stub. It seems that one should use a mock when they want to check that a specific message was passed with specific arguments and still use the underlying class from production code. Whereas a stub is a dummy implementation that will always return the same value. Is that correct?
[03:14:24] i8igmac: uninitialized constant OpenURI::Error
[03:14:38] i8igmac: require 'open-uri'
[03:14:47] i8igmac: im not sure why im getting this error
[03:15:15] braincrash: has joined #ruby
[03:15:24] j4cknewt: has joined #ruby
[03:15:42] i8igmac: rescue OpenURI::Error => e
[03:16:16] i8igmac: must be depreciated or something
[03:16:48] harly: has joined #ruby
[03:17:01] scx_: What is the best way to lock and unlock the file in Ruby?
[03:17:49] scx: (and check if file is locked)
[03:18:04] ixti: has joined #ruby
[03:18:26] sphex: scx: maybe File.flock?
[03:19:52] msnyon: has joined #ruby
[03:21:40] michaeldeol: has joined #ruby
[03:22:00] ItSANgo_: has joined #ruby
[03:23:30] simplyianm: has joined #ruby
[03:23:46] michael_mbp: has joined #ruby
[03:25:30] sphex: is a Struct object going to use less memory than a corresponding class with a bunch of instance variables?
[03:26:01] chinmay_dd: has joined #ruby
[03:27:59] tkuchiki: has joined #ruby
[03:28:07] ItSANgo: has joined #ruby
[03:28:13] blazes816: has joined #ruby
[03:29:25] hazelux_: has joined #ruby
[03:30:02] Makorak: has joined #ruby
[03:30:07] al2o3-cr: >> class Foo; def initialize(a, b); @a = a; @b = b; end; end; Struct.new("Bar", :a, :b); f = Foo.new(1,2); b = Struct::Bar.new(1,2); [ ObjectSpace.memsize_of(f), ObjectSpace.memsize_of(b) ]
[03:30:08] ruboto: al2o3-cr # => undefined method `memsize_of' for ObjectSpace:Module (NoMethodError) ...check link for more (https://eval.in/384633)
[03:30:15] jfarmer: has joined #ruby
[03:30:26] al2o3-cr: >> requre 'objspace'; class Foo; def initialize(a, b); @a = a; @b = b; end; end; Struct.new("Bar", :a, :b); f = Foo.new(1,2); b = Struct::Bar.new(1,2); [ ObjectSpace.memsize_of(f), ObjectSpace.memsize_of(b) ]
[03:30:27] ruboto: al2o3-cr # => undefined method `requre' for main:Object (NoMethodError) ...check link for more (https://eval.in/384634)
[03:30:30] lewis1711: has joined #ruby
[03:30:36] al2o3-cr: >> require 'objspace'; class Foo; def initialize(a, b); @a = a; @b = b; end; end; Struct.new("Bar", :a, :b); f = Foo.new(1,2); b = Struct::Bar.new(1,2); [ ObjectSpace.memsize_of(f), ObjectSpace.memsize_of(b) ]
[03:30:37] ruboto: al2o3-cr # => [20, 20] (https://eval.in/384635)
[03:30:46] ItSANgo: has joined #ruby
[03:31:12] sphex: al2o3-cr: awesome. thanks!
[03:31:27] lewis1711: is there a simple ruby testing framework? one that doesn't involve sub-classing or separate files
[03:32:14] Oog: has joined #ruby
[03:32:38] Zamerick: has joined #ruby
[03:33:18] ItSANgo: has joined #ruby
[03:34:26] phat4life: lewis1711: what are you trying to test?
[03:34:35] symm-: has joined #ruby
[03:35:10] lewis1711: phat4life, nothing at the moment. I am just wanting to have system that's like "write a bit of code, write a test just after it, carry on".
[03:35:36] lewis1711: I like having it in the same file
[03:35:50] phat4life: yeah you can do that easy
[03:36:05] phat4life: but i recommned useing seperate files
[03:36:21] phat4life: one sec, let me push something to github, its the simplest testing setup i have
[03:37:44] nikhgupta: has joined #ruby
[03:38:19] mcclurmc: has joined #ruby
[03:38:30] lewis1711: phat4life, thanks. I'm a simple person, I will only unit test if it's completely thoughtless, I don't like ceremony
[03:39:21] roger_rabbit: has joined #ruby
[03:42:43] gix: has joined #ruby
[03:43:36] wookiehangover: has joined #ruby
[03:44:24] fabrice31: has joined #ruby
[03:46:35] theery: has joined #ruby
[03:47:35] sphex: lewis1711: I would like to subscribe to your newsletter
[03:48:19] lewis1711: sphex, are you being salty?
[03:49:33] phat4life: lewis1711: https://github.com/ajbeach2/ruby-template
[03:49:41] phat4life: that is about as simple as it gets
[03:49:46] phat4life: but i don't recomend you but it in the same file
[03:49:51] sphex: nope. this should be your tagline, and whatever solution you find to any problem.. would be of interrest to people. :p
[03:49:56] phat4life: ah, forgot something
[03:51:16] phat4life: ok you can look at it
[03:51:29] phat4life: but you really should use either rspec or mini test
[03:51:57] phat4life: and having a gemfile to manager any gems you might want to use is a good idea
[03:54:43] lewis1711: phat4life, I had a look, thanks
[03:55:50] Musashi007: has joined #ruby
[03:56:01] lewis1711: sphex, pretty much the only language I ever used unit tests in was racket, because rackunit was so simple. I search for something similar in other languages, but it's hard to find. I don't really want to write anything longer than a couple of hundred lines in ruby without unit tests, because it's so super dynamic
[03:56:26] fgo: has joined #ruby
[03:57:09] dgutierrez1287: has joined #ruby
[03:57:09] phat4life: lewis1711: you can try mini test instead of rspec
[03:57:22] phat4life: rspec is a bit of a higher learning curve than minitest
[03:57:30] sphex: lewis1711: right.. I'm starting with ruby and I'm gonna need to write some tests too soon enough. :/
[03:57:45] sphex: ooohhh minitest sounds great then
[03:58:01] phat4life: rspec is worth learning tho
[03:58:08] wookiehangover: has joined #ruby
[03:58:54] RegulationD: has joined #ruby
[03:59:34] ruby-lang413: has joined #ruby
[04:00:04] sphex: phat4life: alright. I'm gonna bookmark your example, I'm sure it'll help me too soon enough. so thanks!
[04:00:13] ruby-lang413: i'm trying to write a ruby extension in c with gcc, and i'm getting a #include <ruby.h> no such file or directory. i expected that but i'm not sure what steps to take next?
[04:00:24] casadei: has joined #ruby
[04:01:02] phat4life: ruby-lang413: what os
[04:01:10] ruby-lang413: phat4life linux mint 17
[04:01:33] phat4life: ruby-lang413: do you have ruby-dev installed?
[04:02:24] ruby-lang413: phat4life, no; i just checked with apt and the ruby version is 1.9.1 :\
[04:02:35] jtdoncas: has joined #ruby
[04:03:34] cubicool: has joined #ruby
[04:03:47] phat4life: ruby-lang413: apt-get install ruby-dev
[04:04:05] ruby-lang413: phat4life ruby-dev ruby1.9.1-dev
[04:04:26] phat4life: is there are reason you are on 1.9.1 and not stable?
[04:04:53] phat4life: ah, nvm i dunno if that matters
[04:04:55] ruby-lang413: phat4life, that's the output of the apt-get install ruby-dev
[04:05:19] ruby-lang413: i suppose for my purposes it's not too important; let's say i get the 1.9.1 version
[04:05:55] ruby-lang413: would i use -l to tell gcc to look for the path after that?
[04:06:04] cubicool: Hey guys, I've recently (last week) started using Ruby for some projects. I love the language so far, and I had a quick question I can't find an answer on. I come from a heavy Python background, and I'd like to be able to quickly (syntactically) create a Class with some attr_* attributes (instead of always using Hash).
[04:06:20] cubicool: I want to do this to avoid the constant operator[]() access to values.
[04:06:34] cubicool: Is there any shorthand for this? (For example, Python has 'namedtuple')
[04:06:37] phat4life: ruby-lang413: im not sure tbh i don't much much about gcc. all i can say is maybe find where that heard file exists on your machine
[04:06:48] sphex: cubicool: maybe Struct?
[04:07:08] starfox_sf: yup, Struct is what you're looking for
[04:07:10] cubicool: ACTION googles.
[04:07:29] sphex: cubicool: or use ri(1)
[04:07:52] sphex: it seems to work almost exactly like namedtuple
[04:08:22] sphex: except it's mutable
[04:08:23] phat4life: cubicool: or an OpenStruct if you need to add attributes after instantiate it
[04:08:34] harly: ruby-lang413: you could try using chruby and ruby-install. much easier to manage ruby installs, it'll do everything for you and set it up as local installs for the user.
[04:08:59] phat4life: harly: why chruby instead of rvm?
[04:09:06] phat4life: or are they two different things?
[04:09:18] harly: they serve the same purpose. personally I like chruby. w/e.
[04:09:26] cubicool: Thanks guys!
[04:09:30] harly: the same maintaner makes both. so i use chruby along with ruby-install.
[04:09:40] postmodern: phat4life, fewer bells & whistles, much simpler
[04:09:46] harly: speak of the devil. :)
[04:09:49] phat4life: postmodern: what is?
[04:09:54] postmodern: phat4life, chruby
[04:10:02] phat4life: rvm doesn't play nice with fish
[04:10:12] postmodern: phat4life, RVM does everything and handles every edge-case, as a result it's pretty complex and bulky
[04:10:23] phat4life: interesting
[04:10:31] harly: personally i've had zero problems using chruby. it "just works"
[04:10:49] postmodern: phat4life, you have to use a wrapper for fish, since fish doesn't support POSIX
[04:10:53] harly: well. except some debian jessie pre-release test issues. but they got fixed pretty quickly :)
[04:11:15] phat4life: don't judge me for using fish
[04:11:52] baweaver: has joined #ruby
[04:12:24] mattarse: has joined #ruby
[04:16:19] braincra-: has joined #ruby
[04:17:11] cubicool: Actually guys, I don't think Struct is right.
[04:17:25] jfarmer: phat4life One big reason people don't like rvm is that it overwrites/wraps a lot of default shell commands like cd to do what it does.
[04:17:43] jfarmer: This kind of "deep interference" can lead to problems or unexpected behavior
[04:18:36] cubicool: Or perhaps I'm mis-using it...
[04:19:23] jfarmer: taking this example: https://docs.python.org/2/library/collections.html#collections.namedtuple
[04:19:57] jfarmer: Point = Struct.new(:x, :y)
[04:20:01] jfarmer: would be the Ruby equivalent
[04:20:12] harly: how does rvm overwrite cd? You mean to check for auto-switching?
[04:20:21] jfarmer: harly That's the "why"
[04:20:38] jfarmer: The how is, well, it defines its own function named "cd" in bash that wraps the original
[04:20:45] harly: ah. how is chruby's better? (just asking out of interest. i know not how either handle auto-detection)
[04:21:14] harly: well i guess i could just go look at chruby's include for it
[04:21:37] zets: has joined #ruby
[04:21:58] Hijiri: has joined #ruby
[04:23:36] harly: ah, just a simple trap. or zsh preexec.
[04:24:52] casadei: has joined #ruby
[04:25:51] scruple: has joined #ruby
[04:26:16] davedev24: has joined #ruby
[04:26:54] ramfjord: has joined #ruby
[04:28:00] sleungcy: has joined #ruby
[04:28:52] postmodern: harly, yeah not a lot of magic
[04:29:47] harly: as it should be, eh.
[04:30:43] davedev24_: has joined #ruby
[04:31:48] renderful: has joined #ruby
[04:32:12] nikhgupt: has joined #ruby
[04:34:54] s2013: has joined #ruby
[04:34:56] penzur: has joined #ruby
[04:37:32] jfarmer: Yes, rvm (and rbenv, too) try to reinvent the wheel in a lot of ways.
[04:37:35] simplyianm: has joined #ruby
[04:37:50] jfarmer: To be fair, rvm is fairly old and a lot of what it does is now better done by other things.
[04:38:07] jfarmer: gemsets have been almost entirely replaced by bundler, for example
[04:38:48] tcrypt: has joined #ruby
[04:39:02] mcclurmc: has joined #ruby
[04:39:28] postmodern: plus distros have updated their package versions, even debian and centos
[04:41:08] RickHull: has joined #ruby
[04:41:18] ramfjord: has joined #ruby
[04:41:48] serivich: has joined #ruby
[04:43:24] yfeldblum: has joined #ruby
[04:44:08] rbowlby: has joined #ruby
[04:46:09] beneggett: has joined #ruby
[04:47:30] zacts: has joined #ruby
[04:47:35] _blizzy_: has joined #ruby
[04:51:39] havenwood: has joined #ruby
[04:54:42] guardianx: has joined #ruby
[04:57:05] Igorshp: has joined #ruby
[04:57:53] Hanmac: has joined #ruby
[04:58:17] fgo: has joined #ruby
[04:59:11] _djbkd: has joined #ruby
[04:59:42] mujou: has joined #ruby
[05:00:26] ChoiKyuSang: has joined #ruby
[05:01:59] RickHull: has left #ruby: ()
[05:02:29] ChoiKyuSang_: has joined #ruby
[05:03:55] michaeldeol: has joined #ruby
[05:05:07] fedexo: has joined #ruby
[05:06:43] lewis1711: has joined #ruby
[05:07:16] uptownhr: has joined #ruby
[05:07:43] cbz: has joined #ruby
[05:07:44] cbz: has joined #ruby
[05:08:25] zenguy_pc: has joined #ruby
[05:14:26] Oog: has joined #ruby
[05:14:29] GitGud: has joined #ruby
[05:14:42] ChoiKyuSang_: has left #ruby: ("Closing Window")
[05:17:06] GPrime: has joined #ruby
[05:22:43] Channel6: has joined #ruby
[05:25:38] LMity: has joined #ruby
[05:26:24] malconis: has joined #ruby
[05:29:00] [k-: has joined #ruby
[05:30:39] metallicrwr: has joined #ruby
[05:33:13] fabrice31: has joined #ruby
[05:34:06] beneggett: has joined #ruby
[05:34:23] chinmay_dd: has joined #ruby
[05:34:53] psy: has joined #ruby
[05:35:43] tejasmanohar: has joined #ruby
[05:36:13] lewis1711: this is at least the third time in my life I have spent minutes figuring out why I couldn't construct my class because I wrote "initialise" instead of "initialize".
[05:38:24] swgillespie: has joined #ruby
[05:39:57] LMity: has joined #ruby
[05:41:14] houhoulis: has joined #ruby
[05:47:18] lxsameer: has joined #ruby
[05:47:47] RegulationD: has joined #ruby
[05:48:24] [k-: Your class still constructs without initialize ^^
[05:48:50] beneggett: has joined #ruby
[05:49:01] [k-: >> class A;end;A.new.inspect
[05:49:02] ruboto: [k- # => "#<A:0x407b90a4>" (https://eval.in/384665)
[05:50:45] [k-: The best way is for you to get initialize into your head
[05:51:01] [k-: Or you can file an issue
[05:51:17] [k-: I don't recommend a dirty hack tho
[05:52:56] lewis1711_: has joined #ruby
[05:53:12] sphex: hey is there any way to make `ruby -r debug` stop on uncaught exceptions?
[05:54:14] [k-: Related to initialise: https://bugs.ruby-lang.org/issues/11032
[05:58:08] riceandbeans: has joined #ruby
[05:58:20] serivich: has joined #ruby
[05:58:23] riceandbeans: what's the current one?
[05:58:33] riceandbeans: optionsparser
[05:59:00] shevy: painparse
[05:59:13] riceandbeans: I'm serious man
[05:59:43] fgo: has joined #ruby
[06:04:58] j4cknewt: has joined #ruby
[06:06:14] Santana: has joined #ruby
[06:08:41] Santana: what is the most mature curses library?, what do you think of canis?
[06:10:00] tercenya: has joined #ruby
[06:10:47] araujo_: has joined #ruby
[06:12:35] charliesome: has joined #ruby
[06:13:26] serivichi: has joined #ruby
[06:13:56] Musashi007: has joined #ruby
[06:19:05] shevy: curses makes people sad
[06:20:13] [k-: But there are hardly any GUI for Ruby :(
[06:21:26] bkxd: has joined #ruby
[06:22:31] lewis1711_: I've heard good things about termbox
[06:22:41] riceandbeans: curses doesn't make me sad
[06:23:14] shevy: the problem with GUIs in Ruby is that there aren't that many people sufficiently interested in it
[06:23:14] lewis1711_: I'd describe my emotion as more "bemused"
[06:23:29] riceandbeans: shevy: what do you mean?
[06:23:31] shevy: why use a traditional GUI when you can have html/css/javascript
[06:23:47] lewis1711_: responsiveness
[06:23:48] shevy: riceandbeans for instance: ask how many people here use ruby-gnome / ruby-gtk :)
[06:24:34] shevy: how many people here use ruby + *curses
[06:24:52] riceandbeans: I've done ruby gkt and qt
[06:25:03] swgillespie: has joined #ruby
[06:25:04] riceandbeans: and wxwidgets
[06:25:12] riceandbeans: but that took effort
[06:25:15] riceandbeans: and swing with jruby
[06:25:33] shevy: what is the biggest program you wrote there?
[06:25:35] [k-: Ewww swing :p
[06:25:57] lewis1711_: [k-, they're all bad. Swing looks uglier than QT I guess, but much nicer to code for
[06:26:11] riceandbeans: I wrote a really crappy IDE in GTK/QT
[06:26:23] riceandbeans: swing was the worst
[06:26:28] riceandbeans: java is garbage
[06:26:48] riceandbeans: I like qt the most of them
[06:26:49] [k-: The truth has been spoken!
[06:26:58] riceandbeans: feels the most natural
[06:27:05] User458764: has joined #ruby
[06:27:10] lewis1711_: I like java. I'm hacking in jruby
[06:28:07] lewis1711_: I'm a "professional C++ programmer" (that feels weird to type). I rather dislike it. but I've never been stuck in enterprise java hell, just used it for personal stuff, so that may be why I look at it fondly. that and I use java 8 which is nice
[06:28:40] Tempesta: has joined #ruby
[06:28:48] Ropeney: has joined #ruby
[06:29:10] coffee__cup: has joined #ruby
[06:29:22] riceandbeans: java leaks as a language feature
[06:29:56] lewis1711_: I have no idea what that means
[06:30:13] lewis1711_: leaks memory?
[06:30:47] riceandbeans: clearly you understood
[06:33:35] [k-: Java should have garbage collected itself long ago, as they say :p
[06:34:52] lewis1711_: riceandbeans, there was a gap of a minute between those two messages :P anyway if java is so bad why is jruby so much faster? checkmate atheists
[06:35:17] riceandbeans: it's not faster
[06:35:32] riceandbeans: it takes like 60 seconds to do initial load
[06:35:42] riceandbeans: my script finishes before your JVM loads
[06:36:46] beneggett: has joined #ruby
[06:36:46] lewis1711_: I don't actually own the JVM
[06:36:50] lewis1711_: I'm just a user of it
[06:37:11] riceandbeans: I would rather do Mono than JVM
[06:37:26] riceandbeans: java is the biggest failure of a government project
[06:37:41] ellisTAA: has joined #ruby
[06:38:05] shevy: goverment?
[06:38:08] lewis1711_: I can't tell if you're an old school bearded unix programmer, or still a student
[06:38:10] shevy: I thought Oracle owns java's soul
[06:38:20] pragmatism: has joined #ruby
[06:38:20] Santana: has joined #ruby
[06:38:25] lewis1711_: Oracle is just a front for the illuminati that runs the UN
[06:38:31] shevy: lewis1711_ ask for a pic with beard!
[06:38:37] shevy: workmad3 has one, a mighty beard
[06:38:45] _draco_: has joined #ruby
[06:39:08] lewis1711_: I just hope they're conditioned
[06:39:10] shevy: riceandbeans do you have a mighty beard as well?
[06:39:11] riceandbeans: sun microsystems made java
[06:39:22] riceandbeans: it received contstant heavy funding and support from darpa
[06:39:39] shevy: sun is history
[06:39:46] riceandbeans: it would've never made it to oracle's buyout if not for the us govt
[06:39:57] riceandbeans: alas, i wish I had a glorius neckbeard
[06:39:58] lewis1711_: *puff puff pass* they use of a distributed vm to execute code was designed so they coudn't track down the chemtrail manufacturing plants
[06:40:03] riceandbeans: my girlfriend won't allowit
[06:40:04] psy: has joined #ruby
[06:40:09] ellisTAA: anyone know a way where i can run the methods in test concurrently?
[06:40:19] ellisTAA: https://gist.github.com/ellismarte/3573a213714fc29e902f
[06:40:21] riceandbeans: ummm this isn't a conspiracy theory
[06:40:27] riceandbeans: and I'm not saying they snuck malicious code in
[06:40:37] riceandbeans: darpa funding is an open thing
[06:40:51] riceandbeans: ...and usually government does anything that it does do terribly
[06:40:58] mcclurmc: has joined #ruby
[06:41:04] shevy: well, there is government funding for a million projects
[06:41:10] riceandbeans: and most things spawned from it are utter garbage
[06:41:10] Santana: EllisTAA: you can use threads
[06:41:14] lewis1711_: it's not called DARPA anymore is it?
[06:41:20] ellisTAA: santana: how i do dat?
[06:41:21] _draco_: has left #ruby: ()
[06:41:39] shevy: Oracle had 132,365 employees in 2015
[06:42:02] lewis1711_: which is bad because... it leaks memory apparently
[06:42:10] ellisTAA: santana: ty i will look it up
[06:42:21] Santana: EllisTAA: http://www.tutorialspoint.com/ruby/ruby_multithreading.htm
[06:42:26] Santana: that will help you get started
[06:42:29] lewis1711_: java 8 has monads now. this fact amuses me. I abuse them all the time.
[06:42:37] lewis1711_: anyway I am being OT. sorry.
[06:42:59] Santana: EllisTAA: the documentation is also easy to read: http://ruby-doc.org/core-2.2.0/Thread.html
[06:44:10] Santana: what is the most mature [n]curses library?
[06:45:54] Igorshp: has joined #ruby
[06:48:38] ellisTAA: does this look like it works https://gist.github.com/ellismarte/3573a213714fc29e902f
[06:49:02] bnagy: lewis1711_: since when is it not called DARPA?
[06:49:20] Santana: EllisTAA: you're missing Thread.join
[06:50:50] bnagy: anyway, recently they've been pretty good. The cyber fast track under Mudge did a lot of good stuff
[06:51:21] bnagy: and the cyber grand challenge, despite being a stupid name, is making people some some REALLY cool semantic analysis / AI stuff
[06:51:28] gianlucadv: has joined #ruby
[06:51:42] luckyme: has joined #ruby
[06:53:06] peter_paule: has joined #ruby
[06:53:10] [k-: has joined #ruby
[06:53:47] ellisTAA: thanks santana
[06:54:23] lewis1711_: bnagy, it was renamed for a brief period
[06:54:28] lewis1711_: wikipedia it if you care
[06:55:35] beneggett: has joined #ruby
[06:57:19] dgutierrez1287: has joined #ruby
[06:57:52] hubcaps: has joined #ruby
[06:58:11] j4cknewt: has joined #ruby
[06:59:10] [k-: has joined #ruby
[07:00:21] bnagy: not really :)
[07:00:53] michael_mbp: has joined #ruby
[07:02:32] fgo: has joined #ruby
[07:02:48] shivam_v: has joined #ruby
[07:03:17] shivam_v: how do you resolve Ignoring bson-2.3.0 because its extensions are not built. Try: gem pristine bson --version 2.3.0
[07:03:31] shivam_v: any idea what is the issue here ?
[07:03:38] shevy: can you install bson gem
[07:03:48] shivam_v: i did run bundle install
[07:04:00] shivam_v: and it is occuring for multiple gems
[07:04:09] shevy: oh no idea about bundler, I only use plain gems
[07:04:19] shivam_v: anyone out there ?
[07:04:19] Dopagod: has joined #ruby
[07:04:52] bnagy: did you install it with gem? Or did you try the thing it said to try?
[07:05:48] shivam_v: i didn't try yet
[07:06:58] hazelux: has joined #ruby
[07:07:42] shivam_v: i tried gem pri_ext --version 1.5.1
[07:07:48] shivam_v: and eventually bundle install
[07:07:59] shivam_v: it raises the same issue while rnning the server
[07:08:48] towski_: has joined #ruby
[07:08:57] Jackneill_: has joined #ruby
[07:10:19] pch: has joined #ruby
[07:10:26] ponga: has joined #ruby
[07:11:36] ellisTAA: has joined #ruby
[07:13:17] michael_mbp: has joined #ruby
[07:13:27] TinkerTyper: has joined #ruby
[07:13:42] ellisTAA: with my threads my program runs slower. (old) https://gist.github.com/ellismarte/3573a213714fc29e902f
[07:13:57] ellisTAA: oops that???s the new one
[07:14:49] ellisTAA: this is the old one https://gist.github.com/ellismarte/3573a213714fc29e902f
[07:15:09] ellisTAA: nope theyre both the new one
[07:15:56] swgillespie: has joined #ruby
[07:19:29] Rollabunna: has joined #ruby
[07:19:55] Iskarlar: has joined #ruby
[07:21:01] krz: has joined #ruby
[07:21:07] mandarinkin: has joined #ruby
[07:21:16] auzty: has joined #ruby
[07:21:30] TinkerTyper: has joined #ruby
[07:22:23] Ilyas: has joined #ruby
[07:23:57] ndrei: has joined #ruby
[07:24:08] fabrice31: has joined #ruby
[07:27:08] psy: has joined #ruby
[07:28:08] psy: has joined #ruby
[07:30:20] rht: has joined #ruby
[07:30:26] C1V0: has joined #ruby
[07:30:30] wookiehangover: has joined #ruby
[07:30:54] rafaelsales: has joined #ruby
[07:31:02] Cust0sLim3n: has joined #ruby
[07:31:32] krz: has joined #ruby
[07:33:21] ledestin: has joined #ruby
[07:33:59] mister_solo: has joined #ruby
[07:35:46] swgillespie: has joined #ruby
[07:36:01] wookiehangover: has joined #ruby
[07:36:43] RegulationD: has joined #ruby
[07:36:50] olistik: has joined #ruby
[07:42:05] matti: Is #ruby-lang now with +i?
[07:42:11] matti: I see topic.
[07:44:44] cbz: has joined #ruby
[07:44:44] cbz: has joined #ruby
[07:45:34] Rubie: has joined #ruby
[07:46:44] Igorshp: has joined #ruby
[07:47:08] shinnya: has joined #ruby
[07:48:30] zenspider: threads? what threads?
[07:50:35] [k-: #ruby-lang should be forwarding here
[07:52:35] j4cknewt: has joined #ruby
[07:52:39] senayar: has joined #ruby
[07:54:29] ndrei: has joined #ruby
[07:56:34] peterhu: has joined #ruby
[07:59:01] chussenot: has joined #ruby
[07:59:07] swgillespie: has joined #ruby
[07:59:12] roolo: has joined #ruby
[07:59:21] T3: has joined #ruby
[07:59:37] yfeldblum: has joined #ruby
[07:59:57] ndrei: has joined #ruby
[08:01:14] langlands: has joined #ruby
[08:04:10] wmoxam: has joined #ruby
[08:05:01] sevenseacat: has joined #ruby
[08:08:33] User458764: has joined #ruby
[08:09:52] shevy: [k- I thought it was invite only nowadays?
[08:10:20] shevy: that's the message I get
[08:10:21] shevy: * Cannot join #ruby-lang (Channel is invite only).
[08:10:58] [k-: Why is it invite only now :o
[08:11:04] bnagy: it doesn't exist
[08:11:16] shevy: it was decided to move to #ruby based on a suggestion from jhass
[08:11:19] bnagy: if you join it it's a redirect
[08:11:34] bnagy: if you're already here then I guess you get the +i message
[08:11:44] shevy: has left #ruby: ("I'll be back ... maybe")
[08:11:46] shevy: has joined #ruby
[08:11:54] shevy: you are right bnagy
[08:12:01] shevy: I just tried to join #ruby-lang and ended up on #ruby
[08:12:09] sysx1000: has joined #ruby
[08:13:48] sysx1000: Hello! gem install sunspot_solr -v '2.2.0' | SSL_read: decryption failed or bad record mac | OpenSSL 0.9.8zd 8 Jan 2015, platform: darwin64-x86_64-llvm | gem 2.4.8 | ruby 2.2.1
[08:14:06] serivich: has joined #ruby
[08:14:26] sysx1000: Can't get it working
[08:15:08] sysx1000: Could someone help, what to do?
[08:15:34] shevy: looks as if you have some problem with openssl
[08:15:47] shevy: the error message you showed here does not seem very useful at all
[08:15:55] shevy: can you find the sunspot_solr gem
[08:16:05] shevy: download it somewhere, extract it via gem unpack *.gem
[08:16:13] shevy: then enter that directory and manually run the installation
[08:16:31] bnagy: that is a really old openssl
[08:16:39] bnagy: you might want to do something about that
[08:16:54] shevy: here is a more recent one ftp://ftp.openssl.org/source/openssl-1.0.2c.tar.gz
[08:17:17] sysx1000: it is not so easy to play with various openssls on yosemite, etc.
[08:17:46] bnagy: it's not?
[08:18:07] bnagy: like.. install a less insecure one via ports / brew - done
[08:18:29] bnagy: if you don't have either of those things you're going to have a bad time developing with MRI anyway
[08:18:30] Forgetful_Lion: has joined #ruby
[08:18:40] sysx1000: wondering, why it was working recently...
[08:19:10] sysx1000: i had no problems with system openssl
[08:19:54] bnagy: tbh questions like "why doesn't X obscure gem with with Y outdated openssl etc" is too many levels of unknown for me to worry about
[08:20:01] bnagy: *work with
[08:20:48] sysx1000: OK, np. manual install of gem is not a solution. trashing system openssl with homebrew one is not a solution. I will try to get less hacky stuff. thanks
[08:21:16] shevy: manual installation of a gem is not a solution?
[08:21:21] shevy: you never provided the exact error to us
[08:21:26] bnagy: have fun!
[08:21:33] sysx1000: has left #ruby: ()
[08:21:58] sevenseacat: its not that old an openssl, its the same as my machine has
[08:22:19] sevenseacat: which would have been what came with this version of osx
[08:23:58] brian_000: has joined #ruby
[08:24:09] bnagy: hm.. I guess you're right, they're still running that branch. zd is still insecure though :)
[08:24:48] brian_000: Howdy, I'm a super-noob. I know a little JS but that's it. I'm trying to build a simple webpage that integrates Stripe Checkout, and I *THINK* that needs Heroku. But I have no idea where to begin.
[08:25:02] MatthewsFace: has joined #ruby
[08:26:29] langlands: has joined #ruby
[08:28:03] yardenbar: has joined #ruby
[08:31:42] rafaelsales: has joined #ruby
[08:32:13] Jackneill: has joined #ruby
[08:33:55] fgo: has joined #ruby
[08:34:33] ahmetkapikiran: has joined #ruby
[08:35:48] swgillespie: has joined #ruby
[08:39:43] techsethi: has joined #ruby
[08:40:33] MatthewsFace: has joined #ruby
[08:41:12] techsethi: has left #ruby: ()
[08:42:14] mcclurmc: has joined #ruby
[08:44:55] Bed-lam: has joined #ruby
[08:45:55] quazimodo: has joined #ruby
[08:46:33] DEA7TH_: has joined #ruby
[08:46:56] Rubie: has joined #ruby
[08:50:46] yottanami: has joined #ruby
[08:50:52] edwinvdg_: has joined #ruby
[08:51:20] yottanami: Is any better way to write a loop like `0.upto t-1`
[08:52:35] veleno: has joined #ruby
[08:53:06] Bed-lam: Thim lin your fre wit chim probay industrie Play ea now with isie.
[08:53:08] Bed-lam: We'll of les.
[08:53:10] Bed-lam: We does. It's fly bably in't dow with Mentoo does, Vionic lisis biol. MandelayStating coo! Withe theaver. Increstriesh goes bably ing jettentos th asis of Diving full ove wit molin to your withe cook dit Korthe tos Xbox, frehe his, Lizard Stay. Mandelay molea maker withe baby, Lizard we'll of legs. As th MandelayStay execs. Vandust. Mento dresh goesh andelayindelay bes. Mandelay. Mentool. Fifa,
[08:53:12] Bed-lam: Nes. Sonies.
[08:53:13] Bed-lam: the egs, besh goes, st Kork! Woreasy isis frea! Desh goeshmatter, Vands ove th Koreasy maker.
[08:53:14] Bed-lam: Neshnets frea nown you! Dee of Diving come.
[08:53:15] sevenseacat: !mute Bed-lam
[08:53:15] Bed-lam: Thing jette Lizard whating flis bay execs. MandelayStay, Vandelay. Man. Vandelay, Call life!
[08:53:16] ruboto: +q Bed-lam!*@*
[08:53:16] ruboto: -o ruboto
[08:53:49] senayar: has joined #ruby
[08:54:10] Bed-lam: has left #ruby: ()
[08:54:32] lkba: has joined #ruby
[08:57:49] Mia: has joined #ruby
[08:57:49] Mia: has joined #ruby
[08:57:55] yottanami: sevenseacat: something like t.times but I need check what is n in each loop time, like for(i=0;i<t;i++) I need the value of i
[08:58:14] sevenseacat: t.times do |i| ?
[08:59:12] ndrei: has joined #ruby
[08:59:45] shevy: a helpful cat
[09:00:21] awer: has joined #ruby
[09:01:19] [k-: I always need to check if i starts with 0 or 1
[09:01:38] [k-: So... Which is it?
[09:02:22] langlands: has joined #ruby
[09:02:35] bmalum: has joined #ruby
[09:04:05] yottanami: has joined #ruby
[09:04:32] ndrei: has joined #ruby
[09:04:35] DLSteve: has joined #ruby
[09:06:24] troulouliou_dev: has joined #ruby
[09:10:00] ndrei: has joined #ruby
[09:10:57] sysx1000: has joined #ruby
[09:11:03] sysx1000: ok, ssl fixed
[09:11:22] sysx1000: no need to reinstall or remove system ssl: bad idea
[09:11:52] sevenseacat: so what was the problem with it?
[09:11:57] sevenseacat: given its the same version i have
[09:12:27] n008f4g_: has joined #ruby
[09:12:35] sysx1000: 1) buggy ruby-build 2) rvm with --autolibs=3
[09:12:44] yottanami: has left #ruby: ("PONG :hitchcock.freenode.net")
[09:12:48] sevenseacat: ah hah. i dont use either of those things
[09:13:00] fabrice31: has joined #ruby
[09:13:10] sysx1000: so now ruby linked with latest openssl from homebrew
[09:13:24] sysx1000: system yosemite openssl left intact
[09:14:33] dfockler: has joined #ruby
[09:15:39] sysx1000: anyway, never remove system openssl on osx
[09:16:04] langlands: has joined #ruby
[09:16:22] bnagy: .. sooo... you did what I said and it worked?
[09:16:25] bnagy: cool story! :)
[09:16:40] sysx1000: nothing changed
[09:17:02] sysx1000: just a new opt to rvm + reinstall of ruby-build
[09:17:14] sevenseacat: why do you use rvm *and* ruby-build?
[09:17:46] last_staff: has joined #ruby
[09:18:17] sysx1000: has left #ruby: ()
[09:19:14] fgo: has joined #ruby
[09:19:18] peter_paule: has joined #ruby
[09:20:24] ndrei: has joined #ruby
[09:20:29] shevy: [k- if it is a string, you can do: if string.start_with?('0') or string.start_with?('1'); you could also use a regex, (0|1) I think
[09:20:36] Musashi007: has joined #ruby
[09:21:06] shevy: that sysx1000 dude opts to insta-quit :P
[09:21:20] [k-: Lol was talking about t.times do |I|
[09:21:24] bnagy: I give such bad advice
[09:21:28] bnagy: I should be ashamed
[09:21:41] bnagy: lucky they ignored me and did it their way
[09:24:07] shevy: [k- well in that case, whenever you had some data, like an array, you can use .select prior to output
[09:24:19] shevy: so like: array.select { ... condition goes in here ... }
[09:24:26] shevy: in your case, the 0 or 1 as the requirement for it
[09:24:38] shevy: it's like a filter basically
[09:24:45] shevy: .select / .reject
[09:24:50] mattarse: has joined #ruby
[09:24:55] [k-: ;-; shevy u misunderstand
[09:25:32] olistik: has joined #ruby
[09:25:33] RegulationD: has joined #ruby
[09:25:36] shevy: you mean the index itself
[09:25:38] [k-: >> 1.times { |i| i }
[09:25:39] ruboto: [k- # => 1 (https://eval.in/384700)
[09:25:56] ndrei: has joined #ruby
[09:25:57] sevenseacat: ACTION has no idea whats going on
[09:26:00] [k-: Now we know it is 1
[09:26:17] [k-: I'll forget again soon though
[09:26:37] shevy: I thought it starts at 0 for an array
[09:27:00] multi_io: has joined #ruby
[09:27:04] shevy: >> %w( a b c ).each_with_index {|content, index| print index }
[09:27:05] ruboto: shevy # => 012["a", "b", "c"] (https://eval.in/384701)
[09:27:15] codecop: has joined #ruby
[09:27:22] Deele: has joined #ruby
[09:27:29] seal: has joined #ruby
[09:27:50] [k-: >> 2.times { |a| print a }
[09:27:51] ruboto: [k- # => 012 (https://eval.in/384702)
[09:29:03] bnagy: [k-: what you think is happening isn't happening
[09:29:10] shevy: >> 0.times { |i| i }
[09:29:11] ruboto: shevy # => 0 (https://eval.in/384704)
[09:29:13] bnagy: >> 2.times.to_a
[09:29:14] ruboto: bnagy # => [0, 1] (https://eval.in/384705)
[09:29:15] langlands: has joined #ruby
[09:29:17] shevy: [k- now it is 0 !
[09:29:18] revath: has joined #ruby
[09:29:51] bnagy: the last 2 is the return value
[09:30:43] dotix: has joined #ruby
[09:30:47] bruno-: has joined #ruby
[09:32:00] langlands: has joined #ruby
[09:35:04] spider-mario: has joined #ruby
[09:35:47] bmalum: has joined #ruby
[09:38:29] allomov: has joined #ruby
[09:38:45] chussenot: has joined #ruby
[09:43:04] mcclurmc: has joined #ruby
[09:45:22] uptownhr: has joined #ruby
[09:45:32] Cust0sLim3n: has joined #ruby
[09:45:41] langlands: has joined #ruby
[09:47:10] CloCkWeRX: has joined #ruby
[09:47:52] uptownhr: has joined #ruby
[09:49:01] Xeago: has joined #ruby
[09:49:37] uptownhr: has joined #ruby
[09:51:29] uptownhr: has joined #ruby
[09:51:31] yfeldblum: has joined #ruby
[09:51:37] ndrei: has joined #ruby
[09:53:14] uptownhr: has joined #ruby
[09:53:34] djbkd_: has joined #ruby
[09:53:38] lkba_: has joined #ruby
[09:54:38] senayar: has joined #ruby
[09:55:05] uptownhr: has joined #ruby
[09:55:39] stamina: has joined #ruby
[09:56:28] hazelux: has joined #ruby
[09:56:59] uptownhr: has joined #ruby
[09:58:36] uptownhr: has joined #ruby
[09:59:26] langlands: has joined #ruby
[10:00:07] scx: Does ruby have build-in support for ini files?
[10:00:24] uptownhr: has joined #ruby
[10:01:03] scx: Should i use inifile or something else?
[10:01:12] scx: i mean: require 'inifile'
[10:01:36] startupality: has joined #ruby
[10:02:03] pleiosaur: has joined #ruby
[10:02:24] rafaelsales: has joined #ruby
[10:05:31] shevy: sounds like an external gem
[10:05:33] QKO: has joined #ruby
[10:05:44] shevy: there is no built-in support as far as I know for .ini files
[10:06:16] datanoise: has joined #ruby
[10:06:54] phutchins: has joined #ruby
[10:07:44] jhass: scx: you might like TOML
[10:07:58] jhass: but nothing inbuilt for that either
[10:07:59] CloCkWeRX: has left #ruby: ()
[10:07:59] sdothum: has joined #ruby
[10:08:18] shevy: so which $SAFE got removed? $SAFE == 2 and $SAFE == 3 ?
[10:11:11] penzur: has joined #ruby
[10:13:56] [k-: Yaml is built in
[10:14:08] [k-: Json is too iirc
[10:15:28] FernandoBasso: has joined #ruby
[10:16:13] techsethi: has joined #ruby
[10:16:15] fantazo: has joined #ruby
[10:20:55] mikecmpbll: has joined #ruby
[10:21:03] techsethi: has joined #ruby
[10:23:54] cjk101010: has joined #ruby
[10:26:06] peter_paule: has joined #ruby
[10:27:29] techsethi_: has joined #ruby
[10:28:38] pontiki: has joined #ruby
[10:28:51] senayar: has joined #ruby
[10:30:33] shevy: yeah but scx wants ini files
[10:31:23] sigurding: has joined #ruby
[10:36:09] Rubie: has joined #ruby
[10:39:40] yaw: has joined #ruby
[10:40:33] _ixti_: has joined #ruby
[10:40:40] lordkryss: has joined #ruby
[10:40:53] techsethi_: has joined #ruby
[10:41:41] n008f4g_: has joined #ruby
[10:42:14] arturhoo: has joined #ruby
[10:44:46] freerobby: has joined #ruby
[10:48:42] galeido: has joined #ruby
[10:49:13] lxsameer: has joined #ruby
[10:49:13] lxsameer: has joined #ruby
[10:50:59] QKO: has joined #ruby
[10:54:30] langlands: has joined #ruby
[10:55:31] mathie: has joined #ruby
[10:57:22] pontiki: you love butts?
[10:58:01] [k-: No..................
[11:00:10] yaw: has joined #ruby
[11:00:40] langlands: has joined #ruby
[11:00:53] sevenseacat: and you cannot lie?
[11:00:55] sinkensabe: has joined #ruby
[11:01:35] wittyfox: has joined #ruby
[11:01:52] fabrice31: has joined #ruby
[11:02:38] phutchins: has joined #ruby
[11:02:51] [k-: I lie when I need to
[11:03:44] micmus: has joined #ruby
[11:05:19] yaw: has joined #ruby
[11:05:57] veleno: has joined #ruby
[11:06:52] subtwo: has joined #ruby
[11:07:10] olistik: has joined #ruby
[11:08:27] ht__: has joined #ruby
[11:08:47] fluchtreflex: has joined #ruby
[11:08:47] fluchtreflex: has joined #ruby
[11:09:35] pyon: has joined #ruby
[11:09:55] yardenbar: has joined #ruby
[11:12:57] langlands: has joined #ruby
[11:14:28] RegulationD: has joined #ruby
[11:16:32] bluish: has joined #ruby
[11:20:56] serivichi: has joined #ruby
[11:21:14] Ropeney: has joined #ruby
[11:22:46] wildroman2: has joined #ruby
[11:27:47] awer: has joined #ruby
[11:28:21] olistik: has joined #ruby
[11:28:43] starfox_sf: has joined #ruby
[11:30:00] workmad3: has joined #ruby
[11:31:48] Al3ks: has joined #ruby
[11:31:51] peter_paule: has joined #ruby
[11:38:55] CloCkWeRX: has joined #ruby
[11:41:50] workmad3: has joined #ruby
[11:43:34] _blizzy_: has joined #ruby
[11:44:38] mcclurmc: has joined #ruby
[11:46:50] renderful: has joined #ruby
[11:51:09] rafaelsales: has joined #ruby
[11:51:25] dgutierrez1287: has joined #ruby
[11:51:45] olistik: has joined #ruby
[11:55:20] datanoise: has joined #ruby
[12:00:33] allomov: has joined #ruby
[12:01:04] centrx: has joined #ruby
[12:01:12] User458764: has joined #ruby
[12:01:28] m8: has joined #ruby
[12:04:58] peter_paule: has joined #ruby
[12:06:41] yorickpeterse: [k-: you don't love butts? The fk is wrong with you?
[12:09:05] endash: has joined #ruby
[12:10:33] [k-: My reputation is at stake!
[12:10:41] [k-: has left #ruby: ()
[12:12:39] sinkensabe: has joined #ruby
[12:15:41] OrbitalKitten: has joined #ruby
[12:15:45] [k-: has joined #ruby
[12:15:54] [k-: Is it safe now?
[12:18:09] alex88: has joined #ruby
[12:20:44] shevy: where were we to do without butts
[12:21:49] [k-: Oh butts.
[12:23:11] iamninja: has joined #ruby
[12:23:36] shevy: you couldn't program without them now could you?
[12:24:21] [k-: I could stand!
[12:28:04] shevy: program while standing
[12:28:10] shevy: I just don't believe you
[12:28:55] sevenseacat: never used a standing desk?
[12:29:24] psy: has joined #ruby
[12:29:57] Stan: has joined #ruby
[12:30:05] _blizzy_: standing? while programming?
[12:30:10] _blizzy_: why I never!
[12:30:20] michael_mbp: has joined #ruby
[12:31:29] pontiki: has joined #ruby
[12:33:43] Guest25453: has joined #ruby
[12:34:27] Guest25453: has left #ruby: ()
[12:36:08] [k-: My reputation is ruined!
[12:36:23] [k-: ACTION sobs in a corner (if there is one)
[12:36:53] shevy: well you use a chair and that is why you need a butt
[12:37:12] qwertme: has joined #ruby
[12:37:14] [k-: I can use my back!
[12:37:22] Rubie: has joined #ruby
[12:37:38] sevenseacat: ACTION is sitting on a couch, with a cat.
[12:38:32] shevy: cats have it better there
[12:38:39] ledestin: has joined #ruby
[12:38:52] shevy: they can use their belly while programming
[12:39:21] Ropeney_: has joined #ruby
[12:41:07] Ropeney_: has joined #ruby
[12:41:59] allomov: has joined #ruby
[12:42:00] Pupeno: has joined #ruby
[12:43:04] langlands: has joined #ruby
[12:45:45] mcclurmc: has joined #ruby
[12:50:03] charliesome_: has joined #ruby
[12:50:09] chussenot: has joined #ruby
[12:50:25] s2013: has joined #ruby
[12:50:36] fabrice31: has joined #ruby
[12:50:54] [k-: I'm pretty sure they will just employ humans to program for them
[12:51:24] krowv: has joined #ruby
[12:52:53] centrx: "brainwash"
[12:55:10] BTRE: has joined #ruby
[12:56:35] [k-: Ohz noz
[12:57:05] qwertme: has joined #ruby
[12:58:04] langlands: has joined #ruby
[12:58:24] hazelux: has joined #ruby
[12:59:50] hagabaka: has joined #ruby
[13:02:03] tvw: has joined #ruby
[13:03:10] bmalum: has joined #ruby
[13:03:26] RegulationD: has joined #ruby
[13:03:56] datanoise: has joined #ruby
[13:04:29] dorei: has joined #ruby
[13:05:04] wildroman2: has joined #ruby
[13:08:31] _tpavel: has joined #ruby
[13:11:32] nateberkopec: has joined #ruby
[13:13:26] OrbitalKitten: has joined #ruby
[13:13:31] Iskarlar: has joined #ruby
[13:17:30] starfox_sf: has joined #ruby
[13:23:00] k3asd`: has joined #ruby
[13:23:02] wildroman2: has joined #ruby
[13:24:12] felltir: has joined #ruby
[13:24:26] workmad3: has joined #ruby
[13:29:01] Papierkorb: has joined #ruby
[13:31:36] sinkensabe: has joined #ruby
[13:32:32] ziprar: has joined #ruby
[13:32:32] ziprar: has joined #ruby
[13:33:21] nateberkope: has joined #ruby
[13:35:19] araujo: has joined #ruby
[13:38:03] davedev24_: has joined #ruby
[13:39:54] rafaelsales: has joined #ruby
[13:40:20] sinkensabe: has joined #ruby
[13:41:51] adamski2600: has joined #ruby
[13:42:32] wildroman2: has joined #ruby
[13:42:53] shevy: anyone working on something interesting as of late
[13:42:54] Yzguy: has joined #ruby
[13:45:16] [k-: I'm not working at all!
[13:45:27] [k-: Is that interesting or what
[13:45:28] quazimodo: has joined #ruby
[13:45:56] kirun: has joined #ruby
[13:46:17] alex88: has joined #ruby
[13:46:46] airy: has joined #ruby
[13:47:24] adamski2600: has joined #ruby
[13:47:59] nateberkopec: has joined #ruby
[13:48:17] jpfuentes2: has joined #ruby
[13:48:52] haxrbyte: has joined #ruby
[13:50:10] codecop: has joined #ruby
[13:50:13] rbennacer: has joined #ruby
[13:50:27] noethics: im messing with dashing ;o
[13:50:33] noethics: its kinda cool i guess
[13:51:00] airy: i new to this group can any ne make me understand to https://gist.github.com/aj07/7b6247d588371745e067 line 4,5
[13:51:06] chinmay_dd: has joined #ruby
[13:51:24] airy: i have doubt regarding pointer
[13:51:35] airy: why and how it has been written
[13:51:42] x44x45x41x4E: has joined #ruby
[13:53:40] jhass: line 4 is blank, line 5 attaches the function create_light that takes no arguments and returns a pointer
[13:54:06] airy: that about line 5 and 6
[13:54:12] mandarinkin: has joined #ruby
[13:54:30] workmad3: has joined #ruby
[13:54:38] airy: jhass what does returning to pointer mens?
[13:54:57] jhass: line 6 attaches the function destroy_light that takes one pointer argument and returns nothing
[13:55:17] jhass: that you'll get an FFI::Pointer back I guess
[13:55:29] jhass: do you know what a pointer means in C?
[13:55:45] yoongkang: has joined #ruby
[13:55:54] airy: ya used for addressing purpose
[13:56:19] jhass: that's what FFI maps out here, a C pointer
[13:57:44] airy: jhass: see in comment , what does attach_function :puts, [ :string ], :int says?
[13:58:11] airy: it taked argument as string and return int
[13:58:28] jpfuentes2: has joined #ruby
[13:58:46] airy: but why the puts has been written
[13:58:54] jhass: what do you mean
[13:59:24] airy: means format are changed from previous one why?
[13:59:34] jhass: I don't follow
[13:59:43] beneggett: has joined #ruby
[14:00:17] dopie: has joined #ruby
[14:00:21] airy: can i say 2nd one wants to print the argument thats why puts has been written..
[14:01:00] jhass: I'm sorry, but I still don't follow what you want to express
[14:01:31] airy: explain both the progRAM
[14:01:45] [k-: http://goruco.com - happening live
[14:01:52] [k-: Conference
[14:01:55] airy: ist one you have done
[14:02:07] enebo: has joined #ruby
[14:03:06] jhass: air_: I don't understand where you're stuck, you explained what it does perfectly
[14:04:05] langlands: has joined #ruby
[14:04:25] RegulationD: has joined #ruby
[14:04:28] airy: attach_function :puts, [ :string ], :int means it will print the argument which is in the form of string and return it to int type
[14:04:49] rbennacer: has joined #ruby
[14:05:06] OrbitalKitten: has joined #ruby
[14:05:31] jhass: attach_function just makes the C function with that signature available to call it from Ruby, it doesn't say anything about the C functions behavior
[14:05:49] GitGud: has joined #ruby
[14:06:23] sevenseacat: [k-: man, how do these professional speakers get anything done
[14:06:26] jenrzzz: has joined #ruby
[14:06:31] roshanavand: has joined #ruby
[14:06:32] havenwood: sevenseacat: do they?
[14:06:38] [k-: They do!
[14:06:49] sevenseacat: i dont know, i see a bunch of the same names at like every conference
[14:06:56] roshanavand: has joined #ruby
[14:07:03] havenwood: sevenseacat: I see a lot of folk give the same talk at every conference.
[14:07:22] sevenseacat: that seems... pointless
[14:07:30] centrx: They're clones
[14:07:41] l0oky: has joined #ruby
[14:07:49] wasamasa: they need the world to know
[14:07:51] havenwood: I guess once you've prepared a nice talk might as well give it over and over
[14:07:59] sevenseacat: i mean a lot of us watch conf videos, i think i'd feel a bit ripped off if i attended a conf and saw a talk i'd already seen
[14:08:07] havenwood: sevenseacat: I've done exactly that.
[14:08:18] havenwood: sevenseacat: Gone to a talk live, oops, I've seen this talk. :(
[14:08:29] l0oky: What's up rubyists
[14:08:33] havenwood: l0oky: hallooo
[14:08:50] sevenseacat: so much money that could have been saved by sitting at home watching youtube instead
[14:09:49] centrx: I thought the purpose of conferences was to connect with people
[14:09:56] centrx: Since you can always watch the videos, or read the book
[14:10:11] xxx: has joined #ruby
[14:10:40] sevenseacat: i guess thats another case of 'they are what you make them'
[14:11:00] [k-: The conference is live ;-;
[14:11:11] [k-: All this chatter means no one is watching it
[14:11:44] airy: do you organise these talks in india?
[14:12:22] sevenseacat: and speaking of seeing talks before
[14:12:34] sevenseacat: i have indeed seen amy wibowo's sweaters as a service talk before
[14:13:08] wpp: has joined #ruby
[14:13:38] [k-: There's a wonderful schedule to see what's going to happen
[14:14:17] sevenseacat: [k-: we can read, thanks :)
[14:14:59] nateberkopec: has joined #ruby
[14:15:09] [k-: I doubt it hahahahha
[14:15:17] [k-: No one reads anymore!
[14:15:30] sevenseacat: [k-: kindly refrain from acting stupid, please.
[14:16:00] [k-: I'm sorry :(
[14:16:05] havenwood: goruco live stream: https://www.youtube.com/watch?v=7zpDMkvEjqs
[14:16:10] User458764: has joined #ruby
[14:16:18] chinmay_dd: has joined #ruby
[14:18:19] wpp: has joined #ruby
[14:21:18] chinmay_dd: has joined #ruby
[14:27:27] JoshL: has joined #ruby
[14:31:46] enebo: has joined #ruby
[14:31:59] yqt: has joined #ruby
[14:32:37] senayar: has joined #ruby
[14:32:51] michael_mbp: has joined #ruby
[14:35:20] OrbitalKitten: has joined #ruby
[14:37:46] Torrieri: has joined #ruby
[14:38:03] shevy: whatdown!
[14:38:14] jenrzzz: has joined #ruby
[14:38:38] centrx: on the groun
[14:39:29] jinx123_: has joined #ruby
[14:40:43] shevy: on the groin?
[14:41:27] dfockler: has joined #ruby
[14:41:29] centrx: Sir Loin!
[14:42:34] uptownhr: has joined #ruby
[14:43:37] stamina: has joined #ruby
[14:44:02] shevy: and Sir Lancelot!
[14:44:20] centrx: together again!
[14:44:36] shevy: Sir centrx is a knight of the round table
[14:45:03] centrx: Sir shevy is a knight of the round table
[14:45:09] centrx: Fighing PHP to the death!
[14:45:15] Al3ks: has joined #ruby
[14:45:53] shevy: well we can always try to look at trends http://goo.gl/urZUqa
[14:46:04] Pupeno: has joined #ruby
[14:46:32] shevy: large gain for python; slight decrease for PHP, slight decrease for ruby but not as much as php in comparison; large decrease for perl
[14:46:37] krz: has joined #ruby
[14:47:59] centrx: Look at Regional Interest, all from India
[14:50:25] Rubie: has joined #ruby
[14:50:32] sarkyniin: has joined #ruby
[14:51:16] centrx: Ruby is actually the top one outside of India
[14:53:36] devdazed: has joined #ruby
[14:53:45] Iskarlar: has joined #ruby
[14:54:29] IrishGringo: has joined #ruby
[14:55:53] kraljev11: has joined #ruby
[15:00:28] icebourg: has joined #ruby
[15:00:30] dorei: i think it's not correct :p
[15:01:09] dorei: http://goo.gl/WYSR0h
[15:01:14] dorei: this one is more correct
[15:01:25] dorei: somehow google trends doesnt recognize python as a programming language :S
[15:01:26] dreinull75: 3.x "I" => "III". Any super simple solutions?
[15:01:34] havenwood: Most programmers are in Tanzania apparently.
[15:01:50] havenwood: I do not believe...
[15:02:13] ruboto: havenwood # => "III" (https://eval.in/384724)
[15:02:14] dorei: google trends makes a distrinction between "search terms" and higher level concepts as programming languages, etc
[15:02:27] bnagy: ACTION walks in
[15:02:34] bnagy: ACTION reads scrollback
[15:02:39] bnagy: ACTION walks out
[15:02:50] dreinull75: havenwood unbelievable. I knew there was something :)
[15:03:05] dreinull75: couldn't remember what it was though.
[15:04:22] dorei: what's really interesting with google trends is that if one selects a smaller duration like 90days, then the graph oscilates between week days and week ends :)
[15:05:16] sinkensabe: has joined #ruby
[15:06:21] _ixti_: has joined #ruby
[15:06:22] starfox_sf: has joined #ruby
[15:09:47] CloCkWeRX: has left #ruby: ()
[15:11:28] Ariadeno: has joined #ruby
[15:13:54] Pupeno: has joined #ruby
[15:15:15] endash: has joined #ruby
[15:16:06] qwertme: has joined #ruby
[15:19:48] yayfoxes: has joined #ruby
[15:20:40] ljarvis: pls2feedback https://github.com/leejarvis/slop/issues/170
[15:22:50] jhass: well, I think ideally it would differ depending on --bar is defined as an option or not
[15:23:08] jhass: if it is defined as an option it can't be consumed as an argument for another option
[15:23:13] jhass: if it isn't then it can
[15:23:49] jhass: mmh, though I guess that would need a third variant
[15:23:54] ljarvis: yeah I thought that too, but then we can raise on invalid/unknown options being provided
[15:23:58] jhass: that is --bar --foo --bar should work
[15:25:27] jhass: well, or require --foo=--bar if the argument should start with a -
[15:25:49] Al3ks: has joined #ruby
[15:26:09] ljarvis: i guess, though it seems restrictive
[15:26:10] dross: has joined #ruby
[15:26:19] ljarvis: i should check what more parsers do
[15:26:39] ljarvis: does crystal have a go-to option parser?
[15:27:18] jhass: yeah, though it's just a copy of optparse, even more basic I guess: https://github.com/manastech/crystal/blob/master/src/option_parser.cr
[15:28:25] sandstrom: has joined #ruby
[15:28:42] rafaelsales: has joined #ruby
[15:29:54] alex88: has joined #ruby
[15:32:08] c355E3B: has joined #ruby
[15:33:34] senayar: has joined #ruby
[15:33:43] senayar: has joined #ruby
[15:40:41] autrilla: has joined #ruby
[15:40:48] zenguy_pc: has joined #ruby
[15:40:57] aryaching: has joined #ruby
[15:41:49] yfeldblum: has joined #ruby
[15:43:03] peter_paule: has joined #ruby
[15:43:19] workmad3: has joined #ruby
[15:45:44] nateberkopec: has joined #ruby
[15:46:07] premera: has joined #ruby
[15:47:17] NeverDie: has joined #ruby
[15:47:30] premera: has joined #ruby
[15:47:37] sarkyniin: has joined #ruby
[15:47:51] mcclurmc: has joined #ruby
[15:47:56] premera: has joined #ruby
[15:48:19] premera: has joined #ruby
[15:48:28] dross: has joined #ruby
[15:49:47] premera: has joined #ruby
[15:50:13] premera: has joined #ruby
[15:50:36] premera: has joined #ruby
[15:50:58] premera: has joined #ruby
[15:51:23] premera: has joined #ruby
[15:51:48] premera: has joined #ruby
[15:51:55] ducklobster: has joined #ruby
[15:52:09] premera: has joined #ruby
[15:52:28] s2013: has joined #ruby
[15:53:02] jhass: \o/ 1k users on a weekend!
[15:53:05] RegulationD: has joined #ruby
[15:56:43] endash: has joined #ruby
[15:57:50] duggiefresh: has joined #ruby
[15:58:09] chipotle: has joined #ruby
[16:00:21] GPrime: has joined #ruby
[16:03:19] bronson: has joined #ruby
[16:05:41] zenguy_pc: has joined #ruby
[16:06:03] penzur: has joined #ruby
[16:06:19] sinkensabe: has joined #ruby
[16:06:55] shevy: 500 bots!!!
[16:07:10] shevy: bot ljarvis bot dorei bot dreinull75
[16:07:26] jhass: so what? users are users, AI or not
[16:08:09] shevy: dorei btw your trend reaches back only one year? how do you set this? http://goo.gl/WYSR0h
[16:08:59] woodruffw: has joined #ruby
[16:09:19] livathinos: has joined #ruby
[16:10:34] Rapier-: has joined #ruby
[16:11:17] systemd0wn: has joined #ruby
[16:12:03] langlands: has joined #ruby
[16:13:04] woodruffw: has joined #ruby
[16:16:06] Oog: has joined #ruby
[16:16:47] robbyoconnor: has joined #ruby
[16:18:51] blue_deref: has joined #ruby
[16:19:40] ponga: has joined #ruby
[16:20:11] tejasmanohar: has joined #ruby
[16:20:48] r0bby_: has joined #ruby
[16:22:25] premera: has joined #ruby
[16:22:47] premera: has joined #ruby
[16:23:08] premera: has joined #ruby
[16:23:30] premera: has joined #ruby
[16:23:56] premera: has joined #ruby
[16:24:02] hfp_work: has joined #ruby
[16:24:11] greenbagels: has joined #ruby
[16:24:17] premera: has joined #ruby
[16:24:31] hfp: has joined #ruby
[16:24:43] premera: has joined #ruby
[16:25:04] premera: has joined #ruby
[16:25:27] premera: has joined #ruby
[16:27:28] jackjackdripper: has joined #ruby
[16:28:09] leitz: has joined #ruby
[16:28:27] shevy: libpng12.so.0 => not found
[16:28:30] uptownhr: has joined #ruby
[16:28:36] shevy: now why does my ruby depend on libpng at all...
[16:28:42] peter_paule: has joined #ruby
[16:28:51] leitz: I'm trying to iterate through an array but not succeeding. Operator Error, just not sure what. https://gist.github.com/LeamHall/52fd5047560ece6e8f0a
[16:29:30] araujo: has joined #ruby
[16:29:40] baweaver: has joined #ruby
[16:30:23] shevy: this code does not make sense
[16:30:28] bnagy: leitz: what is your actual problem?
[16:30:29] shevy: item.strip!
[16:30:31] shevy: superfluous
[16:30:34] baweaver_: has joined #ruby
[16:30:39] shevy: also, puts character.item
[16:30:47] bnagy: it looks like you're trying to send but failing
[16:30:48] shevy: try to use .send(item)
[16:31:02] Agoldfish: has joined #ruby
[16:31:29] hfp: has joined #ruby
[16:31:46] fedexo: has joined #ruby
[16:31:55] baweaver_: has joined #ruby
[16:31:59] hfp_work: has joined #ruby
[16:32:40] leitz: The error is "./lib/trav_functions.rb:69:in `out_txt': undefined method `item' for #<Marine:0x7f8c51759600> (NoMethodError)"
[16:33:46] IrishGringo: has joined #ruby
[16:33:50] leitz: The idea is to get to "item = character.item" so the puts can be called "puts "career name ..."
[16:34:36] leitz: The failing line is the "puts character.item" line.
[16:35:27] shevy: did you update your code
[16:36:21] shevy: .item is always the method called item() and never the block-variable you used above called |item|
[16:36:48] shevy: item.strip! does not make any sense because your array already looks like this:
[16:36:53] shevy: >> output_sequence = %w(career rank name upp gender age terms)
[16:36:55] ruboto: shevy # => ["career", "rank", "name", "upp", "gender", "age", "terms"] (https://eval.in/384744)
[16:36:55] leitz: shevy, how do I reference the block value?
[16:37:05] shevy: so calling .strip there is totally useless
[16:37:16] Rapier-: has joined #ruby
[16:37:16] shevy: don't put a preceding '.' character for instance
[16:37:30] shevy: the ruby parser will correctly interprete this code to invoke the .item() method on that object
[16:37:47] mcpierce: has joined #ruby
[16:37:50] leitz: so use "characteritem"
[16:38:09] zenguy_pc: has joined #ruby
[16:38:41] jhass: leitz: puts character.public_send item
[16:38:54] leitz: There is no "item()" variable or method, each of those is a value. So "character..career" is "Marine"
[16:40:05] leitz: jhass, no pubilc_send method.
[16:40:14] jhass: leitz: get a supported ruby version
[16:40:54] erts: has joined #ruby
[16:41:12] jhass: if you don't have public_send that means you're on 1.8, which beyond dead
[16:41:20] shevy: leitz you can use .send()
[16:41:30] jhass: but you should update your ruby instead
[16:42:33] al2o3-cr: has joined #ruby
[16:42:38] shevy: leitz "characteritem" will be a different thing again, just because "item" is part of that name does not mean that it has anything to do with any other "item"
[16:43:18] ljarvis: wrong screen
[16:43:39] shevy: what was the right screen
[16:43:47] ljarvis: the one that is not irc
[16:44:09] ljarvis: s = git status
[16:44:24] rafaelsales: has joined #ruby
[16:44:36] znz_jp: has joined #ruby
[16:45:19] shevy: oh wow... first time that I have this error
[16:45:21] shevy: rubygems/specification.rb:2112:in `raise_if_conflicts': Unable to activate program_information-1.0.27, because colours-0.0.32 conflicts with colours (>= 0.10) (Gem::ConflictError)
[16:45:42] jhass: time to use bundler :P
[16:45:58] f209: has joined #ruby
[16:46:00] yoongkang: has joined #ruby
[16:46:30] f209: Hi guys, have a question about Ruby.. Is the Trie data structure part of available collections by default?
[16:46:35] f209: or is it something I'd have to write?
[16:46:46] jhass: not aware it's in core
[16:46:47] peter_paule: has joined #ruby
[16:46:48] shevy: jhass hmm but bundler can not bypass a restriction like that or?
[16:47:08] jhass: f209: http://ruby-doc.org/core-2.2.2/ has a neat search
[16:47:29] ponga: If i wanted to write a gui in ruby crossplatform but don't want to use shoes, is qtruby a good option to go for?
[16:47:43] jhass: shevy: it might be able to resolve to a version that both support, or at least more clearly point out why the conflict is happening
[16:47:48] shevy: I just rebuilt my ruby and there is no more libpng dependency \o/
[16:48:35] f209: I'm applying for this job and they literally gave me this academic problem: based on Find Longest Word Made of Other Words
[16:48:51] f209: they said I can write it in C, C++, Java, Python or Ruby
[16:48:53] AustinLMayes: has joined #ruby
[16:48:57] f209: none of which I use regularly
[16:49:06] shevy: ponga you could use ruby-gnome :)
[16:49:13] jhass: f209: can you use external libraries? I'm sure there's a gem for it :P
[16:49:13] f209: so I'm debating which language it would likely be easiest for me to write it in
[16:49:18] ponga: shevy: does it run on windows too?
[16:49:22] shevy: ponga yeah
[16:49:24] f209: it doesn't say you can so I'm assuming no
[16:49:46] shevy: ponga ideally, if you can, try to make the underlying code base as generic as possible, and then once that is done, add the GUI to it
[16:50:03] shevy: then you can add any GUI to it when you want to, without it being tightly coupled to the GUI
[16:50:45] ponga: thank you , shevy is there a reason you recommend gnome over qt that i might want to hear
[16:50:59] shevy: dunno. it has a wiki actually which helps
[16:51:15] shevy: qtruby looked fancier when I tried it
[16:51:15] olistik: has joined #ruby
[16:51:31] f209: such a pain in the ass that they want me to write a trie data structure
[16:51:36] shevy: if you know of a wiki for qtruby lemme know
[16:52:10] bnagy: f209: tries are trivial :/
[16:52:20] f209: writing the whole data structure?
[16:52:25] jhass: yeah, looks simple
[16:52:28] bnagy: which is probably the point of the exercise I guess
[16:52:42] langlands: has joined #ruby
[16:52:53] bnagy: like a hash can be used as a ghetto trie with no extra code
[16:53:09] Exuma: has joined #ruby
[16:53:48] jhass: "ghetto trie", we should see how long a WP page on that would survive :D
[16:54:42] langlands: has joined #ruby
[16:55:05] woodruffw: has joined #ruby
[16:55:06] starfox_sf: has joined #ruby
[16:55:09] bnagy: is that one of the embargoed US words?
[16:55:43] f209: since tries are trivial...mind if i ask you a question or two
[16:55:43] shazaum_: has joined #ruby
[16:56:15] f209: assuming we're talking about a-z
[16:56:18] f209: no numbers
[16:56:25] f209: is a trie essentially a tree...where the max nodes level 1 are the letters in the alphabet..
[16:56:37] f209: and subsequently each node on level 2...has x children
[16:56:58] f209: where x is equal to the number of letters in position 2 of the word?
[16:57:16] ponga: shevy: i can't find a good wiki for qtruby, i will stick to gnome ruby then
[16:57:22] ruv: has joined #ruby
[16:57:23] bnagy: without bothering to wikipedia, my understanding is that it's a compressed DAG where the end nodes are the end of a word
[16:58:05] bnagy: so you keep following available paths and then suddenly you find you're at an end node so c->a->t[terminal] means cat is a word
[16:58:21] theery: has joined #ruby
[16:58:35] f209: yea that's what i thought.
[16:59:13] bnagy: I've used them in ruby before, but the stack is small so recursive searches can be tricksy
[16:59:23] s2013: has joined #ruby
[16:59:28] bnagy: probablt changed now, I don't knw
[17:00:09] bnagy: I think if you start with a hash, though, it's pretty natural
[17:00:43] bnagy: you can add more or less formal looking navigation methods, but it's the depth recursion you have to watch out for
[17:01:32] Guest1: has joined #ruby
[17:02:13] rbennacer: has joined #ruby
[17:03:09] Pupeno: has joined #ruby
[17:03:13] Pupeno: has joined #ruby
[17:03:41] j4cknewt: has joined #ruby
[17:03:48] revath: has joined #ruby
[17:04:22] df: has joined #ruby
[17:04:59] gambl0re: has joined #ruby
[17:06:57] Torrieri: has joined #ruby
[17:06:57] Torrieri: has joined #ruby
[17:07:04] sinkensabe: has joined #ruby
[17:07:09] zenguy_pc: has joined #ruby
[17:08:50] nofxxx: has joined #ruby
[17:08:52] nofxx: has joined #ruby
[17:08:53] DLSteve: has joined #ruby
[17:09:48] kraljev11: has joined #ruby
[17:10:00] workmad3: has joined #ruby
[17:10:05] zenguy_pc: has joined #ruby
[17:12:11] nisstyre: has joined #ruby
[17:13:11] qwertme: has joined #ruby
[17:13:15] bmalum: has joined #ruby
[17:13:29] renderful: has joined #ruby
[17:13:55] nisstyre: has joined #ruby
[17:14:13] rippa: has joined #ruby
[17:14:16] uber: has joined #ruby
[17:14:52] x44x45x41x4E: has joined #ruby
[17:21:21] datanoise: has joined #ruby
[17:22:22] zamerick_: has joined #ruby
[17:23:33] kraljev11: has joined #ruby
[17:23:41] Papierkorb: has joined #ruby
[17:23:59] RegulationD: has joined #ruby
[17:24:46] fantazo: has joined #ruby
[17:25:04] drewo: has joined #ruby
[17:25:50] amclain: has joined #ruby
[17:29:19] zenguy_pc: has joined #ruby
[17:31:46] mannyt: has joined #ruby
[17:32:41] Rubie: has joined #ruby
[17:34:42] senayar: has joined #ruby
[17:35:00] freerobby: has joined #ruby
[17:36:33] fgo: has joined #ruby
[17:37:00] otherj: has joined #ruby
[17:38:19] chridal: { "GCM":"{\"data\":{\"message\":\"Test\"}}" } <- I need to achieve this json structure in Ruby. Any thoughts any one?
[17:38:26] chridal: Can't seem to be able to get it to work...
[17:38:47] blackmesa: has joined #ruby
[17:41:01] duderonomy: has joined #ruby
[17:42:14] [H]unt3r: has joined #ruby
[17:43:17] fantazo: has joined #ruby
[17:44:30] Pupeno: has joined #ruby
[17:44:30] Guest98267: has joined #ruby
[17:44:40] jtdoncas: has joined #ruby
[17:45:54] starfox_sf: has joined #ruby
[17:46:25] newish: has joined #ruby
[17:46:42] blue_deref: has joined #ruby
[17:46:51] newish: www.VALBOT.COM provides domain valuations. Reporting globally on Site Traffic, Pagerank, Malware, WHOIS data, SEO & even Social Media presence.
[17:47:06] havenwood: !mute newish
[17:47:07] ruboto: +q newish!*@*
[17:47:07] ruboto: -o ruboto
[17:47:14] newish: has left #ruby: ()
[17:48:49] aryaching: has joined #ruby
[17:49:00] datanoise: has joined #ruby
[17:49:15] havenwood: chridal: Have you tried parsing that String with Ruby's JSON module?
[17:49:24] mcclurmc: has joined #ruby
[17:49:51] chridal: What do you mean?
[17:49:53] chridal: havenwood:
[17:49:59] havenwood: >> require 'json'; JSON.parse '{ "GCM":"{\"data\":{\"message\":\"Test\"}}" }'
[17:50:00] ruboto: havenwood # => {"GCM"=>"{\"data\":{\"message\":\"Test\"}}"} (https://eval.in/384770)
[17:50:52] chridal: havenwood: I am unsure what this tells me
[17:50:59] kraljev11: has joined #ruby
[17:51:03] chridal: What I am struggling is getting that inner part wrapped in quotes
[17:51:48] claptor: has joined #ruby
[17:51:59] havenwood: >> require 'json'; {:data=>{:message=>"Test"}}.to_json
[17:52:00] ruboto: havenwood # => "{\"data\":{\"message\":\"Test\"}}" (https://eval.in/384771)
[17:52:08] lapide_viridi: has joined #ruby
[17:52:19] yoongkang: has joined #ruby
[17:52:31] havenwood: chridal: ^ JSON
[17:53:10] chridal: that doesn't solve it?
[17:53:16] chridal: { "GCM":"{\"data\":{\"message\":\"Test\"}}" } is what I need
[17:53:25] chridal: first part (GCM) does not have escaped quotes
[17:53:32] chridal: where as everything else does
[17:56:01] micmus: has joined #ruby
[17:56:33] swgillespie: has joined #ruby
[17:56:48] _blizzy_: has joined #ruby
[17:57:02] chridal: Think I got it working, I separated the inner and outer part and called .to_json on both of them.
[17:57:13] blackmesa: has joined #ruby
[17:57:14] chridal: Thanks, though.
[17:57:37] Soda: has joined #ruby
[17:58:16] qwertme: has joined #ruby
[17:59:10] swgillespie: has joined #ruby
[17:59:22] wildroman2: has joined #ruby
[17:59:35] revath: has joined #ruby
[18:00:18] Rubie: has joined #ruby
[18:01:29] kraljev11_: has joined #ruby
[18:02:41] djbkd_: has joined #ruby
[18:02:58] drewo: has joined #ruby
[18:04:02] Channel6: has joined #ruby
[18:07:44] sinkensabe: has joined #ruby
[18:08:04] icedragon: >> require 'json'; { "GCM" => { "data" => { "message" => "Test" } }.to_json }.to_json
[18:08:05] ruboto: IceDragon # => "{\"GCM\":\"{\\\"data\\\":{\\\"message\\\":\\\"Test\\\"}}\"}" (https://eval.in/384772)
[18:08:33] havenwood: chridal: That's what I was trying to point out. :)
[18:08:46] jhass: ACTION has a deja-vu
[18:08:53] icedragon: Ignore the first set of quotes and I think you have what you want
[18:09:14] icedragon: Hi jhass, havenwood, what's the latest and greatest?
[18:09:28] jhass: #ruby-offtopic is a thing now
[18:09:57] icedragon: Should I terrified?
[18:10:10] jhass: that we're not sure of yet
[18:10:20] IrishGringo: has joined #ruby
[18:10:25] icedragon: Then I belive I should be terrified
[18:11:03] chridal: It seems that the issue was not that the code from before wasn't working, but that I actually had to kill rake running resque for the files to reload...
[18:11:07] chridal: hence deja-vu
[18:14:17] fabrice31: has joined #ruby
[18:19:14] iamninja: has joined #ruby
[18:19:38] shevy: zombreros
[18:19:45] ellisTAA: has joined #ruby
[18:19:50] icedragon: ACTION noms shevy
[18:20:05] Soda: has joined #ruby
[18:20:18] ellisTAA: does anyone know why even though i put my code into threads they dont run faster than if they weren???t in threads?
[18:20:21] ellisTAA: https://gist.github.com/ellismarte/841958931cdab120f443
[18:20:35] icedragon: because threads?
[18:20:36] spaceghostc2c: EllisTAA: Depends.
[18:21:15] ellisTAA: did i event make them correctly?
[18:21:27] spaceghostc2c: EllisTAA: I think those things are all VM.
[18:21:34] spaceghostc2c: Ruby has a GVL.
[18:21:49] flughafen_: has joined #ruby
[18:21:54] icedragon: EllisTAA: You're joining the threads with the main one, it boils down to the same.
[18:22:03] symm-: has joined #ruby
[18:22:09] ellisTAA: icedragon: what do you mean the main one?
[18:22:18] jhass: EllisTAA: what does join do?
[18:22:57] icedragon: Thread#join merges the target thread into the current one and waits for its execution (not the proper defintion, but its what it does)
[18:23:07] icedragon: @EllisTAA: ^
[18:23:32] bgmarx: has joined #ruby
[18:25:07] aryaching: has joined #ruby
[18:25:13] nahtnam: has joined #ruby
[18:29:36] icedragon: EllisTAA: I commented on your gist, and then I realized you left... FML
[18:30:02] stamina: has joined #ruby
[18:31:34] sarkyniin: has joined #ruby
[18:31:54] sphex: hey. I'm trying to figure out the right way to do something... I need to code something that works as a small state machine. I was trying to set up a transition table as a class variable, but I'm not sure what to use as function pointers. I see there are a lot of options. lambda/Proc should work just fine, but I dunno if that's the best way.
[18:32:04] sargas: has joined #ruby
[18:32:33] sargas: has joined #ruby
[18:32:59] sargas: has joined #ruby
[18:33:12] rafaelsales: has joined #ruby
[18:34:10] MatthewsFace: has joined #ruby
[18:34:33] icedragon: sphex: Depends on your needs, I use objects as my function pointers (they all respond to something like #process or standard #call), lambda/procs work fine for small parts of your code, but if it needs alot of state and helper methods, its best to wrap it into something Callable (an Object that responds to #call and #to_proc)
[18:35:12] icedragon: s/alot/a lot/
[18:35:21] GPrime: has joined #ruby
[18:35:45] senayar: has joined #ruby
[18:36:52] sphex: IceDragon: ok. yeah I don't need a lot of states at all. but I'm confused about instance/class/bound/unbound methods, so I dunno if I could have been using methods in my table somehow.
[18:37:20] zenguy_pc: has joined #ruby
[18:38:21] zacts: has joined #ruby
[18:38:33] sphex: IceDragon: the thing is I'd like my state functions to be able to access the class' instance variables
[18:39:10] dionysus69: has joined #ruby
[18:39:21] icedragon: sphex: Can you gist an example?
[18:39:50] RegulationD: has joined #ruby
[18:40:21] shevy: IceDragon I want a RubyOS
[18:41:30] icedragon: shevy: Pfft, then make it ;D
[18:41:50] shevy: IceDragon don't think this could realistically happen by one person alone
[18:41:52] icedragon: I wish I could exterminate python, but its just everywhere ;-;
[18:41:58] phat4life: shevy: not true
[18:42:18] shevy: phat4life yeah because so many big projects today are made by one person :)
[18:42:34] phat4life: shevy: look at templeos
[18:42:52] shevy: awesome graphics
[18:42:54] spaceghostc2c: IceDragon: Just desecrate the Steve Irwin's grave and use necromancy to set him loose on a python-killing tirade.
[18:43:11] shevy: http://1morecastle.com/wp-content/uploads/2013/09/TempleOSV0106A.bmp
[18:43:15] spaceghostc2c: If anyone could do it, it would be Steve Irwin.
[18:43:30] sphex: IceDragon: well.. not even yet. :/ I guess I should at least try to get it working with lambdas first and see if they can be made to capture the instance.
[18:43:37] shevy: that one is actually cool though http://www.majorgeeks.com/index.php?ct=files&action=file&id=2558
[18:43:39] icedragon: Except one thing, I'm a dragon and IceDragon at that, not a necromancer
[18:43:50] spaceghostc2c: IceDragon: Make a friend.
[18:44:03] shevy: he is a dragon
[18:44:08] shevy: what friend could he possibly have?
[18:44:22] shevy: everybody hates them after having watched that red one in The Hobbit
[18:44:38] spaceghostc2c: shevy: He has things to offer. Like not killing them, unless he's hungry.
[18:44:53] shevy: yeah, classical blackmail :D
[18:44:55] icedragon: shevy, aren't we the best of buds, comrades, amigos, brothers in arms, and all dat jazz?
[18:45:03] timonv: has joined #ruby
[18:45:07] shevy: you must die... did you not watch the dragonhunters?
[18:45:22] icedragon: But I'm a good dragon!
[18:45:25] icedragon: ;-; I stopped kidnapping princesses and burning farms!
[18:45:25] duggiefresh: has joined #ruby
[18:45:42] shevy: what about sheep
[18:45:45] icedragon: I even stopped eating the knights that came to rescue the princesses too
[18:45:58] icedragon: Ah... well, um.. ah, about that
[18:46:02] icedragon: ACTION scoots away
[18:47:04] phat4life: shevy: there are a lot of amazing progjects done by a few people, you just need to build community around it
[18:48:41] icedragon: You just need to make it a thing ;3
[18:50:03] mcclurmc: has joined #ruby
[18:50:20] psye: has joined #ruby
[18:53:04] Cache_Money: has joined #ruby
[18:57:07] marr: has joined #ruby
[18:58:08] ttilley: has joined #ruby
[18:58:27] blackmesa: has joined #ruby
[18:58:32] ttilley: has joined #ruby
[18:58:45] workmad3: has joined #ruby
[19:05:45] lkba: has joined #ruby
[19:08:31] sinkensabe: has joined #ruby
[19:08:32] vasilakisfil_: has joined #ruby
[19:08:37] dgutierrez1287: has joined #ruby
[19:08:41] mhib: has joined #ruby
[19:08:44] vasilakisfil_: is there any quick way to compute the following? "/api/v1/users/148" ==> ["/","/api/","/api/v1","/api/v1/users","/api/v1/users/148"]
[19:09:13] sinkensabe: has joined #ruby
[19:09:29] endash: has joined #ruby
[19:10:06] t_mmyv: has joined #ruby
[19:10:57] slackbotgz: has joined #ruby
[19:13:09] malconis: has joined #ruby
[19:14:52] Alayde_: has joined #ruby
[19:16:56] wildroman2: has joined #ruby
[19:18:43] al2o3-cr: has joined #ruby
[19:26:49] rbowlby: has joined #ruby
[19:28:08] aep: vasilakisfil_: "/api/v1/users/148".enum_for(:scan,/\//).map {$~.pre_match; }
[19:28:26] aep: "/api/v1/users/148".enum_for(:scan,/\//).map {$~.string[0..$~.offset(0)[1]-1] }
[19:29:09] adamski2600: has joined #ruby
[19:29:57] aep: err, i have no idea why i used enum_for
[19:30:23] vasilakisfil_: aep: thanks! a=[]; string.split('/').each{|p| next if p.blank?; a << a.last.to_s + '/' + p}; <-- that was my fastest way
[19:30:49] aep: your version looks more readable to be honest :P
[19:33:06] jtdoncas: has joined #ruby
[19:34:11] jhass: >> "/api/v1/users/148".split(/(?<=\/)/).each_with_object([]) {|component, paths| paths << "#{paths.last}#{component}" } # vasilakisfil_ aep
[19:34:12] ruboto: jhass # => ["/", "/api/", "/api/v1/", "/api/v1/users/", "/api/v1/users/148"] (https://eval.in/384802)
[19:34:43] jhass: slightly cleaner version
[19:35:24] aep: i didnt know about each_with_object. thats pretty cool
[19:36:17] cashnguns: has joined #ruby
[19:36:19] senayar: has joined #ruby
[19:39:12] baweaver: has joined #ruby
[19:39:32] kadoppe: has joined #ruby
[19:39:37] MVPhelp: has joined #ruby
[19:39:45] IrishGringo: has joined #ruby
[19:40:58] ellisTAA: has joined #ruby
[19:42:35] Al3ks: has joined #ruby
[19:43:03] baweaver_: has joined #ruby
[19:43:51] baweaver: has joined #ruby
[19:45:11] baweaver_: has joined #ruby
[19:47:00] User458764: has joined #ruby
[19:47:53] Limix: has joined #ruby
[19:48:26] jpfuentes2: has joined #ruby
[19:48:41] toretore: has joined #ruby
[19:48:58] ruby-lang521: has joined #ruby
[19:49:02] baweaver: has joined #ruby
[19:49:21] ruby-lang521: i am trying to get the google analytics data from ruby.. what is the best gem for it ?
[19:49:41] ruby-lang521: <br>i am trying to get the google analytics data from ruby.. what is the best gem for it ?<br>
[19:49:48] ruby-lang521: <b>i am trying to get the google analytics data from ruby.. what is the best gem for it ?<b>
[19:50:01] wildroman2: has joined #ruby
[19:50:56] mcclurmc: has joined #ruby
[19:51:34] freerobby: has joined #ruby
[19:52:14] dross: has joined #ruby
[19:52:57] jhass: ruby-lang521: it came through the first time
[19:53:07] jhass: and this is IRC, not a webbrowser ;P
[19:53:25] riceandbeans: has joined #ruby
[19:53:28] jhass: ruby-lang521: anyway, which options did you find?
[19:53:29] dgutierrez1287: has joined #ruby
[19:53:40] ruby-lang521: i am figuring out how to use this irc as well
[19:53:56] riceandbeans: https://gist.github.com/strangelittlemonkey/9e259fc631fe52e54bf9 can anyone tell me why when run, than script still lists .. as a directory?
[19:53:56] ruby-lang521: i found garb and gattica.. both are old and has bugs and errors in it
[19:54:18] ruby-lang521: do you have any idea <jhass> ?
[19:56:42] jhass: ruby-lang521: searching for google analytics on rubygems.org turns up https://rubygems.org/gems/lazy_google_analytics
[19:56:48] jhass: last update from 2013 though
[19:57:19] riceandbeans: jhass: :\ any idea for me?
[19:57:47] jhass: riceandbeans: yeah, keep http://ruby-community.com/pages/user_rules#rule_2_7 in mind
[19:58:00] dopie: has joined #ruby
[19:58:57] weaksauce: riceandbeans you shouldn't try to mutate a list like that.
[19:59:08] Xeago: has joined #ruby
[19:59:40] riceandbeans: ok, so my style is wrong, but why is .. still shown?
[19:59:46] jhass: yeah, mutating the list while iterating over it probably causes the loop to jump over the entry after the one you delete, in this case ".."
[19:59:56] jhass: use .reject
[20:00:36] riceandbeans: I guess I could just hard code the . and .. in a .delete too
[20:00:49] jhass: or use Dir::[]/Dir::glob
[20:00:52] riceandbeans: the other names with . would be better with reject though I guess
[20:01:29] riceandbeans: I'm going to try to reimplement world in ruby to learn
[20:01:56] riceandbeans: I figured ls would be the easiest start
[20:02:10] riceandbeans: well, after head and tail
[20:02:22] riceandbeans: I think top is going to be difficult
[20:02:37] riceandbeans: but...I think it'll be a good learning experience
[20:02:54] Stany: has joined #ruby
[20:03:10] Blizzy: has joined #ruby
[20:03:11] Agoldfish378: has joined #ruby
[20:03:13] fabrice31: has joined #ruby
[20:03:52] rafaelsales: has joined #ruby
[20:03:59] alem0lars: has joined #ruby
[20:04:15] skyrocker1: has joined #ruby
[20:04:17] yorickpeterse1: has joined #ruby
[20:04:18] towski_: has joined #ruby
[20:04:43] yorickpeterse1: has joined #ruby
[20:04:49] apt-get_: has joined #ruby
[20:05:25] cek_: has joined #ruby
[20:05:26] harleypig_: has joined #ruby
[20:05:28] strmpnk_: has joined #ruby
[20:05:31] djbender_: has joined #ruby
[20:05:35] crdpink: has joined #ruby
[20:05:37] jcp: has joined #ruby
[20:05:53] culturelabs_: has joined #ruby
[20:06:10] AdamMeghji_: has joined #ruby
[20:06:17] perrier_: has joined #ruby
[20:06:36] alekst__: has joined #ruby
[20:06:58] Meeh_: has joined #ruby
[20:07:01] justinmcp_: has joined #ruby
[20:07:12] cina_: has joined #ruby
[20:07:13] phizzbuzz: has joined #ruby
[20:07:16] ramblinpeck____: has joined #ruby
[20:07:18] jxf_: has joined #ruby
[20:07:19] rgs_: has joined #ruby
[20:07:20] drewdavis_: has joined #ruby
[20:07:21] dfockler: has joined #ruby
[20:07:35] shaman42: has joined #ruby
[20:07:37] jzigmund_: has joined #ruby
[20:07:46] dgutierrez1287: has joined #ruby
[20:07:48] chadrien_: has joined #ruby
[20:07:50] romero_: has joined #ruby
[20:07:52] peteyg_: has joined #ruby
[20:07:54] jinx123: has joined #ruby
[20:08:09] TvL: has joined #ruby
[20:08:43] DefV_: has joined #ruby
[20:08:51] charliesome: has joined #ruby
[20:08:57] lacrosse___: has joined #ruby
[20:09:13] t-richards_: has joined #ruby
[20:11:04] okdas_: has joined #ruby
[20:11:05] Shidash_: has joined #ruby
[20:11:09] waxjar_: has joined #ruby
[20:11:13] george2_: has joined #ruby
[20:11:14] Evans: has joined #ruby
[20:11:17] ElderFain-: has joined #ruby
[20:11:18] mistym_: has joined #ruby
[20:11:20] Junaos_: has joined #ruby
[20:11:22] Brando753-o_O_o: has joined #ruby
[20:11:23] fredsir_: has joined #ruby
[20:11:24] pjaspers_: has joined #ruby
[20:11:28] duoi_ghost: has joined #ruby
[20:11:29] hyperdrive: has joined #ruby
[20:11:34] psmolen_: has joined #ruby
[20:11:36] Klumben_: has joined #ruby
[20:11:36] mistym_: has joined #ruby
[20:11:50] soahccc^: has joined #ruby
[20:11:52] Mathieu: has joined #ruby
[20:11:55] omegahm|BNC: has joined #ruby
[20:12:14] sfr^^: has joined #ruby
[20:12:15] kartouch_: has joined #ruby
[20:12:16] LBRapid_: has joined #ruby
[20:12:24] Plas: has joined #ruby
[20:12:27] retornam_: has joined #ruby
[20:13:01] Billias_: has joined #ruby
[20:13:21] SegFaultAX_: has joined #ruby
[20:13:32] pabst: has joined #ruby
[20:13:37] johnhame-: has joined #ruby
[20:13:44] baweaver: has joined #ruby
[20:13:44] riceandbeans: reject definitely worked, thank you
[20:13:48] DarkBushido_: has joined #ruby
[20:14:09] jmhmccr: has joined #ruby
[20:14:10] jimeh_: has joined #ruby
[20:14:25] wookiehangover_: has joined #ruby
[20:15:02] Junaos: has joined #ruby
[20:15:07] ElderFain: has joined #ruby
[20:15:18] mosez: has joined #ruby
[20:15:20] Guest85414______: has joined #ruby
[20:15:34] callumacrae: has joined #ruby
[20:15:57] reprazent: has joined #ruby
[20:16:04] allomov: has joined #ruby
[20:16:11] tekacs: has joined #ruby
[20:16:13] polyrob: has joined #ruby
[20:16:34] C1V0: has joined #ruby
[20:17:04] riceandbeans: so with an example like the one in http://docs.ruby-lang.org/en/2.1.0/OptionParser.html is it possible to escape the last argument in ARGV?
[20:17:39] Nightmare: has joined #ruby
[20:17:47] ringarin: has joined #ruby
[20:17:49] riceandbeans: say you're writing ls, you want to have the ease of the flags, but still be able to just have the last argument be the match group
[20:17:50] universa1: has joined #ruby
[20:18:10] Creede: has joined #ruby
[20:18:44] hyperdrive: has joined #ruby
[20:18:51] finges: has joined #ruby
[20:19:03] eggoez: has joined #ruby
[20:19:38] jeaye: has joined #ruby
[20:19:50] marcoamorales: has joined #ruby
[20:19:58] konieczkow: has joined #ruby
[20:20:05] mozzarella: has joined #ruby
[20:20:07] GnuYawk: has joined #ruby
[20:20:33] RealMarc: has joined #ruby
[20:20:33] tylersmith: has joined #ruby
[20:20:35] canton7: has joined #ruby
[20:20:42] melter: has joined #ruby
[20:20:46] ChoiKyuSang: has joined #ruby
[20:20:49] certainty: has joined #ruby
[20:20:50] mnemon: has joined #ruby
[20:20:57] canton7: has joined #ruby
[20:21:03] jokke: has joined #ruby
[20:21:13] programmerq: has joined #ruby
[20:21:14] bascht: has joined #ruby
[20:21:21] Hanmac: has joined #ruby
[20:21:27] akahn: has joined #ruby
[20:21:34] cstrahan: has joined #ruby
[20:21:40] chrisseaton: has joined #ruby
[20:21:42] datanoise: has joined #ruby
[20:21:43] centrx: has joined #ruby
[20:21:49] langlands: has joined #ruby
[20:22:11] _blizzy_: has joined #ruby
[20:22:27] GGMethos: has joined #ruby
[20:22:29] f2099: has joined #ruby
[20:22:37] BLuEGoD: has joined #ruby
[20:22:48] MiracleBlue: has joined #ruby
[20:22:50] Dwarf: has joined #ruby
[20:22:57] marr123: has joined #ruby
[20:22:57] langlands: has joined #ruby
[20:23:04] ht: has joined #ruby
[20:23:05] jhass: you can modify ARGV if everything else fails
[20:24:22] Jamo___: has joined #ruby
[20:24:31] kiki_lam1: has joined #ruby
[20:24:33] IrishGringo_: has joined #ruby
[20:24:39] ytti: has joined #ruby
[20:24:42] fedexo_: has joined #ruby
[20:24:43] pasv: has joined #ruby
[20:24:44] sphex_: has joined #ruby
[20:24:49] kloeri_: has joined #ruby
[20:24:56] ndrei_: has joined #ruby
[20:24:56] chrisarc1nd: has joined #ruby
[20:25:01] rgs: has joined #ruby
[20:25:02] ebarrett_: has joined #ruby
[20:25:14] kaspergr1bbe: has joined #ruby
[20:25:15] troter___: has joined #ruby
[20:25:38] coderkevin: has joined #ruby
[20:25:57] firevolt: has joined #ruby
[20:26:17] lokulin_: has joined #ruby
[20:26:45] Aryasam: has joined #ruby
[20:27:36] pontiki: has joined #ruby
[20:28:12] kadoppe_: has joined #ruby
[20:28:16] mathie: has joined #ruby
[20:28:18] mighty_gorilla: has joined #ruby
[20:28:18] trollface: has joined #ruby
[20:28:19] sfr^: has joined #ruby
[20:28:19] qdf: has joined #ruby
[20:28:19] DarkBushido: has joined #ruby
[20:28:22] LBRapid: has joined #ruby
[20:28:23] epochwolf|2: has joined #ruby
[20:28:24] holsee_: has joined #ruby
[20:28:26] teotwaki_: has joined #ruby
[20:28:27] prasselpikachu_: has joined #ruby
[20:28:30] duoi: has joined #ruby
[20:28:31] JaTochNietDan_: has joined #ruby
[20:28:32] Billias_: has joined #ruby
[20:28:32] lupine_85: has joined #ruby
[20:28:33] Seich_: has joined #ruby
[20:28:34] nullwarp_: has joined #ruby
[20:28:35] jalcine-: has joined #ruby
[20:28:37] Shidash: has joined #ruby
[20:28:44] rvchangu-: has joined #ruby
[20:28:45] iooner_: has joined #ruby
[20:29:13] blackjid: has joined #ruby
[20:29:24] cjk101010_: has joined #ruby
[20:29:41] jimeh: has joined #ruby
[20:29:52] znz_jp0: has joined #ruby
[20:30:13] ssvss: has joined #ruby
[20:30:15] drewdavis: has joined #ruby
[20:30:26] PlasmaStar: has joined #ruby
[20:30:35] roryhughes: has joined #ruby
[20:30:38] weaksauce: has joined #ruby
[20:30:41] george2: has joined #ruby
[20:31:04] AdamMeghji: has joined #ruby
[20:31:10] blackmesa: has joined #ruby
[20:31:10] ckrailo: has joined #ruby
[20:31:21] martinbmadsen: has joined #ruby
[20:31:37] johnhamelink: has joined #ruby
[20:31:40] peter_paule: has joined #ruby
[20:31:50] mistym: has joined #ruby
[20:32:40] larissa: has joined #ruby
[20:32:51] j416: has joined #ruby
[20:33:04] jnormandeau: has joined #ruby
[20:33:12] blackmes1: has joined #ruby
[20:33:14] crdpink: has joined #ruby
[20:33:20] drbrain: has joined #ruby
[20:33:56] bttf: has joined #ruby
[20:34:18] Asher2: has joined #ruby
[20:34:29] jtdowney_: has joined #ruby
[20:34:35] _jesterfraud: has joined #ruby
[20:34:46] kartouch: has joined #ruby
[20:34:49] universa1: has joined #ruby
[20:34:49] jidar: has joined #ruby
[20:34:51] SegFaultAX: has joined #ruby
[20:34:58] wookiehangover: has joined #ruby
[20:35:37] higuys: has joined #ruby
[20:35:51] Sembei: has joined #ruby
[20:35:58] torpig: has joined #ruby
[20:36:00] unclouded: has joined #ruby
[20:36:30] twistedpixels: has joined #ruby
[20:36:38] beneggett: has joined #ruby
[20:36:46] maZtah: has joined #ruby
[20:37:05] FernandoBasso: has joined #ruby
[20:37:13] senayar: has joined #ruby
[20:37:31] Derasi: has joined #ruby
[20:37:39] philtr_: has joined #ruby
[20:37:45] davedev24: has joined #ruby
[20:37:47] Ariadeno: has joined #ruby
[20:37:49] andrewstewart: has joined #ruby
[20:37:53] claws: has joined #ruby
[20:37:58] meshugga1: has joined #ruby
[20:38:10] chrisarcand: has joined #ruby
[20:38:28] Lucky_: has joined #ruby
[20:38:28] ada2358_: has joined #ruby
[20:38:35] opalraav1: has joined #ruby
[20:38:37] cbednarski: has joined #ruby
[20:38:38] yfeldblum: has joined #ruby
[20:38:38] Deele: has joined #ruby
[20:38:38] jsrn_: has joined #ruby
[20:38:38] cschneid: has joined #ruby
[20:38:38] Nightmare: has joined #ruby
[20:38:38] waxjar: has joined #ruby
[20:38:38] jordanm: has joined #ruby
[20:38:38] Creede: has joined #ruby
[20:38:38] psmolen_: has joined #ruby
[20:38:38] psye: has joined #ruby
[20:38:38] krowv: has joined #ruby
[20:38:38] marienz: has joined #ruby
[20:38:38] michaelreid: has joined #ruby
[20:38:38] moted: has joined #ruby
[20:38:38] mattp_: has joined #ruby
[20:38:38] sarlalian: has joined #ruby
[20:38:38] kstuart: has joined #ruby
[20:38:38] pocketprotector: has joined #ruby
[20:38:38] jaxxstorm: has joined #ruby
[20:38:38] niko: has joined #ruby
[20:38:38] kies^: has joined #ruby
[20:38:38] mduk: has joined #ruby
[20:38:39] callumacrae: has joined #ruby
[20:38:39] unshadow_: has joined #ruby
[20:38:48] Skelz0r_: has joined #ruby
[20:38:48] badeball_: has joined #ruby
[20:38:52] langlands: has joined #ruby
[20:38:53] charliesome: has joined #ruby
[20:38:53] ericmeds_: has joined #ruby
[20:38:58] systemd0wn_: has joined #ruby
[20:39:12] xsdg_: has joined #ruby
[20:39:12] Rennex_: has joined #ruby
[20:39:16] moloch: has joined #ruby
[20:39:16] atmosx_: has joined #ruby
[20:39:22] cschneid: has joined #ruby
[20:39:28] rdema_: has joined #ruby
[20:39:46] contradictioned_: has joined #ruby
[20:39:58] dijikul: has joined #ruby
[20:40:01] Liam`: has joined #ruby
[20:40:06] Sypheren_: has joined #ruby
[20:40:07] pocketprotector: has joined #ruby
[20:40:13] valeri_uF0: has joined #ruby
[20:40:16] langlands: has joined #ruby
[20:40:20] sash__: has joined #ruby
[20:40:21] EvilJStoker_: has joined #ruby
[20:40:31] Kero_: has joined #ruby
[20:40:34] magicien_: has joined #ruby
[20:40:40] drager_: has joined #ruby
[20:41:07] ellisTAA: has joined #ruby
[20:41:08] sivoais_: has joined #ruby
[20:41:28] constantinexvi_: has joined #ruby
[20:41:28] shtirlic_: has joined #ruby
[20:41:32] elaptics`: has joined #ruby
[20:41:33] rmoriz_: has joined #ruby
[20:41:51] mcpierce`: has joined #ruby
[20:42:01] sjohnsen-: has joined #ruby
[20:42:04] bougyman_: has joined #ruby
[20:42:06] tekmaster: has joined #ruby
[20:42:13] goezz: has joined #ruby
[20:42:13] leslie1: has joined #ruby
[20:42:19] ElderFain-: has joined #ruby
[20:42:22] dbussink_: has joined #ruby
[20:42:31] cashnguns: has joined #ruby
[20:42:46] atomic: has joined #ruby
[20:42:48] funnel_: has joined #ruby
[20:43:19] _Tristan-Speccy_: has joined #ruby
[20:43:20] zack6849_: has joined #ruby
[20:43:38] mjmac_: has joined #ruby
[20:43:51] bcavileer: has joined #ruby
[20:43:58] djbender: has joined #ruby
[20:44:02] brb3_: has joined #ruby
[20:44:25] bakednotfried_: has joined #ruby
[20:44:26] skakri`: has joined #ruby
[20:44:29] shawnatyger: has joined #ruby
[20:44:30] moredhel-: has joined #ruby
[20:44:31] Armand: has joined #ruby
[20:44:33] amitchellbullard: has joined #ruby
[20:44:36] pusewicz_: has joined #ruby
[20:44:53] Klumben: has joined #ruby
[20:44:57] hien_: has joined #ruby
[20:45:07] russt_: has joined #ruby
[20:45:16] chridal_: has joined #ruby
[20:45:21] bougyman_: has joined #ruby
[20:45:25] adambeynon_: has joined #ruby
[20:45:27] Drakevr_: has joined #ruby
[20:45:51] Evan-: has joined #ruby
[20:45:57] thiagovsk_: has joined #ruby
[20:45:59] bryancp_: has joined #ruby
[20:46:03] hellschreiber_: has joined #ruby
[20:46:10] zzak_: has joined #ruby
[20:46:26] fluchtreflex_: has joined #ruby
[20:46:32] charles81_: has joined #ruby
[20:46:34] dross: has joined #ruby
[20:46:45] bove: has joined #ruby
[20:46:47] c355E3B: has joined #ruby
[20:46:48] jasonmit: has joined #ruby
[20:46:55] segv_: has joined #ruby
[20:47:02] dgutierrez1287: has joined #ruby
[20:47:30] workmad3: has joined #ruby
[20:48:18] skarn: has joined #ruby
[20:48:46] ElderFain: has joined #ruby
[20:49:08] hplar: has joined #ruby
[20:49:18] yxhuvud: has joined #ruby
[20:49:36] coffeeju1: has joined #ruby
[20:49:40] micmus: has joined #ruby
[20:50:04] zets: has joined #ruby
[20:50:05] Matthews_: has joined #ruby
[20:50:16] dopie: has joined #ruby
[20:51:06] jtperreault: has joined #ruby
[20:51:33] Igorshp: has joined #ruby
[20:51:59] last_staff: has joined #ruby
[20:52:10] spectra: has joined #ruby
[20:52:14] marens_: has joined #ruby
[20:52:29] atom3: has joined #ruby
[20:52:29] Caius: has joined #ruby
[20:52:29] soulcake: has joined #ruby
[20:52:29] rj-code: has joined #ruby
[20:52:40] rtl_: has joined #ruby
[20:52:42] Caius: has joined #ruby
[20:52:42] soulcake: has joined #ruby
[20:52:50] mbeasley: has joined #ruby
[20:52:57] blenny_: has joined #ruby
[20:52:57] chris2: has joined #ruby
[20:53:01] Affix-Phobos: has joined #ruby
[20:53:07] low-profile: has joined #ruby
[20:53:07] bigmac_: has joined #ruby
[20:53:09] kenichi_: has joined #ruby
[20:53:24] ghormoon_: has joined #ruby
[20:53:33] lkba: has joined #ruby
[20:53:34] cvtsx: has joined #ruby
[20:53:38] smooth_penguin: has joined #ruby
[20:53:46] Coraline: has joined #ruby
[20:53:48] badeball: has joined #ruby
[20:53:55] navs__: has joined #ruby
[20:54:01] nnnn: has joined #ruby
[20:54:01] raddazong: has joined #ruby
[20:54:09] devyn_: has joined #ruby
[20:54:09] Hamled|Erp: has joined #ruby
[20:54:10] pyon: has joined #ruby
[20:54:12] oddmunds1: has joined #ruby
[20:54:15] c-c_: has joined #ruby
[20:54:17] suffice_: has joined #ruby
[20:54:23] sphex_: has joined #ruby
[20:54:29] kloeri_: has joined #ruby
[20:54:30] n008f4g__: has joined #ruby
[20:54:31] exceion_: has joined #ruby
[20:54:31] subtwo: has joined #ruby
[20:54:33] ujjain: has joined #ruby
[20:54:33] ujjain: has joined #ruby
[20:54:36] tskogberg: has joined #ruby
[20:54:38] sn0wb1rd: has joined #ruby
[20:54:38] dostoyev1ky: has joined #ruby
[20:54:40] freezey: has joined #ruby
[20:54:42] adaedra: has joined #ruby
[20:54:45] niko: has joined #ruby
[20:54:52] rhg135: has joined #ruby
[20:54:57] julieeharshaw: has joined #ruby
[20:54:58] ght: has joined #ruby
[20:55:03] Pumpkin-: has joined #ruby
[20:55:09] Silex: has joined #ruby
[20:55:14] featheryahn_: has joined #ruby
[20:55:25] n1ftyn8: has joined #ruby
[20:55:43] Dfoolz: has joined #ruby
[20:55:48] zlude: has joined #ruby
[20:56:04] Someguy123: has joined #ruby
[20:56:14] pskosinski: has joined #ruby
[20:56:18] glowcoil: has joined #ruby
[20:56:19] _chs_: has joined #ruby
[20:56:22] [spoiler]: has joined #ruby
[20:56:23] daxroc: has joined #ruby
[20:56:29] strmpnk: has joined #ruby
[20:56:42] brainslug: has joined #ruby
[20:57:06] MyMind: has joined #ruby
[20:57:59] Azure|dc: has joined #ruby
[20:58:01] DANtheBE-: has joined #ruby
[20:58:01] constantinexvi: has joined #ruby
[20:58:04] bougyman: has joined #ruby
[20:58:04] bougyman: has joined #ruby
[20:58:04] jinie_: has joined #ruby
[20:58:08] hyperdrive: has joined #ruby
[20:58:12] Olipro_: has joined #ruby
[20:58:13] Log1x_: has joined #ruby
[20:58:34] michaeldeol: has joined #ruby
[20:58:38] malconis: has joined #ruby
[20:58:41] thejoecarroll: has joined #ruby
[20:58:45] gr33n7007h: has joined #ruby
[20:58:50] cbetta: has joined #ruby
[20:58:52] ged_: has joined #ruby
[20:58:54] petems: has joined #ruby
[20:59:01] PhilK: has joined #ruby
[20:59:19] bartj3_: has joined #ruby
[20:59:32] neektza: has joined #ruby
[20:59:44] perrier__: has joined #ruby
[20:59:45] hyperdrive: has joined #ruby
[20:59:48] KrzaQ: has joined #ruby
[20:59:54] nahtnam: has joined #ruby
[20:59:59] pjaspers: has joined #ruby
[21:00:15] rafaelsales: has joined #ruby
[21:00:19] jasonmit: has joined #ruby
[21:00:19] krzkrz: has joined #ruby
[21:00:22] javawizard: has joined #ruby
[21:00:28] hfp_: has joined #ruby
[21:00:28] codex: has joined #ruby
[21:00:30] peteyg: has joined #ruby
[21:00:38] smooth_p1nguin: has joined #ruby
[21:00:38] crdpink: has joined #ruby
[21:00:40] ejnahc_: has joined #ruby
[21:00:43] TinkerTyper: has joined #ruby
[21:00:44] papercod1: has joined #ruby
[21:01:00] Igorshp: has joined #ruby
[21:01:01] Casty: has joined #ruby
[21:01:03] f209: has joined #ruby
[21:01:08] cout_: has joined #ruby
[21:01:13] ndrei: has joined #ruby
[21:01:18] superspring: has joined #ruby
[21:01:20] hachiya_: has joined #ruby
[21:01:20] AnoHito_: has joined #ruby
[21:01:24] Brandonn: has joined #ruby
[21:01:37] sts_: has joined #ruby
[21:01:40] omegahm: has joined #ruby
[21:01:40] Guest45313: has joined #ruby
[21:01:40] Zarthus: has joined #ruby
[21:01:47] mosez_: has joined #ruby
[21:01:48] exceion: has joined #ruby
[21:01:53] x0F: has joined #ruby
[21:01:56] _jesterfraud: has joined #ruby
[21:01:57] kloeri: has joined #ruby
[21:02:00] sente: has joined #ruby
[21:02:00] daed: has joined #ruby
[21:02:02] duper`: has joined #ruby
[21:02:03] aryaching_: has joined #ruby
[21:02:03] bradland: has joined #ruby
[21:02:06] JimmyNeutron: has joined #ruby
[21:02:13] nickjj: has joined #ruby
[21:02:16] tchebb_: has joined #ruby
[21:02:25] kitallis: has joined #ruby
[21:02:29] Synthead: has joined #ruby
[21:02:35] jriese: has joined #ruby
[21:02:38] fumduq: has joined #ruby
[21:02:42] csmb: has joined #ruby
[21:02:46] cherwin: has joined #ruby
[21:02:53] maxmanders: has joined #ruby
[21:02:58] nomadic: has joined #ruby
[21:02:59] MuffinPimp: has joined #ruby
[21:03:06] Sthebig: has joined #ruby
[21:03:08] yorickpeterse: has joined #ruby
[21:03:18] Drakevr: has joined #ruby
[21:03:33] redondos: has joined #ruby
[21:03:45] redondos: has joined #ruby
[21:03:51] Zackio: has joined #ruby
[21:03:51] Rixius: has joined #ruby
[21:03:52] cats: has joined #ruby
[21:04:06] apeiros: has joined #ruby
[21:04:18] Drakevr: has joined #ruby
[21:04:20] Jello_Raptor: has joined #ruby
[21:04:43] TDJACR: has joined #ruby
[21:04:45] mroth: has joined #ruby
[21:05:33] rafaelsales: has joined #ruby
[21:05:34] bosma: has joined #ruby
[21:05:45] Guest60848: has joined #ruby
[21:06:00] dhruvasagar: has joined #ruby
[21:06:01] troter___: has joined #ruby
[21:06:03] LiquidInsect: has joined #ruby
[21:06:29] camt: has joined #ruby
[21:07:18] BiHi: has joined #ruby
[21:07:19] dwn: has joined #ruby
[21:07:19] dwn: has joined #ruby
[21:07:58] SebastianThorn: has joined #ruby
[21:08:56] ruisantos: has joined #ruby
[21:09:01] shelling__: has joined #ruby
[21:09:08] Lloyd: has joined #ruby
[21:09:13] unshadow: has joined #ruby
[21:09:35] workmad3: has joined #ruby
[21:10:21] AdamMeghji: has joined #ruby
[21:10:24] Skelz0r: has joined #ruby
[21:10:49] yo61: has joined #ruby
[21:11:14] Miron: has joined #ruby
[21:11:25] opalraava: has joined #ruby
[21:11:34] felixjet_: has joined #ruby
[21:11:37] machty: has joined #ruby
[21:12:19] olistik_: has joined #ruby
[21:12:20] sivoais: has joined #ruby
[21:12:41] cj: has joined #ruby
[21:12:44] leslie: has joined #ruby
[21:12:44] leslie: has joined #ruby
[21:12:50] sypheren: has joined #ruby
[21:12:55] shtirlic: has joined #ruby
[21:13:15] sinkensabe: has joined #ruby
[21:13:16] coderkevin: has joined #ruby
[21:13:31] hoey: has joined #ruby
[21:13:32] mrsolo: has joined #ruby
[21:13:34] rmoriz: has joined #ruby
[21:13:53] knu0: has joined #ruby
[21:13:58] krainboltgreene: has joined #ruby
[21:14:13] bruno-_: has joined #ruby
[21:14:20] neersighted: has joined #ruby
[21:14:23] Asher: has joined #ruby
[21:14:23] KrzaQ: has joined #ruby
[21:14:42] asi_: has joined #ruby
[21:14:59] jxie_: has joined #ruby
[21:15:15] TvL: has joined #ruby
[21:15:30] ex0ns_: has joined #ruby
[21:15:34] Mohan: has joined #ruby
[21:15:34] okdas: has joined #ruby
[21:15:34] okdas: has joined #ruby
[21:15:34] jcp: has joined #ruby
[21:15:37] dbussink: has joined #ruby
[21:15:40] edwinvdgraaf: has joined #ruby
[21:15:47] nikky3: has joined #ruby
[21:15:49] pingveno_: has joined #ruby
[21:15:54] allomov_: has joined #ruby
[21:15:55] zly: has joined #ruby
[21:16:05] spider-mario_: has joined #ruby
[21:16:08] Sebastia1Thorn: has joined #ruby
[21:16:10] mosez: has joined #ruby
[21:16:12] starfox_1f: has joined #ruby
[21:16:23] haroldwu_: has joined #ruby
[21:16:23] eregon_: has joined #ruby
[21:16:30] ahuman_: has joined #ruby
[21:16:38] sts23: has joined #ruby
[21:16:38] artmann: has joined #ruby
[21:16:38] cina: has joined #ruby
[21:16:49] brandon__: has joined #ruby
[21:16:56] braincrash: has joined #ruby
[21:16:58] bakednotfried: has joined #ruby
[21:17:09] ukd1_: has joined #ruby
[21:17:10] FastJack_: has joined #ruby
[21:17:18] fluchtreflex: has joined #ruby
[21:17:18] fluchtreflex: has joined #ruby
[21:17:19] m4rCsi: has joined #ruby
[21:17:23] maxmanders_: has joined #ruby
[21:17:24] Diabolik: has joined #ruby
[21:17:24] ezra_: has joined #ruby
[21:17:29] jeaye_: has joined #ruby
[21:17:33] Zimsky_: has joined #ruby
[21:17:44] stoked: has joined #ruby
[21:17:44] stoked: has joined #ruby
[21:17:46] M-Techni1: has joined #ruby
[21:17:52] rikai_: has joined #ruby
[21:17:53] uber_: has joined #ruby
[21:17:55] freedrul1: has joined #ruby
[21:17:57] adamski2600: has joined #ruby
[21:18:16] lordkryss: has joined #ruby
[21:18:17] tommylom1ykins: has joined #ruby
[21:18:22] hoelzro: has joined #ruby
[21:18:23] wildroman3: has joined #ruby
[21:18:35] Mellett68_: has joined #ruby
[21:18:38] awer_: has joined #ruby
[21:18:48] yoongkang: has joined #ruby
[21:18:54] gnarf_: has joined #ruby
[21:18:58] robustus|Off: has joined #ruby
[21:19:01] swgillespie: has joined #ruby
[21:19:21] JoPhantom: has joined #ruby
[21:19:28] scpike_: has joined #ruby
[21:19:39] n008f4g_: has joined #ruby
[21:19:43] stnly_: has joined #ruby
[21:19:43] Beoran_: has joined #ruby
[21:19:49] zonetti_: has joined #ruby
[21:19:50] Hien: has joined #ruby
[21:20:10] ndrei_: has joined #ruby
[21:20:15] skarn: has joined #ruby
[21:20:20] ggherdov: has joined #ruby
[21:20:27] hypnosb: has joined #ruby
[21:20:28] sparr: has joined #ruby
[21:20:33] \13k_: has joined #ruby
[21:20:35] alexblom: has joined #ruby
[21:20:36] nifoc: has joined #ruby
[21:20:36] lguardiola: has joined #ruby
[21:20:39] Kovensky: has joined #ruby
[21:20:41] mayamai: has joined #ruby
[21:20:43] xybre: has joined #ruby
[21:20:44] tbuehlmann: has joined #ruby
[21:20:45] csaunders: has joined #ruby
[21:20:48] PaulePanter: has joined #ruby
[21:20:48] sideshowcoder: has joined #ruby
[21:20:50] SirFunk: has joined #ruby
[21:20:54] lady3bean: has joined #ruby
[21:20:55] DylanJ: has joined #ruby
[21:20:58] kiki_lamb: has joined #ruby
[21:21:00] nizmow: has joined #ruby
[21:21:03] dfedde: has joined #ruby
[21:21:04] Blue_Ice: has joined #ruby
[21:21:04] Blue_Ice: has joined #ruby
[21:21:06] kq_away: has joined #ruby
[21:21:14] musty: has joined #ruby
[21:21:18] KillerFox: has joined #ruby
[21:21:18] erichmenge: has joined #ruby
[21:21:25] Drager: has joined #ruby
[21:21:29] edwardly: has joined #ruby
[21:21:29] edwardly: has joined #ruby
[21:21:30] skyrocker: has joined #ruby
[21:21:37] Apocalypse: has joined #ruby
[21:21:38] sonOfRa: has joined #ruby
[21:21:39] f209: has left #ruby: ()
[21:21:45] Tamae: has joined #ruby
[21:21:46] inukshuk: has joined #ruby
[21:21:48] Zarthus: has joined #ruby
[21:21:56] mame2: has joined #ruby
[21:21:59] _5moufl: has joined #ruby
[21:22:01] terrellt: has joined #ruby
[21:22:01] xMopxShell: has joined #ruby
[21:22:06] nnnn: has joined #ruby
[21:22:06] tbuehlmann: has joined #ruby
[21:22:06] Silex: has joined #ruby
[21:22:07] xsdg: has joined #ruby
[21:22:08] CaptainCibai: has joined #ruby
[21:22:08] pl1ght: has joined #ruby
[21:22:09] bashusr: has joined #ruby
[21:22:16] wasamasa: has joined #ruby
[21:22:17] wasamasa: has joined #ruby
[21:22:22] Klumben: has joined #ruby
[21:22:26] wlanboy: has joined #ruby
[21:22:29] Guest81906: has joined #ruby
[21:22:30] segfalt: has joined #ruby
[21:22:31] benlieb: has joined #ruby
[21:22:37] Takumo: has joined #ruby
[21:22:37] Takumo: has joined #ruby
[21:22:58] forgot: has joined #ruby
[21:23:19] benatkin: has joined #ruby
[21:23:19] Adran-: has joined #ruby
[21:23:36] brixen: has joined #ruby
[21:23:44] Bish: has joined #ruby
[21:24:02] [ace]: has joined #ruby
[21:24:29] Scient: has joined #ruby
[21:24:30] cjk101010: has joined #ruby
[21:24:46] niko: has joined #ruby
[21:25:10] queequeg2: has joined #ruby
[21:25:35] Adran-: has joined #ruby
[21:25:54] jso-: has joined #ruby
[21:25:54] Karunamon|2: has joined #ruby
[21:26:42] rx: has joined #ruby
[21:26:45] Davey_: has joined #ruby
[21:26:55] Guest45313: has joined #ruby
[21:27:31] prosodyContext: has joined #ruby
[21:27:40] Zamerick__: has joined #ruby
[21:27:55] FifthWall_: has joined #ruby
[21:27:58] shreknet: has joined #ruby
[21:27:58] robustus|Off: has joined #ruby
[21:28:13] gambl0re: has joined #ruby
[21:28:32] ggherdov: has joined #ruby
[21:28:44] slackbotgz1: has joined #ruby
[21:29:07] soulcake: has joined #ruby
[21:29:07] soulcake: has joined #ruby
[21:29:29] _fumk: has joined #ruby
[21:30:15] swistak35_: has joined #ruby
[21:30:20] sweeper_: has joined #ruby
[21:30:28] quazimod1: has joined #ruby
[21:30:32] verto_: has joined #ruby
[21:30:34] joevandy1: has joined #ruby
[21:30:55] godemperor: has joined #ruby
[21:31:06] sevvie_: has joined #ruby
[21:31:07] peterhu_: has joined #ruby
[21:31:29] cashnguns: has joined #ruby
[21:31:39] eggoez: has joined #ruby
[21:31:44] Doc_IX: has joined #ruby
[21:31:51] matp: has joined #ruby
[21:32:30] Urocyon: has joined #ruby
[21:32:30] Sp4rKy_: has joined #ruby
[21:32:31] Alayde_: has joined #ruby
[21:32:50] acovrig: has joined #ruby
[21:33:29] blowmage`: has joined #ruby
[21:33:54] djbkd_: has joined #ruby
[21:33:58] pipework: has joined #ruby
[21:34:27] Rennex: has joined #ruby
[21:34:30] aredridel: has joined #ruby
[21:34:32] stryek_: has joined #ruby
[21:34:34] Paradox: has joined #ruby
[21:34:47] Kamilion|ZNC: has joined #ruby
[21:35:08] jamo: has joined #ruby
[21:35:18] imajes_: has joined #ruby
[21:35:34] Gnubie__: has joined #ruby
[21:35:37] Esya-: has joined #ruby
[21:35:43] hasB4K_: has joined #ruby
[21:36:00] bhaak_: has joined #ruby
[21:36:07] numberte1: has joined #ruby
[21:36:12] jidar_: has joined #ruby
[21:36:15] loop3r_: has joined #ruby
[21:36:44] davedev24_: has joined #ruby
[21:36:49] jsaak_: has joined #ruby
[21:37:11] three18t-: has joined #ruby
[21:37:34] bkutil__: has joined #ruby
[21:37:54] phreakocious_: has joined #ruby
[21:38:12] adac: has joined #ruby
[21:38:32] C1V0: has joined #ruby
[21:38:43] ozzloy: has joined #ruby
[21:39:16] rhg135: has joined #ruby
[21:39:18] aninaki: has joined #ruby
[21:39:25] zenguy_pc: has joined #ruby
[21:40:14] sinkensabe: has joined #ruby
[21:40:47] dseitz: has joined #ruby
[21:40:47] weaksauce: has joined #ruby
[21:45:07] helpa-bot: has joined #ruby
[21:45:34] twistedpixels: has joined #ruby
[21:46:58] acovrig: What is the best way to create a big SQL query? this is what I have at the moment: https://gist.github.com/acovrig/f98199f807a2673c334d
[21:47:06] diego_k: has joined #ruby
[21:47:48] ryotarai_: has joined #ruby
[21:48:12] Some-body_: has joined #ruby
[21:48:27] DLSteve: has joined #ruby
[21:49:09] peter_paule: has joined #ruby
[21:49:24] ss_much: has joined #ruby
[21:49:40] helpa: has joined #ruby
[21:49:56] C0deMaver1ck: has joined #ruby
[21:50:09] toretore: acovrig: what sql library are you using? you might be better off with something like sequel
[21:50:11] sindork: has joined #ruby
[21:50:18] connor_goodwolf: has joined #ruby
[21:50:25] j416_: has joined #ruby
[21:50:28] toretore: that can do the escaping and query generation for you
[21:50:32] gf3: has joined #ruby
[21:50:45] spleeze: has joined #ruby
[21:50:53] acovrig: toretore: mysql2, but it???s just what I found first, would sequel be better (MySQL backend)
[21:51:14] weaksauce: acovrig just do multi line strings. no need for the += like that. and I second the suggestion from toretore that you probably shouldn't be doing it manually.
[21:51:25] shortdudey123: has joined #ruby
[21:51:43] toretore: acovrig: i haven't used it myself, but it sounds like it would be a better choice
[21:51:53] fabrice31: has joined #ruby
[21:52:06] datanoise: has joined #ruby
[21:52:18] mcclurmc: has joined #ruby
[21:52:19] acovrig: weaksauce: yea, that???s why I asked, I thougth there was a better way of doing it, but didn???t know what.
[21:52:39] akkad: has joined #ruby
[21:53:32] gattuso: has joined #ruby
[21:53:52] Asher: has joined #ruby
[21:54:16] Cybergeek: has joined #ruby
[21:54:21] soulcake: has joined #ruby
[21:54:21] atom3: has joined #ruby
[21:54:21] Caius: has joined #ruby
[21:54:21] rj-code: has joined #ruby
[21:54:45] Sirecote: has joined #ruby
[21:54:51] michael_mbp: has joined #ruby
[21:55:01] fredsir: has joined #ruby
[21:55:42] rcs: has joined #ruby
[21:57:13] bjornar: has joined #ruby
[21:58:37] chishiki: has joined #ruby
[22:00:40] Mon_Ouie: has joined #ruby
[22:01:19] decoponio: has joined #ruby
[22:02:02] blackmes1: has joined #ruby
[22:02:19] musl: has joined #ruby
[22:03:19] jfarmer: has joined #ruby
[22:04:22] flughafen: has joined #ruby
[22:04:50] mozzarella: has joined #ruby
[22:04:54] jenrzzz: has joined #ruby
[22:07:17] mjmac: has joined #ruby
[22:09:52] MissionCritical: has joined #ruby
[22:11:11] brb3_: has joined #ruby
[22:12:12] djbender: has joined #ruby
[22:13:46] nickjj: has joined #ruby
[22:15:02] greencode: has joined #ruby
[22:16:24] Guest14837: has joined #ruby
[22:16:30] GnuYawk: has joined #ruby
[22:16:47] RegulationD: has joined #ruby
[22:17:18] brb3_: has joined #ruby
[22:17:28] NeverDie: has joined #ruby
[22:20:39] jack_rabbit: has joined #ruby
[22:21:53] j4cknewt: has joined #ruby
[22:22:27] brb3_: has joined #ruby
[22:22:44] davedev24: has joined #ruby
[22:23:05] theery: has joined #ruby
[22:25:41] sandstrom: has joined #ruby
[22:26:27] kahuna_: has joined #ruby
[22:26:33] charliesome: has joined #ruby
[22:27:06] T3: has joined #ruby
[22:27:44] kahuna_: has joined #ruby
[22:28:02] sinkensabe: has joined #ruby
[22:31:34] nikky3: has left #ruby: ("WeeChat 1.1.1")
[22:31:45] Xeago: has joined #ruby
[22:32:24] aridere: has joined #ruby
[22:32:56] jeregrine: has joined #ruby
[22:34:54] Limix: has joined #ruby
[22:35:48] pizzaops: has joined #ruby
[22:36:31] ledestin: has joined #ruby
[22:36:32] GPrime: has joined #ruby
[22:37:54] tagrudev: has joined #ruby
[22:39:35] mjc_: has joined #ruby
[22:39:38] PierreRambaud: has joined #ruby
[22:40:59] brb3_: has joined #ruby
[22:41:23] [H]unt3r: has joined #ruby
[22:41:41] Casty: has joined #ruby
[22:42:58] ScottehM: has joined #ruby
[22:48:14] otisZart: has joined #ruby
[22:50:13] JoshL: has joined #ruby
[22:51:14] bigmac_: has joined #ruby
[22:51:50] joast: has joined #ruby
[22:52:14] pcfreak30: has joined #ruby
[22:53:08] mcclurmc: has joined #ruby
[22:58:29] workmad3: has joined #ruby
[22:58:44] musgravejw: has joined #ruby
[22:59:43] rbennacer: has joined #ruby
[22:59:47] dominic: has joined #ruby
[22:59:51] sinkensabe: has joined #ruby
[23:00:08] postmodern: has joined #ruby
[23:03:45] shevy: has joined #ruby
[23:05:12] sross_work|2: has joined #ruby
[23:06:17] HotCoder: has joined #ruby
[23:06:29] xelkarin: has joined #ruby
[23:06:44] adamski2600: has joined #ruby
[23:06:48] lurk620: has joined #ruby
[23:06:55] Axilla: has joined #ruby
[23:08:44] lurk620: i have a question about ruby syntax
[23:09:04] acovrig: how would I make this in sequel? SELECT RefURI FROM table_name WHERE (URI is null OR URI='' OR caption IS NULL) AND (tags IS NULL OR tags != 'del');
[23:10:16] GitGud: has joined #ruby
[23:10:23] lurk620: do all methods have to be written with the parameters in parentheses? because in rails apparently certain methods look like this: https://gist.github.com/anonymous/9b653d45c4219ff4599a
[23:10:30] RegulationD: has joined #ruby
[23:10:32] armyriad: has joined #ruby
[23:10:43] revath: has joined #ruby
[23:10:46] lurk620: the method has_many takes the argument :destinations, but the argument isn't in parentheses
[23:11:18] Senjai: has joined #ruby
[23:12:42] al2o3-cr: yeah, methods can be with or without
[23:13:56] brb3_: has joined #ruby
[23:14:33] lurk620: so this would work: https://gist.github.com/anonymous/88c747a2d0c74e6f5208
[23:15:21] Kilo`byte: has joined #ruby
[23:15:28] al2o3-cr: lurk620: yeah, try in irb/pry
[23:16:30] Asher: has joined #ruby
[23:16:42] casadei: has joined #ruby
[23:17:07] weszlem: has joined #ruby
[23:17:12] brb3: has joined #ruby
[23:17:53] A205B064: has joined #ruby
[23:18:16] scottschecter: has joined #ruby
[23:18:26] lurk620: al2o3-cr: got it, thanks
[23:18:52] al2o3-cr: lurk620: np :)
[23:20:05] brb3: has joined #ruby
[23:20:20] datanoise: has joined #ruby
[23:20:33] qubits: has joined #ruby
[23:21:57] weaksauce: lurk620 as long as the removal of the parens don't create ambiguity (nested function calls typically) they can be removed
[23:22:14] veleno: has joined #ruby
[23:23:22] malconis_: has joined #ruby
[23:24:49] subtwo: has joined #ruby
[23:25:18] jenrzzz: has joined #ruby
[23:27:25] brb3: has joined #ruby
[23:28:00] dross: has joined #ruby
[23:28:10] sorah: has joined #ruby
[23:28:17] nertzy3: has joined #ruby
[23:29:10] Musashi007: has joined #ruby
[23:29:56] ZOMGITSABEAR1: has joined #ruby
[23:30:01] erichmenge_: has joined #ruby
[23:30:15] acovrig: DB.run(sql) seems to return a nil, and DB[sql] returns a dataset object, but DB[sql].count doesn???t seem to work...
[23:30:38] harly_: has joined #ruby
[23:30:45] djbkd: has joined #ruby
[23:31:16] _djbkd: has joined #ruby
[23:31:19] mbeasley_: has joined #ruby
[23:31:52] elaptics: has joined #ruby
[23:32:05] j4cknewt: has joined #ruby
[23:32:32] lotherk_: has joined #ruby
[23:32:41] segv_: has joined #ruby
[23:32:42] dross: has joined #ruby
[23:32:55] lhz: has joined #ruby
[23:32:58] Mekkis_: has joined #ruby
[23:33:02] _djbkd: has joined #ruby
[23:33:06] Eising: has joined #ruby
[23:33:11] Muz: has joined #ruby
[23:33:13] mello: has joined #ruby
[23:33:58] enebo: has joined #ruby
[23:34:10] al2o3-cr: has joined #ruby
[23:34:20] TheMoonMaster: has joined #ruby
[23:34:22] dabradley: has joined #ruby
[23:34:25] wasamasa: has joined #ruby
[23:34:25] wasamasa: has joined #ruby
[23:34:37] soulcake: has joined #ruby
[23:34:38] go|dfish: has joined #ruby
[23:35:08] adam|: has joined #ruby
[23:35:56] russt: has joined #ruby
[23:36:07] Silent__: has joined #ruby
[23:36:18] scx_: has joined #ruby
[23:37:43] Adran: has joined #ruby
[23:37:44] soulcake: has joined #ruby
[23:38:54] uptownhr: has joined #ruby
[23:39:33] ruv: has joined #ruby
[23:39:46] xelkarin: has joined #ruby
[23:40:46] fabrice31: has joined #ruby
[23:41:17] scx: has joined #ruby
[23:41:40] dgutierrez1287: has joined #ruby
[23:42:14] zets_: has joined #ruby
[23:44:36] lemur: has joined #ruby
[23:44:58] revath: has joined #ruby
[23:45:21] lemur: http://imgur.com/filoJwp - dangit shevy
[23:45:33] Asher: has joined #ruby
[23:45:33] dfockler: has joined #ruby
[23:48:03] kenndel: has joined #ruby
[23:50:14] hplar: has joined #ruby
[23:50:43] adamski2600: has joined #ruby
[23:51:12] dross: has joined #ruby
[23:51:13] sinkensabe: has joined #ruby
[23:52:55] fgo: has joined #ruby
[23:53:05] ZYPP: has joined #ruby
[23:53:49] mcclurmc: has joined #ruby
[23:55:07] wmoxam: has joined #ruby
[23:55:43] _pakchoi_: has joined #ruby
[23:58:34] elektronaut: i'm ruby 1.8.7 freee. what a glorious day.
[23:59:29] sphex_: hey. is there a standard exception class for format errors in input files, with fields for the file name and line number, etc?
[23:59:32] cabreraM516: has joined #ruby