« Back to channel list

#ruby - 01 May 2017

« Back 1 day Forward 1 day »
[00:00:45] al2o3-cr: has joined #ruby
[00:03:21] quarcu: has joined #ruby
[00:03:25] skade_: has joined #ruby
[00:03:48] d^sh: has joined #ruby
[00:08:02] DrCode: has joined #ruby
[00:10:22] quarcu: has joined #ruby
[00:17:00] skade_: has joined #ruby
[00:18:31] dkam: has joined #ruby
[00:18:48] JoshS: has joined #ruby
[00:23:04] JeanCarloMachado: has joined #ruby
[00:26:11] dcunit3d: has joined #ruby
[00:30:30] skade_: has joined #ruby
[00:33:12] jenrzzz: has joined #ruby
[00:33:12] jenrzzz: has joined #ruby
[00:34:12] vikaton: has joined #ruby
[00:34:26] DrCode: has joined #ruby
[00:36:58] JeanCarloMachado: has joined #ruby
[00:41:20] iliketurtles: has joined #ruby
[00:44:07] skade_: has joined #ruby
[00:48:07] Silthias: has joined #ruby
[00:49:44] bkxd: has joined #ruby
[00:53:55] bmurt: has joined #ruby
[00:55:10] brendan-: has joined #ruby
[00:55:39] mooser: has joined #ruby
[00:56:02] mitt3ns: has joined #ruby
[00:57:25] dc1: has joined #ruby
[00:57:42] skade_: has joined #ruby
[00:59:18] rhyselsmore: has joined #ruby
[01:04:32] DrCode: has joined #ruby
[01:08:48] kobain: has joined #ruby
[01:11:17] skade_: has joined #ruby
[01:12:29] Phage: Anyone care to help me with some logic for a knock out competition?
[01:13:12] charliesome: has joined #ruby
[01:13:34] bmurt: has joined #ruby
[01:13:53] d^sh: has joined #ruby
[01:16:03] DrCode: has joined #ruby
[01:19:11] Channel6: has joined #ruby
[01:23:27] gizmore|2: has joined #ruby
[01:24:54] skade_: has joined #ruby
[01:25:57] Silthias: has joined #ruby
[01:29:23] jusa: has joined #ruby
[01:32:26] charliesome: has joined #ruby
[01:33:59] thevaliantx: has joined #ruby
[01:34:08] enterprisey: has joined #ruby
[01:34:43] qba73: has joined #ruby
[01:39:30] skade_: has joined #ruby
[01:50:34] sneakerhax: has joined #ruby
[01:53:05] skade_: has joined #ruby
[02:03:56] libastral: has joined #ruby
[02:05:49] brent__: has joined #ruby
[02:06:42] skade_: has joined #ruby
[02:16:45] djbkd: has joined #ruby
[02:20:24] skade_: has joined #ruby
[02:21:07] Silthias: has joined #ruby
[02:24:54] nicesignal: has joined #ruby
[02:26:57] Guest96: has joined #ruby
[02:33:52] skade_: has joined #ruby
[02:34:14] Guest96: has joined #ruby
[02:36:12] dcunit3d: has joined #ruby
[02:37:47] j0selito: has joined #ruby
[02:38:52] j0selito: has left #ruby: ()
[02:43:52] mooser: has joined #ruby
[02:44:57] j0selito: has joined #ruby
[02:45:00] Silthias: has joined #ruby
[02:45:12] j0selito: has left #ruby: ()
[02:46:27] Joikio: has joined #ruby
[02:46:49] iliketurtles: has joined #ruby
[02:47:29] skade_: has joined #ruby
[02:47:58] mahlon: has joined #ruby
[02:48:53] mjuszczak: has joined #ruby
[02:50:02] howdoi: has joined #ruby
[02:50:58] guardianx: has joined #ruby
[02:51:26] ruby[bot]: -b stupidsenpai_!*@*$#ruby-banned
[02:59:30] bkxd: has joined #ruby
[03:01:35] skade_: has joined #ruby
[03:04:27] sspreitz: has joined #ruby
[03:08:43] mjora7: has joined #ruby
[03:12:16] gix: has joined #ruby
[03:12:32] Silthias1: has joined #ruby
[03:12:53] iliketurtles: has joined #ruby
[03:14:39] skade_: has joined #ruby
[03:17:08] arquebus: has joined #ruby
[03:19:57] binaryplease: has joined #ruby
[03:23:56] enterprisey: has joined #ruby
[03:24:23] EXCHGR: has joined #ruby
[03:28:16] skade_: has joined #ruby
[03:30:07] jusa: has joined #ruby
[03:35:43] qba73: has joined #ruby
[03:37:18] shakes: has joined #ruby
[03:40:28] Silthias: has joined #ruby
[03:41:51] skade_: has joined #ruby
[03:48:21] ledestin: has joined #ruby
[03:53:30] astrobunny: has joined #ruby
[03:55:49] RealMarc: has joined #ruby
[03:58:17] claw: has joined #ruby
[03:59:51] Silthias1: has joined #ruby
[04:03:17] tocky: has joined #ruby
[04:03:17] twistedpixels_: has joined #ruby
[04:23:09] Guest96: has joined #ruby
[04:28:27] enterprisey_: has joined #ruby
[04:34:48] skade_: has joined #ruby
[04:45:35] awesomess3: has joined #ruby
[04:45:48] awesomess3: what's one good thing ruby does better than perl and python?
[04:46:23] gusrub: has joined #ruby
[04:51:50] gusrub_: has joined #ruby
[05:02:23] iliketurtles: has joined #ruby
[05:11:58] dkam: has joined #ruby
[05:12:12] millerti: has joined #ruby
[05:13:28] jusa: has joined #ruby
[05:23:51] tocky: has joined #ruby
[05:31:46] tocky: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[05:33:09] cfec0b8d: has joined #ruby
[05:36:30] qba73: has joined #ruby
[05:48:11] podlech: has joined #ruby
[05:49:19] jenrzzz: has joined #ruby
[05:59:44] guardianx: has joined #ruby
[06:00:05] anisha: has joined #ruby
[06:06:57] guardianx: has joined #ruby
[06:10:15] dionysus69: has joined #ruby
[06:18:49] vondruch: has joined #ruby
[06:19:18] last_staff: has joined #ruby
[06:21:07] latemus: has joined #ruby
[06:23:50] jenrzzz: has joined #ruby
[06:23:50] jenrzzz: has joined #ruby
[06:33:09] Cyrus: has joined #ruby
[06:39:38] faraco: has joined #ruby
[06:40:46] faraco: hmm, it seems ruby is *very* popular in web development. Is there anything cool that is going on other than web development.
[06:41:26] faraco: I only know somethings like metasploit, puppet and chef..but thats it. How about AI/machine learning, scientific stuff and desktop applications?
[06:42:46] whiteline: has joined #ruby
[06:54:07] Radar: faraco: Hi.
[06:54:39] Radar: faraco: re: machine learning: https://www.youtube.com/watch?v=ODTwPM_4pOI
[06:54:57] Radar: scientific stuff I don't know about, and desktop applications I don't think there is a good framework for that
[06:55:33] Silthias: has joined #ruby
[06:55:48] Luna_Moonfang: has joined #ruby
[06:59:04] beauby: has joined #ruby
[07:01:43] qba73: has joined #ruby
[07:05:24] jror: has joined #ruby
[07:06:18] jror: hi i've a $SPECIAL_DIR variable in my environment, can i use it like that in a ruby file?
[07:08:38] jror: ok i think i've found the solution
[07:08:49] nhhc: has joined #ruby
[07:11:41] dionysus69: has joined #ruby
[07:12:13] jror: ENV['SPECIAL_DIR']+'/foo.rb' works, for the curious
[07:12:36] Qchmqs: has joined #ruby
[07:15:17] al2o3-cr: jror: consider using File.join :)
[07:21:28] jokke: has joined #ruby
[07:24:28] jror: al2o3-cr: thx
[07:33:46] BaroMeter: has joined #ruby
[07:36:23] Silthias1: has joined #ruby
[07:36:43] BaroMeter: has joined #ruby
[07:38:21] Mortomes|Work: has joined #ruby
[07:38:32] BaroMeter: has joined #ruby
[07:40:28] baphomet_: has joined #ruby
[07:41:50] beauby: has joined #ruby
[07:42:20] baphomet_: has joined #ruby
[07:43:53] BaroMeter76: has joined #ruby
[07:45:27] BaroMeter76: has joined #ruby
[07:50:18] Cohedrin: has joined #ruby
[07:55:54] tAn: has joined #ruby
[07:58:28] mikecmpbll: has joined #ruby
[07:59:50] cahoots_: has joined #ruby
[08:03:26] tAn: has joined #ruby
[08:05:05] User458764: has joined #ruby
[08:05:16] antgel: has joined #ruby
[08:12:27] Guest96: has joined #ruby
[08:16:49] Guest96: has joined #ruby
[08:19:28] PatriqueEtoile3: has joined #ruby
[08:22:00] crazed: has joined #ruby
[08:27:31] Silthias: has joined #ruby
[08:32:07] nobitanobi: has joined #ruby
[08:33:59] mikecmpbll: this is probably going to sound ignorant, but how does something like LMDB differ from a thread-safe hash implementation? https://en.wikipedia.org/wiki/Lightning_Memory-Mapped_Database
[08:35:05] qba73: has joined #ruby
[08:36:42] aupadhye: has joined #ruby
[08:36:53] mikecmpbll: oh nvm i thought it was all in-memory
[08:37:10] nowhereman: has joined #ruby
[08:38:02] Silthias: has joined #ruby
[08:46:01] blackmes1: has joined #ruby
[08:46:36] rippa: has joined #ruby
[08:54:44] lxsameer: has joined #ruby
[08:55:14] oblique: has joined #ruby
[08:56:48] toretore: has joined #ruby
[08:57:48] last_staff: has joined #ruby
[09:03:27] charliesome: has joined #ruby
[09:05:17] charliesome: has joined #ruby
[09:20:52] rann: has joined #ruby
[09:34:48] biberu: has joined #ruby
[09:37:18] dkam: has joined #ruby
[09:38:56] pandaant: has joined #ruby
[09:39:27] Guest96: has joined #ruby
[09:40:25] ddffg: has joined #ruby
[09:50:22] vondruch: has joined #ruby
[09:57:45] vondruch: has joined #ruby
[10:06:58] vondruch: has joined #ruby
[10:07:45] vondruch: has joined #ruby
[10:09:56] anisha: has joined #ruby
[10:14:32] charliesome: has joined #ruby
[10:16:06] skade_: has joined #ruby
[10:17:09] Silthias: has joined #ruby
[10:24:11] _whitelogger: has joined #ruby
[10:26:54] unpleased: has joined #ruby
[10:28:24] mikecmpbll: has joined #ruby
[10:30:01] Ishiro: has joined #ruby
[10:35:57] tAn: has joined #ruby
[10:41:41] fusta: has joined #ruby
[10:46:07] Guest96: has joined #ruby
[10:53:45] scottschecter: has joined #ruby
[10:54:26] nobitanobi: has joined #ruby
[11:01:39] blackmes1: has joined #ruby
[11:04:24] Qchmqs: has joined #ruby
[11:04:35] blackwind_123: has joined #ruby
[11:09:14] millerti: has joined #ruby
[11:10:28] t-recx: has joined #ruby
[11:15:01] nobitanobi: has joined #ruby
[11:15:44] romank: has joined #ruby
[11:16:49] romank: has joined #ruby
[11:19:58] romank: has joined #ruby
[11:22:59] blackmes1: has joined #ruby
[11:25:16] jamesaxl: has joined #ruby
[11:25:47] guardianx: has joined #ruby
[11:26:50] User458764: has joined #ruby
[11:27:22] User458764: has joined #ruby
[11:27:50] charliesome: has joined #ruby
[11:32:41] nadir: has joined #ruby
[11:33:53] Azure: has joined #ruby
[11:35:41] Silthias: has joined #ruby
[11:38:32] cajone: has joined #ruby
[11:39:41] binaryplease: has joined #ruby
[11:42:39] Silthias1: has joined #ruby
[11:45:46] z64: hey all. curious if anyone here happens to have experience using a similar toolchain to my project; nobrainer(rethinkdb), sinatra, and haml. been having some strange issues
[11:46:40] romank: has joined #ruby
[11:47:10] z64: essentially: we can inspect model instances fine via pry, however if we use the same model query inside of a controller to render into our view the object is corrupt
[11:48:43] roamingdog: has joined #ruby
[11:49:02] z64: in fact, not only the model, but queries about the table return incorrect information as well, like getting Model.count
[11:49:21] bkxd: has joined #ruby
[11:55:23] Guest96: has joined #ruby
[11:59:07] bkxd: has joined #ruby
[11:59:13] User458764: has joined #ruby
[11:59:25] romank: has joined #ruby
[11:59:25] roamingdog: has joined #ruby
[12:00:15] roamingdog: has joined #ruby
[12:01:05] roamingdog: has joined #ruby
[12:01:33] cahoots_: has joined #ruby
[12:01:51] roamingdog: has joined #ruby
[12:02:36] Sweetlie_: has joined #ruby
[12:05:43] synthroid: has joined #ruby
[12:12:19] HoierM: has joined #ruby
[12:12:35] Silthias: has joined #ruby
[12:12:44] tomphp: has joined #ruby
[12:14:11] romank: has joined #ruby
[12:15:44] hinbody_: has joined #ruby
[12:16:05] bkxd_: has joined #ruby
[12:17:11] hinbody: has joined #ruby
[12:17:21] sepp2k: has joined #ruby
[12:17:44] tomphp: has joined #ruby
[12:25:16] GodFather_: has joined #ruby
[12:25:43] roamingdog: has joined #ruby
[12:25:49] unshadow: has joined #ruby
[12:27:24] fusta: has joined #ruby
[12:32:11] pupsicle: has joined #ruby
[12:35:36] DrCode: has joined #ruby
[12:36:50] pppktz: has joined #ruby
[12:36:59] JeanCarloMachado: has joined #ruby
[12:41:22] binaryplease1: has joined #ruby
[12:43:08] mwlang: has joined #ruby
[12:50:48] rfoust: has joined #ruby
[12:51:26] DrCode: has joined #ruby
[12:54:10] DrCode: has joined #ruby
[12:56:32] roamingdog: has joined #ruby
[12:59:41] DrCode: has joined #ruby
[13:02:20] ramortegui: has joined #ruby
[13:04:45] rwb: has joined #ruby
[13:06:05] DrCode: has joined #ruby
[13:06:14] cdg: has joined #ruby
[13:11:12] Silthias: has joined #ruby
[13:18:04] JeanCarloMachado: has joined #ruby
[13:19:44] charliesome: has joined #ruby
[13:24:43] mjuszczak: has joined #ruby
[13:27:10] patarr: has joined #ruby
[13:29:50] duckpupp1: has joined #ruby
[13:30:14] User458764: has joined #ruby
[13:31:17] GinoMan: has joined #ruby
[13:32:06] jallen: has joined #ruby
[13:36:24] gnufied: has joined #ruby
[13:37:21] cpruitt: has joined #ruby
[13:39:08] millerti: has joined #ruby
[13:39:43] Xiti: has joined #ruby
[13:43:38] haylon: has joined #ruby
[13:44:51] DLSteve: has joined #ruby
[13:45:28] romank: has joined #ruby
[13:47:38] slackR: has joined #ruby
[13:47:50] mooser: has joined #ruby
[13:53:08] jrafanie: has joined #ruby
[13:54:53] patarr1: has joined #ruby
[13:56:26] JeanCarloMachado: has joined #ruby
[13:56:47] centrx: has joined #ruby
[13:57:20] kobain: has joined #ruby
[13:59:35] ResidentBiscuit: has joined #ruby
[13:59:52] cdg: has joined #ruby
[14:00:18] choke: has joined #ruby
[14:02:51] cahoots: has joined #ruby
[14:05:02] DrCode: has joined #ruby
[14:05:24] jrafanie: has joined #ruby
[14:07:20] DrCode: has joined #ruby
[14:11:28] Guest96_: has joined #ruby
[14:16:32] __Yiota: has joined #ruby
[14:19:18] cahoots_: has joined #ruby
[14:19:32] Guest96: has joined #ruby
[14:20:02] oleo: has joined #ruby
[14:22:17] JeanCarloMachado: has joined #ruby
[14:30:58] iPhone6128: has joined #ruby
[14:35:28] mooser: has joined #ruby
[14:35:40] raul782: has joined #ruby
[14:37:10] romank: has joined #ruby
[14:38:09] anisha: has joined #ruby
[14:39:17] DrCode: has joined #ruby
[14:41:23] chouhoulis: has joined #ruby
[14:41:58] vdl: has joined #ruby
[14:42:14] yeticry: has joined #ruby
[14:42:26] last_staff: has joined #ruby
[14:44:04] jrafanie: has joined #ruby
[14:44:12] armyriad: has joined #ruby
[14:44:24] nobodyzxc: has joined #ruby
[14:47:03] am55: has joined #ruby
[14:48:22] DrCode: has joined #ruby
[14:48:42] tocky: has joined #ruby
[14:53:27] Silthias1: has joined #ruby
[14:54:58] fusta: has joined #ruby
[14:55:47] Sp4rKy: has joined #ruby
[15:03:24] jrafanie: has joined #ruby
[15:03:55] __Yiota: has joined #ruby
[15:05:34] patarr__: has joined #ruby
[15:05:53] patarr___: has joined #ruby
[15:08:02] oleo_: has joined #ruby
[15:09:21] haylon: has joined #ruby
[15:09:24] oleo_: has joined #ruby
[15:09:52] JeanCarloMachado: has joined #ruby
[15:14:44] alveric1: has joined #ruby
[15:16:13] chouhoulis: has joined #ruby
[15:16:21] pppktz: has left #ruby: ()
[15:17:49] tercenya: has joined #ruby
[15:18:24] User458764: has joined #ruby
[15:18:25] LightStalker: has joined #ruby
[15:18:34] BlueDragons: has joined #ruby
[15:18:39] cpruitt: has joined #ruby
[15:19:38] roamingdog: has joined #ruby
[15:20:04] mwlang: has joined #ruby
[15:20:05] __Yiota: has joined #ruby
[15:21:53] blackmes1: has joined #ruby
[15:23:11] Silthias: has joined #ruby
[15:23:25] nobitanobi: has joined #ruby
[15:25:50] Guest96: has joined #ruby
[15:30:29] blackmes1: has joined #ruby
[15:31:28] Sp4rKy: has joined #ruby
[15:31:57] alveric1: has joined #ruby
[15:33:06] blackjid: has joined #ruby
[15:33:27] alveric1: has joined #ruby
[15:33:50] Emmanuel_Chanel: has joined #ruby
[15:35:04] HoierM: has joined #ruby
[15:35:10] alveric1: has joined #ruby
[15:35:34] millerti: has joined #ruby
[15:35:47] synthroid: has joined #ruby
[15:39:39] skade_: has joined #ruby
[15:39:57] ozcanesen: has joined #ruby
[15:40:27] am55: has joined #ruby
[15:40:27] am55: has joined #ruby
[15:40:38] mrd_: has joined #ruby
[15:41:12] mooser: has joined #ruby
[15:41:15] brent__: has joined #ruby
[15:41:38] oleo: has joined #ruby
[15:42:13] skweek: has joined #ruby
[15:44:17] ResidentBiscuit: has joined #ruby
[15:44:47] ResidentBiscuit: has joined #ruby
[15:45:05] Ferdroid: has joined #ruby
[15:45:12] ResidentBiscuit: has joined #ruby
[15:45:32] alveric1: has joined #ruby
[15:45:37] ResidentBiscuit: has joined #ruby
[15:45:55] shinnya: has joined #ruby
[15:46:02] ResidentBiscuit: has joined #ruby
[15:46:27] ResidentBiscuit: has joined #ruby
[15:47:20] alveric1: has joined #ruby
[15:47:31] [Butch]: has joined #ruby
[15:47:49] Blaze_Boy: has joined #ruby
[15:49:10] Silthias1: has joined #ruby
[15:51:42] xenops: has joined #ruby
[15:51:43] [Butch]_: has joined #ruby
[15:53:31] tomphp: has joined #ruby
[15:54:30] Sou|cutter: has joined #ruby
[15:54:39] tomphp: has joined #ruby
[15:54:51] [Butch]: has joined #ruby
[15:58:52] jrafanie: has joined #ruby
[15:59:58] Silthias: has joined #ruby
[16:00:28] rkazak: has joined #ruby
[16:00:31] am55: has joined #ruby
[16:00:31] am55: has joined #ruby
[16:03:07] amclain: has joined #ruby
[16:03:08] marxarelli: has joined #ruby
[16:03:36] raspado: has joined #ruby
[16:09:26] eb0t: has joined #ruby
[16:09:52] gaucheph: has joined #ruby
[16:11:12] Ferdroid: has joined #ruby
[16:14:34] tomphp: has joined #ruby
[16:15:49] lmc: has joined #ruby
[16:16:15] patr0clus: has joined #ruby
[16:16:55] workmad3: has joined #ruby
[16:19:24] ltem: has joined #ruby
[16:21:22] hobodave: has joined #ruby
[16:24:37] roamingdog: has joined #ruby
[16:25:22] roamingdog: has joined #ruby
[16:26:12] roamingdog: has joined #ruby
[16:26:58] roamingdog: has joined #ruby
[16:27:36] am55: has joined #ruby
[16:27:36] am55: has joined #ruby
[16:27:48] roamingdog: has joined #ruby
[16:28:30] am55: has joined #ruby
[16:28:30] am55: has joined #ruby
[16:28:54] nitric: has joined #ruby
[16:30:22] gusrub: has joined #ruby
[16:30:25] tomphp: has joined #ruby
[16:32:11] helpa-bot: has joined #ruby
[16:33:23] hogetaro_: has joined #ruby
[16:33:32] oleo_: has joined #ruby
[16:33:33] vondruch_: has joined #ruby
[16:34:11] helpa-bot: has joined #ruby
[16:34:13] jidar_: has joined #ruby
[16:35:42] oleo_: has joined #ruby
[16:36:39] mcfiredr1ll: has joined #ruby
[16:36:45] AustinIncognito: has joined #ruby
[16:36:51] ericmath1son: has joined #ruby
[16:36:55] kaspergr1bbe: has joined #ruby
[16:36:56] ChanServ: +o baweaver
[16:37:08] genpaku_: has joined #ruby
[16:37:14] baweaver: +b chatter*!*@*
[16:37:23] ChanServ: -o baweaver
[16:37:30] ruby[bot]: -b+b chatter*!*@* chatter*!*@*$#ruby-banned
[16:37:47] yokel_: has joined #ruby
[16:38:19] helpa-bot: has joined #ruby
[16:39:03] oleo_: has joined #ruby
[16:39:57] bandu: has joined #ruby
[16:39:58] Gutenberg: has joined #ruby
[16:39:59] Gutenberg: has joined #ruby
[16:40:00] twistedp-: has joined #ruby
[16:40:20] helpa-bot: has joined #ruby
[16:40:34] unCork: has joined #ruby
[16:40:52] tabakhase__: has joined #ruby
[16:41:03] adam-: has joined #ruby
[16:42:11] Gabemo: has joined #ruby
[16:42:40] helpa: has joined #ruby
[16:42:41] shtirlic: has joined #ruby
[16:42:45] DarkBushido: has joined #ruby
[16:42:45] DarkBushido: has joined #ruby
[16:42:47] CustosLimen: has joined #ruby
[16:42:50] blackwind_123: has joined #ruby
[16:42:57] jtperreault: has joined #ruby
[16:43:00] Eleeleth: has joined #ruby
[16:43:03] HalcyonicStorm: has joined #ruby
[16:43:15] poikon: has joined #ruby
[16:43:31] HashNuke: has joined #ruby
[16:43:37] beawesomeinstead: has joined #ruby
[16:43:38] camilasan: has joined #ruby
[16:43:56] daxroc: has joined #ruby
[16:44:51] Hobbyboy: has joined #ruby
[16:44:56] alveric1: has joined #ruby
[16:45:01] marlinc: has joined #ruby
[16:46:20] vasilakisFiL: has joined #ruby
[16:46:34] vasilakisFiL: can I use prepend for a module ? (prepend a module in another module and call super)
[16:46:36] tabakhase__: has joined #ruby
[16:47:09] hsiktas: has joined #ruby
[16:47:26] balazs: has joined #ruby
[16:47:29] SuperTux88: has joined #ruby
[16:47:35] auv: has joined #ruby
[16:48:02] paulgafton: has joined #ruby
[16:51:32] rrichardsr3: has joined #ruby
[16:51:46] Iacobus: has joined #ruby
[16:52:20] mattwc: has joined #ruby
[16:52:38] gmcintire: has joined #ruby
[16:52:47] Lord_of_Life: has joined #ruby
[16:54:15] havenwood: >> module Vasilak; def yup; :ok end end; module Isfil; prepend Vasilak; def yup; super end end; include Vasilak; yup
[16:54:20] ruby[bot]: havenwood: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
[16:56:12] chouhoul_: has joined #ruby
[16:56:40] Silthias: has joined #ruby
[16:57:24] synthroid: has joined #ruby
[16:57:42] tercenya: has joined #ruby
[16:58:55] Blaze_Boy: has joined #ruby
[17:01:48] DrCode: has joined #ruby
[17:02:21] lmc: has joined #ruby
[17:04:07] jrafanie: has joined #ruby
[17:04:41] oleo__: has joined #ruby
[17:05:13] mikkel-: has joined #ruby
[17:08:01] blackmes1: has joined #ruby
[17:10:04] Xiti: has joined #ruby
[17:10:37] enterprisey: has joined #ruby
[17:11:11] tomphp: has joined #ruby
[17:13:39] balazs: has joined #ruby
[17:15:42] unshadow: has joined #ruby
[17:16:29] oleo__: has joined #ruby
[17:17:26] ColeHub: has joined #ruby
[17:17:55] mjuszczak: has joined #ruby
[17:18:25] VladGh: has joined #ruby
[17:19:06] synthroid: has joined #ruby
[17:22:56] `derpy: has joined #ruby
[17:23:18] chef3000: has joined #ruby
[17:23:49] chef3000: what is the most efficient way to delete all files from a directory except for one?
[17:24:47] whiteline: has joined #ruby
[17:26:03] adaedra: has joined #ruby
[17:26:41] rkazak: has joined #ruby
[17:27:43] jidar: efficient for who?
[17:29:13] chef3000: fewest lines of code
[17:30:09] ljarvis: Check out `Dir.glob` and `File.unlink`
[17:30:44] tvon: has joined #ruby
[17:30:59] elomatreb: FileUtils.rm(Dir["something"] - ["file_you_want_to_keep.txt"]) or something like that?
[17:31:31] nomenkun: has joined #ruby
[17:33:19] mooser: has joined #ruby
[17:34:07] gaucheph: has joined #ruby
[17:38:51] SegFaultAX: has joined #ruby
[17:39:31] cahoots: has joined #ruby
[17:40:02] postmodern: has joined #ruby
[17:40:25] polishdub: has joined #ruby
[17:41:05] Cohedrin: has joined #ruby
[17:42:07] perniciouscaffei: has joined #ruby
[17:46:19] gaucheph: has joined #ruby
[17:46:54] balazs: has joined #ruby
[17:48:18] machinewar: has joined #ruby
[17:49:24] bloosi: has joined #ruby
[17:50:36] dcunit3d: has joined #ruby
[17:51:44] __Yiota: has joined #ruby
[17:53:07] User458764: has joined #ruby
[17:53:18] jrafanie: has joined #ruby
[17:54:32] JeanCarloMachado: has joined #ruby
[17:57:03] __Yiota: has joined #ruby
[18:01:01] lupine: `find ... -name ... -not -name ... -delete`
[18:02:00] yogg-saron: has joined #ruby
[18:04:31] hobodave_: has joined #ruby
[18:06:12] planigan: has joined #ruby
[18:07:14] lele: has joined #ruby
[18:07:24] nhhc: has joined #ruby
[18:07:31] podman: has joined #ruby
[18:07:34] soahccc: has joined #ruby
[18:08:33] nicesignal: has joined #ruby
[18:08:40] dviola: has joined #ruby
[18:09:47] AndBobsYourUncle: has joined #ruby
[18:11:00] am55: has joined #ruby
[18:11:00] am55: has joined #ruby
[18:11:49] lhambley: has joined #ruby
[18:12:24] workmad3: has joined #ruby
[18:17:23] blackmes1: has joined #ruby
[18:19:03] tercenya: has joined #ruby
[18:19:09] gusrub: has joined #ruby
[18:19:33] adam-: Am I crazy or should JSON.load respect `json_class` attribute?
[18:20:14] JeanCarloMachado: has joined #ruby
[18:20:15] kies: has joined #ruby
[18:23:55] hobodave: has joined #ruby
[18:25:05] kiltzman: has joined #ruby
[18:26:58] outreachdan: has joined #ruby
[18:28:49] leah2: has joined #ruby
[18:30:01] roamingdog: has joined #ruby
[18:32:14] silverdust: has joined #ruby
[18:32:16] SeepingN: has joined #ruby
[18:32:39] sczizzo: has joined #ruby
[18:32:58] roamingd_: has joined #ruby
[18:33:07] outreachdan: has joined #ruby
[18:36:39] mooser: has joined #ruby
[18:36:53] adam12: Nevermind. lulz.
[18:38:40] quuxman: has joined #ruby
[18:39:50] unpleased: has left #ruby: ("Sto andando via")
[18:40:00] AndBobsYourUncle: has joined #ruby
[18:41:12] vikaton: has joined #ruby
[18:44:00] Silthias1: has joined #ruby
[18:47:36] romank: has joined #ruby
[18:49:10] rkazak: has joined #ruby
[18:51:03] d10n-work: has joined #ruby
[18:53:27] outreachdan: has joined #ruby
[18:54:32] lmc: has joined #ruby
[18:57:02] blackmes1: has joined #ruby
[18:57:37] affleck61: has joined #ruby
[18:58:25] affleck61: has left #ruby: ()
[18:59:54] User458764: has joined #ruby
[19:01:12] tomphp: has joined #ruby
[19:01:54] L0tDFog: has joined #ruby
[19:03:21] fusta: has joined #ruby
[19:04:42] hkdsun: has joined #ruby
[19:06:38] millerti: has joined #ruby
[19:10:38] blackmesa: has joined #ruby
[19:11:33] fusta: has joined #ruby
[19:12:33] romank: has joined #ruby
[19:12:55] knight33: has joined #ruby
[19:12:55] binaryplease: has joined #ruby
[19:13:02] mjuszczak: has joined #ruby
[19:13:48] arthurl: has joined #ruby
[19:14:10] arthurl: hi guys- can someone help me understand what the problem is here? https://gist.github.com/alyssenko/731c6129c768e533a72fe1a22790a2d1
[19:17:31] adam12: arthurl: Busted rubygems plugin?
[19:18:13] ColeHub: has joined #ruby
[19:19:11] arthurl: adam12 possibly- i'm just not sure how to debug in this case
[19:19:29] Lavan: has joined #ruby
[19:19:36] Lavan: Hi guys...
[19:20:22] adam12: arthurl: Can you remove that executable-hooks gem from your Gemfile and try again?
[19:20:42] Lavan: can anyone help me figure why my code might not work?
[19:20:53] Lavan: why does it say '-' is not a method
[19:20:55] yqt: has joined #ruby
[19:21:18] adam12: Lavan: Prepare a nice example of your code and the error message in a gist and someone might be able to figure it out for you.
[19:21:28] adam12: Lavan: but since we're all volunteering our time here, make it nice and easy for us.
[19:21:42] AndBobsYourUncle: has joined #ruby
[19:23:11] adam12: Lavan: we need two things: the code that's failing, and the stacktrace (the error you see about no method)
[19:23:22] adam12: Lavan: and you can use https://gist.github.com to share it.
[19:23:36] arthurl: adam12 let me try that
[19:23:57] adam12: arthurl: I've never seen that gem before - so I have no idea where/how it's being used.
[19:24:01] adam12: arthurl: but I'd start there.
[19:24:34] Silthias: has joined #ruby
[19:27:59] dcunit3d: has joined #ruby
[19:28:17] Lavan: https://gist.github.com/Tony-Stark/1c74cd759be96f0c55a8c40abca188f3
[19:29:21] apeiros: Lavan: "for nil:NilClass" means that you're invoking - on nil (an instance of NilClass)
[19:29:22] adam12: Lavan: nil doesn't have a - method (it has very few methods).
[19:29:36] gaucheph: has joined #ruby
[19:29:44] apeiros: and since you're calling - on `cipherText[cursor]`, it follows that this expression evaluates to nil.
[19:30:00] adam12: I'd say cursor has a value that technically becomes out of bound.
[19:30:48] Lavan: from left or right?
[19:31:04] apeiros: you can't go out of bounds from left
[19:31:18] apeiros: negative values are interpreted as from the right
[19:31:39] hxegon: Lavan: also, put some space around operators (+, -, ^, >, +=, =, =<, etc)
[19:31:40] apeiros: ok, you can go out of bounds from left by having a negative value with a larger magnitude than the array size.
[19:32:19] Lavan: I'll put spaces...
[19:32:51] hxegon: Lavan: this is a stylistic thing, and shouldn't affect the error. Just a readability thing
[19:32:54] Lavan: but, there's a check at the end of the inner loop. it should keep the cursor inside the array, why it doesn't do it?
[19:33:02] Lavan: yes, i was wondering
[19:33:19] apeiros: hm, `cursor=<0` doesn't raise an exception? I'm fascinated
[19:33:22] apeiros: you probably wanted <=
[19:33:35] roamingdog: has joined #ruby
[19:33:51] ljarvis: that should raise..
[19:33:54] apeiros: it does raise one hereā€¦
[19:34:29] Lavan: still raises an exception apeiros
[19:35:09] rkazak: has joined #ruby
[19:35:48] enterprisey: has joined #ruby
[19:35:54] Lavan: but wait, it's a different error
[19:36:02] ljarvis: a syntax error? :D
[19:36:16] Lavan: 363 out of char range
[19:36:24] Lavan: it shouldn't happen...
[19:36:47] hxegon: "should" or "shouldn't" doesn't matter when you are debugging, because clearly it does happen :)
[19:37:54] Silthias: has joined #ruby
[19:38:38] hxegon: Lavan: just working through this in my head: so on the first sub-array of key, sub[2].times is supposed to run 87 times?
[19:39:24] arthurl: adam12 so the problem is with the gem binary itself
[19:39:31] arthurl: simply executing 'gem' results in the same error
[19:39:55] adam12: arthurl: same require error?
[19:40:00] adam12: (ie. same file referenced)
[19:40:09] arthurl: adam12 correct
[19:40:15] Lavan: yes hxegon
[19:40:16] adam12: sounds like that gem installed broken and has messed up the rest of Rubygems
[19:41:04] raspado: has joined #ruby
[19:41:12] jrafanie: has joined #ruby
[19:42:41] hxegon: Lavan: I think one of the reasons this is going to be hard to debug is because all the domain concepts here are thrown together. I'd try extract things into clean separated objects and the problem should become clear
[19:43:23] Lavan: hxegon, it should run through cipherText sub[2] times for each subarray, apply the operation(^,+,-) and if you reach the end of cipherText, you apply the operations (^,+,-) in the opposite direction
[19:43:24] hxegon: Lavan: for example, you could try making a struct object that contains the subkey arrays.
[19:44:57] hxegon: In this way you could separate the operation and domain knowledge of applying a subkey to a cypherText character, and controlling cursor and dir
[19:46:51] arthurl: adam12 so it seems rubygems is broken right?
[19:47:00] Lavan: you just remmember that sub[0] is the operation, sub[1] is the paramater for the operation, and sub2 is the amount of cells you apply the subkey(so for example if you have sub[0]=0, sub[1]=87, sub[2]=13, you xor each cell with 87 for 13 cells)
[19:47:06] arthurl: i have no idea how to debug or fix this issue- i'm def not a rubygems expert
[19:47:09] adam12: arthurl: I'm more inclined to blame that gem.
[19:47:37] mooser: has joined #ruby
[19:47:41] apeiros: `key.each do |operation, parameter, cells|`
[19:47:47] hxegon: Lavan: so each subkey can needs to operate against multiple characters of cyphertext?
[19:47:48] adam12: arthurl: I'd try removing that gem and see if it fixes it. You might have to manually remove the source of it tho (since I bet `gem uninstall` is busted).
[19:47:49] apeiros: makes the code at least a bit more readable
[19:48:10] hxegon: interesting
[19:48:21] Lavan: btw, im not very familiar with ruby structs...
[19:48:29] tvon: has joined #ruby
[19:48:42] apeiros: &ri Struct Lavan
[19:48:42] `derpy: Lavan: http://ruby-doc.org/core-2.4.1/Struct.html
[19:48:46] apeiros: they're rather simple
[19:48:53] apeiros: (as structs usually are)
[19:50:02] adam12: arthurl: Try `gem uninstall executable-hooks` but I bet it will fail. Manually remove with something like `rm -rf /usr/local/rvm/gems/ruby-1.9.3-p551@global/gems/executable-hooks-1.3.2`
[19:50:28] Lavan: but, all the current array is hardcoded, it would be a shame to rewrite it as an array of structs
[19:50:47] arthurl: thx adam12 yup the first command failed w/ the same error
[19:50:50] hxegon: Lavan: it would make the logic of what's going on much clearer
[19:51:07] adam12: arthurl: It might be a Rubygems version bug. 1.9.3 is ancient.
[19:51:39] hxegon: Lavan: hold on though, let me soak the code in for a bit longer
[19:51:47] adam12: arthurl: Hopefully that gets you moving. I gotta sign off.
[19:51:55] arthurl: thanks adam12 much appreciated
[19:52:03] arthurl: gonna give the manual uninstall a try
[19:52:30] arthurl: so now i get a different error
[19:52:42] arthurl: '/usr/local/rvm/gems/ruby-1.9.3-p551@global/gems/gem-wrappers-1.2.7/lib/rubygems_plugin.rb:11:in `require': cannot load such file -- gem-wrappers (LoadError)'
[19:53:08] AndBobsYourUncle: has joined #ruby
[19:53:34] hxegon: Lavan: I think this bug would disappear if you went about applying the operations forward then backwards differently instead of manually trying to control the cursor.
[19:54:26] Lavan: how can i do such a thing without a cursor?
[19:55:34] hxegon: Lavan: still digesting, give me a sec
[19:55:45] Lavan: no problem
[19:57:27] outreachdan: has joined #ruby
[19:57:33] lmc: has joined #ruby
[19:58:08] Benshiro: has joined #ruby
[19:59:16] hxegon: Lavan: To be 100% clear here, We are just applying the same operations to the result of the first pass, but backwards? No other differences?
[19:59:47] Benshiro: has joined #ruby
[19:59:51] Lavan: maybe i figuered it all wrong...
[19:59:59] Lavan: i have this example
[20:00:15] Lavan: Given the cipherText: "aaaaaaaaaaeeeeehhhhhhhhhgggghh" and the key: [[1,5,10],[1,1,5],[2,2,9],[2,1,8]] we should end up with: "ffffffffffffffffffffffffffffff"
[20:00:28] ahrs: has joined #ruby
[20:01:07] Lavan: basically no other differences, same ops...
[20:03:02] Lavan: yes, that how it should go!
[20:03:15] ColeHub: has joined #ruby
[20:03:19] Lavan: i don't understand what's wrong hxegon
[20:03:25] choke: has joined #ruby
[20:03:33] Lavan: did you see the example?
[20:04:50] hxegon: Lavan: not really enough info from the example to figure out what it wants operationally
[20:06:18] apeiros: in case you're still riddling why it goes out of bounds: you have an off-by-one error in both directions
[20:06:46] apeiros: actually only in one direction
[20:06:58] jenrzzz: has joined #ruby
[20:06:58] jenrzzz: has joined #ruby
[20:07:03] apeiros: cursor == length is already out of bounds
[20:07:13] Lavan: hxegon , i have the original excersize in front of me, should i send it to you?
[20:09:20] Lavan: apeiros, doesn't go out of bound anymore....
[20:09:42] hxegon: Lavan: sure
[20:09:43] LastWhisper: has joined #ruby
[20:11:17] cdg: has joined #ruby
[20:12:13] Lavan: https://gist.github.com/Tony-Stark/8d9762f93c0ab9b6e111e6a05b496338
[20:13:34] hxegon: the struct EncryptionStepDescriptor is basically what I was talking about before
[20:14:11] hndk: has joined #ruby
[20:14:11] hxegon: hard coded magic index values are really hard to make heads or tails of
[20:15:01] Lavan: the original files are
[20:15:03] Lavan: https://filebin.ca/3L0DQxxMuFTN
[20:15:37] Lavan: https://filebin.ca/3L0DjhPL2apF
[20:16:09] Lavan: at first i thought i'd do the whole excersize by hand, no programming involved...
[20:16:21] millerti: has joined #ruby
[20:17:07] Lavan: i see what you mean... but im working with ideone, and i dont know how to work with files in ruby :P
[20:17:57] hxegon: Lavan: Something closer to what I was talking about: https://eval.in/785180
[20:19:23] hxegon: still not solved, but it's running, and much easier to fix from here IMO
[20:19:38] mtkd: has joined #ruby
[20:20:28] jusa: has joined #ruby
[20:21:29] hxegon: applies the operation forward, then backwards in the same way, but everything has meaningful names, and you don't have to manually manipulate cursor/dir
[20:21:37] Lavan: i actually don't understand that well the new syntax
[20:22:10] hxegon: Lavan: That's ok :), Just start pointing out what you don't understand and I'll go through it with you
[20:22:44] hxegon: actually, hold on. I can structure / comment this to be a bit more readable and we can go from there
[20:22:48] mooser: has joined #ruby
[20:25:16] Lavan: i think the lambada is the mystery to me
[20:25:18] AndBobsYourUncle: has joined #ruby
[20:26:03] ljarvis: i prefer it
[20:26:22] Lavan: or the reduce thing
[20:26:53] hxegon: Lavan: https://eval.in/785184
[20:27:12] hxegon: that indented some comments wierdly
[20:27:15] rkazak: has joined #ruby
[20:28:18] hxegon: Lavan: map is pretty easy to understand after seeing a simple example
[20:28:35] hxegon: >> [1, 2, 3].map { |n| n * 2 }
[20:28:36] ruby[bot]: hxegon: # => [2, 4, 6] (https://eval.in/785185)
[20:28:48] ger0: has joined #ruby
[20:28:52] hkdsun: has joined #ruby
[20:33:07] duderonomy: has joined #ruby
[20:33:11] antoniobeyah: has joined #ruby
[20:33:20] Lavan: i don't understand the reduce part...
[20:33:50] baweaver: >> [1,2,3].reduce { |accumulator, i| accumulator + i }
[20:33:51] ruby[bot]: baweaver: # => 6 (https://eval.in/785194)
[20:33:54] tvon: has joined #ruby
[20:34:05] baweaver: For each loop of reduce, the value of the block becomes accumulator's new value
[20:34:39] hxegon: Lavan: what baweaver said, but also go into pry or irb and try map and reduce out for yourserf to make your understanding more concrete
[20:34:54] baweaver: so you'd have: [acc = 1, i = 2], [acc = 3, i = 3], [acc = 6, no i, return 6]
[20:35:01] Lavan: i think we go stray..
[20:35:08] Lavan: why the bug anyway?
[20:35:09] baweaver: &ri Enumerable#map
[20:35:09] `derpy: http://ruby-doc.org/core-2.4.1/Enumerable.html#method-i-map
[20:35:12] baweaver: &ri Enumerable#reduce
[20:35:12] `derpy: http://ruby-doc.org/core-2.4.1/Enumerable.html#method-i-reduce
[20:35:40] Lavan: i mean, it gives, the same result anyway...
[20:36:09] hndk: has joined #ruby
[20:36:11] hxegon: Lavan: the loop that applied the operations forward and backward was hard to do manually, so I just didn't. I separated applying the operations, reversing it, and applying again into line 13
[20:37:46] Lavan: what do you think the problem might be? maybe the way i read the bin files?
[20:38:04] Lavan: more specifically the encryptedmessage.bin?
[20:38:47] hxegon: Lavan: it's possible, but hard to say. I don't really deal with binary files or crypto stuff like, ever, so might not be the best person to answer that
[20:38:57] hectortrope: has joined #ruby
[20:39:24] SegFaultAX: Lavan: Regarding reduce, does this help? https://repl.it/HaGr/0
[20:39:30] SegFaultAX: Those implementations are equivalent.
[20:40:06] baweaver: Though `for ... in` is exceedingly rare in Ruby.
[20:40:12] baweaver: most tend to use `each`
[20:40:12] SegFaultAX: It's fairly uncommon to use external iteration like that in Ruby, but perhaps more familiar if you're from another language
[20:40:34] dcunit3d: has joined #ruby
[20:40:38] Lavan: actually, yes, i get the reduce part now, thanks
[20:40:43] SegFaultAX: baweaver: I chose external iteration to make it compatible with *most* other languages.
[20:41:14] Lavan: i even like it a lil... but why the name? why reduce?
[20:41:44] SegFaultAX: Lavan: Would fold or lfold make it any clearer? :)
[20:41:55] hxegon: Lavan: I prefer it's other name: fold
[20:42:15] baweaver: you're reducing a collection into a single element
[20:42:38] baweaver: a single element can be an array or hash
[20:43:03] SegFaultAX: You could certainly reduce a tree into another tree, so that language is rather ambiguous
[20:43:50] baweaver: if we're being exceedingly pedantic about it.
[20:44:14] Lavan: it makes sense now
[20:44:19] SegFaultAX: We aren't, we're being precise. And "single element" is anything but.
[20:44:22] baweaver: You can probably find faults with any name.
[20:44:41] baweaver: ACTION sighs
[20:44:57] Lavan: so what the hell? why it isn't deciphered? lol
[20:45:14] SegFaultAX: Generally speaking it's called reduce/fold because that's what it's called. You could give a bunch of examples that demonstrate why that name makes sense, but at some point an apple is just an apple and that's the name we use. :)
[20:45:18] baweaver: I'd have to read back over the code to know myself
[20:45:26] SegFaultAX: Not very satisfying answer, I know.
[20:45:36] Lavan: the logic is implemented exactly as they wanted in the excersize...
[20:45:38] nekomune: has joined #ruby
[20:45:50] hxegon: I'll reread and double check too
[20:46:11] elomatreb: I like the name inject, since you often inject an operation (e.g. +) in between the elements
[20:46:16] GodFather_: has joined #ruby
[20:47:23] SegFaultAX: [1,2,3].interleave_operation(&:+) anyone?
[20:48:35] elomatreb: [1,2,3].id_like_one_element_please_do_it_with(&:+)
[20:49:24] unshadow: has joined #ruby
[20:50:15] xco: has joined #ruby
[20:51:03] Benshiro: has joined #ruby
[20:53:35] hxegon: ahhh, ok. Lavan: the logic is different. every operation needs to apply where the one before it left off, and only reverse if you get to an end with remaining operations.
[20:54:24] AndBobsYourUncle: has joined #ruby
[20:55:10] jenrzzz: has joined #ruby
[20:55:14] Lavan: how is that different from our code?
[20:56:47] apeiros: I found lavan's implementation rather straightforward.
[20:56:57] apeiros: the naming could have used improvement, but otherwise it was quite readable.
[20:57:03] Lavan: thx lol :P
[20:57:25] rkazak: has joined #ruby
[20:58:16] hxegon: starting to agree with you there. Totally misunderstood what the problem was until I reread that
[20:58:47] hxegon: so manual index manipulation actually makes sense here.
[20:59:36] roamingdog: has joined #ruby
[21:01:10] hinbody: has joined #ruby
[21:01:24] BSaboia: has joined #ruby
[21:01:53] hxegon: I have a trick that might help here, give me a second
[21:02:25] SegFaultAX: Lavan: What was the original problem statement?
[21:02:47] Lavan: i sent it earlier in a gist, i'll send it again
[21:03:01] Lavan: https://gist.github.com/Tony-Stark/8d9762f93c0ab9b6e111e6a05b496338
[21:03:26] Lavan: the original files are https://filebin.ca/3L0DQxxMuFTN https://filebin.ca/3L0DjhPL2apF
[21:05:22] SegFaultAX: Is this homework?
[21:06:02] brent__: has joined #ruby
[21:09:46] agent_white: has joined #ruby
[21:15:45] Lavan: still here hxegon?
[21:16:11] romank: has joined #ruby
[21:17:35] hxegon: Lavan: yeah, almost got something useful in this exact situation. Is it homework?
[21:18:05] Lavan: not exactly :P
[21:18:28] SegFaultAX: It's either homework or a take home interview question
[21:18:33] SegFaultAX: That's my guess, anyway.
[21:18:43] AlexRussia: has joined #ruby
[21:19:39] Blaze_Boy: has joined #ruby
[21:20:02] m0d: has joined #ruby
[21:20:03] nicolai86: has joined #ruby
[21:21:10] GodFather__: has joined #ruby
[21:21:50] hxegon: >> arr = [5, 10, 15, 20, 25]; max = arr.length - 1; (0..max).to_a.concat((1..max).map { |n| -n }).cycle.take(15).map { |i| arr[i] }
[21:21:56] ruby[bot]: hxegon: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
[21:23:00] rwb: has joined #ruby
[21:24:00] hxegon: hmm, that one works in pry for me
[21:24:43] Lavan: it's a riddle
[21:24:49] Lavan: that what it is...
[21:25:00] elomatreb: hxegon: The site the bot uses as backend is broken
[21:25:07] Lavan: i'm not cheating
[21:25:13] hxegon: I broke it Xd
[21:25:43] balazs: has joined #ruby
[21:26:03] Lavan: this ruby bot is so cute
[21:26:26] hxegon: Anyway, that snippet up until the .map { |i| arr[i] } creates a sequence you can use instead of doing the stuff with cursor
[21:27:08] hxegon: and if you can figure out how to use it with the problem, then you deserve a good grade/whatever
[21:27:35] Lavan: it is not for a grade, I'm not cheating...
[21:28:13] hxegon: all the same, I have to get back to work. gl Lavan
[21:28:20] Lavan: you think it'd be better to treat it as a string?
[21:29:06] elomatreb: You can get a C-like bytestring if you use the ASCII_8BIT encoding. Maybe useful
[21:29:32] nicolai86: has joined #ruby
[21:29:51] skade_: has joined #ruby
[21:30:36] apeiros: NUL won't terminate it, though :)
[21:30:44] GinoMan: has joined #ruby
[21:34:19] blackmesa: has joined #ruby
[21:34:20] enterprisey: has joined #ruby
[21:35:06] jenrzzz: has joined #ruby
[21:35:06] jenrzzz: has joined #ruby
[21:36:33] gusrub: has joined #ruby
[21:43:12] enterprisey: has joined #ruby
[21:44:55] mjuszczak: has joined #ruby
[21:46:36] blackmesa: has joined #ruby
[21:47:58] Eiam: how incompatible are ruby 2.0 and ruby 2.3? if I symlinked in ruby 2.3 when people expected 2.0 would they be generally better off than having nothing at all? i.e. crash
[21:48:29] Eiam: in my own experience I noticed a few issues that required updating, so a blind symlink in probably wouldn't work in that case
[21:51:49] rkazak: has joined #ruby
[21:52:46] outreachdan: has joined #ruby
[21:56:24] tercenya: has joined #ruby
[21:58:40] lmc: has joined #ruby
[21:58:46] minimalism: has joined #ruby
[21:59:44] ResidentBiscuit: has joined #ruby
[22:00:31] roamingdog: has joined #ruby
[22:01:58] skweek: has joined #ruby
[22:02:34] audy: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[22:05:22] blackwind_123: has joined #ruby
[22:08:04] tomphp: has joined #ruby
[22:08:47] matcouto: has joined #ruby
[22:11:21] Mutter: has joined #ruby
[22:12:20] gusrub: has joined #ruby
[22:14:48] Cohedrin: has joined #ruby
[22:21:54] beauby: has joined #ruby
[22:24:00] kent\n: has joined #ruby
[22:24:36] havenwood: Eiam: They are mostly compatible. You'll run into things like parts of the stdlib, like curses, being removed and gemified between versions.
[22:26:05] Eiam: yeah.. except for scenarios when they aren't, you've traded an obvious failure for a maybe more sinister one
[22:28:52] allisio: Lavan: Could you post your most recent attempt?
[22:30:33] m0d: has joined #ruby
[22:31:24] skade_: has joined #ruby
[22:34:23] pnbeast: has joined #ruby
[22:35:54] cahoots: hi, i installed a gem to a local directory, and now i want to import it with require. however, when i do "require_relative 'gem_dir/gems/thor-0.19.4/lib/thor.rb'", it says "LoadError: cannot load such file -- thor/base". any ideas how to fix this?
[22:36:40] hxegon: cahoots: you are trying to import a specific file from the gem, rather than the entire gem
[22:37:52] hxegon: cahoots: try requireing gem_dir/gems/thor-0.19.4
[22:40:08] cahoots: hmm no deice
[22:41:13] hxegon: cahoots: what's the error?
[22:42:15] tocky: has joined #ruby
[22:43:42] cahoots: it says it can't find a file by that name. i think the issue is that the require statements within thor don't have a nice path like this, and instead rely on the $LOAD_PATH being set up to include that file
[22:43:47] cahoots: it's ok though, thanks anyways :)
[22:46:30] Radar: cahoots: Why not just require 'thor'?
[22:55:39] pppktz: has joined #ruby
[22:56:00] allisio: cahoots: Add your local directory to $LOAD_PATH, then do ^.
[22:57:06] pppktz: has left #ruby: ()
[22:58:27] cahoots: allisio, thanks that's what i'll do. Radar, i can with a change to $LOAD_PATH, just didn't want another thing for security to ponder
[23:03:09] oleo_: has joined #ruby
[23:04:24] pbrouse: has joined #ruby
[23:13:28] alveric1: has joined #ruby
[23:17:42] mooser: has joined #ruby
[23:19:09] Silthias: has joined #ruby
[23:19:50] blackmesa: has joined #ruby
[23:28:16] ledestin: has joined #ruby
[23:30:35] Sembei: has joined #ruby
[23:31:28] tocky: has joined #ruby
[23:32:24] skade_: has joined #ruby
[23:33:29] postmodern: has joined #ruby
[23:34:38] eb0t: has joined #ruby
[23:37:29] LastWhisper__: has joined #ruby
[23:42:53] chouhoulis: has joined #ruby
[23:43:33] bmurt: has joined #ruby
[23:44:50] chouhoulis: has joined #ruby
[23:48:49] oleo: has joined #ruby
[23:49:45] enterprisey: has joined #ruby
[23:49:47] hogetaro: has joined #ruby
[23:50:38] savarice: has joined #ruby
[23:52:27] Silthias: has joined #ruby
[23:53:06] lmc: has joined #ruby