« Back to channel list

#ruby - 07 June 2015

« Back 1 day Forward 1 day »
[00:00:41] teotwaki: has joined #ruby
[00:01:04] malconis: has joined #ruby
[00:01:09] kartouch: has joined #ruby
[00:03:46] mrsolo: has joined #ruby
[00:04:47] harly: has joined #ruby
[00:04:57] mrsolo: has joined #ruby
[00:05:35] havenwood: has joined #ruby
[00:06:06] OrbitalKitten: has joined #ruby
[00:07:10] kartouch: has joined #ruby
[00:09:33] Guest64536: has joined #ruby
[00:10:31] dgarstang: has joined #ruby
[00:10:53] dgarstang: Sigh. How do I coerce #<Mixlib::ShellOut:0x00000003562978> into a string? to_s isn't working
[00:11:50] Jandre: has joined #ruby
[00:12:00] yoongkang: has joined #ruby
[00:12:26] Guest64536: has joined #ruby
[00:12:50] nedp: has joined #ruby
[00:12:50] Guest64536: Download your copy of Website Calculator - Software that allows your visitors to calculate their website and drive in traffic for your website! http://www.websiteadverts.org/forum/forumdisplay.php?fid=20
[00:12:52] Guest64536: Download your copy of Website Calculator - Software that allows your visitors to calculate their website and drive in traffic for your website! http://www.websiteadverts.org/forum/forumdisplay.php?fid=20
[00:12:53] Guest64536: Download your copy of Website Calculator - Software that allows your visitors to calculate their website and drive in traffic for your website! http://www.websiteadverts.org/forum/forumdisplay.php?fid=20
[00:13:23] shevy: dgarstang hmm does it have a to_s method?
[00:13:33] dgarstang: shevy: I dunno
[00:13:44] dgarstang: shevy: you'd think so, given it's purpose.
[00:14:03] shevy: >> class Foo; def to_s; 'yo'; end; end; foo = Foo.new; puts foo
[00:14:04] ruboto: shevy # => yo ...check link for more (https://eval.in/376652)
[00:14:13] shevy: if you are able to modify it then you could add a to_s method
[00:14:16] dgarstang: shevy: well, I didn't write it
[00:14:47] dgarstang: http://www.rubydoc.info/github/opscode/mixlib-shellout/Mixlib/ShellOut .... I dont see anything about to string there
[00:14:48] shevy: yeah. if the author did not add a to_s method then It hink the only way is to change the code
[00:15:18] shevy: you can also use pp respectively #inspect
[00:15:24] nofxx: or it meant you to explicit use another method... either way shame on him heh
[00:15:26] casadei: has joined #ruby
[00:15:40] dgarstang: shevy: i find it hard to believe that a lib used to get the output of a command doesn't let you get it as a string
[00:16:02] Fooster: has joined #ruby
[00:16:07] OrbitalKitten: has joined #ruby
[00:16:58] shevy: I rarely define to_s
[00:17:04] shevy: only when I really need a certain output
[00:17:09] shevy: or to_str
[00:17:18] dgarstang: shevy: well, this looks like standard ruby library
[00:17:24] shevy: I think I modified to_str once for objects in my (permanently unfinished) ruby MUD
[00:17:40] rbowlby: has joined #ruby
[00:20:31] Scroff: has joined #ruby
[00:20:43] tejasmanohar: has joined #ruby
[00:20:53] mrsolow: has joined #ruby
[00:20:56] tejasmanohar: anyone have an open source project that they wanna see but dont wanna build?
[00:21:08] LJT: has joined #ruby
[00:23:04] RegulationD: has joined #ruby
[00:23:30] justintv90: has joined #ruby
[00:24:03] Limix: has joined #ruby
[00:24:08] malconis: has joined #ruby
[00:24:40] shevy: lots of ruby projects related to compiling and installing packages for instance
[00:25:06] harly: sure. a json api to retrieve the works of shakespear. servable as a docker container, using elastic search.
[00:25:09] harly: let me know when it's ready :)
[00:25:19] sarkis: has joined #ruby
[00:25:53] jack_rabbit: has joined #ruby
[00:27:18] LJT: has joined #ruby
[00:27:54] zubov: has joined #ruby
[00:27:59] diegoviola: has joined #ruby
[00:28:08] blandflakes: has joined #ruby
[00:29:12] LJT: has joined #ruby
[00:30:05] yoongkang: has joined #ruby
[00:30:53] tejasmanohar: compiling and installing what sorta packages
[00:31:43] mrmargolis: has joined #ruby
[00:33:09] OrbitalKitten: has joined #ruby
[00:33:10] fujimura: has joined #ruby
[00:33:13] pwnz0r: has joined #ruby
[00:34:01] athos_diddy: still working on regular expressions... https://gist.github.com/genericlady/6391a48dd1bf53581b74
[00:34:31] athos_diddy: i feel like i should be using the pipe | in between expressions
[00:34:46] shevy: tejasmanohar everything, without restriction; something like mac homebrew but without a mandatory requirement to have to know ruby, in order to install a package
[00:35:03] shevy: tejasmanohar https://github.com/Homebrew/homebrew/commits/master/Library/Formula
[00:35:29] tejasmanohar: shevy: you dont need to know ruby to install a homebrew package...?
[00:35:32] tejasmanohar: shevy: you mean create one?
[00:36:21] tejasmanohar: `brew install *` meh u dont you need ruby knowledge :P
[00:36:47] tejasmanohar: you dont even need ruby knowledge to create a lot of packages
[00:37:22] athos_diddy: maybe i should use MatchData
[00:38:15] i: has joined #ruby
[00:38:32] i: has joined #ruby
[00:39:17] alxndr: athos_diddy: how about /[\n\-.]+/
[00:39:28] OrbitalKitten: has joined #ruby
[00:40:27] Blizzy: has joined #ruby
[00:40:42] dseitz: has joined #ruby
[00:40:48] shevy: tejasmanohar yeah
[00:41:03] shevy: tejasmanohar quite a serious limitation
[00:41:19] tejasmanohar: shevy: not knowing ruby is a serious limitation to do what with brew?
[00:41:23] tejasmanohar: install packages?
[00:41:24] sarkis: hey all - so im trying to figure out why i still get the Host Verification errors: https://gist.github.com/sarkis/8c41ee815e7b6702252e
[00:41:25] tejasmanohar: i dont see how
[00:41:32] shevy: tejasmanohar to install something yes
[00:41:39] shevy: https://github.com/Homebrew/homebrew/commit/0c7eddd5ca3b85e5723a3f259e89033e0bcf6f04
[00:41:43] athos_diddy: great thanks i got the hang of it now
[00:41:49] sarkis: i've set the following ssh_options: { paranoid: false }
[00:41:54] jhooker: has joined #ruby
[00:42:13] tejasmanohar: shevy: thats to WRITE a package, not to install one
[00:42:20] tejasmanohar: installing one is `brew install {{package}}`
[00:42:31] shevy: that requires someone else to have done so
[00:42:34] shevy: and you must conform to it
[00:42:36] mrmargolis: has joined #ruby
[00:42:48] that1guy: has joined #ruby
[00:43:03] shevy: it's exclusive to osx too isn't it?
[00:43:51] robustus: has joined #ruby
[00:44:00] tejasmanohar: https://github.com/homebrew/linuxbrew :P
[00:44:26] tejasmanohar: npm is the best pkg manager imo
[00:44:50] anthony__: has joined #ruby
[00:44:59] tejasmanohar: maybe i should design a system package manager off of npm
[00:45:03] malconis: has joined #ruby
[00:45:25] shevy: how do I change the prefix?
[00:45:49] shevy: it seems to install into $HOME/.linuxbrew/Cellar/$NAME/$VERSION
[00:46:01] tejasmanohar: ah i dunno, i dont use linuxbrew
[00:46:07] millerti: has joined #ruby
[00:46:14] shevy: how do you change the prefix on mac?
[00:46:34] tejasmanohar: i dont know that either
[00:46:51] tejasmanohar: probably a limitation of homebrew shevy
[00:47:01] shevy: I don't see it in "brew --help", but at least the default prefix seems to work
[00:47:05] tejasmanohar: (though im not the person to ask, only been using mac for a month ish lol)
[00:47:06] shevy: I am giving brew install python a try
[00:48:19] shevy: ==> Installing dependencies for python: pkg-config, readline, sqlite, gdbm, makedepend, openssl
[00:48:43] tejasmanohar: why are those called deps
[00:48:56] tejasmanohar: shevy: https://gist.github.com/tejasmanohar/24cd32efe973ea2d035e
[00:49:03] tejasmanohar: you can --without...
[00:49:07] tejasmanohar: but those arent deps lmao
[00:49:10] roryhughes: has joined #ruby
[00:49:14] tejasmanohar: sqlite is not a fkin dep
[00:49:15] shevy: it's my first run
[00:49:26] shevy: not going to interrupt it now :)
[00:49:39] shevy: this feature is nice
[00:49:40] shevy: ==> Patching
[00:49:40] shevy: patching file crypto/x509/x509_vfy.c
[00:49:43] shevy: it patches automatically
[00:49:44] OrbitalKitten: has joined #ruby
[00:49:44] tejasmanohar: brew install python --without-sqlite --without-readline --without-gdbm
[00:49:56] shevy: you want me to add --without for all packages? :)
[00:50:07] tejasmanohar: i dont know why its a dep ok
[00:50:22] tejasmanohar: like it can be bundled but i dont know why its noted as a "dependency"
[00:51:19] nofxx: I don't get this npm hype... it's output is always messy, you can't even configure the fucking global thing and needs to keep adding -g everytime
[00:51:37] tejasmanohar: "you can't even configure the fucking global thing" ?
[00:51:41] tejasmanohar: -g is not default thats why
[00:51:58] tejasmanohar: if you wanted -g to be the default then ud have to do something like -l to install things locally when uw ant
[00:52:03] tejasmanohar: and then a bunch of ppl would complain nofxx
[00:52:04] nofxx: tejasmanohar, so, how to make it default, is how I want
[00:52:14] tejasmanohar: nofxx: and alias would do
[00:52:19] nofxx: why can't I configure for me, and let the others be happy?
[00:52:27] shevy: Makefile:153: recipe for target 'openssl' failed
[00:52:27] shevy: make[1]: *** [openssl] Error 2
[00:52:49] shevy: ==> perl ./Configure
[00:52:51] shevy: this is strange
[00:52:55] shevy: suddenly perl is used
[00:53:07] tejasmanohar: nofxx: maybe u can do something about that in npmrc idk
[00:53:08] MadMao: has joined #ruby
[00:53:13] nofxx: it's messy anyway, it's my point. 3 pkg managers that are polished and should be taken as default: pacman, brew and rubygems ;)
[00:53:34] shevy: well rubygems handles only ruby-related thingies
[00:53:51] tejasmanohar: how is npm messy nofxx
[00:54:04] longfeet: has joined #ruby
[00:54:11] tejasmanohar: rubygems is a mess compared to npm lol
[00:54:39] blandflakes: has joined #ruby
[00:54:42] havenwood: tejasmanohar: I'd disagree from what I've seen.
[00:54:44] tejasmanohar: with npm you have no need for such a thing
[00:54:51] Jandre: has joined #ruby
[00:54:53] tejasmanohar: yeah ok the output is nicer w/ rubygems
[00:55:10] tejasmanohar: other than its error handling npm is nice
[00:55:15] tejasmanohar: havenwood: why
[00:55:24] havenwood: tejasmanohar: RubyGems supports `gem i -g` or the long form `gem install --file` to install deps from a Gemfile and make a Gemfile.lock.
[00:56:07] tejasmanohar: havenwood: so?
[00:56:16] havenwood: tejasmanohar: So your Bundler point is moot.
[00:56:29] tejasmanohar: no thats not what i dislike about bundler
[00:56:35] tejasmanohar: just the wholei dea of having to use it
[00:56:43] tejasmanohar: rather than just installing packages locally in the project dir
[00:56:55] havenwood: tejasmanohar: --path, your choice
[00:56:56] tejasmanohar: doing it locally eliminates a crap ton of problems
[00:57:11] tejasmanohar: havenwood: well yeah you could install things globally if u want in npm too
[00:57:12] havenwood: tejasmanohar: then do that, but it doesn't make npm better than rubygems
[00:57:57] jgt1: has joined #ruby
[00:58:42] tejasmanohar: shevy: so thoughts on homebrew?
[01:03:20] iamninja: has joined #ruby
[01:04:17] Ariadeno: has joined #ruby
[01:04:23] lkba: has joined #ruby
[01:07:02] jesterfraud: nofxx, why on _earth_ would you want to install packages globally by default?
[01:07:08] jesterfraud: that's just asking for version conflicts
[01:07:30] segfalt: has joined #ruby
[01:08:33] swgillespie: has joined #ruby
[01:08:36] datanoise: has joined #ruby
[01:09:39] Fooster: has joined #ruby
[01:11:09] swgillespie: has joined #ruby
[01:11:53] EnergyCoffee: has joined #ruby
[01:13:00] rbowlby: has joined #ruby
[01:13:09] EnergyCoffee: has joined #ruby
[01:14:23] EnergyCoffee: has joined #ruby
[01:14:53] mdz_: has joined #ruby
[01:15:06] mc_fail_: has joined #ruby
[01:15:07] malconis: has joined #ruby
[01:15:39] EnergyCoffee: has joined #ruby
[01:16:54] EnergyCoffee: has joined #ruby
[01:17:08] Evangelia: has left #ruby: ("Leaving")
[01:17:47] Ariadeno: has joined #ruby
[01:17:56] _blizzy_: has joined #ruby
[01:17:59] fabrice31: has joined #ruby
[01:18:08] EnergyCoffee: has joined #ruby
[01:18:31] mary5030: has joined #ruby
[01:19:23] EnergyCoffee: has joined #ruby
[01:20:36] EnergyCoffee: has joined #ruby
[01:21:51] EnergyCoffee: has joined #ruby
[01:22:34] sarkis: has joined #ruby
[01:23:04] EnergyCoffee: has joined #ruby
[01:23:56] mujou: has joined #ruby
[01:24:22] pontiki: has joined #ruby
[01:25:15] senayar: has joined #ruby
[01:27:51] Scub_: has joined #ruby
[01:28:04] zero7: has joined #ruby
[01:28:18] pontiki: hello, ruby-land
[01:29:39] goodcodeguy: has joined #ruby
[01:30:10] lanemeyer: has joined #ruby
[01:30:46] RegulationD: has joined #ruby
[01:31:51] balazs: has joined #ruby
[01:33:10] d5sx43: has joined #ruby
[01:36:08] Channel6: has joined #ruby
[01:37:32] ghr: has joined #ruby
[01:38:53] GriffinHeart: has joined #ruby
[01:40:13] chussenot: has joined #ruby
[01:40:25] dopie: has joined #ruby
[01:42:24] Cort3z: has joined #ruby
[01:45:18] senayar: has joined #ruby
[01:46:55] dgutierrez1287: has joined #ruby
[01:47:43] malconis: has joined #ruby
[01:47:44] j4cknewt: has joined #ruby
[01:48:55] fujimura: has joined #ruby
[01:51:41] hewenhong: has joined #ruby
[01:53:12] crdpink: has joined #ruby
[01:53:30] michael_mbp: has joined #ruby
[01:55:18] Rubie: has joined #ruby
[01:55:26] bkxd: has joined #ruby
[01:55:51] ogpastaling: has joined #ruby
[01:56:26] IrishGringo: has joined #ruby
[01:56:46] CloCkWeRX: has left #ruby: ()
[01:56:49] edwinvdgraaf: has joined #ruby
[01:56:56] bogdanteleaga: has joined #ruby
[01:57:35] ogpastaling: has joined #ruby
[01:58:18] mc_fail: has joined #ruby
[01:59:42] unreal_: has joined #ruby
[02:02:00] edwinvdg_: has joined #ruby
[02:02:52] segfalt: has joined #ruby
[02:03:17] Spami: has joined #ruby
[02:04:44] sarkis: has joined #ruby
[02:06:55] sarkis: anyone know where capistrano providers ssh keys are put in for heaven/
[02:07:09] edwinvdgraaf: has joined #ruby
[02:07:14] serivich: has joined #ruby
[02:07:56] sarkis: oops wrong chan
[02:09:08] d5sx43: has joined #ruby
[02:09:09] dopie: has joined #ruby
[02:15:37] gambl0re: has joined #ruby
[02:16:21] justintv90: has joined #ruby
[02:19:51] ogpastaling: has joined #ruby
[02:20:10] mrmargolis: has joined #ruby
[02:21:24] prereflect: has joined #ruby
[02:23:28] havenwood: has joined #ruby
[02:24:29] Guest23220: has joined #ruby
[02:24:40] TinkerTyper: has joined #ruby
[02:24:42] Guest23220: Download the Freefavicon.net Generator Script Clone (requires MySQL and {PHP) download attachment at http://www.websiteadverts.org/forum/showthread.php?tid=21
[02:24:43] Guest23220: Download the Freefavicon.net Generator Script Clone (requires MySQL and {PHP) download attachment at http://www.websiteadverts.org/forum/showthread.php?tid=21
[02:24:49] Guest23220: Download the Freefavicon.net Generator Script Clone (requires MySQL and {PHP) download attachment at http://www.websiteadverts.org/forum/showthread.php?tid=21
[02:25:35] bruno-: has joined #ruby
[02:26:00] jgt1: has joined #ruby
[02:29:08] CustosLimen: has joined #ruby
[02:29:35] dgutierrez1287: has joined #ruby
[02:30:08] ogpastaling: has joined #ruby
[02:31:08] dwithers: has joined #ruby
[02:31:17] bronson: has joined #ruby
[02:32:17] revath: has joined #ruby
[02:34:00] charliesome: has joined #ruby
[02:34:16] ellisTAA: has joined #ruby
[02:35:03] ellisTAA: i???m getting into sinatra and so i???m checking out HTTP, does anyone know why we need communication protocols? why can???t machines communicate without them?
[02:35:43] ellisTAA: if it???s because things need a common language to communicate then what does the tcp/ip language look like?
[02:37:48] Vile`: has joined #ruby
[02:38:20] Rubie: has joined #ruby
[02:38:28] ghr: has joined #ruby
[02:38:40] mary5030: has joined #ruby
[02:40:00] Rubie: has joined #ruby
[02:40:52] pcfreak30: has joined #ruby
[02:41:35] blandflakes: has joined #ruby
[02:42:11] TinkerTyper: has joined #ruby
[02:43:05] Limix: has joined #ruby
[02:43:23] pcfreak30: I am investigating language options for a project I have as currently I may/may not be able to continue on nodejs. I am creating a scraper bot that could have 50-100 connections at once, and need to know the best option for a jquery like API for html parsing and option for mult-threading or a event system like node has. Also looking to know the best http client gem. Thanks.
[02:45:34] The_Phoenix: has joined #ruby
[02:46:49] hdev1: has joined #ruby
[02:46:56] jhooker: has joined #ruby
[02:49:20] noethics: has joined #ruby
[02:49:43] quebre: has joined #ruby
[02:49:55] dwithers1: has joined #ruby
[02:49:56] justintv90: has joined #ruby
[02:50:48] quebre: Warning: Rails rake tasks currently unavailable because we can't find the 'rails' gem rake aborted!
[02:50:56] quebre: please, what im doing wrong ?
[02:51:34] yoongkang: has joined #ruby
[02:51:45] someword: has joined #ruby
[02:51:58] noethics: it tells you exactly what the problem is
[02:52:23] quebre: but when i do 'gem install rails' it installs it and then same problem again
[02:52:49] adefa: has joined #ruby
[02:53:05] quebre: rails: /usr/bin/rails /usr/local/bin/rails /usr/share/man/man1/rails.1.gz
[02:53:11] quebre: so it is installed
[02:58:35] rbowlby: has joined #ruby
[03:00:51] affenhoden: has joined #ruby
[03:04:22] shevy: tejasmanohar didn't I tell them before :P
[03:04:44] d5sx43: has joined #ruby
[03:05:05] mrsolo: has joined #ruby
[03:07:36] shevy: I think every compile-related or install-related action should be doable through ruby; for instance, there is paco
[03:08:03] shevy: http://porg.sourceforge.net/
[03:08:56] revath: has joined #ruby
[03:10:10] metallicrwr: has joined #ruby
[03:10:45] braincras: has joined #ruby
[03:11:38] affenhoden: has joined #ruby
[03:15:14] j4cknewt: has joined #ruby
[03:15:16] DynamicMetaFlow: has joined #ruby
[03:15:36] pwnz0r: has joined #ruby
[03:16:55] affenhoden: has joined #ruby
[03:18:40] fabrice31: has joined #ruby
[03:19:38] RegulationD: has joined #ruby
[03:22:25] byprdct: has joined #ruby
[03:22:38] affenhoden: has joined #ruby
[03:23:09] CloCkWeRX: has joined #ruby
[03:26:33] darkf: has joined #ruby
[03:31:55] revath: has joined #ruby
[03:31:57] lavros: has joined #ruby
[03:32:57] affenhoden: has joined #ruby
[03:33:51] Xiti: has joined #ruby
[03:35:19] blandflakes: has joined #ruby
[03:35:43] stardiviner: has joined #ruby
[03:37:17] djbkd: has joined #ruby
[03:37:19] DynamicMetaFlow: has joined #ruby
[03:37:25] xxneolithicxx: has joined #ruby
[03:37:36] mary5030: has joined #ruby
[03:37:41] fujimura: has joined #ruby
[03:38:00] joaomdmoura: has joined #ruby
[03:39:13] ghr: has joined #ruby
[03:40:26] nini1294: has joined #ruby
[03:41:00] root3d: has joined #ruby
[03:41:16] lavros: has joined #ruby
[03:49:59] shevy: I have a question: http://shevegen.square7.ch/screenshot.png
[03:50:12] blandflakes: has joined #ruby
[03:50:14] shevy: "Read an Array of float values from a file"
[03:50:26] shevy: are floats in ruby the same as floats in java?
[03:50:47] shevy: e. g. 5.0, 5.2, 4.1
[03:51:31] d0lph1n98: has joined #ruby
[03:54:20] ferr1: has joined #ruby
[03:54:45] yoongkang: has joined #ruby
[03:55:05] edwinvdgraaf: has joined #ruby
[03:56:14] mozzarella: looks like it has both 32 bits and 64 bits types
[03:56:20] gix: has joined #ruby
[03:56:33] Ox0dea: has joined #ruby
[03:56:52] Ox0dea: shevy: No immediately meaningful distinction comes to mind.
[03:57:10] Ox0dea: >> 0.1 + 0.2
[03:57:11] ruboto: Ox0dea # => 0.30000000000000004 (https://eval.in/376680)
[03:57:15] Ox0dea: IEEE 754 and all that.
[03:57:21] OrbitalKitten: has joined #ruby
[03:57:24] shevy: in my world
[03:57:30] shevy: 0.1 + 0.2 is 0.3
[03:57:50] mozzarella: man, teachers really know how to make computer science boring and unenjoyable
[03:58:33] shevy: Ox0dea do you happen to know what is meant with a "minimum" here? in ruby, this would be building an Array of floats, and then calling .min on it right?
[03:58:55] Ox0dea: shevy: Aye, that's my understanding.
[03:59:01] shevy: really strange
[03:59:28] shevy: I wonder if java does not have a .min variant
[03:59:29] Ox0dea: A hefty portion of those instructions don't really apply to Ruby.
[03:59:35] shevy: yeah I suppose so :(
[03:59:37] mozzarella: sounds easy to me
[04:00:02] shevy: yep, it's introductory-level java
[04:00:08] Ox0dea: shevy: Have you tried CodingBat?
[04:00:21] shevy: my major problem is trying to make sense of the question itself hehe
[04:00:31] shevy: bat, the animal?
[04:00:39] Ox0dea: Nah, codingbat.com.
[04:00:56] pengin: has joined #ruby
[04:01:08] Ox0dea: Beginner-level Java/Python tasks that translate over to Ruby cleanly enough.
[04:04:48] rbowlby: has joined #ruby
[04:06:18] malconis: has joined #ruby
[04:14:55] d5sx43: has joined #ruby
[04:15:10] bruno-: has joined #ruby
[04:15:55] workmad3: has joined #ruby
[04:18:52] olistik: has joined #ruby
[04:22:05] duderonomy: has joined #ruby
[04:24:51] rbowlby: has joined #ruby
[04:25:52] djbkd: has joined #ruby
[04:28:07] mrsolo: has joined #ruby
[04:29:17] mrsolo: has joined #ruby
[04:30:57] pwnz0r: has joined #ruby
[04:31:30] mdz_: has joined #ruby
[04:31:45] balazs: has joined #ruby
[04:35:24] root3d: has joined #ruby
[04:35:24] root3d: has joined #ruby
[04:35:33] leat1: has joined #ruby
[04:35:41] sarkis: has joined #ruby
[04:36:47] bkxd: has joined #ruby
[04:39:35] willharrison: has joined #ruby
[04:39:47] leat1: has joined #ruby
[04:39:58] ghr: has joined #ruby
[04:42:29] adefa: has joined #ruby
[04:45:05] robbyoconnor: has joined #ruby
[04:45:37] pontiki: shevy: i believe the point of the assignment is not to learn the Java run-time library so much as how to find the minimum value in an array yourself, i.e. the algorithm
[04:45:38] mandarinkin: has joined #ruby
[04:46:57] pontiki: personally, i'd never force someone to use Java to learn basic algorithms and data structures
[04:50:22] leat1: has joined #ruby
[04:52:08] Ox0dea: pontiki: But C would be okay?
[04:53:06] revath: has joined #ruby
[04:53:24] pontiki: are you asking what i would require? :)
[04:53:30] pontiki: sure, C would be great
[04:54:35] Spami: has joined #ruby
[04:54:49] pontiki: ACTION cackles evilly as she tells her class the required development environment is Emacs and all programs will be done in Elisp
[04:56:05] pontiki: what's the state of debuggers / repls in the C-world? it's been ages since i wrote C at that level
[04:56:20] Ox0dea: gdb still reigns, I would think.
[04:56:32] Ox0dea: There's CINT for "interpreting" C.
[04:56:51] Ox0dea: And Valgrind for obsessing over "correctness", for some definitions.
[04:57:51] Ox0dea: pontiki: Have you given Spacemacs a try?
[04:58:19] pontiki: i understand Spacemacs is VIM/evil focused
[04:58:27] pontiki: i've been using Emacs since 1984-5
[04:58:37] Ox0dea: Oh. Why the evil cackling, then
[04:59:17] pontiki: because using Emacs warps people. it's certainly warped me :)
[05:00:05] pontiki: having a dev env that continues to grow with me, i can change, reconfigure as i need, extend, simplify, streamline
[05:00:10] pontiki: yeah, warped
[05:00:26] Ox0dea: Surely you're aware that all of those adjectives are applicable for Vimmers?
[05:00:42] Ox0dea: s/adjectives/descriptors/
[05:00:52] pontiki: i should absolutely hope so!
[05:00:59] dgutierrez1287: has joined #ruby
[05:01:03] pontiki: i think they can apply for sublime users, too
[05:02:01] Ox0dea: Does Sublime have anything like workspaces? Isn't it just one file per tab?
[05:02:41] pontiki: then there's supercool stuff like pharo
[05:02:44] bnagy: yes, it does
[05:03:05] bnagy: it has "workspaces" and "projects" that you can quick switch between
[05:03:19] Ox0dea: I've only ever seen Pharo being used by Avdi Grimm during a Ruby Tapas.
[05:03:28] bnagy: where each has its own set of folders in the file picker and open tabs etc
[05:03:39] pontiki: oh, yes. a project / workspace occupies a window, but you can have many windows open on many projects
[05:03:48] bnagy: also, if you want
[05:04:43] pontiki: pharo is one of the successors to the old parc place systems smalltalk v
[05:06:06] ledestin: has joined #ruby
[05:08:33] RegulationD: has joined #ruby
[05:09:42] Scroff: has joined #ruby
[05:10:00] justintv90: has joined #ruby
[05:10:42] justintv90: has joined #ruby
[05:10:54] dcarmich: has joined #ruby
[05:11:42] justintv90: has joined #ruby
[05:12:30] ellisTAA: has joined #ruby
[05:12:52] mrsolo: has joined #ruby
[05:13:04] justintv90: has joined #ruby
[05:15:41] justintv90: has joined #ruby
[05:16:29] justintv90: has joined #ruby
[05:16:59] avdi: Ox0dea: that wasn't a RubyTapas episode :-)
[05:17:26] Ox0dea: It seems foolish to have assumed so, in hindsight.
[05:17:43] avdi: Nope. That was just a quick blog post I made for fun
[05:17:56] avdi: Well, two of them I guess
[05:19:02] avdi: I like to think that RubyTapas episodes have slightly higher production quality :-)
[05:19:36] sarkis: has joined #ruby
[05:20:02] avdi: pontiki: Emacs warped Ruby too. Matz said so :-)
[05:20:39] pontiki: lol, avdi :D
[05:21:37] avdi: Btw, I've used both, and it really doesn't apply to vim. Emacs is written in itself. It's a live self reflective lisp machine. Vim is a (very, very effective) tool for editing text.
[05:23:17] avdi: You can write extensions to vim, but there is something fundamentally different about working in an environment that's written in itself. Which is also where you can see the Emacs influence on Ruby.
[05:23:27] chinmay_dd: has joined #ruby
[05:23:43] Jandre: has joined #ruby
[05:23:49] Ox0dea: avdi: What do you recently recall not being able to do with Vim?
[05:24:06] avdi: Ox0dea: That's the wrong question :-)
[05:24:28] Ox0dea: For the record, I acknowledge the power of homoiconicity, but its practical value in this space feels negligible.
[05:24:43] avdi: Like learning Haskell, it's not about what you can or can't do in a Turing complete language.
[05:25:03] avdi: It's about how it changes the way you think about problems.
[05:25:12] hubcaps: has joined #ruby
[05:25:43] rbowlby: has joined #ruby
[05:25:45] avdi: Ox0dea: and I'm not referring to homoiconicity.
[05:25:53] zotherstupidguy: has joined #ruby
[05:25:58] Ox0dea: Pretend I put the word in quotes, then.
[05:26:27] fujimura: has joined #ruby
[05:26:30] pontiki: i feel overwhelmed
[05:28:02] pontiki: sorry, don't stop chatting!!
[05:28:16] avdi: Just like everyone should write some Haskell, everyone should spend some time in a self-hosted, self modifying, self reflective working environment. Whether that's emacs, or a Smalltalk (e.g. Pharo)
[05:28:20] rickmasta: has joined #ruby
[05:28:47] avdi: And unfortunately it's not something I can convey in a description. You have to do it for a while.
[05:29:19] avdi: It changes how you think.
[05:29:29] avdi: Anyway, it's bedtime over here.
[05:29:41] pontiki: night, avdi, thanks for stopping in :D
[05:33:22] justintv90: has joined #ruby
[05:34:01] justintv90: has joined #ruby
[05:39:55] Tamae: has joined #ruby
[05:40:40] ghr: has joined #ruby
[05:42:12] GGMethos: has joined #ruby
[05:43:17] edwinvdgraaf: has joined #ruby
[05:43:30] doctorly: has joined #ruby
[05:45:12] blandflakes: has joined #ruby
[05:47:24] mrsolo: has joined #ruby
[05:47:31] MVPhelp: has joined #ruby
[05:48:08] bronson: has joined #ruby
[05:49:30] code1o6: has joined #ruby
[05:50:24] mrmargolis: has joined #ruby
[05:52:24] speaking1ode: has joined #ruby
[05:52:35] baweaver: has joined #ruby
[05:53:25] mdz_: has joined #ruby
[05:53:31] aapole: has joined #ruby
[05:56:33] olistik: has joined #ruby
[06:00:28] abuzze: has joined #ruby
[06:01:52] KrzaQ: has joined #ruby
[06:03:27] multi_io: has joined #ruby
[06:04:58] mndrinkin: has joined #ruby
[06:08:27] gianlucadv: has joined #ruby
[06:10:44] bkxd: has joined #ruby
[06:11:58] leat1: has joined #ruby
[06:13:33] iamninja: has joined #ruby
[06:13:37] yardenbar: has joined #ruby
[06:14:13] houhoulis: has joined #ruby
[06:17:06] olistik: has joined #ruby
[06:20:04] zotherstupidguy: has joined #ruby
[06:21:29] mrsolo: has joined #ruby
[06:22:20] Cort3z: has joined #ruby
[06:23:13] metallicrwr: has joined #ruby
[06:26:26] mndrinkin: has joined #ruby
[06:26:30] rbowlby: has joined #ruby
[06:27:13] leat1: has joined #ruby
[06:30:57] araujo_: has joined #ruby
[06:31:27] adefa: has joined #ruby
[06:31:46] blue_deref: has joined #ruby
[06:34:28] sinkensabe: has joined #ruby
[06:39:18] ixti: has joined #ruby
[06:41:28] ghr: has joined #ruby
[06:41:29] leat1: has joined #ruby
[06:41:29] pontiki: everyone leave for the weekend or something?
[06:42:43] sevenseacat: has joined #ruby
[06:44:38] krz: has joined #ruby
[06:45:59] blandflakes: has joined #ruby
[06:50:09] dfockler: has joined #ruby
[06:52:41] Miphix: has joined #ruby
[06:57:23] RegulationD: has joined #ruby
[06:59:43] zotherstupidguy: has joined #ruby
[07:01:54] unshadow: has joined #ruby
[07:02:11] j4cknewt: has joined #ruby
[07:04:09] bruno-: has joined #ruby
[07:04:43] rushed: has joined #ruby
[07:06:43] leat1: has joined #ruby
[07:07:37] Cort3z: has joined #ruby
[07:09:54] pwnz0r: has joined #ruby
[07:12:01] leat1: has joined #ruby
[07:12:12] fujimura: has joined #ruby
[07:15:42] gsd_: has joined #ruby
[07:18:26] GMka: has joined #ruby
[07:18:51] GMka: has joined #ruby
[07:19:33] GMka: has joined #ruby
[07:20:13] Jackneill: has joined #ruby
[07:20:19] fabrice31: has joined #ruby
[07:20:24] GMka: has joined #ruby
[07:21:17] senayar: has joined #ruby
[07:21:33] GMka: has joined #ruby
[07:22:40] Y4Rv1K: has joined #ruby
[07:23:06] GMka: has joined #ruby
[07:24:38] tdy: has joined #ruby
[07:25:24] olistik: has joined #ruby
[07:27:46] mrsolo: has joined #ruby
[07:29:29] adac: has joined #ruby
[07:29:35] Hanmac: has joined #ruby
[07:31:25] edwinvdgraaf: has joined #ruby
[07:36:32] Cort3z: has joined #ruby
[07:37:04] Y4Rv1K: has joined #ruby
[07:39:15] mrmargolis: has joined #ruby
[07:40:22] lavros: has joined #ruby
[07:40:54] mndrinkin: has joined #ruby
[07:41:41] harly: has joined #ruby
[07:42:09] ghr: has joined #ruby
[07:44:26] pengin: has joined #ruby
[07:46:58] bkxd: has joined #ruby
[07:47:50] ardinent: has joined #ruby
[07:48:00] sinkensabe: has joined #ruby
[07:48:05] Jandre: has joined #ruby
[07:52:55] rickmasta: has joined #ruby
[07:53:24] workmad3: has joined #ruby
[07:54:07] stardiviner: has joined #ruby
[07:54:51] sinkensabe: has joined #ruby
[07:58:01] GMka: has joined #ruby
[07:58:05] yoongkang: has joined #ruby
[07:58:33] ardinent: Hi there. I have a question about the fundamental nature of Ruby. I have googled around a bit and most articles seem to try convince you about which framework to use. Or at least to substantiate the debate. Ex. https://blog.engineyard.com/2014/rails-vs-sinatra. I work in a PHP orientated development environment and would like to broaden my skillset. Went through Code School's Ruby primer yesterday. I'm familiar with M
[07:58:33] ardinent: VC's also. At this point I would just like to know what is the easiest way to serve a ruby file/page from a web server.
[07:58:40] lavros: has joined #ruby
[07:58:44] rht: has joined #ruby
[07:58:57] GMka: has joined #ruby
[08:00:10] ardinent: Would it be something similar to this example I found: http://learnrubythehardway.org/book/ex50.html. Or is this not a practical/widely used method?
[08:00:17] timonv: has joined #ruby
[08:00:58] dgutierrez1287: has joined #ruby
[08:01:51] ardinent: This question has been asked on a forum before and explains almost exactly what I want to understand: http://www.codingforums.com/ruby-and-ruby-on-rails/230780-how-do-you-create-simple-web-page-ruby.html. Most of the answers send you straight to Ruby On Rails
[08:01:57] athos_diddy: has joined #ruby
[08:02:22] chussenot: has joined #ruby
[08:02:36] leat1: has joined #ruby
[08:04:00] michael_mbp: has joined #ruby
[08:05:21] michas: has joined #ruby
[08:08:49] felixjet_: has joined #ruby
[08:11:04] sinkensabe: has joined #ruby
[08:11:24] justintv90: has joined #ruby
[08:12:54] leat1: has joined #ruby
[08:14:07] jgt1: has joined #ruby
[08:15:38] rikai: has joined #ruby
[08:16:01] sandstrom: has joined #ruby
[08:17:59] aapole: has joined #ruby
[08:19:07] kstuart: has joined #ruby
[08:20:20] j4cknewt: has joined #ruby
[08:21:07] ur5us: has joined #ruby
[08:23:36] CustosLimen: has joined #ruby
[08:23:37] pwnz0r: has joined #ruby
[08:24:23] leat1: has joined #ruby
[08:25:27] ndrei: has joined #ruby
[08:25:37] Y4Rv1K: has joined #ruby
[08:27:11] manveru: has joined #ruby
[08:30:05] yeticry: has joined #ruby
[08:31:13] j4cknewt: has joined #ruby
[08:32:11] sandelius: has joined #ruby
[08:32:24] DoubleMalt: has joined #ruby
[08:33:52] olistik: has joined #ruby
[08:34:00] leat2: has joined #ruby
[08:34:34] tvw: has joined #ruby
[08:34:55] abuzze: has joined #ruby
[08:35:03] blandflakes: has joined #ruby
[08:35:58] dangerousdave: has joined #ruby
[08:37:22] IanVorn: has joined #ruby
[08:40:05] justintv90: has joined #ruby
[08:42:33] ponga: has joined #ruby
[08:42:56] ghr: has joined #ruby
[08:43:00] livathinos: has joined #ruby
[08:43:37] leat2: has joined #ruby
[08:43:45] yeticry: has joined #ruby
[08:44:39] roolo: has joined #ruby
[08:46:17] RegulationD: has joined #ruby
[08:48:33] araujo: has joined #ruby
[08:48:42] araujo: has joined #ruby
[08:50:19] bruno-: has joined #ruby
[08:51:23] attlasbot: has joined #ruby
[08:52:56] sandelius: has joined #ruby
[08:52:59] chussenot: has joined #ruby
[08:53:30] leat2: has joined #ruby
[08:53:42] Y4Rv1K: has joined #ruby
[08:54:34] DEA7TH: has joined #ruby
[08:56:44] CloCkWeRX: has left #ruby: ()
[08:56:44] lkba_: has joined #ruby
[08:57:03] lolmaus: has joined #ruby
[09:00:57] fujimura: has joined #ruby
[09:01:28] revath: has joined #ruby
[09:01:59] mdz_: has joined #ruby
[09:02:34] AnoHito: has joined #ruby
[09:04:05] pandaant: has joined #ruby
[09:07:28] ardinent: has joined #ruby
[09:08:03] desiderius: has joined #ruby
[09:10:59] ixti: has joined #ruby
[09:11:23] neanderslob: has joined #ruby
[09:12:41] olistik: has joined #ruby
[09:13:04] dcarmich: has joined #ruby
[09:15:25] leat2: has joined #ruby
[09:19:05] Miphix: has joined #ruby
[09:21:03] fusillicode: has joined #ruby
[09:21:08] fusillicode: has left #ruby: ()
[09:21:13] fabrice31: has joined #ruby
[09:22:32] frank_o: has joined #ruby
[09:22:36] rbowlby: has joined #ruby
[09:22:46] datanoise: has joined #ruby
[09:24:26] dionysus69: has joined #ruby
[09:25:18] allomov: has joined #ruby
[09:25:24] ndrei: has joined #ruby
[09:25:28] kaspernj: has joined #ruby
[09:27:33] Y4Rv1K: has joined #ruby
[09:27:51] Y4Rv1K: has joined #ruby
[09:28:03] mrmargolis: has joined #ruby
[09:31:04] idafyaid: has joined #ruby
[09:31:43] LJT: has joined #ruby
[09:32:22] afrianska: has joined #ruby
[09:33:12] yoongkang: has joined #ruby
[09:33:12] Y4Rv1K: has joined #ruby
[09:34:13] leat2: has joined #ruby
[09:34:24] mengu: has joined #ruby
[09:34:24] mengu: has joined #ruby
[09:35:13] olistik: has joined #ruby
[09:37:16] workmad3: has joined #ruby
[09:38:51] stoogenmeyer: has joined #ruby
[09:39:02] afrianska: has joined #ruby
[09:42:32] justintv90: has joined #ruby
[09:43:16] Ariadeno: has joined #ruby
[09:43:22] justintv90: has joined #ruby
[09:44:04] justintv90: has joined #ruby
[09:45:34] spider-mario: has joined #ruby
[09:48:33] Spami: has joined #ruby
[09:48:42] Spami: has joined #ruby
[09:49:30] keen_: has joined #ruby
[09:49:35] veleno: has joined #ruby
[09:49:47] A124: has joined #ruby
[09:50:53] ebbflowgo: has joined #ruby
[09:52:45] Blaguvest: has joined #ruby
[09:53:05] TinkerTyper: has joined #ruby
[09:53:13] stoogenmeyer: hey guys, can anyone help my diagnose a problem I am having, I have a class with a method 'api_request' defined, then afterwards there is a method which tries to call 'api_request' but receives an error NoMethodError (undefined method `[]' for nil:NilClass). How can I solve this issue? Thank you so much
[09:54:57] Ariadeno_: has joined #ruby
[09:57:38] Rahul_Roy: has joined #ruby
[09:58:02] ebbflowgo: has joined #ruby
[09:58:35] jhass: ?code stoogenmeyer
[09:58:35] ruboto: stoogenmeyer, We can't help you without your code, please post it to https://gist.github.com
[09:58:50] Y4Rv1K: has joined #ruby
[10:00:16] Polysics_: has joined #ruby
[10:01:10] gianlucadv: has joined #ruby
[10:03:26] lxsameer: has joined #ruby
[10:03:42] lxsameer: has joined #ruby
[10:03:49] stoogenmeyer: hey guys thanks for responding, it's not my code actually its sensuapp (https://github.com/sensu-plugins/sensu-plugin/blob/master/lib/sensu-handler.rb)
[10:04:19] jhass: please post the backtrace to gist then
[10:05:00] jhass: I see no call to api_request in the code you linked that could ever fail with that error
[10:06:52] bronson: has joined #ruby
[10:07:34] stoogenmeyer: you mind if I post to pastebin instead?
[10:08:09] stoogenmeyer: this is the backtrace (http://pastebin.com/vrXtnEPb)
[10:08:09] ruboto: stoogenmeyer, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/ec7b6af27ced657d0769
[10:08:09] ruboto: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[10:08:31] adefa: has joined #ruby
[10:09:37] jhass: I guess your settings are wrong
[10:09:52] jhass: either settings['api'] returns nil
[10:09:56] jhass: s/either//
[10:10:18] edwinvdgraaf: has joined #ruby
[10:10:51] nofxx: has joined #ruby
[10:12:44] stoogenmeyer: that was excatly the problem.. I've been banging my head at the wall over this. But why would the error say undefined method ? That is not the true error
[10:13:33] jhass: >> nil["host"]
[10:13:34] ruboto: jhass # => undefined method `[]' for nil:NilClass (NoMethodError) ...check link for more (https://eval.in/376730)
[10:14:19] stoogenmeyer: i am very upset, I think they should make a better error (-:
[10:14:25] stoogenmeyer: thank you guys you really saved me
[10:14:33] jhass: however I agree that sensu should validate that better, might make a nice first contribution to an open source project ;)
[10:15:40] BTRE: has joined #ruby
[10:16:52] bertocode: has joined #ruby
[10:17:00] sandelius: has joined #ruby
[10:19:06] sarkyniin: has joined #ruby
[10:19:36] yaw: has joined #ruby
[10:20:31] veleno: has joined #ruby
[10:20:32] Xeago: has joined #ruby
[10:22:20] CustosLimen: has joined #ruby
[10:22:42] yaw: has joined #ruby
[10:23:49] blandflakes: has joined #ruby
[10:24:20] dcarmich: has joined #ruby
[10:25:45] yaw: has joined #ruby
[10:26:44] yoongkang: has joined #ruby
[10:30:29] Juanchito: has joined #ruby
[10:30:45] phale: has joined #ruby
[10:30:47] phale: hello rubians
[10:31:26] jhass: *rubyists
[10:33:15] phale: has left #ruby: ("Leaving")
[10:33:49] segfalt: has joined #ruby
[10:35:09] RegulationD: has joined #ruby
[10:35:32] bruno-: has joined #ruby
[10:36:04] yaw: has joined #ruby
[10:39:51] chamila: has joined #ruby
[10:41:27] jesterfraud: this still blows my mind
[10:41:32] ruboto: jesterfraud # => undefined method `*' for nil:NilClass (NoMethodError) ...check link for more (https://eval.in/376741)
[10:41:39] jhass: that it's a method?
[10:41:43] ruboto: jesterfraud # => [nil, nil, nil, nil, nil] (https://eval.in/376743)
[10:41:55] jhass: uh, careful with that one
[10:42:09] jhass: >> (["foo"] * 5).map(&:object_id)
[10:42:10] ruboto: jhass # => [541605940, 541605940, 541605940, 541605940, 541605940] (https://eval.in/376744)
[10:42:22] jhass: >> Array.new(5) { "foo" }.map(&:object_id)
[10:42:23] ruboto: jhass # => [551728140, 551729070, 551729490, 551729700, 551729850] (https://eval.in/376745)
[10:42:24] jesterfraud: it clones them?
[10:42:30] jesterfraud: it some instances?
[10:42:33] jhass: no, it adds references to the same object
[10:42:49] jesterfraud: good to know, thanks!
[10:44:27] ghr: has joined #ruby
[10:44:45] n008f4g_: has joined #ruby
[10:46:05] alexherbo2: has joined #ruby
[10:46:07] jesterfraud: also, does ruboto support ActiveSupport methods?
[10:46:54] Mon_Ouie: No, I'm pretty sure there are no gems installed on eval-in (and you probably couldn't even load activesupport because of the sandbox)
[10:46:56] chipotle: has joined #ruby
[10:47:10] jesterfraud: probably not a bad thing, but it would be a good one to remember
[10:48:53] apeiros: Mon_Ouie: charliesome special cased some things
[10:49:16] apeiros: depending on how popular it is, he might add more. but it'll increase his effort???
[10:49:23] apeiros: and not sure how we could help him reduce it
[10:49:44] fujimura: has joined #ruby
[10:50:04] Mon_Ouie: Any examples of things that are special cased?
[10:50:27] apeiros: I remember that most of stdlib could not be loaded at first and now can. stuff like date, json etc.
[10:53:07] jesterfraud: who's the author?
[10:53:51] Mon_Ouie: The eval-in website? charliesome
[10:54:00] _blizzy_: has joined #ruby
[10:54:03] stoogenmeyer: jhass: thanks, that's a great idea - I'll see if I can do that
[10:54:21] jesterfraud: thanks charliesome
[10:54:51] leat2: has joined #ruby
[10:56:06] Xeago: has joined #ruby
[10:56:40] apeiros: ruboto uses eval-in
[10:56:57] apeiros: so author of ruboto's eval code is charliesome too ;-)
[10:59:21] mister_solo: has joined #ruby
[11:01:12] joeyj: has joined #ruby
[11:02:10] Y4Rv1K: has joined #ruby
[11:02:18] FernandoBasso: has joined #ruby
[11:02:58] m8: has joined #ruby
[11:03:00] athos_diddy: has joined #ruby
[11:03:42] fernig: has joined #ruby
[11:03:50] fernig: has left #ruby: ("Saliendo")
[11:04:30] Fooster: has joined #ruby
[11:05:06] leat2: has joined #ruby
[11:07:33] OrbitalKitten: has joined #ruby
[11:08:52] ItSANgo: has joined #ruby
[11:09:45] pontiki: has joined #ruby
[11:10:45] Torsten`: has joined #ruby
[11:12:02] Y4Rv1K: has joined #ruby
[11:13:14] Fooster: has joined #ruby
[11:13:17] serivich: has joined #ruby
[11:15:04] leat2: has joined #ruby
[11:15:15] gauke: has joined #ruby
[11:16:55] mrmargolis: has joined #ruby
[11:17:54] DeBot: has joined #ruby
[11:19:41] nfk|laptop: has joined #ruby
[11:21:43] AlexRussia: has joined #ruby
[11:21:56] fabrice31: has joined #ruby
[11:22:35] Y4Rv1K: has joined #ruby
[11:24:15] LJT: has joined #ruby
[11:25:44] randiman: has joined #ruby
[11:26:28] Musashi007: has joined #ruby
[11:27:42] sdothum: has joined #ruby
[11:27:59] sinkensabe: has joined #ruby
[11:28:07] nolic: has joined #ruby
[11:28:46] Y4Rv1K: has joined #ruby
[11:30:47] stoogenmeyer: has joined #ruby
[11:32:39] OrbitalKitten: has joined #ruby
[11:34:16] adac: has joined #ruby
[11:35:07] ItSANgo: has joined #ruby
[11:35:37] leat2: has joined #ruby
[11:40:20] lolmaus: has joined #ruby
[11:44:21] yqt: has joined #ruby
[11:45:10] ghr: has joined #ruby
[11:47:38] Xeago: what happened to #ruby-lang, given the topic?
[11:47:54] blandflakes: has joined #ruby
[11:48:12] Scroff: has joined #ruby
[11:50:57] starfox_sf: has joined #ruby
[11:51:06] sevenseacat: it merged in with #ruby
[11:58:23] Zackio: has joined #ruby
[11:59:14] jesterfraud: Xeago, we're channelling our energies here now
[11:59:46] jhass: there's not enough synergy in that sentence
[12:00:38] chussenot: has joined #ruby
[12:03:47] serivichi: has joined #ruby
[12:04:00] elia: has joined #ruby
[12:05:12] Xeago: so #ruby is now official?
[12:07:06] sandstrom: has joined #ruby
[12:07:28] sepp2k: has joined #ruby
[12:10:33] RandyT: has joined #ruby
[12:10:50] dseitz: has joined #ruby
[12:11:07] dorei: has joined #ruby
[12:11:54] workmad3: has joined #ruby
[12:13:44] TommyTheKid: has joined #ruby
[12:14:57] serivich: has joined #ruby
[12:15:31] justintv90: has joined #ruby
[12:18:01] Cort3z: has joined #ruby
[12:18:17] kirun: has joined #ruby
[12:21:39] apt-get_: has joined #ruby
[12:24:01] RegulationD: has joined #ruby
[12:24:16] micmus: has joined #ruby
[12:25:46] iamninja: has joined #ruby
[12:27:28] Y4Rv1K: has joined #ruby
[12:28:01] nini1294: has joined #ruby
[12:28:16] millerti: has joined #ruby
[12:28:22] gagrio: has joined #ruby
[12:30:15] lkba: has joined #ruby
[12:31:14] apofis: has joined #ruby
[12:33:12] apofis: has joined #ruby
[12:33:22] yaw: has joined #ruby
[12:33:35] rbowlby: has joined #ruby
[12:36:40] leat2: has joined #ruby
[12:37:35] Scroff: has joined #ruby
[12:38:28] fujimura: has joined #ruby
[12:38:50] sandelius: has joined #ruby
[12:39:10] zotherstupidguy: has joined #ruby
[12:39:25] Aryasam: has joined #ruby
[12:39:54] havenwood: has joined #ruby
[12:40:42] timonv: has joined #ruby
[12:42:02] gsd_: has joined #ruby
[12:42:44] tsujp: has joined #ruby
[12:44:27] justintv90: has joined #ruby
[12:45:52] ghr: has joined #ruby
[12:51:27] freerobby: has joined #ruby
[12:55:21] dgutierrez1287: has joined #ruby
[12:56:16] Tobarja: has joined #ruby
[13:01:42] goodcodeguy: has joined #ruby
[13:02:21] ziprar: has joined #ruby
[13:02:21] ziprar: has joined #ruby
[13:02:33] fgo: has joined #ruby
[13:02:43] yaw: has joined #ruby
[13:04:38] yaw: has joined #ruby
[13:06:06] mrmargolis: has joined #ruby
[13:06:39] codecop: has joined #ruby
[13:07:52] bronson: has joined #ruby
[13:11:07] iamninja: has joined #ruby
[13:11:24] randiman: has joined #ruby
[13:15:11] lolmaus_: has joined #ruby
[13:16:30] ferr: has joined #ruby
[13:17:28] mujou: has joined #ruby
[13:18:00] justintv90: has joined #ruby
[13:19:39] toretore: has joined #ruby
[13:21:28] Oog_: has joined #ruby
[13:22:46] fabrice31: has joined #ruby
[13:24:19] jottr: has joined #ruby
[13:24:58] RegulationD: has joined #ruby
[13:25:03] mrmargolis: has joined #ruby
[13:25:18] varunwachaspati: has joined #ruby
[13:25:50] serivich: has joined #ruby
[13:26:07] OrbitalKitten: has joined #ruby
[13:27:07] mc_fail: has joined #ruby
[13:30:24] jerematic: has joined #ruby
[13:30:33] yaw: has joined #ruby
[13:30:36] yoongkang: has joined #ruby
[13:30:41] Xeago: has joined #ruby
[13:31:20] datanoise: has joined #ruby
[13:31:33] yaw: has joined #ruby
[13:31:43] revath: has joined #ruby
[13:32:48] roolo: has joined #ruby
[13:34:34] yaw: has joined #ruby
[13:38:12] revath: has joined #ruby
[13:38:48] micmus: has joined #ruby
[13:39:15] fujimura: has joined #ruby
[13:39:30] shazaum_: has joined #ruby
[13:39:34] davedev24_: has joined #ruby
[13:39:42] starfox_sf: has joined #ruby
[13:40:19] revath: has joined #ruby
[13:42:16] afrianska: has joined #ruby
[13:44:17] CustosLimen: has joined #ruby
[13:44:17] dseitz: has joined #ruby
[13:46:20] adefa: has joined #ruby
[13:46:38] ghr: has joined #ruby
[13:46:55] rippa: has joined #ruby
[13:49:42] atomical: has joined #ruby
[13:53:24] jesterfraud: I need to find out how to mute user events on this client
[13:53:25] krz: has joined #ruby
[13:55:04] justintv90: has joined #ruby
[13:55:20] Mon_Ouie: has joined #ruby
[13:59:07] mc_fail: has joined #ruby
[14:00:01] jgt1: has joined #ruby
[14:00:55] workmad3: has joined #ruby
[14:01:31] nofxx: has joined #ruby
[14:04:10] ponga: has joined #ruby
[14:04:55] balazs: has joined #ruby
[14:05:02] allen: has joined #ruby
[14:05:18] dfockler: has joined #ruby
[14:14:00] adac: has joined #ruby
[14:14:58] StarBreaker: has joined #ruby
[14:15:24] Fooster: has joined #ruby
[14:19:12] freerobby: has joined #ruby
[14:19:13] j4cknewt: has joined #ruby
[14:19:45] soulcake: has joined #ruby
[14:20:35] dideler: has joined #ruby
[14:22:29] Tobarja: has left #ruby: ()
[14:23:19] rbowlby: has joined #ruby
[14:25:06] towski_: has joined #ruby
[14:25:32] victorkohl: has joined #ruby
[14:26:28] leat2: has joined #ruby
[14:26:39] sarkyniin: has joined #ruby
[14:26:49] victorkohl: has joined #ruby
[14:28:21] bkxd: has joined #ruby
[14:28:55] Xeago: has joined #ruby
[14:29:24] sarkyniin: has joined #ruby
[14:33:06] hdev1: has joined #ruby
[14:38:08] Xeago: what ruby version does https://www.bloc.io/ruby-warrior run on? raising RUBY_VERSION is not allowed
[14:39:56] jhass: well, should be possible to find the minor but using new features
[14:40:31] Xeago: trying to use %o(sentence to symbols) but it didn't work :'(
[14:40:36] symm-: has joined #ruby
[14:40:51] jhass: but h = {foo: "bar"} works?
[14:40:58] sarkyniin: has joined #ruby
[14:41:20] dseitz: has joined #ruby
[14:43:51] CloCkWeRX: has joined #ruby
[14:47:45] adefa: has joined #ruby
[14:48:41] mdz_: has joined #ruby
[14:55:20] mc_fail: has joined #ruby
[14:55:59] hdev1: has joined #ruby
[15:03:35] jottr_: has joined #ruby
[15:03:50] bantic: has joined #ruby
[15:03:56] Agoldfish: has joined #ruby
[15:04:10] CloCkWeRX: has joined #ruby
[15:05:15] CloCkWeRX: has left #ruby: ()
[15:08:04] Rubie: has joined #ruby
[15:08:47] Rubie: has joined #ruby
[15:10:47] RegulationD: has joined #ruby
[15:11:36] CustosLimen: has joined #ruby
[15:13:09] caitlinb: has joined #ruby
[15:13:40] ferr: has joined #ruby
[15:19:25] mdz_: has joined #ruby
[15:20:04] caseypatrickdris: has joined #ruby
[15:23:29] fabrice31: has joined #ruby
[15:25:46] aapole: has joined #ruby
[15:28:02] fujimura: has joined #ruby
[15:28:25] starfox_sf: has joined #ruby
[15:29:40] kobain: has joined #ruby
[15:30:09] varunwachaspati: has joined #ruby
[15:31:14] shevy: when I have a string such as: x = 'FOO', how to turn this into a regex /FOO/ ?
[15:31:39] DaniG2k: has joined #ruby
[15:31:44] jottr_: has joined #ruby
[15:31:56] gsd_: has joined #ruby
[15:32:26] mc_fail: has joined #ruby
[15:32:44] hfp: Hi all, I am using a framework called adhearsion and I have some issues in my tests when mocking an object from that framework. There seems to be a method missing on my double that I'll need to stub. I found the method and it's there: https://github.com/adhearsion/adhearsion/blob/develop/lib/adhearsion/call.rb#L457. My understanding is that it will return `command` when it's done running (is that correct?). How can I inspec
[15:32:45] hfp: t what `command` exactly is? The framework is installed as a gem and I'm not sure how to edit the code so I can have a breakpoint or print something from that point. Any pointers?
[15:33:22] mrsolo: has joined #ruby
[15:34:52] revath: has joined #ruby
[15:34:55] havenwood: hfp: With the Pry gem you can `require 'pry'` then put a `binding.pry` wherever you want to start a REPL session.
[15:35:36] vikaton: has joined #ruby
[15:35:39] hfp: havenwood: Right, but how do I put this in the gem? How do I edit the gem's code that ruby is going to use?
[15:35:39] ruboto: Pry, the better IRB. Includes easy object inspection via `ls`, `history`, docs view with `?`, source view with `$` and syntax highlighting, among other features (see `help` for more). It can also be used for easy debugging by putting ???binding.pry??? directy in your source code. Visit https://pryrepl.org/ or get it now with gem install pry pry-doc
[15:36:03] havenwood: hfp: gem open adhearsion
[15:36:34] havenwood: hfp: If you want to ditch your custom changes and revert to the vanilla gem: gem pristine adhearsion
[15:36:46] hfp: ah nice, thanks
[15:36:51] havenwood: hfp: you're welcome
[15:37:23] yorickpeterse: https://github.com/YorickPeterse/oga/pull/111 lol
[15:37:44] yorickpeterse: Honestly people refusing to follow project standards, and then openly claiming they couldn't be arsed can just gtfo
[15:38:01] yorickpeterse: Hm, maybe I should add a "GTFO" label for this
[15:40:15] yorickpeterse: "hi I spent like 5 minutes on this, can you please merge and then fix everything?"
[15:40:22] yorickpeterse: I think I already spent at least 45 minutes on this PR
[15:40:36] yorickpeterse: well, 2 laundry runs of 18 minutes + so far 10 minutes of drying
[15:40:44] yorickpeterse: So yeah, about 45 minutes
[15:40:56] CloCkWeRX: has joined #ruby
[15:42:24] robbyoconnor: has joined #ruby
[15:43:46] shevy: so much energy
[15:43:50] shevy: for discussing tests
[15:44:01] sevenseacat: mmm.... I prefer their way of doing things, but agree that consistency is key
[15:44:09] jottr_: has joined #ruby
[15:44:12] shevy: oh even monads are mentioned in that pull request :)
[15:44:16] ellisTAA: has joined #ruby
[15:44:28] yorickpeterse: Yeah I'm not sure how those were even related
[15:44:41] shevy: "I really fail to see how it's more complicated, they're not monads, and above all, it's readable."
[15:44:47] shevy: he even was the first to mention them
[15:44:53] yorickpeterse: so I just fixed this problem in like 2 minutes
[15:45:05] ixti: has joined #ruby
[15:45:26] sevenseacat: their first response should have been 'ok ill update it to match your style' and then that would have been done
[15:45:29] yorickpeterse: Interesting enough this is not the first time, I get these "drive-by pull-requests" quite often
[15:45:33] yorickpeterse: sevenseacat: yes
[15:45:36] sevenseacat: they mean well.
[15:45:50] yorickpeterse: https://github.com/YorickPeterse/oga/commit/af7f2674af65a2dd50f6f8a138ddd9429e8533d1 literally all that was needed
[15:45:57] sevenseacat: style is ultimately in the eye of the beholder/maintainer
[15:46:14] yorickpeterse: I don't know if one means well when they state they couldn't be bothered to do things the existing way
[15:46:27] yorickpeterse: or even consider my input
[15:46:55] sevenseacat: they could have just forked, made their changes, then used their fork. they wanted to contribute back - thats meaning well
[15:47:10] yorickpeterse: It's only half of the work though
[15:47:12] mc_fail: has joined #ruby
[15:47:20] yorickpeterse: Sure, their initial intentions might've been good
[15:47:29] revath: has left #ruby: ()
[15:47:43] sevenseacat: disclaimer: i am not a maintainer of anything
[15:47:46] yorickpeterse: And I do certainly respect people working on this, hence I actually left feedback before the PR (hard to see from the PR itself, but I commented on the commit before they submitted it)
[15:48:03] shevy: I wanted to file an issue at a sevenseacat project now :(
[15:48:03] yorickpeterse: But if I ask somebody to do X or Y because of some reason, they either need to convince me otherwise or do it
[15:48:10] yorickpeterse: instead of "lol no"
[15:48:19] shevy: lol no is pretty powerful
[15:48:39] yorickpeterse: shevy: if your goal is to piss people off, sure
[15:48:48] yorickpeterse: I think the more modern version is to use .gifs
[15:48:57] Papierkorb: has joined #ruby
[15:48:57] yorickpeterse: <nope.gif> etc
[15:49:21] havenwood: yorickpeterse: \h
[15:49:58] hdev1: has joined #ruby
[15:50:20] NeverDie: has joined #ruby
[15:50:22] havenwood: yorickpeterse: hexdigit char regexp, though since it's not hex your way is probably better ;)
[15:50:34] AbinoamJr: has joined #ruby
[15:51:17] havenwood: AbinoamJr: hi
[15:52:51] yorickpeterse: right, laundry dried, time to head back to my hostel, toodles
[15:53:43] sandelius: has joined #ruby
[15:54:01] apt-get_: has joined #ruby
[15:54:10] n008f4g_: has joined #ruby
[15:56:29] micmus: has joined #ruby
[15:57:33] jds: has joined #ruby
[15:58:37] Peteykun: has joined #ruby
[15:59:41] mrchris: has joined #ruby
[16:01:13] banister: has joined #ruby
[16:01:24] workmad3: has joined #ruby
[16:02:19] The_Phoenix: has joined #ruby
[16:03:00] curiouserandcuri: has joined #ruby
[16:03:28] curiouserandcuri: hello, how do I save an irb session?
[16:04:04] jhass: ?pry curiouserandcuri
[16:04:04] ruboto: curiouserandcuri, Pry, the better IRB. Includes easy object inspection via `ls`, `history`, docs view with `?`, source view with `$` and syntax highlighting, among other features (see `help` for more). It can also be used for easy debugging by putting ???binding.pry??? directy in your source code. Visit https://pryrepl.org/ or get it now with gem install pry pry-doc
[16:04:16] jhass: ^ can do that
[16:04:59] davedev24: has joined #ruby
[16:05:27] Spami: has joined #ruby
[16:07:38] ellisTAA: has joined #ruby
[16:08:54] rbowlby: has joined #ruby
[16:09:05] curiouserandcuri: how do I save a pry session
[16:09:44] iamjarvo: has joined #ruby
[16:10:23] mrmargolis: has joined #ruby
[16:11:17] Fooster: has joined #ruby
[16:11:18] curiouserandcuri: how can I save a pry session?
[16:12:02] jhass: did you run help?
[16:12:06] CustosLimen: has joined #ruby
[16:14:04] curiouserandcuri: however, I'm still confused
[16:14:13] jhass: save-file Export to a file using content from the repl ?
[16:15:20] jgt1: has joined #ruby
[16:16:18] curiouserandcuri: aha, thank you very much
[16:16:22] shevy: jhass is our living manual!
[16:16:41] curiouserandcuri: awesome, much appreciated!
[16:17:30] yoongkang: has joined #ruby
[16:17:45] davedev24_: has joined #ruby
[16:18:53] ponga: has joined #ruby
[16:19:47] endash: has joined #ruby
[16:20:03] freedrull: has joined #ruby
[16:21:08] timonv: has joined #ruby
[16:21:38] curiouserandcuri: how do I open a saved pry session?
[16:22:18] mc_fail: has joined #ruby
[16:23:35] Juanchito: has joined #ruby
[16:23:51] jhass: just load the file
[16:26:09] elev: has joined #ruby
[16:26:43] elev: how can I change the name of an array?
[16:27:38] bronson: has joined #ruby
[16:28:09] AbinoamJr: Arrays have no name
[16:28:22] AbinoamJr: You assign an Array instance to variable.
[16:28:29] AbinoamJr: a = [1, 2, 3]
[16:28:48] AbinoamJr: now 'b' points to the same object that 'a' is pointing
[16:29:21] AbinoamJr: Is it what you were trying to accomplish?
[16:31:29] elev: has joined #ruby
[16:32:14] Master44: nah still bad, I come back later ty
[16:32:37] Master44: how can I change the name of a array?
[16:33:05] AbinoamJr: Repeating... arrays have no names. They are assigned to variables.
[16:33:09] AbinoamJr: a = [1, 2, 3]
[16:34:00] OrbitalKitten: has joined #ruby
[16:35:19] amclain: has joined #ruby
[16:36:54] adefa: has joined #ruby
[16:37:00] bluOxigen: has joined #ruby
[16:37:03] revath: has joined #ruby
[16:38:04] DLSteve: has joined #ruby
[16:39:27] yorickpeterse: https://github.com/yb66/oga/commit/9f71af401a2b4d277f22aa8a7c72e38652772c1a#commitcomment-11557506 argh this guy
[16:39:38] yorickpeterse: (??????????)?????? ?????????
[16:40:09] blueOxigen: has joined #ruby
[16:40:34] stoogenmeyer: has joined #ruby
[16:40:52] alexherbo2: has joined #ruby
[16:41:24] bruno-: has joined #ruby
[16:42:02] rickmasta: has joined #ruby
[16:42:26] Cort3z: has joined #ruby
[16:42:57] mrchris: has joined #ruby
[16:43:53] jottr_: has joined #ruby
[16:45:29] AustinMatherne: has joined #ruby
[16:47:07] jack_rabbit: has joined #ruby
[16:47:23] David_H_Smith: has joined #ruby
[16:47:28] AbinoamJr: @yorickpeterse Sometimes is hard to people understand that when they "GIVE" you some code "for free" in a pull request, although is good, brings together an obligation for you to maintain it.
[16:48:29] AbinoamJr: *yorickpeterse* It's like giving a PET for someone that was not prepared to receive it. Now you have to feed the pet until it dies!
[16:48:48] casadei: has joined #ruby
[16:51:05] chamila: has joined #ruby
[16:51:06] AlexRussia: has joined #ruby
[16:51:20] yorickpeterse: Yeah, I'm trying to clarify this in the contributing guide atm
[16:51:50] chamila: Hi all, need a little help, https://github.com/ohler55/oj/blob/master/ext/oj/strict.c#L108 what does stack_peek method does here?
[16:52:06] CustosLimen: has joined #ruby
[16:53:00] Master44: has joined #ruby
[16:53:23] curiouserandcuri: How can I save a Pry session such that I can access the objects and variables of the session when I open it up again?
[16:53:33] AbinoamJr: If, with the Pull Request, came together an agreement or something like "I promise that I will help you maintain this piece of code I'm donating to you" I bet you'd be merging more easily! :-) ;-)
[16:53:47] OrbitalKitten: has joined #ruby
[16:53:56] yorickpeterse: heh, that never happens
[16:54:02] AbinoamJr: Every addition, almost always adds complexity that you will have to carry along.
[16:55:10] caitlinb: has joined #ruby
[16:56:46] Rodya_: has joined #ruby
[16:57:43] gix: has joined #ruby
[16:59:09] datanoise: has joined #ruby
[16:59:10] swgillespie: has joined #ruby
[16:59:27] queequeg1: has joined #ruby
[16:59:45] RegulationD: has joined #ruby
[17:00:11] Master44: has joined #ruby
[17:00:34] havenwood: master44: Having keyboard trouble?
[17:00:57] Master44: https://gist.github.com/AnonymousWS/3ae2f54c2974b0f2b870
[17:01:11] rushed: has joined #ruby
[17:01:36] Master44: its like my wifi is very bad so I cant see what you write, but I can see you now
[17:01:43] starfox_sf: has joined #ruby
[17:01:49] Master44: I got some techical issues yes
[17:02:25] havenwood: master44: Do you have a question?
[17:02:37] Master44: https://gist.github.com/AnonymousWS/3ae2f54c2974b0f2b870
[17:03:27] Master44: nope cant get anything, I come back later bye
[17:03:47] phizzbuzz: has joined #ruby
[17:04:10] havenwood: Alrighty then.
[17:04:36] railsForDaiz: has joined #ruby
[17:05:00] OrbitalKitten: has joined #ruby
[17:06:58] slackbotgz: has joined #ruby
[17:09:09] revath: has left #ruby: ()
[17:09:49] jhass: shall we just forward them to #ruby-fix-your-connection? :P
[17:11:44] queequeg1: has joined #ruby
[17:14:51] centrx: has joined #ruby
[17:15:07] bmalum: has joined #ruby
[17:16:40] bmalum: has joined #ruby
[17:16:46] fujimura: has joined #ruby
[17:16:46] gianlucadv: has joined #ruby
[17:18:28] msgodf: has joined #ruby
[17:19:20] OrbitalKitten: has joined #ruby
[17:21:34] msgodf: has joined #ruby
[17:21:43] swgillespie: has joined #ruby
[17:22:25] jack_rabbit: has joined #ruby
[17:22:59] soulcake: has joined #ruby
[17:23:01] bluOxigen: has joined #ruby
[17:23:26] GGMethos: has joined #ruby
[17:23:31] elemongw: has joined #ruby
[17:24:16] bosma: has joined #ruby
[17:24:51] msgodf: has joined #ruby
[17:25:26] timonv: has joined #ruby
[17:25:41] baweaver: has joined #ruby
[17:26:47] varunwachaspati: has joined #ruby
[17:26:48] xxneolithicxx: how slow does your internet have to be before irc becomes delayed, sheesh
[17:27:13] phizzbuzz: has joined #ruby
[17:27:14] xxneolithicxx: ban the dial up lol
[17:29:00] affenhoden: has joined #ruby
[17:29:54] Scroff: has joined #ruby
[17:30:22] Neomex: has joined #ruby
[17:30:56] AbinoamJr: ACTION is trying to remember if there's a proper way to cite someone else's nickname on the channel.
[17:31:45] xxneolithicxx: has joined #ruby
[17:32:16] jhass: AbinoamJr: nope, 99% of the clients trigger the highlight on the nickname
[17:32:44] yoongkang: has joined #ruby
[17:32:50] jhass: and should provide tab completion for them in fact
[17:33:51] Tamae: has joined #ruby
[17:34:23] AbinoamJr: So is it automatically. If the word matches a nickname it highlights it. Is it? If so, thank you for clarifying jhass. I have used IRC in the 96 or 98. Long time ago.
[17:35:05] jhass: it's a client feature, nothing baked into the protocol
[17:35:26] jhass: so you can never be 100% sure, but all clients that I've seen so far do
[17:35:32] Scroff: has joined #ruby
[17:35:44] Hanmac: "protocol - now with more baked cookies inside" ;P
[17:35:49] blt: has joined #ruby
[17:35:52] olistik: has joined #ruby
[17:36:00] ogpastaling: has joined #ruby
[17:36:47] sandelius: has joined #ruby
[17:36:59] meadhikari: has joined #ruby
[17:37:24] meadhikari: Can anyone suggest me a ruby library that can parse rss without must trouble of installation and use? Tried feedjira but it keeps giving No valid parser for XML
[17:37:35] AbinoamJr: I'm on the web interface. So I was "missing" this and was not understanding why it was not coloring the nicknames.
[17:38:28] kies: has joined #ruby
[17:38:31] apofis: has joined #ruby
[17:39:54] mc_fail: has joined #ruby
[17:40:40] caseypatrickdris: has joined #ruby
[17:41:24] queequeg1: has joined #ruby
[17:43:11] yorickpeterse: quick sanity check, is https://gist.github.com/YorickPeterse/ab1ac25700cf8aac8e99 too harsh?
[17:43:34] queequeg1: has joined #ruby
[17:44:06] msgodf: has joined #ruby
[17:44:56] yaw: has joined #ruby
[17:48:07] jhass: I'd probably try to phrase it in a positive/whitelist manner personally, like "Pull requests must follow the style currently used in the project blabla"
[17:48:43] jhass: "don't do this and that" is always a bit more discouraging than "please do it this way"
[17:49:22] jhass: if that makes any sense
[17:49:51] queequeg1: has joined #ruby
[17:50:42] cabbagesandkings: has joined #ruby
[17:50:58] cabbagesandkings: how do I open up a ruby file in pry?
[17:51:03] jhass: but I wouldn't say it's too harsh, just take a day until you actually add it since you can clearly see the current influx ;)
[17:51:21] jhass: (I mean sleep over it ;) )
[17:51:24] gauke: has joined #ruby
[17:51:34] jhass: cabbagesandkings: pry my_file.rb
[17:51:39] yorickpeterse: I hate how I have to write this down in the first place, but I've had to explain this numerous times so far :/
[17:51:49] micmus: has joined #ruby
[17:52:07] stoogenmeyer: has joined #ruby
[17:52:10] jhass: cabbagesandkings: or anywhere inside your file: require "pry"; binding.pry to spawn a pry when it reaches that point
[17:52:15] rht: has joined #ruby
[17:52:32] yorickpeterse: blegh, I'm off to bed, thanks
[17:52:36] pwnz0r: has joined #ruby
[17:52:42] ellisTAA: has joined #ruby
[17:52:43] jhass: you're welcome
[17:53:16] _seanc_: has joined #ruby
[17:53:58] jottr_: has joined #ruby
[17:55:30] nofxx1: has joined #ruby
[17:55:30] nofxx1: has joined #ruby
[17:55:34] senayar: has joined #ruby
[17:55:34] senayar: has joined #ruby
[17:57:39] rbowlby: has joined #ruby
[17:58:16] ferr: has joined #ruby
[18:00:56] workmad3: has joined #ruby
[18:01:00] caitlinb_: has joined #ruby
[18:01:14] Tarential: has joined #ruby
[18:02:16] Hanmac: has joined #ruby
[18:03:20] LJT: has joined #ruby
[18:04:57] blue_deref: has joined #ruby
[18:05:15] queequeg1: has joined #ruby
[18:05:20] ogpastaling: has joined #ruby
[18:05:37] dseitz: has joined #ruby
[18:08:42] _blizzy_: has joined #ruby
[18:08:45] mrmargolis: has joined #ruby
[18:08:51] queequeg1: has joined #ruby
[18:09:01] meadhikari: Guys please suggest me a rss parsing library
[18:10:28] rickmasta: has joined #ruby
[18:11:27] centrx: meadhikari, Ruby comes with an RSS parser in the standard library (called RSS)
[18:11:46] centrx: meadhikari, simple-rss looks like another possibility
[18:11:53] chinmay_dd: has joined #ruby
[18:12:55] mc_fail: has joined #ruby
[18:14:10] queequeg1: has joined #ruby
[18:14:56] bronson: has joined #ruby
[18:15:01] timonv: has joined #ruby
[18:18:12] datanoise: has joined #ruby
[18:18:55] Sembei: has joined #ruby
[18:23:01] nfk|laptop: any recommendations how to nicely access serial ports from ruby?
[18:23:26] nfk|laptop: or should i use something else? ultimately i want to have a gui application for serial control that was not .net
[18:23:39] huddy: has joined #ruby
[18:24:03] nfk|laptop: i tried qt 5 but got fed up with C++ and trying to interact with QML
[18:25:16] centrx: nfk|laptop, Graphics apps in Linux you end up using GTK or QT with C/C++
[18:25:26] nfk|laptop: i'm fine with ruby on rails
[18:25:29] centrx: nfk|laptop, Ruby can do it, but it's probably not the best (unless it's a web app)
[18:25:32] centrx: perfect yeah web app is good
[18:25:52] DaniG2k: has joined #ruby
[18:25:57] blandflakes: has joined #ruby
[18:26:08] p1k: has joined #ruby
[18:26:15] centrx: nfk|laptop, rubyserial seems to be an active project
[18:26:26] nfk|laptop: now, any ideas about serial ports? from what i found they seem to be fairly outdated even by ruby 1.8 standards
[18:26:37] nfk|laptop: also, nothing in core?
[18:26:39] adefa: has joined #ruby
[18:26:40] centrx: they're also ruby-serialport
[18:26:49] centrx: I thought there was something in stdlib, but I can't seem to find it
[18:26:55] centrx: nfk|laptop, it wouldn't be in core
[18:27:07] centrx: nfk|laptop, e.g. all the network stuff is in stdlib
[18:27:09] nfk|laptop: serial is still relevant
[18:27:41] nfk|laptop: hmm... i don't think that bluetooth shingle (shit dongle) is anything but rfcomm capable
[18:28:09] nfk|laptop: that is, it only supports the serial emulation protocol over bluetooth and that's it
[18:28:27] nfk|laptop: err.. actually was correct at first
[18:28:52] p1k: I'm rather new to ruby and have a rails question - is that on topic for the channel ?
[18:29:11] nfk|laptop: p1k, #RubyOnRails is for you
[18:29:43] Hanmac: centrx: i am using wxWidgets for ruby ;P
[18:29:52] nfk|laptop: that one is also shit
[18:30:07] nfk|laptop: maybe easier than qt but everyone is jumping ship to qt 5 from wx
[18:30:07] lkba: has joined #ruby
[18:30:19] OrbitalKitten: has joined #ruby
[18:30:25] lkba: has joined #ruby
[18:30:43] Narzew: has joined #ruby
[18:30:45] nfk|laptop: actually, does ruby have something like mpi or corba?
[18:31:33] nfk|laptop: writing non-gui C++ program to do the serial stuff and then expose it via RoR is fine too
[18:31:39] banister: has joined #ruby
[18:31:42] Sirrr: has joined #ruby
[18:31:58] bl4ckdu5t: has joined #ruby
[18:32:16] chussenot: has joined #ruby
[18:33:40] davedev24: has joined #ruby
[18:35:11] havenwood: nfk|laptop: Maybe check out DRb: http://ruby-doc.org/stdlib/libdoc/drb/rdoc/DRb.html
[18:36:18] nfk|laptop: havenwood, unless i can also use it from C++, not really helpful
[18:36:27] havenwood: nfk|laptop: Ah, then not useful.
[18:36:35] nfk|laptop: since it's for ruby to ruby IPC
[18:37:11] caseypatrickdris: has joined #ruby
[18:37:35] Torrieri: has joined #ruby
[18:39:21] CustosLimen: has joined #ruby
[18:40:09] alexherbo2: has joined #ruby
[18:42:35] marr: has joined #ruby
[18:43:39] caseypatrickdris: has joined #ruby
[18:44:52] woodruffw: has joined #ruby
[18:45:33] RegulationD: has joined #ruby
[18:47:04] swgillespie: has joined #ruby
[18:47:16] Channel6: has joined #ruby
[18:48:13] chussenot: has joined #ruby
[18:52:41] fusillicode1: has joined #ruby
[18:52:44] fusillicode1: has left #ruby: ()
[18:54:06] agilenav: has joined #ruby
[18:56:26] Macaveli: has joined #ruby
[18:56:31] agilenav: has joined #ruby
[18:56:39] houhoulis: has joined #ruby
[18:56:53] yqt: has joined #ruby
[18:57:02] Rodya_: has joined #ruby
[18:57:04] rickmasta: has joined #ruby
[18:57:23] agilenav: has joined #ruby
[18:57:46] spider-mario: has joined #ruby
[18:59:38] caseypatrickdris: has joined #ruby
[19:02:30] davedev24_: has joined #ruby
[19:04:32] j4cknewt: has joined #ruby
[19:05:03] Diabolik: what's the easiest way in ruby of setting two separate responses in a method, one if an argument is passed and one if one isn't?
[19:05:32] fujimura: has joined #ruby
[19:07:34] yqt: has joined #ruby
[19:10:05] Scripore: has joined #ruby
[19:10:29] diegoviola: has joined #ruby
[19:10:57] havenwood: Diabolik: def example argument = nil
[19:11:00] symm-: has joined #ruby
[19:12:42] havenwood: Diabolik: if argument
[19:13:06] blt: has joined #ruby
[19:13:55] pwnz0r: has joined #ruby
[19:14:25] mrmargolis: has joined #ruby
[19:14:41] Diabolik: hang on havenwood
[19:14:44] Diabolik: il gist this
[19:15:22] Diabolik: https://gist.github.com/askl56/f3dde5a1bc645defad3f
[19:15:30] Diabolik: i know .present is a rails method
[19:17:34] Diabolik: but how can i define if an argument is present?
[19:17:50] alphaatom: has joined #ruby
[19:18:35] jhass: havenwood just showed
[19:20:03] Mon_Ouie: Unrelated, but I think you may be confused about ivars or class vs. instance methods (the @name at line 4 and the one at line 8 will never be the same variables)
[19:20:23] webhat: has joined #ruby
[19:20:23] nofxx__: has joined #ruby
[19:20:47] bronson: has joined #ruby
[19:21:18] victorkohl: has joined #ruby
[19:23:56] phizzbuzz: has joined #ruby
[19:24:45] pontiki: has joined #ruby
[19:25:04] fabrice31: has joined #ruby
[19:25:23] webhat: has joined #ruby
[19:28:47] Xeago: has joined #ruby
[19:29:25] nfk|laptop: Diabolik, i'm pretty sure you can just use if @name
[19:29:31] nfk|laptop: nil should evaluate as false, iirc
[19:29:38] nfk|laptop: though don't take my word for it
[19:29:46] nfk|laptop: but testing it shouldn't take long
[19:29:50] pontiki: indeed, nil is falsy
[19:30:07] mdz_: has joined #ruby
[19:30:40] atmosx: has joined #ruby
[19:30:50] nfk|laptop: of course if the argument is a boolean and you will need something more like comparing it to nil or something
[19:31:00] nfk|laptop: but not in this case
[19:31:23] dfockler: has joined #ruby
[19:32:00] nfk|laptop: also there might be isNil() or something but that might be also RoR specific or just my imagination
[19:32:45] revath: has joined #ruby
[19:32:56] diegoviola: has joined #ruby
[19:34:53] revath: has joined #ruby
[19:35:01] blt: has joined #ruby
[19:35:16] longfeet: has joined #ruby
[19:35:22] havenwood: >> nil.nil?
[19:35:23] ruboto: havenwood # => true (https://eval.in/376943)
[19:37:56] revath: has left #ruby: ()
[19:38:04] leat2: has joined #ruby
[19:38:19] nfk|laptop: wow, i was sure that would fail
[19:38:50] pontiki: why were you sure?
[19:39:00] webhat: has joined #ruby
[19:39:11] nfk|laptop: because i was certain that NilClass had no methods
[19:39:22] nfk|laptop: maybe apart from logical ones if those are even implemented as methods
[19:39:42] nfk|laptop: nil.methods?
[19:39:44] nfk|laptop: >>nil.methods?
[19:39:45] ruboto: nfk|laptop # => undefined method `methods?' for nil:NilClass (NoMethodError) ...check link for more (https://eval.in/376947)
[19:39:48] havenwood: >> NilClass.instance_methods false
[19:39:49] ruboto: havenwood # => [:to_i, :to_f, :to_s, :to_a, :to_h, :inspect, :&, :|, :^, :nil?, :to_r, :rationalize, :to_c] (https://eval.in/376948)
[19:40:07] havenwood: >> nil.public_methods false
[19:40:08] ruboto: havenwood # => [:to_i, :to_f, :to_s, :to_a, :to_h, :inspect, :&, :|, :^, :nil?, :to_r, :rationalize, :to_c] (https://eval.in/376949)
[19:40:24] havenwood: nfk|laptop: In Pry, check: ls nil
[19:40:28] ruboto: nfk|laptop # => true (https://eval.in/376950)
[19:40:44] leat2: has joined #ruby
[19:40:47] woodruffw: has joined #ruby
[19:40:53] pontiki: nil is the *only* object that responds (and should respond) true to nil?
[19:41:04] jhass: wait, ! isn't defined on NilClass?
[19:41:25] jhass: ! is a method too
[19:42:10] nfk|laptop: jhass, i'm a bit lost as to what you were trying to say
[19:42:20] sandelius: has joined #ruby
[19:42:21] havenwood: >> Kernel.public_method(:!~).call nil
[19:42:21] jhass: >> nil.method(:!).owner
[19:42:22] ruboto: havenwood # => true (https://eval.in/376952)
[19:42:22] ruboto: jhass # => BasicObject (https://eval.in/376952)
[19:42:29] webhat: has joined #ruby
[19:42:31] nfk|laptop: hmm.. what was :^?
[19:42:40] jhass: >> nil ^ false
[19:42:41] ruboto: jhass # => false (https://eval.in/376953)
[19:42:47] havenwood: ^ un chapeau
[19:42:52] shevy: ^ un baguette
[19:43:20] havenwood: shevy: une baguette
[19:43:24] ruboto: nfk|laptop # => true (https://eval.in/376954)
[19:43:31] ruboto: nfk|laptop # => true (https://eval.in/376955)
[19:43:35] jhass: ?experiment nfk|laptop
[19:43:35] ruboto: nfk|laptop, Please use your local irb or pry (see ?pry) to experiment, ruboto's eval functionality is for demonstration purposes only.
[19:43:42] shevy: always gives you true
[19:43:50] ruboto: havenwood # => false (https://eval.in/376956)
[19:44:02] shevy: that's pervert syntax
[19:44:26] havenwood: >> !nil.!.!~ nil
[19:44:27] ruboto: havenwood # => false (https://eval.in/376957)
[19:44:46] nfk|laptop: havenwood, what does that even mean?
[19:44:52] nfk|laptop: the first one
[19:44:57] webhat: has joined #ruby
[19:46:11] jhass: nfk|laptop: it's the same as nil.!.!
[19:46:34] rbowlby: has joined #ruby
[19:46:37] freerobby: has joined #ruby
[19:46:55] nfk|laptop: but what does even nil.! do?
[19:47:01] helpa: RuntimeError: Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
[19:47:04] jhass: it's the same
[19:47:06] havenwood: not nil not not not not nil
[19:47:06] jhass: ! is just a method
[19:47:14] havenwood: !~ is another method
[19:47:21] nfk|laptop: as i suspect but i'm still not sure if my mind can wrap around inversion of nothingness
[19:47:51] jhass: nil is not nothing, it's a placeholder
[19:48:02] datanoise: has joined #ruby
[19:48:06] alphaatom: has joined #ruby
[19:48:11] jhass: you put it somewhere as a reminder that you didn't put anything else there yet
[19:48:19] nfk|laptop: but what would it's inversion be?
[19:48:21] bosma: http://ruby-doc.org/core-1.9.3/NilClass.html
[19:48:33] jhass: bosma: s/1.9.3/2.2.2/
[19:48:49] leat2: has joined #ruby
[19:48:49] jhass: nfk|laptop: nil and false are the only falsey values in Ruby, so true
[19:49:19] nfk|laptop: i guess i'll leave it at that
[19:49:19] alphaatom: has joined #ruby
[19:51:49] phizzbuzz: has joined #ruby
[19:51:50] pontiki: do watch this talk: https://youtu.be/9lv2lBq6x4A
[19:52:07] Fooster: has joined #ruby
[19:52:27] ghr: has joined #ruby
[19:52:39] nfk|laptop: only after this song
[19:53:34] agilenav: has joined #ruby
[19:55:09] kies: has joined #ruby
[19:56:14] nfk|laptop: btw, if anyone wonders: https://www.youtube.com/watch?v=zkLJoFp2UAE&list=RDEMEUlGLZr0qzhC6nXFVUyvGw&index=27
[19:57:40] Scroff: has joined #ruby
[19:58:00] michael_mbp: has joined #ruby
[19:58:15] Cort3z: has joined #ruby
[20:00:02] OrbitalKitten: has joined #ruby
[20:00:43] leat2: has joined #ruby
[20:02:05] micmus: has joined #ruby
[20:03:38] mh888: has joined #ruby
[20:04:03] lolmaus_: has joined #ruby
[20:04:36] Papierkorb: Why do many documentations write stuff like ":foo => 123" while ruby allows to write the same as "foo: 123" ?
[20:04:57] alphaatom: has joined #ruby
[20:05:01] webhat: has joined #ruby
[20:05:28] bosma: it was an update in 1.9
[20:05:50] mdz_: has joined #ruby
[20:06:15] alphaatom: has joined #ruby
[20:06:16] Papierkorb: So they're just not updated yet, and there's no reason to not use the 'new' shorthand instead?
[20:06:55] bosma: http://breakthebit.org/post/8453341914/ruby-1-9-and-the-new-hash-syntax
[20:07:11] c355E3B: has joined #ruby
[20:07:13] Papierkorb: thanks bosma
[20:07:26] alphaatom: has joined #ruby
[20:08:17] symm-: has joined #ruby
[20:09:04] jhass: Papierkorb: right
[20:12:28] Hanmac: Papierkorb: not all stuff is allowed in the "foo: 123" form ... so its okay if there is the ":foo => 123" form too
[20:13:00] diegoviola: some idiots at my job expect me to use windows to develop in, will performance suck if I have to virtualize linux on windows?
[20:13:07] shevy: Papierkorb the old syntax will work too
[20:13:40] Papierkorb: diegoviola: If your CPU has support for virtualization, then you'll be fine.
[20:13:48] shevy: diegoviola how much RAM does your machine then have?
[20:13:58] senayar: has joined #ruby
[20:14:03] havenwood: diegoviola: Try Vagrant, should be fine if you have a decent box.
[20:14:07] diegoviola: shevy: 4GB afaik
[20:14:17] shevy: here I have 8
[20:14:20] Papierkorb: diegoviola: I converted videos in a windows guest with a linux host (long story) just fine, performance loss was negligable
[20:14:21] shevy: 4 is probably ok
[20:14:25] jhass: Papierkorb: we also have the {"foo": bar} form now
[20:14:48] diegoviola: havenwood: but I don't want just a shell, I want my window manager and everything in linux
[20:14:52] adefa: has joined #ruby
[20:14:55] diegoviola: I can't stand windows management on windows
[20:14:57] Papierkorb: jhass: ah good to know
[20:15:12] blandflakes: has joined #ruby
[20:15:19] diegoviola: I can't stand windows
[20:15:36] zotherstupidguy: has joined #ruby
[20:16:23] Papierkorb: I don't know anyone who says "I really like to use windows", but tons of people saying that for linux or mac
[20:17:58] shevy: linux is very configurable
[20:17:59] diegoviola: I've been using linux for 15 years, surprise
[20:18:16] diegoviola: windows is horrible in every way
[20:18:48] shevy: and you have to use it!
[20:19:19] shevy: is at least ruby available on your workplace?
[20:19:29] Papierkorb: diegoviola: either way, just try using VirtualBox and see how it works. Install, start, and you're ready to go
[20:19:34] Papierkorb: Can't get much simpler than that
[20:19:56] Papierkorb: Well, maybe you have to restart thrice during installation. Not sure anymore
[20:20:09] diegoviola: Papierkorb: I've already did this
[20:20:14] diegoviola: took me 10 minutes to install arch on the vm
[20:20:40] blandflakes: has joined #ruby
[20:20:47] diegoviola: worked ok...
[20:21:01] thiagofm: has joined #ruby
[20:21:01] Papierkorb: should work good enough if you install the vbox guest stuff
[20:21:47] diegoviola: I'm just sick of stupid companies
[20:22:27] Papierkorb: at my last company we used Linux :) .. and Java :( .. can't have everything I guess.
[20:22:35] diegoviola: "We use windows so we also expect you to be an idiot and use it"
[20:23:22] diegoviola: Papierkorb: I'd be happier with that
[20:24:36] diegoviola: even though java sucks, sure
[20:24:51] weemsledeux: has joined #ruby
[20:24:54] Papierkorb: we were. after we installed Arch into a chroot to get rid of Ubuntu as much as possible :)
[20:25:03] dwithers1: has joined #ruby
[20:25:11] willharrison: has joined #ruby
[20:25:37] rdema: has joined #ruby
[20:26:47] Torrieri: has joined #ruby
[20:26:47] Torrieri: has joined #ruby
[20:27:39] zotherstupidguy: has joined #ruby
[20:29:11] AhabsBeard: has joined #ruby
[20:29:55] Vile`: has joined #ruby
[20:30:04] thiagofm: has joined #ruby
[20:32:11] Y4Rv1K: has joined #ruby
[20:32:30] leat2: has joined #ruby
[20:32:42] webhat: has joined #ruby
[20:32:47] A205B064: has joined #ruby
[20:32:59] shevy: you can use ruby on windows
[20:34:28] RegulationD: has joined #ruby
[20:34:30] diegoviola: shevy: I don't want to use windows... that's my point
[20:34:41] mrmargolis: has joined #ruby
[20:35:04] shevy: quit the job :)
[20:35:54] diegoviola: I didn't even start working there yet
[20:36:40] dgutierrez1287: has joined #ruby
[20:36:41] IanVorn: has joined #ruby
[20:36:48] diegoviola: I want to give it a try
[20:37:26] shevy: I had to use a windows machine in Februar 2014 too at my old work place; it was annoying but I could use ruby so it did not really matter much; most of the time I spent writing code in an editor anyway
[20:37:42] jhooker: has joined #ruby
[20:38:59] postmodern: has joined #ruby
[20:41:06] Fooster: has joined #ruby
[20:41:16] leat2: has joined #ruby
[20:41:35] yaw: has joined #ruby
[20:41:50] diegoviola: shevy: that's fine, if you have a lot of patience
[20:42:48] Rubie: has joined #ruby
[20:43:40] diegoviola: windows and their users annoy me greatly, I don't have patience
[20:44:04] allomov: has joined #ruby
[20:44:08] diegoviola: ok maybe an exaggeration
[20:44:57] nateberkopec: has joined #ruby
[20:45:12] diegoviola: shevy: look, I just don't see myself being distracted by some coworker who happens to be having trouble with spyware while I'm writing code
[20:45:20] bb010g: has joined #ruby
[20:45:47] Rodya_: has joined #ruby
[20:45:49] shevy: they will ask you?
[20:46:57] jhass: just theme your i3wm as windows xp, nobody will notice
[20:47:10] rbowlby: has joined #ruby
[20:47:33] diegoviola: jhass: why would I have to do that?
[20:48:06] jhass: so you can pretend you're using windows while you aren't?
[20:48:16] diegoviola: will they faint if they see something else it's not windows?
[20:48:32] jhass: maybe? you're telling the story here
[20:48:35] shevy: you don't like your coworkers :(
[20:48:50] diegoviola: shevy: I have nothing against them personally
[20:49:34] diegoviola: shevy: I just don't want to be forced to use windows, I don't like *that*
[20:50:12] diegoviola: diegoviola | will they faint if they see something else it's not windows? <-- sorry for saying this
[20:50:14] chussenot: has joined #ruby
[20:50:38] jhass: what kind of work is it anyway? rails?
[20:52:06] yardenbar: has joined #ruby
[20:52:28] diegoviola: jhass: they have projects in different stacks from what I've been told
[20:52:33] diegoviola: jhass: rails, php, js
[20:52:38] dgutierrez1287: has joined #ruby
[20:52:44] jhass: so webby stuff
[20:53:08] shevy: so you'll be doing rails on windows
[20:53:11] thisirs: has joined #ruby
[20:53:20] jhass: well, I could understand it if their stuff works only/better on windows, like for most graphic/game stuff still
[20:53:23] diegoviola: shevy: I will use archlinux on virtualbox
[20:53:38] shevy: yeah but inside of windows :)
[20:53:43] Rollabunna: has joined #ruby
[20:53:46] ghr: has joined #ruby
[20:54:03] quimrstorres: has joined #ruby
[20:54:15] fujimura: has joined #ruby
[20:54:20] eggoez: has joined #ruby
[20:54:56] woodruffw: has joined #ruby
[20:56:04] roolo: has joined #ruby
[20:56:29] diegoviola: I don't mind someone else preferring windows, or whatever they prefer, I just don't want to be forced into using it
[20:56:37] diegoviola: and they mentioned I can't bring my own laptop there
[20:57:28] jhass: did they say anything about bringing your own harddisk? :P
[20:58:20] diegoviola: no, but maybe I can try that after the VM
[20:59:03] GPrime: has joined #ruby
[20:59:07] jhass: external SSD, plug it in anywhere and you're good
[20:59:34] diegoviola: I have a external SSD here
[20:59:46] diegoviola: but I don't know how I would be able to connect it to that computer
[20:59:57] diegoviola: I'll probably need a sata to usb cable
[21:00:10] diegoviola: not sure where I'll be able to find one
[21:00:13] nfk|laptop: now that i think about it, ruby has a really great community, unlike *cough* qt *cough*
[21:01:16] diegoviola: sorry about calling the people at my job idiots, I don't think they are
[21:01:26] diegoviola: just upset about this windows thing
[21:02:19] yaw: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[21:02:23] bronson: has joined #ruby
[21:02:28] iWaffles: has joined #ruby
[21:02:33] houhoulis: has joined #ruby
[21:03:40] Sweeper: I mean, a 32gb usb stick would be plenty to run a work env from
[21:04:21] ur5us: has joined #ruby
[21:04:23] nfk|laptop: diegoviola, in case if you weren't told this at uni, most people that quit within a month or three (i forgot) decided they'll do that on the first day
[21:04:39] nfk|laptop: that is, that they want to quit
[21:04:51] diegoviola: nfk|laptop: they'll do what?
[21:04:52] nfk|laptop: not that i'm saying you need to quit, keep strong
[21:05:09] nfk|laptop: diegoviola, that they want to quit
[21:05:24] diegoviola: nfk|laptop: I don't want to quit from my job
[21:05:51] nfk|laptop: diegoviola, do you have hdmi input? you can always get a pc on a stick if that's not forbidden
[21:05:56] nfk|laptop: or just bring your own device?
[21:06:01] workmad3: has joined #ruby
[21:06:06] diegoviola: nfk|laptop: they said I can't bring own hardware
[21:06:24] nfk|laptop: where did you apply?
[21:06:34] zotherstupidguy: has joined #ruby
[21:06:38] nfk|laptop: also no mac option?
[21:07:09] diegoviola: no mac option, afaik, they're all on windwos
[21:07:30] nfk|laptop: and what do they do?
[21:07:35] iamjarvo: has joined #ruby
[21:07:36] nfk|laptop: i presume IT is not their fort
[21:07:39] apt-get_: has joined #ruby
[21:07:44] diegoviola: they are all using sublime/windows
[21:07:56] diegoviola: sometimes they use a linux shell over putty
[21:08:00] Scripore: has joined #ruby
[21:08:04] nfk|laptop: what is that?
[21:08:10] diegoviola: I've no idea
[21:08:36] nfk|laptop: also, i can't imagine what kind of a moron would use windows for web dev? also are they really that big that they have an IT policy?
[21:09:23] diegoviola: nfk|laptop: they probably don't have a IT policy
[21:10:00] nfk|laptop: i fail to comprehend how they can force you to use windows
[21:10:13] nfk|laptop: it's not like they're using windows-only solutions, are they?
[21:10:26] diegoviola: nfk|laptop: I suspect they just don't know Linux themselves so they expect all their machines to have windows
[21:10:34] iWaffles: I was in a company like that once, diegoviola, so I just used vmware inside windows to get around that :)
[21:10:51] diegoviola: and if they were to fire me in 3 months, they probably don't have to remove Linux from their computers because they just know Windows
[21:10:54] nfk|laptop: i'd just use my laptop
[21:11:00] rbowlby: has joined #ruby
[21:11:11] nfk|laptop: and if someone has something against that they can suck it up or i dunno
[21:11:12] baweaver: has joined #ruby
[21:11:13] diegoviola: nfk|laptop: they don't want me to bring my own laptop, they fear I'll steal their code
[21:11:28] olistik: has joined #ruby
[21:11:29] nfk|laptop: you can't do that from their windows?
[21:11:41] nfk|laptop: drm'ed code?!!! muaahahahaha
[21:11:46] diegoviola: I could just scp their code to my personal machine if I really wanted to
[21:11:51] diegoviola: without them knowing it
[21:12:00] nfk|laptop: or *cough*dropbox*cough*
[21:12:08] diegoviola: but I'm not interested on that
[21:12:33] nfk|laptop: why did you even let them hire you?
[21:12:42] diegoviola: nfk|laptop: I need a job
[21:12:45] nfk|laptop: were you that desperate?
[21:13:31] diegoviola: I'll go VM first, then external SSD
[21:13:37] nfk|laptop: yeah, i'd go drink something right now if i had some
[21:13:38] shevy: so funny conversations
[21:13:45] diegoviola: if they say something, I'll yell back
[21:14:01] shevy: ^^^ I have the feeling he won't stay long at his new job :)
[21:14:24] aspiers: has joined #ruby
[21:14:32] nfk|laptop: is it better to get fired or to quit yourself?
[21:14:39] olistik: has joined #ruby
[21:14:59] diegoviola: shevy: I'm not sure if that will be a blessing or a curse, probably more of the former than the latter
[21:15:13] waxjar: just use windows for a while with the default security settings
[21:15:15] nfk|laptop: diegoviola, no idea where you're from but i'd suspect you don't want to enter a shouting contest
[21:15:30] waxjar: they'll let you use another OS soon enough :p
[21:15:39] nfk|laptop: waxjar, eh? i have been doing that for your
[21:15:47] diegoviola: nfk|laptop: yeah I won't
[21:16:41] nfk|laptop: the only thing i'm afraid of is ATP
[21:16:42] nfk|laptop: and those can hit anything if they want
[21:16:42] nfk|laptop: the rest are generally like std - keep safe and you won't get them
[21:19:00] veleno: has joined #ruby
[21:19:13] dnlbyl: has joined #ruby
[21:19:16] diegoviola: http://i.imgur.com/o7PCq.png
[21:19:51] diegoviola: sorry about the yelling comment, I won't do that :-)
[21:19:52] Narzew_: has joined #ruby
[21:20:04] diegoviola: shevy: systemd is ok
[21:20:38] shevy: indeed - so good that gentoo factored out udev into eudev https://github.com/gentoo/eudev
[21:21:37] diegoviola: it's great they did that
[21:21:46] diegoviola: it's free software
[21:21:54] shevy: it's their time
[21:22:02] diegoviola: let them do as they please
[21:22:03] msnyon: has joined #ruby
[21:22:04] lkba: has joined #ruby
[21:22:10] shevy: you couldn't prevent it anyway
[21:22:19] diegoviola: gentoo also has systemd in portage
[21:22:32] shevy: that's nice - they offer more choice than others then
[21:22:42] diegoviola: I would probably just use systemd if I were using gentoo anyway because lots of userspace also depends on systemd these days
[21:23:00] zotherstupidguy: has joined #ruby
[21:23:18] jhass: there's some effort to provide a systemd free arch too, if you're into that
[21:23:25] diegoviola: I also like writing services with systemd, I find it to be easier
[21:23:50] diegoviola: it's like 4 lines of code and then I move the service file to /etc/systemd/system
[21:24:26] diegoviola: I really don't mind systemd, it doesn't annoy me at all
[21:24:40] jhass: fun fact: you don't even need to, systemctl enable takes an absolute path and start works afterwards
[21:25:49] fabrice31: has joined #ruby
[21:26:09] diegoviola: jhass: really?
[21:26:18] diegoviola: jhass: like I can do `systemctl enable foo.service'?
[21:26:25] jhass: it needs the /
[21:26:42] diegoviola: systemctl enable /path/too/foo.service?
[21:26:43] jhass: if there's no full path it expects it in the standard paths
[21:26:55] nfk|laptop: diegoviola, have you started working there already, if not, it's probably smarter to quit yourself before you have started
[21:27:09] diegoviola: jhass: will the foo.service always need to be there afterwards or systemctl will copy it somewhere?
[21:27:14] Y4Rv1K: has joined #ruby
[21:27:20] jhass: it creates a symlink
[21:27:27] jhass: that's all enable does in any case
[21:27:34] diegoviola: nfk|laptop: I'll go the VM route and then try the SSD, if they create problems, I'll quit
[21:27:56] Y4Rv1K: has joined #ruby
[21:28:23] nfk|laptop: shevy, btw, is it even any good, i had issues such as input devices connected to display not working after display (and hub) were turned off with udev (didn't try eudev) but it's been just fine with systemd-udev
[21:28:34] bronson: has joined #ruby
[21:28:46] datanoise: has joined #ruby
[21:28:55] shevy: no idea; I always had problems with all flavours
[21:29:05] nfk|laptop: diegoviola, it will probably look better if you quit before you started working there
[21:29:07] shevy: actually the least problems with eudev
[21:29:10] diegoviola: most distros have adopted systemd these days, I'm not really interesting in avoiding systemd. I think it's nice than when I move from Arch to Debian to Ubuntu or SUSE, service management is still the same everywhere
[21:29:25] nfk|laptop: i like that too
[21:29:35] nfk|laptop: i never learned anything other than openrc anyway
[21:29:50] nfk|laptop: so i prefer that kubuntu is now using the same init as my gentoo
[21:31:13] kobain: has joined #ruby
[21:31:14] voker57: has joined #ruby
[21:32:40] diegoviola: nfk|laptop: why would it look better?
[21:35:07] Yzguy: has joined #ruby
[21:36:30] armyriad: has joined #ruby
[21:37:08] ellisTAA: has joined #ruby
[21:38:09] nfk|laptop: good question
[21:38:18] nfk|laptop: it certainly won't look worse than if you quit in a month
[21:38:39] nfk|laptop: and you probably won't have any better excuses
[21:38:55] nfk|laptop: and beware that sometimes they'll spread FUD about you anyway
[21:39:11] nfk|laptop: so it might be easier to refute it if you have never actually worked there
[21:40:04] nfk|laptop: if you have, well, decide for yourself
[21:41:14] ellisTAA: has joined #ruby
[21:44:31] deric_skibotn: has joined #ruby
[21:44:45] diegoviola: why would they spread FUD
[21:45:05] mattwildig: has joined #ruby
[21:45:14] OrbitalKitten: has joined #ruby
[21:45:23] jhass: because they live
[21:45:32] jhass: as long as humans live they spread FUD
[21:46:40] diegoviola: Fear, uncertainty and doubt
[21:46:46] diegoviola: http://en.wikipedia.org/wiki/Fear,_uncertainty_and_doubt
[21:46:56] pygospa: has joined #ruby
[21:47:04] woodruffw: has joined #ruby
[21:47:18] djbkd: has joined #ruby
[21:49:21] diegoviola: I'll go there, do my job, if it turns out they are jerks I'll quit, simple
[21:49:48] nofxx__: diegoviola, it works very well, config files are clear, and there's monitoring! systemd is good, only hating w/o reason
[21:50:04] diegoviola: the only reason I'm considering this job is that there aren't many jobs in my area, and remote work is a no-go for me
[21:50:59] attlasbot: has joined #ruby
[21:51:57] nofxx__: has joined #ruby
[21:53:09] chussenot: has joined #ruby
[21:54:38] senayar: has joined #ruby
[22:00:23] nateberkopec: has joined #ruby
[22:01:57] x1337807x: has joined #ruby
[22:04:01] slawrence00: has joined #ruby
[22:04:06] rickmasta: has joined #ruby
[22:05:40] ellisTAA: has joined #ruby
[22:08:10] mary5030: has joined #ruby
[22:09:09] endash: has joined #ruby
[22:09:40] snophey: has joined #ruby
[22:11:30] bdnelson: has joined #ruby
[22:11:32] woodruffw: has joined #ruby
[22:12:08] OrbitalKitten: has joined #ruby
[22:13:10] OrbitalKitten: has joined #ruby
[22:13:27] shevy: based on your past experiences :)
[22:13:43] blue_deref: has joined #ruby
[22:15:22] Renich: has joined #ruby
[22:15:32] bdnelson: has joined #ruby
[22:21:29] intinig: has joined #ruby
[22:21:36] Rubie: has joined #ruby
[22:22:33] rgb-one: has joined #ruby
[22:22:55] bdnelson: has joined #ruby
[22:23:19] RegulationD: has joined #ruby
[22:25:02] blt_: has joined #ruby
[22:25:53] AbinoamJr: has joined #ruby
[22:26:54] NeverDie: has joined #ruby
[22:26:59] bantic: has joined #ruby
[22:28:04] b_hoffman: has joined #ruby
[22:28:11] b_hoffman: has left #ruby: ()
[22:29:17] gsd_: has joined #ruby
[22:31:09] bronson: has joined #ruby
[22:32:15] willharrison: has joined #ruby
[22:34:33] Rodya_: has joined #ruby
[22:38:08] rgb-one: https://gist.github.com/rgb-one/ee529fbef6ce37e7c764
[22:39:07] jhass: if that's a question it's missing an awful lot of context and an actual question
[22:39:27] rgb-one: jhass: How so?
[22:39:32] pwnz0r: has joined #ruby
[22:40:03] jhass: there's no explanation on how you end up in a haml template and what's actually going wrong
[22:41:01] rgb-one: I don't think it is that relevant.
[22:41:20] rgb-one: Ok I will supply some more details
[22:41:44] bmurt: has joined #ruby
[22:41:54] nateberkope: has joined #ruby
[22:42:13] ruboto: How to ask the right questions to get you the right answer: https://www.mikeash.com/getting_answers.html
[22:43:01] fujimura: has joined #ruby
[22:44:58] b_hoffman: has joined #ruby
[22:45:27] Cort3z: has joined #ruby
[22:47:02] kinduff: has joined #ruby
[22:47:25] iamninja: has joined #ruby
[22:49:10] yossarian: has joined #ruby
[22:49:42] harly: has joined #ruby
[22:50:55] kies: has joined #ruby
[22:51:42] bmurt: has joined #ruby
[22:52:06] tmoor: has joined #ruby
[22:54:08] bronson: has joined #ruby
[22:54:36] Rollabunna: has joined #ruby
[22:54:44] ghr: has joined #ruby
[22:56:12] zotherstupidguy: has joined #ruby
[22:56:16] workmad3: has joined #ruby
[23:00:44] Rollabunna: has joined #ruby
[23:01:58] leat2: has joined #ruby
[23:04:19] zotherstupidguy: has joined #ruby
[23:04:26] lkba_: has joined #ruby
[23:05:02] nszceta: has joined #ruby
[23:07:18] balazs_: has joined #ruby
[23:08:49] woodruffw: has joined #ruby
[23:09:08] nedp: has joined #ruby
[23:09:59] rushed: has joined #ruby
[23:13:30] Fooster: has joined #ruby
[23:15:46] Angelus: has joined #ruby
[23:15:58] Angelus: What happened to the #Rails channel?
[23:16:10] jhass: uh, that died years ago?
[23:16:14] jhass: it's #RubyOnRail
[23:16:16] TommyTheKid: has joined #ruby
[23:16:17] Angelus: Oh, really?
[23:16:20] Angelus: Thank you very much
[23:16:31] Angelus: has left #ruby: ()
[23:17:17] SouL_|_: has joined #ruby
[23:18:43] Torrieri: has joined #ruby
[23:18:43] Torrieri: has joined #ruby
[23:18:53] stnly: has joined #ruby
[23:23:30] yoongkang: has joined #ruby
[23:23:36] idafyaid: has joined #ruby
[23:24:48] iamninja: has joined #ruby
[23:26:51] fabrice31: has joined #ruby
[23:28:19] deric_skibotn: has joined #ruby
[23:29:06] x1337807x: has joined #ruby
[23:29:21] zotherstupidguy: has joined #ruby
[23:33:58] rickmasta: has joined #ruby
[23:35:06] mary5030: has joined #ruby
[23:36:39] greenbagels: has joined #ruby
[23:36:45] mc_fail: has joined #ruby
[23:36:48] nszceta: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[23:37:43] djbkd: has joined #ruby
[23:39:51] kobain: has joined #ruby
[23:41:35] dorei: let's say i have an array of objects, is there some magic way that could I write my_array.total instead of my_array.map(&:total) ?
[23:43:13] jhass: class MagicArray; def initialize(array); @array = array; end; def method_missing(m, *a, &b); @array.map {|i| i.public_send(m, *a, &b) }; end; end;
[23:43:36] jhass: + respond_to_missing? and if respond_to?/else I guess
[23:44:01] jhass: also probably don't actually do that
[23:45:26] CloCkWeRX: has joined #ruby
[23:45:35] shevy: awww method_missing
[23:45:45] dorei: ACTION scratches head
[23:46:10] jottr_: has joined #ruby
[23:46:20] ruboto: I don't know anything about ruby
[23:46:58] jhass: what should we teach ruboto about ruby?
[23:50:20] Sirrr: has joined #ruby
[23:50:22] Filete: has joined #ruby
[23:51:37] rushed: has joined #ruby
[23:52:01] havenwood: jhass: "Ruby" was a television documentary that chronicled the weight-loss-attempts of a woman in Savannah, Georgia.
[23:52:52] adefa: has joined #ruby
[23:53:39] havenwood: From ruby-lang homepage: Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.
[23:54:02] havenwood: ;) From manpage: If you want a language for easy object-oriented programming, or you don't like the Perl ugliness, or you do like the
[23:54:03] havenwood: concept of LISP, but don't like too many parentheses, Ruby might be your language of choice.
[23:54:46] havenwood: Ruby is a language with fewer parentheses than LISP.
[23:54:55] leat2: has joined #ruby
[23:55:14] ellisTAA: has joined #ruby
[23:55:15] bougyman: ruby's object model is nothing like CLoS.
[23:55:19] bougyman: which LISP do you mean?
[23:55:27] Ox0dea: has joined #ruby
[23:55:34] havenwood: bougyman: I'm just quoting the Ruby manpage.
[23:55:41] Ox0dea: I suspect Ruby is one of the least parenthetical languages.
[23:55:46] ghr: has joined #ruby
[23:55:51] serivichi: has joined #ruby
[23:56:01] havenwood: Ox0dea: Seattle style \o/ no parens unless it breaks the interpreter
[23:56:17] baweaver: zenspider knows all about that one.
[23:56:30] Ox0dea: Or you need to do something silly like: def_delegator(Foo = Class.new { ... }, :new)
[23:56:30] bougyman: Ox0dea: you shoulda seen a few years back (maybe 8 years even) there was a rubyist who came from CL (common-lisp) and proposed adding parens to ruby to make it clearer.
[23:56:34] ellisTAA: i???m in a bootcamp and i???m going to start building web apps for my portfolio, what kinds of things do you think most employers want to see?
[23:56:48] bougyman: he'd code his ruby with so many parens he made it look like lisp.
[23:56:52] bougyman: I wouldn't recommend it.
[23:57:08] bougyman: EllisTAA: something that interests you
[23:57:12] bougyman: because you'll make it better if you use it.
[23:57:41] shevy: good thinking
[23:57:44] shevy: I think he'll make it worse
[23:57:47] ellisTAA: bougyman: are there any gems that would impress potential employees?
[23:57:53] northfurr: has joined #ruby
[23:58:00] bougyman: EllisTAA: employees?
[23:58:08] ellisTAA: well that too ha
[23:58:12] ellisTAA: jk employers
[23:58:14] bougyman: they just want to see good ruby
[23:58:25] shevy: and documentation! working examples!
[23:58:27] mc_fail: has joined #ruby
[23:58:47] ellisTAA: alright cool :)
[23:59:29] bougyman: I haven't been able to find any good people for the opening we have.
[23:59:43] bougyman: in the dallas area
[23:59:57] bougyman: none of the applicants even made it past our screener.