« Back to channel list

#ruby - 26 July 2015

« Back 1 day Forward 1 day »
[00:04:14] hahuang65: has joined #ruby
[00:05:23] dimasg: has joined #ruby
[00:05:48] bb010g: has joined #ruby
[00:06:56] kazoo: has joined #ruby
[00:07:05] Guest78802: has joined #ruby
[00:15:08] omegamike: has joined #ruby
[00:15:28] kazoo: has joined #ruby
[00:17:41] shevy: and more! if I remember correctly, php had about 660 or so
[00:18:07] shevy: php has a lot of spaghetti design
[00:18:12] christiandsg: has joined #ruby
[00:18:13] ellisTAA: has joined #ruby
[00:23:19] tubulife-: has joined #ruby
[00:24:24] lannonbr: has joined #ruby
[00:24:31] diegoviola: shevy: what do you mean spaghetti design?
[00:24:44] shevy: try to follow its design
[00:24:50] shevy: it's a spaghetti
[00:24:55] diegoviola: shevy: do you have any data to prove your point?
[00:25:01] shevy: look at it?
[00:25:17] diegoviola: shevy: you mean the PHP implementation codebase?
[00:25:24] shevy: I meant php
[00:26:28] diegoviola: that's vague
[00:26:51] shevy: it's perfectly complete. If you do not know php, get to learn it: https://secure.php.net/
[00:27:06] nolbuk: has joined #ruby
[00:27:31] diegoviola: who said I don't know it
[00:27:39] shevy: ah so you know it
[00:27:47] shevy: then why do you ask?
[00:27:48] nobitanobi: has joined #ruby
[00:28:07] diegoviola: shevy: you said that php code is spaghetti, I asked you what code is spaghetti exactly
[00:28:49] shevy: I did not say that "php code is spaghetti" - I wrote that php has a lot of spaghetti design
[00:28:57] diegoviola: shevy: ok sorry then
[00:29:11] diegoviola: shevy: I realize Ruby is a nicer language
[00:29:25] prestorium: has joined #ruby
[00:29:45] shevy: I think projects with a head lead often work much better, perl back in the days, python, matz, linux kernel
[00:29:52] shevy: shoes when _why was around
[00:30:45] shevy: I struggled immensely to write an IRC bot in php back when I used php
[00:31:11] ts310: has joined #ruby
[00:31:20] dimasg: has joined #ruby
[00:31:26] hahuang65: has joined #ruby
[00:31:35] shevy: in ruby the same was easier. I had more help from others but eventually finished with the IRC bot
[00:32:12] shevy: and DanFredriksen is about to embark on a new journey
[00:32:41] diegoviola: shevy: yes I also prefer to write ruby code
[00:32:46] tabakhase: Hi there, so i made some progress in the last 24hours :P, but now im landing with a few ?? that i could use some input on:
[00:33:35] NeverDie: has joined #ruby
[00:33:46] tabakhase: does one Gemfile without bundeling? is that "usual"? do i putt a app.rb for this and create a rake taget -- or do i put stuff like the looLogic into my lib/ stuff to?
[00:34:17] tabakhase: if so, can i split/glue those together for a "app" and "analizer" part? (i consume logfile and alayze a little + stdout)
[00:34:26] railswebdev: has joined #ruby
[00:34:31] shevy: I think bundler introduced those Gemfile files
[00:35:11] tabakhase: im aware that those are very rogth design questions with not a "correct" answer without knowing my full story, but even I dont know it yet :P - im still in that understanding phase of what is even what :P
[00:35:48] arooni-mobile: has joined #ruby
[00:36:15] DanFredriksen: shevy: yes :3. Ruby on rails seems to be well founded. Perfect for web applications. But python will also be useful outside the web.
[00:37:13] shevy: I don't use rails
[00:37:13] culturelabs: has joined #ruby
[00:37:16] DanFredriksen: you dn't really have to know that much. Basic arithmetics, flow control, print and database queries, and you're set.
[00:37:26] tabakhase: one way gems make it kinda look like for libs only (like a dll would be to c) - but at the same time i have gems that are actually executables, is that just the main class? or some special start rake? or what the deleo for this stuff?
[00:37:45] houhoulis: has joined #ruby
[00:37:54] valetudo: has joined #ruby
[00:38:15] shevy: tabakhase I have no idea about bundler and gemfiles, but I have some ideas about gems. the "executables" are just put into the bin/ directory of the respective gem at hand
[00:38:44] apeiros: tabakhase: you get a gem with an executable by adding a `bin` dir, put file in there, chmod it to be executable, and add it in the gemspec
[00:38:45] shevy: the idea is that you could "gem install name", and often enough there will also be a bin/name file, which then provides that commandline invokation for it. like "name --help"
[00:38:48] amitchellbullard: has joined #ruby
[00:39:42] nsuke: has joined #ruby
[00:39:46] apeiros: spec.executables is the relevant gemspec directive
[00:39:52] apeiros: *spec.executables=
[00:39:57] tabakhase: shevy my "start" is a gem init or so, this put be a bin with "setup" and "console" (one beeing the bundler install call, the other a terminal loading the lib beforehand (irb thingy)
[00:40:10] shevy: ohhh cool, I was unaware of .executables=
[00:40:26] tabakhase: s//this put me a /bin/"
[00:40:38] hj2007: has joined #ruby
[00:40:58] nofxx: anyone using gitlab-ci ? all running but runner doesn't run. It's paradoxical.
[00:41:19] nofxx: hehe it's running but doesn't start any job
[00:41:43] shevy: tabakhase I have absolutely no idea what bundler does, I settled for plain old .gemspec
[00:41:54] shevy: it sounds very confusing from reading your description :D
[00:42:16] tabakhase: like my bin/start right now is a "#!/bin/bash bundle exec rake start" and i have a rake for "ruby -I lib app.rb"
[00:42:30] shevy: in the simplest case, the bin/foo script just delegates towards some .rb file in the lib/* subdirectory of that gem
[00:42:40] apeiros: tabakhase: your shebang should be `#!/usr/bin/env ruby`
[00:42:44] tabakhase: and yay its very confusing for me too ;D i feel like i have 3 diffrent "methods" mixed in there or so...
[00:43:24] apeiros: when installing it with rubygems, the shebang will be overridden anyway.
[00:43:37] nofxx: tabakhase, usually you'll see inside bin/file just two lines, the shebang as apeiros said and something like YourLib::CLI.start(ARGV)
[00:43:51] nofxx: or CLI.new .. whatever
[00:44:04] apeiros: yepp, YourLib::Cli.run(ARGV) is my preferred method
[00:45:18] apeiros: and you'd also usually have require 'your_lib/cli' in that executable file ;-)
[00:45:25] nofxx: apeiros, yeah.. I use #run everywhere hehe
[00:45:30] nofxx: apeiros, ops, true.. 3 lines
[00:45:40] apeiros: nofxx: we should use .call 0:-)
[00:45:45] tabakhase: and me beeing unsure what is the one i actually need does not make it easyer i know ;F
[00:46:11] shevy: in the beginning there was light
[00:46:11] apeiros: tabakhase: IMO forget about bundler and Gemfile for the start
[00:46:13] nofxx: apeiros, shevy one thing I'm using for this .gemspec Gemfile thing is .gemspec on has require, no development_dependency.. let them only on Gemfile. It works better imho
[00:46:16] shevy: then came rubygems, and then came bundler
[00:46:31] nofxx: .gemfile only has depency() no development_dependency()*
[00:46:36] apeiros: they're tools to add later. they make certain things easier (bundler & Gemfile belong together, though current rubygems can do stuff with Gemfile too by now)
[00:46:48] shevy: actually, setup.rb came before rubygems... but nobody seems to use it these days except for me :(
[00:46:59] nofxx: shevy, long time no see
[00:47:05] nofxx: too pythonish =D
[00:47:15] apeiros: shevy: yeah, setup.rb got supplanted by rubygems with 1.9 having it bundled
[00:47:39] user1138: has joined #ruby
[00:48:03] tabakhase: apeiros forgett about bundler? that seemed to be the sweetest of all the parts till now...
[00:48:50] shevy: it's probably also the most complicated one to understand for you right now :P
[00:49:02] apeiros: tabakhase: the only thing it offers you over plain rubygems is isolation. that is, if you have multiple versions of a gem installed, ensure that only the version listed in Gemfile.lock is used.
[00:49:07] shevy: you could read its docu though: http://bundler.io/#getting-started
[00:49:19] apeiros: and that's most likely irrelevant at this point.
[00:49:32] nofxx: wait, you should NOT push .lock on gems!
[00:49:41] apeiros: also I'm think rubygems can do that too by now, not sure though.
[00:49:56] nofxx: only the Gemfile, use it for dev gems as I said.. works very fine tabakhase
[00:50:03] shock_one: has joined #ruby
[00:50:24] tabakhase: i can fire a vargrant, install bundler, bundler instal; rake exec start (ruby -I lib app.rb) and its working including "my own lib" (app.rb is my starter, but also doing more management by now that should get moved into "my lib" and i can put others libs in my gemfile and get them installed and such...
[00:50:48] zrl: has joined #ruby
[00:50:56] nofxx: tabakhase, on .gemspec: only the #add_dependency , on Gemfile: gem 'spec', gem whatever for DEV. And add Gemfile.lock to gitignore.
[00:51:11] banister: apeiros we're both dutch (or similar to dutch like swiss or german or sth, all the same diff (just a bunch of fluffy haired europeans)) i think it's about time we slept
[00:51:30] apeiros: nofxx: there's add_development_dependency
[00:51:53] nofxx: apeiros, imho it works better those on Gemfile, so you can even use git version and whatnot
[00:52:05] nofxx: Gemfile has `gemspec` and dev gems
[00:53:03] tabakhase: i have a gemspec for my lib too, but it has lot of copypasted junk i didnt looked up yet
[00:53:23] nofxx: apeiros, env vars for CI, change some lib version for instance
[00:54:15] Ox0dea: has joined #ruby
[00:54:17] nofxx: tabakhase, we are > 20min talking about your gemspec and you didn't knew it existed?
[00:54:29] mistermocha: has joined #ruby
[00:54:39] nofxx: its where you should but the executables that were mentioned
[00:54:48] nofxx: gem.executables config*
[00:55:14] tabakhase: " spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }" --- what shipped by ?i belive? bundler --init
[00:55:33] shevy: you can use a .gemspec file for building a .gem of that project
[00:56:12] hahuang65: has joined #ruby
[00:57:53] tabakhase: nofxx and i was well aware of it ;-) - ive just never touched ruby, but im +5y in dev in general
[00:58:13] tabakhase: just need to understand a few things how ruby wants it things organized
[00:58:26] apeiros: tabakhase: guides.rubygems.org
[00:58:45] apeiros: all you need to start. and then move on to bundler to get additional goodies.
[00:59:25] Limix: has joined #ruby
[01:00:21] Maletor: has joined #ruby
[01:00:57] tabakhase: ive been to hola.gem yep ;D
[01:01:42] nofxx: tabakhase, hehe, cool. It's pretty simple... it all comes from the .gemspec (how to make your project a .gem)
[01:01:55] Ox0dea: DanFredriksen: Are you still considering learning Ruby?
[01:02:23] dgutierrez1287: has joined #ruby
[01:02:41] ellisTAA: has joined #ruby
[01:02:47] nofxx: tabakhase, check out too the Rakefile for bundler: require 'bundler/gem_tasks' .. You'll get all handy tasks like gem build
[01:02:49] DanFredriksen: Ox0dea: I'll give it a look. Right now I just gotta finish my last php project ever. I'm sick of it.
[01:03:18] tabakhase: skipped over the "ADDING AN EXECUTABLE" part, that then also kinda clears up the "providers" in the bin dir
[01:03:21] ellisTAA: has joined #ruby
[01:03:40] tabakhase: so my bin/irb "could" but not "is" used when someone would install the gem
[01:04:15] Ox0dea: How'd you get a `bin/irb`?
[01:04:21] shevy: he puts one there!
[01:04:46] shevy: tabakhase's irb implementation: loop { 'hello from hase' }
[01:05:23] tabakhase: bin/irb -> bundle exec rake irb -> another bin/console that i actually #!/usr/bin/env ruby; require bundler/setup; require myLib
[01:05:50] Hackbinary: has joined #ruby
[01:06:07] workmad3: has joined #ruby
[01:06:23] Ox0dea: Erm... why doesn't the default `bin/console` suffice?
[01:08:15] tabakhase: EOL is my lib/myLib.rb has a start method that is most of my app, but not the actuall call --- app.rb is myLib.run -- and i add a bin/ for that in my gemspec as executable
[01:09:03] centrx: has joined #ruby
[01:09:15] tabakhase: or is that app.rb in the root a broken think and should be a main.rb in lib? - or _everything_ packed in the lib and "tell the user to always rake it" / use the run binary / install and use executable
[01:09:42] tabakhase: does that sound like my understanding is going the right way? ;D
[01:09:45] hahuang65: has joined #ruby
[01:09:47] Ox0dea: Not entirely. :/
[01:10:18] ruby-lang661: has joined #ruby
[01:10:42] ruby-prudi: has joined #ruby
[01:11:04] tabakhase: just overconfused by the split of gem install to run a executable -- to gems i load that are just libs - and how ill be two at the same time or so...
[01:11:30] petems: has joined #ruby
[01:11:33] ruby-prudi: Hello! What are the disadvanteges of turbolinks in rails app?
[01:11:55] Ox0dea: tabakhase: To be clear, you want to distribute an executable that the user can run without having to install your thing?
[01:12:35] Lexun: has joined #ruby
[01:12:36] spastorino: has joined #ruby
[01:12:47] tabakhase: Ox0dea i guess not - but i belive i want it there to start it directly from source on my dev or now?
[01:14:54] Rubie: has joined #ruby
[01:15:37] amystephen: has joined #ruby
[01:15:59] Ox0dea: tabakhase: Your code goes in lib/, your executable in bin/, and you add it to spec.executables. Your users will be able to run your thing like any other program after `gem install thing`.
[01:16:17] sharpmachine: has joined #ruby
[01:16:24] Ox0dea: As for experimenting with your thing in development, the default `bin/console` is set up to load your thing and drop you into `irb` when you say `bundle console`.
[01:17:03] ruby-prudi: Why turbolinks is not good for client-side view rendering?
[01:17:10] Bish: is there a cool way to have something node.js like in ruby?
[01:17:21] Ox0dea: Bish: Please elaborate.
[01:17:44] Bish: im developing a single page application in angular, and need something for my backend
[01:17:58] tabakhase: so app.rb goes into bin not root, not lib/ --- NetBeans want my "starter" to be in lib, while the lib is there no "run" call is issued (lib/main.rb?) 1/2
[01:18:24] Bish: i love ruby, and would like to use it as backend, i tried sinatra, and ruby from scratch with unicorn, but im not happy with those
[01:18:27] tabakhase: but to actually run it i use the bin/rake task, so its not a real issue thing, just confused 2/2
[01:18:29] Ox0dea: Ah, you've tethered yourself to an IDE, then. :/
[01:18:55] tabakhase: running that inside my vargrant anyway (curl on win7 (puke))
[01:19:43] tabakhase: also for redis and such, so no issue as sayd, its just "diffrent from what i see elsewhere"
[01:21:09] Bish: Ox0dea, i love the way nodejs does it, but i would prefer ruby
[01:22:22] havenwood: has joined #ruby
[01:22:34] orbitalo: has joined #ruby
[01:23:02] tabakhase: ill slim down and reorganize my blob a bit and see where i get, thank you all so far for the help, cleared up some things =) ill be back ;P
[01:24:49] dseitz: has joined #ruby
[01:25:01] fullofcaffeine: has joined #ruby
[01:29:45] troulouliou_dev: has joined #ruby
[01:30:06] hahuang65: has joined #ruby
[01:30:27] eggoez: has joined #ruby
[01:32:24] jottr: has joined #ruby
[01:33:52] juanpablo_: has joined #ruby
[01:34:35] mjuszczak: has joined #ruby
[01:35:09] michael_mbp: has joined #ruby
[01:37:04] decaff: has joined #ruby
[01:38:00] iateadonut: has joined #ruby
[01:38:46] hahuang65: has joined #ruby
[01:42:03] jbw: has joined #ruby
[01:44:26] ramblinpeck: has joined #ruby
[01:45:04] radgeRayden: has joined #ruby
[01:46:29] nickfausnight: has joined #ruby
[01:46:57] texasmade: has joined #ruby
[01:48:32] RegulationD: has joined #ruby
[01:50:26] stardiviner: has joined #ruby
[01:54:00] Hanmac: has joined #ruby
[01:54:07] segy: has joined #ruby
[01:54:39] robbyoconnor: has joined #ruby
[01:54:51] troter___: has joined #ruby
[01:55:01] Stratege__: has joined #ruby
[01:55:37] swgillespie: has joined #ruby
[01:59:55] mistermocha: has joined #ruby
[02:00:21] Westerbly_: has joined #ruby
[02:03:56] omegamike: has joined #ruby
[02:04:34] j4cknewt: has joined #ruby
[02:06:07] havenwood: has joined #ruby
[02:07:16] sdothum: has joined #ruby
[02:07:46] Channel6: has joined #ruby
[02:08:10] vdamewood: has joined #ruby
[02:09:41] chipotle: has joined #ruby
[02:10:25] AdamMeghji: has joined #ruby
[02:10:36] hahuang65: has joined #ruby
[02:11:28] tubulife-: has joined #ruby
[02:14:36] bmcginty: Bish: are you talking about asynchronous processing of requests?
[02:16:38] Ox0dea: Bish: Or is it that you like your functions to look like they've been Hadouken'd?
[02:24:27] bmurt: has joined #ruby
[02:25:19] havenwood: has joined #ruby
[02:25:26] kies^: has joined #ruby
[02:25:51] tabakhase: is it correct that with the "spec.files = `git ls-files -z`" part my gemball also has stuff like my gitignore with it? (i mean its obvious why it is, but is it supposed to be like that?
[02:26:06] tabakhase: or am i better of with smth like "gem.files = Dir['Rakefile', '{bin,lib,man,test,spec}/**/*', 'README*', 'LICENSE*'] & `git ls-files -z`.split("\0")"
[02:29:01] cytoskeletor: has joined #ruby
[02:30:36] Ox0dea: tabakhase: It's rather easy to argue the case that everything you've committed is something you'd want other potential developers to have access to.
[02:30:58] Maletor: has joined #ruby
[02:33:10] jottr: has joined #ruby
[02:33:21] hahuang65: has joined #ruby
[02:34:28] JohnFord: has joined #ruby
[02:34:52] tejasmanohar: has joined #ruby
[02:35:03] havenwood: has joined #ruby
[02:38:23] willywos: has joined #ruby
[02:46:16] railswebdev: has joined #ruby
[02:46:26] Mendenhall: has joined #ruby
[02:50:39] ellisTAA: has joined #ruby
[02:50:58] diego1: has joined #ruby
[02:52:07] hahuang65: has joined #ruby
[02:52:11] konsolebox: has joined #ruby
[02:52:30] tabakhase: Ox0dea so i rather take all? - it was coplayinging about two bash files then, two of those are fine to be replaced by rakes, but one "dev tool" is not -- another bash script in the root was okay doe --
[02:52:31] chinmay_dd: has joined #ruby
[02:53:15] tabakhase: so should i have "exe" for the executables i ship and keep "bin" to my actual added bin to develop or so? (mounting it into vagrand with chmods)
[02:53:15] christiandsg: has joined #ruby
[02:54:52] workmad3: has joined #ruby
[02:55:00] durazno: has joined #ruby
[02:56:05] tabakhase: hm, forgett what i sayd, git fooled me
[02:56:30] scpike: has joined #ruby
[02:56:49] PhantomS_: has joined #ruby
[02:57:20] shinnya: has joined #ruby
[02:57:26] yfeldblum: has joined #ruby
[03:01:28] Vile`: has joined #ruby
[03:05:26] cytoskeletor: has joined #ruby
[03:06:17] yeticry: has joined #ruby
[03:06:54] icebourg: has joined #ruby
[03:08:34] weemsledeux: has joined #ruby
[03:09:12] texasmade: has joined #ruby
[03:09:23] braincrash: has joined #ruby
[03:10:31] mistermocha: has joined #ruby
[03:10:35] kies^: has joined #ruby
[03:11:31] hahuang65: has joined #ruby
[03:14:13] bronson: has joined #ruby
[03:17:11] fullofcaffeine: has joined #ruby
[03:17:22] yeticry: has joined #ruby
[03:18:33] j4cknewt: has joined #ruby
[03:20:47] portiad: has joined #ruby
[03:22:31] juanpablo_: has joined #ruby
[03:25:39] michael_mbp: has joined #ruby
[03:25:48] decaff: has joined #ruby
[03:25:53] yeticry: has joined #ruby
[03:27:53] dgutierrez1287: has joined #ruby
[03:29:03] nettoweb: has joined #ruby
[03:30:23] willywos_: has joined #ruby
[03:30:53] darkf: has joined #ruby
[03:31:35] Lexun: has joined #ruby
[03:31:59] hahuang65: has joined #ruby
[03:32:15] baweaver: has joined #ruby
[03:33:00] ecksit: has joined #ruby
[03:34:50] nettoweb_: has joined #ruby
[03:35:36] JoshGlzBrk: has joined #ruby
[03:35:50] dopie: has joined #ruby
[03:38:58] howdoi_: has joined #ruby
[03:39:30] duncannz: has joined #ruby
[03:40:38] duncannz: has joined #ruby
[03:41:40] michael_mbp: has joined #ruby
[03:42:06] danielpclark: has joined #ruby
[03:42:40] chinmay_dd: has joined #ruby
[03:46:17] nettoweb: has joined #ruby
[03:46:53] neektza: has joined #ruby
[03:47:08] gix: has joined #ruby
[03:49:40] psye: has joined #ruby
[03:49:46] hahuang65: has joined #ruby
[03:51:47] omegamike: has joined #ruby
[03:53:13] tejasmanohar: has left #ruby: ("WeeChat 1.1.1")
[03:53:53] nettoweb: has joined #ruby
[03:55:47] xxneolithicxx: has joined #ruby
[03:58:10] nettoweb: has joined #ruby
[03:59:38] tubulife-: has joined #ruby
[04:01:25] rbowlby: has joined #ruby
[04:03:51] jack_rabbit: has joined #ruby
[04:04:29] rflot: has joined #ruby
[04:08:40] NodeBoy: has joined #ruby
[04:10:26] hahuang65: has joined #ruby
[04:11:08] [k-: has joined #ruby
[04:11:54] NodeBoy: dog>cat. cat are evil unloyal creature
[04:13:31] mistermocha: has joined #ruby
[04:13:36] sevenseacat: has joined #ruby
[04:15:42] havenwood: has joined #ruby
[04:16:16] decaff: has joined #ruby
[04:18:01] arup_r: has joined #ruby
[04:18:05] musl: has joined #ruby
[04:18:06] rickmasta: has joined #ruby
[04:18:51] Zedi: has joined #ruby
[04:20:16] hahuang65: has joined #ruby
[04:21:05] leat3: has joined #ruby
[04:21:53] Ox0dea: has joined #ruby
[04:22:06] Ox0dea: NodeBoy: You begged the question twice there.
[04:22:23] NodeBoy: i begged a question?
[04:22:38] NodeBoy: do you mean i asked a question?
[04:22:45] Ox0dea: I do not.
[04:22:48] alfajor: has joined #ruby
[04:22:56] NodeBoy: what exactly do you mean by begging a question?
[04:22:58] NodeBoy: what context?
[04:23:01] NodeBoy: what question did i beg?
[04:23:06] [k-: cats > dogs
[04:23:07] NodeBoy: this is too little info for me to work with
[04:23:19] rickmasta: has joined #ruby
[04:23:31] Ox0dea: NodeBoy: I'm afraid you don't seem to possess a solid understanding of the phrase.
[04:23:40] NodeBoy: I know what begging a question means
[04:23:47] NodeBoy: I'm asking you what question my behaviour begged
[04:23:51] lavros: has joined #ruby
[04:23:57] Ox0dea: It's nothing to do with your behavior.
[04:23:58] [k-: I think he meant that you should explain
[04:24:13] NodeBoy: well maybe he should stop being a cryptic faggot and say it
[04:24:30] NodeBoy: i asked him multiple times
[04:24:34] NodeBoy: what context
[04:24:35] Ox0dea: The truth of your comparison relies on the presumption that evil is inherently "lesser", and that loyalty is necessarily "good".
[04:24:40] NodeBoy: or what behaviour
[04:24:54] NodeBoy: well there were a lot of question that could had been begged from that statement
[04:25:02] Ox0dea: No, just the two.
[04:25:11] NodeBoy: one would be "why did you post that here". another would be "what do you mean dogs are better?"
[04:25:21] NodeBoy: and theres possibly more
[04:25:30] NodeBoy: maybe "who are you?". "why are you here"
[04:25:41] Zedi: Can???t we just snack on some Beggin??? Strips and be nice?
[04:25:44] NodeBoy: but if you leave it up to me to decide, then i cannot satisfy you. i needed more info
[04:25:47] Ox0dea: You really ought to go off and learn what it actually means to beg the question.
[04:26:04] NodeBoy: Ox0dea:you really ought to stop wasting time by not being a cryptic faggot
[04:26:09] bmcginty: Zedi: Nom. Thanks. And no bacon here to speak of.
[04:26:16] NodeBoy: and when i said dogs > cats. i mean i like them better
[04:26:20] NodeBoy: there is nothing better or worse
[04:26:28] NodeBoy: in the animal world. these are just animals lol
[04:26:35] [k-: Begging the Question??is a fallacy in which the premises include the claim that the conclusion is true or (directly or indirectly) assume that the conclusion is true.
[04:26:37] NodeBoy: but some animals are better at certain things
[04:26:43] NodeBoy: than others
[04:26:44] bmcginty: NodeBoy: Do you have...erm...a ruby question or comment, or something of the sort?
[04:27:01] NodeBoy: bmcginty: that could be a question my behaviour begged as wellw
[04:27:04] NodeBoy: if you think about it
[04:27:29] tabakhase: run from inside my repo the executable form of my gem thing starts just fine --- but when im "somewhere else" bundler fails discovering the gemfile - something is the wrong way around...
[04:27:31] NodeBoy: i just dont like when idiots try to act smart but leave the main piece of their question/statement out
[04:27:36] Zedi: I???ve been here less than 10 minutes, and I???m certainly wondering why I wouldn???t leave.
[04:27:40] [k-: petitio principii??
[04:27:43] NodeBoy: just to work around and use bigger words/better phrases
[04:27:51] Zedi: Just to fill in you guys who like sniping at each other.
[04:28:09] NodeBoy: dont ask me stupid questions then
[04:28:11] [k-: Ox0dea is a fun and intelligent guy.
[04:28:20] NodeBoy: well maybe he should show that side
[04:28:26] NodeBoy: first impressions
[04:28:27] [k-: You are the one who refused to look up the question.
[04:28:35] NodeBoy: the begging the question thing again?
[04:28:40] [k-: You just blow up the matter
[04:28:42] NodeBoy: hes the idiot who was asking cryptic questions
[04:28:52] NodeBoy: theres too many questions that my behaviour begged
[04:28:57] NodeBoy: to select from
[04:28:58] Zedi: Don???t beg the question, send it a message.
[04:29:00] NodeBoy: so you had to pick one
[04:29:07] NodeBoy: date the question
[04:29:10] NodeBoy: marry the question
[04:29:14] NodeBoy: have kids with the question
[04:29:21] [k-: Begging the question??means assuming the conclusion of an argument???a type of??circular reasoning. This is an??informal fallacy??where someone includes the conclusion they are attempting to prove in the initial premise of their argument
[04:29:21] NodeBoy: make little semi colons and colons
[04:29:38] Ox0dea: NodeBoy: Please read [k-'s kindly attempts to educate you.
[04:29:51] NodeBoy: Ox0dea: please shoot yourself
[04:30:04] Nilium: That seems uncalled for.
[04:30:09] Ox0dea: I don't mind.
[04:30:24] NodeBoy: cause i'm totally evading a Kline right now
[04:31:30] NodeBoy: has left #ruby: ()
[04:31:45] [k-: Rule number 2.1 and 2.2:
[04:31:46] Nilium: Is that how script kiddies make themselves feel important these days? O_o
[04:31:47] [k-: Be polite, considerate and inclusive. Treat others with respect.??Before you ask a question, make sure you did your due diligence
[04:32:11] Ox0dea: [k-: Sick pilcrow. :)
[04:32:56] [k-: I was expecting a newline
[04:33:08] Ox0dea: IRC would not have obliged you.
[04:33:13] Nilium: Should've used the ?? symbol
[04:33:45] Nilium: I DEMAND YOU READ THE RULES, ??2.1 AND ??2.2, OR BE JUDGED.
[04:33:52] fullofcaffeine: has joined #ruby
[04:33:58] [k-: I unexpectedly do not have the section sign on my keyboard
[04:34:11] Nilium: If you're on OS X, you can use Opt+6
[04:34:15] jottr: has joined #ruby
[04:34:25] Nilium: Assuming American layout anyway, not sure how it gets reordered for other layouts.
[04:34:28] [k-: I am on android
[04:34:41] Nilium: Should be available on the symbols keyboard. I remember finding it at one point.
[04:34:45] keen__________31: has joined #ruby
[04:34:54] [k-: google keyboard?
[04:35:07] Ox0dea: ACTION knew [k- used the stock keyboard without having to ask. :P
[04:35:24] [k-: I'm not using the stock keyboard
[04:35:31] [k-: asus keyboard looked horrible
[04:35:53] Ox0dea: Oh, right. I just consider Google Keyboard to be "stock".
[04:36:20] [k-: I'm not on the nexus so not stock :p
[04:39:37] bmcginty: I'm looking at RubyVM, or trying to, to get a feel for Ruby's internals. RubyVM.methods isn't showing me anything that Object doesn't have, and I'm slightly confused as to why.
[04:41:17] Ox0dea: >> RubyVM.methods - Module.instance_methods # bmcginty
[04:41:18] ruboto: Ox0dea # => [:stat, :allocate, :superclass] (https://eval.in/405911)
[04:41:23] tabakhase: magical Dir.chdir File.expand_path('../..', __FILE__) fixed my gemFile lookup, but now i also get a "fatal: Not a git repository (or any of the parent directories): .git" thrown and have no idea where from & what for :P
[04:41:37] johnMcLain: has joined #ruby
[04:41:50] Ox0dea: >> RubyVM.constants # This is more interesting.
[04:41:51] ruboto: Ox0dea # => [:Env, :OPTS, :INSTRUCTION_NAMES, :DEFAULT_PARAMS, :InstructionSequence] (https://eval.in/405912)
[04:42:26] bmcginty: Ox0dea: Thanks.
[04:42:33] Ox0dea: Sure thing.
[04:42:55] [k-: didn't you teach me methods(false)
[04:43:04] tabakhase: git error only shows up when using that "global binary"...
[04:43:20] Ox0dea: I might've done.
[04:43:21] tabakhase: and there is no git in this (appart from a ignore and attributes)
[04:43:35] workmad3: has joined #ruby
[04:43:57] Ox0dea: tabakhase: Perhaps NetBeans is mucking about in places it oughtn't?
[04:44:24] tabakhase: na, im inside my vagrant, NB is out of busssines there...
[04:45:02] Ox0dea: I think you must be inadvertently fighting with Bundler. :P
[04:45:03] [k-: isn't stat, allocate and superclass from Class
[04:45:16] Ox0dea: stat isn't.
[04:45:30] Ox0dea: You're right that I should've just used `methods(false)`.
[04:45:47] Maletor: has joined #ruby
[04:45:53] Ox0dea: Method subtraction is something of a bad habit of mine.
[04:46:00] MatthewsFace: has joined #ruby
[04:46:06] [k-: >> RubyVM.methods false
[04:46:07] Ox0dea: It's more versatile, so I tend to always reach for it even when it isn't optimal. :/
[04:46:07] ruboto: [k- # => [:stat] (https://eval.in/405913)
[04:46:25] eggoez: has joined #ruby
[04:46:29] tabakhase: cd libsrc; $ GlobalBin -> testoutput; cd /somwehere/else; $ GlobalBin -> **git error message** testoutput - not making any sense at all :F
[04:46:45] Ox0dea: >> RubyVM.stat # What the hell are these magic numbers?
[04:46:46] ruboto: Ox0dea # => {:global_method_state=>133, :global_constant_state=>842, :class_serial=>5708} (https://eval.in/405914)
[04:47:11] Ox0dea: The bytecode interpreter is a state machine?!
[04:48:37] [k-: please wait while I digest the information on Wikipedia
[04:50:32] [k-: I failed :/
[04:51:07] Rubie: has joined #ruby
[04:51:10] tabakhase: when you find a thing, and hoped it better where not like this... https://github.com/bundler/bundler/issues/2039#issuecomment-8959585
[04:51:18] mrsolow: has joined #ruby
[04:51:19] tabakhase: "The error message is not coming from bundler but from git itself. The errors are coming from git commands executing inside of gemspecs. Almost always the command is git ls-files."
[04:52:01] Ox0dea: tabakhase: How come you're trying to build your gem outside of its root directory?
[04:52:02] fullofcaffeine: has joined #ruby
[04:52:36] tabakhase: so my neat "spec.files = `git ls-files -z`" on the input -- is *** me on the other end of the gem..
[04:53:00] ElSif: neat does not always mean good...
[04:53:06] tabakhase: Ox0dea seems bundler/rake does some kind of micro-build every time the executable is used
[04:53:42] ElSif: i didnt realize that was being done by people and my immediate reaction is 'why'?
[04:55:05] tabakhase: spec.files = `git ls-files -z` i wonder if that works as a spec.files = `if [ -d .git ]; then; git ls-files -z; else echo ""; fi` or so...
[04:57:18] Ox0dea: tabakhase: Oh, dear.
[04:57:22] tabakhase: spec.files = `if [ -d .git ]; then git ls-files -z; else echo ""; fi`.split("\x0").reject { |f| f.match(%r{^(features)/}) }
[04:57:31] tabakhase: does as expected
[04:57:37] lxsameer: has joined #ruby
[04:57:54] ElSif: lol cause why write it in ruby when you could write it in bash inside ruby?
[04:58:09] Ox0dea: spec.files = `...` if File.exist?('.git')
[04:58:13] Ox0dea: Still gross, though.
[05:00:22] hahuang65: has joined #ruby
[05:01:42] existensil: has joined #ruby
[05:02:15] MatthewsFace: has joined #ruby
[05:02:59] tabakhase: kinda seeing what it does its super broken there anyway, but thats another storry...
[05:03:47] tabakhase: that Dir.chdir File.expand_path('../..', __FILE__) is still bumping me doe... it "fixes" my binarys as in now they find there gemfiles and such
[05:04:25] tabakhase: but if thats a litteral chdir, that "global install, call anywhere, write /read files in current directory" kinda fails away
[05:06:09] riotjones: has joined #ruby
[05:06:46] Ox0dea: tabakhase: Have you experimented with actually installing your gem?
[05:07:25] tabakhase: yep thats what im doing right now and how those issues showed up =)
[05:07:57] rickmasta: has joined #ruby
[05:09:26] Ox0dea: Well, how come you need to install it from an unrelated directory?
[05:10:57] Ox0dea: tabakhase: `git ls-files` shouldn't fail as long as it's being run from somewhere within the directory in which you're developing your gem.
[05:11:00] tabakhase: hm? missunderstanding... i mean the install puts it in your bin right, so you can call it from anywhere afterwards
[05:11:16] Ox0dea: Yes, as long as you've properly constructed your .gemspec.
[05:11:25] juanpablo_: has joined #ruby
[05:11:55] tabakhase: now saying i tell it "logfile ./log.log" and my startScript actually does the chdir, the log file will end up inside the users gem archive -- and "not where he is right now" as expected
[05:12:54] armyriad: has joined #ruby
[05:15:09] Ox0dea: tabakhase: So you're doing the chdir simply to appease `require`?
[05:15:12] rickmasta: has joined #ruby
[05:16:20] tabakhase: no, my requires are fine (what is as i guess thanks to the $LOAD_PATH magic to add lib/ in my gemspec)
[05:16:48] tabakhase: im doing it for my Gemfile to satisfy bundlers Bundler.setup
[05:18:08] rbowlby: has joined #ruby
[05:18:18] mistermocha: has joined #ruby
[05:20:00] tabakhase: hm or not...
[05:20:09] tabakhase: seems there is more not working as expected then
[05:22:15] existensil: has joined #ruby
[05:23:43] rickmasta: has joined #ruby
[05:23:47] _blizzy_: has joined #ruby
[05:24:25] Alina-malina: has joined #ruby
[05:26:05] hahuang65: has joined #ruby
[05:26:17] nolbuk: has joined #ruby
[05:26:39] rickmasta: has joined #ruby
[05:26:49] lala: has joined #ruby
[05:30:49] tabakhase: hmpf fustrating... some parts it seems to remove a lot of work, and on others it adds a bunch of wtf??s ;D
[05:31:27] emdub: has joined #ruby
[05:32:55] ellisTAA: has joined #ruby
[05:36:59] ellisTAA: has joined #ruby
[05:38:42] bnagy: why are you even depending on git, I don't get it
[05:39:30] bnagy: if you don't want to use spec.files properly just Dir['**/*'].reject {|i| i.include? 'git'} or something
[05:40:08] omegamike: has joined #ruby
[05:40:36] yardenbar: has joined #ruby
[05:41:21] bnagy: I'm also kind of o_0 at chdir and at messing with $LOAD_PATH
[05:41:52] linuxboytoo: has joined #ruby
[05:41:58] bnagy: obviously my gems are too old fashioned
[05:42:54] j4cknewt: has joined #ruby
[05:44:17] rickmasta: has joined #ruby
[05:44:48] baweaver: has joined #ruby
[05:45:18] goldfax: has joined #ruby
[05:45:49] portiad: has joined #ruby
[05:46:01] Lexun: has joined #ruby
[05:46:24] portiad: has left #ruby: ()
[05:46:52] tabakhase: im just getting mad when after an hour i still dont understand whats going on there -with the chance 99% me not even doing it wrong, but trying the wrong thing... -- like my bundler stuff is working perfectly todo a simple bundle install on the GIT tree - but at the same time it breaks everything when poping to "an actual gem" ;D
[05:47:40] tabakhase: not rly important for now, its a oneman thing that if at all will go on the hub and be used by 4 other people also in a devEnv running my vagrant box with my own provisioner anyway
[05:47:50] tubulife-: has joined #ruby
[05:48:04] kahuna_: has joined #ruby
[05:48:13] tabakhase: BUT you know... BUT... if i learn fancy new stuff, than pls fancy...
[05:50:10] RegulationD: has joined #ruby
[05:50:20] djbkd: has joined #ruby
[05:51:58] linuxboytoo: has joined #ruby
[05:52:04] lessless: has joined #ruby
[05:52:46] ss_much: has joined #ruby
[05:54:57] g0rx_: has joined #ruby
[05:57:09] pepperbreath: has left #ruby: ()
[05:58:17] vcoinminer: has joined #ruby
[05:59:47] antlong: has joined #ruby
[06:00:03] hahuang65: has joined #ruby
[06:00:42] decaff: has joined #ruby
[06:01:00] linuxboytoo: has joined #ruby
[06:02:56] decaff: has joined #ruby
[06:04:16] safeforge: has joined #ruby
[06:04:27] decaff_: has joined #ruby
[06:06:24] decaff: has joined #ruby
[06:06:53] riotjones: has joined #ruby
[06:08:35] decaff: has joined #ruby
[06:10:14] decaff: has joined #ruby
[06:10:43] fullofcaffeine: has joined #ruby
[06:11:58] tmtwd: has joined #ruby
[06:12:30] decaff: has joined #ruby
[06:12:33] elia: has joined #ruby
[06:14:04] decaff: has joined #ruby
[06:15:45] zemmihates: has joined #ruby
[06:16:19] decaff: has joined #ruby
[06:16:26] tmtwd: has joined #ruby
[06:17:53] decaff_: has joined #ruby
[06:20:02] dgutierrez1287: has joined #ruby
[06:20:07] decaff: has joined #ruby
[06:20:50] mistermocha: has joined #ruby
[06:21:43] decaff: has joined #ruby
[06:23:44] decaff: has joined #ruby
[06:25:08] Mendenhall: has joined #ruby
[06:25:40] decaff: has joined #ruby
[06:27:47] decaff: has joined #ruby
[06:27:47] hahuang65: has joined #ruby
[06:29:20] decaff_: has joined #ruby
[06:29:21] usershell: has joined #ruby
[06:31:14] decaff: has joined #ruby
[06:31:45] ellisTAA: has joined #ruby
[06:32:22] workmad3: has joined #ruby
[06:33:23] malconis: has joined #ruby
[06:34:02] elia: has joined #ruby
[06:34:54] rbowlby: has joined #ruby
[06:34:58] jottr: has joined #ruby
[06:35:05] decaff: has joined #ruby
[06:37:04] heidar: has joined #ruby
[06:37:18] decaff: has joined #ruby
[06:38:22] hahuang65: has joined #ruby
[06:38:24] last_staff: has joined #ruby
[06:38:56] decaff_: has joined #ruby
[06:39:50] Westerbly__: has joined #ruby
[06:40:39] _blizzy_: has joined #ruby
[06:41:05] safeforge: has joined #ruby
[06:41:10] decaff: has joined #ruby
[06:41:44] Qladstone: has joined #ruby
[06:42:47] decaff: has joined #ruby
[06:43:06] lexun_: has joined #ruby
[06:44:03] tabakhase: i belive i figured it out...
[06:44:48] agilenav: has joined #ruby
[06:45:01] decaff: has joined #ruby
[06:46:13] tabakhase: bundle install - to setup DEV, gem build *.gemspec - to build gem OR bundle exec rake install - to gem&install
[06:46:36] decaff_: has joined #ruby
[06:48:09] j4cknewt: has joined #ruby
[06:48:11] _blizzy_: has joined #ruby
[06:49:35] Rollabunna: has joined #ruby
[06:50:20] decaff: has joined #ruby
[06:50:49] Maletor: has joined #ruby
[06:52:29] decaff_: has joined #ruby
[06:53:57] Lexun: has joined #ruby
[06:54:34] decaff: has joined #ruby
[06:55:09] fullofcaffeine: has joined #ruby
[06:56:07] Jackneill: has joined #ruby
[06:56:09] decaff_: has joined #ruby
[06:58:19] decaff: has joined #ruby
[06:59:24] baweaver: has joined #ruby
[06:59:57] decaff: has joined #ruby
[07:00:05] juanpablo_: has joined #ruby
[07:01:48] decaff: has joined #ruby
[07:02:09] yfeldblum: has joined #ruby
[07:03:37] Ilyas: has joined #ruby
[07:04:04] decaff: has joined #ruby
[07:04:52] qiukun: has joined #ruby
[07:04:59] yfeldblum: has joined #ruby
[07:05:04] cbz: has joined #ruby
[07:05:39] decaff: has joined #ruby
[07:06:34] pepperbreath: has joined #ruby
[07:07:26] hahuang65: has joined #ruby
[07:07:58] decaff: has joined #ruby
[07:08:35] yfeldblum: has joined #ruby
[07:09:32] decaff_: has joined #ruby
[07:10:44] GriffinHeart: has joined #ruby
[07:11:46] decaff: has joined #ruby
[07:13:22] decaff_: has joined #ruby
[07:14:07] rickmasta: has joined #ruby
[07:15:26] rickmasta: has joined #ruby
[07:15:28] yeticry: has joined #ruby
[07:15:37] decaff: has joined #ruby
[07:16:10] mark06: has joined #ruby
[07:17:08] decaff_: has joined #ruby
[07:17:14] railswebdev: has joined #ruby
[07:18:10] elia: has joined #ruby
[07:18:30] ts310: has joined #ruby
[07:19:14] decaff: has joined #ruby
[07:19:43] slydrive: has joined #ruby
[07:20:59] decaff_: has joined #ruby
[07:21:21] leat3: has joined #ruby
[07:21:39] eGGsha: has joined #ruby
[07:22:17] stardiviner: has joined #ruby
[07:23:16] decaff_: has joined #ruby
[07:24:17] fgo: has joined #ruby
[07:24:46] decaff: has joined #ruby
[07:24:58] Kalov: has joined #ruby
[07:25:02] nobitanobi: has joined #ruby
[07:25:31] dlousy: has joined #ruby
[07:25:49] acke: has joined #ruby
[07:26:28] tvw: has joined #ruby
[07:26:44] rht: has joined #ruby
[07:27:01] decaff: has joined #ruby
[07:27:55] PhantomSpank: has joined #ruby
[07:28:08] omegamike: has joined #ruby
[07:28:39] decaff: has joined #ruby
[07:30:21] safeforge: has joined #ruby
[07:30:33] decaff: has joined #ruby
[07:31:50] ElSif: has joined #ruby
[07:32:33] hahuang65: has joined #ruby
[07:32:45] decaff: has joined #ruby
[07:33:02] GriffinHeart: has joined #ruby
[07:34:19] decaff_: has joined #ruby
[07:35:01] qiukun: has joined #ruby
[07:35:20] qiukun: how would you write a NxN loop in ruby?
[07:35:42] qiukun: i mean for i <= 1..n for j <= j..n
[07:35:54] Lexun: has joined #ruby
[07:36:00] tubulife-: has joined #ruby
[07:36:34] decaff: has joined #ruby
[07:38:06] bnagy: each over ranges
[07:38:07] decaff: has joined #ruby
[07:38:24] bnagy: or upto, if you prefer
[07:38:50] wildroman2: has joined #ruby
[07:40:15] qiukun: after swift and ruby opposite on range notation
[07:40:24] decaff: has joined #ruby
[07:40:31] qiukun: i wish all the langs could accept [a, b) things
[07:41:56] decaff: has joined #ruby
[07:43:32] Mendenhall: has joined #ruby
[07:44:12] decaff: has joined #ruby
[07:45:48] decaff: has joined #ruby
[07:46:33] krz: has joined #ruby
[07:47:30] Lexun: has joined #ruby
[07:48:04] decaff: has joined #ruby
[07:49:28] hahuang65: has joined #ruby
[07:49:38] decaff_: has joined #ruby
[07:49:47] atmosx: has joined #ruby
[07:51:51] decaff: has joined #ruby
[07:53:05] fluffet: has left #ruby: ()
[07:53:25] decaff_: has joined #ruby
[07:54:47] stardiviner: has joined #ruby
[07:55:27] decaff: has joined #ruby
[07:57:01] duncannz: has joined #ruby
[07:57:02] codecop: has joined #ruby
[07:57:29] decaff: has joined #ruby
[07:57:53] duncannz: has joined #ruby
[07:58:03] hahuang65: has joined #ruby
[07:58:43] duncannz: has joined #ruby
[07:59:28] atmosx_: has joined #ruby
[07:59:30] decaff: has joined #ruby
[07:59:34] duncannz: has joined #ruby
[08:00:30] duncannz: has joined #ruby
[08:01:00] decaff: has joined #ruby
[08:03:09] decaff: has joined #ruby
[08:04:54] dfockler: has joined #ruby
[08:05:09] decaff: has joined #ruby
[08:05:58] [k-: has joined #ruby
[08:06:03] SCHAAP137: has joined #ruby
[08:06:22] allomov: has joined #ruby
[08:06:45] decaff: has joined #ruby
[08:06:49] Averna: has joined #ruby
[08:08:44] decaff_: has joined #ruby
[08:08:48] k3asd`: has joined #ruby
[08:10:48] decaff: has joined #ruby
[08:11:02] texasmade: has joined #ruby
[08:11:29] hahuang65: has joined #ruby
[08:12:44] decaff: has joined #ruby
[08:13:20] freeUmo: has joined #ruby
[08:13:36] eGGsha: has joined #ruby
[08:14:42] decaff: has joined #ruby
[08:16:30] decaff: has joined #ruby
[08:17:05] djbkd: has joined #ruby
[08:18:13] decaff_: has joined #ruby
[08:18:15] polyrob: has joined #ruby
[08:18:35] Peteykun: has joined #ruby
[08:18:41] Peteykun: has left #ruby: ()
[08:19:06] GarethAdams: has joined #ruby
[08:20:27] decaff: has joined #ruby
[08:21:16] workmad3: has joined #ruby
[08:21:46] sinkensabe: has joined #ruby
[08:22:16] decaff: has joined #ruby
[08:24:20] decaff: has joined #ruby
[08:25:13] mistermocha: has joined #ruby
[08:25:55] decaff: has joined #ruby
[08:26:22] eGGsha: has joined #ruby
[08:26:49] fgo: has joined #ruby
[08:27:19] Rubie: has joined #ruby
[08:27:50] decaff_: has joined #ruby
[08:28:39] hahuang65: has joined #ruby
[08:30:04] decaff: has joined #ruby
[08:31:38] decaff_: has joined #ruby
[08:32:15] xkickflip: has joined #ruby
[08:33:57] Trynemjoel: has joined #ruby
[08:35:39] TheHodge: has joined #ruby
[08:35:46] ScriptGeek: has joined #ruby
[08:35:51] jottr: has joined #ruby
[08:39:03] yaw: has joined #ruby
[08:40:39] Qladstone: has joined #ruby
[08:43:03] PhantomSpank: has joined #ruby
[08:43:28] stopbyte: has joined #ruby
[08:44:28] GriffinHeart: has joined #ruby
[08:45:49] sarkyniin: has joined #ruby
[08:47:00] dgutierrez1287: has joined #ruby
[08:48:22] allomov: has joined #ruby
[08:48:52] juanpablo_: has joined #ruby
[08:49:29] Mon_Ouie: has joined #ruby
[08:50:06] acke: has joined #ruby
[08:51:51] timonv: has joined #ruby
[08:52:55] j4cknewt: has joined #ruby
[08:56:47] blackmes1: has joined #ruby
[08:57:16] [k-: i found the section sign on google keyboard!
[08:57:23] Vile`: has joined #ruby
[08:57:29] Trynemjoel: has joined #ruby
[08:58:39] Muhannad: has joined #ruby
[08:59:02] dotix: has joined #ruby
[08:59:39] hahuang65: has joined #ruby
[09:00:24] IanV0rn2341: has joined #ruby
[09:00:25] hololeap: has joined #ruby
[09:00:39] djbkd: has joined #ruby
[09:02:59] Trynemjoel: has joined #ruby
[09:07:05] antgel: has joined #ruby
[09:07:46] jschmid: has joined #ruby
[09:07:58] ht__: has joined #ruby
[09:08:12] eGGsha: has joined #ruby
[09:11:04] hahuang65: has joined #ruby
[09:13:30] blackmesa: has joined #ruby
[09:16:36] omegamike: has joined #ruby
[09:16:56] bronson: has joined #ruby
[09:17:39] lordkryss: has joined #ruby
[09:19:42] railswebdev: has joined #ruby
[09:20:50] svdb64: has joined #ruby
[09:21:12] svdb64: has joined #ruby
[09:23:05] stamina: has joined #ruby
[09:24:08] tubulife-: has joined #ruby
[09:26:21] acke: has joined #ruby
[09:28:12] nichtdiebohne: has joined #ruby
[09:29:07] dotix: has joined #ruby
[09:29:23] mistermocha: has joined #ruby
[09:32:30] Lildirt: has joined #ruby
[09:32:38] Zedi: has joined #ruby
[09:35:47] apfeluser: has joined #ruby
[09:36:33] jottr: has joined #ruby
[09:37:29] hahuang65: has joined #ruby
[09:38:14] marr: has joined #ruby
[09:39:13] lkba_: has joined #ruby
[09:39:24] cornerma1: has joined #ruby
[09:51:48] RegulationD: has joined #ruby
[09:53:20] banister: has joined #ruby
[09:54:15] fgo: has joined #ruby
[09:55:51] hahuang65: has joined #ruby
[09:56:17] Kilo`byte: has joined #ruby
[09:57:45] roolo_: has joined #ruby
[09:58:12] Hounddog: has joined #ruby
[09:59:14] shpoont: has joined #ruby
[10:00:22] slackbotgz: has joined #ruby
[10:01:07] unshadow: has joined #ruby
[10:02:07] troulouliou_dev: has joined #ruby
[10:03:01] unshadow: Hi guys, I'm trying to use this gem: https://github.com/freibuis/active_directory , but something dosn't makes sense, how does the settings from ::Base.setup() would be reused in ::User ?
[10:04:25] tvw: has joined #ruby
[10:04:49] railsraider: has joined #ruby
[10:06:39] arup_r: has joined #ruby
[10:08:32] danielpclark: has joined #ruby
[10:08:41] Guest59236: has joined #ruby
[10:08:52] apeiros: unshadow: by globally using the same setup
[10:09:48] workmad3: has joined #ruby
[10:10:35] gizmore: has joined #ruby
[10:10:58] unshadow: apeiros: so it sets "setup" as a global var and just passes it over to the other calls ?
[10:11:03] Trynemjoel: has joined #ruby
[10:11:47] freeUmo: has joined #ruby
[10:13:15] apeiros: you don't need to pass global state.
[10:13:52] hahuang65: has joined #ruby
[10:14:04] [k-: class Base uses persistent class variables
[10:14:25] [k-: (that remains until the program stops)
[10:15:23] psye: has joined #ruby
[10:16:27] [k-: the indentation looks...fancy
[10:18:21] [k-: oh, and class variables persist in subclasses
[10:18:46] [k-: so its like a global variable for the Base and it's subclasses
[10:21:55] Igorshp: has joined #ruby
[10:21:57] blackmesa: has joined #ruby
[10:22:45] psye: has joined #ruby
[10:23:50] blackmes1: has joined #ruby
[10:27:45] mark06: has left #ruby: ("http://pidgin.renatosilva.me - Pidgin++")
[10:28:16] weemsledeux: has joined #ruby
[10:28:27] FernandoBasso: has joined #ruby
[10:30:42] sarkyniin: has joined #ruby
[10:31:21] unshadow: Oh... I see, thanks guys :)
[10:32:32] Zedi: has joined #ruby
[10:32:48] psye: has joined #ruby
[10:34:18] blackmes1: has joined #ruby
[10:34:28] psye: has joined #ruby
[10:34:35] Trynemjoel: has joined #ruby
[10:35:22] mistermocha: has joined #ruby
[10:36:13] hahuang65: has joined #ruby
[10:37:36] juanpablo_: has joined #ruby
[10:38:40] fgo: has joined #ruby
[10:41:12] FernandoBasso: has joined #ruby
[10:43:22] mhib: has joined #ruby
[10:48:07] Soda: has joined #ruby
[10:48:24] Papierkorb: has joined #ruby
[10:49:19] iateadonut: has joined #ruby
[10:49:40] yaw: has joined #ruby
[10:49:57] psye: has joined #ruby
[10:50:10] jottr: has joined #ruby
[10:50:36] Trynemjoel: has joined #ruby
[10:51:40] leat3: has joined #ruby
[10:53:44] hahuang65: has joined #ruby
[10:56:04] |Brainling|: has joined #ruby
[10:56:10] fella6s: has joined #ruby
[10:56:16] edward__: has joined #ruby
[10:56:17] Silent__: has joined #ruby
[10:56:42] helpa: has joined #ruby
[10:56:51] vale_tudo: has joined #ruby
[10:56:59] serivichi: has joined #ruby
[10:57:07] phutchins: has joined #ruby
[10:57:25] `scootaloo: has joined #ruby
[10:57:45] adambeynon_: has joined #ruby
[10:57:46] djbender_: has joined #ruby
[10:58:15] sepp2k: has joined #ruby
[10:58:25] cornerman: has joined #ruby
[10:58:30] MiracleBlue_: has joined #ruby
[10:58:33] bcavileer_: has joined #ruby
[10:58:35] eregon_: has joined #ruby
[10:58:44] nickfausnight_: has joined #ruby
[10:58:50] bb010g_: has joined #ruby
[10:59:02] n1ftyn8__: has joined #ruby
[10:59:10] tobyx: has joined #ruby
[10:59:12] kapowaz_: has joined #ruby
[10:59:13] psye: has joined #ruby
[10:59:43] HashNuke_: has joined #ruby
[10:59:44] maZtah_: has joined #ruby
[10:59:58] _whitelogger__: has joined #ruby
[11:00:01] coderkevin_: has joined #ruby
[11:00:09] ramblinpeck_: has joined #ruby
[11:00:28] opalraav1: has joined #ruby
[11:00:42] kalleth_: has joined #ruby
[11:00:43] Ilyas_: has joined #ruby
[11:00:45] Ray`_: has joined #ruby
[11:00:52] ajaiswal_: has joined #ruby
[11:00:59] jaredrhine_: has joined #ruby
[11:00:59] hoelzro_: has joined #ruby
[11:01:03] heftig_: has joined #ruby
[11:01:04] TvL: has joined #ruby
[11:01:06] thang_: has joined #ruby
[11:01:07] vpereira_: has joined #ruby
[11:01:17] sepp2k2: has joined #ruby
[11:01:21] infinite1tate: has joined #ruby
[11:01:27] brandon: has joined #ruby
[11:01:35] yo61_: has joined #ruby
[11:01:41] Heero_: has joined #ruby
[11:01:50] leat3: has joined #ruby
[11:02:46] cornerman: has joined #ruby
[11:03:11] hahuang65: has joined #ruby
[11:03:52] omegahm|BNC: has joined #ruby
[11:04:14] dr_Poggs: has joined #ruby
[11:04:18] dfoolz_: has joined #ruby
[11:04:26] constantinexvi: has joined #ruby
[11:04:28] twistedpixels_: has joined #ruby
[11:04:37] Trynemjoel2: has joined #ruby
[11:04:39] mhf^: has joined #ruby
[11:04:43] lele`: has joined #ruby
[11:04:48] elektronaut_: has joined #ruby
[11:04:51] riotjones: has joined #ruby
[11:04:52] Trieste_: has joined #ruby
[11:04:57] mgorbach_: has joined #ruby
[11:04:57] blackmes1: has joined #ruby
[11:04:58] Matadoer_: has joined #ruby
[11:05:01] bougyman_: has joined #ruby
[11:05:05] cliffstah_: has joined #ruby
[11:05:07] jonee: has joined #ruby
[11:05:07] duckson_: has joined #ruby
[11:05:11] JaTochNietDan_: has joined #ruby
[11:05:40] yosafbridge`: has joined #ruby
[11:06:06] ggherdov_: has joined #ruby
[11:06:17] sdothum: has joined #ruby
[11:06:22] _main_: has joined #ruby
[11:07:32] cgrieger^away: has joined #ruby
[11:08:00] serivichi: has joined #ruby
[11:08:02] x3cion: has joined #ruby
[11:08:02] amitchellbullard: has joined #ruby
[11:08:06] kiki_lamb: has joined #ruby
[11:10:01] pawz: has joined #ruby
[11:10:44] quimrstorres: has joined #ruby
[11:11:45] tuor: has joined #ruby
[11:11:46] sinkensabe: has joined #ruby
[11:12:06] leat3: has joined #ruby
[11:12:08] despai: has joined #ruby
[11:12:13] timonv: has joined #ruby
[11:12:18] tubulife-: has joined #ruby
[11:12:22] keen__________31: has joined #ruby
[11:12:25] hectortrope: has joined #ruby
[11:12:30] oddmunds: has joined #ruby
[11:12:38] prestorium: has joined #ruby
[11:12:55] [spoiler]: has joined #ruby
[11:13:05] papercode: has joined #ruby
[11:13:38] chris2: has joined #ruby
[11:14:00] dgutierrez1287: has joined #ruby
[11:14:01] halfdan: has joined #ruby
[11:14:02] bestie: has joined #ruby
[11:14:03] dmoe: has joined #ruby
[11:14:13] Mon_Ouie: has joined #ruby
[11:15:42] zemmihates: has joined #ruby
[11:15:46] Guest78802: has joined #ruby
[11:15:56] alekst_: has joined #ruby
[11:15:57] codeitagile: has joined #ruby
[11:16:18] michael_mbp: has joined #ruby
[11:16:35] _blizzy_: has joined #ruby
[11:16:45] akitada: has joined #ruby
[11:16:58] machty: has joined #ruby
[11:17:16] allomov: has joined #ruby
[11:19:19] cornerman: has joined #ruby
[11:19:40] nfk: has joined #ruby
[11:20:32] nemesit|znc: has joined #ruby
[11:20:52] soahccc: has joined #ruby
[11:22:25] leat3: has joined #ruby
[11:22:47] bruno-: has joined #ruby
[11:23:26] phrozen77: has joined #ruby
[11:23:56] _blizzy_: has joined #ruby
[11:24:35] bauruine: has joined #ruby
[11:25:29] dorei: has joined #ruby
[11:25:38] Trynemjoel: has joined #ruby
[11:26:20] SuperTux88: has joined #ruby
[11:26:56] danielpclark: has joined #ruby
[11:28:12] bruno-: has joined #ruby
[11:29:32] CloCkWeRX: has joined #ruby
[11:29:58] hahuang65: has joined #ruby
[11:32:56] leat3: has joined #ruby
[11:33:42] davedev24: has joined #ruby
[11:36:10] FernandoBasso: has joined #ruby
[11:39:57] mistermocha: has joined #ruby
[11:42:09] Trynemjoel: has joined #ruby
[11:44:53] ArchRogem: has joined #ruby
[11:45:37] leafybasil: has joined #ruby
[11:45:40] sonOfRa: has joined #ruby
[11:45:58] railsraider: has joined #ruby
[11:48:25] ndrei: has joined #ruby
[11:49:18] Ropeney: has joined #ruby
[11:49:39] Trynemjoel: has joined #ruby
[11:53:18] leat3: has joined #ruby
[11:53:33] lennae: has joined #ruby
[11:54:29] kirun: has joined #ruby
[11:54:53] shpoont: has joined #ruby
[11:56:01] omegamike: has joined #ruby
[11:56:06] ybian: has joined #ruby
[11:56:50] omegamike: has joined #ruby
[11:57:00] fgo: has joined #ruby
[11:57:10] Trynemjoel: has joined #ruby
[11:58:41] workmad3: has joined #ruby
[12:00:00] [k-_: has joined #ruby
[12:00:09] vimz: has joined #ruby
[12:02:10] svdb64: has joined #ruby
[12:02:19] krz: has joined #ruby
[12:02:22] danielpclark: has joined #ruby
[12:02:42] moredhel: has joined #ruby
[12:03:00] symm-: has joined #ruby
[12:03:31] Rubie: has joined #ruby
[12:06:02] hahuang65: has joined #ruby
[12:06:24] michael_mbp: has joined #ruby
[12:06:28] Igorshp: has joined #ruby
[12:07:11] Trynemjoel: has joined #ruby
[12:09:24] decaff: has joined #ruby
[12:13:52] svdb64: has joined #ruby
[12:14:14] jonee: has joined #ruby
[12:15:29] umo: has joined #ruby
[12:16:39] svdb64: has joined #ruby
[12:18:56] shevy: hmm to "alias" a class Bar to Foo, I can just do: Bar = Foo ?
[12:19:22] [k-_: im not sure that would work
[12:19:59] apeiros: a class is an object
[12:20:11] apeiros: Bar.name will still return "Foo", though.
[12:20:36] allcentury: has joined #ruby
[12:20:42] hahuang65: has joined #ruby
[12:21:28] krasnus: has joined #ruby
[12:22:03] shevy: I found a semi-duplicated class in old code, trying to unify the behaviour into one class but retain the old name to call it as well
[12:22:42] yaw: has joined #ruby
[12:22:58] yaw: has left #ruby: ()
[12:23:21] juanpablo_: has joined #ruby
[12:26:17] svdb64: has joined #ruby
[12:29:36] Bloodshot: has joined #ruby
[12:29:55] lkba: has joined #ruby
[12:33:48] leat3: has joined #ruby
[12:34:19] jonee: has joined #ruby
[12:34:27] railswebdev: has joined #ruby
[12:35:38] fumihiro1: has joined #ruby
[12:36:29] al2o3-cr: has joined #ruby
[12:37:07] ddv: has joined #ruby
[12:37:16] hahuang65: has joined #ruby
[12:37:30] vickleton: has joined #ruby
[12:38:33] lessless: has joined #ruby
[12:38:36] heyimwill: has joined #ruby
[12:44:13] fantazo: has joined #ruby
[12:45:22] leat3: has joined #ruby
[12:47:33] bruno-: has joined #ruby
[12:50:31] banister: has joined #ruby
[12:51:22] amystephen: has joined #ruby
[12:51:30] leat3: has joined #ruby
[12:53:31] Rollabunna: has joined #ruby
[12:54:38] leat3: has joined #ruby
[12:54:56] konsolebox: has joined #ruby
[12:56:38] freerobby: has joined #ruby
[12:58:06] fgo: has joined #ruby
[12:58:10] Rollabun_: has joined #ruby
[12:58:55] Rollabun_: has joined #ruby
[13:00:18] hahuang65: has joined #ruby
[13:00:27] tubulife-: has joined #ruby
[13:02:08] Rollabunna: has joined #ruby
[13:02:41] svdb64: has joined #ruby
[13:03:35] linuxboytoo: has joined #ruby
[13:04:51] cbz: has joined #ruby
[13:05:02] leat3: has joined #ruby
[13:05:28] pontiki: has joined #ruby
[13:06:06] tvw: has joined #ruby
[13:06:26] svdb64: has joined #ruby
[13:07:48] linuxboytoo: has joined #ruby
[13:09:49] havenwood: has joined #ruby
[13:13:22] stantonnet: has joined #ruby
[13:14:15] Billias_: has joined #ruby
[13:14:34] x3cion: has joined #ruby
[13:16:45] BigRonnieRon: has joined #ruby
[13:18:26] hahuang65: has joined #ruby
[13:18:37] chinmay_dd: has joined #ruby
[13:18:51] bronson: has joined #ruby
[13:21:05] leat3: has joined #ruby
[13:21:21] bubbys: has joined #ruby
[13:22:29] omegamike: has joined #ruby
[13:23:41] lapide_viridi: has joined #ruby
[13:28:37] mleung: has joined #ruby
[13:31:23] omegamike: has joined #ruby
[13:31:59] howdoi_: has joined #ruby
[13:32:32] guest920: has joined #ruby
[13:34:07] poguez_: has joined #ruby
[13:34:52] Rubie: has joined #ruby
[13:35:36] leat3: has joined #ruby
[13:36:37] Rollabunna: has joined #ruby
[13:36:51] hahuang65: has joined #ruby
[13:37:16] Billias_: has joined #ruby
[13:38:04] ddv: has joined #ruby
[13:38:19] RegulationD: has joined #ruby
[13:39:06] juanpablo_: has joined #ruby
[13:39:48] Trynemjoel: has joined #ruby
[13:40:27] timonv: has joined #ruby
[13:43:09] mistermocha: has joined #ruby
[13:45:50] leat3: has joined #ruby
[13:47:28] workmad3: has joined #ruby
[13:50:10] Igorshp: has joined #ruby
[13:51:32] jonee: has joined #ruby
[13:53:36] Rollabunna: has joined #ruby
[13:53:51] ndrei: has joined #ruby
[13:54:30] Igorshp_: has joined #ruby
[13:58:12] x3cion: has joined #ruby
[13:58:28] decaff: has joined #ruby
[14:00:39] yardenbar: has joined #ruby
[14:01:15] christiandsg: has joined #ruby
[14:02:11] bruno-: has joined #ruby
[14:05:34] cbz: has joined #ruby
[14:06:26] systemd0wn: has joined #ruby
[14:06:39] Ilyas_: has joined #ruby
[14:07:42] bruno-: has joined #ruby
[14:07:47] konsolebox: has joined #ruby
[14:07:52] hahuang65: has joined #ruby
[14:11:37] christiandsg: has joined #ruby
[14:13:09] bruno-: has joined #ruby
[14:15:22] danielpclark: has joined #ruby
[14:16:34] spider-mario: has joined #ruby
[14:18:16] ych_: has joined #ruby
[14:18:33] bruno-: has joined #ruby
[14:22:38] timonv: has joined #ruby
[14:23:24] roolo_: Is there some tool to compile just contents of files together according to some system variables?
[14:25:32] usershell: has joined #ruby
[14:26:14] hahuang65: has joined #ruby
[14:30:00] dseitz: has joined #ruby
[14:31:35] gix: has joined #ruby
[14:32:27] sarkyniin: has joined #ruby
[14:33:00] sankaber: has joined #ruby
[14:34:18] pandaant: has joined #ruby
[14:35:40] roolo: has joined #ruby
[14:35:46] apfeluser: has joined #ruby
[14:36:35] havenwood: roolo: Say more about what you're trying to do?
[14:37:19] havenwood: roolo: What do you mean by compile? How do env vars come into it?
[14:38:26] roolo: havenwood: I wan't to create documentation for our projects (probably markdown). Some informations/addresses differs according to envinronment (stage/production/dev) I want something what will enable me to control what will be in resulting file
[14:38:49] roolo: havenwood: I am not sure, but this seems at least as a good start http://files.nothingisreal.com/software/gpp/gpp.html
[14:39:05] SCHAAP137: has joined #ruby
[14:39:26] roolo: havenwood: If I'll not find something what works I'll probably use erb :)
[14:40:06] rickmasta: has joined #ruby
[14:41:13] Igorshp: has joined #ruby
[14:41:55] Igorshp_: has joined #ruby
[14:42:23] Igorshp: has joined #ruby
[14:44:00] andywojo: has joined #ruby
[14:46:38] shevy: I shall be using this as the coding motto for ruby: http://teom.org/wp-content/uploads/2012/04/18960821-300x300.jpg
[14:46:51] shevy: it somehow reminds me of havenwood
[14:47:10] last_staff: has joined #ruby
[14:47:15] usershell: has joined #ruby
[14:47:43] havenwood: shevy: That's what I give them in the Winter when then ask why there's no code. ;)
[14:48:16] havenwood: shevy: No, I jest. CODE ALL THE WINTER! \o/
[14:48:38] tubulife-: has joined #ruby
[14:49:10] jhass: code in the summer and compile in the winter
[14:49:51] dangerousdave: has joined #ruby
[14:51:32] rickmasta: has joined #ruby
[14:52:14] busterarm: damn, i think that's the first time a beer foamed over on me in more than 15 years
[14:52:30] busterarm: also damn, I'm only 31
[14:52:34] allcentury: has joined #ruby
[14:53:46] banister: has joined #ruby
[14:55:38] Papierkorb_: has joined #ruby
[14:56:01] fullofcaffeine: has joined #ruby
[14:56:15] hahuang65: has joined #ruby
[15:01:00] leat: has joined #ruby
[15:01:27] blackmes1: has joined #ruby
[15:02:59] cytoskeletor: has joined #ruby
[15:04:06] sarkyniin: has joined #ruby
[15:06:17] shevy: well you do tend to lose abilities that you have once possessed as you get older so no worries
[15:06:20] cbz: has joined #ruby
[15:06:20] cbz: has joined #ruby
[15:07:11] ndrei: has joined #ruby
[15:10:08] linuxboytoo: has joined #ruby
[15:11:11] rickmasta: has joined #ruby
[15:11:26] ips|malc: has joined #ruby
[15:11:34] railswebdev: has joined #ruby
[15:12:03] omegamike: has joined #ruby
[15:12:50] rickmasta: has joined #ruby
[15:13:21] kidoz: has joined #ruby
[15:14:03] T3: has joined #ruby
[15:14:47] sankaber: has joined #ruby
[15:15:22] eggoez: has joined #ruby
[15:15:52] hahuang65: has joined #ruby
[15:16:06] thiagovsk: has joined #ruby
[15:16:49] banister: has joined #ruby
[15:18:22] mhf^: has left #ruby: ("Leaving...")
[15:18:51] mleung: has joined #ruby
[15:21:29] Hanmac: has joined #ruby
[15:22:24] svdb64: has joined #ruby
[15:22:39] PlasmaStar: has joined #ruby
[15:22:39] Rubie: has joined #ruby
[15:24:15] ndrei: has joined #ruby
[15:24:51] Coraline: Is anyone here using exercism.io?
[15:25:19] busterarm: I tried when they first launched
[15:25:24] busterarm: some of my team members do
[15:27:51] juanpablo_: has joined #ruby
[15:28:07] Coraline: I'm really enjoying it. Some of the exercises are really fun.
[15:29:22] busterarm: do you have a team?
[15:29:42] busterarm: (an exercism team I mean)
[15:32:54] DLSteve: has joined #ruby
[15:33:05] Coraline: Yes, two of them
[15:33:15] Coraline: One from work, one from a slack community
[15:34:39] decaff: has joined #ruby
[15:34:54] nobitanobi: has joined #ruby
[15:35:14] Vile`: has joined #ruby
[15:36:02] busterarm: when they invite me to the team i'll give it a go
[15:36:09] busterarm: been waiting a couple days
[15:36:10] workmad3: has joined #ruby
[15:36:18] leat: has joined #ruby
[15:39:33] shevy: lol apeiros now I know why you guys need an airforce http://www.nbcnews.com/news/world/swiss-army-airlifts-water-cows-facing-drought-hot-weather-n396346
[15:39:33] busterarm: might be cool if there were a -community team though
[15:44:12] djbkd: has joined #ruby
[15:44:20] mhib: has joined #ruby
[15:45:14] krz: has joined #ruby
[15:46:37] baweaver: has joined #ruby
[15:48:23] troulouliou_dev: has joined #ruby
[15:48:29] xfumihiro: has joined #ruby
[15:49:18] linuxboytoo: has joined #ruby
[15:50:12] linuxboytoo: has joined #ruby
[15:51:09] ruby-prudi: has joined #ruby
[15:52:49] ruby-prudi: Hello, i am doing Michael Hartl tutorial book, and when he talks about SSL in production env he said "we can piggyback on Heroku???s SSL certificate", what does it mean?
[15:54:36] banister: has joined #ruby
[15:55:18] GriffinHeart: has joined #ruby
[15:55:21] hahuang65: has joined #ruby
[15:56:18] christiandsg: has joined #ruby
[15:56:50] c2k4vr: has joined #ruby
[15:57:08] c2k4vr: has left #ruby: ()
[15:58:15] aryaching: has joined #ruby
[15:58:41] n008f4g_: has joined #ruby
[15:58:50] fullofcaffeine: has joined #ruby
[15:59:40] fgo: has joined #ruby
[16:00:17] diegoviola: has joined #ruby
[16:00:40] jonee: has joined #ruby
[16:02:46] Averna: has joined #ruby
[16:03:15] vimz: I swear there was an rspec matcher like this expect('ststringy').to include('st').twice } the 'twice' is undefined? :S
[16:04:27] symm-: has joined #ruby
[16:05:06] banister: has joined #ruby
[16:06:29] busterarm: there's a should_receive().twice but i didn't think so for string matchers
[16:07:00] vimz: busteram oh I see, thanks
[16:07:11] lordkryss: has joined #ruby
[16:07:25] busterarm: you can probably do something with regex matchers
[16:07:34] leat: has joined #ruby
[16:07:36] PhantomSpank: has joined #ruby
[16:09:38] JDeen: has joined #ruby
[16:10:18] bmurt: has joined #ruby
[16:10:35] vimz: busteram yeah that's what I've done :)
[16:10:40] JDeen: Hi there. I know that I an dynamically call a method of an object using 'send'. How can I call a class method ex: `MyCoolClass.magic_word`. I tried MyCoolClass.send(:magic_word) but didn't work.
[16:11:21] vimz: jdeen MyCoolClass.new.send(:magic_word) ?
[16:11:29] vimz: oh no that's an instance, nm :P
[16:11:39] ruboto: We can't help you without your code, please post it to https://gist.github.com
[16:11:51] busterarm: self.class.send
[16:12:10] n3xus_: has joined #ruby
[16:12:11] busterarm: or whateveryounamedtheinstance.class.send
[16:12:18] ponga: has joined #ruby
[16:12:32] busterarm: or Class.method
[16:12:39] busterarm: Class::method
[16:13:11] [k-_: do not randomly suggest methods!
[16:13:19] [k-_: especially ::
[16:13:44] [k-_: ?code jdeen
[16:13:44] ruboto: jdeen, We can't help you without your code, please post it to https://gist.github.com
[16:14:05] blue_deref: has joined #ruby
[16:14:06] busterarm: i'm playing My Drunk Helpdesk right now
[16:14:19] devdazed: has joined #ruby
[16:14:54] JDeen: ruboto: I jus tried busterarm s suggestion and it works in a bare class. Probably there is a send method override. Let me play arround and see. sorry guys!
[16:14:59] triangles: has joined #ruby
[16:15:13] busterarm: ruboto is a bot
[16:15:33] Thomas-0725: has joined #ruby
[16:15:53] [H]unt3r: has joined #ruby
[16:16:11] [k-_: we need your code to be able to help you
[16:16:57] aytch: has joined #ruby
[16:17:53] pengin: has joined #ruby
[16:18:42] timonv: has joined #ruby
[16:18:51] linuxboytoo: has joined #ruby
[16:19:17] mhib: has joined #ruby
[16:19:42] shock_one: has joined #ruby
[16:20:56] linuxboytoo: has joined #ruby
[16:21:06] j4cknewt: has joined #ruby
[16:21:54] linuxboytoo: has joined #ruby
[16:22:07] cbz: has joined #ruby
[16:25:37] leat: has joined #ruby
[16:25:45] systemnate: has joined #ruby
[16:26:01] hahuang65: has joined #ruby
[16:26:05] [k-_: im just going to return to watching cat videos
[16:27:12] sharpmachine: has joined #ruby
[16:27:17] jonee: has joined #ruby
[16:33:09] aryaching: has joined #ruby
[16:36:04] arup_r: has joined #ruby
[16:36:04] Yzguy: has joined #ruby
[16:36:48] tubulife-: has joined #ruby
[16:38:21] Channel6: has joined #ruby
[16:38:41] Cache_Money: has joined #ruby
[16:38:52] vimz: is there a Gem for contextually pluralized a word? "I have #{(3, 'dog')}" #=> 'I have 3 dogs'
[16:39:22] vimz: "I have #{pluralize(3, 'dog')}" #=> 'I have 3 dogs'
[16:40:06] triangles: vimz: ActiveSupport, just require 'active_support/inflector' and you can use pluralize(3,'dog')
[16:40:22] vimz: triangles nice! thanks
[16:40:26] triangles: https://rubygems.org/gems/activesupport/versions/4.2.3
[16:41:13] leat: has joined #ruby
[16:41:33] omegamike: has joined #ruby
[16:41:38] fullofcaffeine: has joined #ruby
[16:43:05] nfk: has joined #ruby
[16:44:47] lannonbr: has joined #ruby
[16:46:26] vimz: triangles: I can require 'active_support/inflector' okay, but pluralize is unavailable for the main object?
[16:46:59] CustosLimen: has joined #ruby
[16:47:08] triangles: vimz: my bad, 'dog'.pluralize(3)
[16:47:20] busterarm: inflector is totes my favorite gem in all of ruby
[16:48:23] leat: has joined #ruby
[16:48:46] max_v: has joined #ruby
[16:49:18] Igorshp: has joined #ruby
[16:49:54] yqt: has joined #ruby
[16:50:25] ruby-prudi: <triangles> I think pluralize method come with ActionView::Helpers::TextHelper for views. Why adding that lib?
[16:51:34] ruby-prudi: <triangles> to test it in console you must add type $ include ActionView::Helpers::TextHelper
[16:51:53] banister: has joined #ruby
[16:52:27] busterarm: uh, it's in active-support
[16:52:55] mistermocha: has joined #ruby
[16:54:00] Hanmac: has joined #ruby
[16:56:19] vimz: triangles no worries, thanks again
[16:56:36] hahuang65: has joined #ruby
[16:56:57] busterarm: oh, i'm totally wrong
[16:57:29] busterarm: http://apidock.com/rails/v4.2.1/ActiveSupport/Inflector/pluralize
[16:57:59] busterarm: there's just a separate one for the views
[16:58:40] NeverDie: has joined #ruby
[16:58:49] ellisTAA: has joined #ruby
[17:00:43] fgo: has joined #ruby
[17:01:17] pontiki: has joined #ruby
[17:03:46] mary5030: has joined #ruby
[17:03:52] MatthewsFace: has joined #ruby
[17:06:40] ruby-prudi: Ahh that's it! There is one specific for views in ActionView/Helpers/TextHelper and another with active-support
[17:07:20] craysiii: has joined #ruby
[17:08:25] craysiii: coffee coffee and bloc type of morning
[17:09:10] _blizzy_: has joined #ruby
[17:09:13] lannonbr: has joined #ruby
[17:09:26] jack_rabbit: has joined #ruby
[17:14:40] tmtwd: has joined #ruby
[17:16:38] juanpablo_: has joined #ruby
[17:17:32] fedexo: has joined #ruby
[17:18:19] _blizzy_: has joined #ruby
[17:19:33] craysiii: has joined #ruby
[17:20:27] bruno-: has joined #ruby
[17:21:41] Rollabun_: has joined #ruby
[17:22:15] craysiii: has joined #ruby
[17:22:15] kakusu: has joined #ruby
[17:22:33] craysiii: is freenode freaking out?
[17:23:06] tmtwd: has joined #ruby
[17:23:34] wasamasa: "Read error: Connection reset by peer"
[17:23:50] wasamasa: craysiii: if anything, your connection is
[17:23:59] craysiii: hm. every time i tried to read the chan list, it kicks me off.
[17:24:09] wasamasa: that's a bad idea anyways :P
[17:24:13] wasamasa: /query alis
[17:24:28] craysiii: sometimes i just like to browse :P
[17:24:52] workmad3: has joined #ruby
[17:25:44] dented42: has joined #ruby
[17:25:44] bruno-: has joined #ruby
[17:26:01] t_mmyv: has joined #ruby
[17:26:01] MatthewsFace: has joined #ruby
[17:26:09] wasamasa: yes, but it disconnects you if your client takes longer to receive it than it should and forgets to respond to pings
[17:26:19] wasamasa: so, browse online I guess
[17:26:36] craysiii: ah. bad client i guess. thanks
[17:26:43] Rollabunna: has joined #ruby
[17:27:21] wasamasa: I dunno, I remember getting this when I first tried out mIRC
[17:27:42] craysiii: im using empathy bundled with ubuntu gnome
[17:29:12] chipotle: has joined #ruby
[17:30:05] nobitanobi: has joined #ruby
[17:31:32] workmad3: has joined #ruby
[17:32:58] christiandsg: has joined #ruby
[17:33:14] konsolebox: has joined #ruby
[17:33:52] werelivinginthef: has joined #ruby
[17:34:34] banister: has joined #ruby
[17:37:26] cbz: has joined #ruby
[17:37:41] blackmes1: has joined #ruby
[17:41:07] ips|malc: has joined #ruby
[17:45:52] antlong: has joined #ruby
[17:46:28] Dopagod: has joined #ruby
[17:47:58] bradleyprice: has joined #ruby
[17:48:34] leat: has joined #ruby
[17:50:33] nfk: has joined #ruby
[17:51:17] banister: has joined #ruby
[17:51:27] bubbys: has joined #ruby
[17:53:56] babysnoop: has joined #ruby
[17:54:15] babysnoop: has left #ruby: ()
[17:54:39] mistermocha: has joined #ruby
[17:54:47] jonee: has joined #ruby
[17:56:39] Jarboe: has joined #ruby
[17:57:39] mhib: has joined #ruby
[17:59:03] mdavid613: has joined #ruby
[18:02:03] troulouliou_dev: has joined #ruby
[18:02:25] nofxx: has joined #ruby
[18:03:53] shevy: >> x = 'abc'; x.lchop
[18:03:55] ruboto: shevy # => undefined method `lchop' for "abc":String (NoMethodError) ...check link for more (https://eval.in/406190)
[18:05:40] swgillespie: has joined #ruby
[18:08:07] Trynemjoel: has joined #ruby
[18:08:48] Maletor: has joined #ruby
[18:08:57] swills: has joined #ruby
[18:09:25] IceyEC: has joined #ruby
[18:09:36] shevy: I thought why we have .chop from the right side but no chopper from the left side
[18:10:30] centrx: has joined #ruby
[18:11:12] Rubie: has joined #ruby
[18:12:53] sinkensabe: has joined #ruby
[18:13:10] charliesome: has joined #ruby
[18:13:38] Trynemjoel: has joined #ruby
[18:16:28] dymk: Is there a way to instruct extconf to link against an additional archive, without having to list out every other one of the object files in $objs?
[18:17:04] dymk: I'm also getting a symbol not found error on load for __ZNSt8ios_base4InitD1Ev, which seems to be part of the c++ stdlib
[18:17:52] swills: dymk, do you have -stdlib in your cflags?
[18:18:10] Mendenhall: has joined #ruby
[18:18:45] swills: dymk, also, are you compiling your C++ code with CC or CXX?
[18:19:02] mdavid613: has joined #ruby
[18:19:24] dymk: swills, -std=c++11 and I didn't have -stdlib, no, but I've not needed it before
[18:19:29] dymk: I'm using the system's cc
[18:20:04] blackmes1: has joined #ruby
[18:20:14] swills: you should use CXX to compile C++ code, not CC
[18:20:34] swills: or else pass -stdlib
[18:21:30] dymk: Oh the extconf generated makefile is using CXX, not CC
[18:21:45] swills: then we'll need more detail
[18:23:38] yardenbar: has joined #ruby
[18:24:57] tubulife-: has joined #ruby
[18:25:50] dymk: swills, I think I fixed it - the issue was arising when I was defining my own $objs
[18:26:30] dymk: dynamically generating a depends file with the additional archive to link against did the trick (by appending the archive onto the makefile's $(OBJS) variable under the $(DLLIB) rule)
[18:26:45] dymk: it's a hack, but i feel like most of what extconf has to do is a hack, so it fits right in :P
[18:27:43] swills: i'm tryign to find docs on where gems are supposed to put header files they install
[18:28:11] werelivinginthef: has joined #ruby
[18:28:31] imperator: has joined #ruby
[18:28:38] PaulCapestany: has joined #ruby
[18:29:08] swills: Gem.Specification.extension_dir seems correct, but some seem to use the ext/ subdir instead
[18:29:34] umo20: has joined #ruby
[18:29:57] dymk: swills, these are headers that other libs are using?
[18:30:03] dymk: or private to the gem?
[18:30:33] swills: other libs are to use them
[18:32:22] juanpablo_: has joined #ruby
[18:33:15] amclain: has joined #ruby
[18:34:24] PaulCapestany: has joined #ruby
[18:35:23] dymk: swills, i suppose /usr/include is out of the question
[18:38:33] swills: first, you can't assume anyone has permissions, gem provides mechanisms for installing in appropriate places
[18:38:59] dymk: mm figured
[18:41:40] Trynemjoel: has joined #ruby
[18:43:42] swills: to give a more concrete example
[18:43:48] swills: /usr/local/lib/ruby/gems/2.2/extensions/amd64-freebsd-11/2.2/gtk3-2.2.5/rbgtk3.h
[18:43:59] swills: /usr/local/lib/ruby/gems/2.2/gems/gtk3-2.2.5/lib/rbgtk3.h
[18:44:17] swills: the gtk3 gem installed both of those
[18:44:22] svdb64: has joined #ruby
[18:44:31] swills: which one is correct?
[18:45:33] ElSif: well, one has an architecture in the path, one doesnt
[18:45:40] ElSif: (i know that doesnt really answer your question)
[18:46:16] ElSif: i would think the shorter path is superior but i am not actually sure of the convention
[18:46:34] khebbie: has joined #ruby
[18:46:39] khebbie_: has joined #ruby
[18:46:47] shevy: swills lemme check
[18:47:11] swills: the extensions one seems correct to me
[18:47:22] shevy: SITE_DIR/lib/ruby/site_ruby/2.2.0/x86_64-linux/rbgtk3.h
[18:47:23] swills: but i see gems only putting things in the ext dir next to lib
[18:47:39] swills: shevy, ok, so my expectations are right
[18:47:45] swills: but don't compare the same gem
[18:47:50] shevy: I did not install from the gem though
[18:47:53] swills: i'm trying to figure out what's actually correct for all gems
[18:47:58] shevy: I compiled the bindings
[18:48:04] swills: oh, that tells me even less then
[18:48:06] shevy: http://sourceforge.net/projects/ruby-gnome2/files/ruby-gnome2/ruby-gnome2-2.2.5/ruby-gnome2-all-2.2.5.tar.gz
[18:48:24] swills: again, what is right for all gems
[18:48:26] swills: not just that one
[18:48:45] christiandsg: has joined #ruby
[18:49:23] shevy: the way how it compiled for me is the right one :)
[18:49:32] shevy: if it helps you, curses also has ruby bindings
[18:49:40] shevy: the .so file for me is at /Programs/Ruby/Current/lib/ruby/gems/2.2.0/gems/curses-1.0.1/ext/curses/curses.so
[18:50:04] shevy: this one was copied to /Programs/Ruby/2.2.2/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0-static/curses-1.0.1/curses.so
[18:50:18] swills: so i'm thinking that the stuff under ext is the private copy
[18:50:29] swills: and the stuff under extensions is meant to be public
[18:50:31] shevy: so in your case... /usr/local/lib/ruby/gems/2.2.0/extensions/ somewhere there I guess
[18:50:49] shevy: yeah I think so, it will be compiled locally in that directory, then copied
[18:54:09] bnagy: has joined #ruby
[18:55:52] hololeap: has joined #ruby
[18:57:18] Soda: has joined #ruby
[18:58:18] swills: i think you're right
[18:58:31] swills: and yet, nokogumbo goes looking in the ext/ dir for nokogiri stuff
[18:58:38] swills: because that seems to be the only place nokogiri puts it
[18:59:24] swills: so i've changed nokogumbo to use Gem::Specification.extension_dir
[18:59:32] swills: but now i have to change nokogiri to put things there
[18:59:46] Sembei: has joined #ruby
[19:00:08] swills: and before i go sending bug reports to the nokogiri folks telling them to accept a patch that does that (which i havne't written yet), i want to find something that says yes, this is where they belong.
[19:00:12] IceyEC: has joined #ruby
[19:05:15] acke: has joined #ruby
[19:08:31] allomov_: has joined #ruby
[19:08:39] bricker: has joined #ruby
[19:10:18] leafybasil: has joined #ruby
[19:10:48] imperator: has joined #ruby
[19:17:05] sharpmachine: has joined #ruby
[19:17:39] JoshGlzBrk: has joined #ruby
[19:18:03] kies^: has joined #ruby
[19:19:02] IceyEC: has joined #ruby
[19:22:07] ght: Question: I have a Ruby app that references several global envvars defined in /etc/profile.d. I'm interested in being able to run the Ruby app without having to
[19:22:09] houhoulis: has joined #ruby
[19:22:27] ght: use a parent shell that sources the /etc/profile.d envvars. Since there's not a way to .source from Ruby directly,
[19:23:07] ght: Is anyone familiar with a technique to perhaps say, read a given file, extract the contents, then use ENV within Ruby to set the values directly from
[19:23:10] ght: the Ruby script?
[19:23:12] swills: and this is why storing config in environment variables is a bad idea
[19:23:25] sdothum: has joined #ruby
[19:23:47] ght: swills: It was designed that way to allow us to update certain values, such as specific API provider throttling params
[19:23:59] felixrsmith: has joined #ruby
[19:24:02] ght: globally, so we can change a single value and all of our apps that access that provider are updated.
[19:24:06] swills: any config can be updated
[19:24:31] swills: you could store the config in a yaml file and get the same effect
[19:24:41] ght: Yes, that's true, that's what we probably should do.
[19:24:43] swills: using shell for config is bad design, imho
[19:24:52] ght: Yes, I'm realizing that.
[19:25:07] ght: Ok, that's what we'll do then, we'll port the global config params to a yaml file
[19:25:17] ght: Would yaml be the preferred format for doing such?
[19:25:21] swills: you could even write shell that would pull the config out of yaml into shell again if you needed
[19:25:23] ght: vs XML or what have you, JSON
[19:25:29] swills: using jq for example
[19:25:37] swills: preferred by whom?
[19:25:40] ght: well, I really don't need the shell aspect of it at all
[19:25:45] ght: preferred by you
[19:25:49] ght: or the community
[19:25:53] ght: "the masses at large"
[19:25:58] ght: "those who are familiar with Ruby"
[19:26:06] swills: personally, i'd do yaml or json, but stay away from xml
[19:26:16] ght: Sounds good, thanks for the help, much apprecaited.
[19:26:17] swills: but that's just me
[19:26:25] swills: i mentioned the shell thing because it could ease transition
[19:26:48] tsou: has joined #ruby
[19:27:20] roolo: havenwood: Came something into your mind?
[19:28:33] havenwood: roolo: for processing markup? hem. markup or redcarpet probably.
[19:28:56] havenwood: roolo: https://github.com/github/markup#readme
[19:29:02] havenwood: roolo: https://github.com/vmg/redcarpet#readme
[19:29:08] roolo: havenwood: Not exactly mark(up|down). Simply preprocessing text files
[19:29:20] havenwood: roolo: What kind of text files?
[19:29:27] darix: roolo: what do you want to do to the files?
[19:29:51] leat: has joined #ruby
[19:29:52] roolo: darix: Any files. I wan't to create documentation for our projects (probably markdown). Some informations/addresses differs according to envinronment (stage/production/dev) I want something what will enable me to control what will be in resulting file
[19:30:21] havenwood: roolo: So you want something that can process markdown and other?
[19:30:29] havenwood: roolo: What all might the other be?
[19:30:29] Nilium: Sounds like what you need to do is sit down with a text editor and get to work.
[19:30:34] leat: has joined #ruby
[19:30:49] Thomas-0725: has joined #ruby
[19:31:50] roolo: havenwood: I guess what I want is not tied to syntax. Simply I want something will enable me to have conditionals in text files. Something like #ifdef in gcc, but language agnostic
[19:32:33] roolo: havenwood: Ruby tool would be best option, but I can work with other tools also
[19:34:53] Kilo`byte: has joined #ruby
[19:38:20] Rollabunna: has joined #ruby
[19:38:34] Zedi: has joined #ruby
[19:40:01] vimz: can I join two numbers together without converting them into strings? eg 5.join 2 #=> 52
[19:40:33] leat: has joined #ruby
[19:40:57] ytti: base10 operator
[19:41:55] rbowlby: has joined #ruby
[19:44:51] icebourg: has joined #ruby
[19:45:40] vimz: ytti no that'll only work if the first number is divisble by 10. what if I want 123.join 321
[19:45:47] vimz: ill just string interpolate
[19:46:18] djbkd: has joined #ruby
[19:47:14] Trynemjoel: has joined #ruby
[19:47:18] craysiii: i remember doing a programming challenge and using log to determine the "length" of the number and using that.
[19:47:53] dgutierrez1287: has joined #ruby
[19:48:18] craysiii: http://stackoverflow.com/a/1489928/922669 this is c++ but it gets the point across.
[19:48:27] eilkahn: has joined #ruby
[19:48:57] vimz: craysiii very clever. thanks :)
[19:50:39] acke: has joined #ruby
[19:50:48] havenwood: >> class Integer; def append n; self * 10 ** Math.log10(abs).floor.next + n end end; 123.append 321
[19:50:49] ruboto: havenwood # => 123321 (https://eval.in/406254)
[19:50:52] sarkyniin: has joined #ruby
[19:51:15] tmtwd: has joined #ruby
[19:51:46] craysiii: can i ask why you called next after floor? I am not familiar with Math library
[19:52:10] havenwood: craysiii: another way of saying "plus one"
[19:52:24] craysiii: why don't you call ceil?
[19:52:32] craysiii: if there is one.
[19:53:05] vimz: havenwood: damn. you're a genus
[19:53:26] havenwood: craysiii: I was just translating the algorithm - that's one step further. ;)
[19:53:33] Coraline: havenwood is a species
[19:53:37] freerobby: has joined #ruby
[19:53:46] vimz: Coraline haha
[19:54:07] yorickpeterse: a very special kind of species
[19:54:27] craysiii: we're all in the same family.
[19:55:10] havenwood: a species hungry for sandwiches, which is lucky because... sandwiches! be back post-sandwich.
[19:55:39] vimz: I would not mind the havenwood species' maths phenotype :/
[19:56:32] das_j: has joined #ruby
[19:56:36] Vile`: has joined #ruby
[19:57:06] yfeldblum: has joined #ruby
[19:58:35] das_j: Hell, I am currenty trying to build chef which is based on ruby. I think this is a ruby-related question, so I'm asking here. Chef has a line that leads the config loader (require 'chef-config/workstation_config_loader'), but ruby says it can't find it. I looked, but /usr/lib/ruby/gems/2.2.0/gems/chef-config-12.5.0.current.0/lib/chef-config/workstation_config_loader.rb seems to exist. What am I doing wrong?
[20:00:01] mistermocha: has joined #ruby
[20:00:44] leat: has joined #ruby
[20:00:59] Zedi: has joined #ruby
[20:01:04] pkrnj: has joined #ruby
[20:01:14] kadoppe: has joined #ruby
[20:03:11] juanpablo_: has joined #ruby
[20:03:58] mistermo_: has joined #ruby
[20:05:58] sinkensabe: has joined #ruby
[20:06:55] JohnBat26: has joined #ruby
[20:07:30] yqt: has joined #ruby
[20:07:46] tomaz_b: has joined #ruby
[20:08:41] dgutierrez1287: has joined #ruby
[20:09:11] fold: has joined #ruby
[20:09:23] shevy: that path seems to be wrong btw
[20:09:36] shevy: require 'chef-config' would look in the SITE_DIR not the gems/ subdirectory
[20:09:50] allcentury: has joined #ruby
[20:10:11] bhaak: has joined #ruby
[20:10:13] shevy: does the file exist at /usr/lib/ruby/site_ruby/2.2.0/ ?
[20:11:19] shpoont: has joined #ruby
[20:12:05] das_j: has joined #ruby
[20:12:13] das_j: /usr/lib/ruby only contains 2.2.0 and gems
[20:12:37] shevy: inside at /usr/lib/ruby/site_ruby/2.2.0/
[20:12:43] shevy: I am sure there must be lots of .rb files there right?
[20:13:01] pietr0: has joined #ruby
[20:13:07] tubulife-: has joined #ruby
[20:14:15] das_j: no, the directory doesn't exist
[20:16:03] workmad3: shevy: why wouldn't `require` be looking in rubygems paths?
[20:17:18] michael_mbp: has joined #ruby
[20:17:44] shevy: workmad3 well the directory does not exist ^^^
[20:18:15] workmad3: shevy: sounded like it did... /usr/lib/ruby/gems/2.2.0/<chef stuff> existed according to the original question
[20:18:49] shevy: ok so according to workmad3 the directory exists das_j
[20:19:00] workmad3: shevy: what didn't exist was /usr/lib/ruby/site_ruby/2.2.0... but then that should probably have been /usr/lib/ruby/2.2.0/site_ruby anyway
[20:19:22] j4cknewt: has joined #ruby
[20:19:24] shevy: yeah say that to das_j?
[20:19:52] das_j: No, there is no site_ruby. But /usr/lib/ruby/2.2.0 contains a lot of rb files
[20:20:02] swills: so i think adding all the headers to $INSTALLFILES in extconf.rb is the right way to go
[20:20:52] workmad3: das_j: tbh, it kinda sounded like there was a masked load error in the file... what happens if you load irb and run `require 'chef-config/workstation_config_loader'` directly?
[20:20:52] kraljev11: has joined #ruby
[20:21:45] das_j: Same error: https://gist.github.com/dasJ/6844c2f48c077df40a32
[20:21:59] apt-get_: has joined #ruby
[20:22:15] workmad3: das_j: right... that's not an error in failing to find the file
[20:22:31] christiandsg: has joined #ruby
[20:23:26] bronson: has joined #ruby
[20:23:38] craysiii: is there a preferred gem for irc in ruby?
[20:24:57] fullofcaffeine: has joined #ruby
[20:25:23] das_j: workmad3: Then, hat does the error say?
[20:25:30] craysiii: thanks swills
[20:25:39] kraljev11: has joined #ruby
[20:26:02] craysiii: wow. that is so powerful
[20:26:42] sinkensabe: has joined #ruby
[20:26:57] Scriptonaut: hey guys, I have this module: https://gist.github.com/robins35/723f629c628c5b214d39 However, from a pry session I can't do Command::execute, it says undefined method 'execute' for Command:Module
[20:27:01] swills: if you plan to go beyond irc, check out lita
[20:27:05] Scriptonaut: anyone know why that might be?
[20:27:08] Scriptonaut: I define it right in there
[20:27:39] Scriptonaut: I'm not using the module as a mixin, merely a namespace
[20:27:42] shevy: you would have to write it as "def self.execute"
[20:27:53] Scriptonaut: ah, that makes sense
[20:28:16] Scriptonaut: all my methods woul dhave to be def self... right?
[20:28:23] Scriptonaut: unless I did Command.new
[20:28:38] shevy: include yes, then it would be as if you defined it in your class
[20:28:45] Scriptonaut: ok, thought so, thanks again
[20:32:35] Rollabunna: has joined #ruby
[20:32:52] Zedi: has joined #ruby
[20:35:59] sypheren: has joined #ruby
[20:37:03] willywos: has joined #ruby
[20:37:39] Zedi: has left #ruby: ()
[20:40:02] {756d6f}: has joined #ruby
[20:40:48] imperator: has joined #ruby
[20:41:58] aevitas: has joined #ruby
[20:42:15] kraljev11_: has joined #ruby
[20:42:55] iateadonut: has joined #ruby
[20:43:28] T3: has joined #ruby
[20:43:34] drew0: has joined #ruby
[20:46:51] aevitas: has joined #ruby
[20:47:02] imperator: what am I doing wrong here with rspec 3? https://gist.github.com/djberg96/fda10387dd85e6e1654f
[20:47:03] mmasaki: has joined #ruby
[20:47:23] xMopxShell: has joined #ruby
[20:47:30] chridal: has joined #ruby
[20:48:03] sinkensabe: has joined #ruby
[20:49:54] towski_: has joined #ruby
[20:50:19] Trynemjoel: has joined #ruby
[20:50:49] kraljev11: has joined #ruby
[20:52:45] Oog: has joined #ruby
[20:53:05] Oog: i want the regex to stop tat the first </tr> but it is eating more - ideas? https://gist.github.com/anonymous/1f80ee4a26990883f42f
[20:54:05] Oog: instad it when the (.*?doctors ...)? isn't present before teh frist </tr> it eats until it finds one
[20:54:41] Oog: i used ? because i want that doctors with... part to be optional
[20:54:46] imperator: Oog, step 1, stop parsing html with a regex
[20:55:24] markholmes: has joined #ruby
[20:55:25] Oog: im so close though... and its so easy usually
[20:55:29] imperator: you'll shoot your eye out; use nokogiri instead
[20:55:41] Oog: one little issue! ther emust be a way
[20:56:25] imperator: sure, it's always just one little issue, and the next thing you know the dinosaurs are running amok
[20:57:49] kraljev11: has joined #ruby
[20:58:04] Oog: i just need a way to say don't match <\/tr> I tried (?=<\/tr>) but didnt work
[20:59:55] tennis_: has joined #ruby
[21:00:01] Rubie: has joined #ruby
[21:01:53] Ox0dea: has joined #ruby
[21:02:13] Ox0dea: Scriptonaut: For reference, these are all essentially equivalent if you're only using Foo as a namespace: https://gist.github.com/0x0dea/66db6eee00d65eff85d9
[21:02:45] eggoez: has joined #ruby
[21:03:36] diegoviola: has joined #ruby
[21:03:53] bizportal: has joined #ruby
[21:04:02] aevitas: has left #ruby: ()
[21:04:15] aevitas: has joined #ruby
[21:04:15] dymk: Does the native extension API provide a way of making hash maps?
[21:04:31] dymk: extensions.rdoc doesn't have any mention
[21:05:05] Ox0dea: dymk: rb_hash_new()
[21:05:11] dymk: Ox0dea, thanks!
[21:05:16] Ox0dea: Sure thing.
[21:05:20] pkrnj: has joined #ruby
[21:06:43] bmurt: has joined #ruby
[21:07:19] nobitanobi: has joined #ruby
[21:09:16] mistermocha: has joined #ruby
[21:09:37] sharpmachine: has joined #ruby
[21:10:53] MatrixBridge: has joined #ruby
[21:11:18] pontiki: has joined #ruby
[21:14:30] kraljev11: has joined #ruby
[21:14:43] swgillespie: has joined #ruby
[21:15:12] caterpilows: has joined #ruby
[21:16:07] aevitas_: has joined #ruby
[21:19:48] bruno-: has joined #ruby
[21:21:27] bodgix: has joined #ruby
[21:21:35] sinkensabe: has joined #ruby
[21:21:43] gguggi: has joined #ruby
[21:23:01] sinkensabe: has joined #ruby
[21:24:59] fullofcaffeine: has joined #ruby
[21:25:18] baweaver: has joined #ruby
[21:26:52] Rollabunna: has joined #ruby
[21:28:27] lkba: has joined #ruby
[21:29:44] texasmade: has joined #ruby
[21:30:04] christiandsg: has joined #ruby
[21:30:52] Trynemjoel: has joined #ruby
[21:34:17] antlong: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[21:36:19] mistym: has joined #ruby
[21:38:37] troulouliou_dev: has joined #ruby
[21:42:39] chipotle: has joined #ruby
[21:42:44] axisys: has joined #ruby
[21:46:02] j4cknewt: has joined #ruby
[21:47:08] joneshf-laptop: has joined #ruby
[21:48:20] freerobby: has joined #ruby
[21:48:24] axisys: has joined #ruby
[21:48:44] christiandsg: has joined #ruby
[21:51:10] [H]unt3r: has joined #ruby
[21:51:41] leat: has joined #ruby
[21:51:56] juanpablo_: has joined #ruby
[21:53:09] khebbie: has joined #ruby
[21:53:47] kraljev11: has joined #ruby
[21:55:16] bruno-: has joined #ruby
[21:56:50] Blaguvest: has joined #ruby
[21:57:03] robbyoconnor: has joined #ruby
[21:57:06] Vile`: has joined #ruby
[21:59:13] nofxx: has joined #ruby
[21:59:13] nofxx: has joined #ruby
[22:00:40] bruno-: has joined #ruby
[22:00:47] t_mmyv: has joined #ruby
[22:01:18] tubulife-: has joined #ruby
[22:02:32] mistym: has joined #ruby
[22:05:59] bruno-: has joined #ruby
[22:06:49] michael_mbp: has joined #ruby
[22:09:34] einarj: has joined #ruby
[22:10:16] IceyEC: has joined #ruby
[22:10:27] sharpmachine: has joined #ruby
[22:11:09] danzilio: has joined #ruby
[22:11:41] glennt: has joined #ruby
[22:12:38] danzilio: has joined #ruby
[22:12:46] mistermocha: has joined #ruby
[22:12:50] christiandsg: has joined #ruby
[22:12:53] dymk: Will rb_raise call C++ destructors when it does its weird jumping-back-to-the-interpreter thing?
[22:13:26] dymk: Ox0dea, you might know this :P
[22:13:55] dymk: it would seem it doesn't
[22:14:40] djbkd: has joined #ruby
[22:14:51] fullofcaffeine: has joined #ruby
[22:15:12] cornerman: has joined #ruby
[22:15:40] shock_one: has joined #ruby
[22:16:18] dymk: huh, rice seems to handle that kind of thing
[22:18:51] blue_deref: has joined #ruby
[22:19:26] yfeldblum: has joined #ruby
[22:21:04] pengin: has joined #ruby
[22:21:06] tejasmanohar: has joined #ruby
[22:21:11] Rollabunna: has joined #ruby
[22:21:49] tennis: has joined #ruby
[22:22:32] TheNet: has joined #ruby
[22:22:56] Ox0dea: dymk: I'm not intimately familiar with how Ruby's exception mechanisms interact with C++'s move semantics, but Rice does look like it helps manage that sort of thing.
[22:24:26] railswebdev: has joined #ruby
[22:33:57] theery: has joined #ruby
[22:33:57] omegamike: has joined #ruby
[22:34:12] latemus: has joined #ruby
[22:35:01] dfockler: has joined #ruby
[22:38:16] lannonbr: has joined #ruby
[22:40:07] casadei_: has joined #ruby
[22:40:12] xxneolithicxx: has joined #ruby
[22:40:16] jfarmer: has joined #ruby
[22:40:30] fgo: has joined #ruby
[22:46:00] Yzguy: has joined #ruby
[22:46:59] biscuitz: has joined #ruby
[22:47:40] biscuitz: in rspec how do I get this code to work? expect(subject.instance_variable_get(:@capacity)).to eql @array1.count
[22:48:06] biscuitz: its after the eq I'm going wrong but im not sure how to correct
[22:48:32] dseitz: has joined #ruby
[22:48:41] Rubie: has joined #ruby
[22:49:02] TheNet: has joined #ruby
[22:49:37] JeramyRR: has joined #ruby
[22:49:46] sinkensabe: has joined #ruby
[22:49:50] vimz: biscuitz try getting rid of the @
[22:50:05] biscuitz: ok lets see
[22:50:20] vimz: instance_variable_get(:capacity) .. I think anyway, I had that error ages ago
[22:50:28] Ox0dea: vimz: No, that's not right.
[22:50:52] biscuitz: no it doesn't work
[22:50:55] Ox0dea: >> instance_variable_get(:capacity) rescue $!
[22:50:56] ruboto: Ox0dea # => #<NameError: `capacity' is not allowed as an instance variable name> (https://eval.in/406395)
[22:51:46] workmad3: biscuitz: ?gist the full rspec test please
[22:51:50] biscuitz: @capacity is initialized in the class
[22:51:55] workmad3: bah, ruboto doesn't pick up like that :(
[22:51:59] workmad3: ?gist biscuitz
[22:51:59] ruboto: biscuitz, https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
[22:52:19] vimz: ['b','a'] => /[b | a]/
[22:52:44] vimz: while he's making a gist, can I turn an array into a simple regex? :P
[22:52:52] Ox0dea: vimz: Regexp.union.
[22:53:07] Ox0dea: >> Regexp.union %w[a b c]
[22:53:08] ruboto: Ox0dea # => /a|b|c/ (https://eval.in/406396)
[22:54:03] vimz: Ox0dea thatnks, exactly what I needed
[22:54:52] leesharma: has joined #ruby
[22:55:07] calleerlandsson: has joined #ruby
[22:57:13] fullofcaffeine: has joined #ruby
[22:58:57] sankaber: has joined #ruby
[22:59:57] TheHodge: has joined #ruby
[23:00:04] Ox0dea: vimz: Happy to help. Note well, though, that /[a|b]/ and /[ab]/ are not equivalent.
[23:01:47] biscuitz: I actually got it to work using stub....silly me
[23:04:28] Yzguy: has joined #ruby
[23:06:15] mdavid613: has joined #ruby
[23:09:06] leesharma: has joined #ruby
[23:11:59] pontiki: has joined #ruby
[23:12:26] IceyEC: has joined #ruby
[23:12:26] djbkd: has joined #ruby
[23:13:57] Sonja: has joined #ruby
[23:14:45] pontiki: has joined #ruby
[23:15:27] Rollabunna: has joined #ruby
[23:15:40] deavidsedice: has joined #ruby
[23:17:04] Mendenhall: has joined #ruby
[23:17:18] pontiki: has joined #ruby
[23:17:29] serivich: has joined #ruby
[23:18:51] baweaver: has joined #ruby
[23:20:14] sinkensabe: has joined #ruby
[23:21:17] tabakhase: has joined #ruby
[23:23:15] vimz: Ox0dea thanks for the gotcha, I did spot that was an OR :)
[23:27:03] rbowlby: has joined #ruby
[23:28:11] yfeldblum: has joined #ruby
[23:28:40] diegoviola: has joined #ruby
[23:29:34] Ox0dea: vimz: Right, but /[a|b]/ isn't an OR; it's a character class that matches the characters 'a', '|', and 'b'.
[23:32:22] christiandsg: has joined #ruby
[23:34:48] JeramyRR: has joined #ruby
[23:34:58] doctorly: has joined #ruby
[23:40:39] juanpablo_: has joined #ruby
[23:41:13] MatthewsFace: has joined #ruby
[23:42:54] RegulationD: has joined #ruby
[23:44:07] fullofcaffeine: has joined #ruby
[23:45:36] IceyEC: has joined #ruby
[23:47:32] _lexjm: has joined #ruby
[23:47:40] vimz: is it possible for ruby code to know what method it is inside? def foo magic_method #=> 'Im inside foo' end def baz magic_method #=> 'Im inside baz' end
[23:49:08] rbowlby: has joined #ruby
[23:49:28] tubulife-: has joined #ruby
[23:53:28] fullofcaffeine: has joined #ruby
[23:53:50] michael_mbp: has joined #ruby
[23:55:38] dgutierrez1287: has joined #ruby
[23:56:50] fgo: has joined #ruby
[23:58:27] banister: vimz __method__
[23:58:40] banister: >> def foo; "i'm inside #{__method__}"; end; foo
[23:58:41] ruboto: banister # => "i'm inside foo" (https://eval.in/406414)