« Back to channel list

#ruby - 26 April 2017

« Back 1 day Forward 1 day »
[00:02:51] mustmodify: has left #ruby: ()
[00:02:53] cagomez_: has joined #ruby
[00:04:23] mjora7: has joined #ruby
[00:05:26] ledestin: has joined #ruby
[00:07:46] friday: has joined #ruby
[00:17:06] minimalism: has joined #ruby
[00:18:19] mjuszczak: has joined #ruby
[00:20:28] impermanence: has joined #ruby
[00:21:02] bsartek: has joined #ruby
[00:30:25] chouhoulis: has joined #ruby
[00:33:48] rakm: has joined #ruby
[00:34:15] tercenya: has joined #ruby
[00:35:43] olivier__: has joined #ruby
[00:40:39] sunrunner20: has joined #ruby
[00:40:52] sunrunner20: I'm watchign a pural sight video on ruby from 2013
[00:41:05] sunrunner20: I'm a nub to ruby
[00:41:27] sunrunner20: is there any paradignm shifts that have occured since then that the video will train me wrong on?
[00:41:33] sunrunner20: *have there been
[00:41:39] sunrunner20: he's using 2.0
[00:41:49] sunrunner20: I see we're on 2.3.4
[00:42:21] my123_: has joined #ruby
[00:42:22] my123_: has joined #ruby
[00:42:34] starmix_: has joined #ruby
[00:43:13] charliesome: has joined #ruby
[00:43:48] armin: has joined #ruby
[00:43:54] jamesaxl: has joined #ruby
[00:44:18] jusa: has joined #ruby
[00:45:55] xenops: has joined #ruby
[00:47:23] soloscshaw: has joined #ruby
[00:49:58] Cohedrin: has joined #ruby
[00:50:00] skweek: has joined #ruby
[00:54:22] jarred: has joined #ruby
[00:55:18] Doow: has joined #ruby
[00:57:58] Cohedrin_: has joined #ruby
[00:58:41] nikivi: has joined #ruby
[00:58:51] watersoul_: has joined #ruby
[00:59:55] Pierreb|home: has joined #ruby
[01:00:44] AKPWD: has joined #ruby
[01:01:05] KramerC: has joined #ruby
[01:01:21] knight-: has joined #ruby
[01:01:24] baweaver: has joined #ruby
[01:01:47] discopatrick: has joined #ruby
[01:01:47] Disavowed: has joined #ruby
[01:01:50] ozzloy: has joined #ruby
[01:01:52] bw\: has joined #ruby
[01:02:02] psmolen: has joined #ruby
[01:02:25] rizonz: has joined #ruby
[01:02:28] cschneid_: has joined #ruby
[01:02:38] zenguy_pc: has joined #ruby
[01:03:12] Vircung: has joined #ruby
[01:03:20] mmasaki: has joined #ruby
[01:04:12] charliesome: has joined #ruby
[01:05:18] brainslug: has joined #ruby
[01:05:36] gizmore: has joined #ruby
[01:05:59] tris: has joined #ruby
[01:08:50] Disavowed: has left #ruby: ()
[01:10:29] Radar: sunrunner20: Should be OK if it's Ruby 2.0. There aren't too many major differences.
[01:10:36] Disavowed: has joined #ruby
[01:10:48] Radar: Keyword args is one that I can think of that might surprise you (i.e. you'd think "what the hell is that syntax?")
[01:11:12] Radar: def thing(this: nil, other_thing:, **args)
[01:11:20] Radar: Where **args would capture any remaining keyword arguments.
[01:11:34] Channel6: has joined #ruby
[01:11:35] sunrunner20: fimiliar with that
[01:11:40] reaVer: has joined #ruby
[01:11:45] sunrunner20: c# 4 or 5 has that
[01:11:51] sunrunner20: I forget what its called
[01:12:50] nikivi: has joined #ruby
[01:13:09] sunrunner20: haven't needed it yet
[01:13:21] sunrunner20: odds are if your using it you're doing s omething wrong imho
[01:14:20] ytti_: has joined #ruby
[01:14:20] Nilium: has joined #ruby
[01:14:29] cschneid_: has joined #ruby
[01:15:04] Rodya_: has joined #ruby
[01:16:39] SemiNus: has joined #ruby
[01:16:41] rcs: has joined #ruby
[01:16:52] SemiNus: is this the right channel to ask when I fail installing a ruby gem?
[01:17:47] SemiNus: this is what happens: https://dpaste.de/k1Sw/raw
[01:18:06] SemiNus: this is what I am trying to do:
[01:18:06] SemiNus: https://docs.zammad.org/en/latest/install-source.html
[01:18:46] bronson: has joined #ruby
[01:19:33] hndk: has joined #ruby
[01:20:34] moei: has joined #ruby
[01:20:56] KCmetro: has joined #ruby
[01:21:38] nikivi: has joined #ruby
[01:22:03] Guest96: has joined #ruby
[01:23:45] cagomez: has joined #ruby
[01:24:00] Cohedrin: has joined #ruby
[01:26:03] impermanence: has joined #ruby
[01:26:36] patarr: has joined #ruby
[01:27:21] JusticeFries: has left #ruby: ()
[01:28:55] olivier__: has joined #ruby
[01:29:09] Jameser: has joined #ruby
[01:29:37] Hobbyboy: has joined #ruby
[01:31:34] havenwood: SemiNus: Looks like a system-wide gem installation directory you'd need sudo to install to.
[01:32:10] SemiNus: havenwood, would it then also work for the user zammad?
[01:32:19] havenwood: SemiNus: How'd you install Ruby?
[01:32:27] SemiNus: havenwood, using apt-get I guess
[01:32:33] SemiNus: I am just repeating it as root user
[01:32:38] havenwood: SemiNus: Does `sudo gem install bundler` work?
[01:33:15] havenwood: SemiNus: No prob, any time.
[01:33:22] rgtk: has joined #ruby
[01:34:22] SemiNus: by the way, the software that I just try to install (zammad.org) is pretty cool
[01:34:35] SemiNus: so if you feel like, check it out - one of the most promising help desks out there
[01:35:13] rkazak: has joined #ruby
[01:39:13] patarr: has joined #ruby
[01:39:27] mnemon: has joined #ruby
[01:43:04] Didac: has joined #ruby
[01:43:52] vedu: has joined #ruby
[01:46:13] swills: has joined #ruby
[01:48:09] soloscshaw: has joined #ruby
[01:49:21] ikopico: has joined #ruby
[01:49:34] jeffaustin81: has joined #ruby
[01:51:28] rfoust: has joined #ruby
[01:54:32] Verity: ty SemiNus, I will
[01:58:55] jrafanie: has joined #ruby
[02:00:49] crazyphil: has joined #ruby
[02:01:00] patarr: has joined #ruby
[02:02:38] cschneid_: has joined #ruby
[02:05:03] libastral: has joined #ruby
[02:05:25] mjuszczak: has joined #ruby
[02:06:30] mjuszczak: has joined #ruby
[02:08:39] brent__: has joined #ruby
[02:15:43] meinside: has joined #ruby
[02:17:38] Rodya_: has joined #ruby
[02:20:23] genpaku: has joined #ruby
[02:21:18] szulak: has joined #ruby
[02:27:23] SemiNus: oh my goodness I am working with ruby for the first time, and I cannot get the installation done
[02:28:43] SemiNus: https://dpaste.de/Xs53/raw
[02:28:58] SemiNus: ^ help would be very appreciated, I get error messages that I cannot fix - google did not help so far
[02:33:15] impermanence: I'm kind of surprised to learn that if I have something like: name = 'Jessica' and then do name.chop that name doesn't then become 'Jessica'...but instead name.chop simply *returns* 'Jessica'...which I guess makes sense from a dot operator/OOP perspective...
[02:33:35] impermanence: sorry. returns 'Jessic'
[02:34:01] j: has joined #ruby
[02:34:52] phansch: has joined #ruby
[02:36:03] PorcoRex: has joined #ruby
[02:37:58] gr33n7007h: impermanence: it return 'Jessic' because it chops off the last character
[02:40:03] impermanence: gr33n7007h: yep. but name isn't updated. for some reason I was expecting name.chop to update name. don't know why. makes sense when I think about it from an OOP perspective.
[02:41:14] Channel6: has joined #ruby
[02:41:41] gr33n7007h: impermanence: String#chop! will modify the string
[02:42:15] Vile`: has joined #ruby
[02:43:40] jusa: has joined #ruby
[02:48:41] mices: should i be able to set attributes from create action after form submit that aren't in the params list and then when the create action reaches respond_to do ... if @object.save those attributes will be set along with whatever's in params list?
[02:48:55] soloscshaw: has joined #ruby
[02:49:07] mices: @object.name="Tex"
[02:49:21] mices: name isn't in the form
[02:49:29] mices: but other fields are
[02:50:17] PorcoRex: Sounds like a Rails question.
[02:53:15] paradisaeidae: has joined #ruby
[02:53:27] paradisaeidae_: has joined #ruby
[02:54:09] Verity: impermanence, does it? it doesnt have to modify internal prop, perhaps all you want is returned copy with the modification. so you have the option. the ! versions of methods modify the obj
[02:55:21] PorcoRex: https://www.youtube.com/watch?v=mFBzSITW8I0
[02:55:41] PorcoRex: Ups. wrong channel.
[02:55:47] cschneid_: has joined #ruby
[02:56:25] bloosi: has joined #ruby
[02:56:58] duderonomy: has joined #ruby
[02:57:50] PorcoRex: bloosi, good evening.
[02:58:21] cschneid_: has joined #ruby
[02:58:41] bloosi: porcorex thx
[03:06:49] wc0: has joined #ruby
[03:06:58] rakm: has joined #ruby
[03:12:25] SemiNus: what could be the reason for this, please?
[03:12:26] SemiNus: ERROR: Error installing json:
[03:12:26] SemiNus: ERROR: Failed to build gem native extension.
[03:12:50] milardovich: has joined #ruby
[03:13:13] SemiNus: https://dpaste.de/Xtj0/raw
[03:13:46] PorcoRex: You need Ruby's source code.
[03:14:10] PorcoRex: Some package named ruby-dev, or the like.
[03:14:16] SemiNus: thank you PorcoRex
[03:14:30] havenwood: SemiNus: +1: sudo apt-get install ruby-dev
[03:15:13] SemiNus: I really need to figure out what ruby feels like... I know what PHP is, how it works, and how it "feels" to program in it.
[03:15:31] SemiNus: however, Ruby is still one of the fields that I never touched
[03:15:33] SemiNus: maybe I should
[03:16:02] baweaver: ACTION perks up
[03:16:03] baweaver: EEEeeeeeeeeeloquent Ruby
[03:16:04] SemiNus: I've only stumbled upon Ruby every now and then when installing a 3rd party software
[03:16:44] gix: has joined #ruby
[03:17:09] PorcoRex: baweaver, eloquency is something not all of us people developing know how to really do.
[03:17:09] baweaver: SemiNus: see also: channel topic book list
[03:18:27] SemiNus: I have a very short question:
[03:18:46] SemiNus: maybe I should google, but I try it. If the answer is too complicated, just tell me and I will google it up
[03:18:48] Rodya_: has joined #ruby
[03:19:03] SemiNus: there is Ruby. And then there is Ruby on Rails. And I assume there is also Rails.
[03:19:09] SemiNus: what is what?
[03:19:12] baweaver: Rails is a gem
[03:19:15] baweaver: Ruby is the language
[03:19:25] SemiNus: gem is a ruby package?
[03:19:49] SemiNus: why is it "on" Rails then?
[03:20:02] SemiNus: that would be like saying: "PHP on Wordpress"
[03:20:11] SemiNus: or "Perl on OTRS"
[03:20:41] baweaver: Rolls off the toungue
[03:20:46] PorcoRex: Ruby is PHP, Rails is Wordpress.
[03:21:16] SemiNus: json also exists as a gem
[03:21:23] SemiNus: why isn't it "Ruby on json" then?
[03:21:34] SemiNus: I don't get the whole idea
[03:21:40] baweaver: It is though
[03:21:48] baweaver: You mean you don't call it Ruby on JSON?
[03:21:58] PorcoRex: The full name of the framework is not Rails, but "Ruby on Rails".
[03:21:58] baweaver: We have Ruby on HTTP and Ruby on YAML too
[03:22:11] PorcoRex: baweaver, hahaha.
[03:22:17] SemiNus: so, just to be sure:
[03:22:22] SemiNus: nobody codes "Ruby" ?
[03:22:29] SemiNus: when I want to learn it, I would learn Ruby on Rails?
[03:22:32] baweaver: They code Ruby on Ruby
[03:22:38] SemiNus: what the....
[03:23:04] baweaver: They just program Ruby
[03:23:11] SemiNus: so would I start learning Ruby, or Ruby on Rails?
[03:23:18] PorcoRex: SemiNus, Ruby is a stand alone language. Ruby on Rails is a framework.
[03:23:19] SemiNus: coming from PHP and Perl
[03:23:34] SemiNus: like Javascript compared to jQuery?
[03:23:45] SemiNus: that makes sense!!!
[03:24:11] baweaver: So go out and learn Ruby on Ruby
[03:24:14] SemiNus: so I first start off by learning Ruby, and once I know how Ruby works, I can learn the Framework Ruby on Rails (expecting it will make my life easier)
[03:24:22] SemiNus: thank you all
[03:24:37] SemiNus: sorry for the question, but since I am here already, I kind of got curious
[03:24:48] baweaver: Oh not a problem
[03:26:01] PorcoRex: I think that's a big problem sometimes. I've interviewed people for a role as RoR developers and they are pretty good, until I try to get them to separate the framework from the language. They get it mixed up many times.
[03:26:49] baweaver: If someone does that in an interview I instantly mark them as Junior at best
[03:27:25] SemiNus: isn't the term Junior and Senior hard to separate?
[03:27:53] SemiNus: at least here in the german speaking part of Europe, everyone considers themself a Senior
[03:27:55] baweaver: In general an experienced dev can tell
[03:28:08] PorcoRex: Yeah, definitely stumbles to square one. But what I'm getting at is that Rails is so ubiquitous on the market that people forget there's a language behind it.
[03:30:03] jeffaustin81: has joined #ruby
[03:32:17] raspado: has joined #ruby
[03:34:47] PorcoRex: I mean, I don't know how a C++ interviews goes for instance, but in my line of work Ruby interviews are mostly Rails interviews, with Ruby as an optional afterthought.
[03:36:06] harfangk: has joined #ruby
[03:37:17] KCmetro: has joined #ruby
[03:37:43] baweaver: PorcoRex: oh you would hate my interview then
[03:38:08] baweaver: because my sole purpose in that room is to find out how much people know Ruby as a language
[03:38:45] PorcoRex: Well, I can guess how that can become old really fast.
[03:38:59] baweaver: Not really. I enjoy it
[03:39:22] baweaver: can't say some of the candidates do though, but to be fair they don't really know Ruby either
[03:39:47] PorcoRex: Probably the less they know Ruby the less they enjoy the interview.
[03:39:56] baweaver: Pretty much
[03:40:12] baweaver: I tell them they can ask me any question and I have to answer (as long as it's Ruby)
[03:40:29] baweaver: only had one clever enough to ask me how I would write the problem
[03:40:49] esObe_: has joined #ruby
[03:40:59] PorcoRex: You've done an art of it, as far as I can tell. :)
[03:41:27] helpa: has joined #ruby
[03:41:30] Jameser`: has joined #ruby
[03:41:36] baweaver: Want to play? :)
[03:41:56] PorcoRex: baweaver, I'm fairly drunk, so I'm up for some public shaming.
[03:42:02] PorcoRex: Let's do it.
[03:42:10] baweaver: that's more fun
[03:42:49] baweaver: If you have a text file, `file.txt`, how would you give me a word count of that file?
[03:43:26] _bet0n: I just woke up and tried to read your conversation on Ruby and Ruby on Rails issue and now I wonder how it ended up with public shaming :D
[03:43:50] baweaver: There can only be one _bet0n
[03:43:59] baweaver: It's a Ruby throwdown
[03:44:21] PorcoRex: _bet0n, you will have plenty of time to catch up, because I will be shamed, but fairly slowly.
[03:44:27] Nilium: ACTION goes to get some popcorn
[03:44:41] ruby[bot]: It's popcorn time! 🍿🍿🍿
[03:44:54] PorcoRex: baweaver, not sure how you intend me to answer? Should I code something and post a link?
[03:45:02] Radar: PorcoRex: yes please ;)
[03:45:06] baweaver: Code on channel :D
[03:45:19] baweaver: or link if it's long
[03:45:20] PorcoRex: baweaver, never tried that.
[03:45:30] adgtl: has joined #ruby
[03:45:42] PorcoRex: I don't even have Ruby installed. Let me fire up a docker env...
[03:47:44] JoshS: has joined #ruby
[03:48:29] baweaver: All are free to participate in the madness
[03:49:37] soloscshaw: has joined #ruby
[03:50:26] Disavowed: Alrighty: File.read('sample.txt').split.count
[03:51:39] baweaver: Ah, but you want the count of _each_ word :)
[03:52:07] Radar: Ideal output is this (I think?) {"these"=>1, "are"=>1, "some"=>1, "words"=>1}
[03:52:55] Disavowed: Damnit, I thought I was a sure-fire-hire with that one-liner!
[03:53:09] robnester: has joined #ruby
[03:53:23] _bet0n: Disavowed: looks like mission failed
[03:53:40] astrobunny: has joined #ruby
[03:53:45] _bet0n: => TRY AGAIN => END GAME
[03:54:26] synstack: Disavowed: Array#inject
[03:54:42] esObe_: has joined #ruby
[03:54:44] Radar: inject is so... 2013.
[03:54:47] baweaver: Way to reduce the fun
[03:54:57] synstack: my apologies
[03:55:05] baweaver: (it was a pun, relax)
[03:55:22] baweaver: inject is the same as reduce
[03:55:26] synstack: ACTION melts
[03:55:40] baweaver: &ri Enumerable#reduce
[03:55:41] `derpy: http://ruby-doc.org/core-2.4.1/Enumerable.html#method-i-reduce
[03:56:20] synstack: Radar is reduce the more idiomatic method?
[03:56:27] Radar: synstack: no
[03:56:37] baweaver: Na, you're pretty much there
[03:56:46] baweaver: either that or you'd use each_with_object
[03:56:57] baweaver: &ri Enumerable#each_with_object
[03:56:57] `derpy: http://ruby-doc.org/core-2.4.1/Enumerable.html#method-i-each_with_object
[03:57:07] Radar: each_with_object has a nicer API imo
[03:57:13] baweaver: at least in this case
[03:57:16] Nilium: ruby -e 'puts (h = $stdin.read.split.group_by(&:itself)).each{|k,v|h[k]=v.length}.inspect' I got lazy and didn't bother with useful grouping.
[03:57:20] gr33n7007h: IO.read('file.txt').split.each.with_object(Hash.new { |h, k| h[k] = 0 }) { |w, h| h[w] += 1 }
[03:58:14] baweaver: Hash.new(0) works too
[03:58:42] gr33n7007h: ah, yep what was i thinking about
[03:59:01] Nilium: Coffee. Delicious coffee.
[03:59:30] baweaver: File.read('file.txt').split.each_with_object(Hash.new(0)) { |w, a| a[w] += 1 }
[03:59:34] baweaver: so pretty much same deal
[03:59:37] synstack: Ugh, ive been working on learning C++ lately but I am significantly less enthusiastic about it compared to ruby
[03:59:43] baweaver: I just use File over IO for preference
[03:59:55] Nilium: ACTION misses working in C++, kind of.
[03:59:57] synstack: each_with_object made my spine tingle
[03:59:57] baweaver: though File technically uses IO anyways, so...
[04:00:02] Nilium: Though I think I miss C more.
[04:00:30] baweaver: It just reads a bit more explicit but I doubt I make an issue of it either way
[04:00:41] baweaver: considering I use IO for most oneliners when I'm screwing around
[04:00:47] bronson: has joined #ruby
[04:00:53] gr33n7007h: me too generally
[04:01:36] baweaver: 99% of the time I end up using reduce though, so I occasionally flip the args for each_with_object
[04:02:01] PorcoRex: File.read("file.txt").strip.split(/\s+/).each_with_object(Hash.new(0)) {|word, accum| accum[word] +=1 }
[04:03:00] robnester: has joined #ruby
[04:03:10] bonhoeffer_: has joined #ruby
[04:03:13] baweaver: Now then, on to the next one
[04:03:32] Disavowed: baweaver: We got there in the end. Does this mean you have to hire all of us?
[04:03:59] _bet0n: Full-stack developer team
[04:04:24] baweaver: You have a `wordlist` and a hand of 7 scrabble tiles(`hand`). Make me the highest scoring word you can from those letters. Scores are accessible though `scores`
[04:06:52] PorcoRex: baweaver, I bail... Your interviewees better be sober as stones!
[04:07:15] Nilium: The scrabble one is fun though
[04:08:13] PorcoRex: No, I know. I love these.
[04:09:08] PorcoRex: Should probably organize these in advance, like weekly or something.
[04:10:52] baweaver: wordlist.select { |w| (w.chars - hand).empty? }.map { |w| [w, w.chars.reduce(0) { |a,c| a + scores[c] }] }.sort_by(&:last).to_h
[04:11:55] baweaver: Array#- is fun :D
[04:13:00] baweaver: technically you could dump all of that into reduce
[04:14:00] Radar: back. What did I miss.
[04:14:33] PorcoRex: baweaver, that's nice.
[04:14:56] Radar: [14:06:52] <PorcoRex> baweaver, I bail... Your interviewees better be sober as stones! <- lol
[04:15:04] baweaver: and these questions do have practical applications :)
[04:15:43] baweaver: the first one for instance is how to get counts of certain objects. Consider getting a collection of AmazonInstances and needing to get the counts of running instances
[04:16:19] baweaver: The second one is intersection conditions and counting, which I've had to do at work before as well
[04:16:26] baweaver: I just try and simplify them to generic problems
[04:16:45] baweaver: that way whenever someone asks me when they'd ever use these at work I switch the names back and smile :D
[04:17:56] baweaver: The really fun one is dot-path explosion, searching, and implosion
[04:18:02] PorcoRex: baweaver, going back to my first answer, I'm not completely satisfied with it simply because I'm getting the whole file into memory when this type of problem could be solved by streaming the file instead.
[04:18:13] Radar: PorcoRex: Good thinking.
[04:18:15] baweaver: Oh that it can
[04:18:40] baweaver: and I do pay attention to people noticing those
[04:19:22] Rodya_: has joined #ruby
[04:21:10] PorcoRex: baweaver, so what is dot-path explosion?
[04:21:42] Radar: I don't know what that is either.
[04:21:53] Radar: I might know it by another name?
[04:22:02] baweaver: Say you have a Hash like this: {a: {b: {c: 1}, d: 3}, e: {f: {g: {h: 1}}}}
[04:22:24] baweaver: I want dot paths to all the values, such as: 'a.b.c' => 1
[04:22:42] jusa: has joined #ruby
[04:22:48] baweaver: 'a.d' => 3, 'e.f.g.h' => 1
[04:23:56] baweaver: Oh yes, this one Radar :D
[04:24:26] baweaver: (RE: relevance - instance.cpu.cores.1.load)
[04:25:00] olivier__: has joined #ruby
[04:25:04] baweaver: and guess what common metric formats OpenTSDB, Grafana, Kairos, and others use :P
[04:25:32] baweaver: The explosion has to do with taking a list of dot paths and making them into a tree
[04:25:57] baweaver: The search is getting a dot path and returning the value(s) considering you can have a wildcard, '*' at any point in the query string
[04:26:00] PorcoRex: The dot path as a string?
[04:26:18] PorcoRex: Interesting.
[04:26:46] baweaver: This is a harder problem
[04:27:15] baweaver: Very rarely will a Junior get it, Mid levels tend to struggle, Seniors tend to do somewhat decently
[04:27:26] PorcoRex: Well, there are some considerations, can the "*" replace a single word between dots or can it represent several?
[04:27:51] baweaver: I'm not _that_ mean
[04:29:05] PorcoRex: So how does the problem go? Is it a method that takes two strings ans see if they match according to these rules?
[04:29:06] baweaver: because there are times where some of us have had to write library code to do something like that in JS for custom dashboards
[04:29:46] baweaver: Given a dotpath, 'a.b.c', get the value out of the hash {a: {b: {c: 1}}}
[04:30:02] baweaver: and I gradually make it more complicated
[04:30:10] PorcoRex: Ahh, I see.
[04:30:29] PorcoRex: So it is a game of strings, but also hashes.
[04:30:33] baweaver: one of the nastiest ones is the pruning one. Given a dotpath matcher, prune the tree to only contain matching nodes
[04:30:51] baweaver: because nested JSON is an Ops constant nightmare
[04:31:45] PorcoRex: So, kind of related, are you just staring at these people trying to solve the problem or how does all this unfolds in the real world?
[04:33:12] soloscshaw: has joined #ruby
[04:33:57] gr33n7007h: wl.select { |w| 1.step(7).map { |n| hand.permutation(n).map(&:join) }.flatten.include?(w) }.max.chars.map { |c| [c, scores[c]] }.transpose
[04:34:11] gr33n7007h: thats my shitty attempt :(
[04:35:54] renchan: has joined #ruby
[04:37:26] baweaver: I stare into their very souls with my cold dead black eyes PorcoRex
[04:37:35] baweaver: if they look back I steal their soul
[04:38:20] PorcoRex: baweaver, I get it. It's not like you have a choice. :)
[04:38:45] Bock: has joined #ruby
[04:39:10] mjuszczak: has joined #ruby
[04:40:03] baweaver: More of I ask questions and try and guide them about a bit as they need it
[04:41:17] PorcoRex: Yeah, that sounds more like the real you.
[04:42:15] jeffaustin81: has joined #ruby
[04:42:25] baweaver: The goal is to find out how much Ruby familiarity they have
[04:43:00] baweaver: If they start using for loops or using each for everything I tend to raise an eyebrow, things like that
[04:45:32] xall: has joined #ruby
[04:45:55] Nilium: ACTION should start doing interviews where you can only use jq
[04:47:22] PorcoRex: baweaver, yes, definitely. Someone mentioned the other day here about the new threading in MRI. Did you have a chance to look into it, and if so, what are your thoughts about it?
[04:47:55] baweaver: re: jq - I still need to read more into it
[04:48:08] Nilium: It's disturbingly useful.
[04:48:18] baweaver: I know basics at least
[04:48:22] baweaver: and Ruby has bindings for it
[04:48:37] Nilium: I really hate JSON, but it's still pretty good for just general text things that awk can't do as easily
[04:49:21] PorcoRex: baweaver, but wasn't JRuby a fully multithreaded Ruby impl.
[04:49:25] PorcoRex: baweaver, but wasn't JRuby a fully multithreaded Ruby impl.?
[04:49:45] gr33n7007h: o = JSON.parse(h.to_json, object_class: OpenStruct)
[04:50:00] baweaver: Not incredibly familiar with JRuby
[04:50:19] Nilium: Usually when people mention threading in ruby I think of rubinius
[04:50:55] PorcoRex: baweaver, neither am I, but I think they don't have MRI's GIL in place in their implementation.
[04:51:17] gr33n7007h: nah, it runs on the jvm
[04:51:58] PorcoRex: gr33n7007h, right, but I mean, there is no GIL, so the threads are not limited to one running at any given time.
[04:52:52] jeffaustin81: has joined #ruby
[04:54:22] PorcoRex: So this guy comes in last week with this link: http://olivierlacan.com/posts/concurrency-in-ruby-3-with-guilds/
[04:55:58] PorcoRex: And am, it's pretty interesting and everything, but I think we will only see an improvement in concurrency way after Ruby3 is out. Like when gems and frameworks adapt for this and everything.
[04:57:41] gr33n7007h: yeah, them guilds looks promising
[04:59:10] gr33n7007h: isn't ruby brilliant
[05:01:58] gr33n7007h: PorcoRex: i believe you can actually release the GIL using a little Fiddle magic
[05:04:48] PorcoRex: gr33n7007h, really? That's interesting, but a big compromise for non experimental purposes.
[05:07:00] PorcoRex: So um, threads, what are they good for? They are hard to think about and stuff. I'm sure there's a better solution that makes threads transparent to the naive developer.
[05:13:36] muelleme_: has joined #ruby
[05:16:43] charliesome: has joined #ruby
[05:17:31] mjora7: has joined #ruby
[05:20:09] mim1k: has joined #ruby
[05:20:10] Rodya_: has joined #ruby
[05:24:29] armyriad: has joined #ruby
[05:28:34] charliesome: has joined #ruby
[05:28:39] Jameser: has joined #ruby
[05:28:47] Radar: what are threads good for? Concurrent processing of data.
[05:29:44] anisha: has joined #ruby
[05:31:26] xall_: has joined #ruby
[05:31:28] Fraeon: has joined #ruby
[05:33:08] lhambley: has joined #ruby
[05:34:58] cschneid_: has joined #ruby
[05:35:43] PorcoRex: Radar, I know, what I mean is that threads are a low level concept that may be better modeled by something else on a high level language such as Ruby.
[05:36:12] PorcoRex: Something friendlier, less error prone.
[05:36:18] lhambley: has joined #ruby
[05:36:49] Disavowed: Software Transactional Memory!
[05:37:44] Jameser: has joined #ruby
[05:38:08] KCmetro: has joined #ruby
[05:40:45] nobodyzxc: has joined #ruby
[05:41:42] Radar: PorcoRex: Oh you mean like processes in Erlang / Elixir where it's handled by the VM?
[05:43:29] PorcoRex: Radar, I don't know.
[05:56:03] esObe_: has joined #ruby
[05:57:41] Cohedrin: has joined #ruby
[06:01:24] Kug3lis: has joined #ruby
[06:03:52] Kug3lis: has joined #ruby
[06:03:53] m1911: has joined #ruby
[06:05:11] brent__: has joined #ruby
[06:05:20] m1911: has joined #ruby
[06:06:16] Kug3lis: has joined #ruby
[06:15:43] muelleme_: has joined #ruby
[06:16:13] ferr: has joined #ruby
[06:16:18] aufi: has joined #ruby
[06:17:58] bathtub_shark: has joined #ruby
[06:20:36] esObe_: has joined #ruby
[06:20:57] Rodya_: has joined #ruby
[06:21:25] esObe_: has joined #ruby
[06:23:10] yogg-saron: has joined #ruby
[06:24:45] andikr: has joined #ruby
[06:28:07] conta: has joined #ruby
[06:31:22] tao_: has joined #ruby
[06:33:20] Lyubo1: has joined #ruby
[06:36:18] olivier__: has joined #ruby
[06:36:31] Cohedrin: has joined #ruby
[06:37:22] govg: has joined #ruby
[06:42:56] jusa: has joined #ruby
[06:44:25] nhhc: has joined #ruby
[06:51:34] mjora7: has joined #ruby
[06:51:45] andikr: has joined #ruby
[06:53:18] Cohedrin: has joined #ruby
[06:55:40] Vingador: has joined #ruby
[06:56:23] muelleme_: has joined #ruby
[06:58:27] jenrzzz: has joined #ruby
[06:59:10] cagomez: has joined #ruby
[07:01:00] KnownSyntax: has joined #ruby
[07:01:40] Fraeon: has joined #ruby
[07:05:21] lhambley: has joined #ruby
[07:06:27] esObe_: has joined #ruby
[07:08:13] unpleased: has joined #ruby
[07:09:32] last_staff: has joined #ruby
[07:15:38] soloscshaw: has joined #ruby
[07:17:40] charliesome: has joined #ruby
[07:17:41] binaryplease: has joined #ruby
[07:17:45] jenrzzz: has joined #ruby
[07:17:46] jenrzzz: has joined #ruby
[07:20:29] maths_nerd: has joined #ruby
[07:20:42] mim1k: has joined #ruby
[07:21:37] Rodya_: has joined #ruby
[07:24:10] nobodyzx1: has joined #ruby
[07:25:42] nobodyzxc: has joined #ruby
[07:28:12] nobodyzxc: has joined #ruby
[07:28:45] Qchmqs: has joined #ruby
[07:29:48] nobodyzxc: has joined #ruby
[07:30:43] nobitanobi: has joined #ruby
[07:30:53] Cohedrin: has joined #ruby
[07:34:38] biberu: has joined #ruby
[07:34:40] jenrzzz: has joined #ruby
[07:36:59] nobodyzxc: has joined #ruby
[07:39:50] Aizuddin: has joined #ruby
[07:40:19] Aizuddin: has left #ruby: ()
[07:41:11] jamesaxl: has joined #ruby
[07:45:24] rhyselsmore: has joined #ruby
[07:46:45] outreachdan: has joined #ruby
[07:47:51] mim1k: has joined #ruby
[07:49:36] patarr: has joined #ruby
[07:49:42] unshadow: has joined #ruby
[07:52:15] burgestrand: has joined #ruby
[07:53:45] latemus: has joined #ruby
[08:01:00] charliesome: has joined #ruby
[08:01:02] hurricanehrndz: has joined #ruby
[08:02:48] Cohedrin: has joined #ruby
[08:06:47] nowhereman: has joined #ruby
[08:07:14] dionysus69: has joined #ruby
[08:07:58] mikecmpbll: has joined #ruby
[08:08:39] maattdd: has joined #ruby
[08:09:59] elsevero: has joined #ruby
[08:10:38] tvw: has joined #ruby
[08:11:22] patarr: has joined #ruby
[08:12:51] mim1k: has joined #ruby
[08:14:33] mark_66: has joined #ruby
[08:14:42] mjora7: has joined #ruby
[08:16:29] soloscshaw: has joined #ruby
[08:20:16] blackmes1: has joined #ruby
[08:22:20] Rodya_: has joined #ruby
[08:24:27] ane: has joined #ruby
[08:26:26] aupadhye: has joined #ruby
[08:26:40] ane: what is this idiom/pattern called? I find it ungoogleable https://gist.github.com/ane/d09e83cf287c2af4f548957142181097
[08:27:30] ane: is it just Proc#call ?
[08:29:20] burgestrand: ane `.()` calls `call`
[08:29:53] Jameser`: has joined #ruby
[08:30:04] ane: but do classes automatically implement whatever Proc does?
[08:30:24] muelleme_: has joined #ruby
[08:30:44] burgestrand: ana how do you figure?
[08:30:52] blackmesa: has joined #ruby
[08:31:11] burgestrand: ana there's no relationship with Proc in your code, `.(…)` is syntax sugar for `.call(…)`
[08:31:27] ane: right but I can't find the method definition for Class#call
[08:31:32] ane: in the ruby docs
[08:31:49] ane: nor in its parent classes
[08:31:51] burgestrand: ana why would there be one?
[08:32:02] ane: why... wouldn't there be?
[08:32:18] burgestrand: ana in your code example you've defined call yourself, and then you call it, I don't see the strangeness
[08:32:19] mim1k: has joined #ruby
[08:32:35] ane: oh right it's just syntax
[08:32:38] jsrn_: has joined #ruby
[08:32:39] ane: it doesn't exist
[08:34:23] _bet0n: has left #ruby: ()
[08:34:31] tomphp: has joined #ruby
[08:34:34] cschneid_: has joined #ruby
[08:37:46] Jameser: has joined #ruby
[08:39:39] alxgsv: has joined #ruby
[08:40:25] zel: has joined #ruby
[08:40:47] Beams: has joined #ruby
[08:42:42] dminuoso: So when you have a method called createCreationCreator.. is that when you should stop with the abstractions?
[08:43:12] dminuoso: This project is about to get renamed to Inception..
[08:43:50] jaruga: has joined #ruby
[08:44:32] herwin: sounds like http://docs.spring.io/spring/docs/2.5.x/javadoc-api/org/springframework/aop/framework/AbstractSingletonProxyFactoryBean.html
[08:46:22] dminuoso: herwin: Heh. Java is truly the master of complicating things to justify ones overly oversized salary.
[08:46:45] andrzejku: has joined #ruby
[08:46:47] aupadhye: has joined #ruby
[08:46:52] dminuoso: In all fairness, when you get into the realm of functional programming higher order functions rarely stay at the first degree.
[08:47:08] dminuoso: And Ruby is almost perfect for FP except for the part its not.
[08:47:47] ineb: dminuoso: what do you mean by staying at the first degree?
[08:48:27] flying: has joined #ruby
[08:49:38] dminuoso: ineb: Well suddenly you want a function returning a function that returns a function..
[08:50:24] jenrzzz: has joined #ruby
[08:50:24] jenrzzz: has joined #ruby
[08:51:55] flopsec: has joined #ruby
[08:52:35] workmad3: has joined #ruby
[08:54:32] lxsameer: has joined #ruby
[08:56:47] Sylario: has joined #ruby
[08:58:11] antgel: has joined #ruby
[09:02:49] schickung: has joined #ruby
[09:03:43] cfec0b8d: has joined #ruby
[09:06:09] charliesome: has joined #ruby
[09:07:39] marr: has joined #ruby
[09:07:55] mices: has joined #ruby
[09:13:45] olivier__: has joined #ruby
[09:15:01] dangerousdave: has joined #ruby
[09:15:06] rgtk: has joined #ruby
[09:17:13] soloscshaw: has joined #ruby
[09:17:35] bigkevmcd: has joined #ruby
[09:19:48] sonOfRa: has joined #ruby
[09:22:22] Psy-Q: byebug overrides the variable name 'list' with a command that lists the code around the breakpoint. how can i get to the actual variable called 'list'?
[09:23:12] Rodya_: has joined #ruby
[09:24:34] dminuoso: Psy-Q: Prefix the line with ; to disable the pry commands
[09:24:44] dminuoso: This is also documente, you might want to take a look at https://github.com/pry/pry/wiki/Command-system
[09:25:27] olivier__: has joined #ruby
[09:26:09] axellj: I'm trying to set up for logstash plugin development but am having terrible environment problems.
[09:26:36] axellj: Part of that comes from being in a terrible environment - windows behind a corporate firewall - but the ruby ecosystem isn't being friendly to me
[09:27:28] axellj: I was using jruby 1.7.28 and managed to wrangle various proxy settings to download bundler and the have bundle download the logstash dependencies. The final step there was setting HTTPS_PROXY env variable (in addition to HTTP_PROXY variable) to allow gem to call maven to fetch some java deps
[09:27:45] axellj: then I had an issue when installing plugins that told me it couldn't cast Nil to string
[09:28:04] axellj: Scouring some blogs suggested this might be caused by having the wrong ruby environment, so I changed to JRuby 9.1.x
[09:28:41] Psy-Q: dminuoso: that might be for pry, but it doesn't seem to be the case for byebug :(
[09:29:05] axellj: Now setting HTTPS_PROXY doesn't solve the maven problem any more and I'm stuck at trying to get bundler to install the logstash dependencies. I'm at the end of my rope; I've got HTTP_PROXY env variable, HTTPS_PROXY env variable, JRUBY_OPTS with proxy variables, .gemrc also with proxy variables but it just refuses to download from maven
[09:29:06] dminuoso: Psy-Q: Oh. I read byebug and thought pry.
[09:29:10] Psy-Q: should i switch to pry? i just started using byebug because some other project used it, but this is my own, i can use pry instead
[09:29:13] axellj: .... anyone got an idea what I should try ext?
[09:29:27] dminuoso: Psy-Q: Well, the same thing for byebug. Its documented inside here: https://github.com/deivid-rodriguez/byebug/blob/master/GUIDE.md
[09:29:33] dminuoso: Psy-Q: Search for "conflict"
[09:30:20] olivier__: has joined #ruby
[09:30:24] Psy-Q: ah crap, i didn't see that. thank you
[09:35:12] olivier__: has joined #ruby
[09:49:37] olivier__: has joined #ruby
[09:53:38] jenrzzz: has joined #ruby
[09:54:37] Znow: has joined #ruby
[09:55:01] quiqua: has joined #ruby
[09:56:37] Znow: Hey guys. Trying to get current time as milliseconds on repl.it and Windows, but both returns: 1493200408519 (0001-01-02​T17:28:40.041Z) - (Time.now.to_f * 1000).to_i ...... But if I do, "Time.now.to_s" I get the time just fine: "2017-04-26 11:54:01 +0200" - how can I convert this time to milliseconds (since epoch)?
[09:58:45] dangerousdave: has joined #ruby
[09:59:26] tomphp: has joined #ruby
[10:02:34] jusa: has joined #ruby
[10:03:41] toretore: >> Time.now.to_i * 1000 # Znow
[10:03:42] ruby[bot]: toretore: # => 1493201021000 (https://eval.in/783122)
[10:04:09] olivier__: has joined #ruby
[10:04:58] toretore: >> (Time.now.to_f * 1000).to_i
[10:05:00] ruby[bot]: toretore: # => 1493201099379 (https://eval.in/783123)
[10:05:27] toretore: Znow: explain the problem in more detail
[10:07:15] stamina: has joined #ruby
[10:07:36] charliesome: has joined #ruby
[10:09:06] olivier__: has joined #ruby
[10:17:59] soloscshaw: has joined #ruby
[10:20:05] KCmetro: has joined #ruby
[10:20:51] guardianx: has joined #ruby
[10:25:11] andikr: has joined #ruby
[10:26:25] chagel: has joined #ruby
[10:28:37] ane: has left #ruby: ()
[10:28:45] olivier__: has joined #ruby
[10:30:39] Znow: toretore: That only returns 0001-01-02 according to http://tickstodatetime.com/
[10:30:50] Znow: I just need to get the current datetime in milliseconds, 18 digits
[10:31:04] Znow: toretore: 0001-01-02​T17:28:40.110Z to exact
[10:32:09] Znow: to be exact*
[10:33:20] toretore: i think you're confused
[10:37:55] herwin: Znow: your original request included ``since epoch'', but that website you're trying to validate it with doesn't use epoch as base
[10:38:58] impermanence: has joined #ruby
[10:39:05] __urux__: has joined #ruby
[10:39:17] lxsameer: has joined #ruby
[10:41:30] Znow: toretore: I might be :p
[10:41:32] Znow: herwin: okay :P
[10:42:55] Znow: Ah okay, now it all came together, haha.
[10:44:58] Znow: herwin/toretore: How can I then get time now in milliseconds, since 0001 ?
[10:46:40] mikeiniowa: has joined #ruby
[10:46:46] herwin: probably something like Time.now - Time.new('0000-01-01')
[10:46:54] herwin: or whatever the constructor of Time accepts
[10:47:10] toretore: what do you mean 0001, the time of birth of the lord and savior jesus christ?
[10:47:51] toretore: i think we're dealing with a
[10:47:55] ruby[bot]: Znow: it seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More: http://meta.stackexchange.com/a/66378
[10:48:01] olivier__: has joined #ruby
[10:49:06] Znow: herwin/toretore: Yeah I know, thanks for your time though
[10:52:01] unshadow: has joined #ruby
[10:53:53] sepp2k: has joined #ruby
[10:59:45] olivier__: has joined #ruby
[11:09:04] Verity: https://github.com/packetfu/packetfu/blob/master/examples/arp.rb
[11:09:14] Verity: why am I getting uninitialized constant packetfu:capture nameerror
[11:10:07] olivier__: has joined #ruby
[11:12:01] Verity: I shouldnt have waited until this morning, crap
[11:13:19] jackrandom: has joined #ruby
[11:14:26] Verity: windows must be the problem
[11:14:27] Verity: erasing it now
[11:18:48] soloscshaw: has joined #ruby
[11:20:58] Stan: has joined #ruby
[11:21:48] beauby: has joined #ruby
[11:22:38] aglorei: has joined #ruby
[11:24:32] Rodya_: has joined #ruby
[11:32:53] charliesome: has joined #ruby
[11:33:26] nadir: has joined #ruby
[11:33:42] ldnunes: has joined #ruby
[11:34:49] andikr: has joined #ruby
[11:35:27] blackmesa: has joined #ruby
[11:35:49] nobitanobi: has joined #ruby
[11:42:11] t-recx: has joined #ruby
[11:43:26] olivier__: has joined #ruby
[11:45:02] bernd27: has joined #ruby
[11:46:22] unpleased: has joined #ruby
[11:49:07] petruff: has joined #ruby
[11:49:16] Pumukel: has joined #ruby
[11:54:15] kristofferR: has joined #ruby
[11:58:20] olivier__: has joined #ruby
[11:58:25] mices: has joined #ruby
[12:01:00] bernd9000: has joined #ruby
[12:01:11] Silthias: has joined #ruby
[12:02:34] tomphp: has joined #ruby
[12:03:10] synthroid: has joined #ruby
[12:04:31] bernd27: has joined #ruby
[12:06:38] millerti: has joined #ruby
[12:07:29] centrx: has joined #ruby
[12:07:30] centrx: has joined #ruby
[12:07:56] olivier__: has joined #ruby
[12:12:03] bkxd: has joined #ruby
[12:12:42] nanoz: has joined #ruby
[12:12:45] charliesome: has joined #ruby
[12:14:34] Arpanet69: has joined #ruby
[12:15:40] schickung: has joined #ruby
[12:17:24] olivier__: has joined #ruby
[12:18:21] chouhoulis: has joined #ruby
[12:18:44] Arpanet69: has left #ruby: ()
[12:18:44] chouhoulis: has joined #ruby
[12:19:29] chouhoulis: has joined #ruby
[12:19:34] soloscshaw: has joined #ruby
[12:20:16] chouhoulis: has joined #ruby
[12:20:30] jenrzzz: has joined #ruby
[12:20:32] AlexRussia: has joined #ruby
[12:20:40] gnufied: has joined #ruby
[12:20:41] JeanCarloMachado: has joined #ruby
[12:21:01] chouhoulis: has joined #ruby
[12:22:21] TvL2386: has joined #ruby
[12:22:32] esObe__: has joined #ruby
[12:22:49] chouhoulis: has joined #ruby
[12:24:50] maths_nerd: has joined #ruby
[12:25:27] Rodya_: has joined #ruby
[12:25:34] chouhoulis: has joined #ruby
[12:28:28] fivmo: has joined #ruby
[12:28:44] fivmo: has left #ruby: ()
[12:28:55] olivier__: has joined #ruby
[12:31:01] pupsicle: has joined #ruby
[12:35:29] cschneid_: has joined #ruby
[12:37:01] jackrandom: has joined #ruby
[12:37:14] olivier__: has joined #ruby
[12:37:39] chouhoulis: has joined #ruby
[12:39:15] mirwin: has joined #ruby
[12:40:10] sts: has joined #ruby
[12:43:15] zapata: has joined #ruby
[12:43:25] Psy-Q: is there a json-rpc 2.0 client gem that supports named parameters? it seems jsonrpc-client doesn't
[12:43:52] psychicist__: has joined #ruby
[12:44:52] dangerousdave: has joined #ruby
[12:47:21] mirwin: has left #ruby: ("Leaving")
[12:49:03] Psy-Q: it seems Saorin might be able to handle it, but it doesn't support custom Faraday connections so can't use HTTP basic auth, it seems
[12:54:28] elsevero: has joined #ruby
[12:56:04] tomphp: has joined #ruby
[12:58:20] vuoto: has joined #ruby
[12:58:24] nobodyzxc: has joined #ruby
[12:59:26] Beams: has joined #ruby
[13:00:31] ramortegui: has joined #ruby
[13:01:27] nobodyzxc: has joined #ruby
[13:02:14] sts: has left #ruby: ()
[13:03:07] nobodyzxc: has joined #ruby
[13:04:39] mices: has joined #ruby
[13:04:42] mices: has joined #ruby
[13:05:38] Dreamer3: has joined #ruby
[13:07:00] chagel: has joined #ruby
[13:09:30] Beams: has joined #ruby
[13:09:32] olivier__: has joined #ruby
[13:14:10] bsartek: has joined #ruby
[13:16:24] millerti: has joined #ruby
[13:17:11] olivier__: has joined #ruby
[13:19:49] tercenya: has joined #ruby
[13:20:22] olivier__: has joined #ruby
[13:20:40] soloscshaw: has joined #ruby
[13:23:52] cdg: has joined #ruby
[13:24:27] KCmetro: has joined #ruby
[13:26:09] Rodya_: has joined #ruby
[13:27:37] anisha: has joined #ruby
[13:29:45] dangerousdave: has joined #ruby
[13:32:21] DLSteve: has joined #ruby
[13:32:27] charliesome: has joined #ruby
[13:35:15] cschneid_: has joined #ruby
[13:36:39] __Yiota: has joined #ruby
[13:36:50] Bounga: has joined #ruby
[13:39:12] rfoust: has joined #ruby
[13:43:08] Guest10882: has joined #ruby
[13:44:06] cdg_: has joined #ruby
[13:49:17] cdg: has joined #ruby
[13:49:52] centrx: has joined #ruby
[13:50:17] cdg_: has joined #ruby
[13:54:17] tercenya: has joined #ruby
[13:57:37] GSilva: has joined #ruby
[13:58:13] jrafanie: has joined #ruby
[13:58:18] Psy-Q: i just did it from scratch with plain Faraday instead
[13:58:23] Psy-Q: my error handling is shite but it works
[14:00:07] mostlybadfly: has joined #ruby
[14:03:28] shinnya: has joined #ruby
[14:07:43] olivier__: has joined #ruby
[14:08:24] electrostat: has joined #ruby
[14:08:34] jusa: has joined #ruby
[14:09:52] mustmodify: has joined #ruby
[14:10:17] HoierM: has joined #ruby
[14:13:09] yokel: has joined #ruby
[14:21:08] soloscshaw: has joined #ruby
[14:22:29] jenrzzz: has joined #ruby
[14:22:30] jenrzzz: has joined #ruby
[14:26:51] Rodya_: has joined #ruby
[14:28:54] __Yiota: has joined #ruby
[14:30:19] jrafanie: has joined #ruby
[14:31:04] pavelz: has joined #ruby
[14:32:19] theunraveler: has joined #ruby
[14:34:00] axel_: has joined #ruby
[14:36:21] patarr: has joined #ruby
[14:39:49] oleo: has joined #ruby
[14:39:49] oleo: has joined #ruby
[14:41:56] govg: has joined #ruby
[14:43:01] duckpuppy: has joined #ruby
[14:44:07] yxhuvud: has joined #ruby
[14:48:06] dionysus69: has joined #ruby
[14:49:09] User458764: has joined #ruby
[14:49:14] marcdel: has joined #ruby
[14:50:23] chouhoulis: has joined #ruby
[14:52:48] bsartek: has joined #ruby
[14:54:05] kristofferR: has joined #ruby
[14:54:57] beauby: has joined #ruby
[15:01:47] KCmetro: has joined #ruby
[15:05:00] xall: has joined #ruby
[15:05:49] skweek: has joined #ruby
[15:07:45] KCmetro: has joined #ruby
[15:11:27] hurricanehrndz: havenwood: Awesome, it's good to hear
[15:11:55] Roa: has joined #ruby
[15:12:05] unshadow: has joined #ruby
[15:13:11] cbyrda: has joined #ruby
[15:15:33] Qchmqs: has joined #ruby
[15:17:47] choke: has joined #ruby
[15:18:34] cfec0b8d: has joined #ruby
[15:21:35] cschneid_: has joined #ruby
[15:21:47] soloscshaw: has joined #ruby
[15:23:29] zzxc: has joined #ruby
[15:24:29] Beams: has joined #ruby
[15:27:45] Rodya_: has joined #ruby
[15:28:36] spectra: has joined #ruby
[15:29:01] patarr1: has joined #ruby
[15:31:14] schickung: has joined #ruby
[15:36:12] brent__: has joined #ruby
[15:37:05] zzxc: has joined #ruby
[15:43:50] dcunit3d: has joined #ruby
[15:45:00] synthroid: has joined #ruby
[15:46:43] Gran_Mal: has joined #ruby
[15:47:35] Pumukel: has joined #ruby
[15:53:06] kristofferR: has joined #ruby
[15:53:48] jrafanie: has joined #ruby
[15:54:19] xall: has joined #ruby
[15:54:26] __urux__: has joined #ruby
[15:55:04] beauby: has joined #ruby
[15:56:05] [Butch]: has joined #ruby
[15:56:33] unshadow: has joined #ruby
[16:01:02] rippa: has joined #ruby
[16:01:49] amclain: has joined #ruby
[16:04:12] __Yiota: has joined #ruby
[16:06:13] postmodern: has joined #ruby
[16:07:41] kristofferR: has joined #ruby
[16:08:34] Xiti: has joined #ruby
[16:09:17] quobo: has joined #ruby
[16:12:57] theunraveler: has joined #ruby
[16:13:00] __Yiota: has joined #ruby
[16:18:25] blackmesa: has joined #ruby
[16:18:49] skweek: has joined #ruby
[16:20:24] stupidsenpai: has joined #ruby
[16:21:22] mdw: has joined #ruby
[16:21:37] imightbestupid12: has joined #ruby
[16:22:34] soloscshaw: has joined #ruby
[16:22:34] Rodya_: has joined #ruby
[16:23:44] synthroid: has joined #ruby
[16:24:23] jenrzzz: has joined #ruby
[16:25:54] cdg: has joined #ruby
[16:27:05] harfangk: has joined #ruby
[16:27:40] mdw: has joined #ruby
[16:28:30] mdw: has joined #ruby
[16:29:07] tfitts: has joined #ruby
[16:30:18] esObe_: has joined #ruby
[16:31:29] gusrub: has joined #ruby
[16:35:38] tercenya: has joined #ruby
[16:36:40] muelleme_: has joined #ruby
[16:38:23] BTRE: has joined #ruby
[16:43:25] pilne: has joined #ruby
[16:46:50] tercenya: has joined #ruby
[16:48:05] mustmodify: has left #ruby: ()
[16:50:10] esObe_: has joined #ruby
[16:56:54] binaryplease: has joined #ruby
[16:57:32] jrafanie: has joined #ruby
[17:00:05] kristofferR: has joined #ruby
[17:01:15] mariusm: has joined #ruby
[17:01:38] gusrub: has joined #ruby
[17:01:57] jrm: has joined #ruby
[17:02:04] al2o3-cr: does anyone know if typhoeus allows use of a socks5 proxy?
[17:02:34] mariusm: has left #ruby: ()
[17:06:07] cdg_: has joined #ruby
[17:06:41] RobertBirnie: has joined #ruby
[17:07:21] brent__: i have a method that returns a hash, and want to override it to add another variable to the hash, can you call def method; super.merge(new_options);end?
[17:08:44] havenwood: brent__: yes
[17:08:57] brent__: the parent method i'm trying to override is in a method i'm including
[17:09:02] havenwood: >> class X; def x; {aim: true} end end; class Y < X; def x; super.merge({indeed: true}) end end; Y.new.x # brent__
[17:09:03] ruby[bot]: havenwood: # => {:aim=>true, :indeed=>true} (https://eval.in/783338)
[17:09:06] brent__: sorry, module
[17:09:14] havenwood: brent__: Show your code in a gist?
[17:09:35] brent__: is super available from a module havenwood
[17:09:44] brent__: or only class hierarchy?
[17:09:55] polishdub: has joined #ruby
[17:09:57] baweaver: Well SOCKS4 at least I found al2o3-cr - https://github.com/typhoeus/typhoeus/issues/81#issuecomment-3700585
[17:10:05] baweaver: still seeing if I see 5 show up
[17:10:07] rht: has left #ruby: ()
[17:10:38] AndBobsYourUncle: has joined #ruby
[17:10:43] __Yiota: has joined #ruby
[17:11:20] Gran_Mal: When creating a suggester, do I need to define all of the suggested terms for the index?
[17:11:26] brent__: https://gist.github.com/brentluna/a7166099fdba958d275e61f2d9f87ea0 havenwood
[17:11:51] baweaver: Gran_Mal: clarify that
[17:11:54] ResidentBiscuit: has joined #ruby
[17:11:56] havenwood: >> module X; def x; {aim: true} end end; class Y; include X; def x; super.merge({indeed: true}) end end; Y.new.x # brent__
[17:11:57] ruby[bot]: havenwood: # => {:aim=>true, :indeed=>true} (https://eval.in/783339)
[17:12:18] al2o3-cr: baweaver: awesome, socks4 will do.
[17:12:28] baweaver: see the end of that thread
[17:12:35] baweaver: I think 5 was mentioned there
[17:12:56] baweaver: might as well try it and see if it behaves
[17:13:08] cdg: has joined #ruby
[17:13:51] al2o3-cr: yep, just reading that bit, seems to me it does support 5.
[17:13:56] al2o3-cr: i'll give it a shot
[17:13:59] havenwood: >> module X; def x; super.merge({aim: true}) end end; class Y; prepend X; def x; {indeed: true} end end; Y.new.x # brent__ see also #prepend
[17:14:00] ruby[bot]: havenwood: # => {:indeed=>true, :aim=>true} (https://eval.in/783340)
[17:14:48] Gran_Mal: baweaver: Do I need to add a list of words that should be suggested for a specific term, if the user enters the term?
[17:15:12] baweaver: Using what exactly?
[17:15:20] baweaver: Rails, webforms, something else?
[17:15:40] baweaver: and suggestions based on related products, spellings, or something else?
[17:15:42] Gran_Mal: Well, I'm using kibana right now
[17:15:46] baweaver: It's really rather a vague question
[17:16:34] baweaver: You might want to ask in a kibana channel then
[17:16:48] baweaver: because this is probably heavily contextual to their environment
[17:16:55] Gran_Mal: I'm trying to build a completion suggester ... I have a street property in the doc ... It's type: text ... I want to be able to setup an autocomplete. I'm just unsure how the suggesters work
[17:17:11] baweaver: Yeah, I'd ask Kibana
[17:17:28] Gran_Mal: Whoops, wrong channel ... My bad :/
[17:17:30] mikecmpbll: has joined #ruby
[17:19:59] patarr: has joined #ruby
[17:20:12] SeepingN: has joined #ruby
[17:23:40] soloscshaw: has joined #ruby
[17:26:06] jenrzzz: has joined #ruby
[17:26:06] jenrzzz: has joined #ruby
[17:26:15] Guest96_: has joined #ruby
[17:26:21] Bounga: has joined #ruby
[17:26:31] brent__: thanks havenwood
[17:26:49] brent__: trying to refactor this code base
[17:29:23] Bounga: has joined #ruby
[17:32:00] Cohedrin: has joined #ruby
[17:32:18] marxarelli: has joined #ruby
[17:38:47] muelleme_: has joined #ruby
[17:38:47] riddley: has joined #ruby
[17:40:19] riddley: Hi folks, I was wondering if anyone is willing to have an OO design discussion with me in PMs... I have a problem that I'm not sure how to handle and it's likely quite lengthy to type out
[17:41:34] patarr: has joined #ruby
[17:42:22] SeepingN: http://download.mgccw.com/mu/subject/app/1443086426598/706_300.jpg
[17:42:39] SeepingN: uhm wow, sorry, so NOT the right channel
[17:42:57] riddley: risky click of the day
[17:43:14] SeepingN: heh ok it's not THAT bad
[17:45:02] nowhereman: has joined #ruby
[17:47:59] baweaver: riddley: I'd just ask questions here honestly
[17:48:03] baweaver: you'll get more answers
[17:48:13] baweaver: and it's not the first super drawn out conversation we've had here ;)
[17:51:09] mjuszczak: has joined #ruby
[17:51:48] jackrandom: has joined #ruby
[17:52:38] soahccc: has joined #ruby
[17:53:45] synthroid: has joined #ruby
[17:54:51] jusa: has joined #ruby
[17:54:52] __Yiota: has joined #ruby
[17:55:11] hobodave: has joined #ruby
[17:59:02] olivier__: has joined #ruby
[17:59:37] xall: has joined #ruby
[17:59:54] mjuszczak: has joined #ruby
[18:01:12] mustmodify: has joined #ruby
[18:01:59] mustmodify: If I need to calculate % change, should I put that in Math? Or like ... Math::PercentChange.for(a, b)? What's an appropriate interface? Right now it's in a view helper. Which is fine except it's harder to test.
[18:04:13] sepp2k: has joined #ruby
[18:06:09] universa1: has joined #ruby
[18:06:38] Guest96: has joined #ruby
[18:08:01] tercenya: has joined #ruby
[18:08:56] cdg: has joined #ruby
[18:09:08] RobertBirnie: has joined #ruby
[18:10:14] cfec0b8d: has joined #ruby
[18:10:38] soloscshaw: has joined #ruby
[18:15:22] minimalism: has joined #ruby
[18:18:41] funnel: has joined #ruby
[18:22:10] jamesaxl: has joined #ruby
[18:22:13] Verity: I was supposed to use raw byte arrays for the arp packets
[18:22:18] Verity: but I didnt want to, so I used packetfu and ruby
[18:22:25] Verity: this might not fly
[18:23:59] riddley: Ok. here goes. I have an app where I'm reading a subset of columns from a database. Each of the columns is a snapshot of information and each of the rows represents a "heartbeat" for other stuff. Users can select which fields of the heartbeat they want to view and many of the fields have "classifiers" that say good/bad/warning as well as possibly having some derived data that currently ends up in the tooltip.
[18:24:38] gusrub: has joined #ruby
[18:25:36] riddley: The app is currently written in a horrible way (by me) and I'd like to make it more Sandy Metz OO style. I've thought about several ways to approach these fields... each as their own HeartBeat object, but that gets messy fast. How do I know what classifier to use? So then I went down the inheritance route and found problems there too.
[18:26:03] ledestin: has joined #ruby
[18:26:40] riddley: I forgot to mention that currently some of the classification depends upon a change from the previous value or an excessive time between values.
[18:26:46] riddley: there are just under 100 columns
[18:26:57] riddley: so I'm hoping to get some code re-use
[18:29:07] rakm: has joined #ruby
[18:33:16] muelleme_: has joined #ruby
[18:34:10] gusrub: has joined #ruby
[18:34:51] hxegon: rage building... https://www.reddit.com/r/changemyview/comments/67nv4f/cmv_the_vi_editor_is_largely_inferior_to_any_gui/
[18:36:38] olivier__: has joined #ruby
[18:38:22] cdg_: has joined #ruby
[18:44:56] blackmesa: has joined #ruby
[18:46:03] hxegon: whoops, thought I was in offtopic
[18:47:59] futilegames: has joined #ruby
[18:48:26] Eiam: has joined #ruby
[18:48:50] dionysus69: whats the good place to start playing with what programming AI is
[18:48:56] dionysus69: if its in ruby, great
[18:50:06] mjuszczak: has joined #ruby
[18:50:23] dminuoso: dionysus69, you mean like #lisp or #prolog ?
[18:52:33] thisguy123: has joined #ruby
[18:54:30] dionysus69: hmm ok I guess I ll google those :D
[18:54:43] dionysus69: heard of lisp but never knew what it's for
[18:55:03] dmtd: has joined #ruby
[19:05:53] Didac: has joined #ruby
[19:06:44] dcunit3d: has joined #ruby
[19:07:23] riddley: ok then :)
[19:08:04] mjuszczak: has joined #ruby
[19:08:31] synthroid: has joined #ruby
[19:09:26] patarr: has joined #ruby
[19:12:16] Rodya_: has joined #ruby
[19:13:09] lhambley: has joined #ruby
[19:14:28] VeryBewitching: has joined #ruby
[19:14:31] bernd27: has joined #ruby
[19:18:22] quobo: has joined #ruby
[19:21:44] soloscshaw: has joined #ruby
[19:22:15] rkellermeyer: has joined #ruby
[19:22:16] klaas: has joined #ruby
[19:23:31] dminuoso: dionysus69, just know that I would only recommend those for the learning experience, not that you would end up writing a better AI with them.
[19:27:29] jenrzzz: has joined #ruby
[19:27:29] jenrzzz: has joined #ruby
[19:28:55] JoshS: has joined #ruby
[19:34:32] KCmetro_: has joined #ruby
[19:36:06] mochiyoda: has joined #ruby
[19:36:48] synthroid: has joined #ruby
[19:36:52] patteh: has joined #ruby
[19:39:25] jrafanie: has joined #ruby
[19:40:31] dcunit3d: has joined #ruby
[19:41:24] __urux__: has left #ruby: ()
[19:43:35] Bounga: has joined #ruby
[19:45:49] futilegames: has joined #ruby
[19:46:23] LightStalker: has joined #ruby
[19:46:46] dc4: has joined #ruby
[19:48:31] dcunit3d: has joined #ruby
[19:48:56] raul782: has joined #ruby
[19:51:10] riddley: has left #ruby: ("Leaving")
[19:51:31] nobitanobi: has joined #ruby
[19:52:36] cdg: has joined #ruby
[19:53:35] mim1k: has joined #ruby
[19:53:40] shinnya: has joined #ruby
[19:56:39] gusrub: has joined #ruby
[19:58:44] gnufied: has joined #ruby
[19:59:49] gusrub: has joined #ruby
[20:03:14] dcunit3d: has joined #ruby
[20:07:05] maattdd: has joined #ruby
[20:07:40] Bounga`: has joined #ruby
[20:09:01] ResidentBiscuit: has joined #ruby
[20:09:26] ResidentBiscuit: has joined #ruby
[20:09:51] ResidentBiscuit: has joined #ruby
[20:10:16] ResidentBiscuit: has joined #ruby
[20:11:03] ResidentBiscuit: has joined #ruby
[20:11:15] olivier__: has joined #ruby
[20:12:50] olivier__: has joined #ruby
[20:15:32] jrafanie: has joined #ruby
[20:17:34] Bounga`: has joined #ruby
[20:17:36] lxsameer: has joined #ruby
[20:25:43] rkazak: has joined #ruby
[20:26:24] mim1k: has joined #ruby
[20:27:57] AndrewIsHere: has joined #ruby
[20:31:07] pupsicle: has joined #ruby
[20:32:51] gnufied: has joined #ruby
[20:33:15] dcunit3d: has joined #ruby
[20:34:52] cpaterson: has joined #ruby
[20:40:09] soloscshaw: has joined #ruby
[20:45:57] synthroid: has joined #ruby
[20:46:05] mim1k: has joined #ruby
[20:46:27] mices: has joined #ruby
[20:50:06] mgorbach: has joined #ruby
[20:51:21] JoshS: has joined #ruby
[20:53:48] rakm: has joined #ruby
[20:59:22] boombox_: has joined #ruby
[21:03:08] mjuszczak: has joined #ruby
[21:04:32] tomphp: has joined #ruby
[21:06:02] jenrzzz: has joined #ruby
[21:06:02] jenrzzz: has joined #ruby
[21:07:25] blackmesa: has joined #ruby
[21:08:00] Fin1te: has joined #ruby
[21:08:48] ForeignBiscuit: has joined #ruby
[21:11:11] machty: man, getting by butt kicked
[21:11:41] machty: I'm using IO.pipe and a separate thread to read chunks from HTTP and write to the pipe, and i'm passing the read side to CSV.new(rd)
[21:11:52] blackmesa: has joined #ruby
[21:11:54] machty: but the csv immediately thinks the it has reached eof
[21:12:04] machty: and doesn't parse/produce any rows
[21:12:11] machty: rd.gets works just fine
[21:12:25] machty: each_line and variants work just fine, but CSV is barfing. wtf could be the issue?
[21:15:46] olivier__: has joined #ruby
[21:16:56] jenrzzz: has joined #ruby
[21:16:56] jenrzzz: has joined #ruby
[21:17:31] twistedpixels_: has joined #ruby
[21:18:03] gusrub: has joined #ruby
[21:19:55] mim1k: has joined #ruby
[21:21:15] brent__: has joined #ruby
[21:23:00] jenrzzz: has joined #ruby
[21:23:00] jenrzzz: has joined #ruby
[21:26:13] machty: nvm, i'm just not going to use CSV.new but do a piecemeal CSV.parse
[21:26:17] machty: toooooo much magic
[21:27:02] twistedpixels_: has joined #ruby
[21:30:43] esObe__: has joined #ruby
[21:32:27] workmad3: has joined #ruby
[21:34:56] swills: has joined #ruby
[21:39:20] mim1k: has joined #ruby
[21:40:49] duderonomy: has joined #ruby
[21:40:54] soloscshaw: has joined #ruby
[21:44:43] twistedpixels_: has joined #ruby
[21:47:33] millerti: has joined #ruby
[21:48:16] gusrub: has joined #ruby
[21:50:13] jusa: has joined #ruby
[21:50:46] griff: has joined #ruby
[21:52:18] nobitanobi: has joined #ruby
[21:52:40] auv: has joined #ruby
[21:58:36] esObe_: has joined #ruby
[21:58:40] fschuindt: has joined #ruby
[22:00:30] ruby[bot]: has joined #ruby
[22:00:30] ChanServ: +o ruby[bot]
[22:00:33] fschuindt: What do I need to do in order to rubydoc.info parse my doc with markdown? It parsered my README.md but not my source files: http://www.rubydoc.info/gems/firebase_id_token/FirebaseIdToken/Certificates
[22:03:56] cpaterson: has joined #ruby
[22:06:47] marlinc: has joined #ruby
[22:07:27] olivier__: has joined #ruby
[22:08:49] twistedpixels_: has joined #ruby
[22:11:45] PaulCapestany: has joined #ruby
[22:15:13] mices: has joined #ruby
[22:22:25] rhyselsmore: has joined #ruby
[22:22:43] beauby: has joined #ruby
[22:25:03] tvw: has joined #ruby
[22:29:29] Silthias1: has joined #ruby
[22:36:17] kristofferR: has joined #ruby
[22:41:44] soloscshaw: has joined #ruby
[22:44:42] GSilva: has joined #ruby
[22:50:05] Klumben: has joined #ruby
[22:58:21] binaryplease: has joined #ruby
[23:02:31] KCmetro: has joined #ruby
[23:02:57] esObe_: has joined #ruby
[23:03:28] sfdebug: has joined #ruby
[23:03:39] sfdebug: hi, does anyone know what does this means?
[23:03:40] sfdebug: root@jenkins-desktop:/var/railselector# thin
[23:03:40] sfdebug: /usr/lib/ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find thin (>= 0) amongst [arel-8.0.0, arel-5.0.1.20140414130214, builder-3.2.3, builder-3.2.2, bundler-1.14.6, bundler-unload-1.0.2, cld-0.7.0, coffee-script-source-1.12.2, coffee-script-source-1.7.1, daemons-1.2.4, daemons-1.1.9, did_you_mean-1.1.2, did_you_mean-1.1.0, erubis-2.7.0, eventmachine-1.0.4, execjs-2.2.1, executable-hooks-1.3.2, fast-stemmer-1.0.2, ffi-1.9.18, ffi-1.9.3, gem
[23:03:40] sfdebug: -wrappers-1.2.7, god-0.13.4, hike-1.2.3, i18n-0.6.11, ione-1.2.4, log4r-1.1.10, mime-types-1.25.1, minitest-5.10.1, minitest-5.4.0, multi_json-1.10.1, net-telnet-0.1.1, polyglot-0.3.5, power_assert-0.4.1, rack-1.5.2, rake-12.0.0, rake-10.3.2, ruby-stemmer-0.9.6, ruby-stemmer-0.9.3, rubygems-bundler-1.4.4, rvm-1.11.3.9, sass-3.2.19, simple_uuid-0.4.0, spring-1.1.3, sqlite3-1.3.9, test-unit-3.2.3, thor-0.19.1, thread_safe-0.3.4, thrift-0.8.0, tilt-1.4.1, xmlr
[23:03:46] sfdebug: pc-0.2.1, yajl-ruby-1.3.0, yard-0.9.9, yard-0.8.7.4] (Gem::LoadError)
[23:03:48] sfdebug: from /usr/lib/ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
[23:03:49] rkazak: has joined #ruby
[23:03:50] sfdebug: from /usr/lib/ruby/1.9.1/rubygems.rb:1231:in `gem'
[23:03:52] sfdebug: from /usr/local/bin/thin:22:in `<main>'
[23:03:54] sfdebug: root@jenkins-desktop:/var/railselector#
[23:09:29] havenwood: sfdebug: Please use a gist and give us a link instead of pasting multiple lines.
[23:09:42] gusrub: has joined #ruby
[23:09:43] sfdebug: havenwood, sorry
[23:09:45] ruby[bot]: https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
[23:09:51] havenwood: sfdebug: Is thin in your Gemfile?
[23:10:08] havenwood: sfdebug: If it isn't, add `gem 'thin'` to your Gemfile, run `bundle`, then try?: bundle exec thin
[23:10:47] sfdebug: i dont know, i not a ruby programming, i'm trying to run a program a friend coded here on work..
[23:11:09] havenwood: sfdebug: Is there a file in the project's root directory named?: Gemfile
[23:11:33] havenwood: sfdebug: Does it have the line?: gem 'thin'
[23:11:45] sfdebug: yep, have it...
[23:11:52] havenwood: sfdebug: Run: bundle
[23:12:03] havenwood: sfdebug: If you don't have Bundler installed, first run: gem install bundler
[23:12:14] sfdebug: gave an error...
[23:12:22] havenwood: what error?
[23:12:41] havenwood: sfdebug: If the error is related to Bundler missing: gem install bundler
[23:12:54] sfdebug: https://gist.github.com/anonymous/33e9bd9cf75eeed0cdfdfcdb552c5b22
[23:14:15] havenwood: sfdebug: That version of the json gem probably isn't compatible with your newer Ruby.
[23:14:34] havenwood: sfdebug: bundle update json
[23:14:34] sfdebug: root@jenkins-desktop:/var/railselector# ruby --version
[23:14:34] sfdebug: ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux]
[23:14:55] havenwood: sfdebug: you might want to try updating ^ the json gem in your bundle
[23:15:08] sfdebug: gave other error
[23:15:17] havenwood: what's the new error?
[23:15:30] sfdebug: https://gist.github.com/anonymous/0014409c6ef647f27448d9249f37a895
[23:15:51] sfdebug: when running `bundle update json`
[23:15:52] havenwood: (this is the fun of getting apps with older deps working on newer rubies)
[23:15:54] mices: has joined #ruby
[23:16:02] havenwood: sfdebug: What os/distro are you on?
[23:16:09] sfdebug: ubuntu 14.04
[23:16:42] Rodya_: has joined #ruby
[23:16:46] havenwood: sfdebug: sudo apt-get install ruby-dev
[23:17:14] havenwood: sfdebug: Make sure you have ruby-dev package so you can build extensions.
[23:17:17] sfdebug: "ruby-dev is already the newest version."
[23:17:21] havenwood: sfdebug: kk
[23:17:29] havenwood: sfdebug: is make installed?
[23:18:05] havenwood: sfdebug: You might want to try updating sprockets in your bundle as well: bundle update sprockets
[23:18:44] sfdebug: https://gist.github.com/anonymous/ccb53c74be52838891896fe6f579bdbc
[23:19:09] havenwood: sfdebug: Looks like json never got its version bumped
[23:20:00] olivier__: has joined #ruby
[23:20:13] choke: has joined #ruby
[23:20:53] akkad: has joined #ruby
[23:21:16] havenwood: sfdebug: You might want to use a bit older Ruby if you're working with a legacy app whose deps have not been recently updated.
[23:21:36] sfdebug: how do i do that?
[23:21:40] sfdebug: using rvm?
[23:21:51] havenwood: sfdebug: Or prepare to update the gems that need updating.
[23:21:53] havenwood: sfdebug: Sure, that works: rvm install ruby 2.2
[23:22:34] sfdebug: let me see
[23:23:09] mgorbach: has joined #ruby
[23:23:15] sfdebug: another thin error
[23:23:16] sfdebug: https://gist.github.com/anonymous/6d6279173e872635cc66bc6f9a0f109e
[23:23:21] sfdebug: with other packages..
[23:23:37] sfdebug: less packages than before
[23:23:39] cdg: has joined #ruby
[23:23:47] gusrub: has joined #ruby
[23:30:19] sfdebug: havenwood, i tried to install the gem packages that were mentioned:
[23:30:20] sfdebug: https://gist.github.com/anonymous/94d09480545560ed9cb6797a3b17a926
[23:30:46] sfdebug: but when running thin it gives the same error, telling something about that gem packages...
[23:31:23] havenwood: sfdebug: Try: bundle && bundle exec thin
[23:31:40] sfdebug: let me see
[23:31:44] pilne: has left #ruby: ("Leaving!")
[23:32:59] sfdebug: i have to run thin with bundle exec?
[23:33:28] havenwood: sfdebug: Actually, since you're on RVM you can probably now get away with omitting it, since rubygems-bundler gem will do that for you.
[23:33:54] sfdebug: without gave a big error...
[23:35:14] havenwood: sfdebug: prefixing `bundle exec` run thin in "the context of your bundle", meaning using the exact versions specified in the Gemfile.lock
[23:35:28] jhack: has joined #ruby
[23:35:58] sfdebug: the program runs but dont work... kakaka
[23:38:13] olivier__: has joined #ruby
[23:42:48] soloscshaw: has joined #ruby
[23:47:42] flying: has joined #ruby
[23:49:59] Rodya_: has joined #ruby
[23:51:07] jusa: has joined #ruby
[23:52:31] alem0lars: has joined #ruby
[23:53:20] Verity: why not write all the things in ruby
[23:55:46] Cohedrin: has joined #ruby
[23:57:02] cschneid_: has joined #ruby
[23:57:32] jamesaxl: has joined #ruby
[23:58:59] ruby-lang322: has joined #ruby