« Back to channel list

#ruby - 21 December 2015

« Back 1 day Forward 1 day »
[00:00:58] kmckelvin: has joined #ruby
[00:01:22] sandstrom: has joined #ruby
[00:02:17] n008f4g_: has joined #ruby
[00:03:38] jcdesimp: has joined #ruby
[00:06:28] AndroFox: has left #ruby: ("Leaving")
[00:10:04] virkill: has joined #ruby
[00:10:48] iateadonut: has joined #ruby
[00:11:02] kmckelvin: has joined #ruby
[00:11:25] edwinvdgraaf: has joined #ruby
[00:12:19] mjw56: has joined #ruby
[00:15:27] djbkd: has joined #ruby
[00:15:39] ascarter: has joined #ruby
[00:15:58] eytanfb: has joined #ruby
[00:16:40] havenwood: Hem, but it's supposed to be...: ["D", "B", "C", "A"]
[00:17:07] havenwood: >> [1, 2, 3, 4].map { |x| (69 - (((1.fdiv(2) + Math.sqrt(23.fdiv(108))) ** 1.fdiv(3) + (1.fdiv(2) - Math.sqrt(23.fdiv(108))) ** 1.fdiv(3)).to_s.delete(?.).each_char.map(&:to_i))[x.pred]).chr }
[00:17:09] ruboto: havenwood # => ["D", "B", "C", "A"] (https://eval.in/488416)
[00:18:28] Ox0dea: How did I miss that?
[00:18:48] bb010g: has joined #ruby
[00:20:32] railswebdev: has joined #ruby
[00:21:01] devoldmx: has joined #ruby
[00:23:53] shevy: you are getting old
[00:24:11] ElFerna: has joined #ruby
[00:24:40] edwinvdgraaf: has joined #ruby
[00:24:53] sanguisdex: has joined #ruby
[00:25:25] jcdesimp: has joined #ruby
[00:25:29] sanguisdex: is therea way of hash derefrenceing so that I can make https://gist.github.com/sanguis/bde89eb3405f6307faad work?
[00:25:51] ss_much: has joined #ruby
[00:26:59] K1MOS: has joined #ruby
[00:28:00] djbkd: has joined #ruby
[00:29:40] ruu_: has joined #ruby
[00:30:00] atomical: has joined #ruby
[00:30:17] idefine: has joined #ruby
[00:31:13] haasn: has joined #ruby
[00:32:18] hxegon: has joined #ruby
[00:33:06] nehaljwani: has joined #ruby
[00:33:07] nehaljwani: has joined #ruby
[00:34:27] Ox0dea: sanguisdex: It's not entirely clear what you're asking.
[00:34:33] Ox0dea: Does this help any? https://eval.in/488417
[00:37:34] ellisTAA: what would you say are the one or two concepts that because they aren???t understood very well prevent people from being good programmers
[00:38:03] nettoweb: has joined #ruby
[00:38:13] sanguisdex: Ox0dea: it does :)
[00:38:21] Ox0dea: sanguisdex: Yay. :)
[00:39:05] havenwood: ellistaa: narrowing it down to one concept i'd say "programming"
[00:39:11] sanguisdex: Ox0dea: why does adding, id to my each function fix the problem, if you dont mind
[00:39:25] sanguisdex: Ox0dea: documentaion refs are welcome
[00:39:28] ellisTAA: havenwood: ok what else
[00:39:50] ellisTAA: havenwood: or what do u mean by
[00:39:51] Ox0dea: sanguisdex: Hash#each yields two arguments to the block.
[00:39:51] ellisTAA: programming
[00:40:55] Ox0dea: >> h = {a: 1}; results = []; h.each { |stuff| results << stuff }; h.each { |key, value| results << key }; results # sanguisdex
[00:40:56] ruboto: Ox0dea # => [[:a, 1], :a] (https://eval.in/488418)
[00:41:35] pawnbox: has joined #ruby
[00:41:52] havenwood: ellistaa: writing programs
[00:42:02] Ox0dea: sanguisdex: I didn't just fix the arity of the block, though. You were also invoking Hash#[] with no arguments, which is an error.
[00:42:23] Ox0dea: ellistaa: Finding the proper abstractions is the hardest part of programming.
[00:42:27] Ox0dea: Then comes naming them.
[00:42:38] havenwood: ellistaa: narrowing a concept down to a concept is a noop
[00:42:38] ellisTAA: Ox0dea: can u give an example
[00:42:49] sanguisdex: naming things of dear
[00:43:01] Ox0dea: ellistaa: An example of an improper abstraction?
[00:43:05] havenwood: ellistaa: how to represent a thing in code then what to name the parts
[00:43:05] ellisTAA: Ox0dea: yeah
[00:43:28] Ox0dea: ellistaa: http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom-of-nouns.html
[00:43:40] Ox0dea: Really worth your time on this particular subject.
[00:43:50] ellisTAA: Ox0dea: cool thanks will read it
[00:44:45] havenwood: https://twitter.com/codinghorror/status/506010907021828096
[00:47:16] jcdesimp: has joined #ruby
[00:47:37] havenwood: ellistaa: Complexity is a common pitfall. See: http://www.infoq.com/presentations/Simple-Made-Easy
[00:49:01] ellisTAA: what a beautiful page
[00:49:24] ellisTAA: oops ignore that comment
[00:49:26] ellisTAA: thanks for the link
[00:49:29] havenwood: Laaw: Another to watch: https://www.youtube.com/watch?v=f84n5oFoZBc
[00:49:31] bronson: has joined #ruby
[00:49:34] havenwood: Laaw: Oops, MT
[00:49:36] havenwood: ellistaa: ^
[00:50:06] havenwood: ellistaa: Thinking about problems is important!
[00:50:29] ellisTAA: thinking is important
[00:50:50] shazaum_: has joined #ruby
[00:51:10] htmldrum: has joined #ruby
[00:51:15] havenwood: ellistaa: http://www.infoq.com/presentations/Design-Composition-Performance
[00:51:32] SCHAAP137: has joined #ruby
[00:51:59] Ox0dea: ellistaa: Just keep putting more Rich Hickey in your life.
[00:52:58] Ox0dea: Also, be advised that he cries when you say "recurse": https://clojuredocs.org/clojure.core/recur
[00:53:44] Ox0dea: Only a truly monstrous entity hellbent on the vilest devilry would wish such a thing.
[00:55:25] devoldmx: has joined #ruby
[00:58:30] jessemcgilallen: has joined #ruby
[00:59:16] hxegon: has joined #ruby
[01:01:21] ellisTAA: oh one last question. what programming books should i get for xmas? i???ve read POODR that???s about it ???
[01:03:27] AnoHito: has joined #ruby
[01:04:40] SamGerber: has joined #ruby
[01:06:01] davedev24: has joined #ruby
[01:06:27] weemsledeux: has joined #ruby
[01:06:31] StevenXL: I have the following class
[01:06:33] StevenXL: https://gist.github.com/StevenXL/6630f929da3da9c42022
[01:06:35] Ox0dea: ellistaa: http://computationbook.com/
[01:06:51] StevenXL: for whatever reason, when I try to initialize that class with a hash, I get a wrong number of arguments error, 1 for 0.
[01:06:58] ellisTAA: Ox0dea: ooo cool thanks
[01:07:00] StevenXL: I'm a bit perplexed
[01:07:01] davedev24: has joined #ruby
[01:07:05] Ox0dea: ellistaa: It's great.
[01:07:14] ellisTAA: Ox0dea: ill order it
[01:07:25] Ox0dea: I think you'll like it.
[01:07:26] StevenXL: it's initialize,not initial
[01:07:47] Ox0dea: Tom Stuart is probably my favorite Rubyist.
[01:07:51] shevy: I once wrote
[01:07:53] shevy: def intialize
[01:07:57] shevy: and could not figure out why it was not working
[01:09:01] Ox0dea: I once wrote `public def initialize`, and everything was fine until I realized String has a constructor.
[01:09:01] jcdesimp: has joined #ruby
[01:09:10] Ox0dea: Where "once" was yesterday: https://eval.in/487767
[01:09:26] DavidDudson: has joined #ruby
[01:10:10] shevy: that looks so java
[01:10:19] Ox0dea: It does not.
[01:10:42] Ox0dea: That could be a regular-ol' `def` followed by `public :initialize`, but why?
[01:11:23] StevenXL: glad to see i'm in good company
[01:11:45] Ox0dea: stevenxl: So is that class's purpose to kill blocks?
[01:13:12] StevenXL: Ox0dea: Yes. Blocks of stocks.
[01:13:15] StevenXL: stockfighter.io
[01:13:24] StevenXL: It is not killing them.
[01:13:38] smactive_: has joined #ruby
[01:13:42] Ox0dea: I think you probably want Executor.
[01:14:13] StevenXL: I like that.
[01:14:34] Ox0dea: Far less morbid, if nothing else.
[01:15:17] shock_one: has joined #ruby
[01:16:55] seitensei: has joined #ruby
[01:16:56] seitensei: has joined #ruby
[01:18:08] paradisaeidae: has joined #ruby
[01:18:35] kmckelvin: has joined #ruby
[01:20:04] davedev24: has joined #ruby
[01:21:17] pawnbox: has joined #ruby
[01:21:49] davedev24: has joined #ruby
[01:22:57] moeabdol: has joined #ruby
[01:28:30] alphaatom: has joined #ruby
[01:28:43] ElFerna: has joined #ruby
[01:30:47] ruu_: has joined #ruby
[01:30:49] jcdesimp: has joined #ruby
[01:33:22] mistermocha: has joined #ruby
[01:34:06] mistermocha: has joined #ruby
[01:35:22] shevy: what is the maximum amount of code, in lines per code, for any single class so far?
[01:36:11] Ox0dea: > lines per code
[01:36:56] shevy: yeah so you are clueless
[01:37:11] RegulationD: has joined #ruby
[01:37:19] Ox0dea: Insofar as I have no idea what you're on about? Absolutely.
[01:37:43] shevy: > random waste of time again
[01:38:02] Ox0dea: I guess that must actually help you feel better about something, huh?
[01:38:12] pontiki: let's try that question with "lines *of* code"
[01:38:22] shevy: it's just the usual "I can't give any useful answer so I'll waste time"
[01:38:40] Ox0dea: shevy: This is IRC.
[01:39:19] pontiki: useless answers abound!
[01:39:28] pontiki: wasting time is!
[01:40:34] ascarter: has joined #ruby
[01:42:05] rickmasta: has joined #ruby
[01:43:06] hxegon: has joined #ruby
[01:43:13] StevenXL: My BlockExecutor is executoring blocks.
[01:43:42] idefine: has joined #ruby
[01:43:50] StevenXL: not very sophisticated. Grabs the first sell order on teh order book and places a limit order to buy that much stock.
[01:43:57] akem: has joined #ruby
[01:44:33] Marsupermammal: has joined #ruby
[01:45:06] jcdesimp: has joined #ruby
[01:45:07] rickmasta: has joined #ruby
[01:47:02] Yzguy: has joined #ruby
[01:47:25] lessless: has joined #ruby
[01:51:21] pawnbox: has joined #ruby
[01:52:27] StevenXL: seems like blocky is stuck
[01:52:41] jcdesimp: has joined #ruby
[01:53:10] bkxd: has joined #ruby
[02:02:44] DLSteve: has joined #ruby
[02:06:44] alphaatom: has joined #ruby
[02:07:37] ledestin: has joined #ruby
[02:10:28] rickmasta: has joined #ruby
[02:11:30] wolffles: has joined #ruby
[02:12:03] railswebdev: has joined #ruby
[02:16:41] tvon: has joined #ruby
[02:18:54] jbrhbr: has joined #ruby
[02:19:21] kmckelvin: has joined #ruby
[02:21:16] mistermocha: has joined #ruby
[02:21:45] calderonroberto: has joined #ruby
[02:22:36] auzty: has joined #ruby
[02:23:20] krobzaur: has joined #ruby
[02:25:01] xcesariox: has joined #ruby
[02:27:51] sankaber: has joined #ruby
[02:31:16] ruu_: has joined #ruby
[02:32:37] i: has joined #ruby
[02:38:49] SamGerber: has joined #ruby
[02:45:22] kmckelvin: has joined #ruby
[02:48:56] arooni: has joined #ruby
[02:49:32] calderonroberto: has joined #ruby
[02:51:03] calderonroberto: has joined #ruby
[02:52:15] mary5030: has joined #ruby
[02:53:32] arescorpio: has joined #ruby
[02:53:57] bkxd: has joined #ruby
[02:54:34] Bloomer: has joined #ruby
[02:54:47] krz: has joined #ruby
[02:55:47] nocd: has joined #ruby
[02:56:05] nonopposition: has joined #ruby
[03:03:07] pawnbox: has joined #ruby
[03:08:58] radgeRayden__: has joined #ruby
[03:09:53] codeurge: has joined #ruby
[03:11:01] moeabdol: has joined #ruby
[03:13:11] amincd: has joined #ruby
[03:13:37] amincd: hello, what does Array#abbrev do?
[03:13:55] apeiros: &ri Array#abbrev @amincd
[03:14:03] ElFerna: has joined #ruby
[03:14:07] apeiros: ACTION pokes `derpy
[03:14:12] amincd: >> ["monkey", "duck", "luck"].abbrev()
[03:14:13] ruboto: amincd # => undefined method `abbrev' for ["monkey", "duck", "luck"]:Array (NoMethodError) ...check link for more (https://eval.in/488419)
[03:14:56] apeiros: well, since `derpy is asleep???
[03:14:59] amincd: I don't understand the definition provided in the Ruby reference: "Calculates the set of unambiguous abbreviations for the strings in self."
[03:15:00] apeiros: amincd: http://ruby-doc.org/stdlib-2.2.4/libdoc/abbrev/rdoc/Array.html#method-i-abbrev
[03:15:06] amincd: what is an unambigious abbreviation"
[03:15:17] apeiros: do you understand the word "unambiguous"?
[03:15:31] amincd: no I don't
[03:15:38] amincd: not in the context of programming languages
[03:15:42] apeiros: then I suggest you get a dictionary and look it up?
[03:15:57] amincd: what is an abbreviation in programming?
[03:16:06] apeiros: it's not related to programming
[03:16:19] apeiros: out of your sample of words (monkey, duck, luck), how many letters from the beginning do you need to know which word it is?
[03:16:40] shock_one: has joined #ruby
[03:17:13] Pupeno: has joined #ruby
[03:17:25] Ox0dea: >> require 'abbrev'; %w[monkey duck luck].abbrev['d']
[03:17:26] ruboto: Ox0dea # => "duck" (https://eval.in/488420)
[03:17:49] seitensei: has joined #ruby
[03:17:55] Ox0dea: That wouldn't have worked if "d" weren't an unambiguous prefix.
[03:18:57] amincd: >> require 'abbrev'; %w[bar baz foo].abbrev
[03:18:58] ruboto: amincd # => {"bar"=>"bar", "baz"=>"baz", "foo"=>"foo", "fo"=>"foo", "f"=>"foo"} (https://eval.in/488421)
[03:19:01] DLSteve: has joined #ruby
[03:19:04] Ox0dea: ?experiment amincd
[03:19:04] ruboto: amincd, Please use your local irb or pry (see ?pry) to experiment, ruboto's eval functionality is for demonstration purposes only.
[03:19:10] krobzaur: has joined #ruby
[03:19:38] amincd: >> puts "ok"
[03:19:39] ruboto: amincd # => ok ...check link for more (https://eval.in/488422)
[03:19:45] Ox0dea: What a dick.
[03:19:52] apeiros: Ox0dea: mind your words
[03:20:00] Ox0dea: Mind the citizenry.
[03:20:02] amincd: that was the last one I promise
[03:20:04] apeiros: amincd: Ox0dea's point stands, though. please don't abuse ruboto.
[03:20:48] dlitvak: has joined #ruby
[03:21:52] amincd: anyway, thanks!
[03:23:03] apeiros: !kick Ox0dea pondered. you don't get a special pass. fix your behavior.
[03:23:05] ruboto: ruboto kicked Ox0dea: you don't get a special pass. fix your behavior.
[03:23:05] ruboto: -o ruboto
[03:26:24] st1gma: has joined #ruby
[03:31:22] karapetyan: has joined #ruby
[03:31:42] aryaching: has joined #ruby
[03:32:00] ruu_: has joined #ruby
[03:32:16] karapetyan: has joined #ruby
[03:35:52] fn2187: has joined #ruby
[03:37:36] ur5us: has joined #ruby
[03:38:28] fn2187: has joined #ruby
[03:39:06] aryaching: has joined #ruby
[03:40:34] BTRE: has joined #ruby
[03:42:08] colegatron: has joined #ruby
[03:47:05] astrobun_: has joined #ruby
[03:50:01] hxegon: has joined #ruby
[03:51:55] nonopposition: has joined #ruby
[03:52:22] Puffball: has joined #ruby
[03:52:43] pdoherty: has joined #ruby
[03:53:39] bronson: has joined #ruby
[03:54:50] arescorpio: has joined #ruby
[03:55:30] cwong_on_irc: has joined #ruby
[03:58:47] pdoherty: has joined #ruby
[03:59:08] SamGerber: has joined #ruby
[04:02:03] radgeRayden__: has joined #ruby
[04:02:32] ninetysix: has joined #ruby
[04:03:04] minimalism: has joined #ruby
[04:03:42] ninetysix: can someone help me?
[04:05:39] pawnbox: has joined #ruby
[04:06:30] ninetysix: can someone help me with gem?
[04:06:54] apeiros: ninetysix: maybe. we won't know until you asked your question.
[04:08:20] ninetysix: good point, well when I try to install pg with 'sudo gem install pg' it fails. Im running Fedora 23 and i cant think of anything that I need
[04:08:47] apeiros: ninetysix: did you read the output?
[04:09:13] sleepee: has joined #ruby
[04:09:33] ninetysix: the only things that give me any hints are
[04:09:36] ninetysix: ERROR: Error installing pg:
[04:09:37] ninetysix: ERROR: Failed to build gem native extension.
[04:09:41] mary5030: has joined #ruby
[04:09:50] apeiros: that's the full output?
[04:10:34] ninetysix: no, wasnt sure if I would get yelled at for the long paste. this is the full output
[04:10:37] ninetysix: sudo gem install pg
[04:10:38] ninetysix: Building native extensions. This could take a while...
[04:10:38] ninetysix: ERROR: Error installing pg:
[04:10:38] ninetysix: ERROR: Failed to build gem native extension.
[04:10:38] ninetysix: /usr/bin/ruby -r ./siteconf20151220-1227-pamwfa.rb extconf.rb
[04:10:39] ninetysix: checking for pg_config... yes
[04:10:41] ninetysix: Using config values from /bin/pg_config
[04:10:43] ninetysix: *** extconf.rb failed ***
[04:10:45] ruboto: +q ninetysix!*@*
[04:10:45] ruboto: -o ruboto
[04:10:45] ninetysix: Could not create Makefile due to some reason, probably lack of necessary
[04:10:52] apeiros: ninetysix: um??? yes, you would get yelled at
[04:10:54] Radar: ?gist ninetysix
[04:10:54] ruboto: ninetysix, https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
[04:11:06] ruboto: -q ninetysix!*@*
[04:11:06] ruboto: -o ruboto
[04:11:09] ninetysix: --without-make-prog
[04:11:15] ninetysix: --ruby=/usr/bin/$(RUBY_BASE_NAME)
[04:11:16] ruboto: +q ninetysix!*@*
[04:11:16] ruboto: -o ruboto
[04:11:17] Radar: Well that was a mistake.
[04:11:25] apeiros: oh dear :)
[04:11:35] apeiros: unmute in ~30s?
[04:11:36] Radar: ninetysix: Please tell me when you've finished spamming the channel and I will unmute.
[04:12:22] Puffball: has joined #ruby
[04:12:29] ruboto: -q ninetysix!*@*
[04:12:29] ruboto: -o ruboto
[04:13:41] iateadonut: has joined #ruby
[04:13:47] apeiros: I assume they didn't contact you, Radar?
[04:14:20] apeiros: well, I guess they didn't read the messages then. doubt they'll come back.
[04:15:29] ninetysix: has joined #ruby
[04:15:34] nonopposition: has joined #ruby
[04:15:36] ninetysix: sorry about that....
[04:16:02] atomical: has joined #ruby
[04:16:18] apeiros: just use gist
[04:16:47] Radar: ?gist ninetysix
[04:16:48] ruboto: ninetysix, https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
[04:17:01] braincrash: has joined #ruby
[04:17:27] ruboto: https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
[04:17:45] stannard: has joined #ruby
[04:18:37] ninetysix: so this is the output https://gist.github.com/anonymous/893e58d819c1b4a25d2b
[04:18:54] Radar: how did you install Ruby?
[04:19:08] ninetysix: sudo dnf install ruby ruby-devel
[04:19:21] seitensei: has joined #ruby
[04:20:14] Radar: ninetysix: did you instlal gcc?
[04:20:44] apeiros: "The compiler failed to generate an executable file"
[04:20:53] apeiros: so either it finds the wrong compiler or something else is off
[04:20:56] Radar: "You have to install development tools first.
[04:21:37] codeurge: has joined #ruby
[04:21:41] Radar: I don't know what Fedora means for "development tools"
[04:23:06] ninetysix: I have everything i can think of
[04:23:29] ninetysix: I did yum groupinstall "Development Tools" "Development Libraries"
[04:23:55] Radar: Ok, give me a sec to tinker here.
[04:23:58] SamGerber: has joined #ruby
[04:24:11] ninetysix: Very much appreciated
[04:25:53] ElSif: has joined #ruby
[04:26:22] rippa: has joined #ruby
[04:28:16] lacuna: has joined #ruby
[04:29:15] lacuna: has joined #ruby
[04:29:15] lacuna: has joined #ruby
[04:30:13] Radar: ninetysix: I'm concerned that dnf install ruby ruby-devel doesn't actually install all the packages.
[04:30:34] Radar: I'm now installing Ruby 2.2.4 onto a Fedora box using ruby-install. I'll see how that goes.
[04:30:49] Radar: If it works then I'd recommend that you do the same; avoid using dnf for installing Ruby and instead install it with ruby-install.
[04:31:22] ninetysix: im also on the latest release of fedora. I have done this successfully on 22
[04:31:45] Radar: I'm on Fedora 23.
[04:31:45] ninetysix: has left #ruby: ("Leaving")
[04:31:52] ninetysix: has joined #ruby
[04:32:23] ninetysix: If i install postgres using dnf like this 'sudo dnf -y install postgresql-server postgresql-devel' do i still need the gem?
[04:32:45] ruu_: has joined #ruby
[04:33:17] Radar: the gem is used to talk to that server
[04:33:19] ninetysix: is that what like, gives ruby postgres support or something
[04:33:26] pawnbox: has joined #ruby
[04:34:34] Radar: It provides Ruby bindings for talking with PostgreSQl
[04:35:09] StevenXL: has joined #ruby
[04:35:38] mistermocha: has joined #ruby
[04:38:50] msankhala: has joined #ruby
[04:39:34] ninetysix: do you think i should install ruby from source?
[04:39:36] Radar: Still waiting for this Ruby to finish compiling. It's up to the docs.
[04:40:12] cwong_on_irc: has joined #ruby
[04:41:52] Radar: Ok, Ruby installed. next step: trying to install the pg gem
[04:44:04] Radar: Mine fails for a different reason. I guess because I don't have Postgres installed yet" https://gist.github.com/radar/c52fc32e641f9992e12a
[04:44:19] Radar: doing that bit now
[04:44:56] ninetysix: probably sudo dnf install postgresql-server postgresql-devel
[04:45:09] Radar: yup, I stole that from you earlier
[04:45:18] Radar: Successfully installed pg-0.18.4
[04:45:26] ninetysix: so you were right!
[04:45:26] Radar: remove the dnf ruby package
[04:45:32] Radar: Install with https://github.com/postmodern/ruby-install
[04:45:37] Radar: Switch into it with https://github.com/postmodern/chruby
[04:45:38] ninetysix: should i sudo dnf remvoe ruby*
[04:45:43] Radar: Particularly https://github.com/postmodern/chruby#auto-switching
[04:47:19] ninetysix: okay after that I shoudl build ruby-install and then ruby-install 2.2?
[04:48:05] bitcycle: has joined #ruby
[04:48:32] crdpink: has joined #ruby
[04:49:26] ninetysix: after i did make install and ran ruby-install ruby i got command not found
[04:49:44] pawnbox_: has joined #ruby
[04:50:07] Radar: ninetysix: show me what command please
[04:51:41] ninetysix: https://gist.github.com/anonymous/6e55bdc7b960cb3a5ddb
[04:52:56] Radar: don't use sudo
[04:53:00] pocketprotector: has left #ruby: ()
[04:53:22] ninetysix: permission denied
[04:53:31] nonopposition: has joined #ruby
[04:53:38] ninetysix: nevermind i tried to make without sudo
[04:54:36] bkxd: has joined #ruby
[04:56:50] krz: has joined #ruby
[04:57:00] dlitvak: has joined #ruby
[04:59:12] moeabdol: has joined #ruby
[04:59:33] ninetysix: its ding alot of building
[05:00:14] Radar: let it go
[05:00:21] mark06: has joined #ruby
[05:01:52] ninetysix: i dont have gem
[05:02:01] ninetysix: should i install it with dnf
[05:03:17] mark06: http://github.com/renatosilva/easyoptions :)
[05:06:07] nonopposition: has joined #ruby
[05:06:30] pocketprotector: has joined #ruby
[05:08:07] dopie: has joined #ruby
[05:08:30] ninetysix: okay so now its a little different...
[05:08:45] ninetysix: https://gist.github.com/anonymous/cc46b700a02f98776c40
[05:09:34] ohaibbq: has joined #ruby
[05:09:53] weemsledeux: has joined #ruby
[05:10:25] berserk_ren: has joined #ruby
[05:13:41] startupality: has joined #ruby
[05:21:11] celly: has joined #ruby
[05:22:35] darkf: has joined #ruby
[05:24:31] ninetysix: now its back to needing development tools
[05:28:11] tildes: has joined #ruby
[05:28:50] Radar: ninetysix: that looks like the standard ruby
[05:28:58] Radar: ninetysix: you need to use chruby to switch into the newly installed Ruby
[05:32:54] ninetysix: ty doing ruby-install again
[05:35:34] mistermocha: has joined #ruby
[05:38:42] RegulationD: has joined #ruby
[05:41:40] djbkd: has joined #ruby
[05:42:09] jessemcgilallen: has joined #ruby
[05:44:00] guideX: has joined #ruby
[05:44:25] guideX: has joined #ruby
[05:45:19] Radar: ninetysix: keep questions in this channel please
[05:45:24] Radar: ninetysix: chruby ruby 2.2.4
[05:47:14] ninetysix: So its installed!
[05:47:22] ninetysix: but its not root, thats good?
[05:47:53] makenoise: has joined #ruby
[05:50:57] ponga: has joined #ruby
[05:53:16] lxsameer: has joined #ruby
[05:53:33] ninetysix: thank you very much yo!
[05:54:17] xet7: has joined #ruby
[05:55:21] mark06: has left #ruby: ("http://pidgin.renatosilva.me - Pidgin++")
[05:56:22] dionysus69: has joined #ruby
[05:57:07] arup_r: has joined #ruby
[05:59:03] darthsidious: has joined #ruby
[05:59:29] adgtl: has joined #ruby
[05:59:42] adgtl: Guys.. what is better .. chruby or rbenv?
[06:00:32] yes`r: has joined #ruby
[06:01:14] arooni: has joined #ruby
[06:03:10] dionysus69: has joined #ruby
[06:03:23] minimalism: has joined #ruby
[06:07:32] Puffball: has joined #ruby
[06:07:55] cgfbee: has joined #ruby
[06:09:35] davedev24: has joined #ruby
[06:09:40] Radar: adgtl: chruby
[06:10:38] adgtl: Radar: thanks
[06:12:56] sid`: has joined #ruby
[06:13:09] nocd: has joined #ruby
[06:15:05] rickmasta: has joined #ruby
[06:18:07] last_staff: has joined #ruby
[06:19:02] cscheib: is there a particular reason to favor one or the other (chruby/rbenv)? I've always used rbenv, cuz that's what came installed by default with boxen on my osx box
[06:19:55] crystalmaiden: has joined #ruby
[06:21:47] Dimik: has joined #ruby
[06:25:17] fullofcaffeine: has joined #ruby
[06:26:22] jcdesimp: has joined #ruby
[06:27:26] idefine: has joined #ruby
[06:28:05] mistermocha: has joined #ruby
[06:28:49] The_Phoenix: has joined #ruby
[06:29:00] bronson: has joined #ruby
[06:32:35] alphaatom: has joined #ruby
[06:33:51] ponga: wth i use RVM, does it suck ?
[06:34:42] startupality: has joined #ruby
[06:34:50] pontiki: if it works for you, great
[06:35:06] pontiki: it's also a source of lots of newbie failure
[06:35:10] Radar: ponga: I find it tries to a little too much
[06:35:18] Radar: cscheib: chruby+ruby-install are the lightest
[06:35:56] pontiki: we're using ruby-install for all our projects at work now. (since they're all vagrant-based dev, we have no need for chruby)
[06:36:56] wolffles: has joined #ruby
[06:37:06] pontiki: i wrote a thor script to customize and create a new rails project for them
[06:37:11] ponga: i don't get it, its just package manager, innit?
[06:37:29] pontiki: rvm is a ruby *version* manager
[06:37:36] pontiki: gem is the package manager
[06:37:45] ponga: ok version manager, if you get right version with right gems, isn't it fine then?
[06:37:51] idefine: has joined #ruby
[06:38:00] pontiki: that thar "if" is a biggie
[06:38:22] ponga: how difficult is get right version and gem
[06:38:48] pontiki: i have no idea
[06:39:04] pontiki: tell me why so many questions on it?
[06:40:30] bkxd: has joined #ruby
[06:40:54] ponga: dunno i never had problem switching around
[06:41:00] tvw: has joined #ruby
[06:41:21] pontiki: let me repeat: [20151221|0034.50] pontiki> if it works for you, great
[06:41:50] ponga: i know, i just can't grasp in what specific situation it masses up
[06:42:12] pontiki: neither can i. yet: [20151221|0035.05] pontiki> it's also a source of lots of newbie failure
[06:42:12] depesz: has left #ruby: ("WeeChat 1.4-dev")
[06:42:58] DoubleMalt: has joined #ruby
[06:45:05] DavidDudson: has joined #ruby
[06:46:09] moeabdol: has joined #ruby
[06:49:22] Kn|t3: has joined #ruby
[06:50:53] IdanM: has joined #ruby
[06:52:42] claw: has joined #ruby
[06:53:58] ohaibbq: has joined #ruby
[06:57:00] sigurding: has joined #ruby
[07:00:17] tildes: has joined #ruby
[07:00:24] celly: has joined #ruby
[07:01:28] adgtl: What's the current way to do unit testing in Ruby.. I know there was Test::Unit and MiniTest
[07:01:41] adgtl: Anything new that came up with Ruby 2.2.* ?
[07:01:43] rickmasta: has joined #ruby
[07:02:16] celly: has joined #ruby
[07:04:07] celly: has joined #ruby
[07:05:51] ibouvousaime: has joined #ruby
[07:06:01] celly: has joined #ruby
[07:07:58] celly: has joined #ruby
[07:08:01] nehaljwani: has joined #ruby
[07:08:27] krz: has joined #ruby
[07:08:36] solars: has joined #ruby
[07:09:00] agit0: has joined #ruby
[07:09:50] celly: has joined #ruby
[07:11:04] IdanM: has joined #ruby
[07:11:28] ayonkhan: has joined #ruby
[07:11:41] celly: has joined #ruby
[07:13:33] celly: has joined #ruby
[07:15:27] celly: has joined #ruby
[07:16:16] Kn|t3: has joined #ruby
[07:17:22] celly: has joined #ruby
[07:19:00] yfeldblum: has joined #ruby
[07:19:13] celly: has joined #ruby
[07:19:16] DavidDudson: has joined #ruby
[07:19:31] cwong_on_irc: has joined #ruby
[07:20:56] gagrio: has joined #ruby
[07:21:06] celly: has joined #ruby
[07:22:59] celly_: has joined #ruby
[07:23:19] howdoi: has joined #ruby
[07:24:18] cubicme: has joined #ruby
[07:24:54] celly: has joined #ruby
[07:26:44] celly: has joined #ruby
[07:28:36] celly: has joined #ruby
[07:29:27] shock_one: has joined #ruby
[07:30:29] celly: has joined #ruby
[07:30:36] Mia: has joined #ruby
[07:30:37] Mia: has joined #ruby
[07:30:56] pawnbox: has joined #ruby
[07:31:58] flughafen: has joined #ruby
[07:32:23] celly: has joined #ruby
[07:32:26] codecop: has joined #ruby
[07:32:54] seitensei: has joined #ruby
[07:33:40] solocshaw: has joined #ruby
[07:34:18] celly: has joined #ruby
[07:34:51] moeabdol: has joined #ruby
[07:35:01] wsewolod: has joined #ruby
[07:36:12] celly: has joined #ruby
[07:38:02] celly: has joined #ruby
[07:38:29] ibouvousaime: has joined #ruby
[07:38:46] bigmac_: has joined #ruby
[07:39:22] cubicme: has joined #ruby
[07:39:45] RegulationD: has joined #ruby
[07:39:46] benhuda: has joined #ruby
[07:39:57] celly: has joined #ruby
[07:40:15] PedramT: has joined #ruby
[07:40:58] DeXterbed: has joined #ruby
[07:41:15] charliesome: has joined #ruby
[07:41:34] yardenbar: has joined #ruby
[07:41:36] PedramT_: has joined #ruby
[07:41:49] celly: has joined #ruby
[07:41:58] ur5us: has joined #ruby
[07:42:02] Sembei: has joined #ruby
[07:42:36] Pupeno: has joined #ruby
[07:43:44] celly: has joined #ruby
[07:44:26] dwfait: has joined #ruby
[07:44:57] pawnbox: has joined #ruby
[07:45:35] celly: has joined #ruby
[07:45:53] blackms: has joined #ruby
[07:45:55] shock_one: has joined #ruby
[07:46:48] nemesit|znc: has joined #ruby
[07:47:31] celly_: has joined #ruby
[07:49:08] tildes: has joined #ruby
[07:49:24] celly: has joined #ruby
[07:49:32] dwfait: has joined #ruby
[07:51:17] celly_: has joined #ruby
[07:51:22] puria: has joined #ruby
[07:53:09] celly: has joined #ruby
[07:53:28] PedramT: has joined #ruby
[07:54:55] anisha: has joined #ruby
[07:55:00] celly: has joined #ruby
[07:56:18] bkxd: has joined #ruby
[07:56:56] celly: has joined #ruby
[07:57:10] shredding: has joined #ruby
[07:58:36] shock_one: has joined #ruby
[07:58:48] celly: has joined #ruby
[08:00:41] celly: has joined #ruby
[08:00:50] karapetyan: has joined #ruby
[08:01:53] shanemcd: has joined #ruby
[08:02:03] baweaver: has joined #ruby
[08:02:35] celly: has joined #ruby
[08:03:10] hakunin: has joined #ruby
[08:04:28] celly: has joined #ruby
[08:06:21] celly: has joined #ruby
[08:06:21] iateadonut: has joined #ruby
[08:07:26] shock_one: has joined #ruby
[08:08:15] celly: has joined #ruby
[08:08:38] PedramT_: has joined #ruby
[08:09:51] ziggy: has joined #ruby
[08:09:52] ziggy: has joined #ruby
[08:10:06] celly: has joined #ruby
[08:11:04] pawnbox: has joined #ruby
[08:11:51] startupality: has joined #ruby
[08:12:01] celly: has joined #ruby
[08:13:22] mark2: has joined #ruby
[08:13:54] celly: has joined #ruby
[08:14:42] ljarvis: adgtl: minitest
[08:14:56] jcdesimp: has joined #ruby
[08:15:38] aganov: has joined #ruby
[08:15:50] celly: has joined #ruby
[08:17:34] adgtl: ljarvis: thanks
[08:17:37] pwnd_nsfw: has joined #ruby
[08:17:41] celly: has joined #ruby
[08:18:11] framling: has joined #ruby
[08:19:32] celly: has joined #ruby
[08:20:17] wjimenez5271: has joined #ruby
[08:21:27] celly: has joined #ruby
[08:22:40] sandstrom: has joined #ruby
[08:23:20] celly: has joined #ruby
[08:25:15] celly: has joined #ruby
[08:26:51] firstdayonthejob: has joined #ruby
[08:27:06] celly: has joined #ruby
[08:27:32] bigmac_: has joined #ruby
[08:28:58] celly: has joined #ruby
[08:30:52] celly: has joined #ruby
[08:32:44] celly: has joined #ruby
[08:34:31] Kn|t3: has joined #ruby
[08:34:38] celly: has joined #ruby
[08:34:40] vondruch: has joined #ruby
[08:34:45] nonopposition: has joined #ruby
[08:36:33] celly: has joined #ruby
[08:38:23] celly: has joined #ruby
[08:39:07] idefine: has joined #ruby
[08:39:35] Zamerick: has joined #ruby
[08:40:20] celly: has joined #ruby
[08:41:15] shock_one: has joined #ruby
[08:41:46] edwinvdgraaf: has joined #ruby
[08:42:15] celly: has joined #ruby
[08:44:07] celly: has joined #ruby
[08:44:43] Kn|t3: has joined #ruby
[08:44:46] speaking1ode: has joined #ruby
[08:45:42] joonty: has joined #ruby
[08:46:00] celly: has joined #ruby
[08:46:37] DoubleMalt: has joined #ruby
[08:47:10] Hounddog: has joined #ruby
[08:47:52] celly: has joined #ruby
[08:49:22] vondruch: has joined #ruby
[08:49:27] andikr: has joined #ruby
[08:49:50] celly: has joined #ruby
[08:50:11] IdanM: has joined #ruby
[08:50:56] blaxter: has joined #ruby
[08:51:24] wolffles: has joined #ruby
[08:51:41] celly: has joined #ruby
[08:52:13] mistermocha: has joined #ruby
[08:52:53] pawnbox: has joined #ruby
[08:53:24] Hounddog: has joined #ruby
[08:53:37] celly_: has joined #ruby
[08:54:25] marr: has joined #ruby
[08:55:18] PedramT: has joined #ruby
[08:55:27] celly_: has joined #ruby
[08:56:05] pawnbox: has joined #ruby
[08:57:23] celly: has joined #ruby
[08:57:50] ta: has joined #ruby
[08:58:05] senayar: has joined #ruby
[08:58:06] senayar: has joined #ruby
[08:58:42] msankhala: has joined #ruby
[08:58:56] roshanavand: has joined #ruby
[08:59:07] adgtl: has joined #ruby
[08:59:12] celly: has joined #ruby
[09:01:00] nanoz: has joined #ruby
[09:01:09] celly: has joined #ruby
[09:01:18] roshanavand: has joined #ruby
[09:02:26] Kn|t3: has joined #ruby
[09:02:54] norc: has joined #ruby
[09:03:04] celly: has joined #ruby
[09:03:56] jds: has joined #ruby
[09:04:34] araujo: has joined #ruby
[09:04:35] araujo: has joined #ruby
[09:04:35] kp666: has joined #ruby
[09:04:55] celly: has joined #ruby
[09:05:51] krz: has joined #ruby
[09:06:12] nonopposition: has joined #ruby
[09:06:49] celly: has joined #ruby
[09:07:27] dmolina: has joined #ruby
[09:08:43] celly: has joined #ruby
[09:10:38] celly: has joined #ruby
[09:10:46] pawnbox: has joined #ruby
[09:10:57] puria: has joined #ruby
[09:11:25] jbrhbr: has joined #ruby
[09:11:59] bkxd: has joined #ruby
[09:12:33] celly: has joined #ruby
[09:13:01] drptbl: has joined #ruby
[09:14:28] celly_: has joined #ruby
[09:14:45] kmckelvin: has joined #ruby
[09:14:47] Zggb: has joined #ruby
[09:15:24] colli5ion: has joined #ruby
[09:16:16] celly: has joined #ruby
[09:17:40] azgil: has joined #ruby
[09:18:13] celly: has joined #ruby
[09:18:25] drptbl: has joined #ruby
[09:20:09] celly: has joined #ruby
[09:21:02] futilegames: has joined #ruby
[09:22:03] celly: has joined #ruby
[09:23:57] celly: has joined #ruby
[09:24:02] platzhirsch: has joined #ruby
[09:24:16] snowy: has joined #ruby
[09:25:48] celly: has joined #ruby
[09:27:43] celly: has joined #ruby
[09:28:02] karapetyan: has joined #ruby
[09:29:39] celly: has joined #ruby
[09:30:05] skade: has joined #ruby
[09:30:43] n008f4g_: has joined #ruby
[09:31:22] faisal: has joined #ruby
[09:31:31] celly: has joined #ruby
[09:32:25] pawnbox: has joined #ruby
[09:32:36] adgtl: Nice discussion around Ruby's new lonely operator https://www.reddit.com/r/ruby/comments/3wel47/ruby_gets_lonely_operator/
[09:36:09] PedramT_: has joined #ruby
[09:37:16] seitensei: has joined #ruby
[09:37:42] nonopposition: has joined #ruby
[09:38:42] rodfersou: has joined #ruby
[09:40:13] ruid: has joined #ruby
[09:40:42] karapetyan: has joined #ruby
[09:41:46] patronus: has joined #ruby
[09:41:50] plonk_: has joined #ruby
[09:41:50] plonk_: has joined #ruby
[09:41:59] sandstrom: has joined #ruby
[09:42:18] devoldmx: has joined #ruby
[09:42:51] Some-body_: has joined #ruby
[09:43:04] mahlon_: has joined #ruby
[09:43:14] Killerkeksdose: has joined #ruby
[09:43:41] CloCkWeRX: has joined #ruby
[09:43:47] ruu_: has joined #ruby
[09:43:53] perrier____: has joined #ruby
[09:44:18] colegatron: has joined #ruby
[09:44:47] pwned_: has joined #ruby
[09:44:48] ruisanto1: has joined #ruby
[09:44:49] droptone_: has joined #ruby
[09:44:49] c-c_: has joined #ruby
[09:44:59] patteh_: has joined #ruby
[09:45:07] shmoon_: has joined #ruby
[09:45:09] xaotuk_: has joined #ruby
[09:45:14] sivoais_: has joined #ruby
[09:45:17] argoneus_: has joined #ruby
[09:45:17] in0perable: has joined #ruby
[09:45:19] pontiki_: has joined #ruby
[09:45:22] chihhsin_: has joined #ruby
[09:45:25] badeball_: has joined #ruby
[09:45:25] rushed: has joined #ruby
[09:45:26] shadeslayer_: has joined #ruby
[09:45:32] ljarvis_: has joined #ruby
[09:45:37] lucasr: has joined #ruby
[09:45:40] kaspergr1bbe: has joined #ruby
[09:45:51] valeri_uF0: has joined #ruby
[09:45:52] LiquidIn1ect: has joined #ruby
[09:46:02] Hounddog_: has joined #ruby
[09:47:01] calderonroberto: has joined #ruby
[09:47:58] theRoUS`: has joined #ruby
[09:48:08] ljarvis_: yay netsplit
[09:48:14] ljarvis_: irc is so fun
[09:48:19] ljarvis_: who knows what'll happen next
[09:48:30] Ishido: has joined #ruby
[09:48:38] Karunamon|2: has joined #ruby
[09:48:42] tcrypt: has joined #ruby
[09:48:44] Liothen-: has joined #ruby
[09:48:44] russt_: has joined #ruby
[09:48:45] EvilJStoker: has joined #ruby
[09:48:45] tekmaster: has joined #ruby
[09:48:45] ceej_: has joined #ruby
[09:48:45] mmasaki_: has joined #ruby
[09:48:46] df-: has joined #ruby
[09:48:46] ujjain-: has joined #ruby
[09:48:46] sonne_: has joined #ruby
[09:48:46] LBRapid_: has joined #ruby
[09:48:48] twe4ked_: has joined #ruby
[09:48:50] lady3bean_: has joined #ruby
[09:48:50] derailed_: has joined #ruby
[09:48:52] nizmow-: has joined #ruby
[09:48:55] secret_: has joined #ruby
[09:48:56] Dfoolz: has joined #ruby
[09:48:58] humding3r: has joined #ruby
[09:48:58] j416_: has joined #ruby
[09:48:59] quarcu_: has joined #ruby
[09:49:01] devsterknight|ZN: has joined #ruby
[09:49:04] tris-: has joined #ruby
[09:49:06] dupin: has joined #ruby
[09:49:07] dannluciano_: has joined #ruby
[09:49:09] moufl: has joined #ruby
[09:49:09] pjaspers_: has joined #ruby
[09:49:10] pawnbox: has joined #ruby
[09:49:10] vbatts|w`: has joined #ruby
[09:49:13] jimeh_: has joined #ruby
[09:49:15] michael_imac: has joined #ruby
[09:49:40] kkh: has joined #ruby
[09:49:45] Phage-: has joined #ruby
[09:49:45] davidcelis_: has joined #ruby
[09:49:51] gsingh93-: has joined #ruby
[09:50:29] c0m0: has joined #ruby
[09:50:29] rheddry: has joined #ruby
[09:50:29] ryotarai_: has joined #ruby
[09:50:29] KrzaQ: has joined #ruby
[09:50:30] KervyN: has joined #ruby
[09:50:30] Tristan-Speccy: has joined #ruby
[09:50:30] Esya-: has joined #ruby
[09:50:30] ljarvis_: ljarvis #ruby-offtopic Cannot change nickname while banned on channel
[09:50:33] alem0lars: has joined #ruby
[09:50:34] ljarvis_: ljarvis #ruby-offtopic Cannot change nickname while banned on channel
[09:50:40] SpleezeDos: has joined #ruby
[09:50:41] adgtl: has joined #ruby
[09:51:27] ljarvis: nothing to see here
[09:51:38] icedragon: has joined #ruby
[09:52:33] varesa: has joined #ruby
[09:52:37] ujjain-: has joined #ruby
[09:52:51] Pupeno: has joined #ruby
[09:52:52] Pupeno: has joined #ruby
[09:52:54] Cork: has joined #ruby
[09:53:59] adgtl: anyone know
[09:54:01] adgtl: class Hello
[09:54:10] adgtl: @message = "hello world"
[09:54:27] adgtl: When to use that kind of instance variable set at class level?
[09:54:41] solocshaw1: has joined #ruby
[09:54:51] platzhirsch: adgtl: how do you mean use an instance variable as class variable?
[09:55:04] sivoais: has joined #ruby
[09:55:12] ljarvis: adgtl: when you want a variable that's applicable for that class (in place of a class variable, usually)
[09:55:22] bnizzle1: has joined #ruby
[09:55:54] svkurowski: has joined #ruby
[09:56:00] SilentEcho: has joined #ruby
[09:56:26] ricer2_g4H4: has joined #ruby
[09:56:36] sluukkonen: has joined #ruby
[09:56:45] tuor: has joined #ruby
[09:56:59] speaking2ode: has joined #ruby
[09:57:32] aspiers: has joined #ruby
[09:57:40] mclee: has joined #ruby
[09:57:42] alakra: has joined #ruby
[09:57:49] moss: has joined #ruby
[09:57:55] ljarvis: adgtl: https://eval.in/488523
[09:58:00] Silex: has joined #ruby
[09:58:24] tvw: has joined #ruby
[09:58:37] GGMethos: has joined #ruby
[09:58:38] sunya7a__: has joined #ruby
[09:58:48] sjumsa: has joined #ruby
[09:58:56] ljarvis: in this example a class variable would actually be fine, but I generally prefer to use class ivars instead
[09:59:00] imajes_: has joined #ruby
[09:59:49] adgtl: @ljarvis can't it be @@ instead of @ in your example?
[09:59:52] kotk_: has joined #ruby
[09:59:55] yaewa: has joined #ruby
[09:59:59] adgtl: ljarvis: okay
[10:00:10] Junaos_: has joined #ruby
[10:00:24] adgtl: I always thought use of class ivars is some kind of bug / are not allowed
[10:00:29] TheSpect1e: has joined #ruby
[10:00:43] kitallisii: has joined #ruby
[10:00:44] Davey_: has joined #ruby
[10:00:44] samuelkadolph1: has joined #ruby
[10:00:44] Davey_: has joined #ruby
[10:00:44] existensil_: has joined #ruby
[10:00:59] ljarvis: no it's not a bug and it's allowed, but there's some funky stuff that happens around inheritance when you use class variables
[10:01:14] joeyjones_: has joined #ruby
[10:01:16] cout_: has joined #ruby
[10:01:21] Esya: has joined #ruby
[10:01:22] spectra-: has joined #ruby
[10:01:27] plantigrade: has joined #ruby
[10:01:29] morfin60: has joined #ruby
[10:01:38] Helheim_: has joined #ruby
[10:01:51] yasu_: has joined #ruby
[10:01:59] boshhead_: has joined #ruby
[10:02:03] karapety_: has joined #ruby
[10:02:04] Jackneill: has joined #ruby
[10:02:37] Omni_: has joined #ruby
[10:02:38] Tempesta_: has joined #ruby
[10:02:39] zacts_: has joined #ruby
[10:02:50] ghormoon_: has joined #ruby
[10:03:07] lguardiola_: has joined #ruby
[10:03:10] akkad_: has joined #ruby
[10:03:19] peteyg: has joined #ruby
[10:03:30] spastorino_: has joined #ruby
[10:03:38] xet7_: has joined #ruby
[10:03:39] pskosinski_: has joined #ruby
[10:03:49] jcdesimp: has joined #ruby
[10:03:50] thoraxe_: has joined #ruby
[10:03:57] djellemah_: has joined #ruby
[10:04:03] zamerick_: has joined #ruby
[10:04:03] OmegaA_: has joined #ruby
[10:04:11] jayne_: has joined #ruby
[10:04:36] gigetoo_: has joined #ruby
[10:04:42] rtl_: has joined #ruby
[10:05:03] _ko10: has joined #ruby
[10:05:04] Emmanuel_Chanel_: has joined #ruby
[10:05:05] sivoais: has joined #ruby
[10:05:13] clamstar-: has joined #ruby
[10:05:15] kadoppe_: has joined #ruby
[10:05:33] Azure|dc: has joined #ruby
[10:05:33] csaunders_: has joined #ruby
[10:05:42] oz`: has joined #ruby
[10:05:51] miah_: has joined #ruby
[10:06:01] FifthWall_: has joined #ruby
[10:06:05] adgtl: has joined #ruby
[10:06:39] Xiti`: has joined #ruby
[10:06:54] passcod_: has joined #ruby
[10:08:21] ndancer: has joined #ruby
[10:08:38] alphaatom: has joined #ruby
[10:08:49] fumduq-: has joined #ruby
[10:09:17] yonatankoren_: has joined #ruby
[10:09:36] ajaiswal_: has joined #ruby
[10:09:39] shmoon_: I need to do a 2 way ssl auth with one of the API providers am working with, anyone can help me with it, cuz I don't understand jack about it ?
[10:09:44] roger_g: has joined #ruby
[10:09:53] roger_g: why am i always banned from this channel?
[10:10:16] roger_g: !oppity ops?
[10:10:22] ruboto: fflush, apeiros, banisterfiend, seanstickle, Mon_Ouie, zzak, Radar, Havenn, jhass, sevenseacat, miah, workmad3, Coraline, drbrain, zenspider, slyphon, rubyhacker1, Aria, ljarvis, Adaedra, baweaver
[10:10:26] drptbl: has joined #ruby
[10:10:41] apeiros: !kick roger_g don't abuse !op
[10:10:42] adaedra: roger_g: #ruby-banned for that
[10:10:43] ruboto: ruboto kicked roger_g: abuse !op
[10:10:43] ruboto: -o ruboto
[10:10:50] roger_g: has joined #ruby
[10:10:51] Symbiosisz2: has joined #ruby
[10:10:56] ayonkhan_: has joined #ruby
[10:10:56] tomphp: has joined #ruby
[10:11:05] TakumoKatekari: has joined #ruby
[10:11:06] TakumoKatekari: has joined #ruby
[10:11:23] roger_g: why do i keep getting banned from this channel?
[10:11:38] rgtk: has joined #ruby
[10:11:39] adaedra: roger_g: #ruby-banned for that
[10:11:46] apeiros: roger_g: when you get banned, you get told why
[10:11:53] roger_g: no you don't
[10:12:03] PlasmaStar: has joined #ruby
[10:13:03] bweston92: has joined #ruby
[10:13:03] bkxd: has joined #ruby
[10:13:03] bronson: has joined #ruby
[10:13:54] callumacrae: has joined #ruby
[10:14:13] bmn: has joined #ruby
[10:14:23] thejoecarroll: has joined #ruby
[10:14:36] apeiros: !ban roger_g and indeed you got told the reason, good bye
[10:14:41] apeiros: !ban roger_g !T and indeed you got told the reason, good bye
[10:14:46] apeiros: !ban roger_g !P and indeed you got told the reason, good bye
[10:14:52] apeiros: ACTION should not ban after waking up???
[10:14:59] roger_g: i haven't got told the reason
[10:15:04] sivoais: has joined #ruby
[10:15:08] roger_g: if i have i would not be asking
[10:15:17] apeiros: apeiros kicked roger_g:
[10:15:18] ChanServ: +b roger_g!*@*
[10:15:20] mozzarella: has joined #ruby
[10:15:28] jamo: has joined #ruby
[10:15:43] apeiros: +b *!*@*195.154.168.236
[10:15:49] apeiros: -o apeiros
[10:16:02] johnhamelink: has joined #ruby
[10:16:03] IdanM: has joined #ruby
[10:16:19] yorickpeterse: has joined #ruby
[10:16:29] ljarvis: i'd argue that you should just fix the !T !P and not have to care about it :)
[10:16:41] apeiros: ljarvis: you'd argue right
[10:16:59] ljarvis: #thingsmyfianceneversays
[10:17:04] apeiros: and the code for it has been written for weeks. just that my workload didn't permit to really try the new codebase :(
[10:17:26] apeiros: but after christmas, that'll change :)
[10:17:31] iateadonut: has joined #ruby
[10:17:41] adaedra: oh boy, now I can't wait.
[10:17:50] ljarvis: I'm struggling with time over the holidays too, partly looking forward to the new year to find some time for OSS
[10:18:06] apeiros: ah it's not been "over the holidays" for me
[10:18:16] ljarvis: this right here is agenda #1 https://github.com/SchemaPlus/schema_plus_foreign_keys/issues/4
[10:18:17] nfk|laptop: has joined #ruby
[10:18:19] apeiros: it's been the last few weeks
[10:18:29] ljarvis: heh yeah to be fair that's probably correct for me too
[10:18:36] ljarvis: everything gets busy a month or two before
[10:19:37] apeiros: ah well, that's ot I guess :)
[10:20:14] alphaatom: has joined #ruby
[10:20:18] anisha: has joined #ruby
[10:20:22] YaknotiS: has joined #ruby
[10:20:44] whiteline: has joined #ruby
[10:22:06] Tempesta: has joined #ruby
[10:23:34] Kn|t3: has joined #ruby
[10:24:01] aibot: has joined #ruby
[10:25:06] sivoais: has joined #ruby
[10:25:14] blub: has joined #ruby
[10:26:09] go|dfish: has joined #ruby
[10:26:35] Amnez777: has joined #ruby
[10:27:09] skade: has joined #ruby
[10:28:35] devster31: has joined #ruby
[10:28:49] CyberAssassin: has joined #ruby
[10:30:01] irk: has joined #ruby
[10:30:57] rickmasta: has joined #ruby
[10:32:37] lxsameer: has joined #ruby
[10:34:19] skade: has joined #ruby
[10:34:24] IdanM_: has joined #ruby
[10:35:06] sivoais: has joined #ruby
[10:37:38] lokulin: has joined #ruby
[10:38:24] adgtl: has joined #ruby
[10:38:46] PedramT: has joined #ruby
[10:39:12] tomphp: has joined #ruby
[10:39:14] sandstrom: has joined #ruby
[10:41:53] puria: has joined #ruby
[10:41:57] ElFerna: has joined #ruby
[10:42:15] bartkoo: has joined #ruby
[10:44:00] wldcordeiro: has joined #ruby
[10:44:01] nonopposition: has joined #ruby
[10:45:06] sivoais: has joined #ruby
[10:45:49] bweston92: has joined #ruby
[10:46:26] Outlastsheep: has joined #ruby
[10:46:28] arup_r: has joined #ruby
[10:47:45] alphaatom: has joined #ruby
[10:52:36] maikowblue: has joined #ruby
[10:52:53] skade: has joined #ruby
[10:53:57] shock_one: has joined #ruby
[10:54:07] moeSeth: has joined #ruby
[10:54:24] beast: has joined #ruby
[10:55:07] sivoais: has joined #ruby
[10:55:57] shock_one: has joined #ruby
[10:58:11] garmonbozia: has joined #ruby
[10:59:43] Kn|t3: has joined #ruby
[11:01:01] tomphp: has joined #ruby
[11:05:07] sivoais: has joined #ruby
[11:05:08] Tempesta: has joined #ruby
[11:06:21] SCHAAP137: has joined #ruby
[11:07:37] Pupeno: has joined #ruby
[11:07:38] Pupeno: has joined #ruby
[11:09:20] Kn|t3: has joined #ruby
[11:09:28] vasilakisFiL: has joined #ruby
[11:11:04] tildes: has joined #ruby
[11:11:20] alphaatom: has joined #ruby
[11:13:51] cassioscabral: has joined #ruby
[11:13:54] Kn|t3: has joined #ruby
[11:14:20] nunchuck: has joined #ruby
[11:15:08] sivoais: has joined #ruby
[11:19:41] celly: has joined #ruby
[11:20:58] IanMalcolm: has joined #ruby
[11:22:29] stamina: has joined #ruby
[11:25:08] sivoais: has joined #ruby
[11:29:33] nfk|laptop: has joined #ruby
[11:29:50] build22: has joined #ruby
[11:29:57] build22: has left #ruby: ()
[11:30:55] nickjj: has joined #ruby
[11:32:10] dlitvak: has joined #ruby
[11:34:34] sankaber: has joined #ruby
[11:35:08] sivoais: has joined #ruby
[11:35:22] sankaber: has joined #ruby
[11:37:19] benhuda: has joined #ruby
[11:38:05] seitensei: has joined #ruby
[11:38:05] seitensei: has joined #ruby
[11:41:17] RegulationD: has joined #ruby
[11:42:19] shevy: apeiros xmas days is normally big holidays time, you should not be blocked by workload! :D
[11:42:51] blub: hi shevy
[11:43:05] devoldmx: has joined #ruby
[11:45:08] sivoais: has joined #ruby
[11:45:35] avelldiroll: has joined #ruby
[11:47:46] cassioscabral: has joined #ruby
[11:50:28] mikecmpbll: has joined #ruby
[11:52:45] jcdesimp: has joined #ruby
[11:55:10] sivoais: has joined #ruby
[11:56:13] mistermocha: has joined #ruby
[11:57:11] kriskropd: has joined #ruby
[11:57:48] Ropeney: has joined #ruby
[12:00:56] shevy: hey blubsters
[12:02:42] yos7ph: has joined #ruby
[12:03:17] nonopposition: has joined #ruby
[12:05:10] sivoais: has joined #ruby
[12:06:01] karapetyan: has joined #ruby
[12:06:51] Pupeno: has joined #ruby
[12:06:57] monthy: has joined #ruby
[12:07:01] SirFunk: My mind is blown right now. I have a rails project, I bundle install. It says everything is installed. When I run rake (with or without bundle exec) it keeps complaining about missing gems, unless I manually install them (l18n, rack, tilt, etc). I'm using chruby, any ideas?
[12:07:18] prestorium: has joined #ruby
[12:08:21] Pupeno: has joined #ruby
[12:08:22] Pupeno: has joined #ruby
[12:09:03] pawnbox: has joined #ruby
[12:09:13] ElFerna: has joined #ruby
[12:09:16] iateadonut: has joined #ruby
[12:09:35] nettoweb: has joined #ruby
[12:09:38] adaedra: wait, I should try to read.
[12:12:27] yos7ph_: has joined #ruby
[12:13:04] yfeldblum: has joined #ruby
[12:13:50] adaedra: SirFunk: What do `which ruby`, `which gem`, `which bundle` and `gem env` outputs?
[12:13:51] yfeldblum: has joined #ruby
[12:15:05] karapetyan: has joined #ruby
[12:15:09] sivoais: has joined #ruby
[12:15:16] SirFunk: I'll gist it in a sec. I just blew away my .rubies and .gems folders and am reinstalling
[12:15:28] anoob: has joined #ruby
[12:17:06] platzhirsch: has left #ruby: ()
[12:18:40] SirFunk: adaedra: https://gist.github.com/jeffutter/585c680da9d092882d21
[12:19:07] adaedra: The reinstall did not fix the problem I get?
[12:19:13] nofxx: has joined #ruby
[12:20:07] SirFunk: adaedra: nope
[12:20:48] monthy: has joined #ruby
[12:21:35] karapetyan: has joined #ruby
[12:21:49] adaedra: this looks normal
[12:23:43] yfeldblum: has joined #ruby
[12:26:31] blackjid: has joined #ruby
[12:27:05] pawnbox: has joined #ruby
[12:27:12] dlitvak_: has joined #ruby
[12:27:17] SirFunk: Uninstalled all my gems and re-ran bundle install, now everything is working
[12:27:20] SirFunk: that was weird
[12:28:27] adaedra: ??\_(???)_/??
[12:28:59] adaedra: Also, why do you install a 2.2.2 and not a 2.2.4?
[12:30:23] p0wn3d_: has joined #ruby
[12:32:17] c355E3B: has joined #ruby
[12:35:30] Kn|t3: has joined #ruby
[12:35:52] charliesome: has joined #ruby
[12:37:30] duckpuppy: has joined #ruby
[12:37:44] InvGhostt: has joined #ruby
[12:37:50] kobain: has joined #ruby
[12:37:57] pawnbox: has joined #ruby
[12:41:22] pawnbox: has joined #ruby
[12:42:50] InvGhostt: has joined #ruby
[12:42:55] sanguisdex: has joined #ruby
[12:46:03] chthon: has joined #ruby
[12:46:25] solocshaw: has joined #ruby
[12:48:50] pawnbox: has joined #ruby
[12:49:16] atomical: has joined #ruby
[12:50:35] futilegames: has joined #ruby
[12:51:28] charliesome: has joined #ruby
[12:51:54] krz: has joined #ruby
[12:52:27] TomyLobo: has joined #ruby
[12:54:07] senayar: has joined #ruby
[12:54:08] senayar: has joined #ruby
[12:57:58] futilegames_: has joined #ruby
[12:58:52] Mon_Ouie: has joined #ruby
[13:00:35] jcdesimp: has joined #ruby
[13:00:46] Cyther: has joined #ruby
[13:05:14] karapetyan: has joined #ruby
[13:05:22] karapety_: has joined #ruby
[13:06:28] drptbl: has joined #ruby
[13:06:29] bkxd: has joined #ruby
[13:07:16] sdothum: has joined #ruby
[13:07:50] celly: has joined #ruby
[13:09:25] joonty: has joined #ruby
[13:10:55] davedev24: has joined #ruby
[13:13:28] weemsledeux: has joined #ruby
[13:18:55] sandstrom: has joined #ruby
[13:20:49] cornerma1: has joined #ruby
[13:21:55] d0nn1e: has joined #ruby
[13:23:14] pawnbox: has joined #ruby
[13:23:18] davedev24: has joined #ruby
[13:25:00] freerobby: has joined #ruby
[13:26:08] dstarh: has joined #ruby
[13:26:15] adgtl: has joined #ruby
[13:26:19] shanemcd: has joined #ruby
[13:27:38] Pupeno: has joined #ruby
[13:32:05] varunwachaspati: has joined #ruby
[13:33:16] pawnbox: has joined #ruby
[13:33:56] f4cl3y: has joined #ruby
[13:34:47] sigurding: has joined #ruby
[13:37:30] futilegames: has joined #ruby
[13:38:13] synthroid: has joined #ruby
[13:38:58] seitensei: has joined #ruby
[13:38:58] seitensei: has joined #ruby
[13:39:07] pawnbox: has joined #ruby
[13:41:00] joonty: has joined #ruby
[13:41:26] K1MOS: has joined #ruby
[13:43:36] SamGerber: has joined #ruby
[13:43:53] devoldmx: has joined #ruby
[13:47:05] rickmasta: has joined #ruby
[13:47:21] skade: has joined #ruby
[13:47:31] alphaatom: has joined #ruby
[13:48:57] mistermocha: has joined #ruby
[13:49:52] anaeem1_: has joined #ruby
[13:51:03] kmckelvi1: has joined #ruby
[13:53:01] Vitor_: has joined #ruby
[13:53:26] build22: has joined #ruby
[13:55:22] K1MOS: has joined #ruby
[14:00:52] snowy: has joined #ruby
[14:01:05] Vitor__: has joined #ruby
[14:02:19] kmckelvi1: has joined #ruby
[14:02:59] cyfr0n: has joined #ruby
[14:03:18] Guest47881: has joined #ruby
[14:05:54] alphaatom: has joined #ruby
[14:06:13] adgtl: has joined #ruby
[14:06:26] devster31: has joined #ruby
[14:06:39] kobain: has joined #ruby
[14:07:10] Spami: has joined #ruby
[14:09:16] mark2: has left #ruby: ("PART #RubyOnRails :PART #reactjs :PART ##javascript :PART #elixir-lang :PART #debian :PART #zsh :PONG :hitchcock.freenode.net")
[14:09:56] BTRE: has joined #ruby
[14:10:51] anaeem1_: has joined #ruby
[14:11:18] arup_r: has joined #ruby
[14:11:26] shevy: 10 more days left to write ruby code in 2015
[14:12:26] devster31: has joined #ruby
[14:12:31] Guest47881: has left #ruby: ("Leaving")
[14:12:56] freerobby: has joined #ruby
[14:13:22] adaedra: before writing javascript in 2016? that's what you're saying?
[14:14:14] shevy: ruby code
[14:14:30] adaedra: bat that's so 2015!
[14:15:06] sankaber: has joined #ruby
[14:15:32] smactive: has joined #ruby
[14:21:46] fullofcaffeine: has joined #ruby
[14:22:24] nateberkopec: has joined #ruby
[14:22:44] anaeem1_: has joined #ruby
[14:24:44] Icey: has joined #ruby
[14:26:12] Icey: has joined #ruby
[14:29:31] shibly: has joined #ruby
[14:29:52] sdothum: has joined #ruby
[14:29:54] shibly: has left #ruby: ()
[14:31:11] Jardayn: has joined #ruby
[14:31:13] mostlybadfly: has joined #ruby
[14:32:14] Lildirt: has joined #ruby
[14:33:50] sleepee: has joined #ruby
[14:34:02] StevenXL: has joined #ruby
[14:34:02] StevenXL: has joined #ruby
[14:34:41] Yzguy: has joined #ruby
[14:34:54] babblebre: has joined #ruby
[14:35:02] InvGhostt: has joined #ruby
[14:36:41] alphaatom: has joined #ruby
[14:36:50] adgtl: has joined #ruby
[14:37:13] Emmanuel_Chanel: has joined #ruby
[14:37:37] Emmanuel_Chanel: has joined #ruby
[14:38:09] adgtl_: has joined #ruby
[14:38:30] decoponio: has joined #ruby
[14:39:49] dlitvak: has joined #ruby
[14:43:17] ESpiney: has joined #ruby
[14:43:27] krobzaur: has joined #ruby
[14:44:21] Kn|t3: has joined #ruby
[14:44:22] sankaber: has joined #ruby
[14:45:02] kmckelvi1: has joined #ruby
[14:46:49] platzhirsch: has joined #ruby
[14:47:31] zotherstupidguy: has joined #ruby
[14:48:58] polishdub: has joined #ruby
[14:49:37] whippythellama: has joined #ruby
[14:52:09] joast: has joined #ruby
[14:52:11] moei: has joined #ruby
[14:53:19] idefine: has joined #ruby
[14:53:21] 17WABD02O: has joined #ruby
[14:53:40] atomical_: has joined #ruby
[14:54:16] stannard: has joined #ruby
[14:54:17] tvon: has joined #ruby
[14:54:42] andywojo: has joined #ruby
[14:55:12] weemsledeux: has joined #ruby
[14:56:01] celly: has joined #ruby
[14:57:20] sanguisdex: has left #ruby: ()
[14:59:08] Omni_: has joined #ruby
[15:00:52] momomomomo: has joined #ruby
[15:01:00] leslie: has joined #ruby
[15:01:00] leslie: has joined #ruby
[15:01:02] bigkevmcd: has joined #ruby
[15:01:38] greister: has joined #ruby
[15:02:20] leslie: has joined #ruby
[15:02:20] leslie: has joined #ruby
[15:02:36] snowy: has joined #ruby
[15:03:46] karmatr0n: has joined #ruby
[15:03:59] greister: has joined #ruby
[15:04:58] InvGhostt: has joined #ruby
[15:07:41] aryaching: has joined #ruby
[15:09:29] sivoais: has joined #ruby
[15:09:31] Kruppe: has joined #ruby
[15:09:31] camus: has joined #ruby
[15:09:31] csmb: has joined #ruby
[15:09:31] w5isp: has joined #ruby
[15:09:32] camus: has joined #ruby
[15:09:47] rhg135: has joined #ruby
[15:10:07] tvon: has joined #ruby
[15:10:46] sandstrom: has joined #ruby
[15:11:20] Lildirt: has joined #ruby
[15:11:57] decoponyo: has joined #ruby
[15:12:08] dhollinger: has joined #ruby
[15:12:31] f4cl3y: has joined #ruby
[15:12:40] duckpuppy: has joined #ruby
[15:13:25] IanMalcolm: has joined #ruby
[15:13:34] idefine_: has joined #ruby
[15:15:36] atomical: has joined #ruby
[15:15:37] jgpawletko: has joined #ruby
[15:15:50] marcoecc: has joined #ruby
[15:16:08] snowy: has joined #ruby
[15:17:16] lxsameer: has joined #ruby
[15:17:17] lxsameer: has joined #ruby
[15:17:17] nertzy: has joined #ruby
[15:20:16] minimalism: has joined #ruby
[15:20:42] The_Phoenix: has joined #ruby
[15:21:53] Lildirt: has joined #ruby
[15:21:54] sivoais: has joined #ruby
[15:21:58] Trynemjoel: has joined #ruby
[15:22:42] Meow-J: has joined #ruby
[15:22:44] TheBloke: has joined #ruby
[15:22:46] axl_: has joined #ruby
[15:24:47] Snowy_: has joined #ruby
[15:27:06] dorei: has joined #ruby
[15:28:06] alphaatom: has joined #ruby
[15:28:28] mary5030: has joined #ruby
[15:29:25] rippa: has joined #ruby
[15:30:42] IdanM: has joined #ruby
[15:30:49] InvGhostt: has joined #ruby
[15:31:58] sivoais: has joined #ruby
[15:32:02] mrtomme: has joined #ruby
[15:33:13] matp: has joined #ruby
[15:33:44] benhuda: has joined #ruby
[15:35:19] InvGhostt: has joined #ruby
[15:36:51] lacuna: has joined #ruby
[15:38:10] hxegon: has joined #ruby
[15:38:51] InvGhostt: has joined #ruby
[15:38:51] jmonreal: has joined #ruby
[15:39:26] naftilos76: has joined #ruby
[15:39:35] adgtl: has joined #ruby
[15:39:35] tenderlove: has joined #ruby
[15:39:53] seitensei: has joined #ruby
[15:40:14] freerobby: has joined #ruby
[15:41:59] sivoais: has joined #ruby
[15:42:15] colegatron: has joined #ruby
[15:42:19] pawnbox_: has joined #ruby
[15:43:09] yardenbar: has joined #ruby
[15:43:21] rgtk: has joined #ruby
[15:43:32] scootaloo: has joined #ruby
[15:45:10] cjbottaro: has joined #ruby
[15:45:13] adaedra: has joined #ruby
[15:45:19] `derpy: has joined #ruby
[15:45:39] pawnbox: has joined #ruby
[15:46:22] ElFerna: has joined #ruby
[15:47:10] weemsledeux: has joined #ruby
[15:49:31] InvGhostt: has joined #ruby
[15:51:21] InvGhostt: has joined #ruby
[15:51:51] SleepySensei: has joined #ruby
[15:51:57] ta0: has joined #ruby
[15:51:58] InvGhostt: has joined #ruby
[15:52:00] sivoais: has joined #ruby
[15:53:20] ta0: i forget who recommended codewars to me, but it has helped so much. my ruby-fu has significantly improved
[15:54:07] minimalism: codewars? nanisore
[15:56:10] adingman: has joined #ruby
[15:57:04] adingman: Stupid newbie error trying to read from a socket.
[15:57:04] Spami: has joined #ruby
[15:57:15] shevy: ta0 was it you
[15:57:18] cscheib: ta0: it's certainly useful to do some exercises there. there're also ruby koans
[15:57:38] ta0: shevy: was what me?
[15:57:43] adingman: Tell me why this: "if ((iv.size != 16 || ctext.size < 16)) then" is wrong?
[15:58:19] adingman: because it always hits the "else" block and then prints out that iv.size is 16 and ctext.size is 160, which last I checked is greater than 16.
[15:58:27] ta0: cscheib: I find the rubykoans a bit slow. the nano -> irb -> rake cycle doesnt really appeal to me so much
[15:59:17] chth0n: has joined #ruby
[15:59:39] apeiros: adingman: print the conditions separately and see? `p iv_size: iv.size != 16, ctext_size: ctext.size < 16` right before your if
[16:00:04] adingman: puts( "IV is " + iv.size.to_s + " bytes and ctext is " + ctext.size.to_s + " bytes.\n")
[16:00:04] apeiros: and 160 is greater than 16, yes, which means it is not smaller
[16:00:14] apeiros: i.e. 160 < 16 # => false
[16:00:26] apeiros: so if IV is 16 bytes, it's false || false, and that => false
[16:01:31] adingman: And I'm testing an assignment not a comparison.
[16:01:38] Kn|t3: has joined #ruby
[16:01:44] adingman: Works when I use ==
[16:01:51] apeiros: puts "IV is #{iv.size} bytes and ctext is #{ctext.size} bytes." # adingman - nicer to write & read
[16:01:59] sivoais: has joined #ruby
[16:02:03] apeiros: your code does not contain an assignment?
[16:02:11] adingman: apeiros, thanks.
[16:02:17] adingman: the assignment is elsewhere.
[16:02:22] apeiros: also puts appends a newline unless there's already one present
[16:02:44] adingman: but my "if" statement was testing success of assigning "16" to string.size.
[16:03:08] cscheib: ta0: may want to consider something other than nano. you won't regret learning and using vim, if you end up coding a lot. Or even emacs.
[16:03:10] adingman: And thanks for the reminder about quoting conventions. New to Ruby, and I knew there had to be a cleaner way.
[16:03:29] apeiros: adingman: btw., #{} calls to_s on the result of the expression
[16:03:49] apeiros: hence "x: #{1+1}" is fine, while with "x: "+(1+1) you need the .to_s
[16:04:10] ta0: i like the simplicity. emacs killed lisp for me, racket -> sbcl and emacs was such a mess that I just gave it up
[16:04:14] reaVer: has joined #ruby
[16:04:18] ta0: nano is just fine
[16:04:47] argoneus_: has joined #ruby
[16:05:28] dlitvak: has joined #ruby
[16:05:30] adingman: people who use nano are tolerable as long as they turn off its stupid hard word wrap behavior that kills files.
[16:05:35] gambl0re: has joined #ruby
[16:05:38] blub: slime and paredit is half the reason to use lisp.....
[16:06:20] zdman135: has joined #ruby
[16:06:21] adingman: nano itself is a matter of taste. To me, it tastes pretty bad. But as long as the junior admins don't muck anything up they can use whatever editor they like ;-)
[16:06:58] bkxd: has joined #ruby
[16:07:52] zdman135: oh the hate towards nano, lol
[16:08:07] rgtk: has joined #ruby
[16:08:14] raypulver: has joined #ruby
[16:08:50] zdman135: oh the hate towards nano, lol
[16:09:49] raypulver: I am making a C extension .. I put my header files in the same folder as my source files but gem can't find them when it goes to build my gem
[16:09:50] adaedra: ah, editor wars again?
[16:09:56] raypulver: here is my gemspec: http://raypulver.com/leon.gemspec
[16:11:43] synthroid: has joined #ruby
[16:11:57] przemosk: has joined #ruby
[16:12:00] sivoais: has joined #ruby
[16:13:11] dsdeiz: has joined #ruby
[16:13:36] DoubleMalt: has joined #ruby
[16:17:34] karapetyan: has joined #ruby
[16:20:14] krz: has joined #ruby
[16:22:01] sivoais: has joined #ruby
[16:23:29] cwong_on_irc: has joined #ruby
[16:23:56] Kn|t3: has joined #ruby
[16:24:27] idefine_: has joined #ruby
[16:25:52] InvGhostt: has joined #ruby
[16:25:54] lictor36: has joined #ruby
[16:26:29] alphaatom: has joined #ruby
[16:30:25] FooMunki: has joined #ruby
[16:32:01] sandstrom: has joined #ruby
[16:32:03] sivoais: has joined #ruby
[16:33:22] pawnbox_: has joined #ruby
[16:34:00] arup_r: has joined #ruby
[16:35:09] BTRE: has joined #ruby
[16:37:22] ramfjord: has joined #ruby
[16:37:26] shevy: can you put it on a site that does not require a download such as pastie.org or gist.github?
[16:39:29] ElFerna: has joined #ruby
[16:40:30] tom_lowndes: has joined #ruby
[16:41:49] karapetyan: has joined #ruby
[16:41:50] dlitvak: has joined #ruby
[16:42:02] sivoais: has joined #ruby
[16:44:11] celly: has joined #ruby
[16:44:49] ferr: has joined #ruby
[16:45:52] axl_: has joined #ruby
[16:46:12] Lildirt: has joined #ruby
[16:47:07] shanemcd: has joined #ruby
[16:48:07] synthroid: has joined #ruby
[16:49:19] synthroid: has joined #ruby
[16:52:03] skyjumper: has joined #ruby
[16:52:12] sivoais: has joined #ruby
[16:52:24] bronson: has joined #ruby
[16:52:56] psye: has joined #ruby
[16:52:58] minimalism: has joined #ruby
[16:53:50] minimalism: has joined #ruby
[16:54:04] psye: has joined #ruby
[16:54:32] hectortrope: has joined #ruby
[16:56:22] tvon: has joined #ruby
[16:57:04] radgeRayden__: has joined #ruby
[16:57:10] sivoais: has joined #ruby
[16:57:15] speakingcode: has joined #ruby
[16:57:51] amclain: has joined #ruby
[16:59:13] joonty: has joined #ruby
[17:00:16] nertzy: has joined #ruby
[17:01:03] Mon_Ouie: raypulver: Dir.glob("*.{c, h}") != Dir.glob("*.{c,h}")
[17:01:06] Kn|t3: has joined #ruby
[17:01:17] idefine: has joined #ruby
[17:03:49] Liothen: has joined #ruby
[17:03:49] Liothen: has joined #ruby
[17:06:19] rickmasta: has joined #ruby
[17:06:23] anaeem1: has joined #ruby
[17:09:11] devbug: has joined #ruby
[17:15:36] build22: has left #ruby: ()
[17:17:10] sross07: has joined #ruby
[17:17:25] cassioscabral: has joined #ruby
[17:17:31] sross07: has joined #ruby
[17:17:51] sgambino: has joined #ruby
[17:18:53] skyjumper: has left #ruby: ()
[17:19:41] rodfersou: has joined #ruby
[17:20:03] bodgix: has left #ruby: ()
[17:20:59] chouhoulis: has joined #ruby
[17:23:10] snguyen: has joined #ruby
[17:23:22] SleepySensei: has joined #ruby
[17:25:17] alphaatom: has joined #ruby
[17:28:54] fullofcaffeine: has joined #ruby
[17:33:10] the_nick_me: has joined #ruby
[17:35:02] ruu_: has joined #ruby
[17:35:56] sandstrom: has joined #ruby
[17:36:27] dotix: has joined #ruby
[17:36:48] eytanfb: has joined #ruby
[17:37:25] renderful: has joined #ruby
[17:39:23] cassioscabral: has joined #ruby
[17:39:47] havenwood: TomyLobo: I try to never put spaces in file extensions!
[17:40:57] havenwood: Pretty sure I've made this same error though. ;)
[17:40:58] seitensei: has joined #ruby
[17:42:31] mg^: has joined #ruby
[17:44:00] benlieb: has joined #ruby
[17:44:17] shanemcd: has joined #ruby
[17:44:36] dlitvak: has joined #ruby
[17:44:38] dotix: has joined #ruby
[17:44:38] dotix: has joined #ruby
[17:45:05] devoldmx: has joined #ruby
[17:45:38] DoubleMalt: has joined #ruby
[17:47:24] nfk|laptop: has joined #ruby
[17:48:51] shibly: has joined #ruby
[17:49:13] weemsledeux: has joined #ruby
[17:49:52] shibly: What's the latest version of gem? like gem install rails
[17:50:00] RobertBirnie: has joined #ruby
[17:50:17] havenwood: shibly: 2.5.1
[17:50:58] shibly: havenwood: How did you know it?
[17:51:10] eytanfb: has joined #ruby
[17:52:24] Maletor: has joined #ruby
[17:52:53] havenwood: shibly: I recalled and confirmed with: gem update --system && gem -v
[17:53:16] havenwood: shibly: https://github.com/rubygems/rubygems/releases/tag/v2.5.1
[17:53:32] Lildirt: has joined #ruby
[17:54:34] shanemcd: has joined #ruby
[17:54:38] havenwood: ?crosspost shibly
[17:54:38] ruboto: shibly, Please do not crosspost without at least telling so and mentioning provided suggestions and their outcome in all channels. Experience shows that people don't do either, and not doing so is considered rude.
[17:54:44] anaeem1: has joined #ruby
[17:55:11] hxegon: has joined #ruby
[17:55:45] agent_white: has joined #ruby
[17:55:57] havenwood: shibly: From the console you can check `gem -v` or `Gem::VERSION` from Ruby.
[17:56:07] ElFerna: has joined #ruby
[17:57:30] shibly: havenwood: I ran: gem update --system , why is it taking so much time?
[17:57:32] agent_white: Mornin' folks
[17:58:01] shibly: agent_white: Morning
[17:58:34] havenwood: shibly: Maybe it wasn't up to date and it's updating? Downloads can take a while depending on your internet speed.
[17:58:43] havenwood: agent_white: good mornin'
[17:58:57] nonopposition: has joined #ruby
[18:00:05] pawnbox: has joined #ruby
[18:00:24] pawnbox: has joined #ruby
[18:00:48] havenwood: shibly: Folk are wasting time re-answering your question in other channels... Say if you cross-post!
[18:01:02] tvon: has joined #ruby
[18:01:12] axl_: has joined #ruby
[18:01:21] n008f4g_: has joined #ruby
[18:01:33] berserk_ren: has joined #ruby
[18:01:43] drptbl: has joined #ruby
[18:02:16] jbrhbr: has joined #ruby
[18:03:41] cpup: has joined #ruby
[18:04:09] havenwood: shibly: You can see more details with the --verbose flag: gem update --verbose --system
[18:06:03] jbrhbr1: has joined #ruby
[18:07:23] nfk|laptop: has joined #ruby
[18:08:16] bkxd: has joined #ruby
[18:08:32] SleepySensei: has joined #ruby
[18:08:51] anaeem1_: has joined #ruby
[18:11:27] max--1: has joined #ruby
[18:11:30] skade: has joined #ruby
[18:12:06] [Butch]: has joined #ruby
[18:12:30] eytanfb: has joined #ruby
[18:13:12] agentmeerkat: has joined #ruby
[18:16:07] karapetyan: has joined #ruby
[18:16:52] tvon: has joined #ruby
[18:17:32] IanMalcolm: has joined #ruby
[18:19:23] IanMalcolm: has joined #ruby
[18:19:26] arooni: has joined #ruby
[18:19:37] theRoUS`: has joined #ruby
[18:21:13] cpup: has joined #ruby
[18:21:20] IanMalcolm: has joined #ruby
[18:21:24] devbug: has joined #ruby
[18:25:53] idefine_: has joined #ruby
[18:26:06] ta: has joined #ruby
[18:26:25] pwnd_nsfw: has joined #ruby
[18:26:30] therealGent: has joined #ruby
[18:27:26] SamGerber: has joined #ruby
[18:28:21] diegoviola: has joined #ruby
[18:32:23] celly: has joined #ruby
[18:33:37] duckpuppy: has joined #ruby
[18:33:55] zanzarel: has joined #ruby
[18:33:59] mesamoo: has joined #ruby
[18:35:27] bronson: has joined #ruby
[18:35:34] anaeem1_: has joined #ruby
[18:35:43] wolffles: has joined #ruby
[18:36:56] edwinvdgraaf: has joined #ruby
[18:39:01] bmalum: has joined #ruby
[18:39:17] [Butch]: has joined #ruby
[18:39:50] nfk|laptop: has joined #ruby
[18:40:22] mistnim: has joined #ruby
[18:40:30] sigurding: has joined #ruby
[18:40:58] przemek: has joined #ruby
[18:41:48] edwinvdgraaf: has joined #ruby
[18:44:08] jbrhbr: has joined #ruby
[18:46:19] idefine_: has joined #ruby
[18:47:13] pawnbox_: has joined #ruby
[18:49:45] rubynoobie: has joined #ruby
[18:51:38] axl__: has joined #ruby
[18:55:51] therealGent: has joined #ruby
[18:56:36] treehug88: has joined #ruby
[18:57:37] SHyx0rmZ: has joined #ruby
[18:58:09] alphaatom: has joined #ruby
[18:58:36] ruu_: has joined #ruby
[19:00:33] adingman: Anyone know if the OpenSSL module provides a straightforward way to query the block size for a supported cipher?
[19:00:37] solocshaw: has joined #ruby
[19:00:59] adingman: I'm not finding it, but it seems dumb to hard code it when writing code that may use different algorithms.
[19:01:10] adingman: Everything I care about today has the same block size, but...
[19:01:24] alphaatom: has joined #ruby
[19:01:36] calderonroberto: has joined #ruby
[19:01:57] adgtl: has joined #ruby
[19:02:00] shanemcd: has joined #ruby
[19:02:07] solocshaw: has joined #ruby
[19:02:31] eytanfb: has joined #ruby
[19:07:24] solocshaw1: has joined #ruby
[19:08:25] therealGent: Radar: I took your suggestion of using chruby.
[19:08:54] therealGent: I have a different problem now: .rubies/ruby-2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- bundler (LoadError)
[19:09:07] jcdesimp: has joined #ruby
[19:09:09] bkxd: has joined #ruby
[19:09:33] therealGent: Radar: and `gem list bundler` shows 1.11.2
[19:09:37] zeroDivisible: has joined #ruby
[19:10:07] jcdesimp_: has joined #ruby
[19:10:11] ramfjord: has joined #ruby
[19:10:38] adgtl: has joined #ruby
[19:10:45] devbug: has joined #ruby
[19:11:10] Uptime: has joined #ruby
[19:11:15] zacts: has joined #ruby
[19:11:19] wolffles: new to ruby, learning procs. all examples show a proc executing a puts or simple do???can someone show me a more advance exapmle of a proc?
[19:11:40] Papierkorb: wolffles: what are you looking for? Use-cases?
[19:11:46] Frem: has joined #ruby
[19:11:56] rubynoobie: @wolffles i am new as well, what are you using to practice?
[19:12:06] kirun: has joined #ruby
[19:12:13] wolffles: i suppose use cases will help as well
[19:12:52] nettoweb: has joined #ruby
[19:12:55] wolffles: rubynoobie: im using books, and coding bootcamp practice problems, youtube courses, etc
[19:14:03] rubynoobie: What bootcamp practice problems?
[19:14:37] solocshaw: has joined #ruby
[19:14:46] mistnim: is there any field other than webdevelopment where ruby is relevant?
[19:15:06] therealGent: Can someone assist me with this error? http://pastie.org/private/2gc2kyqdcu7hpfbjshjxww
[19:15:23] wolffles: server side engnering i think
[19:15:31] yqt: has joined #ruby
[19:15:31] greg: has joined #ruby
[19:15:47] mistnim: wolffles: always web related?
[19:16:20] Papierkorb: wolffles: E.g. callbacks. Or to modify behaviour of a complex class. Note that blocks can be 'caught' which gives you a Proc
[19:16:42] shevy: ohhh my waffles are back
[19:16:43] Papierkorb: mistnim: At work we're doing cluster management with ruby (+ docker and friends)
[19:16:46] havenwood: mistnim: There are quite a few areas of use. Deployment and telephony or even defense, space and supercomputing.
[19:16:59] havenwood: mistnim: It's a popular general purpose programming language.
[19:17:28] mistnim: it's still completely overshadowed by python outside web fields
[19:17:47] nonopposition: has joined #ruby
[19:17:47] Papierkorb: mistnim: General scripting. I have a (ruby) script which upon me pressing a key on a keyboard, it switches USB forwards for a virtual machine.
[19:18:07] havenwood: theRealGent: I'm curious to sanity check what you get for `gem which bundler` and `which bundler`?
[19:18:08] bougyman: mistnim: not in devops.
[19:18:16] Papierkorb: mistnim: You can also say it as "It's still completely overshadowed by bash scripts outside web fields"
[19:18:17] bougyman: chef/puppet dominate that field.
[19:18:20] wolffles: shevy: hey yeah i decided to study a bit today
[19:18:42] wolffles: rubynoobie: https://github.com/appacademy/prep-work/tree/master/coding-test-1/practice-problems/problems
[19:18:48] havenwood: mistnim: Ruby is more popular than Python for some thing and vice versa.
[19:18:59] therealGent: havenwood: they dont match!
[19:19:01] mistnim: I just wish it was the most popular scripting language in general, I like ruby more than python
[19:19:06] wolffles: rubynoobie: these problems are from a year ago
[19:19:09] rubynoobie: @wolffles cool are you in sf?
[19:19:17] bougyman: popularity is not a metric I really care about.
[19:19:23] havenwood: theRealGent: and: which -a bundler
[19:19:27] wolffles: rubynoobie: yea lol howd you geuss
[19:19:33] shevy: wolffles best way for ruby is to just write as much ruby code as you can yourself, just start with simple things, other things such as procs etc... you can pickup as you go
[19:19:38] therealGent: havenwood: /Users/user/.gem/ruby/2.2.2/bin/bundler
[19:19:39] Papierkorb: ruby makes me happy. Can't say the same about python. So ruby it is for me too ;)
[19:19:42] rubynoobie: app academy is in sf lol
[19:19:47] havenwood: mistnim: Any of the top ten or so languages are quite popular. I wouldn't worry about it.
[19:19:53] therealGent: havenwood: sorry, theres a new line between 2.2.2 and /bin/bundler
[19:20:17] mistnim: bougyman: I do because if there is a field I'm going to be interested in the future, and there are no tools for ruby, than I will be forced to use python or something else
[19:20:21] Papierkorb: wasn't ruby 9th in the most recent TIOBE index?
[19:20:22] rubynoobie: @wolffles how long have you been using ruby or coding?
[19:20:24] wolffles: shevy: im at the point where im writing basic games like hangman but im still getting stuck of some things.
[19:20:29] skade: has joined #ruby
[19:20:34] shevy: Papierkorb yeah it kinda sits there in that 8-12 range
[19:20:49] therealGent: havenwood: what do you think?
[19:20:55] snowdrift: has joined #ruby
[19:20:56] wolffles: rubynoobie: ive been on and off trying to learn enough to get into a bootcamp but all together like 4 months
[19:21:13] ta: has joined #ruby
[19:21:16] therealGent: havenwood: shouldn???t chruby symlink bundler for me?
[19:21:54] InvGhostt: has joined #ruby
[19:22:03] diego2: has joined #ruby
[19:22:29] momomomomo: has joined #ruby
[19:22:50] rubynoobie: @wolffles that bootcamp looks legit! goodluck! are you going to take the challenges soon?
[19:23:38] havenwood: theRealGent: chruby doesn't create symlinks but it does add RubyGems' bin/ dir to the $PATH and set $GEM_HOME and $GEM_PATH
[19:23:48] nofxx: has joined #ruby
[19:23:49] nofxx: has joined #ruby
[19:23:53] codecop: has joined #ruby
[19:24:01] wolffles: rubynoobie: i wasnt sure so i used my roomates account he wasnt using , and they sent me some more materials saying i dont have enough experience, but its been another 2 months i might try again
[19:24:08] havenwood: theRealGent: gist the exact command you're running, the full error and the which commands?
[19:24:30] diego3: has joined #ruby
[19:24:36] therealGent: havenwood: I just posted a pastie of it. http://pastie.org/private/2gc2kyqdcu7hpfbjshjxww
[19:24:46] rubynoobie: @wolffles can you apply as many times as you want? how hard was the challenges?
[19:25:11] havenwood: theRealGent: bundle exec logstash
[19:25:52] havenwood: http://i.imgur.com/2Hlpoov.png
[19:25:53] tildes: has joined #ruby
[19:26:24] therealGent: Ruby is confusing. :(
[19:26:41] wolffles: rubynoobie: im not sure, ive heard you can apply for each 12 week class a few times, or that multiple tries shows dedication and gives you prestige over others. and the 1st challenge was a beginner level there are 2 more tests after that the second test they send you an intermediate problem you have a deadline to finish. 3rd test you go in so they watch you code
[19:27:06] akem: has joined #ruby
[19:27:35] therealGent: havenwood: lol I literally can???t even???. http://pastie.org/private/xtuvwbjkvz1xibovs4n5aq
[19:27:39] rubynoobie: @wolffles did you make it past the first challenge?
[19:28:27] wolffles: rubienoobie: not the first time i tried i got the first two problems with ease, but got stuck on the last one.
[19:29:17] rubynoobie: Cool goodluck!
[19:29:27] rubynoobie: maybe i will try to join you there too :)
[19:29:27] therealGent: This is giving me the impression that ruby???s tooling ecosystem is.. not stellar :(
[19:29:45] wolffles: rubynoobie: you in the bay as well?
[19:29:55] tomphp: has joined #ruby
[19:29:56] rubynoobie: n down south a bit central coast
[19:29:59] havenwood: theRealGent: Actually Ruby ships with RubyGems which has it's own dependency resolving. Seems you're using Rails?
[19:30:10] DavidDudson: has joined #ruby
[19:30:11] therealGent: havenwood: afaik, im not using rails.
[19:30:31] havenwood: theRealGent: Whatcha doing?
[19:30:36] rgtk: has joined #ruby
[19:30:41] therealGent: havenwood: I???m just trying to get this application to launch so I can do some simple development
[19:30:51] therealGent: havenwood: I???m writing a logstash output.
[19:31:02] therealGent: But I can???t get logstash to run
[19:31:15] wolffles: ahh i see. that would be cool if we had the same class, i dont have many friends that do any kind of coding
[19:31:30] havenwood: theRealGent: try `bundle exec logstash` (not bin/logstash)
[19:31:38] havenwood: theRealGent: I'm not familiar with logstash.
[19:31:50] therealGent: havenwood: bundler: command not found: logstash
[19:31:54] havenwood: Assuming it's a gem.
[19:32:07] karapetyan: has joined #ruby
[19:32:12] therealGent: havenwood: i believe it is. There are gem files in that directory.
[19:32:14] rubynoobie: @wolffles me either everyone is just a stoner xD
[19:32:47] JakFrist: has joined #ruby
[19:32:54] havenwood: theRealGent: Try?: gem install -g
[19:33:14] therealGent: havenwood: ERROR: While executing gem ... (Gem::UnsatisfiableDependencyError)
[19:33:14] therealGent: Unable to resolve dependency: No match for 'logstash-devutils (~> 0.0.15, ~> 0.0.15)' on this platform. Found: java
[19:33:18] wolffles: rubynoobie: haha true dat, techys are frowned upon cuz of all the gentrification lol
[19:33:21] therealGent: Ah. I forgot, I need JRuby
[19:33:49] InvGhostt: has joined #ruby
[19:34:29] mistermocha: has joined #ruby
[19:34:48] therealGent: Let???s see if that works..
[19:35:25] axl_: has joined #ruby
[19:36:05] rgtk: has joined #ruby
[19:36:27] ur5us: has joined #ruby
[19:37:20] therealGent: ACTION slams forehead into desk repeatedly
[19:37:31] therealGent: I???ve never had this bad of a ramp up time in any other language ecosystem
[19:37:32] nateberkopec: has joined #ruby
[19:37:36] therealGent: Literally even Java with Maven is better.
[19:38:31] adaedra: You're here to get help or just to troll...?
[19:38:35] mistermocha: has joined #ruby
[19:38:36] nettoweb: has joined #ruby
[19:39:14] shevy: he wants to do "some simple development"
[19:39:41] K1MOS: has joined #ruby
[19:39:41] gizmore: has joined #ruby
[19:39:56] nertzy: has joined #ruby
[19:40:14] therealGent: This is why ruby is not succeeding in the operational/sysadmin space.
[19:40:23] therealGent: Python has much less ramp up time, and is simpler.
[19:40:24] Papierkorb: theRealGent: pacman -S ruby
[19:40:32] Papierkorb: theRealGent: on a proper platform, it's ONE call away
[19:40:34] shevy: theRealGent nah it is simple, but you fail so that's life
[19:40:39] Papierkorb: theRealGent: Don't blame ruby for your platforms faults
[19:40:47] eam: Papierkorb: it's not though
[19:40:52] Papierkorb: theRealGent: or your lack of understanding shells from what I reading
[19:40:52] havenwood: theRealGent: I guess follow the instructions very carefully. Running something built specifically for JRuby on MRI is kinda like trying to run your Python on Node.
[19:40:53] eam: ruby is a real pain to work with
[19:41:24] eam: most of our ops folk are migrating over to go because the distribution story (can just copy out a single binary) is so much simpler
[19:41:37] eam: python shares a lot of those drawbacks fwiw
[19:41:43] seitensei: has joined #ruby
[19:41:52] havenwood: theRealGent: Also typically we'd ship a gem. I'm not familiar with Logstash though to know why it's doing that it's doing.
[19:42:15] eam: but the real killer with ruby is the variability between runtime stacks -- ruby has a TON of breaking changes between versions
[19:42:16] banister: has joined #ruby
[19:42:46] cdg: has joined #ruby
[19:43:05] havenwood: eam: Sure is easy to deploy a binary!
[19:43:07] eam: that's fine for apps which bundle the interpreter and bundled gemsets with their deployments (which is the only reasonable way to approach the issue given how things are) but it's no good for "I have a tool I want to run on a machine ad-hoc)
[19:43:14] therealGent: havenwood: I believe logstash is a gem: https://github.com/elastic/logstash
[19:43:17] eam: havenwood: it used to be the reverse: (
[19:43:20] Papierkorb: eam: Never had issues. YMMV. What's good for you may be bad for others. For me, Go is a language inspired by all the wrong parts of Erlangs syntax.
[19:43:30] eam: Papierkorb: hey, I dislike go too
[19:43:34] havenwood: Elixir! \o/
[19:43:37] eam: just reporting in from the front lines is all
[19:43:45] havenwood: theRealGent: I don't se a logstash.gemspec.
[19:43:47] Papierkorb: Crystal \m/ *
[19:44:13] n0vo: has joined #ruby
[19:44:28] havenwood: theRealGent: (Apps have a Gemfile.)
[19:44:28] n0vo: Are .collect .each and .map all the same thing?
[19:44:36] havenwood: n0vo: map and collect are
[19:44:39] shevy: n0vo .map and .collect is
[19:44:40] Papierkorb: n0vo: #collect and #map are, #each is not
[19:44:48] n0vo: What's different about each then
[19:44:53] n0vo: It appears to do the same thing
[19:45:02] adaedra: &ri Array#map Array#each n0vo
[19:45:03] `derpy: n0vo: http://ruby-doc.org/core-2.2.4/Array.html#method-i-map, http://ruby-doc.org/core-2.2.4/Array.html#method-i-each
[19:45:04] shevy: .map will give you a new array
[19:45:05] hxegon: n0vo it mutates the array, map does the stuff to a new one
[19:45:14] havenwood: n0vo: nope, it iterates but returns the original collection unlike map which returns a new, mapped collection
[19:45:27] eam: havenwood: the real story is in how linking occurs. Ruby has some of the worst linking (gem require) of any runtime
[19:45:42] eam: and no way to produce a "static executable"
[19:46:09] devoldmx: has joined #ruby
[19:46:12] adaedra: because it's not it's purpose?
[19:46:16] eam: imagine a tool that crammed all your gems into __DATA__ or something
[19:46:34] Papierkorb: eam: imagine a zip archive?
[19:46:39] eam: adaedra: that's another way of saying what I'm saying: It's been designed to be bad at this
[19:46:46] Papierkorb: And wasn't there a gem which did that?
[19:46:51] PedramT: has joined #ruby
[19:47:12] havenwood: eam: Traveling Ruby is a reasonably nice way to ship a self-contained app.
[19:47:13] eam: I've done it, it's a hassle
[19:47:21] spider-mario: has joined #ruby
[19:47:29] adaedra: It would not come to my idea to do this.
[19:47:51] adaedra: If I want something to be compilable to static binary, it's clear ruby would not be my choice.
[19:47:57] bweston92: has joined #ruby
[19:48:03] eam: not a static binary, but an easily distributable format
[19:48:03] havenwood: eam: I build the statically linked RVM binaries on my machine so everybody thinks I broke their system when they see my home directory in the error messages. :P
[19:48:13] eam: bundle is essentially static linking
[19:48:20] eam: it's a copy of gems per tool
[19:48:50] havenwood: ACTION renames user directory to travis-ci
[19:48:52] eam: havenwood: :)
[19:49:02] ramortegui: has joined #ruby
[19:49:02] adgtl: has joined #ruby
[19:49:13] blt: has joined #ruby
[19:49:22] eam: (what's also amusing, I think, is that go doesn't actually produce a static binary)
[19:49:51] havenwood: speaking of... 2.2.4 came out and the fallback TravisCI binary links against libgmp causing trouble. >.>
[19:50:20] hxegon: >> [1].each { |i| i += 1 } # am I being dumb or should this return [2]?
[19:50:21] ruboto: hxegon # => [1] (https://eval.in/488751)
[19:50:25] shevy: will there be a 2.2.5 on xmas
[19:50:30] Papierkorb: hxegon: the former
[19:50:41] havenwood: shevy: 2.2 is *over*
[19:51:06] eam: >> ["YES"].each { "NO" }
[19:51:06] adaedra: hxegon: you're redefining the i inside the block, not the one inside the array.
[19:51:07] ruboto: eam # => ["YES"] (https://eval.in/488752)
[19:51:15] havenwood: shevy: http://www.metropolitiques.eu/IMG/jpg/illu-london-3.jpg
[19:51:17] Lildirt: has joined #ruby
[19:51:19] Synthead: has joined #ruby
[19:51:47] weemsledeux: has joined #ruby
[19:51:52] adaedra: hxegon: when using each, you get a reference to each of the elements turn by turn; but using = erases the reference, not the referenced object.
[19:51:54] shevy: havenwood lol what's with his ear
[19:52:07] hxegon: adaedra >:|
[19:52:20] adaedra: hxegon: you want [1].map { |i| i + 1 }
[19:52:30] karapetyan: has joined #ruby
[19:52:55] hxegon: adaedra I was trying to make an example for n0vo but use map for everything
[19:53:14] symm-: has joined #ruby
[19:53:32] adaedra: >> [1, 2, 3].each do |n| puts i * 2 end # See full output
[19:53:33] ruboto: adaedra # => undefined local variable or method `i' for main:Object (NameError) ...check link for more (https://eval.in/488753)
[19:53:41] adaedra: >> [1, 2, 3].each do |n| puts n * 2 end # See full output
[19:53:43] ruboto: adaedra # => 2 ...check link for more (https://eval.in/488754)
[19:53:59] wolffles: can anyone show me a short version of this using simple methods? https://eval.in/488371
[19:54:10] yfeldblum: has joined #ruby
[19:54:11] adaedra: Here is #each: do operation on each element, but return the original array. n0vo hxegon
[19:54:11] havenwood: wolffles: Internal Server Error
[19:54:24] hxegon: havenwood I refreshed and it worked for me
[19:54:29] adaedra: havenwood: works for me
[19:54:37] shevy: wolffles you can probably use .count
[19:54:51] shevy: >> "abca".count 'a'
[19:54:52] ruboto: shevy # => 2 (https://eval.in/488755)
[19:54:54] karapetyan: has joined #ruby
[19:54:57] havenwood: adaedra: I'm just a knight who says "ni"...
[19:55:00] adaedra: havenwood: Ekke Ekke Ekke Ekke Ptangya Zoooooooom Boing Ni!
[19:55:07] havenwood: Now we say that!
[19:55:09] wolffles: should i just go through the alphabet using .count?
[19:55:16] adaedra: havenwood: it
[19:55:18] shevy: respectively, in your method, to return the number at second position, and the character at first position
[19:55:21] havenwood: wolffles: Yes, let's count the alphabet.
[19:55:25] wolffles: im thinking beyond the basic abc
[19:55:36] shevy: wolffles no, just .split into an array, then apply .uniq, then apply a .count on each entry there
[19:55:40] havenwood: wolffles: You were asking for procs earlier yeah?: https://gist.github.com/tomstuart/1466504
[19:56:09] shevy: wolffles if you collect that into an Array, ruby makes .sort ing easy
[19:56:09] havenwood: wolffles: there's a doosey on line 51 ^
[19:56:17] wolffles: havenwood: yeah, but just tyring to see different uses for procs besides the puts examples
[19:56:20] nettoweb: has joined #ruby
[19:56:26] shevy: >> [1,7,33,6363,3].max
[19:56:27] ruboto: shevy # => 6363 (https://eval.in/488756)
[19:56:42] shevy: ruby is like a factory
[19:56:43] havenwood: wolffles: take a look at this proc (lambda): https://gist.github.com/tomstuart/1466504#file-gistfile1-rb-L51
[19:57:04] ElFerna: has joined #ruby
[19:57:24] nfk|laptop: has joined #ruby
[19:57:55] wolffles: havenwood: wow, but what does -> mean?
[19:58:42] havenwood: wolffles: it's a stabby lambda
[19:58:44] eam: it means "you know how we said ruby has easy to read syntax? lol jk"
[19:58:59] havenwood: >> ->{}.class
[19:59:00] ruboto: havenwood # => Proc (https://eval.in/488757)
[19:59:12] rubynoobie: that is a scary fizzbuzz xD
[19:59:37] wolffles: havenwood: you just made things 10 times more confusing D:
[19:59:37] hxegon: wolffles https://eval.in/488759
[20:00:06] blub: wolffles: group_by identity max_by length
[20:00:11] ramortegui: Hello, I would like to know if there is a better way to do like nested loops like this: https://gist.github.com/ramortegui/489f987a3f37692159ad but more generic. for example if I need another loop.
[20:00:30] havenwood: >> [Proc.new {}.class, proc {}.class, lambda {}.class, ->{}.class]
[20:00:31] ruboto: havenwood # => [Proc, Proc, Proc, Proc] (https://eval.in/488760)
[20:00:50] adaedra: havenwood: you could have used .map(&:class)
[20:00:53] K1MOS: has joined #ruby
[20:01:07] havenwood: adaedra: Obfuscates it for the mapless masses.
[20:01:56] alphaatom: has joined #ruby
[20:03:37] RegulationD: has joined #ruby
[20:05:02] havenwood: I guess we were just talking map!
[20:05:29] nocd: has joined #ruby
[20:05:44] jbrhbr: ramortegui: you could always just use normal loops
[20:05:49] hxegon: >> 'heyeyh'.chars.group_by { |x| x }.to_a.map { |l, freq| [l, freq.length] } >> wolffles or a cleaner version of this
[20:05:50] ruboto: hxegon # => undefined local variable or method `wolffles' for main:Object (NameError) ...check link for more (https://eval.in/488762)
[20:06:10] hxegon: >> 'heyeyh'.chars.group_by { |x| x }.to_a.map { |l, freq| [l, freq.length] } # wolffles :|
[20:06:11] ruboto: hxegon # => [["h", 2], ["e", 2], ["y", 2]] (https://eval.in/488763)
[20:06:20] duckpuppy: has joined #ruby
[20:06:28] benhuda: has joined #ruby
[20:07:12] ramortegui: thanks jbrhbr. I just try to create like a counter, like a clock.
[20:07:18] tAn: has joined #ruby
[20:07:27] wolffles: i would just turn the string into a variable right hxegon?
[20:07:50] ramortegui: but I'd like to have more nested loops.
[20:08:06] snguyen: has joined #ruby
[20:08:07] ramortegui: and I think that could be a better way to write it.
[20:08:13] blackmesa: has joined #ruby
[20:08:28] hxegon_: has joined #ruby
[20:09:03] jbrhbr: ramortegui: i think there's very few cases where having a lot of nested loop depth in one function makes sense from a factoring perspective. it probably means you need more methods
[20:09:35] pawnbox: has joined #ruby
[20:09:44] bkxd: has joined #ruby
[20:09:54] ramortegui: yes! jbrhbr. I'm trying to create a recursive function.
[20:10:53] momomomomo: has joined #ruby
[20:10:54] pawnbox: has joined #ruby
[20:12:06] kramsee: has joined #ruby
[20:12:06] jbrhbr: that's not really what i meant
[20:13:03] therealGent: has joined #ruby
[20:13:06] nonopposition: has joined #ruby
[20:13:49] bweston92: has joined #ruby
[20:14:10] hxegon_: >> 'hello'.group_by(&:itself) # anyone used #itself before?
[20:14:10] blub: if you want to count up a bunch of variables like that im not really sure how it could be any cleaner
[20:14:11] ruboto: hxegon_ # => undefined method `group_by' for "hello":String (NoMethodError) ...check link for more (https://eval.in/488776)
[20:14:36] havenwood: hxegon_: each_char.group_by(&:itself)
[20:14:39] hxegon_: >> 'hello'.chars.group_by(&:itself) # I just need to copy/paste from pry from now on :(
[20:14:40] ruboto: hxegon_ # => {"h"=>["h"], "e"=>["e"], "l"=>["l", "l"], "o"=>["o"]} (https://eval.in/488779)
[20:14:51] ferr: has joined #ruby
[20:15:08] zdman135: has joined #ruby
[20:15:19] blub: i always thought #yourself was awkward
[20:15:27] havenwood: hxegon_: The person who showed you the example with itself in this channel did!
[20:15:56] hxegon_: havenwood where was that?
[20:16:03] havenwood: hxegon_: It's pretty new but I do use it as do others.
[20:17:17] havenwood: hxegon_: Err, am I thinking of a different person?
[20:17:39] hxegon_: hxegon_ possibley, I disconnected for a sec so you might have said it in that time.
[20:18:09] jbrhbr: there was a guy in here with the name hexagon recently
[20:18:15] Pupeno: has joined #ruby
[20:18:15] Pupeno: has joined #ruby
[20:18:59] shevy: an imposter!
[20:19:05] shevy: there can be only one real hxeganon
[20:19:27] snockerton: has joined #ruby
[20:19:57] hxegon_: that guy is an asshole. always mistyping stuff.
[20:20:16] kramsee: has joined #ruby
[20:20:21] hectortrope: has joined #ruby
[20:20:31] celly: has joined #ruby
[20:22:29] ramortegui: jbrhbr: I just create a function to solve it. Thanks for your help. https://eval.in/488784
[20:22:44] hxegon_: >> 'hello'.chars.group_by(&:itself).inject({}) { |h, (k, v)| h[k] = v.length; h } # wolffles I just love refining one liners :)
[20:22:45] ruboto: hxegon_ # => {"h"=>1, "e"=>1, "l"=>2, "o"=>1} (https://eval.in/488785)
[20:23:08] rickmasta: has joined #ruby
[20:23:20] kramsee: has joined #ruby
[20:23:29] havenwood: hxegon_: try with map instead of inject
[20:24:05] djbkd: has joined #ruby
[20:24:11] havenwood: hxegon_: a nit but you might change `chars` to `each_char`
[20:24:15] wolffles: lol hxegon_ i have questions after i finish cooking and eating
[20:24:21] wolffles: im making walffles
[20:24:37] havenwood: i was just thinking of eating some wolffles!
[20:24:53] hxegon_: >> 'hello'.chars.group_by(&:itself).map { |k, v| [k, v.length } # havenwood thanks
[20:24:54] ruboto: hxegon_ # => /tmp/execpad-95cd4262c915/source-95cd4262c915:2: syntax error, unexpected '}', expecting ']' ...check link for more (https://eval.in/488786)
[20:25:01] hxegon_: >> 'hello'.chars.group_by(&:itself).map { |k, v| [k, v.length] } # havenwood thanks
[20:25:02] ruboto: hxegon_ # => [["h", 1], ["e", 1], ["l", 2], ["o", 1]] (https://eval.in/488787)
[20:25:03] dagda1: has joined #ruby
[20:25:07] havenwood: hxegon_: :)
[20:25:13] kramsee: has joined #ruby
[20:26:02] kramsee: has left #ruby: ()
[20:26:46] devbug: has joined #ruby
[20:27:43] solocshaw: has joined #ruby
[20:29:39] futilegames: has joined #ruby
[20:29:47] dotix: has joined #ruby
[20:31:02] jgpawletko: has left #ruby: ()
[20:31:27] InvGhostt: has joined #ruby
[20:32:50] momomomomo: has joined #ruby
[20:33:14] dlitvak: has joined #ruby
[20:33:27] bweston92: has joined #ruby
[20:34:37] SamGerber: has joined #ruby
[20:37:09] pdoherty: has joined #ruby
[20:38:30] rgtk: has joined #ruby
[20:39:04] Tricon: has joined #ruby
[20:39:14] Mazhug: has joined #ruby
[20:40:02] nfk|laptop: has joined #ruby
[20:40:32] rgtk: has joined #ruby
[20:43:08] blackgoat: has joined #ruby
[20:43:14] jessemcgilallen: has joined #ruby
[20:43:57] build22: has joined #ruby
[20:46:02] edwinvdgraaf: has joined #ruby
[20:47:31] idefine_: has joined #ruby
[20:48:49] skade: has joined #ruby
[20:49:01] millerti: has joined #ruby
[20:50:26] dotix: has joined #ruby
[20:50:31] solocshaw: has joined #ruby
[20:53:03] eytanfb: has joined #ruby
[20:53:04] sneakerhax: has joined #ruby
[20:53:46] pawnbox: has joined #ruby
[20:53:48] last_staff: has joined #ruby
[20:55:19] zanzarel: has joined #ruby
[20:55:20] pandaant: has joined #ruby
[20:55:22] n_blownapart: has joined #ruby
[20:55:51] nocd: has joined #ruby
[20:59:03] jgpawletko: has joined #ruby
[20:59:14] AndroidLoverInSF: has joined #ruby
[20:59:36] shevy: what ever happened to jhass, he hasn't said a thing in like 2 years
[21:00:13] mistermocha: has joined #ruby
[21:02:54] dwfait: has joined #ruby
[21:02:58] sneakerhax: shevy, You mean he hasns't puts anything?
[21:03:23] ta: has joined #ruby
[21:04:25] ninetysix: has joined #ruby
[21:04:43] edwinvdgraaf: has joined #ruby
[21:05:23] ta: has joined #ruby
[21:05:23] edwinvdgraaf: has joined #ruby
[21:05:31] ninetysix: so whenever i use chruby ruby 2.2.4 it switches for like 5 minutes then ruby --version comes back 2.2.3
[21:05:38] cdg: has joined #ruby
[21:05:45] build22: has joined #ruby
[21:06:08] momomomomo: has joined #ruby
[21:06:15] StevenXL: has joined #ruby
[21:06:15] StevenXL: has joined #ruby
[21:06:37] havenwood: NinetySix: Is there a .ruby-version file around that it's auto-switching to?
[21:07:20] djbkd: has joined #ruby
[21:08:10] ninetysix: where would that be?
[21:08:15] ninetysix: check it out https://gist.github.com/RolandStone/28eb11c1a889a828ae22
[21:08:50] hxegon_: NinetySix: ls -a
[21:09:23] ninetysix: nope no ruby-version file
[21:09:43] cdg: has joined #ruby
[21:09:45] shanemcd: has joined #ruby
[21:10:10] ninetysix: should i install ruby under root?
[21:10:28] ninetysix: 'ruby-install ruby 2.2.4'
[21:10:29] hxegon_: I don't think so.
[21:10:37] ta: has joined #ruby
[21:11:32] SamGerber: has joined #ruby
[21:12:35] Radar: NinetySix: ~/.ruby-version is where the Ruby version is specified
[21:12:39] Radar: NinetySix: Do you have these two lines in your ~.bashrc? https://github.com/postmodern/chruby#auto-switching
[21:13:21] DukeDave: How do people 'pronounce' ||= ?
[21:13:30] adaedra: ou ou ??gal
[21:13:32] havenwood: dukedave: or equals
[21:16:35] snguyen: has joined #ruby
[21:18:30] atmosx: adaedra: is that french?
[21:18:39] edwinvdgraaf: has joined #ruby
[21:18:40] adaedra: looks like it.
[21:18:54] havenwood: NinetySix: Success?
[21:18:57] SamGerber: adaedra: ou egal ou ou ou egal?
[21:19:10] havenwood: function find-dot-ruby-version-files(); { local dir="$PWD/"; until [[ -z "$dir" ]]; do; dir="${dir%/*}"; [[ -e "$dir/.ruby-version" ]] && echo "$dir/.ruby-version"; done }; find-dot-ruby-version-files
[21:19:21] havenwood: So much prettier in Ruby!
[21:19:23] adaedra: I tend to say it twice because there's two |, but it's clearly an abuse :p
[21:19:40] ninetysix: Success :D Arigat??
[21:19:56] gizless: has joined #ruby
[21:20:06] DukeDave: Ah, well, that's certainly very literal :) My colleague just referred to it as 'coalesce', which I quite like..
[21:20:32] sandstrom: has joined #ruby
[21:20:38] nertzy: has joined #ruby
[21:22:21] skcin7: has joined #ruby
[21:22:30] cibs: has joined #ruby
[21:23:18] rickmasta: has joined #ruby
[21:23:56] gizmore: has joined #ruby
[21:24:11] SamGerber: I think I'll call it 'understudy'. If the lead actor doesn't show up, that will play the part.
[21:24:59] ta: has joined #ruby
[21:25:38] agent_white: has joined #ruby
[21:25:42] hxegon_: I like that samgerber
[21:25:44] dmr8: has joined #ruby
[21:25:55] tAn: has joined #ruby
[21:29:07] bmalum: has joined #ruby
[21:29:08] shevy: pretty crazy explanations flying about
[21:29:21] atmosx: hey shevy :-)
[21:29:24] atmosx: how's life?
[21:29:46] nerium: has joined #ruby
[21:29:50] shevy: atmosx not good, hurt my back, also got coding fatigue a little as of late
[21:30:23] atmosx: shevy: you're writing perl code IIRC?
[21:30:39] gizless: has joined #ruby
[21:30:44] shevy: nah, I could not will myself to perl syntax anymore
[21:30:45] smactive: has joined #ruby
[21:31:11] jbrhbr: has joined #ruby
[21:31:15] shevy: atmosx perhaps if crystal matures more that would be fun
[21:31:28] gizmore|2: has joined #ruby
[21:31:44] Tricon: has joined #ruby
[21:32:54] roger_rabbit: has joined #ruby
[21:33:23] pawnbox: has joined #ruby
[21:33:29] gizmore|3: has joined #ruby
[21:33:44] atomical: has joined #ruby
[21:33:47] therealGent: has joined #ruby
[21:33:49] wolffles: has joined #ruby
[21:35:16] maikowblue_: has joined #ruby
[21:35:27] gizmore: has joined #ruby
[21:41:15] moeabdol1: has joined #ruby
[21:42:27] hectortrope: has joined #ruby
[21:42:53] colegatron: has joined #ruby
[21:43:05] atmosx: python's syntax is awkward but from what I understood python3 is a great leap forward
[21:43:24] jbrhbr: that's a big overstatement as far as syntax is concerned
[21:43:37] jbrhbr: they just fixed a few inconsistencies
[21:44:37] yfeldblum: has joined #ruby
[21:44:52] gusto: has joined #ruby
[21:46:41] dorei: how can i transform this string: "this is \"a small\" test" into this array ["this", "is
[21:46:52] devoldmx: has joined #ruby
[21:46:52] dorei: how can i transform this string: "this is \"a small\" test" into this array ["this", "is", "a small", "test"] ?
[21:46:56] ruurd: yes well he could have meant a big leap forward in awkwardness :-)
[21:47:09] j416: dorei: String#split
[21:47:25] jbrhbr: dorei: there's probably some kind of shell words module
[21:47:25] atmosx: might be, not an expert or anything just most of my questions in #python were answerred along the lines: "in python.27 is this and python3 is this" and py3 was in every case a more reasonable (maybe by ruby standards) appraoch.
[21:47:43] dorei: j416: what args should i pass to split?
[21:47:44] j416: dorei: but if you need that escaping, maybe scan
[21:47:48] jbrhbr: atmosx: yea i was just restricting the scope of comment to syntax only
[21:47:52] adaedra: can the python discussion go into offtopic ?
[21:47:56] jcdesimp: has joined #ruby
[21:48:12] jbrhbr: dorei: i think you want Shellwords#shellsplit
[21:48:25] dorei: Shellwords?
[21:49:01] adaedra: &ri Shellwords#shellsplit
[21:49:01] atmosx: dorei: a.scan(/\w+/)
[21:49:01] `derpy: No results
[21:49:32] jbrhbr: maybe it was removed?
[21:49:33] atmosx: >> 'this is \"a small\" test'.scan(/w+/)
[21:49:34] ruboto: atmosx # => [] (https://eval.in/488817)
[21:49:42] adaedra: &ri Shellwords.shellsplit
[21:49:42] `derpy: http://ruby-doc.org/stdlib-2.2.4/libdoc/shellwords/rdoc/Shellwords.html#method-c-shellsplit
[21:49:45] jbrhbr: ah, thank you
[21:50:01] jbrhbr: atmosx: that will produce broken results for lots of cases
[21:50:06] dorei: thanx adaedra
[21:50:26] adaedra: I'm only the provider of docs, thank jbrhbr
[21:50:35] j416: nice, didn't know about shellwords
[21:50:48] j416: thanks, jbrhbr
[21:51:10] j416: failed a couple times trying to regex it
[21:51:54] dorei: thanx jbrhbr :))
[21:56:51] tectonic: has joined #ruby
[21:57:21] idefine: has joined #ruby
[21:58:12] ferr: has joined #ruby
[21:59:04] dr3w: has joined #ruby
[21:59:46] JakFrist: has joined #ruby
[21:59:53] cassioscabral: has joined #ruby
[22:00:08] InvGhostt: has joined #ruby
[22:00:15] nofxx: has joined #ruby
[22:00:15] nofxx: has joined #ruby
[22:02:55] nertzy: has joined #ruby
[22:02:56] symm-: has joined #ruby
[22:03:26] symm-: has joined #ruby
[22:03:41] pawnbox: has joined #ruby
[22:04:48] dagda1: has joined #ruby
[22:05:14] calderonroberto: has joined #ruby
[22:05:32] smactive: has joined #ruby
[22:06:17] kadoppe: has joined #ruby
[22:07:31] sandstrom: has joined #ruby
[22:08:10] moei: has joined #ruby
[22:08:35] moei: has joined #ruby
[22:08:44] celly: has joined #ruby
[22:10:24] neanderslob: has joined #ruby
[22:10:32] bkxd: has joined #ruby
[22:11:02] grn: has joined #ruby
[22:11:49] test-123: has joined #ruby
[22:12:13] nettoweb: has joined #ruby
[22:15:25] TheBloke: has joined #ruby
[22:18:13] bmalum: has joined #ruby
[22:19:13] dlitvak: has joined #ruby
[22:19:36] karapetyan: has joined #ruby
[22:19:49] zenspider: pretty quiet here of late?
[22:20:12] TheBloke: has joined #ruby
[22:23:24] Dimik: has joined #ruby
[22:24:57] Spami: has joined #ruby
[22:25:17] IdanM: has joined #ruby
[22:26:05] test123: has joined #ruby
[22:28:56] SamGerber: has joined #ruby
[22:29:59] dr3w: has joined #ruby
[22:30:47] Nanuq: has joined #ruby
[22:31:34] jessemcgilallen: has joined #ruby
[22:31:56] mjw56: has joined #ruby
[22:32:43] jrcharney: has joined #ruby
[22:33:37] pawnbox: has joined #ruby
[22:34:51] wolffles: how would you find out what kind of arguments a method can take using irb or pry
[22:34:53] alphaatom: has joined #ruby
[22:35:05] wolffles: for example finding argumetns to .map
[22:35:19] bougyman: you can use ri for that, and you can do it from within pry
[22:35:45] jrcharney: Is it normal that after I install rbenv and ruby-build and bundler and set my global ruby version and mod my ~/.bashrc, that "whereis ruby" still shows up blank? "which ruby" doesn't, but I'm trying to install weechat-plugins and that package wants to reinstall ALL the really old ruby stuff that's in the ubuntu repo that was the reason I installed ruby via rbenv instead.
[22:36:35] bougyman: did you open a new shell?
[22:36:50] bougyman: stuff you change in your .bashrc doesn't take effect in the current shell unless you source it.
[22:36:57] Coldblackice: has joined #ruby
[22:37:06] bougyman: . ~/.bashrc; which ruby
[22:37:26] jrcharney: closed the terminal I installed everything to verify what I changed then opened a new shell terminal
[22:37:48] hxegon_: wolffles try show-doc Array#map in pry
[22:37:52] bougyman: that may or may not load the bashrc, depends on the term
[22:38:19] jrcharney: which ruby points to the shim. whereis ruby is blank
[22:38:57] ta: has joined #ruby
[22:39:21] bougyman: it's also blank here. that shouldn't matter.
[22:39:29] bougyman: I don't even have ubuntu's ruby installed, only my local ones.
[22:39:57] bougyman: weechat-plugins is an ubuntu package, right?
[22:40:14] bougyman: it's going to use the ubuntu ruby crap, then.
[22:40:17] bougyman: nothing you can do about that.
[22:40:28] bougyman: system ruby is for system stuff.
[22:40:52] wolfflez: has joined #ruby
[22:41:33] jrcharney: I also went to the weechat website to download their repo file (because ubuntu's version of weechat is really old), and I still got the same results
[22:41:55] bougyman: yes, of course.
[22:42:05] bougyman: because it still has the dpkg dependencies.
[22:43:07] jrcharney: So should I install weechat from source instead?
[22:43:32] bougyman: that's your decision.
[22:43:42] bougyman: it's still going to have dependencies.
[22:43:52] dr3w: I might have missed it, but was the original question related to `whereis`?
[22:43:55] jrcharney: I could do that. I just wanted a second opinion.
[22:43:58] bougyman: but if you do it locally you can point it to your ruby with configure flags, i'm sure.
[22:44:38] jrcharney: dr3w: Yeah, apparent weechat-plugin wants to use ubuntu's version of ruby rather than the rbenv version I set globally
[22:44:39] phroa: has left #ruby: ()
[22:45:12] zenlot: has joined #ruby
[22:45:42] jrcharney: dr3w: when I type "whereis ruby" its blank, so that's kid of the issue with the weechat-plugins. It thinks it needs to install ruby again.
[22:46:07] radgeRayden: has joined #ruby
[22:47:14] dr3w: jrcharney: when I check `man whereis`, I see in the description, "The whereis utility checks the standard binary directories for the specified programs", so I wonder if that isn't just because ruby wasn't part of the standard binary dirs?
[22:47:33] dmolina: has joined #ruby
[22:47:40] banister: has joined #ruby
[22:47:54] jrcharney: I do have the shims path at the beginning of the $PATH
[22:48:15] framling: has joined #ruby
[22:48:20] zenspider: jrcharney: "The whereis utility checks the standard binary directories..."
[22:48:36] zenspider: oops. hadn't caught up yet. sorry dr3w
[22:48:46] andywojo: has joined #ruby
[22:48:50] Kabaka: has joined #ruby
[22:48:59] dr3w: jcharney: Oh, I see. so the weechat-plugin is looking for system ruby?
[22:50:01] jrcharney: Ruby is set globally, but if i'm missing a step I think it's that "system ruby" issue
[22:51:04] Azure: has joined #ruby
[22:58:40] atomical: has joined #ruby
[22:58:58] eytanfb: has joined #ruby
[23:00:40] zanzarel: has joined #ruby
[23:00:50] jrcharney: This is starting to turn into more of a ##linux issue than a #ruby issue.
[23:02:16] zanzarel: has left #ruby: ()
[23:02:52] jrcharney: I compared this with my raspberry pi hacktop (raspberry pi 2 + motorola atrix lapdock + raspbian) where everything appears to b fine to my desktop (Linux Mint 17.3, x86_64) as the raspberry pi shows a list of places when I type "whereis -l". The desktop does not.
[23:03:12] senayar: has joined #ruby
[23:03:13] senayar: has joined #ruby
[23:04:53] mistermocha: has joined #ruby
[23:05:47] millerti: has joined #ruby
[23:06:05] jrcharney: has left #ruby: ("taking this to ##linux")
[23:06:22] mistermocha: has joined #ruby
[23:06:58] bogn1: has joined #ruby
[23:08:27] Trynemjoel: has joined #ruby
[23:09:02] idefine: has joined #ruby
[23:09:04] banister: has joined #ruby
[23:10:00] atomical: has joined #ruby
[23:10:37] jessemcgilallen: has joined #ruby
[23:10:41] futilegames: has joined #ruby
[23:12:32] zenspider: the desktop typically doesn't have your full env loaded when it starts...
[23:17:07] Uptime: has joined #ruby
[23:18:28] ghr: has joined #ruby
[23:22:32] shanemcd: has joined #ruby
[23:24:14] jbrhbr: has joined #ruby
[23:25:04] huskynation: has joined #ruby
[23:25:34] skcin7: has joined #ruby
[23:28:00] j2k: has joined #ruby
[23:28:15] yfeldblum: has joined #ruby
[23:29:39] yfeldblum: has joined #ruby
[23:30:22] huskynation: has joined #ruby
[23:30:53] Radar: huskynation: it isn't working
[23:30:55] Radar: please try again later
[23:31:31] Radar: p.s. hello
[23:31:33] huskynation: What's not working?
[23:31:45] havenwood: huskynation: hi
[23:31:55] Radar: huskynation: I'm guessing your excessive question marks meant that you couldn't send to the channel
[23:32:53] huskynation: 1st time here, still learning to navigate..
[23:34:16] huskynation: I see plenty of users on the left, but nothing going on in the chatroom..can someone pls explain?
[23:34:33] Radar: not everyone talks all the time
[23:35:12] hxegon_: huskynation if you look here: http://irclog.whitequark.org/ruby/ you can see a lot of past activity
[23:35:40] underplank: has joined #ruby
[23:36:40] p337rB_: has joined #ruby
[23:36:51] kiloreux: has joined #ruby
[23:36:52] SamGerber: has joined #ruby
[23:38:11] zenspider: or... you can just participate and contribute
[23:39:32] ss_much: has joined #ruby
[23:40:29] ta: has joined #ruby
[23:42:24] Dimik: has joined #ruby
[23:44:16] hxegon: has joined #ruby
[23:44:50] celly: has joined #ruby
[23:45:26] ellisTAA: has joined #ruby
[23:45:53] jbrhbr: has joined #ruby
[23:47:08] SamGerber: has joined #ruby
[23:47:34] ellisTAA: i???ve heard people say that people coming from something like C end up just writing ruby like they were still writing in C. if I???m learning Java is it OK if my code looks like Ruby? https://gist.github.com/ellismarte/b7b762d36393f0f7a9eb
[23:47:38] devoldmx: has joined #ruby
[23:49:24] n0vo: has joined #ruby
[23:49:24] n0vo: has joined #ruby
[23:50:06] shevy: ellistaa it very often has an influence in the style
[23:50:19] tildes: has joined #ruby
[23:50:38] shevy: usually it goes mostly away quite quickly if you write a lot of ruby code
[23:50:48] zenspider: I'm not sure what about that java feels "ruby-like" to you...
[23:50:54] TheBloke: has joined #ruby
[23:51:01] ellisTAA: zenspider: idk the intialize ???
[23:51:18] zenspider: the problem (in either direction) is that you're mismatching against common idioms and design patterns for that language
[23:51:21] shevy: ellistaa the problem is that you can not map it 1:1, the extra steps you have to do in java there, you just don't have to do in ruby, so the equivalent ruby code would be shorter. that example is also rather tiny and not realistic IMO
[23:51:38] havenwood: ellistaa: I hear there are *ahem* nicer languages on the JVM. ;)
[23:51:45] zenspider: ellistaa: all I see is 3 lines, mismatched camel vs snake casing and bad names
[23:51:46] ellisTAA: shevy: k maybe ill ask later
[23:51:50] blackmesa: has joined #ruby
[23:51:50] snowy: has joined #ruby
[23:52:07] nkwsy: has joined #ruby
[23:52:12] ellisTAA: havenwood: scala?
[23:52:30] havenwood: ellistaa: JRuby and Clojure
[23:52:32] hxegon: ellistaa or clojure, or jruby
[23:52:35] blub: scala is a nightmare
[23:52:36] hxegon: havenwood :D
[23:53:07] ellisTAA: havenwood: but if i want to write android apps i have to use java yeah?
[23:53:09] hxegon: blub why do you think that?
[23:53:12] havenwood: ellistaa: Nope.
[23:53:19] hxegon: ellistaa you just need jvm code
[23:53:34] jbrhbr: has left #ruby: ()
[23:53:43] jbrhbr: has joined #ruby
[23:53:47] havenwood: ellistaa: Here's one option: http://www.rubymotion.com
[23:54:06] ElFerna: has joined #ruby
[23:54:15] havenwood: ellistaa: ^ give it a try!
[23:54:28] ellisTAA: havenwood: so that transpiles code into java?
[23:55:17] blub: hxegon: it feels like c++, i like more consistent designs
[23:55:57] havenwood: ellistaa: read: http://www.infoq.com/news/2014/07/rubymotion-android
[23:56:02] hxegon: blub thanks
[23:56:16] bkxd: has joined #ruby