« Back to channel list

#ruby - 24 December 2015

« Back 1 day Forward 1 day »
[00:02:59] StevenXL: has joined #ruby
[00:03:00] StevenXL: has joined #ruby
[00:03:55] shevy: al2o3-cr hmm lemme try
[00:04:05] dlitvak: has joined #ruby
[00:06:00] kmckelvi1: has joined #ruby
[00:08:27] RegulationD: has joined #ruby
[00:08:33] shanemcd_: has joined #ruby
[00:09:36] blandflakes: has joined #ruby
[00:09:42] f3ttX]: has joined #ruby
[00:09:58] charliesome: has joined #ruby
[00:15:09] shanemcd_: has joined #ruby
[00:19:16] beast: has joined #ruby
[00:20:36] nonopposition: has joined #ruby
[00:25:40] dlitvak: has joined #ruby
[00:26:25] h99h9h88: has joined #ruby
[00:27:46] StevenXL: has joined #ruby
[00:27:47] StevenXL: has joined #ruby
[00:29:33] axl_: has joined #ruby
[00:32:09] kies^: has joined #ruby
[00:32:27] dnewkerk: has joined #ruby
[00:33:52] atomical_: has joined #ruby
[00:34:21] h99h9h88: has joined #ruby
[00:36:04] atomical_: has joined #ruby
[00:36:48] Scripore: has joined #ruby
[00:38:44] cassioscabral: has joined #ruby
[00:39:25] lyoshajapan: has joined #ruby
[00:43:22] SamGerber: has joined #ruby
[00:44:14] Scripore: has joined #ruby
[00:44:27] agit0: has joined #ruby
[00:46:01] DLSteve: has joined #ruby
[00:46:19] ledestin: has joined #ruby
[00:46:35] Emmanuel_Chanel: has joined #ruby
[00:47:41] Harry: has joined #ruby
[00:51:06] shanemcd_: has joined #ruby
[00:51:42] duckpuppy: has joined #ruby
[00:51:53] sorbo_: has joined #ruby
[00:52:53] SamGerber: has joined #ruby
[00:53:22] PlasmaStar: has joined #ruby
[00:58:01] atomical: has joined #ruby
[00:59:23] dext: has joined #ruby
[00:59:27] mistermocha: has joined #ruby
[01:00:48] ElSif: has joined #ruby
[01:02:29] mistermocha: has joined #ruby
[01:05:19] banister: has joined #ruby
[01:06:10] kmckelvi1: has joined #ruby
[01:06:25] symm-: has joined #ruby
[01:07:14] djbkd: has joined #ruby
[01:07:52] jobewan: has joined #ruby
[01:08:13] Uranio: has joined #ruby
[01:08:58] Spami: has joined #ruby
[01:09:33] lyoshajapan: has joined #ruby
[01:10:59] fly5566: has joined #ruby
[01:12:10] postmodern: has joined #ruby
[01:12:41] lyoshajapan: has joined #ruby
[01:14:09] shibly: has joined #ruby
[01:14:29] shibly: How to tell ruby not to install documentations during install from source?
[01:14:41] zenspider: of ruby, or a gem?
[01:14:44] shibly: ./configure --without-documentation ?
[01:14:57] dlitvak: has joined #ruby
[01:15:09] zenspider: make install-nodoc
[01:15:17] Gnut: has joined #ruby
[01:15:43] shibly: Generating RDoc documentation
[01:15:44] shibly: Parsing sources...
[01:15:50] shibly: during compiling
[01:15:57] shibly: Is it possible to stop it?
[01:18:06] arooni: has joined #ruby
[01:18:55] kies^: has joined #ruby
[01:23:32] shanemcd: has joined #ruby
[01:24:26] lessless: has joined #ruby
[01:25:54] shanemcd: has joined #ruby
[01:27:41] ElFerna: has joined #ruby
[01:29:08] boxofrox: has joined #ruby
[01:31:09] ascarter: has joined #ruby
[01:31:55] zast: has joined #ruby
[01:34:05] shevy: shibly possibly you have to do so in configure step e. g. --disable-install-rdoc and such
[01:34:27] pontiki: has joined #ruby
[01:35:43] shibly: gem update --system = Fetching: rubygems-update-2.5.1.gem (100%)
[01:35:44] shibly: ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /home/shibly/ruby-2.2.4/ruby-build/lib/ruby/gems/2.2.0 directory.
[01:35:46] shibly: shibly@mybox:~/blog$ sudo gem update --system
[01:35:53] shibly: Why is this error?
[01:36:05] h99h9h88: has joined #ruby
[01:37:11] pontiki: look at that directory, see if you have write persmissions all the way up
[01:37:33] pontiki: the why is you've probably installed with a mix of sudo and non-sudo
[01:38:11] davejlong: has joined #ruby
[01:38:20] shibly: sudo make install
[01:38:42] shibly: pontiki: It's root:root permission to /home/shibly/ruby-2.2.4/ruby-build/lib/ruby/gems/
[01:38:53] shibly: What to do to make it user permission?
[01:38:57] pawnbox: has joined #ruby
[01:39:57] pontiki: sudo chown -R shibly:shibly /home/shibley/ruby-2.2.4
[01:40:08] pontiki: well, spell it write
[01:41:13] shibly: Ok, Thank you.
[01:43:05] hagabaka: has joined #ruby
[01:43:14] rgtk: has joined #ruby
[01:45:03] pontiki: why did you install anything with sudo into your own directory?
[01:45:30] shibly: pontiki: https://www.ruby-lang.org/en/documentation/installation/#building-from-source
[01:45:46] DLSteve: has joined #ruby
[01:46:30] pontiki: which says this: "By default, this will install Ruby into /usr/local. To change, pass the --prefix=DIR option to the ./configure script."
[01:46:49] pontiki: did you use the "--prefix=DIR" option?
[01:47:09] pontiki: then you shouldn't have used sudo
[01:50:14] kmckelvi1: has joined #ruby
[01:51:04] cassioscabral: has joined #ruby
[01:52:27] duckpuppy: has joined #ruby
[01:53:58] Ox0dea: Words by which to live.
[01:54:57] shibly: pontiki: Without sudo it doesn't install ruby
[01:55:23] Ox0dea: shibly: Feature, not bug.
[01:56:03] bronson: has joined #ruby
[01:56:39] shibly: has left #ruby: ()
[01:59:20] devoldmx: has joined #ruby
[01:59:45] Contigi: has joined #ruby
[02:00:29] shanemcd: has joined #ruby
[02:00:58] stannard: has joined #ruby
[02:01:01] ruurd: has joined #ruby
[02:02:14] charliesome: has joined #ruby
[02:03:02] iateadonut: has joined #ruby
[02:07:40] charliesome: has joined #ruby
[02:08:40] pawnbox: has joined #ruby
[02:09:10] RegulationD: has joined #ruby
[02:13:31] hxegon: has joined #ruby
[02:14:20] dlitvak: has joined #ruby
[02:15:04] arescorpio: has joined #ruby
[02:15:48] vikas027: has joined #ruby
[02:18:08] charliesome: has joined #ruby
[02:21:00] tubulife-: has joined #ruby
[02:21:22] devoldmx: has joined #ruby
[02:26:51] tectonic: has joined #ruby
[02:29:45] joneshf-laptop: has joined #ruby
[02:31:58] devbug_: has joined #ruby
[02:32:30] finisherr: has joined #ruby
[02:33:03] wsewolod: has joined #ruby
[02:33:50] kmckelvi1: has joined #ruby
[02:34:57] aibot: has joined #ruby
[02:35:41] andywojo: has joined #ruby
[02:36:11] charliesome_: has joined #ruby
[02:39:01] pawnbox: has joined #ruby
[02:39:18] sorbo_: has joined #ruby
[02:40:46] dotix: has joined #ruby
[02:44:58] Kn|t3: has joined #ruby
[02:45:24] fullofcaffeine: has joined #ruby
[02:46:13] jbrhbr: has joined #ruby
[02:49:28] StevenXL: has joined #ruby
[02:49:29] StevenXL: has joined #ruby
[02:49:38] PedramT: has joined #ruby
[02:51:27] krz: has joined #ruby
[02:52:57] ElFerna: has joined #ruby
[02:53:12] duckpuppy: has joined #ruby
[02:53:39] hxegon: has joined #ruby
[02:54:12] tomchapin: has joined #ruby
[02:55:58] hesco: has joined #ruby
[02:57:36] Harry: has joined #ruby
[02:57:47] Bloomer: has joined #ruby
[02:58:36] agent_white: has joined #ruby
[02:59:16] cassioscabral: has joined #ruby
[03:00:38] rkazak_: has joined #ruby
[03:00:47] devbug: has joined #ruby
[03:03:34] hesco: my bundler does not respect my rbenv version: https://gist.github.com/hesco/c3f3b4cbd89e719d9a1b What do I need to do here, please?
[03:08:05] qiukun: has joined #ruby
[03:08:55] TheNet: has joined #ruby
[03:10:04] SamGerber: has joined #ruby
[03:13:23] howdoi: has joined #ruby
[03:16:29] pawnbox: has joined #ruby
[03:17:03] Kn|t3: has joined #ruby
[03:17:45] pwnd_nsfw: has joined #ruby
[03:19:01] ElFerna: has joined #ruby
[03:19:31] Rodya_: has joined #ruby
[03:20:24] Harry: has joined #ruby
[03:20:54] YankNYC: has joined #ruby
[03:22:31] Harry: Anyone got some ideas for a gem I could build?
[03:24:06] beast: has joined #ruby
[03:24:24] shevy: Harry a game!
[03:24:49] shevy: Harry usually, what I think works best in like 90% of the cases, build something that you find useful
[03:25:05] bradleyprice: has joined #ruby
[03:25:41] Harry: yeah that's what I was thinking however nothing is immediately jumping to mind. Anything you can think of that mgiht be useful to you or others?
[03:26:05] shevy: to others I don't know
[03:26:17] shevy: to me, hmm... that's a good question
[03:26:25] shanemcd: has joined #ruby
[03:27:16] shevy: Harry https://rubygems.org/gems/cookbooks is useful to me because I can use it, despite the flaws it has, to compile things from source easily, query package information and such
[03:28:08] shevy: Harry that's how it looks for e. g. ruby then http://shevegen.square7.ch/screenshot.png
[03:29:08] Kn|t3: has joined #ruby
[03:29:10] Harry: nice so it provides information about certain packages etc?
[03:30:14] fullofcaffeine: has joined #ruby
[03:32:04] tectonic: has joined #ruby
[03:32:09] nateberkopec: has joined #ruby
[03:36:05] dextertzu: has joined #ruby
[03:36:07] Feyn: has joined #ruby
[03:36:13] kmckelvi1: has joined #ruby
[03:36:50] Ox0dea: Harry: Could you write a gem to fill me with Christmas cheer?
[03:37:01] Biohazard: has joined #ruby
[03:37:25] nocd: has joined #ruby
[03:38:02] Fridtjof: has joined #ruby
[03:38:18] Harry: Ox0dea: haha I can most definitely try
[03:38:34] yfeldblum: has joined #ruby
[03:39:07] Ox0dea: Harry: Christmas lights along the
[03:39:16] Ox0dea: borders of my terminal, please.
[03:40:05] Ox0dea: But, like, not so distracting as to hold my full attention and the like.
[03:40:56] Ox0dea: As an aside, that would actually be pretty neat for about five seconds, and I'd be surprised if zsh didn't make it pretty straightforward to implement.
[03:41:52] Harry: yeah haha seems like something I'd appreciate for a few seconds then get annoyed with
[03:41:54] Ox0dea: fish too, I suppose, but Christmas should be POSIX-compliant.
[03:42:08] shanemcd: has joined #ruby
[03:42:41] mistermocha: has joined #ruby
[03:43:07] SCHAAP137: has joined #ruby
[03:44:07] rgtk: has joined #ruby
[03:45:57] Ox0dea: https://rubygems.org/gems/anagram-brytiuk
[03:45:59] Ox0dea: Very clever, Dave.
[03:46:36] Ox0dea: I initially assumed Brytiuk was some smart fellow who'd designed some very efficient algorithm for finding anagrams.
[03:49:33] yeticry: has joined #ruby
[03:50:02] TheNet_: has joined #ruby
[03:50:10] krz: has joined #ruby
[03:51:07] iateadonut: has joined #ruby
[03:53:56] duckpuppy: has joined #ruby
[03:55:04] colegatron: has joined #ruby
[03:55:28] kp666: has joined #ruby
[03:55:29] skcin7: has joined #ruby
[03:58:34] krz: has joined #ruby
[04:02:15] Jamazia: has joined #ruby
[04:03:37] sorbo_: has joined #ruby
[04:04:15] devbug_: has joined #ruby
[04:07:28] Kn|t3: has joined #ruby
[04:09:59] RegulationD: has joined #ruby
[04:13:01] nocd: has joined #ruby
[04:14:07] p1k: has joined #ruby
[04:14:46] Kn|t3: has joined #ruby
[04:15:55] braincrash: has joined #ruby
[04:16:23] StevenXL: has joined #ruby
[04:17:41] grayjedi: has joined #ruby
[04:19:25] TheNet: has joined #ruby
[04:19:25] Guest32: has joined #ruby
[04:20:49] grayjedi: has left #ruby: ()
[04:22:31] unreal: has joined #ruby
[04:24:35] arooni: has joined #ruby
[04:25:59] andywojo: has joined #ruby
[04:27:09] pawnbox: has joined #ruby
[04:27:58] shanemcd: has joined #ruby
[04:29:18] shanemcd_: has joined #ruby
[04:29:25] dotix: has joined #ruby
[04:32:03] TheNet: has joined #ruby
[04:33:06] seitensei: has joined #ruby
[04:35:39] jpfuentes2: has joined #ruby
[04:37:00] kmckelvi1: has joined #ruby
[04:37:04] colegatron: has joined #ruby
[04:42:02] fullofcaffeine: has joined #ruby
[04:45:05] Kn|t3: has joined #ruby
[04:46:54] whitedawg: has joined #ruby
[04:48:18] finisherr: has left #ruby: ()
[04:49:56] cwong_on_irc: has joined #ruby
[04:49:57] adgtl: has joined #ruby
[04:51:21] Kn|t3: has joined #ruby
[04:55:01] cwong_on_irc: has joined #ruby
[04:56:57] bronson: has joined #ruby
[04:58:04] treaki_: has joined #ruby
[04:59:33] cwong_on_irc: has joined #ruby
[05:00:14] Kn|t3: has joined #ruby
[05:00:29] blackjid: has joined #ruby
[05:01:33] CBke: has joined #ruby
[05:01:34] CBke: has joined #ruby
[05:04:37] cwong_on_irc: has joined #ruby
[05:05:39] yeshacker: has joined #ruby
[05:09:14] sp1rs: has joined #ruby
[05:09:33] the_nick_me: has joined #ruby
[05:09:51] cassioscabral: has joined #ruby
[05:15:02] Kn|t3: has joined #ruby
[05:16:26] graffix222: has joined #ruby
[05:18:48] nateberkopec: has joined #ruby
[05:18:57] Kn|t3: has joined #ruby
[05:23:39] highsen: has joined #ruby
[05:24:57] pdoherty: has joined #ruby
[05:26:01] PedramT: has joined #ruby
[05:30:05] shanemcd: has joined #ruby
[05:33:23] PlasmaStar: has joined #ruby
[05:36:18] Kn|t3: has joined #ruby
[05:37:46] kmckelvi1: has joined #ruby
[05:38:00] agent_white: has left #ruby: ()
[05:39:13] yfeldblum: has joined #ruby
[05:39:36] KuntAss: has joined #ruby
[05:40:04] jcdesimp_: has joined #ruby
[05:44:54] puria: has joined #ruby
[05:44:57] rgtk: has joined #ruby
[05:45:34] framling: has joined #ruby
[05:45:36] astrobun_: has joined #ruby
[05:45:55] djbkd: has joined #ruby
[05:48:30] lessless: has joined #ruby
[05:49:45] andrew9184: has joined #ruby
[05:52:50] symm-: has joined #ruby
[05:53:07] bluOxigen: has joined #ruby
[05:53:16] bluOxigen: has left #ruby: ()
[05:54:11] Kn|t3: has joined #ruby
[05:54:41] duckpuppy: has joined #ruby
[05:55:23] iateadonut: has joined #ruby
[05:59:06] VeryBewitching: has joined #ruby
[05:59:23] Brando753: has joined #ruby
[05:59:35] presidentbeef: has left #ruby: ()
[06:00:32] andrew9184: has joined #ruby
[06:00:41] andrew9184: has left #ruby: ()
[06:06:36] darkf: has joined #ruby
[06:07:25] djbkd: has joined #ruby
[06:10:15] lacuna: has joined #ruby
[06:10:48] RegulationD: has joined #ruby
[06:15:03] puria: has joined #ruby
[06:17:18] dotix: has joined #ruby
[06:20:18] nateberkopec: has joined #ruby
[06:23:40] pawnbox: has joined #ruby
[06:23:52] moeabdol1: has joined #ruby
[06:24:34] whitedawg: has joined #ruby
[06:24:49] ^CrYpto^: has joined #ruby
[06:25:20] fullofcaffeine: has joined #ruby
[06:26:05] colegatron: has joined #ruby
[06:27:47] ^CrYpto^: has joined #ruby
[06:33:26] pawnbox: has joined #ruby
[06:33:52] seitensei: has joined #ruby
[06:33:53] seitensei: has joined #ruby
[06:34:10] pawnbox: has joined #ruby
[06:37:04] nkwsy: has joined #ruby
[06:37:07] jaequery: has joined #ruby
[06:39:45] kmckelvi1: has joined #ruby
[06:39:46] samfromat: has joined #ruby
[06:42:02] nkwsy_: has joined #ruby
[06:42:44] PedramT: has joined #ruby
[06:44:02] cwong_on_irc: has joined #ruby
[06:44:55] ryez: has joined #ruby
[06:45:11] charliesome: has joined #ruby
[06:46:20] PedramT: has joined #ruby
[06:46:22] raeoks: has joined #ruby
[06:47:06] PedramT: has joined #ruby
[06:47:14] cwong_on_irc1: has joined #ruby
[06:48:09] stannard: has joined #ruby
[06:50:43] cwong_on_irc: has joined #ruby
[06:51:13] claw: has joined #ruby
[06:52:08] SamGerber: has joined #ruby
[06:54:28] fullofcaffeine: has joined #ruby
[06:54:58] cwong_on_irc1: has joined #ruby
[06:56:25] Kn|t3: has joined #ruby
[06:58:41] yardenbar: has joined #ruby
[06:58:46] kmckelvi1: has joined #ruby
[06:58:48] cwong_on_irc: has joined #ruby
[06:59:46] bronson: has joined #ruby
[07:00:47] shanemcd: has joined #ruby
[07:01:08] rippa: has joined #ruby
[07:01:10] smactive: has joined #ruby
[07:01:15] greg: has joined #ruby
[07:03:22] cwong_on_irc1: has joined #ruby
[07:06:54] colegatron: has joined #ruby
[07:06:59] qiukun: has joined #ruby
[07:07:37] blandflakes: has joined #ruby
[07:09:55] skcin7: has joined #ruby
[07:14:18] yeshacker: has joined #ruby
[07:15:35] cwong_on_irc: has joined #ruby
[07:15:55] pawnbox: has joined #ruby
[07:16:50] sal: has joined #ruby
[07:17:09] qiukun: has joined #ruby
[07:18:53] cwong_on_irc1: has joined #ruby
[07:21:01] greg: has joined #ruby
[07:22:00] nateberkopec: has joined #ruby
[07:22:09] SOLDIERz: has joined #ruby
[07:23:03] Guest79386: hey, can someone help me out with a seemingly simple regex problem? => https://gist.github.com/Haseeb-Qureshi/b71e2554c0b99a5d294d
[07:23:21] cwong_on_irc: has joined #ruby
[07:23:23] Guest79386: been bashing my head at this and can't figure out a regex-based solution
[07:23:48] cwong_on_irc: has joined #ruby
[07:24:58] belak: has joined #ruby
[07:27:24] cwong_on_irc1: has joined #ruby
[07:28:59] pawnbox_: has joined #ruby
[07:30:35] mozzarella: has joined #ruby
[07:31:14] cwong_on_irc: has joined #ruby
[07:31:16] PedramT: has joined #ruby
[07:31:33] bradleyprice: has joined #ruby
[07:32:14] PedramT_: has joined #ruby
[07:33:17] vdamewood: has joined #ruby
[07:33:24] jackjackdripper: has joined #ruby
[07:34:46] belak: Is there a way with rbenv to specify a local version or ruby, but not require it to be an exact patch version?
[07:34:57] cwong_on_irc1: has joined #ruby
[07:35:23] cwong_on_irc1: has joined #ruby
[07:35:50] pawnbox: has joined #ruby
[07:36:47] greg: has joined #ruby
[07:37:20] yeshacker: has joined #ruby
[07:37:24] crazydiamond: has joined #ruby
[07:37:30] fullofcaffeine: has joined #ruby
[07:37:53] dionysus69: has joined #ruby
[07:38:26] greg: has joined #ruby
[07:39:08] cwong_on_irc: has joined #ruby
[07:39:34] cwong_on_irc: has joined #ruby
[07:39:57] cwong_on_irc: has joined #ruby
[07:41:18] greg: has joined #ruby
[07:42:42] htmldrum: has joined #ruby
[07:42:57] adgtl: has joined #ruby
[07:42:58] conta_: has joined #ruby
[07:44:20] speakingcode: has joined #ruby
[07:44:53] CBke: has joined #ruby
[07:45:49] rgtk: has joined #ruby
[07:47:09] goodroot: has joined #ruby
[07:48:34] cwong_on_irc: has joined #ruby
[07:48:42] dopie: has joined #ruby
[07:49:52] dopie: has joined #ruby
[07:51:29] scepticulous: has joined #ruby
[07:52:02] cwong_on_irc1: has joined #ruby
[07:55:27] duckpuppy: has joined #ruby
[07:56:04] anisha: has joined #ruby
[07:57:34] cwong_on_irc: has joined #ruby
[07:58:11] dopie: has joined #ruby
[07:59:03] dopie: has joined #ruby
[08:02:21] cwong_on_irc: has joined #ruby
[08:03:14] shanemcd: has joined #ruby
[08:03:40] camus: hello, i'm trying to run my script - https://gist.github.com/anonymous/9a730323a7d8be8a41ce - and am getting the following error:
[08:04:35] camus: fullcontact.rb:18:in `<main>': undefined local variable or method `response' for main:Object (NameError)
[08:05:19] camus: I'm thinking that's because I created my variable inside of a block, so it's not going to be available to the method that is getting called in association with it?
[08:05:23] dotix: has joined #ruby
[08:05:34] camus: Not sure how I access that variable though.
[08:07:00] cwong_on_irc: has joined #ruby
[08:08:47] jidar: camus: you pass it in as a parm to your block
[08:10:49] cwong_on_irc1: has joined #ruby
[08:12:39] Kn|t3: has joined #ruby
[08:14:23] camus: jidar: sorry, I don't understand
[08:14:29] camus: thanks by the way, for your reply
[08:14:37] Kn|t3: has joined #ruby
[08:14:39] cwong_on_irc: has joined #ruby
[08:15:02] cwong_on_irc: has joined #ruby
[08:15:09] treaki: has joined #ruby
[08:16:46] azgil: has joined #ruby
[08:18:26] cwong_on_irc1: has joined #ruby
[08:18:45] dr3w: has joined #ruby
[08:20:08] Trynemjoel: has joined #ruby
[08:21:14] CloCkWeRX: has joined #ruby
[08:22:14] cwong_on_irc: has joined #ruby
[08:22:36] pawnbox: has joined #ruby
[08:22:38] cwong_on_irc: has joined #ruby
[08:23:01] cwong_on_irc: has joined #ruby
[08:24:07] nateberkopec: has joined #ruby
[08:24:18] lacuna: has joined #ruby
[08:24:19] lacuna: has joined #ruby
[08:25:38] Trynemjoel: has joined #ruby
[08:28:27] cwong_on_irc: has joined #ruby
[08:28:31] qiukun: has joined #ruby
[08:28:38] andywojo: has joined #ruby
[08:29:29] bluOxigen: has joined #ruby
[08:32:11] Kn|t3: has joined #ruby
[08:32:32] cwong_on_irc1: has joined #ruby
[08:34:42] seitensei: has joined #ruby
[08:34:42] seitensei: has joined #ruby
[08:35:16] bengrahamsghost: has joined #ruby
[08:35:48] blackmesa: has joined #ruby
[08:36:00] sp1rs: has joined #ruby
[08:36:44] jcdesimp: has joined #ruby
[08:37:09] firstdayonthejob: has joined #ruby
[08:38:26] cwong_on_irc: has joined #ruby
[08:39:33] CloCkWeRX: has joined #ruby
[08:39:56] dr3w: has joined #ruby
[08:41:56] cwong_on_irc1: has joined #ruby
[08:45:40] cwong_on_irc: has joined #ruby
[08:46:05] cwong_on_irc: has joined #ruby
[08:51:00] cwong_on_irc: has joined #ruby
[08:52:19] krz: has joined #ruby
[08:56:27] yeshacker: has joined #ruby
[08:56:31] moeabdol1: has joined #ruby
[08:59:34] Kn|t3: has joined #ruby
[09:03:06] bronson: has joined #ruby
[09:08:04] dr3w: has joined #ruby
[09:08:27] blandflakes: has joined #ruby
[09:11:10] highsen: has joined #ruby
[09:12:28] karapetyan: has joined #ruby
[09:16:16] senayar: has joined #ruby
[09:17:03] BSaboia: has joined #ruby
[09:18:36] BrunoSaboia: has joined #ruby
[09:21:03] naftilos76: has joined #ruby
[09:24:42] sp1rs: has joined #ruby
[09:25:12] Stan: has joined #ruby
[09:25:33] nateberkopec: has joined #ruby
[09:30:02] bradleyprice: has joined #ruby
[09:34:32] sp1rs: has joined #ruby
[09:35:33] sandstrom: has joined #ruby
[09:37:26] SnowGlobe: has joined #ruby
[09:38:42] the_nick_me: has joined #ruby
[09:39:50] growman: has joined #ruby
[09:43:13] goodroot: has joined #ruby
[09:45:30] charliesome: has joined #ruby
[09:46:01] senayar: has joined #ruby
[09:46:01] senayar: has joined #ruby
[09:46:39] rgtk: has joined #ruby
[09:47:43] alphaatom: has joined #ruby
[09:49:41] jondot: has joined #ruby
[09:50:20] shanemcd: has joined #ruby
[09:52:06] kmckelvi1: has joined #ruby
[09:54:04] Ishido: has joined #ruby
[09:56:11] duckpuppy: has joined #ruby
[09:57:23] Mon_Ouie: has joined #ruby
[09:59:29] lxsameer: has joined #ruby
[10:00:43] dr3w: has joined #ruby
[10:02:12] Begi: has joined #ruby
[10:03:35] blaxter: has joined #ruby
[10:04:52] jondot: has joined #ruby
[10:07:29] BaroMeter: has joined #ruby
[10:09:15] blandflakes: has joined #ruby
[10:11:28] ramfjord: has joined #ruby
[10:13:44] mdw: has joined #ruby
[10:13:47] Kn|t3: has joined #ruby
[10:18:55] wolffles: has joined #ruby
[10:20:21] cwong_on_irc: has joined #ruby
[10:21:05] marr: has joined #ruby
[10:21:20] bkxd: has joined #ruby
[10:21:48] SnowGlobe: has joined #ruby
[10:21:50] Scripore: has joined #ruby
[10:23:25] darkf: has joined #ruby
[10:24:02] cwong_on_irc1: has joined #ruby
[10:24:26] cwong_on_irc1: has joined #ruby
[10:25:31] jcdesimp: has joined #ruby
[10:26:26] mrgrieves: has joined #ruby
[10:27:09] nateberkopec: has joined #ruby
[10:28:43] cwong_on_irc: has joined #ruby
[10:29:20] Scripore: has joined #ruby
[10:29:35] jbrhbr: has joined #ruby
[10:30:43] samfromat: has joined #ruby
[10:33:12] cwong_on_irc: has joined #ruby
[10:35:32] seitensei: has joined #ruby
[10:35:32] seitensei: has joined #ruby
[10:37:45] cwong_on_irc1: has joined #ruby
[10:38:15] ibouvousaime: has joined #ruby
[10:40:14] ElFerna: has joined #ruby
[10:40:24] dEPy: has joined #ruby
[10:41:16] cwong_on_irc: has joined #ruby
[10:43:15] TheHodge: has joined #ruby
[10:44:23] dr3w: has joined #ruby
[10:45:24] krz: has joined #ruby
[10:46:38] cwong_on_irc: has joined #ruby
[10:47:17] alphaatom: has joined #ruby
[10:50:33] cwong_on_irc1: has joined #ruby
[10:52:37] shanemcd: has joined #ruby
[10:53:27] charliesome: has joined #ruby
[10:53:30] dlitvak: has joined #ruby
[10:53:35] sandstrom: has joined #ruby
[10:53:46] Jackneill: has joined #ruby
[10:54:20] cwong_on_irc: has joined #ruby
[10:54:34] pawnbox: has joined #ruby
[10:55:23] samfromat: has joined #ruby
[10:57:13] pawnbox: has joined #ruby
[10:57:43] cwong_on_irc1: has joined #ruby
[10:59:06] adgtl: has joined #ruby
[11:00:48] The_Phoenix: has joined #ruby
[11:00:51] rgtk: has joined #ruby
[11:02:41] cwong_on_irc: has joined #ruby
[11:02:47] chouhoulis: has joined #ruby
[11:04:23] chouhoulis: has joined #ruby
[11:04:55] bronson: has joined #ruby
[11:06:15] cwong_on_irc1: has joined #ruby
[11:09:07] pawnbox: has joined #ruby
[11:10:25] cwong_on_irc: has joined #ruby
[11:11:30] jondot: has joined #ruby
[11:14:30] cwong_on_irc1: has joined #ruby
[11:14:49] devoldmx: has joined #ruby
[11:16:40] dr3w: has joined #ruby
[11:18:29] senayar: has joined #ruby
[11:18:29] senayar: has joined #ruby
[11:18:36] cwong_on_irc: has joined #ruby
[11:20:35] gizmore: has joined #ruby
[11:22:55] cwong_on_irc1: has joined #ruby
[11:23:07] karapetyan: has joined #ruby
[11:23:14] kies^: has joined #ruby
[11:23:30] davedev24: has joined #ruby
[11:23:45] SCHAAP137: has joined #ruby
[11:23:50] AlexRussia: has joined #ruby
[11:24:56] karapetyan: has joined #ruby
[11:25:30] karapetyan: has joined #ruby
[11:25:37] colegatron: has joined #ruby
[11:26:24] ElFerna: has joined #ruby
[11:27:07] dotix: has joined #ruby
[11:27:36] cwong_on_irc: has joined #ruby
[11:27:45] whiteline: has joined #ruby
[11:28:34] skade: has joined #ruby
[11:28:37] nateberkopec: has joined #ruby
[11:31:22] cwong_on_irc1: has joined #ruby
[11:31:39] sp1rs: has joined #ruby
[11:35:19] cwong_on_irc: has joined #ruby
[11:35:53] dionysus69: has joined #ruby
[11:37:05] pandaant: has joined #ruby
[11:39:10] cwong_on_irc1: has joined #ruby
[11:39:57] dorei: has joined #ruby
[11:40:52] ta: has joined #ruby
[11:41:08] Highsen_: has joined #ruby
[11:43:55] samfromat: has left #ruby: ()
[11:44:03] cwong_on_irc: has joined #ruby
[11:45:12] goodroot: has joined #ruby
[11:45:58] kmckelvi1: has joined #ruby
[11:47:19] cwong_on_irc1: has joined #ruby
[11:48:29] highsen: has joined #ruby
[11:49:07] sp1rs: has joined #ruby
[11:49:38] crunk_bear: has joined #ruby
[11:50:04] Jackneill: has joined #ruby
[11:53:20] shanemcd: has joined #ruby
[11:54:35] cwong_on_irc: has joined #ruby
[11:55:40] robbyoconnor: has joined #ruby
[11:56:56] duckpuppy: has joined #ruby
[11:58:51] cwong_on_irc1: has joined #ruby
[12:01:22] Gnut: has joined #ruby
[12:02:12] cwong_on_irc: has joined #ruby
[12:02:25] Bish: have a christmas
[12:05:02] chouhoulis: has joined #ruby
[12:05:40] cwong_on_irc1: has joined #ruby
[12:06:41] zapata: has joined #ruby
[12:09:11] cwong_on_irc: has joined #ruby
[12:10:27] andywojo: has joined #ruby
[12:11:41] blandflakes: has joined #ruby
[12:12:42] cwong_on_irc1: has joined #ruby
[12:12:47] ruby-lang016: has joined #ruby
[12:12:57] RegulationD: has joined #ruby
[12:13:01] ruby-lang016: english or french ? anglais ou fran??ais ?
[12:13:27] ruby-lang016: or spanish ? o espanol ? ou espagnol ?
[12:13:35] ruby-lang016: I need you help
[12:13:38] ruboto: Don't ask to ask. Just ask your question, and if anybody can help, they will likely try to do so.
[12:13:44] ruby-lang016: in Ruby language :)
[12:13:59] ruby-lang016: I would like to know if Ruby does optimisation about conditions
[12:14:05] ruby-lang016: for example: a && b
[12:14:21] ruby-lang016: if a is FALSE, does Ruby evaluate the b ?
[12:14:34] jcdesimp: has joined #ruby
[12:14:38] karapetyan: has joined #ruby
[12:14:40] adaedra: >> def foo; puts "It doesn't"; end; true && foo
[12:14:41] ruboto: adaedra # => It doesn't ...check link for more (https://eval.in/490203)
[12:14:48] adaedra: >> def foo; puts "It doesn't"; end; false && foo
[12:14:50] ruboto: adaedra # => false (https://eval.in/490204)
[12:14:54] adaedra: here, it does.
[12:14:58] ruid: has joined #ruby
[12:15:29] ruby-lang016: Is there any posibility to force him to do optimisation ?
[12:15:32] adaedra: it stops at the first truthy element in a &&.
[12:15:59] adaedra: ljarvis: ?
[12:16:01] ruby-lang016: because I do this :
[12:16:02] ruby-lang016: (a < u.length && (b > v.length || u[a] <= v[b])
[12:16:07] dlitvak: has joined #ruby
[12:16:17] ruby-lang016: the problem is, when b >v.lenght
[12:16:36] ruby-lang016: Ruby evaluates u[a] <= v[b] and then it crashes
[12:17:01] ruby-lang016: but, like b > v.length
[12:17:11] ruby-lang016: it is useless to evaluate u[a] <= v[b]
[12:17:30] ruby-lang016: because true || something = true
[12:17:49] astrobunny: has joined #ruby
[12:17:56] cwong_on_irc: has joined #ruby
[12:18:08] adaedra: if a < u.length, the right part is not evaluated.
[12:18:21] cwong_on_irc: has joined #ruby
[12:19:04] adaedra: that's something different.
[12:19:07] ljarvis: adaedra: you showed an example where it's not evaluated then said "here, it does." which was confusing :)
[12:19:08] ruby-lang016: true && something = something
[12:19:28] ruby-lang016: it is not equals to "true"
[12:19:34] adaedra: ljarvis: yeah, saw this afterwards, it depends which question you think the answer is to.
[12:19:46] adaedra: >> true && ceci_ne_sera_pas_evalu??
[12:19:47] ruboto: adaedra # => undefined local variable or method `ceci_ne_sera_pas_evalu??' for main:Object (NameError) ...check link for more (https://eval.in/490205)
[12:19:54] adaedra: meh, I keep doing wrong.
[12:19:58] adaedra: >> false && ceci_ne_sera_pas_evalu??
[12:19:59] ruboto: adaedra # => false (https://eval.in/490206)
[12:20:26] adaedra: ruby-lang016: || and && don't always return true/false.
[12:20:30] adaedra: >> false || 42
[12:20:31] ruboto: adaedra # => 42 (https://eval.in/490207)
[12:21:04] ruby-lang016: I am not sure to understand.
[12:21:22] ruby-lang016: Why true && something does true without evaluating something ?
[12:21:29] ruby-lang016: without evaluate *
[12:21:39] ElFerna: has joined #ruby
[12:21:47] ruby-lang016: Imagine that something = false
[12:21:49] adaedra: `true && x` evaluates and return x
[12:21:52] cwong_on_irc1: has joined #ruby
[12:22:00] ruby-lang016: true || something
[12:22:07] adaedra: return true.
[12:22:09] ruby-lang016: something is evaluated ?
[12:22:21] adaedra: >> true || i_dont_exist
[12:22:22] ruboto: adaedra # => true (https://eval.in/490208)
[12:22:28] Bish: hi helpers, i want to add a unique id to a mysql table with sequel, i use the before_create method to do that. i do i get sure, that it's unique
[12:22:43] adaedra: see, i_dont_exist is not even evaluated (would raise an error)
[12:23:00] adaedra: Bish: just use a primary key?
[12:23:06] ruby-lang016: I would to know now please, what is wrong with if ((a < u.length) && (b > v.length || u[a] <= v[b])) then
[12:23:23] Bish: well i have been told, you don't use uids as primary keys in innodb
[12:23:29] Bish: several times
[12:23:29] ruby-lang016: a is an indice of u and b an indice of v
[12:24:12] krz: has joined #ruby
[12:24:32] adaedra: are you sure of your values? You can use pry to get a REPL just before the expressions and test them.
[12:24:32] TomyLobo: has joined #ruby
[12:25:20] cwong_on_irc: has joined #ruby
[12:25:48] cwong_on_irc: has joined #ruby
[12:27:47] ruby-lang016: in order to publicate
[12:27:57] ruby-lang016: to show you what I done
[12:27:59] ruboto: https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
[12:28:04] adaedra: Like shown in topic
[12:28:26] ruby-lang016: https://gist.github.com/Etienne-Wattebled/8a12d04a871e9b70b8a6
[12:28:38] ruby-lang016: can you look at please ?
[12:28:47] adaedra: ?gist_usage
[12:28:47] ruboto: To properly use gist, please enable syntax highlighting, either by choosing the language manually or by entering a proper filename. If you post multiple things, separate them into multiple files. If you have a Github account, please update your gist with new information instead of posting a new one.
[12:29:22] adaedra: mh, there's no more "choosing the language manually" tho, we should update that.
[12:29:30] cwong_on_irc1: has joined #ruby
[12:29:55] cwong_on_irc1: has joined #ruby
[12:29:56] adaedra: You can remove the "then"
[12:30:06] nateberkopec: has joined #ruby
[12:30:22] cwong_on_irc: has joined #ruby
[12:30:32] adaedra: +b #ruby!*@*
[12:30:37] adaedra: -b #ruby!*@*
[12:31:17] cwong_on_irc: has joined #ruby
[12:31:38] cwong_on_irc: has joined #ruby
[12:32:01] sandstrom: has joined #ruby
[12:32:29] adaedra: +b cwong_on_irc*!*@*$#ruby-fix-your-connection
[12:35:57] ruby-lang016: you saw something ?
[12:36:13] adaedra: Are you using tabs to indent?
[12:36:14] ruby-lang016: something wrong ?
[12:36:22] seitensei: has joined #ruby
[12:36:23] ruby-lang016: all is indented
[12:36:32] adaedra: -o adaedra
[12:36:58] apeiros: adaedra: !fact ed gist_usage ???newtext???
[12:37:00] adaedra: Ruby standard is 2 spaces to indent, and tabs are frowned upon.
[12:37:12] adaedra: apeiros: I know, but later, maybe.
[12:37:31] bithon: 1dsasdasd
[12:37:33] bithon: aqwreqewqe
[12:37:40] adaedra: apeiros: Also, we need a command for sending people to fix-your-connection.
[12:37:44] adaedra: bithon: we said English, please.
[12:38:07] ruby-lang016: does something wrong with my function ?
[12:38:28] pawnbox: has joined #ruby
[12:38:57] adaedra: I'm looking, but you may want to look yourself through pry or printing values that the values are the ones you expect.
[12:39:06] zotherstupidguy: has joined #ruby
[12:39:14] adaedra: It's easier to see if a code is doing wrong if you know what it's supposed to do ;)
[12:39:38] adaedra: Are you coming from another language?
[12:39:38] ruby-lang016: this code sorts int values
[12:39:59] ruby-lang016: I am french why ?
[12:40:04] ruby-lang016: My english is poor ? :)
[12:40:13] adaedra: Programming language
[12:40:41] codecop: has joined #ruby
[12:41:41] adaedra: What's the meaning of l.49?
[12:41:50] charliesome: has joined #ruby
[12:42:19] adaedra: The line 49 in your gist
[12:42:50] senayar: has joined #ruby
[12:42:51] senayar: has joined #ruby
[12:42:54] ruby-lang016: just in order to see the tab generated
[12:42:58] ruby-lang016: before the sort
[12:43:21] adaedra: It won't be printed if you just call #tab
[12:43:31] htmldrum: has joined #ruby
[12:43:42] ruby-lang016: it is returned
[12:43:44] kobain: has joined #ruby
[12:43:48] ruby-lang016: but I can see that in console
[12:44:47] adaedra: Did you remove the gist?
[12:45:08] ruby-lang016: you would like I publish again ?
[12:45:26] adaedra: well, did you find your problem?
[12:50:24] zamerick_: has joined #ruby
[12:53:21] ruby-lang016: adaedra: did you dinf ?
[12:53:30] ruby-lang016: I am searching too...
[12:53:39] adaedra: Will be difficult, now that I'm without access to the code.
[12:53:39] ruby-lang016: but nothing yet
[12:53:49] ruby-lang016: I publish again
[12:54:26] ruby-lang016: https://gist.github.com/Etienne-Wattebled/b581bd8f9f90e80495c6
[12:54:38] graffix222: has joined #ruby
[12:54:47] adaedra: Also, just aside: if you want to share code with the internet, better have your methods and variables as english names. Helps understanding.
[12:55:05] ruby-lang016: If you have any question for variables
[12:55:30] adaedra: so, for starters:
[12:55:40] adaedra: you don't need semi-columns at the end of lines.
[12:55:53] adaedra: you don't need do with while.
[12:56:16] adaedra: you don't need parenthesis around if preficate, nor you need then.
[12:56:20] ramfjord: has joined #ruby
[12:56:31] dlitvak: has joined #ruby
[12:56:58] adaedra: your dupTab method is actually ri:Array#slice
[12:56:58] `derpy: http://ruby-doc.org/core-2.2.4/Array.html#method-i-slice
[12:57:09] Bish: QUICK: how do i get all urlsafe characters with ruby?
[12:57:17] Bish: first one gets a hug!
[12:57:36] `derpy: ACTION hugs adaedra 
[12:57:47] adaedra: seems I already got one.
[12:58:10] adaedra: There may be something in URI.
[12:58:18] Bish: *checks*
[12:59:53] adaedra: instead of `for i in (a..b)`, your can use `(a..b).each do |i|` which is more common in Ruby.
[13:00:00] ruby-lang016: Slice does a copy ?
[13:00:16] jcdesimp: has joined #ruby
[13:00:23] adaedra: It returns a new array, yes.
[13:00:28] Bish: yes. but keep in mind you might copy references.
[13:00:38] ruby-lang016: for example tab[0,5] ?
[13:00:50] adaedra: yes. Look at the documentation `derpy linked.
[13:01:02] Bish: (0..10).to_a[1..3]
[13:01:14] adaedra: You got all that already? :)
[13:02:30] lubekpl: has joined #ruby
[13:03:28] Spami: has joined #ruby
[13:05:04] bubbys: has joined #ruby
[13:05:42] colegatron: has joined #ruby
[13:05:47] chouhoulis: has joined #ruby
[13:06:15] symm-: has joined #ruby
[13:07:10] bronson: has joined #ruby
[13:09:25] adaedra: (Lunch time)
[13:12:39] synthroid: has joined #ruby
[13:12:42] Bish: nobody wants a hug :(
[13:14:18] adgtl: has joined #ruby
[13:14:35] kmckelvi1: has joined #ruby
[13:15:42] jmignault: has joined #ruby
[13:15:43] claw: has joined #ruby
[13:15:49] devoldmx: has joined #ruby
[13:16:31] karapetyan: has joined #ruby
[13:16:40] d0nn1e: has joined #ruby
[13:16:48] nateberkope: has joined #ruby
[13:17:35] blt: has joined #ruby
[13:19:49] crdpink: has joined #ruby
[13:22:20] shanemcd: has joined #ruby
[13:22:21] cassioscabral: has joined #ruby
[13:24:55] alphaatom: has joined #ruby
[13:26:01] davedev24: has joined #ruby
[13:26:17] gusto: has joined #ruby
[13:26:50] zanzarel: has joined #ruby
[13:27:01] zanzarel: hello everyone!
[13:27:14] colegatron: has joined #ruby
[13:28:51] lubekpl: has joined #ruby
[13:32:26] jondot: has joined #ruby
[13:36:04] Scripore: has joined #ruby
[13:37:58] dotix: has joined #ruby
[13:38:24] troulouliou_div2: has joined #ruby
[13:42:39] RegulationD: has joined #ruby
[13:42:53] Kn|t3: has joined #ruby
[13:43:04] pulgolino: has joined #ruby
[13:43:17] alphaatom: has joined #ruby
[13:43:20] ponga: has joined #ruby
[13:43:44] ramfjord: has joined #ruby
[13:45:56] goodroot: has joined #ruby
[13:47:02] duckpuppy: has joined #ruby
[13:47:47] sp1rs: has joined #ruby
[13:49:01] konsolebox: has joined #ruby
[13:49:42] colegatron: has joined #ruby
[13:51:33] konsolebox: has joined #ruby
[13:53:04] the_nick_me: has joined #ruby
[13:54:25] atumzin: has joined #ruby
[13:55:22] konsolebox: has joined #ruby
[13:56:02] roshanavand: has joined #ruby
[13:57:15] sankaber: has joined #ruby
[13:57:57] sole: has joined #ruby
[13:58:18] jumpman: has joined #ruby
[13:58:31] jumpman: how do you use prototyping in ruby
[13:59:33] sole: could one please explain how to get taglib-ruby installed on windows?
[13:59:45] konsolebox: has joined #ruby
[13:59:49] jumpman: has left #ruby: ("Leaving")
[14:01:27] slact: has joined #ruby
[14:02:01] ramortegui: has joined #ruby
[14:02:27] TheBloke-: has joined #ruby
[14:02:33] nocd: has joined #ruby
[14:02:52] ibouvousaime: has joined #ruby
[14:03:33] konsolebox: has joined #ruby
[14:05:01] Kn|t3: has joined #ruby
[14:06:35] chouhoulis: has joined #ruby
[14:07:33] mdw: has joined #ruby
[14:10:06] Kn|t3: has joined #ruby
[14:11:14] jsrn: has joined #ruby
[14:12:22] blandflakes: has joined #ruby
[14:13:26] peeja: has joined #ruby
[14:14:01] ruby-lang016: I found the problm
[14:14:14] nateberkopec: has joined #ruby
[14:15:21] dseitz: has joined #ruby
[14:17:22] PedramT: has joined #ruby
[14:17:30] bithon: has joined #ruby
[14:19:06] brt: has joined #ruby
[14:20:38] armyriad: has joined #ruby
[14:20:49] blandflakes: has joined #ruby
[14:22:48] roshanav_: has joined #ruby
[14:24:54] symm-: has joined #ruby
[14:25:13] nocd: has joined #ruby
[14:26:15] jsrn: has joined #ruby
[14:27:26] Kn|t3: has joined #ruby
[14:29:33] kirun: has joined #ruby
[14:29:37] puria: has joined #ruby
[14:30:50] BTRE: has joined #ruby
[14:31:01] puria_: has joined #ruby
[14:32:25] puria_: has joined #ruby
[14:33:14] armyriad: has joined #ruby
[14:36:20] dlitvak: has joined #ruby
[14:36:45] SnowGlobe: has joined #ruby
[14:37:18] seitensei: has joined #ruby
[14:38:20] sdothum: has joined #ruby
[14:41:01] FooMunki: has joined #ruby
[14:42:19] cpup: has joined #ruby
[14:43:32] andywojo: has joined #ruby
[14:44:21] decoponio: has joined #ruby
[14:45:53] armyriad: has joined #ruby
[14:47:00] the_nic__: has joined #ruby
[14:50:55] babblebre: has joined #ruby
[14:53:25] colegatron: has joined #ruby
[14:55:47] goodroot: has joined #ruby
[14:57:06] DoubleMalt: has joined #ruby
[14:57:45] lacuna: has joined #ruby
[14:57:45] lacuna: has joined #ruby
[14:57:54] nateberkopec: has joined #ruby
[14:59:24] sankaber: has joined #ruby
[15:00:38] TheBloke: has joined #ruby
[15:05:46] BSaboia: has joined #ruby
[15:05:47] treaki: has joined #ruby
[15:06:22] Bloomer: has joined #ruby
[15:06:39] ESpiney: has joined #ruby
[15:07:19] chouhoulis: has joined #ruby
[15:07:48] agit0: has joined #ruby
[15:09:49] dfinninger: has joined #ruby
[15:10:36] mdw7: has joined #ruby
[15:13:58] FernandoBasso: has joined #ruby
[15:16:24] devoldmx: has joined #ruby
[15:18:31] djbkd: has joined #ruby
[15:18:51] nocd: has joined #ruby
[15:19:23] pawnbox: has joined #ruby
[15:20:30] shevy: no ruby release today?
[15:22:41] jottr: has joined #ruby
[15:24:04] pawnbox: has joined #ruby
[15:25:38] pawnbox: has joined #ruby
[15:29:13] Encapsulation: has joined #ruby
[15:30:00] jondot: has joined #ruby
[15:31:21] andywojo: has joined #ruby
[15:32:40] roshanavand: has joined #ruby
[15:32:56] nateberkopec: has joined #ruby
[15:33:34] roshanavand: has joined #ruby
[15:34:36] Kn|t3: has joined #ruby
[15:35:12] cornerma1: has joined #ruby
[15:35:18] nocd: has joined #ruby
[15:35:58] dlitvak: has joined #ruby
[15:36:28] the_nick_me: has joined #ruby
[15:37:43] dstarh: has joined #ruby
[15:39:45] mdw: has joined #ruby
[15:39:53] iateadonut: has joined #ruby
[15:40:48] alphaatom: has joined #ruby
[15:42:29] nickjj: has joined #ruby
[15:42:31] cassioscabral: has joined #ruby
[15:44:05] RegulationD: has joined #ruby
[15:47:13] Jardayn: has joined #ruby
[15:47:37] the_nic__: has joined #ruby
[15:47:43] ibouvousaime: has joined #ruby
[15:47:48] duckpuppy: has joined #ruby
[15:51:32] timonv: has joined #ruby
[15:53:42] pwnd_nsfw: has joined #ruby
[15:53:43] roshanav_: has joined #ruby
[15:55:38] Christmus: as far as Windows compatibility, does anyone know if this is classified as a bug or normal behaviour?
[15:55:39] Christmus: Dir.glob('C:\*') #=> [] -- Dir.glob('C:/*') #=> [ .. actual directory contents .. ]
[15:58:02] tesuji: has joined #ruby
[15:59:50] active-padawan: has joined #ruby
[15:59:54] Christmus: right, I have to escape the \ - Now I have to find out what is returning only one backslash to begin with
[16:00:02] pskosinski: Happy Koliada!
[16:00:57] active-padawan: i forked gem from github, now i need to add this local fork into my project. but file .gemspec does not exists (he is in .gitignore)
[16:00:58] shevy: Christmus I always use Dir[] rather than Dir.glob()
[16:01:13] active-padawan: how i can use it in my project without gemspec?
[16:01:19] Christmus: shevy: I tried both
[16:01:38] Christmus: shevy: I also know where the bug is coming from. I'm using ENV.fetch('APPDATA')
[16:02:49] CBke: has joined #ruby
[16:02:50] CBke: has joined #ruby
[16:03:01] themsay: has joined #ruby
[16:04:16] themsay: has joined #ruby
[16:04:48] CBke: has joined #ruby
[16:04:49] CBke: has joined #ruby
[16:05:32] smactive: has joined #ruby
[16:06:07] Christmus: Nope, this is confusing..
[16:06:33] shevy: Christmus if it is just the \ versus / part, just pass through a method that handles this for you properly
[16:07:14] shevy: my windows machine is downstairs so I can not test but from what I recall, I never had any path issues on windows, my scripts would work fine on linux and windows
[16:07:34] shevy: I think I was only using / in paths though
[16:08:04] chouhoulis: has joined #ruby
[16:08:11] shevy: in your method
[16:08:12] shevy: >> 'C:\*'.tr('\\','/')
[16:08:13] ruboto: shevy # => "C:/*" (https://eval.in/490242)
[16:08:37] cpup: has joined #ruby
[16:08:45] Christmus: shevy: I'm just curious why this is happening.
[16:08:45] Christmus: irb(main):016:0> ENV.fetch('APPDATA') => "C:\\Users\\Zarthus\\AppData\\Roaming"
[16:08:45] Christmus: irb(main):017:0> Dir[File.join(ENV.fetch('APPDATA'), '*')] => []
[16:09:01] Christmus: I can fix it by calling .gsub('\\', '/'), but I'd much rather discover why it is happening :)
[16:09:29] shevy: I would not use any of that
[16:09:37] cyfr0n1: has joined #ruby
[16:09:45] bronson: has joined #ruby
[16:10:00] shevy: does it work from irb if you use a hardcoded path?
[16:10:19] shevy: irb> Dir["C:\\Users\\Zarthus\\AppData\\Roaming\\*"]
[16:10:25] the_nick_me: has joined #ruby
[16:10:33] shevy: but it works via / ?
[16:10:43] shevy: irb> Dir["C:/Users/Zarthus/AppData/Roaming/*"]
[16:10:48] Christmus: yeah, C:/Users/Zarthus/AppData/Roaming/* works
[16:11:01] Christmus: I'm just not sure why backslashes break it.
[16:11:13] shevy: no real idea myself either, I am so used to using / :)
[16:11:29] Christmus: luckily modern windows machines have no problems with /, but it still sounds like a ruby bug
[16:11:30] Bish: what's a C:
[16:11:45] krobzaur: has joined #ruby
[16:12:08] shevy: Bish that is like / on *nix
[16:12:25] shevy: I hate having to deal with C: and D: and E: when I have mounted USB devices as well, on windows
[16:12:42] shevy: *nix is so much simpler, just relegate to where it is mounted at
[16:13:12] Bish: yeah i switched for so long, that i actually feel like "wat?" when i see it
[16:13:41] Bish: also it looks like my grandma was using the pc, when i try to use windows
[16:14:07] Christmus: My main desktop is a Windows machine, shamefully.
[16:14:23] Bish: why is that?
[16:14:32] nateberkopec: has joined #ruby
[16:14:46] Christmus: Mostly because Linux support for games is a lot shittier than Windows support for programming
[16:15:48] Bish: well i wouldn't take that comparison, but it's pretty bad yeah
[16:16:06] Bish: luckily games always worked on linux, wine for me, im not that kind of a gamer though
[16:16:14] shinnya: has joined #ruby
[16:16:15] jondot: has joined #ruby
[16:16:20] Bish: but i guess that's too offtopic
[16:16:25] Bish: either way.
[16:16:34] Christmus: I run archlinux on my laptop and have a server which mitigates some of the pain
[16:16:40] kstuart: has joined #ruby
[16:16:56] dlitvak: has joined #ruby
[16:18:16] shevy: wine works semi-ok, it's still some extra work for some games
[16:18:32] Bish: haha, "some", yeah
[16:18:43] shevy: but this is really just \\ versus / so Christmus will have that covered soon enough
[16:18:46] Bish: i worked some days to get xinput support for a game that only wants xbox gamepads
[16:18:49] CBke: has joined #ruby
[16:18:49] CBke: has joined #ruby
[16:19:08] Bish: but that pain mostly comes from microsofrt
[16:19:29] Jackneill: has joined #ruby
[16:20:33] hxegon: has joined #ruby
[16:20:44] lacuna: has joined #ruby
[16:20:45] lacuna: has joined #ruby
[16:22:45] mary5030: has joined #ruby
[16:23:59] fullofcaffeine: has joined #ruby
[16:24:31] mary5030: has joined #ruby
[16:25:44] Biohazard: has joined #ruby
[16:26:32] ibouvousaime: has joined #ruby
[16:26:47] Fridtjof: has joined #ruby
[16:30:14] roshanavand: has joined #ruby
[16:33:28] rgtk: has joined #ruby
[16:33:52] wildlander: has joined #ruby
[16:34:02] fullofcaffeine: has joined #ruby
[16:35:20] sandstrom: has joined #ruby
[16:36:04] solenoids: has joined #ruby
[16:36:09] empire: has joined #ruby
[16:36:17] lacuna: has joined #ruby
[16:36:32] synthroid: has joined #ruby
[16:36:59] wolffles: has joined #ruby
[16:37:25] rikkipitt: has joined #ruby
[16:38:15] seitensei: has joined #ruby
[16:38:23] rkazak: has joined #ruby
[16:39:42] dotix: has joined #ruby
[16:40:12] ibouvousaime: has joined #ruby
[16:46:36] houhoulis: has joined #ruby
[16:48:05] dlitvak: has joined #ruby
[16:49:24] raeoks: has joined #ruby
[16:50:30] rodfersou: has joined #ruby
[16:50:43] SamGerber: has joined #ruby
[16:51:11] shanemcd: has joined #ruby
[16:51:59] dexter-tzu: has joined #ruby
[16:53:40] cassioscabral: has joined #ruby
[16:54:36] ElFerna: has joined #ruby
[16:54:36] rgtk: has joined #ruby
[16:55:09] Fridtjof: has joined #ruby
[16:57:47] zanzarel: has left #ruby: ()
[16:58:29] blackmesa: has joined #ruby
[17:00:01] peteyg: has joined #ruby
[17:03:29] dotix: has joined #ruby
[17:08:49] chouhoulis: has joined #ruby
[17:09:11] karapetyan: has joined #ruby
[17:10:11] fullofcaffeine: has joined #ruby
[17:10:30] andywojo: has joined #ruby
[17:10:32] jgt: has joined #ruby
[17:11:41] dingman: has joined #ruby
[17:12:27] fullofcaffeine: has joined #ruby
[17:12:32] shanemcd: has joined #ruby
[17:15:04] ChameleonSix: has joined #ruby
[17:15:43] ChameleonSix: https://gist.github.com/anonymous/e599a6f612db3f299233
[17:15:50] ChameleonSix: why isnt this code working?
[17:15:58] ChameleonSix: I want to create an object
[17:16:42] gregf: has joined #ruby
[17:17:09] hagabaka: has joined #ruby
[17:17:09] DylanJ: ChameleonSix: you're trying to create an instance of the class you're defining inside the class - as you define it.
[17:17:16] devoldmx: has joined #ruby
[17:17:28] ChameleonSix: after the end?
[17:17:43] DylanJ: put your 3 lines (name =Name.new(); puts ...) after the "end" yeah
[17:17:50] DylanJ: cause it should work
[17:18:04] ChameleonSix: in the brackets?
[17:18:17] DylanJ: no i was just clarifying which 3 lines i was talking about
[17:19:33] ChameleonSix: It cant pass in the tutorial
[17:19:37] ChameleonSix: Maybe it is bugged
[17:19:56] darrentburgess: has joined #ruby
[17:20:28] ChameleonSix: Below the Name class, instantiate a new Name instance set to the variable name with any title you choose.
[17:22:18] ChameleonSix: def title return @title
[17:22:23] ChameleonSix: this isnt returing it
[17:22:29] ChameleonSix: do you know why?
[17:23:48] ChameleonSix: I have figured something out
[17:24:12] ChameleonSix: anyway what does @title = title mean
[17:24:18] shapeshifter: has joined #ruby
[17:24:19] ChameleonSix: that i can use it outside?
[17:24:37] shapeshifter: has left #ruby: ()
[17:25:19] akem: has joined #ruby
[17:27:39] akem: has joined #ruby
[17:27:41] hxegon: ChameleonSix think before you hit enter please.
[17:28:00] hxegon: thanks :D
[17:28:06] ChameleonSix: Im sorry i am new to ruby
[17:28:44] hxegon: it's not your ruby knowledge that's a problem, it's your irc etiquette
[17:28:55] mdw: has joined #ruby
[17:29:08] hxegon: fix that and there is no limit to how far you can go
[17:29:18] sorbo_: has joined #ruby
[17:29:32] shanemcd: has joined #ruby
[17:30:29] CBke: has joined #ruby
[17:30:36] SnowGlobe: has joined #ruby
[17:31:08] ChameleonSix: Is treehouse a good learning source?
[17:31:41] ico: has joined #ruby
[17:32:03] dionysus69: has joined #ruby
[17:32:42] dingman: Can anyone tell me why the method in https://eval.in/490270 keeps hanging at random places?
[17:33:32] duckpuppy: has joined #ruby
[17:33:55] PedramT: has joined #ruby
[17:34:28] darrenbu_: has joined #ruby
[17:35:04] shevy: so what is CryptoString
[17:35:25] dingman: CryptoString is a string with ^ defined as bitwise xor
[17:35:48] dingman: I can paste that, too, but it's long and the loop hangs even with it commented out.
[17:36:11] sorbo_: has left #ruby: ()
[17:36:12] SnowGlobe: has joined #ruby
[17:36:50] shevy: can't see what should hang where exactly, you may have to continue to play with it and try to find the minimal amount of code that could show the hang-behaviour
[17:37:18] shevy: there is one strange thing in your clause
[17:37:20] ChameleonSix: ** is exponent?
[17:37:25] ChameleonSix: What does ^ mean
[17:37:25] darrenbu1gess: has joined #ruby
[17:37:35] shevy: you count up brute += 1 in only one branch
[17:38:06] shevy: ChameleonSix, http://www.calleerlandsson.com/2014/02/06/rubys-bitwise-operators/
[17:38:55] dingman: shevy, thanks. That would explain it!
[17:39:06] ledestin: has joined #ruby
[17:39:07] shevy: ChameleonSix you speak german?
[17:39:10] dingman: I needed another set of eyes. I've been looking at it too long!
[17:40:17] ChameleonSix: You are from Germany i guess
[17:40:38] aryaching: has joined #ruby
[17:40:54] shevy: everyone who speaks english is from the USA i guess
[17:42:00] darrenbu_: has joined #ruby
[17:42:48] ChameleonSix: You didnt guess
[17:43:08] jondot: has joined #ruby
[17:43:25] hxegon: [irony intensifies]
[17:43:55] shevy: hxegon when I read your nick I always think of ... hexagon
[17:44:10] hxegon: shevy that's intended :)
[17:44:18] ChameleonSix: how does 8.to_s(2) return '1000'
[17:44:28] hxegon: I got this
[17:44:38] twe4ked: has joined #ruby
[17:44:51] dorei: ChameleonSix: 1000 in binary, is 8 in decimal
[17:44:52] sankaber: has joined #ruby
[17:44:53] hxegon: ChameleonSix to_s with an integer argument returns that integer in a different base
[17:44:56] RegulationD: has joined #ruby
[17:45:02] hxegon: 8 = 1000 in binary
[17:45:11] ChameleonSix: I just realised
[17:45:16] dtordable: has joined #ruby
[17:45:52] ur5us: has joined #ruby
[17:46:11] dlitvak: has joined #ruby
[17:46:51] shevy: bitwise operations are not too trivial a thing compared to other operations like 2 ** 3
[17:47:29] cpup: has joined #ruby
[17:49:14] Papierkorb: Just write some numbers down and apply bitwise operations on them. That's 101 computer knowledge for a programmer.
[17:49:27] fullofcaffeine: has joined #ruby
[17:50:08] bronson: has joined #ruby
[17:50:15] ryez: has joined #ruby
[17:50:22] nateberkopec: has joined #ruby
[17:51:23] SegFaultAX: has joined #ruby
[17:51:54] eggoez: has joined #ruby
[17:52:00] akem: has joined #ruby
[17:52:20] fullofcaffeine: has joined #ruby
[17:52:39] dtordable: Hello ladies and gentleman
[17:52:57] techietrash: has joined #ruby
[17:52:58] techietrash: has joined #ruby
[17:53:53] dtordable: Is it the guide of Ruby that includes foxes pictures a good way to learn ruby?
[17:55:40] nocd: has joined #ruby
[17:55:46] dlitvak: has joined #ruby
[17:56:17] hxegon: dtordable I think you're talking about _why's poignant guide to ruby
[17:57:10] shevy: that's like 10 years ago dtordable!
[17:57:12] hxegon: somebody called me sir, guyz adulthood is happening wut do I do
[17:58:15] djbkd: has joined #ruby
[17:58:50] dtordable: shevy don't serve for nowadays ruby?
[17:59:16] shevy: hmm the changelog was chopped recently https://github.com/ruby/ruby/blob/trunk/ChangeLog
[17:59:28] shevy: dtordable dunno, so many things have changed
[17:59:32] RealMarc: has joined #ruby
[17:59:40] shevy: dtordable the guide is always good to watch the foxes
[17:59:51] dtordable: Ah... Ok, ok...
[18:00:37] ChameleonSix: I have done some research and i cant find the answer
[18:00:47] ChameleonSix: How do i make a cpu temp reading program in ruby
[18:01:38] dtordable: shevy so what do I do then?
[18:02:14] shevy: dtordable you have programmed before?
[18:02:24] dr3w: has joined #ruby
[18:02:41] dtordable: Yeah, shevy, a bit...
[18:02:54] Papierkorb: nothing above a hello world i gues
[18:03:30] shevy: dtordable you can work through https://pine.fm/LearnToProgram/chap_01.html but it's also quite old... I think the best way is to just dive into coding
[18:03:36] dtordable: No, no, higher than that!
[18:05:40] dtordable: There's a documentation section on the web of topic...
[18:07:43] ElFerna: has joined #ruby
[18:07:58] shevy: write as much code as you can
[18:08:20] Puffball: has joined #ruby
[18:08:33] dlitvak: has joined #ruby
[18:09:04] ChameleonSix: Im understanding ruby
[18:09:16] ChameleonSix: I cant understand how to call other programs with it
[18:09:20] ChameleonSix: like notepad or cmd
[18:09:24] dtordable: Thanks shevy, a lot
[18:09:36] chouhoulis: has joined #ruby
[18:10:41] shevy: ChameleonSix you asked the same thing weeks ago
[18:10:50] ChameleonSix: I still didnt find it
[18:10:55] shevy: the answer still is: system 'name' or resut = `name` or open/popen
[18:10:56] ChameleonSix: you have a good memory
[18:11:13] jaequery: has joined #ruby
[18:11:16] ryez: has joined #ruby
[18:11:20] shevy: here is a longer explanation: http://stackoverflow.com/questions/690151/getting-output-of-system-calls-in-ruby
[18:11:21] ChameleonSix: thanks for telling me
[18:12:31] shevy: will you read it :)
[18:12:50] shevy: open3 is quite complicated, system and `` are much easier
[18:12:56] ChameleonSix: omg you are a fucking genius
[18:13:00] ChameleonSix: Thanks really
[18:13:14] ChameleonSix: You have opened something in my mind
[18:13:39] ChameleonSix: x is the terminal command
[18:14:04] shevy: will you ask the same question in 3 weeks :P
[18:14:12] Papierkorb: ChameleonSix: http://ruby-doc.org/core-2.2.2/Kernel.html#method-i-system
[18:14:15] ChameleonSix: i never got this answe before
[18:14:25] Papierkorb: (Or, ???RTFM???)
[18:14:51] shevy: I don't remember what the answers were back then
[18:15:08] ChameleonSix: the answers were ban
[18:15:26] dlitvak_: has joined #ruby
[18:15:39] SamGerber: has joined #ruby
[18:15:57] ChameleonSix: system('sensible-browser')
[18:16:02] ChameleonSix: opens the browser
[18:16:09] ChameleonSix: This is amazing
[18:16:24] shevy: if you have firefox you can open in a tab from the commandline
[18:16:53] shevy: I use this with aliases, so typing "rubylogs" opens up the page for the ruby changelog https://github.com/ruby/ruby/blob/trunk/ChangeLog
[18:17:01] norc: has joined #ruby
[18:17:03] greg: has joined #ruby
[18:17:33] iamnix: has joined #ruby
[18:18:09] hectortrope: has joined #ruby
[18:19:07] cpup: has joined #ruby
[18:19:14] agit0: has joined #ruby
[18:19:16] sorbo_: has joined #ruby
[18:20:22] jgt: has joined #ruby
[18:20:32] ChameleonSix: code for viewing cpu temp is written in 2 lines
[18:20:39] ChameleonSix: thanks for helping me
[18:22:47] dfinninger: has joined #ruby
[18:23:40] jaequery: has joined #ruby
[18:23:51] ChameleonSix: the only way to interact with other programs is using terminal
[18:24:26] benhuda: has joined #ruby
[18:25:05] Hanmac: has joined #ruby
[18:25:11] shevy: you could make requests via a webserver too
[18:25:21] shevy: or write a GUI
[18:25:28] shevy: but really, the terminal is like the simplest start point
[18:25:32] ChameleonSix: wirte my own gui using ruby?
[18:25:40] ChameleonSix: how do i input pictures
[18:25:43] shevy: you can use bindings
[18:25:53] shevy: like ruby-gnome; it has some class that does this, GdkPixbuf or something
[18:26:03] ChameleonSix: i first need to fully learn ruby
[18:26:09] ChameleonSix: treehouse is the good source
[18:26:11] shevy: that would be a good idea
[18:26:15] ChameleonSix: I got a few hours of tutorials left
[18:26:18] shevy: I have no idea
[18:26:20] ChameleonSix: like booleans and blocks
[18:26:23] shevy: just work through everything you can find
[18:27:45] ChameleonSix: cmd for ninjas
[18:29:01] fullofcaffeine: has joined #ruby
[18:30:27] ChameleonSix: Im feel like a terminal ninja
[18:31:29] sankaber: has joined #ruby
[18:35:05] fullofcaffeine: has joined #ruby
[18:35:10] jaequery: has joined #ruby
[18:35:24] perturbation: has joined #ruby
[18:36:20] goodroot: has joined #ruby
[18:36:57] ibouvousaime: has joined #ruby
[18:37:43] ElFerna: has joined #ruby
[18:39:06] seitensei: has joined #ruby
[18:40:36] Brackson: has joined #ruby
[18:44:22] jaequery: has joined #ruby
[18:46:53] cpup: has joined #ruby
[18:47:54] Scripore: has joined #ruby
[18:50:51] Trynemjoel: has joined #ruby
[18:50:55] jaequery: has joined #ruby
[18:52:20] cpup: has joined #ruby
[18:57:12] programmerq: has joined #ruby
[18:59:03] cyrus_mc: has joined #ruby
[18:59:36] cyrus_mc: Have the following snippet of code : https://gist.github.com/anonymous/6e643242146cc646d12b - basically I am trying to strip off the end of the path (which happens to be a git repository)
[19:00:07] shevy: and what is the string specifically there
[19:00:22] cyrus_mc: line 3 works if I specify the string directly in .match. However if I use variable current_dir which is set to Dir.pwd (current directory)
[19:00:24] cyrus_mc: it returns nil
[19:00:39] shevy: so what string does Dir.pwd yield
[19:00:57] bradleyprice: has joined #ruby
[19:01:09] cyrus_mc: shevy: if I output current_dir it prints /var/opt/gitlab/git-data/repositories/vcc-ops/testing.git/custom_hooks
[19:01:25] cyrus_mc: but if I type that literal into the 3rd line it works, but if I try to use the variable it retunrs nil
[19:01:42] Hammy_Work: has joined #ruby
[19:01:57] zast: has joined #ruby
[19:03:04] shevy: I don't understand your code at https://gist.github.com/anonymous/6e643242146cc646d12b
[19:03:23] PedramT: has joined #ruby
[19:03:31] shevy: you assign to a variable called
[19:03:32] cyrus_mc: shevy: All I am trying to do, is determine the current directory. So current_dir = Dir.pwd
[19:03:37] shevy: current_dir
[19:03:41] shevy: and then you do what with this variable?
[19:03:51] shevy: also your regex does not work
[19:03:54] shevy: >> '/var/opt/gitlab/git-data/repositories/vcc-ops/testing.git/custom_hooks'[/([^\/]*?)\.git$/]
[19:03:55] ruboto: shevy # => nil (https://eval.in/490445)
[19:04:12] benhuda: has joined #ruby
[19:04:35] cyrus_mc: shevy: if you run this repository = /([^\/]*?)\.git$/.match('/directory/testing.git') and then output repository
[19:04:40] cyrus_mc: it returns testing.git
[19:04:51] cyrus_mc: so the regex matches the end of the string (testing.git)
[19:04:59] shevy: it returns a MatchData object
[19:05:17] shevy: and you still haven't said what you do with current_dir variable :)
[19:06:08] cyrus_mc: shevy: if I run what I showed about and print out repository I get testing.git, so from what I see the above regex strips off the edning of the path
[19:06:35] diegoviola: has joined #ruby
[19:06:41] diegoviola: where is our ruby 2.3?
[19:06:51] diegoviola: it's xmas already in .jp
[19:07:04] slact: happy life day everybody!
[19:07:17] shevy: I have no idea what you are doing there cyrus_mc, what you write, and what your code shows, does not seem to align. At any rate, chopping off parts from a string works fine:
[19:07:19] shevy: >> "/var/opt/gitlab/git-data/repositories/vcc-ops/testing.git/custom_hooks".gsub(/testing.git.+/,'')
[19:07:20] ruboto: shevy # => "/var/opt/gitlab/git-data/repositories/vcc-ops/" (https://eval.in/490449)
[19:07:21] cyrus_mc: shevy: but assuming that regex works as I thin it is, I just want to perform that regex on the value of current_dir
[19:07:48] cpup: has joined #ruby
[19:07:50] cyrus_mc: shevy: .. ok let me what you put above
[19:08:11] shevy: you can fine tune the regex probably
[19:08:57] fullofcaffeine: has joined #ruby
[19:09:51] PedramT: has joined #ruby
[19:10:20] chouhoulis: has joined #ruby
[19:11:06] dlitvak: has joined #ruby
[19:11:32] sivoais: has joined #ruby
[19:12:12] brt: has joined #ruby
[19:12:28] JHCShGVgFV: has joined #ruby
[19:14:52] kadoppe: has joined #ruby
[19:16:35] lacuna: has joined #ruby
[19:16:35] lacuna: has joined #ruby
[19:18:06] devoldmx: has joined #ruby
[19:18:31] blackmesa: has joined #ruby
[19:18:47] peeja: has joined #ruby
[19:19:14] nateberkopec: has joined #ruby
[19:19:16] nonopposition: has joined #ruby
[19:21:46] SamGerber: has joined #ruby
[19:22:33] sivoais: has joined #ruby
[19:25:49] wolffles: has joined #ruby
[19:26:14] growman: has joined #ruby
[19:27:33] Uranio: has joined #ruby
[19:29:15] dotix: has joined #ruby
[19:29:22] dotix: has joined #ruby
[19:34:17] duckpuppy: has joined #ruby
[19:34:25] icbm: has joined #ruby
[19:35:19] jackjackdripper: has joined #ruby
[19:35:20] peeja: has joined #ruby
[19:35:24] sivoais: has joined #ruby
[19:36:13] roshanav_: has joined #ruby
[19:36:39] drptbl: has joined #ruby
[19:38:43] PaulNz: has joined #ruby
[19:40:01] cpup: has joined #ruby
[19:40:03] cassioscabral: has joined #ruby
[19:40:10] darrenburgess: has joined #ruby
[19:40:23] yardenbar: has joined #ruby
[19:40:43] nixmaniack: has joined #ruby
[19:40:43] nixmaniack: has joined #ruby
[19:40:50] rubyonrails441: has joined #ruby
[19:41:56] agit0: has joined #ruby
[19:42:04] nocd: has joined #ruby
[19:42:11] astrobunny: has joined #ruby
[19:42:35] rickmasta: has joined #ruby
[19:44:20] DoubleMalt: has joined #ruby
[19:44:35] dlitvak: has joined #ruby
[19:45:25] sivoais: has joined #ruby
[19:45:26] sandstrom: has joined #ruby
[19:45:35] Scripore: has joined #ruby
[19:45:45] pawnbox: has joined #ruby
[19:45:45] RegulationD: has joined #ruby
[19:47:36] jcdesimp: has joined #ruby
[19:48:19] drptbl: has joined #ruby
[19:48:20] n1x: has joined #ruby
[19:48:20] n1x: has joined #ruby
[19:51:53] dfinninger: has joined #ruby
[19:52:23] ramfjord: has joined #ruby
[19:54:28] sorbo_: has joined #ruby
[19:55:26] sivoais: has joined #ruby
[19:56:23] futilegames: has joined #ruby
[19:56:53] Coldblackice: has joined #ruby
[19:57:15] nertzy: has joined #ruby
[19:57:30] Ox0dea: has joined #ruby
[19:58:21] Jackneill: has joined #ruby
[19:58:59] roshanavand: has joined #ruby
[20:00:47] nixmaniack: has joined #ruby
[20:00:48] nixmaniack: has joined #ruby
[20:01:37] hxegon: has joined #ruby
[20:05:35] sivoais: has joined #ruby
[20:05:48] mgorbach: has joined #ruby
[20:07:02] dlitvak: has joined #ruby
[20:07:25] vikaton: has joined #ruby
[20:08:00] Hanmac: hey shevy
[20:08:05] shevy: yo hanmac
[20:08:09] shevy: did you get some presents?
[20:08:18] Hanmac: shevy try to find the cat on this image: http://hanmac.deviantart.com/art/Cat-Black-Hole-579975802
[20:09:07] hxegon: my cat does that too. the secret is realizing shadows have gradients and black cats don't
[20:10:13] lacuna: has joined #ruby
[20:10:34] Hanmac: hxegon: my one does like to lie on the black leather jacket of my mother ... without touching you cant find the cat ;P
[20:10:43] shevy: dunno... silhouette in the basket?
[20:11:05] chouhoulis: has joined #ruby
[20:11:13] nixmaniack: has joined #ruby
[20:11:52] Hanmac: shevy the black cat does fill the basket a whole ;P he only does hide his head
[20:11:59] darrenbu_: has joined #ruby
[20:12:16] Ox0dea: hanmac: Is that a ring of candles?
[20:12:36] Hanmac: Ox0dea: yes it is, we use it at birthdays
[20:12:59] Ox0dea: hanmac: For sacrifices?
[20:13:20] Hanmac: xD no for showing the age of the birthday child
[20:13:32] jaequery: has joined #ruby
[20:13:36] ^CrYpto^: has joined #ruby
[20:15:25] sivoais: has joined #ruby
[20:15:41] lacuna: has joined #ruby
[20:17:09] hxegon: Ox0dea slow down vault overseer
[20:17:56] ^CrYpto^: is there any way to help memorize the ruby lang?
[20:18:09] djbkd: has joined #ruby
[20:18:27] ^CrYpto^: i started reading the book, and it seems ok but trying to remember each bit of code is a little harder than i thought
[20:18:56] jbrhbr: has joined #ruby
[20:19:32] shevy: write down memorable things into a file
[20:19:34] shevy: the learn that file
[20:20:11] shevy: you actually don't need to memorize anything really, the common operations will become logical very quickly, and if not, you can always extend class String etc.. to the way how you want to use existing code means anyway
[20:20:44] PaulNz: has left #ruby: ()
[20:21:53] yfeldblum: has joined #ruby
[20:22:08] cpup: has joined #ruby
[20:22:47] n1x: has joined #ruby
[20:25:27] sivoais: has joined #ruby
[20:25:56] andywojo: has joined #ruby
[20:26:36] tectonic: has joined #ruby
[20:26:39] valetudo: has joined #ruby
[20:27:55] Ox0dea: ^CrYpto^: Do the Koans.
[20:29:24] Ox0dea: hxegon: Hm?
[20:32:24] bronson: has joined #ruby
[20:32:53] fullofcaffeine: has joined #ruby
[20:33:32] dlitvak_: has joined #ruby
[20:33:56] nixmaniack: has joined #ruby
[20:34:31] agent_white: has joined #ruby
[20:34:36] pawnbox: has joined #ruby
[20:35:06] xcesariox: has joined #ruby
[20:35:26] sivoais: has joined #ruby
[20:36:33] fullofcaffeine: has joined #ruby
[20:36:48] weemsledeux: has joined #ruby
[20:38:10] cpup: has joined #ruby
[20:38:53] nocd: has joined #ruby
[20:39:26] CoderPuppy: has joined #ruby
[20:40:04] h99h9h88: has joined #ruby
[20:41:08] rakm: has joined #ruby
[20:41:59] sorbo_: has left #ruby: ()
[20:44:28] DoubleMalt: has joined #ruby
[20:45:04] nixmaniack: has joined #ruby
[20:45:04] nixmaniack: has joined #ruby
[20:46:37] colegatron: has joined #ruby
[20:46:38] shevy: wheee https://github.com/ruby/ruby/blob/trunk/NEWS
[20:46:57] h99h9h88: has joined #ruby
[20:47:39] Ox0dea: It's today, it's today!
[20:49:49] devbug: has joined #ruby
[20:50:09] SnowGlobe: has joined #ruby
[20:58:17] SamGerber: has joined #ruby
[20:58:24] hagabaka: has joined #ruby
[20:59:14] n_blownapart: has joined #ruby
[21:00:14] CBke: has joined #ruby
[21:00:14] CBke: has joined #ruby
[21:03:11] roshanavand: has joined #ruby
[21:04:21] nixmaniack: has joined #ruby
[21:04:22] nixmaniack: has joined #ruby
[21:05:59] jcdesimp_: has joined #ruby
[21:06:32] solenoids: has joined #ruby
[21:07:32] cpup: has joined #ruby
[21:09:13] perturbation: has joined #ruby
[21:10:32] blaxter: has joined #ruby
[21:11:47] chouhoulis: has joined #ruby
[21:14:52] n1x: has joined #ruby
[21:14:53] n1x: has joined #ruby
[21:15:48] Scripore: has joined #ruby
[21:15:51] Atomic_Dz4vo: has joined #ruby
[21:17:44] fullofcaffeine: has joined #ruby
[21:18:36] yqt: has joined #ruby
[21:18:51] devoldmx: has joined #ruby
[21:19:36] Puffball_: has joined #ruby
[21:21:56] bronson: has joined #ruby
[21:24:24] pawnbox: has joined #ruby
[21:27:37] roshanavand: has joined #ruby
[21:30:40] ferr: has joined #ruby
[21:32:25] shevy: catsmas lol what a nick
[21:32:45] catsmas: merry catsmas :D
[21:32:53] Ox0dea: catsmas: Are you cats other days?
[21:32:59] catsmas: most of the time
[21:33:30] catsmas: what do you mean how? :P
[21:34:23] Ox0dea: How can you be cats?
[21:35:03] duckpuppy: has joined #ruby
[21:35:28] catsmas: because I have the nick grouped?
[21:35:44] Ox0dea: But there's more than one!
[21:36:03] Ox0dea: How is one person be several cat?
[21:36:27] catsmas: conjoined twin cats? idk if that even exists
[21:38:07] shevy: I am sure there are
[21:38:40] pwnd_nsfw: has joined #ruby
[21:39:25] Ox0dea: Found one! http://i.imgur.com/rOnHJhO.jpg
[21:39:30] Ox0dea: They called it a monster. :<
[21:42:42] shevy: well the rest has to be duplicated too!
[21:43:33] sandstrom: has joined #ruby
[21:46:28] RegulationD: has joined #ruby
[21:46:52] seitensei: has joined #ruby
[21:46:56] seitensei: has joined #ruby
[21:47:25] dlitvak: has joined #ruby
[21:47:34] darrenburgess: has joined #ruby
[21:47:51] codecop: has joined #ruby
[21:51:53] nixmaniack: has joined #ruby
[21:52:07] VeryBewitching: has joined #ruby
[21:53:33] nocd: has joined #ruby
[21:54:10] n_blownapart: has joined #ruby
[21:55:20] ChameleonSix: has joined #ruby
[21:55:23] ChameleonSix: Hello why isnt this working
[21:55:24] ChameleonSix: https://gist.github.com/anonymous/438d880588ce99ae0850
[21:55:52] ChameleonSix: i cant seem to find out
[21:58:16] blackmesa: has joined #ruby
[21:58:30] Dimik: has joined #ruby
[21:59:08] Ox0dea: ChameleonSix: `a` isn't visible anywhere but at the top level.
[22:00:05] ur5us: has joined #ruby
[22:00:30] VeryBewitching: Can you assign an instance variable like that? @hi = puts 'Hi!'
[22:00:45] Ox0dea: It's just receiving `nil`, though.
[22:01:13] VeryBewitching: Well, ya, I guess what I meant to ask is why would you ever do it?
[22:01:24] ChameleonSix: `final': undefined method `+' for nil:NilClass (NoMethodError)
[22:01:47] rubynoobie: has joined #ruby
[22:01:48] ChameleonSix: global value you can
[22:02:11] Ox0dea: ChameleonSix: The problem there is that #initialize is returning `nil`, which has no #+ method.
[22:02:29] Ox0dea: You probably want `self.class.new`.
[22:02:29] PaulCapestany: has joined #ruby
[22:03:14] ChameleonSix: what does that do
[22:03:14] symm-_: has joined #ruby
[22:03:21] Ox0dea: Everything and nothing.
[22:03:56] ChameleonSix: code isnt working
[22:04:47] shevy: VeryBewitching if it returns nil then it may be useless, and ideally, you can decouple this anyway, such as if you use a method to do it for you
[22:05:07] Ox0dea: ChameleonSix: It's not entirely clear what exactly you're going for here.
[22:05:16] ss_much: has joined #ruby
[22:05:27] ChameleonSix: The program should say hi
[22:05:35] nietzschette: has joined #ruby
[22:05:42] nietzschette: has left #ruby: ()
[22:05:50] CloCkWeRX: has joined #ruby
[22:05:59] ChameleonSix: It can be easily done using #x
[22:06:21] Ox0dea: You must construct additional GreeterFactoryBeans.
[22:08:51] last_staff: has joined #ruby
[22:09:31] fullofcaffeine: has joined #ruby
[22:11:14] VeryBewitching: shevy: I guess I'd have to see a practical use case of doing it.
[22:11:38] VeryBewitching: And woot, just renewed RubyMine, JetBrains is having a 40% off sale.
[22:12:35] chouhoulis: has joined #ruby
[22:13:42] roshanavand: has joined #ruby
[22:13:51] dlitvak_: has joined #ruby
[22:14:28] shevy: yeah well
[22:14:37] shevy: usually you initialize @vars to some value anyway
[22:14:50] shevy: often nil, sometimes perhaps a file path like to Dir.pwd
[22:15:21] last_staff: has joined #ruby
[22:15:36] framling_: has joined #ruby
[22:16:14] shevy: so when you have code like: @hi = puts 'Hi!', or let's say @foo = some_method('hello world') then it's kinda ... not too overly useful to return a nil there, if @foo already was nil before. unless you need to keep track of some nil value specifically... but I rarely have this ever, either it is a boolean or some string or array or hash
[22:17:15] sigurding: has joined #ruby
[22:20:26] ElFerna: has joined #ruby
[22:21:01] themsay: has joined #ruby
[22:22:35] Azure: has joined #ruby
[22:23:10] Ox0dea: `@foo &&= bar` is "good" for preserving nils.
[22:23:36] SamGerber: has joined #ruby
[22:23:59] condimentalphysi: has joined #ruby
[22:24:30] quesker_: has left #ruby: ()
[22:24:31] ChameleonSix: has joined #ruby
[22:24:47] condimentalphysi: i've been stuck on this thing for an hour now. let's say that I need to solve for a 3 digit code that only has numbers from 0 - 9. how do I write the loop/recursion to get it to plug it appropriately?
[22:24:47] ChameleonSix: https://gist.github.com/anonymous/cf69c543a069c330d00e
[22:24:54] condimentalphysi: like.. 0 0 1 0 0 2
[22:24:56] ChameleonSix: Why the hell isnt this working
[22:25:03] ChameleonSix: please help me
[22:25:30] Papierkorb: ChameleonSix: no one knows what's wrong. you have to describe it.
[22:25:37] ChameleonSix: https://gist.github.com/anonymous/cf69c543a069c330d00e
[22:25:56] Papierkorb: Ok, not gonna waste my time on this one
[22:26:01] condimentalphysi: has left #ruby: ()
[22:26:29] Papierkorb: "It's broken" "what's broken?" "See for yourself"
[22:26:34] Papierkorb: Are you paying me?
[22:26:52] ChameleonSix: I dont see where is the problem
[22:26:59] Ox0dea: ChameleonSix: #initialize is not arbitrary.
[22:27:04] Papierkorb: Me neither. So no problem. Awesome.
[22:27:19] Ox0dea: Did I say "arbitary"?
[22:27:44] ChameleonSix: what does that mean
[22:27:47] Ox0dea: I have no idea.
[22:27:55] Ox0dea: There is still no way to check in 2015.
[22:28:24] Ox0dea: Why did you call the method #start?
[22:28:27] ChameleonSix: how do i fix it
[22:28:41] ChameleonSix: Should i remove it
[22:28:47] Ox0dea: You should call it #initialize.
[22:28:52] ChameleonSix: i mean i saw that in some tutorial
[22:28:57] Ox0dea: Saw what?
[22:29:35] ChameleonSix: omg you are a geniuis
[22:31:27] Ox0dea: That's either a troll or a twelve-year-old.
[22:31:41] CBke: has joined #ruby
[22:31:49] nixmaniack: has joined #ruby
[22:31:56] CBke: has joined #ruby
[22:31:56] nixmaniack: has joined #ruby
[22:32:27] shevy: could be both
[22:33:12] Trynemjoel: has joined #ruby
[22:33:25] Papierkorb: I guess the latter
[22:33:45] dlitvak: has joined #ruby
[22:35:23] dfinninger: has joined #ruby
[22:35:36] valetudo: has joined #ruby
[22:39:09] CBke: has joined #ruby
[22:39:10] CBke: has joined #ruby
[22:39:17] nocd: has joined #ruby
[22:39:56] eam: are there any 12 year olds that aren't
[22:40:43] [gmi]: has joined #ruby
[22:42:29] nixmaniack: has joined #ruby
[22:42:29] nixmaniack: has joined #ruby
[22:43:12] bkxd: has joined #ruby
[22:43:40] PaulCapestany: has joined #ruby
[22:44:25] vdamewood: has joined #ruby
[22:45:20] zenlot4: has joined #ruby
[22:45:50] DLSteve: has joined #ruby
[22:46:35] yfeldblum: has joined #ruby
[22:46:41] Jardayn: has joined #ruby
[22:47:08] cassioscabral: has joined #ruby
[22:48:22] crdpink: has joined #ruby
[22:48:31] Puffball: has joined #ruby
[22:48:40] VeryBewitching: shevy: (sorry, had stepped away for coffee and was waylaid by Christmas cheer) I usually initialize variables to an empty type, don't usually assign nil, but will return it sometimes from a method.
[22:52:20] nateberkopec: has joined #ruby
[22:52:29] Puffball_: has joined #ruby
[22:53:09] thejamespinto: has joined #ruby
[22:54:16] shevy: very strange
[22:55:21] n1x: has joined #ruby
[22:55:22] n1x: has joined #ruby
[22:55:57] Ox0dea: VeryBewitching: Coffee on Christmas Eve? Are you a nun?
[22:56:15] VeryBewitching: Ox0dea: Bailey's my friend, it's all about the Bailey's
[22:56:18] Puffball_: has joined #ruby
[22:56:28] dorei: coffee is the best drug <3
[22:56:38] Ox0dea: VeryBewitching: Motion rescinded. Praised be.
[22:56:41] VeryBewitching: dorei: I agree to a point.
[22:56:56] wolffles: life is a drug od on it
[22:57:04] VeryBewitching: Gabapentin lets me get up and move around every day, so I kinda have my vote there.
[22:58:05] Ox0dea: Gabapentin ingredients: GabeN x 5
[22:58:29] wolffles: i like the feels of endorphins when you work out
[22:58:38] shevy: you just make me hungry
[22:58:39] wolffles: suppp shevy
[22:58:53] wolffles: lol im hungry myself, always am
[22:58:58] wolffles: im also always thirsty
[22:59:00] Ox0dea: wolffles: You get an endorphin rush from watching us work out?
[22:59:11] wolffles: yes that too
[22:59:27] wolffles: wait your a girl right
[22:59:29] tectonic: has joined #ruby
[22:59:35] Ox0dea: Is this still the Internet?
[23:00:26] shevy: he has a girly side, no doubt about it
[23:00:38] Ox0dea: shevy: I see you remember the unicorn?
[23:00:43] weemsledeux: has joined #ruby
[23:01:04] shevy: I have only nightmares about unicorns
[23:01:16] shevy: I was scared to no ends in the movie the last unicorn... the bull scared me
[23:01:31] wolffles: unicorns are very phallic i wonder if little girls know that
[23:01:43] Jardayn_two: has joined #ruby
[23:01:52] shevy: talking about drugs... those ponicorns always seemed to psychedelic
[23:02:12] VeryBewitching: I live with chronic pain, gabapentin is responsible for daily happiness potential.
[23:02:30] Ox0dea: Copious amounts of GabeN heals all wounds.
[23:03:05] Ox0dea: wolffles: Are you implying that's why little girls like unicorns?
[23:03:10] wolffles: i didnt know what ponicorn was so i googled it. got this https://www.youtube.com/watch?v=O2D-ZVKU4i4
[23:03:22] VeryBewitching: Ox0dea: You a Newell fan?
[23:03:23] peeja: has joined #ruby
[23:03:30] Ox0dea: Not really.
[23:04:22] dlitvak: has joined #ruby
[23:04:39] wolffles: and Ox0dea im assuming its some innate drive for little girls to ride phallic beasts
[23:04:54] shevy: wolffles lol the music...
[23:05:20] Ox0dea: wolffles: Wew lad.
[23:05:54] VeryBewitching: Let's not make any suggestions of preteens and anything phallic please.
[23:06:00] shevy: if you want to up the ante for psychedelic trips, listen to https://www.youtube.com/watch?v=O_AdYv8gYDw ... but better don't
[23:06:01] knoxy: has joined #ruby
[23:06:25] VeryBewitching: shevy: That's immediately frightening.
[23:06:57] shevy: VeryBewitching haha
[23:07:12] wolffles: lol shevy im bumping the beats!
[23:07:12] shevy: the japanese are weird but genius
[23:07:38] wolffles: quick weirdest japanese invention you can think of or find
[23:07:42] Ox0dea: s/but/and/
[23:07:50] shevy: wolffles there was once a show about this
[23:08:02] shevy: I don't remember all examples, but one was toilet paper on the head as part of a hat
[23:08:12] wolffles: theres a whole youtube series regarding it
[23:08:14] kobain: has joined #ruby
[23:08:18] nixmaniack: has joined #ruby
[23:08:19] nixmaniack: has joined #ruby
[23:08:41] shevy: there were some inventors who deliberately made such inventions... in particular, when they would be *almost* useful but not quite so
[23:08:41] nfk: has joined #ruby
[23:08:45] pontiki: oops: https://pbs.twimg.com/media/CXACvqdWAAAcXcl.jpg:large
[23:09:26] Ox0dea: Is that Mightyena and Beartic?
[23:09:39] wolffles: http://www.dailyonigiri.com/2010/01/weird-japanese-inventions/ the rain water device has potential
[23:09:44] shevy: pontiki so cruel!
[23:10:19] shevy: wolffles lol ... "shoe protectors for rain"
[23:11:46] nfk: look at what i coded for Gentoo: https://paste.kde.org/prbbg6hjy/fglhg0
[23:12:11] nfk: feel free to yell at me in a constructive way
[23:12:23] shevy: puts "No packges
[23:12:25] Gnut: has joined #ruby
[23:12:46] shevy: I would put this into a class
[23:12:46] nfk: wow, that was quick and well spotted, thanks
[23:12:56] nfk: it's a stand alone script in my ~/.bin/
[23:13:04] nfk: just finished it like 10 minutes ago
[23:13:20] chouhoulis: has joined #ruby
[23:13:22] shevy: I dunno, I like to have code in classes, then be able to re-use them whenever I need to
[23:13:30] dfinninger: has joined #ruby
[23:13:35] shevy: for your small script there it may not be important
[23:14:15] Ox0dea: nfk: Why hide it?
[23:14:41] nfk: hide what?
[23:15:05] Ox0dea: Your utilities directory.
[23:15:28] nfk: oh, i just don't like seeing it during normal use
[23:15:29] davedev24: has joined #ruby
[23:15:33] Ox0dea: How come?
[23:15:41] nfk: just preference
[23:15:48] Ox0dea: I don't understand.
[23:15:58] tamouse__: you don't understand preference?
[23:16:14] Ox0dea: I don't understand not being able to explain one's preferences.
[23:16:23] Ox0dea: It's not as if they're random?
[23:16:44] tamouse__: they're emotional; any reasoning about them is post hoc and merely justifying those emotions :)
[23:17:07] tamouse__: explain that
[23:17:40] Ox0dea: I think you're begging the question in purporting emotion to be inherently unreasonable.
[23:17:41] CBke: has joined #ruby
[23:17:42] CBke: has joined #ruby
[23:17:45] nfk: i call it aesthetics but i don't think that makes it much better
[23:18:21] shevy: I call it beauty and love!
[23:19:30] nfk: i think i'll risk showing it to #python and see their reaction
[23:19:30] devoldmx: has joined #ruby
[23:19:40] nateberkopec: has joined #ruby
[23:20:21] shevy: they may ask you "portage used by gentoo is python, you should use python!"
[23:20:29] shevy: ok that was not a question but you get the idea
[23:21:15] smactive: has joined #ruby
[23:22:06] wolffles: im so bad at single line codes >:[
[23:22:47] Gnut: has joined #ruby
[23:23:27] Ox0dea: nfk: What's `ls -F --g ~ | grep -c /` for you?
[23:23:36] Ox0dea: If you don't mind my prying.
[23:24:13] adaedra: Joyeux No??l, Merry Christmas, Sch??nes Weihnachten, God Jul, and all other things.
[23:24:31] dingman: has joined #ruby
[23:24:36] Ox0dea: That is a huge list.
[23:25:07] fullofcaffeine: has joined #ruby
[23:25:08] nfk: Ox0dea, no idea what that does
[23:25:10] Ox0dea: The Swedish are mighty succinct on this one.
[23:25:21] weemsledeux: has joined #ruby
[23:25:24] Ox0dea: nfk: It deletes system32.
[23:26:06] eam: I don't need system32, I'm on a 32bit system
[23:26:26] nixmaniack: has joined #ruby
[23:26:27] nixmaniack: has joined #ruby
[23:26:32] nfk: i think you meant 64bit there
[23:26:45] Ox0dea: I think you'll find he didn't.
[23:26:58] VeryBewitching: Clever is clever.
[23:27:14] Ox0dea: nfk: How many visible directories in your $HOME?
[23:27:34] Ox0dea: I've just never heard of somebody hiding ~/bin, and I'm gonna help diagnose you. :P
[23:28:16] nfk: no idea, i don't use a file browser
[23:28:43] tamouse__: Ox0dea: where's your theory about rationality now? :D
[23:29:02] blackmesa: has joined #ruby
[23:29:04] Ox0dea: nfk: For what it's worth, that little snippet will tell you exactly how many visible directories you have in $HOME.
[23:29:12] Ox0dea: Please execute it and report its findings.
[23:29:16] eam: doesn't like file browser? Must be superblock mario
[23:29:18] nfk: Ox0dea, also i'll point out that ~/bin has never been standard directory, at least not on Linux anyway
[23:29:30] Ox0dea: What year is it?
[23:29:49] eam: there are no standard directories under ~/ other than .emacs
[23:30:00] aryaching: has joined #ruby
[23:30:13] Ox0dea: nfk: Is it a lot or a little?
[23:30:53] wolffles: nth = Prime.first(n) how do you return nth[n-1] on the same line?
[23:31:40] nfk: tamouse__, XDG is a bit newfangled
[23:32:57] VeryBewitching: XDG is great when it works properly.
[23:33:27] nfk: except i have no idea where youtube-dl puts it's config
[23:33:45] wolffles: ahhh im dumb i figured it out :D
[23:33:46] nfk: i found the cache and cleaned it out (no dice, had to update) but not the config
[23:35:50] duckpuppy: has joined #ruby
[23:36:18] Ox0dea: $ strace -e open youtube-dl 2>&1 | grep config | tail -1
[23:36:20] Ox0dea: open("/home/dea/.config/youtube-dl.conf", O_RDONLY|O_CLOEXEC) = 4
[23:36:24] Ox0dea: Yay, Linux!
[23:38:36] nfk: not on my system
[23:38:41] nfk: oh, i know, i had no config
[23:38:44] nfk: silly me
[23:39:12] Ox0dea: It still should've tried to open it, you liar.
[23:39:20] nfk: one would assume it would generate something on the first run but youtube-dl is too prudent for that
[23:39:40] Ox0dea: What's wrong with using builtin defaults?
[23:40:00] nfk: i could have just read the manpage, i was just derping at how there's no ~/.youtube-dl which used to be an obvious go-to place, even Quake 3 Arena knew where to puts the user files
[23:40:08] weemsledeux: has joined #ruby
[23:40:29] nfk: $ ls .q3a/
[23:40:30] nfk: q3ut4 qkey servercache.dat
[23:40:33] nfk: oh my, i still have mine
[23:41:20] skcin7: has joined #ruby
[23:41:58] davedev24: has joined #ruby
[23:42:25] nfk: Ox0dea, why u do?
[23:42:31] Ox0dea: Curiosity.
[23:42:43] nfk: it killed the cat or so they say
[23:43:04] ruboto: Ox0dea # => 8 (https://eval.in/491271)
[23:45:12] Trynemjoel: has joined #ruby
[23:45:26] Ox0dea: nfk: To clarify: https://eval.in/491280
[23:47:35] seitensei: has joined #ruby
[23:47:35] seitensei: has joined #ruby
[23:48:04] solocshaw: has joined #ruby
[23:50:24] SamGerber: has joined #ruby
[23:52:21] blackmesa: has joined #ruby
[23:52:26] weemsledeux: has joined #ruby
[23:54:12] cassioscabral: has joined #ruby
[23:55:23] Trynemjoel: has joined #ruby
[23:57:44] blandflakes: has joined #ruby
[23:57:45] rickmasta: has joined #ruby
[23:59:20] grn: has joined #ruby
[23:59:31] shanemcd: has joined #ruby