« Back to channel list

#ruby - 28 May 2016

« Back 1 day Forward 1 day »
[00:01:11] haylon: Maybe its just not formatted correctly, or read it wrong about Yard formatting.
[00:01:21] haylon: Thanks as always jhass
[00:03:02] KCmetro: has joined #ruby
[00:04:35] neanderslob: has joined #ruby
[00:07:52] tristanp_: has joined #ruby
[00:10:14] tristanm_: has joined #ruby
[00:11:08] doublemalt_: has joined #ruby
[00:17:00] johnmilton: has joined #ruby
[00:19:18] jenrzzz: has joined #ruby
[00:19:33] kgrz: has joined #ruby
[00:21:00] Yiota_: has joined #ruby
[00:21:52] Yiota_: has joined #ruby
[00:25:02] n1x-nz: has joined #ruby
[00:25:21] gizmore: has joined #ruby
[00:25:30] n1x-nz: has joined #ruby
[00:27:04] ur5us: has joined #ruby
[00:29:01] swills: has joined #ruby
[00:30:49] iceden: has joined #ruby
[00:31:44] Alazoral: has joined #ruby
[00:32:10] tristanp: has joined #ruby
[00:32:28] unreal_: has joined #ruby
[00:34:55] charliesome: has joined #ruby
[00:36:26] jefeson: has joined #ruby
[00:39:03] rkazak: has joined #ruby
[00:39:11] johnmilton: has joined #ruby
[00:40:30] skolman_: has joined #ruby
[00:41:44] arlek: has joined #ruby
[00:42:35] benlieb: has joined #ruby
[00:43:41] chouhoul_: has joined #ruby
[00:46:36] tristanp_: has joined #ruby
[00:50:22] antgel: has joined #ruby
[00:51:21] robh71: has joined #ruby
[00:53:12] duckpuppy: has joined #ruby
[00:54:00] pibby: has joined #ruby
[00:54:50] tristanp: has joined #ruby
[00:57:45] Devalo: has joined #ruby
[00:59:59] karmatr0n: has joined #ruby
[01:01:36] nankyokusei: has joined #ruby
[01:02:14] maokomioko: has joined #ruby
[01:02:45] Dios: has joined #ruby
[01:03:39] Tristan-Speccy: has joined #ruby
[01:05:31] elifoster: has joined #ruby
[01:05:48] jefeson: has left #ruby: ()
[01:05:58] pnbeast: has joined #ruby
[01:07:17] grios: has joined #ruby
[01:09:05] robh71: has joined #ruby
[01:11:57] ptx0: has joined #ruby
[01:13:12] frozen3: has joined #ruby
[01:13:12] tristanp_: has joined #ruby
[01:13:30] wilbert: has joined #ruby
[01:15:13] yosafbridge: has joined #ruby
[01:15:27] awk: has joined #ruby
[01:15:34] shadeslayer: has joined #ruby
[01:15:57] tabakhase: has joined #ruby
[01:16:05] mosez: has joined #ruby
[01:16:05] thejoecarroll: has joined #ruby
[01:17:00] majjoha: has joined #ruby
[01:19:51] kgrz: has joined #ruby
[01:21:15] gfvcastro: has joined #ruby
[01:23:21] majuscule: has joined #ruby
[01:23:53] gregf: has joined #ruby
[01:24:21] frozen3: has joined #ruby
[01:26:04] ensyde: has joined #ruby
[01:28:29] laska: has joined #ruby
[01:29:03] roamingdog: has joined #ruby
[01:29:36] norc_: has joined #ruby
[01:29:56] moeabdol: has joined #ruby
[01:34:16] maletor2: has joined #ruby
[01:35:39] howdoi: has joined #ruby
[01:36:01] tristanp: has joined #ruby
[01:36:20] startupality: has joined #ruby
[01:36:57] shoky: has joined #ruby
[01:37:25] shoky: has left #ruby: ()
[01:39:21] tristanp_: has joined #ruby
[01:43:34] chipotle: has joined #ruby
[01:44:35] shoky: has joined #ruby
[01:44:43] shoky: has left #ruby: ()
[01:47:34] User458764: has joined #ruby
[01:48:00] tAn: has joined #ruby
[01:50:13] ur5us: has joined #ruby
[01:52:29] hugoxrosa: has joined #ruby
[01:53:32] tristanp: has joined #ruby
[01:54:00] ziyan_: has joined #ruby
[01:54:02] znz_jp: has joined #ruby
[01:54:50] Ropeney: has joined #ruby
[01:54:56] pawnbox: has joined #ruby
[01:55:23] duckpuppy: has joined #ruby
[01:57:46] tristanp_: has joined #ruby
[01:59:22] Es0teric: has joined #ruby
[02:00:57] tristanp: has joined #ruby
[02:01:31] chouhoulis: has joined #ruby
[02:03:12] allcentury: has joined #ruby
[02:07:29] charliesome: has joined #ruby
[02:11:15] Seanzie: has joined #ruby
[02:14:05] acovrig: has joined #ruby
[02:15:20] arescorpio: has joined #ruby
[02:15:26] acovrig: has left #ruby: ()
[02:16:42] Madplatypus: has joined #ruby
[02:17:35] Dios: Has anyone set up a ruby environment on windows 10? Any issues you ran into?
[02:17:52] tristanp_: has joined #ruby
[02:19:48] tristanp: has joined #ruby
[02:20:36] kgrz: has joined #ruby
[02:21:32] null__: I wonder if the windows ubuntu system would be the best bet
[02:21:54] robh71: has joined #ruby
[02:23:05] Dios: That is in an interesting idea
[02:23:09] nando294021: has joined #ruby
[02:23:32] von-strauss: I don't recommend windows 10 as a DE
[02:23:32] Dios: Although, with it being so new, I wonder if running a linux VM instead would be a better choice
[02:23:55] tristanp: has joined #ruby
[02:23:58] Parker0: has joined #ruby
[02:24:43] null__: It's pretty stable from what I can tell so far
[02:24:49] null__: the shell still has some issues
[02:25:30] RegulationD: has joined #ruby
[02:25:36] von-strauss: Just run Debian or Fedora
[02:25:42] null__: you can actually rm -rf the windows partition from inside the ubuntu system
[02:26:53] Dios: I wonder if anyone posted a video to youtube trying it
[02:27:33] null__: you need to include some explicit flags for it to happen
[02:27:54] null__: --no-preserve-root I think
[02:28:29] null__: "rm ​-rf --no-​preserve-root "/​mnt/c"" would do it
[02:30:32] roamingdog: has joined #ruby
[02:32:32] Dios: That's awesome
[02:32:45] Dios: although it pasted a little weird, odd characters in the paste
[02:35:10] maletor2: has joined #ruby
[02:36:06] olsi: has joined #ruby
[02:36:08] framling: has joined #ruby
[02:37:31] tristanp: has joined #ruby
[02:38:28] jancel: has joined #ruby
[02:40:04] pawnbox: has joined #ruby
[02:44:26] olsi: does anyone say anything here? :)0
[02:45:10] olsi: just joined this and no idea how this works... i basically would love to learn more about ruby and ruby on rails and hope to follow or participate in conversations about it
[02:45:31] olsi: but have no idea how it works here
[02:45:37] jancel: has joined #ruby
[02:45:44] olsi: do i have to start a conversation
[02:46:12] karmatr0n: has joined #ruby
[02:46:40] der-landgraf: has joined #ruby
[02:46:40] der-landgraf: has joined #ruby
[02:46:51] pnbeast: olsi, hi, welcome to IRC. Channels here tend to be question/answer in nature, but I'm sure if you have conversation related to the /topic, people will read and maybe respond.
[02:47:10] pnbeast: You know how to read the topic, yes? Type "/topic" in your IRC client, typically...
[02:47:47] olsi: thank you pnbeast
[02:48:09] olsi: this is the ruby channel right?
[02:48:42] pnbeast: Well, it's *a* Ruby channel. IIRC, there's also #ruby-lang, which may not be much different. I don't know the current status, though.
[02:48:45] gnufied: has joined #ruby
[02:49:29] SilverKey: has joined #ruby
[02:50:16] tristanp: has joined #ruby
[02:50:28] olsi: well i have to then spend some time to understand how to find things here bc i dont even know how to read topic
[02:51:00] olsi: just signed up with freenode and looked for #ruby and #rubyonrails
[02:51:21] olsi: thank you for welcoming me though
[02:51:32] pnbeast: Well, actually the topic here basically just says "go read http://ruby-community.com". I recommend it, although if you stick to Ruby and try not to be offensive you'll probably be okay.
[02:51:54] pnbeast: That's how most channels are, anyway.
[02:52:50] olsi: oh...does this resemble stack overflow in some ways?
[02:53:21] zacts: has joined #ruby
[02:54:30] olsi: anyway, thank you
[02:55:38] pawnbox: has joined #ruby
[02:56:35] pnbeast: Compared to what? It's a lot more like that than a Honda Scooter, but restricted to the internet, no, it's quite a bit different than a web forum. It's realtime, there's little/no "reputation" and little evaluation of responses beyond occasional, brief arguments. It's just a few dozen people waiting to chatter, together, typically.
[02:57:42] duckpuppy: has joined #ruby
[02:58:42] KCmetro: has joined #ruby
[03:00:17] jenrzzz: has joined #ruby
[03:02:29] nankyokusei: has joined #ruby
[03:03:38] elementaru: has joined #ruby
[03:05:27] yfeldblum: has joined #ruby
[03:06:17] yfeldblum: has joined #ruby
[03:06:53] chouhoulis: has joined #ruby
[03:10:06] Xiti: has joined #ruby
[03:14:19] braincrash: has joined #ruby
[03:14:23] madgen: has joined #ruby
[03:16:51] tristanp_: has joined #ruby
[03:18:55] ChiefAlexander: has joined #ruby
[03:19:20] tristanp: has joined #ruby
[03:20:57] k3rn31: has joined #ruby
[03:21:26] jud: has joined #ruby
[03:21:27] tristanm_: has joined #ruby
[03:21:36] kgrz: has joined #ruby
[03:22:01] jancel: has joined #ruby
[03:23:04] jenrzzz: has joined #ruby
[03:23:23] d0lph1n98: has joined #ruby
[03:25:00] tristanp: has joined #ruby
[03:26:16] pawnbox: has joined #ruby
[03:28:06] arlek: has joined #ruby
[03:28:06] hutch34: has joined #ruby
[03:28:13] nando293921: has joined #ruby
[03:28:27] SilverKey: has joined #ruby
[03:35:14] jenrzzz: has joined #ruby
[03:35:14] jenrzzz: has joined #ruby
[03:35:38] charliesome: has joined #ruby
[03:35:52] maletor2: has joined #ruby
[03:35:57] Coldblackice: has joined #ruby
[03:37:09] jaequery: has joined #ruby
[03:37:14] karmatr0n: has joined #ruby
[03:39:24] jroith: has joined #ruby
[03:42:42] z0id: has joined #ruby
[03:43:44] z0id: Any preferred methods for learning Ruby? I don't necessarily want the "easiest", I want the most effective. If such a thing exists.
[03:45:16] Radar: z0id: http://learnrubythehardway.org/
[03:45:24] Radar: z0id: https://github.com/thoughtbot/trail-map/blob/master/ruby.md
[03:45:52] Tempesta: has joined #ruby
[03:46:20] z0id: Radar, thank you kindly. I appreciate it.
[03:46:49] jenrzzz: has joined #ruby
[03:49:54] tAn: has joined #ruby
[03:50:38] hk238: has joined #ruby
[03:52:13] hutch34: has joined #ruby
[03:54:41] pnbeast: z0id, I think there's a version of "the pickaxe book" available for free, online. IMO, that would be worth a good, long look.
[03:55:03] jancel: has joined #ruby
[03:56:34] Devalo: has joined #ruby
[03:57:06] nando293921: has joined #ruby
[03:58:01] aphprentice: has joined #ruby
[04:01:00] tristanp_: has joined #ruby
[04:01:49] gix: has joined #ruby
[04:02:42] kgrz: has joined #ruby
[04:04:44] tristanp: has joined #ruby
[04:06:00] allcentury: has joined #ruby
[04:07:58] jenrzzz: has joined #ruby
[04:07:58] jenrzzz: has joined #ruby
[04:08:54] tristanp: has joined #ruby
[04:10:18] conta: has joined #ruby
[04:11:13] kgrz: has joined #ruby
[04:14:47] duckpuppy: has joined #ruby
[04:16:37] Corrosive_: has joined #ruby
[04:20:34] rkazak: has joined #ruby
[04:22:10] benlieb: has joined #ruby
[04:22:29] z0id: pnbeast, I'll look around and see if I can find that. Thank you.
[04:24:45] tax: has joined #ruby
[04:25:44] tristanp_: has joined #ruby
[04:26:51] kgrz: has joined #ruby
[04:28:46] lxsameer: has joined #ruby
[04:31:41] pawnbox: has joined #ruby
[04:31:41] PaulCapestany: has joined #ruby
[04:36:43] maletor2: has joined #ruby
[04:38:48] zzak: has joined #ruby
[04:39:34] kareeoleez: has joined #ruby
[04:40:36] jenrzzz: has joined #ruby
[04:40:52] stardiviner: has joined #ruby
[04:46:31] mleung: has joined #ruby
[04:51:18] xall: has joined #ruby
[04:52:14] k3rn31: has joined #ruby
[04:53:10] karmatr0n: has joined #ruby
[04:53:15] tristanp: has joined #ruby
[04:57:42] flov: has joined #ruby
[04:58:16] codecop: has joined #ruby
[04:58:27] charliesome: has joined #ruby
[04:59:20] flov: this is mind boggling to me: `0.09 * 100 = 9.0` but `0.009 * 100 = 0.8999999999999999`
[04:59:30] tristanp_: has joined #ruby
[04:59:41] flov: any idea why 0.009 * 100 doesn't equal 0.9 ?
[05:01:05] moeabdol: has joined #ruby
[05:03:04] tristanp: has joined #ruby
[05:03:17] nankyokusei: has joined #ruby
[05:04:33] Tempesta: has joined #ruby
[05:05:54] pawnbox: has joined #ruby
[05:07:10] allcentury: has joined #ruby
[05:08:03] rbennacer: has joined #ruby
[05:09:42] tAn: has joined #ruby
[05:11:02] Cohedrin: has joined #ruby
[05:13:18] JesseH: has joined #ruby
[05:13:22] hahuang65: has joined #ruby
[05:13:43] moeabdol: has joined #ruby
[05:14:00] matp: has joined #ruby
[05:14:19] d0lph1n98: has joined #ruby
[05:19:46] rkazak: has joined #ruby
[05:25:33] weemsledeux: has joined #ruby
[05:26:52] charliesome: has joined #ruby
[05:29:46] tristanp_: has joined #ruby
[05:29:54] Gasher: has joined #ruby
[05:30:36] ledestin: has joined #ruby
[05:32:51] rickmasta: has joined #ruby
[05:32:52] tristanp: has joined #ruby
[05:33:15] zacts: hi rubyists
[05:34:50] benzrf: flov: floating point
[05:35:09] tristanp_: has joined #ruby
[05:35:12] benzrf: >> 0.1 + 0.2
[05:35:13] creat: has joined #ruby
[05:35:13] ruby[bot]: benzrf: # => 0.30000000000000004 (https://eval.in/578510)
[05:37:26] maletor2: has joined #ruby
[05:37:37] zenguy_pc: has joined #ruby
[05:38:46] tristanp: has joined #ruby
[05:39:53] Es0teric: has joined #ruby
[05:47:31] dgncn: has joined #ruby
[05:49:33] charliesome: has joined #ruby
[05:50:37] flov: benzrf: that's so strange, I still don't understand why it's like that
[05:50:42] roamingdog: has joined #ruby
[05:51:23] sauvin: has joined #ruby
[05:52:11] flov: I see... it's because of floating point arithmetics: http://stackoverflow.com/questions/5415304/addition-error-with-ruby-1-9-2
[05:52:57] hutch34: has joined #ruby
[05:54:04] karmatr0n: has joined #ruby
[05:56:34] alfiemax: has joined #ruby
[05:58:24] pawnbox: has joined #ruby
[06:00:12] jenrzzz: has joined #ruby
[06:01:14] tristanp_: has joined #ruby
[06:06:37] tristanp: has joined #ruby
[06:16:20] Ropeney: has joined #ruby
[06:20:52] Ishido: has joined #ruby
[06:23:58] tvw: has joined #ruby
[06:28:10] duckpuppy: has joined #ruby
[06:30:28] yardenbar: has joined #ruby
[06:36:46] neanderslob: has joined #ruby
[06:39:16] jenrzzz: has joined #ruby
[06:39:16] jenrzzz: has joined #ruby
[06:39:27] maletor2: has joined #ruby
[06:41:17] Dios: has joined #ruby
[06:41:20] xall: has joined #ruby
[06:46:03] neanderslob: has joined #ruby
[06:46:53] craigp_: has joined #ruby
[06:48:22] tristanp: has joined #ruby
[06:50:01] User458764: has joined #ruby
[06:50:36] User458764: has joined #ruby
[06:53:38] ffgghhj: has joined #ruby
[06:53:44] n1xnz: has joined #ruby
[06:54:46] karmatr0n: has joined #ruby
[06:59:08] Devalo: has joined #ruby
[07:00:00] kareeoleez: has joined #ruby
[07:04:11] nankyokusei: has joined #ruby
[07:04:59] vdamewood: has joined #ruby
[07:05:47] omphe: has joined #ruby
[07:06:32] tristanp_: has joined #ruby
[07:06:54] jancel: has joined #ruby
[07:08:39] allcentury: has joined #ruby
[07:08:41] craigp_: has joined #ruby
[07:16:00] n1x-nz: has joined #ruby
[07:19:56] hahuang65: has joined #ruby
[07:21:48] tristanp: has joined #ruby
[07:32:00] tildes_: has joined #ruby
[07:32:55] tristanp: has joined #ruby
[07:34:00] jenrzzz: has joined #ruby
[07:37:40] Devalo: has joined #ruby
[07:39:34] Vingador: has joined #ruby
[07:40:16] maletor2: has joined #ruby
[07:44:35] ffgghhj: has joined #ruby
[07:45:25] rippa: has joined #ruby
[07:45:49] LiquidInsect: has joined #ruby
[07:46:02] omphe: has joined #ruby
[07:48:58] tristanp_: has joined #ruby
[07:50:56] tristanm_: has joined #ruby
[07:51:48] Arcaire: has joined #ruby
[07:53:53] tristanp: has joined #ruby
[07:55:00] hutch34: has joined #ruby
[07:55:32] karmatr0n: has joined #ruby
[07:57:02] firstdayonthejob: has joined #ruby
[08:01:33] CloCkWeRX: has joined #ruby
[08:03:42] stardiviner: has joined #ruby
[08:04:06] KCmetro: has joined #ruby
[08:05:21] tristanp_: has joined #ruby
[08:06:18] shinnya: has joined #ruby
[08:08:40] tristanp: has joined #ruby
[08:13:52] stardiviner: has joined #ruby
[08:18:51] craigp_: has joined #ruby
[08:23:29] edwinvdgraaf: has joined #ruby
[08:25:00] tristanp_: has joined #ruby
[08:26:36] marr: has joined #ruby
[08:28:20] RegulationD: has joined #ruby
[08:28:37] yardenbar: has joined #ruby
[08:30:12] duckpuppy: has joined #ruby
[08:31:27] craigp_: has joined #ruby
[08:32:37] tristanp: has joined #ruby
[08:33:42] xall: has joined #ruby
[08:35:48] djbkd: has joined #ruby
[08:41:03] maletor2: has joined #ruby
[08:41:15] pawnbox: has joined #ruby
[08:43:13] antgel: has joined #ruby
[08:43:51] n1x-nz: has joined #ruby
[08:44:36] n1x-nz: has joined #ruby
[08:46:26] tristanp_: has joined #ruby
[08:46:31] mercerist: has joined #ruby
[08:47:42] spider-mario: has joined #ruby
[08:48:31] n1x-nz: has joined #ruby
[08:48:31] tristanm_: has joined #ruby
[08:49:25] n1x-nz: has joined #ruby
[08:49:35] xall: has joined #ruby
[08:50:53] n1x-nz: has joined #ruby
[08:51:30] agit0: has joined #ruby
[08:52:16] n1x-nz: has joined #ruby
[08:52:26] blaxter: has joined #ruby
[08:52:43] graft: has joined #ruby
[08:55:56] Caerus: has joined #ruby
[08:55:58] jancel: has joined #ruby
[08:56:27] karmatr0n: has joined #ruby
[08:57:07] pedro4: has joined #ruby
[09:01:02] pawnbox: has joined #ruby
[09:04:32] tristanp: has joined #ruby
[09:05:04] nankyokusei: has joined #ruby
[09:05:54] User458764: has joined #ruby
[09:07:08] tristanp_: has joined #ruby
[09:08:18] imperator: has joined #ruby
[09:08:37] matp: has joined #ruby
[09:10:23] allcentury: has joined #ruby
[09:20:01] tristanp_: has joined #ruby
[09:20:29] viveksing: has joined #ruby
[09:20:38] hahuang65: has joined #ruby
[09:20:58] jenrzzz: has joined #ruby
[09:26:25] ebbflowgo: has joined #ruby
[09:26:39] allcentury: has joined #ruby
[09:27:42] cibs: has joined #ruby
[09:28:42] Jackneill: has joined #ruby
[09:31:50] tristanm_: has joined #ruby
[09:32:10] craigp_: has joined #ruby
[09:35:27] stardiviner: has joined #ruby
[09:36:25] d0lph1n98: has joined #ruby
[09:36:30] viveksing: hello, need suggestion, books to learn ruby for linux sysmanagement, configuration management puppet and chef?
[09:41:47] maletor2: has joined #ruby
[09:45:24] kareeoleez: has joined #ruby
[09:48:39] yardenbar: has joined #ruby
[09:49:11] tristanp: has joined #ruby
[09:50:58] gnufied: has joined #ruby
[09:52:44] cibs: has joined #ruby
[09:53:05] ruby[bot]: Please join #puppet for help with it.
[09:53:23] user__: has joined #ruby
[09:54:55] agit0: has joined #ruby
[09:55:26] bluOxigen: has joined #ruby
[09:55:46] hutch34: has joined #ruby
[09:57:23] karmatr0n: has joined #ruby
[09:58:23] bob434: has joined #ruby
[10:00:38] tristanp_: has joined #ruby
[10:02:38] tristanp: has joined #ruby
[10:07:04] jaiks: has joined #ruby
[10:09:38] pawnbox: has joined #ruby
[10:09:38] tristanp: has joined #ruby
[10:09:58] allcentury: has joined #ruby
[10:10:05] ebbflowgo: has joined #ruby
[10:11:00] c355E3B: has joined #ruby
[10:11:14] hightower3: has joined #ruby
[10:18:55] uwijpy: has joined #ruby
[10:19:48] tristanp: has joined #ruby
[10:26:29] ips|malc: has joined #ruby
[10:28:13] edwinvdgraaf: has joined #ruby
[10:30:43] cibs: has joined #ruby
[10:30:57] duckpuppy: has joined #ruby
[10:31:09] KCmetro: has joined #ruby
[10:31:12] bfvyrx: has joined #ruby
[10:31:29] charliesome: has joined #ruby
[10:32:52] craigp_: has joined #ruby
[10:34:40] kareeoleez: has joined #ruby
[10:35:04] ebbflowgo: has joined #ruby
[10:36:04] d0lph1n98: has joined #ruby
[10:36:56] tristanp_: has joined #ruby
[10:37:04] dn`: has left #ruby: ()
[10:42:34] maletor2: has joined #ruby
[10:43:40] jancel: has joined #ruby
[10:48:42] Hyuk: has joined #ruby
[10:50:18] madgen: has joined #ruby
[10:52:05] FooMunki: has joined #ruby
[10:54:05] startupality: has joined #ruby
[10:56:25] raz: ugh, avoid puppet
[10:56:29] raz: and chef
[10:57:17] k3rn31: has joined #ruby
[10:57:29] Papierkorb: Ansible sucks too
[10:58:19] karmatr0n: has joined #ruby
[10:58:21] raz: so does terraform
[10:58:29] raz: but both suck significantly less than chef/puppet
[11:00:19] raz: ansible/tf are relatively bad impls of solid concepts. chef puppet are not just bad impls but broken by design on top of that.
[11:01:33] tristanp: has joined #ruby
[11:01:58] kirun: has joined #ruby
[11:05:52] nankyokusei: has joined #ruby
[11:06:25] User458764: has joined #ruby
[11:08:42] Ishido: has joined #ruby
[11:11:00] tristanp_: has joined #ruby
[11:11:13] y2mq37: has joined #ruby
[11:12:19] davedev24: has joined #ruby
[11:12:24] kareeoleez: has joined #ruby
[11:12:39] ebbflowgo: has joined #ruby
[11:13:39] tristanp: has joined #ruby
[11:16:41] isxek: has joined #ruby
[11:17:47] mdw: has joined #ruby
[11:20:09] isxek: has joined #ruby
[11:21:08] isxek: has joined #ruby
[11:22:21] mercerist: has joined #ruby
[11:22:42] hahuang65: has joined #ruby
[11:23:03] tristanp_: has joined #ruby
[11:24:29] nettoweb: has joined #ruby
[11:24:36] phutchins: has joined #ruby
[11:24:45] tristanp: has joined #ruby
[11:25:48] ramfjord: has joined #ruby
[11:26:48] startupality: has joined #ruby
[11:29:27] fenre: has joined #ruby
[11:30:49] d0lph1n98: has joined #ruby
[11:31:07] cibs: has joined #ruby
[11:33:42] craigp_: has joined #ruby
[11:34:44] tristanp_: has joined #ruby
[11:34:47] phutchins: has joined #ruby
[11:38:22] |meta: has joined #ruby
[11:42:40] the_drow: has joined #ruby
[11:43:19] maletor2: has joined #ruby
[11:44:32] tristanp: has joined #ruby
[11:45:06] sdothum: has joined #ruby
[11:45:08] minimalism: has joined #ruby
[11:45:25] moeabdol1: has joined #ruby
[11:46:54] karapetyan: has joined #ruby
[11:47:25] shinnya: has joined #ruby
[11:49:50] User458764: has joined #ruby
[11:51:24] tristanp_: has joined #ruby
[11:53:56] tristanp: has joined #ruby
[11:56:32] hutch34: has joined #ruby
[11:57:23] dhk: has joined #ruby
[11:58:28] Hanmac: has joined #ruby
[11:59:12] karmatr0n: has joined #ruby
[12:01:30] millerti: has joined #ruby
[12:02:36] tristanp_: has joined #ruby
[12:02:44] art-solopov: has joined #ruby
[12:04:19] kareeoleez: has joined #ruby
[12:04:43] tristanp: has joined #ruby
[12:06:36] craigp_: has joined #ruby
[12:07:25] tknz: has joined #ruby
[12:07:28] gnufied: has joined #ruby
[12:08:14] negev: has joined #ruby
[12:11:41] bob434: has joined #ruby
[12:12:31] bob434: has joined #ruby
[12:13:00] kareeoleez: has joined #ruby
[12:15:45] tristanp_: has joined #ruby
[12:16:08] moeabdol2: has joined #ruby
[12:20:13] alfiemax: has joined #ruby
[12:21:29] minimalism: has joined #ruby
[12:23:04] Dbugger: has joined #ruby
[12:23:09] Dbugger: Hi everyone.
[12:23:11] Dbugger: I have a doubt
[12:23:36] Dbugger: I updated rbenv and ruby to 2.3.1 and now "cap" from Capistrano is not working, telling me it does not find the command. What did I break
[12:24:09] jhass: did you run rbenv rehash a dozen times?
[12:24:43] Dbugger: at the end, once
[12:25:05] jhass: I guess you switched ABI versions then or rbenv doesn't share gems between rubies at all
[12:25:09] jhass: reinstall your gems
[12:25:13] jhass: gem install capistrano
[12:25:34] Dbugger: I did a bundle update on my rails project
[12:25:37] Dbugger: isnt that enough?
[12:25:51] jhass: apparently not?
[12:25:55] jhass: does bundle exec cap work?
[12:26:15] Dbugger: why does simply "cap" not work then
[12:26:20] jhass: also I can't recommend to ever run an open bundle update
[12:26:31] jhass: dunno, what's bundle show capistrano?
[12:27:10] Dbugger: it shows: /home/dbugger/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/capistrano-3.5.0
[12:27:26] jhass: did you rbenv rehash after rerunning bundle?
[12:27:37] Dbugger: i dont think so
[12:27:43] jhass: probably the issue
[12:27:49] Dbugger: but i did it now
[12:27:52] Dbugger: and still does not worlk
[12:27:55] Dbugger: and still does not work
[12:28:11] jhass: dunno, rbenv is the least used one for a reason I guess
[12:28:37] Dbugger: For a language as easy and pleasurable to use as Ruby... setting it up is a true nightmare
[12:29:37] bob434: has joined #ruby
[12:29:54] Hyuk: has joined #ruby
[12:30:58] jhass: dunno, Go caused me more troubles so far
[12:31:43] duckpuppy: has joined #ruby
[12:31:51] Dbugger: Ill take that as a hint, not to use Go :P
[12:31:58] startupality: has joined #ruby
[12:32:33] weckl: has joined #ruby
[12:32:34] tristanp: has joined #ruby
[12:36:27] art-solopov: I have a feeling that a lot of languages get cumbersome to set up properly. Just look at the toolset: rvm/rbenv for Ruby, nvm for Node, *conda for Python...
[12:36:35] Devalo: has joined #ruby
[12:39:01] startupality: has joined #ruby
[12:40:08] shevy: art-solopov if you follow this
[12:40:17] shevy: hard to beat "wget ftp://ftp.ruby-lang.org/pub/ruby/2.3/ruby-2.3.1.tar.xz"
[12:40:43] jhass: ACTION sighs
[12:41:10] art-solopov: shevy: Yeah, for a single Ruby version it'll probably work the best.
[12:41:35] art-solopov: I mean, using RVM on a single-app server just seems wrong.
[12:42:19] shevy: gobolinux showed how to use multiple versions with ease
[12:43:51] startupality: has joined #ruby
[12:44:05] maletor2: has joined #ruby
[12:44:06] shevy: things tend to get more and more complicated
[12:44:32] sepp2k: has joined #ruby
[12:45:02] jaguarmagenta: has joined #ruby
[12:45:44] art-solopov: shevy: I think Canonical tries to implement a same-ish thing. Of course, they're being accused of reimplementing an existing thing...
[12:45:59] shevy: ruby is especially notorious in proliferating a lot of tools that do rather similar things
[12:46:02] bob434: has joined #ruby
[12:46:10] roamingdog: has joined #ruby
[12:46:37] shevy: dunno, part of the reasons why you have rvm, chruby and what not is because of debian being unable to address these problems
[12:47:04] art-solopov: shevy: That's true.
[12:47:24] art-solopov: Do you happen to know if they're still stuck with 1.8.7?
[12:47:44] shevy: stable versus outdated :)
[12:47:58] karapetyan: has joined #ruby
[12:48:07] tristanp_: has joined #ruby
[12:48:07] shevy: https://wiki.debian.org/Ruby
[12:48:15] shevy: MRI 2.1.5 ruby2.1
[12:48:19] shevy: dunno how old 2.1.5 is
[12:48:57] shevy: they provide update paths! at "Selecting the default Ruby interpreter system-wide"
[12:49:06] shevy: "ruby-switch --auto"
[12:49:11] shevy: one more version control way
[12:49:38] shevy: and they recommend rbenv there
[12:50:15] jhass: ruby-switch and the brightbox packages give a pretty decent setup for ubuntu boxes though
[12:52:44] bob434: has joined #ruby
[12:54:07] hutch34: has joined #ruby
[12:55:40] Bugboy1028: has joined #ruby
[12:55:55] Cyb3rAssasin: has joined #ruby
[12:56:12] agit0: has joined #ruby
[12:58:16] KCmetro: has joined #ruby
[12:58:22] Skelz0r: has joined #ruby
[13:00:07] karmatr0n: has joined #ruby
[13:00:09] insanedreamer: has joined #ruby
[13:00:15] shevy: I wanna see jhass on ubuntu :)
[13:01:54] jhass: if I use ubuntu for a week, will you stop telling people to wget; make; make install stuff?
[13:02:24] shevy: a week is nothing
[13:02:49] zenguy_pc: has joined #ruby
[13:02:49] shevy: how about wearing an ubuntu t-shirt for a year - and not washing it!
[13:02:58] tristanp: has joined #ruby
[13:03:19] jhass: if you send me one
[13:04:06] art-solopov: jhass: What are you using now?
[13:04:50] Vlat-: has joined #ruby
[13:05:06] art-solopov: Nice. I've been using Arch for a while.
[13:05:06] Vlat-: has left #ruby: ()
[13:05:29] jhass: you might enjoy https://gist.github.com/jhass/8839655bb038e829fba1
[13:06:23] art-solopov: Or, correction: I had been using Arch for a while a couple years ago.
[13:06:29] art-solopov: Sorry, still not 100% up. >_<
[13:06:45] nankyokusei: has joined #ruby
[13:06:49] roamingdog: has joined #ruby
[13:07:21] craigp_: has joined #ruby
[13:07:46] allcentury: has joined #ruby
[13:07:58] shevy: I like the yoghurt tool
[13:08:29] jhass: come to arch then
[13:08:36] jhass: have a package for everything
[13:09:20] shevy: I was using arch for some time! it was nice back then
[13:09:28] shevy: I don't remember when I stopped, I guess I had no real reason
[13:10:45] tristanp: has joined #ruby
[13:10:48] Yiota: has joined #ruby
[13:12:15] art-solopov: I mostly stopped when they had to wreck everything again. Systemd migration was painful, and then they were replacing the networking system, and I deemed it too much hassle. I moved to OpenSUSE, then to Mint, then to Manjaro. Then to Ubuntu because Manjaro wasn't playing well with my new graphics card.
[13:13:20] shevy: mint was quite nice, considering that it is debian based
[13:14:42] shevy: there were not many ruby-specific distributions. One that I only vaguely remember was one from brazil... they used some GUI written in ruby for the installer section
[13:15:19] jhass: I had more ubuntu's and debian's wreck on dist-upgrade than archs wreck ever
[13:16:36] jhass: most of my arch reinstalls were due to dead harddrives
[13:17:43] art-solopov: jhass: I just don't to dist upgrades anymore. I don't know what I'll do when 16.04.1 comes out. Probably will try to move to OpenSUSE. Again.
[13:18:13] jhass: well that's as good as reinstalling on dist-ugrade
[13:18:36] jhass: point is, with arch rarely more than one thing breaks at a time and you can figure it out and fix
[13:20:09] tristanp_: has joined #ruby
[13:22:29] art-solopov: That is true, but whatever breaks sometimes requires excuriatingly long manual fixing. That could've been done in a couple scripts too.
[13:22:32] User458764: has joined #ruby
[13:22:43] art-solopov: Actually, what puts me off Arch now is the fact that they got rid of the installation framework.
[13:23:25] hahuang65: has joined #ruby
[13:24:44] pawnbox: has joined #ruby
[13:25:24] tristanp: has joined #ruby
[13:26:12] Vingador: has joined #ruby
[13:27:08] Hyuk: has joined #ruby
[13:29:30] arlek: has joined #ruby
[13:29:48] pawnbox: has joined #ruby
[13:29:51] Devalo: has joined #ruby
[13:31:13] jhass: antergos gives you, albeit with opinionated defaults, a graphical installer for basically a vanilla arch
[13:32:30] kam270: has joined #ruby
[13:33:23] kam270: has joined #ruby
[13:33:54] kam270: has joined #ruby
[13:34:10] tristanp_: has joined #ruby
[13:34:50] kam270: has joined #ruby
[13:37:54] art-solopov: jhass: I'll try it, thanks! Or maybe I'll try Manjaro again. I've heard the open source NVidia drivers now mostly support my card.
[13:41:49] jhass: allan hates manjaro though ;)
[13:42:02] Yiota: has joined #ruby
[13:44:52] maletor2: has joined #ruby
[13:44:57] tristanp: has joined #ruby
[13:45:59] User458764: has joined #ruby
[13:49:14] elbrvm: has joined #ruby
[13:49:43] startupality: has joined #ruby
[13:50:51] malconis: has joined #ruby
[13:54:13] art-solopov: jhass: Allan? :O
[13:54:30] hugoxrosa: has joined #ruby
[13:54:53] jhass: pacman's lead dev
[13:55:21] davedev24: has joined #ruby
[13:55:23] jhass: http://allanmcrae.com/2013/01/manjaro-linux-ignoring-security-for-stability/
[13:56:41] chipotle: has joined #ruby
[13:57:44] Rutix: has joined #ruby
[13:57:45] Rutix: has joined #ruby
[13:59:13] art-solopov: jhass: I see...
[14:00:24] RegulationD: has joined #ruby
[14:00:38] d0lph1n98: has joined #ruby
[14:01:03] karmatr0n: has joined #ruby
[14:01:06] Es0teric: has joined #ruby
[14:08:29] craigp_: has joined #ruby
[14:13:11] tristanp_: has joined #ruby
[14:19:50] jancel: has joined #ruby
[14:21:13] d0lph1n98: has joined #ruby
[14:23:49] p0p0pr37_: has joined #ruby
[14:27:18] chipotle: has joined #ruby
[14:28:24] davedev24: has joined #ruby
[14:28:28] tristanp: has joined #ruby
[14:31:38] mercerist: has joined #ruby
[14:32:28] chouhoulis: has joined #ruby
[14:32:29] duckpuppy: has joined #ruby
[14:32:36] agit0: has joined #ruby
[14:33:36] A124: has joined #ruby
[14:36:26] workmad3: has joined #ruby
[14:37:58] wingedsnake: has joined #ruby
[14:40:30] blackthor: has joined #ruby
[14:41:11] blackthor: has joined #ruby
[14:43:31] davedev24: has joined #ruby
[14:45:39] maletor2: has joined #ruby
[14:46:02] aef: has joined #ruby
[14:56:14] LoneHerm_: has joined #ruby
[14:57:55] Ropeney: has joined #ruby
[15:00:38] Biopandemic: has joined #ruby
[15:00:48] rbennacer: has joined #ruby
[15:01:57] karmatr0n: has joined #ruby
[15:07:37] nankyokusei: has joined #ruby
[15:08:51] daveomcd: has joined #ruby
[15:10:13] craigp_: has joined #ruby
[15:10:51] mdw: has joined #ruby
[15:18:26] imperator: has joined #ruby
[15:19:28] karapetyan: has joined #ruby
[15:20:02] rbennacer: has joined #ruby
[15:21:08] bob434: has joined #ruby
[15:22:13] rapha: Is there a more concise way of recursively searching a directory's contents for a string than to first use Dir.glob and then .read and .match through every file?
[15:23:22] rapha: I.e. a Ruby version of `grep -r "^.blahwhatever$" /some/where/`...
[15:23:28] karapetyan: has joined #ruby
[15:24:03] TTilus: rapha: what do you want ruby version for? why not just go with grep, ack or whatnot?
[15:24:09] hahuang65: has joined #ruby
[15:25:51] banister: has joined #ruby
[15:26:20] shevy: rapha I usually end up being lazy and just use grep; in ruby, you'd have to read in the whole dataset stored in files, then use .scan to find the match, then feedback which files contain this string
[15:26:40] rapha: TTilus: It's part of a Ruby script and I like to use cases where I could get away by using `` to learn something new instead. Also, I not only need the matching LINES, I also need a specific PART of each matching line, which would require something other than `grep` anyways.
[15:27:22] rapha: shevy: Ah, I don't need to know what files the string occurs in! That's another difference. But okay, so by using Dir.glob, .read and .match I'm already on the "most concise" track.
[15:27:40] jhass: .scan possibly
[15:27:49] rapha: ACTION reads up on .scan
[15:28:24] rapha: jhass: You mean StringScanner#scan, correct?
[15:28:34] jhass: no, String#scan
[15:28:38] habitullence: has joined #ruby
[15:29:57] jhass: share you code once done, might be able to see something then
[15:30:29] hutch34: has joined #ruby
[15:30:33] SMackMyBitchUp: has joined #ruby
[15:30:40] Vingador: has joined #ruby
[15:31:58] nanoz: has joined #ruby
[15:32:06] SMackMyBitchUp: Hello World, Im learning Ruby to get a better job and im struggling with HTTParty gem - anyone's in the modd to helpa stranger?
[15:32:23] rapha: jhass: will do!
[15:32:40] ruby[bot]: Just ask your question, if anyone has or can, they will respond.
[15:32:57] alfiemax: has joined #ruby
[15:33:09] jhass: though that nick might not help you too much ;)
[15:34:14] rapha: "to smack someone up", is that a colloquialism for "to make someone pregnant"?
[15:34:49] alfiemax: jhass, you said earlier that rbenv is the least used one, which one do you use?(i use rvm) and what other alternatives do you prefer?
[15:35:09] jhass: I use chruby personally
[15:35:19] fenre: has joined #ruby
[15:35:36] SMackMyBitchUp: Well im doing the Ruby intro on Coursera, and were doing HTTParty Food2Fork.com API integration. ive got an assignment to write down the class that should hanlde all the heavylifting so that I'll get the JSONs and turn them inot ruby hashes. heres the assignment instructions https://github.com/jhu-ep-coursera/fullstack-course1-module3/blob/master/Assignments/Lesson03-Assignment01-HTTP-Client/README.pdf
[15:36:08] firstdayonthejob: has joined #ruby
[15:36:10] User458764: has joined #ruby
[15:37:04] tristanp: has joined #ruby
[15:38:33] SMackMyBitchUp: now's the question ; I've got a rspec file to test my Class, but it doesnt let me see what im doing wrong. So what I'm actually asking - how can I check if my Class is really parsing the API and display it somewhere for me to see whats wrong with it(the included rspec tells me its doesnt get the ahshes it wants)
[15:40:16] Es0teric: has joined #ruby
[15:40:19] jhass: it does tell you what's wrong, look harder at the output (and gist it if you still need help)
[15:42:17] SilverKey: has joined #ruby
[15:43:11] SMackMyBitchUp: heres a log of the first Fail on my rspec : http://pastebin.com/dwk46tDe
[15:43:13] ruby[bot]: SMackMyBitchUp: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/807609ffef55dde44adeeacd063fa8a7
[15:43:13] ruby[bot]: SMackMyBitchUp: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[15:43:59] Tempesta: has joined #ruby
[15:44:11] SMackMyBitchUp: https://gist.github.com/anonymous/e8219c4b13048852da2e1ba58cce941b
[15:44:57] jhass: run the requests with curl or whatever and follow the instructions to provide stub responses. Also we have your API key now btw
[15:45:23] zenguy_pc: has joined #ruby
[15:45:39] rapha: jhass: this here works (with the data I have currently), and uses .scan. IMO it's quite readable like that, and because big_string won't be *that* big, the algorithm should be okay as well.
[15:45:44] rapha: https://gist.github.com/sixtyfive/dafc1fd138705d500909ce03f0a696d8
[15:45:54] SMackMyBitchUp: will check curl and those stubs youve told me about, have fun with my key on food2fork, dont sped all the 500 queries all at once!
[15:46:24] maletor2: has joined #ruby
[15:46:44] LoneHerm_: has joined #ruby
[15:47:27] goeast: has joined #ruby
[15:47:38] rapha: SMackMyBitchUp: great, now I've discovered that website I'll have to make a coding break and cook something yummy.
[15:48:23] fulldecent: has joined #ruby
[15:48:58] jhass: rapha: https://p.jhass.eu/26.rb
[15:50:21] jhass: I wouldn't expect you to gain anything by reading it into a single string
[15:50:32] tristanp: has joined #ruby
[15:50:43] jhass: the allocation overhead will most likely be bigger or as big as the method call overhead of calling it on each
[15:51:27] fulldecent: Assume a maliciously-created gem made it into whereever gems come from. If I run `gem` as root to install it, would that gem have access to my system as root, or only as the user that uses the installed gem?
[15:52:42] jhass: gem does have ways to run code at compile time
[15:52:44] jhass: so the former
[15:52:47] weemsledeux: has joined #ruby
[15:53:12] jhass: s/compile/install
[15:53:21] Gasher: hello, I'm using "colorize" for customising terminal output. it has a method called "blink" - how does it work? I see no difference
[15:53:47] Papierkorb: Gasher: Blinking is not supported by all terminal emulators (or disabled by default in some)
[15:54:10] Gasher: what does it do? I'm using gnome terminal with bash
[15:54:33] jhass: it's an ANSI code, too https://github.com/fazibear/colorize/blob/1513bb3119fa87cdc95d4d18c696754e40fe7ca5/lib/colorize/class_methods.rb#L80
[15:54:41] jhass: not supported by your terminal apparently
[15:54:41] Papierkorb: Gasher: it makes the text blink (show up/disappear) every second or so. It's the <marquee> of terminals.
[15:54:46] yfeldblum: has joined #ruby
[15:54:54] benlieb: has joined #ruby
[15:55:06] Gasher: thanks. I never heard of "marquee"
[15:55:34] tristanp: has joined #ruby
[15:55:43] xall: has joined #ruby
[15:55:50] rapha: jhass: Oh, thank you for that piece of code. That's an interesting idea to split it into two methods. What is the reason though for the first method's first line?
[15:55:50] Papierkorb: Gasher: https://developer.mozilla.org/en/docs/Web/HTML/Element/marquee scroll down for examples if you want to see the horror
[15:56:14] dh64: has joined #ruby
[15:56:17] jhass: rapha: http://devdocs.io/ruby~2.3/object#method-i-to_enum
[15:56:38] jhass: gives you all of Enumerable's power when calling it
[15:57:15] Gasher: Papierkorb; looks pretty terrible :D
[15:57:22] rapha: jhass: yes, I googled that, but your code puzzles me still (perhaps because I've never really understood the concepts behind Enumerable)
[15:58:23] tvw: has joined #ruby
[15:59:13] jhass: rapha: well copy it to irb/pry and play with different ways of invoking it
[15:59:21] rapha: jhass: okay, will do!
[15:59:27] fulldecent: has joined #ruby
[15:59:30] fulldecent: @jhass thank you
[15:59:45] jhass: rapha: passing a block, looking at the return value if you don't pass a block mainly
[16:00:07] jhass: look at what methods the latter provides and how they behave
[16:00:07] dhaavhincy: has joined #ruby
[16:01:07] rapha: jhass: wow, you put many more christmas presents in there for me! I'll have to type it down myself instead of copy&pasting it! :)
[16:02:10] maloik: has joined #ruby
[16:02:51] karmatr0n: has joined #ruby
[16:02:51] jancel: has joined #ruby
[16:06:48] dhk: has joined #ruby
[16:07:24] jackjackdripper: has joined #ruby
[16:08:42] dionysus69: has joined #ruby
[16:10:01] pawnbox: has joined #ruby
[16:10:57] craigp_: has joined #ruby
[16:12:30] ebbflowgo: has joined #ruby
[16:12:46] fenre: has joined #ruby
[16:15:18] shevy: santa jhass
[16:15:22] rkazak: has joined #ruby
[16:16:41] statelesscode: has joined #ruby
[16:17:40] Gasher: has joined #ruby
[16:18:02] Gasher: my internet disconnected...
[16:18:06] Gasher: <Gasher> is ncurses still "the thing" to use for terminal interfaces? or is there something better/easier for Ruby?
[16:18:22] shevy: ewww ncurses
[16:18:32] norc_: Gasher, depends on your goals really
[16:18:37] norc_: Gasher, what are your needs?
[16:19:14] Gasher: just want to learn the general terminal interface stuff, for some programs, but for now I'm thinking about making a snake game
[16:19:50] shevy: you could do ascii snake! or unicode symbols, like those blocks. you can even have a snowman posing as a snake!
[16:20:49] Gasher: all I can do 'from scratch' is something that's not scaling with terminal size and spams the terminal
[16:22:45] mdw: has joined #ruby
[16:23:13] Gasher: also, I don't know what the difference between curses and ncurses is
[16:23:14] shevy: snake 0.1
[16:23:29] adaedra: I think one is a bit more recent or something like that.
[16:23:32] mdw7: has joined #ruby
[16:25:59] SMackMyBitchUp: Hello world, im back with another question (still messsing around with the HTTParty tho'...). I've installed a gem but i cant seem to run it ; I've checked dependencies and bundled it a few times to make sure, but still no cigar: heres the output when i try to run it: https://gist.github.com/anonymous/c770ba6bf0579822fd9628d5cb320075
[16:26:34] benzrf: Gasher: in my experience, curses is named after the words that people say while using it
[16:27:06] benzrf: if i were you, i'd google for higher-level interfaces people have implemented on top of it for ruby
[16:27:09] A124: has joined #ruby
[16:27:20] joonty: has joined #ruby
[16:28:10] Tempesta: has joined #ruby
[16:30:48] hutch34: has joined #ruby
[16:30:52] leogouveia: has joined #ruby
[16:31:32] SilverKey: has joined #ruby
[16:31:34] mleung: has joined #ruby
[16:32:44] nando293921: has joined #ruby
[16:33:17] duckpuppy: has joined #ruby
[16:33:18] A124: has joined #ruby
[16:34:42] ebbflowgo: has joined #ruby
[16:34:43] chip_: has joined #ruby
[16:34:48] Seanzie: has joined #ruby
[16:35:54] Cohedrin: has joined #ruby
[16:37:04] pawnbox_: has joined #ruby
[16:37:25] tristanp: has joined #ruby
[16:41:37] tristanp: has joined #ruby
[16:42:15] startupality: has joined #ruby
[16:46:18] i8igmac: has joined #ruby
[16:47:12] maletor2: has joined #ruby
[16:48:32] rkazak: has joined #ruby
[16:52:29] zenguy_pc: has joined #ruby
[17:00:29] Guest38693: has joined #ruby
[17:03:51] karmatr0n: has joined #ruby
[17:04:39] rapha: Gasher: http://www.awesomecommandlineapps.com/gems.html
[17:05:29] tristanp_: has joined #ruby
[17:05:33] nando293921: has joined #ruby
[17:05:59] symm-: has joined #ruby
[17:07:36] hahuang65: has joined #ruby
[17:08:00] shevy: "either due to names that are too generic (main) or too bizzare (trollop)"
[17:08:30] nankyokusei: has joined #ruby
[17:11:02] tristanp: has joined #ruby
[17:11:41] craigp_: has joined #ruby
[17:12:18] roamingdog: has joined #ruby
[17:12:55] kareeoleez: has joined #ruby
[17:13:22] startupality: has joined #ruby
[17:13:35] karapetyan: has joined #ruby
[17:13:36] nettoweb: has joined #ruby
[17:14:12] zeroDi: has joined #ruby
[17:14:28] binaryplease: has joined #ruby
[17:15:08] allcentury: has joined #ruby
[17:18:19] User458764: has joined #ruby
[17:19:52] fenre: has joined #ruby
[17:24:32] skweek: has joined #ruby
[17:28:22] pawnbox: has joined #ruby
[17:29:51] symm-: has joined #ruby
[17:32:46] tristanp_: has joined #ruby
[17:33:32] wingedsnake: has joined #ruby
[17:34:14] Seanzie: has joined #ruby
[17:35:21] mdw: has joined #ruby
[17:37:44] Hyuk: has joined #ruby
[17:37:49] LoneHerm_: has joined #ruby
[17:38:02] tristanp: has joined #ruby
[17:39:21] hk238: has joined #ruby
[17:43:31] mleung: has joined #ruby
[17:45:16] Nahra: has joined #ruby
[17:47:30] fenre: has joined #ruby
[17:47:32] mleung: has joined #ruby
[17:47:57] RegulationD: has joined #ruby
[17:48:00] maletor2: has joined #ruby
[17:52:43] karapetyan: has joined #ruby
[17:53:29] |meta: has joined #ruby
[17:56:30] art-solopov: has joined #ruby
[17:59:10] stephen_m: has joined #ruby
[17:59:16] jaguarmagenta: has joined #ruby
[17:59:25] stephen_m: has left #ruby: ()
[17:59:52] smathy: has joined #ruby
[18:02:29] smathy: has joined #ruby
[18:04:29] tristanp_: has joined #ruby
[18:04:42] karmatr0n: has joined #ruby
[18:07:14] tristanp: has joined #ruby
[18:09:37] nofxx: has joined #ruby
[18:11:26] blackthor: has joined #ruby
[18:12:39] tristanp_: has joined #ruby
[18:12:52] craigp_: has joined #ruby
[18:14:13] zapata: has joined #ruby
[18:16:47] allcentury: has joined #ruby
[18:17:42] xkapastel: has joined #ruby
[18:18:40] ebbflowgo: has joined #ruby
[18:24:44] davedev24: has joined #ruby
[18:25:18] QpQ4: has joined #ruby
[18:26:25] arlek: has joined #ruby
[18:26:34] diegoviola: has joined #ruby
[18:26:55] djbkd: has joined #ruby
[18:30:42] mercerist: has joined #ruby
[18:32:19] iamvery: has joined #ruby
[18:32:48] Sammichmaker: has joined #ruby
[18:33:08] Sammichmaker: has joined #ruby
[18:34:01] duckpuppy: has joined #ruby
[18:34:31] Axy: has joined #ruby
[18:38:12] Mia: has joined #ruby
[18:38:12] Mia: has joined #ruby
[18:39:22] LoneHerm_: has joined #ruby
[18:40:36] craigp_: has joined #ruby
[18:46:03] tristanp: has joined #ruby
[18:46:23] Devalo: has joined #ruby
[18:48:45] maletor2: has joined #ruby
[18:49:03] spudowiar: has joined #ruby
[18:49:26] hutch34: has joined #ruby
[18:49:56] tristanp_: has joined #ruby
[18:50:31] User458764: has joined #ruby
[18:52:20] tristanp: has joined #ruby
[18:52:57] karapetyan: has joined #ruby
[18:56:13] cinch: has joined #ruby
[18:57:00] cinch: make check -> conftest.c:3:21: fatal error: ffi/ffi.h: No such file or directory any ideas?
[18:57:07] cinch: on ubuntu 16.04
[18:57:51] bob434: has joined #ruby
[18:57:59] Hanmac: cinch: how did you get that, what are you trying to do and did you install all the build dependencies?
[18:58:49] cinch: hanmac, im compiling the git version of ruby
[18:59:06] cinch: hanmac, im not sure if i have all dependencies, which are needed?
[18:59:29] Hanmac: cinch: try "apt-get build-dep ruby2.3"
[19:00:09] karapetyan: has joined #ruby
[19:02:05] nando293921: has joined #ruby
[19:03:35] nadir: has joined #ruby
[19:04:53] davedev24: has joined #ruby
[19:05:36] karmatr0n: has joined #ruby
[19:07:50] bob434: has joined #ruby
[19:09:23] nankyokusei: has joined #ruby
[19:10:49] dionysus69: has joined #ruby
[19:10:54] tristanp_: has joined #ruby
[19:10:54] rickmasta: has joined #ruby
[19:11:50] Yzguy: has joined #ruby
[19:14:01] tristanp: has joined #ruby
[19:14:13] jaguarmagenta: has joined #ruby
[19:14:27] TinkerTyper: has joined #ruby
[19:17:39] tristanp_: has joined #ruby
[19:18:23] chromis: has left #ruby: ()
[19:18:54] choke: has joined #ruby
[19:22:00] davedev24: has joined #ruby
[19:22:07] x0F: has joined #ruby
[19:31:04] QpQ4: has joined #ruby
[19:32:28] poguez_: has joined #ruby
[19:32:36] norc_: cinch, how did you configure ruby?
[19:33:26] jancel: has joined #ruby
[19:35:23] Dimik: has joined #ruby
[19:35:55] roelof: has joined #ruby
[19:38:03] roelof: Hello, I have this string : ('.... . -.-- .--- ..- -.. .') and I have decode it. Now I can use string.split(' ') but then I loose the double space between the --.-- and .--- so I do not know then were the first word ends
[19:38:15] roelof: how to solve this ?
[19:39:14] alfiemax: whats this morse code ?
[19:39:25] elifoster: has joined #ruby
[19:39:29] baweaver: roelof what have you tried?
[19:39:56] roelof: baweaver: only string.split
[19:40:21] baweaver: do you know what a delimiter is?
[19:40:24] roelof: Im thinking of string.each but I think I see then only the . or _ seperate
[19:40:52] roelof: baweaver: yep, I was using a space is delimeter
[19:40:54] baweaver: think. There are two types
[19:40:59] baweaver: in this format
[19:41:19] norc_: roelof, split by word boundaries first split(' '), and then split each word into characters?
[19:41:45] norc_: (That is unless you want to scan manually)
[19:41:49] baweaver: norc_ was getting there...
[19:43:29] binaryplease: has joined #ruby
[19:43:59] roelof: oke,what I did was string.split.map { |code| MORSE_CODE[code] } but then I see this ["H","E", "Y", "J", "U", "D", "E"] so it seems I lost to see where the space between the Y and J is
[19:44:38] roelof: in this case. There could be spaces between words in other places
[19:44:52] baweaver: roelof: please read
[19:45:21] norc_: roelof, and if this is morse code you can simply remove single spaces.
[19:45:27] symm-: has joined #ruby
[19:45:35] baweaver: not with their translation method
[19:45:57] baweaver: as mentioned before, there are two delimiters in this, one and two spaces
[19:46:02] tommylommykins: has joined #ruby
[19:46:06] baweaver: think on why that's significant
[19:46:06] roelof: oke, what you want is first split it into [ "... . -.--" , ", ".--- ..- -.. .' ] and then to [ [
[19:47:47] roelof: oke, what you want is first split it into [ "... . -.--" , ", ".--- ..- -.. .' ] and then to [ ["...", ".", "-.--] , [ "---, "-.." , "."] ] and then translate it into the real charaters, Right ?
[19:47:58] baweaver: give it a shot
[19:48:38] roelof: oke, I will, Thanks for the idea
[19:48:48] RegulationD: has joined #ruby
[19:49:32] maletor2: has joined #ruby
[19:52:41] nando293921: has joined #ruby
[19:54:40] tristanp: has joined #ruby
[19:56:01] mentress: has joined #ruby
[19:59:05] dionysus69: has joined #ruby
[19:59:40] tristanp_: has joined #ruby
[20:01:28] karapetyan: has joined #ruby
[20:02:17] d0nn1e: has joined #ruby
[20:04:32] bob434: has joined #ruby
[20:05:45] Devalo: has joined #ruby
[20:06:20] choke: has joined #ruby
[20:06:33] karmatr0n: has joined #ruby
[20:06:35] symm-: has joined #ruby
[20:07:47] ignoch: has joined #ruby
[20:07:56] swistak35: has joined #ruby
[20:09:00] agit0: has joined #ruby
[20:10:41] yfeldblum: has joined #ruby
[20:12:23] yfeldblum: has joined #ruby
[20:14:36] Coldblackice: has joined #ruby
[20:15:20] dessm: has joined #ruby
[20:16:32] dessm: Hello :) I am struggling to understand the following: "123".to_i is an integer; "123".to_i.class returns Integer; yet "123".to_i.class.is_a?(Integer) returns false. Why is this? Thank you.
[20:17:13] dessm: (the last turns out to be a module for some reason)
[20:18:51] jhass: >> 123".to_i.class.is_a?(Integer)
[20:18:52] ruby[bot]: jhass: # => /tmp/execpad-47ce2f963d9b/source-47ce2f963d9b:2: syntax error, unexpected tSTRING_BEG, expecting key ...check link for more (https://eval.in/578680)
[20:18:58] jhass: >> "123".to_i.class.is_a?(Integer)
[20:18:59] ruby[bot]: jhass: # => false (https://eval.in/578681)
[20:19:06] jhass: oh, right
[20:19:13] jhass: >> "123".to_i.is_a?(Integer)
[20:19:14] ruby[bot]: jhass: # => true (https://eval.in/578682)
[20:19:34] hightower3: dessm, .class results in object of type Class, not Integer
[20:19:41] jhass: dessm: .is_a? checks whether it's an instance, Integer in fact is not an instance of Integer
[20:19:58] weemsledeux: has joined #ruby
[20:20:37] jhass: (nor Fixnum is for non-head rubies)
[20:21:46] dessm: ah I see. So how would I then check whether something is of a particular class if this approach doesn't work?
[20:22:38] hightower3: dessm, '123'.to_i.is_a? Integer, not to_i.class.is_a?
[20:23:16] PaulCape_: has joined #ruby
[20:23:17] xybre: >> Integer === 4
[20:23:18] ruby[bot]: xybre: # => true (https://eval.in/578683)
[20:23:55] jhass: ^ is for case/when, usage outside is discouraged
[20:25:38] Ebok: has joined #ruby
[20:25:42] SCHAAP137: has joined #ruby
[20:26:05] dessm: oh I see. Duh. Thank you very much, I don't know how I didn't see that :)
[20:26:50] LoneHermit: has joined #ruby
[20:30:40] hightower3: dessm, but there is no point in calling .to_i and then asking whether is_a? Integer. String.to_i will always give you integer, which will be 0 in worst case
[20:31:01] hightower3: So in any case to_i will give you int
[20:32:30] last_staff: has joined #ruby
[20:32:37] dessm: Yeah I just realized that by trying it out in the irb. Thanks again everyone, sometimes these little issues can cost a lot of time while learning without out providing much benefit so it can be quite helpful to have someone point out these kind of mistakes (even if they should be obvious) :)
[20:34:47] duckpuppy: has joined #ruby
[20:38:05] diego1: has joined #ruby
[20:38:15] diego1: has joined #ruby
[20:42:50] tristanp: has joined #ruby
[20:47:01] tristanp_: has joined #ruby
[20:49:48] symm-: has joined #ruby
[20:50:17] maletor2: has joined #ruby
[20:50:41] diego1: has joined #ruby
[20:50:46] tristanp: has joined #ruby
[20:51:26] jancel: has joined #ruby
[20:51:28] hutch34: has joined #ruby
[20:54:28] yfeldblum: has joined #ruby
[20:57:59] matugm: has joined #ruby
[20:57:59] matugm: has joined #ruby
[20:58:01] allcentury: has joined #ruby
[20:58:04] mleung: has joined #ruby
[20:59:17] duncannz: has joined #ruby
[20:59:38] chip_: has joined #ruby
[21:00:35] rbr: has joined #ruby
[21:01:57] diego1: has joined #ruby
[21:02:54] karapetyan: has joined #ruby
[21:07:18] dessm: has left #ruby: ()
[21:07:26] karmatr0n: has joined #ruby
[21:08:48] PaulCapestany: has joined #ruby
[21:10:13] nankyokusei: has joined #ruby
[21:13:30] crameth: has joined #ruby
[21:14:04] symm-_: has joined #ruby
[21:15:43] kareeole_: has joined #ruby
[21:17:46] hippyphysicist: has joined #ruby
[21:19:14] bobbycvi: has joined #ruby
[21:19:21] tristanp: has joined #ruby
[21:22:11] tristanp_: has joined #ruby
[21:22:21] gregf: has joined #ruby
[21:25:25] tristanp: has joined #ruby
[21:25:41] choke: has joined #ruby
[21:26:05] A124: has joined #ruby
[21:27:13] tristanm_: has joined #ruby
[21:31:07] shevy: elementaru! you have come to save us
[21:32:09] elementaru: I have this small headache
[21:32:23] elementaru: pastebin.ca/3612604
[21:32:45] bollullera: has joined #ruby
[21:32:47] elementaru: so I understand that lambda can't call itself because it doesn't see what l equals
[21:33:17] elementaru: is there a way for it to repeat itself with a new parameter?
[21:34:19] elementaru: I tried googling and it seems recursive lambdas are a isn't the simplest solution, so maybe some other way to achieve what I want?
[21:34:34] floatingpoint: has joined #ruby
[21:34:42] elementaru: I mean I could make a method, and then it will be able to call itself
[21:34:46] bollullera: has left #ruby: ()
[21:34:52] shevy: interesting
[21:35:02] shevy: to want to call the lambda method from within itself via .call
[21:35:38] gregf: has joined #ruby
[21:35:48] shevy: but indeed, use a method?
[21:36:21] elementaru: method it is then.
[21:36:38] symm-: has joined #ruby
[21:36:57] elementaru: I just thought, since it's such small function, maybe there's a way for it to repeat without separate method and passing all the parameters to it
[21:37:08] shevy: pretty interesting idea, I have not yet had that myself. I don't even think I actually heard the phrase "recursive lambda" before either
[21:37:44] shevy: like those matryoshka dolls
[21:37:55] yfeldblum: has joined #ruby
[21:38:31] elementaru: I googled recursive lambdas, the problem is for my situation, that they can't pass a new variable which would have been received within the lambda
[21:39:08] elementaru: at least as I understood
[21:42:35] adaedra: >> fact = -> (fact, n) { n > 0 ? n * fact.call(fact, n - 1) : 1 }; fact = fact.curry[fact]; fact.call(5) # Not the most elegant
[21:42:36] ruby[bot]: adaedra: # => 120 (https://eval.in/578686)
[21:47:08] JoshGlzBrk: has joined #ruby
[21:48:53] yqt: has joined #ruby
[21:48:56] symm-: has joined #ruby
[21:49:06] tristanp: has joined #ruby
[21:50:57] jxs_: has joined #ruby
[21:51:02] LoneHerm_: has joined #ruby
[21:51:03] maletor2: has joined #ruby
[21:51:34] art-solopov: has joined #ruby
[21:51:35] |ifei5good: has joined #ruby
[21:51:35] tristanp_: has joined #ruby
[21:52:54] Coldblackice: has joined #ruby
[21:54:21] tristanm_: has joined #ruby
[21:55:30] bluOxigen: has joined #ruby
[21:56:19] jancel: has joined #ruby
[21:58:18] symm-: has joined #ruby
[21:59:10] Coldblackice: has joined #ruby
[22:00:47] yfeldblum: has joined #ruby
[22:03:55] jhass: elementaru: you need the z-combinator afaik :P
[22:04:14] karapetyan: has joined #ruby
[22:04:50] thejamespinto: has joined #ruby
[22:05:33] jhass: elementaru: https://rosettacode.org/wiki/Y_combinator#Ruby
[22:05:39] thejamespinto: hey guys, can you tell me if there is a `rspec -f documentation` equivalent in test-unit?
[22:06:49] yfeldblum: has joined #ruby
[22:07:47] MrBusiness2: has joined #ruby
[22:07:50] adaedra: you can look at minitest-reporters
[22:08:04] tristanp: has joined #ruby
[22:08:23] karmatr0n: has joined #ruby
[22:09:46] mdw: has joined #ruby
[22:09:57] z0id: has joined #ruby
[22:10:36] am55: has joined #ruby
[22:11:01] thejamespinto: adaedra: What about test-unit?
[22:11:12] tristanp_: has joined #ruby
[22:20:57] workmad3_: has joined #ruby
[22:23:39] thejamespinto: adaedra: I'm serious
[22:24:09] thejamespinto: test-unit users don't have anything for different reporters?
[22:24:38] thejamespinto: I've done my research, but I thought here would be a good place to ask
[22:24:51] adaedra: I don't into Test::Unit, I even forgot about it, hence my misplaced minitest answer.
[22:25:38] thejamespinto: I own a gem that does custom reporters for ruby tests, I've already integrated with minitest and rspec
[22:25:42] postmodern: has joined #ruby
[22:25:51] thejamespinto: so I was looking to integrate with test unit too because some people do ask
[22:26:05] workmad3: has joined #ruby
[22:26:21] MrBusiness2: has joined #ruby
[22:26:53] adaedra: I thought it was dead
[22:26:55] patrick_star_3: has joined #ruby
[22:27:09] jhass: minitest replaced test-unit
[22:27:17] jhass: supposed to be API compatible even afaik
[22:27:49] jhass: so projects still active interested in using your gem would just switch to minitest at the same time easily
[22:27:54] tristanp: has joined #ruby
[22:29:35] elifoster: has joined #ruby
[22:30:17] pawnbox: has joined #ruby
[22:30:36] thejamespinto: jhass: oh thanks
[22:30:57] thejamespinto: jhass: is there like a formal place where people ever said that? I just wanted to leave a link in the FAQ
[22:31:09] tmtwd: has joined #ruby
[22:31:35] xlegoman_: has joined #ruby
[22:33:51] tristanp_: has joined #ruby
[22:34:51] jhass: mmh, looks like test-unit is still a bundled gem after all, maybe I was wrong
[22:35:19] adaedra: I remembered something like that too, tbh
[22:35:24] thejamespinto: you know, I was going to write a reporter myself
[22:35:34] duckpuppy: has joined #ruby
[22:35:34] Es0teric: has joined #ruby
[22:35:34] thejamespinto: but if there's something out there I could integrate, it would be easier
[22:36:04] thejamespinto: I even made a contribution to minitest-reporters that made my life easier while overriding something at their SpecReporter
[22:36:59] tristanp: has joined #ruby
[22:39:44] tristanp_: has joined #ruby
[22:39:44] ramfjord: has joined #ruby
[22:44:18] millerti: has joined #ruby
[22:49:43] phredus_: Hello all, hey guys what version of ruby is mostly being used currently?
[22:50:24] MrBusiness2: has joined #ruby
[22:51:51] maletor2: has joined #ruby
[22:52:14] hutch34: has joined #ruby
[22:54:03] shevy: only distributions lag behind because they are snails
[22:54:13] thejamespinto: phredus_: most projects upgrade before it gets too far behind on ruby versions
[22:54:49] MrBusiness3: has joined #ruby
[22:55:00] tvw: has joined #ruby
[22:55:37] Devalo: has joined #ruby
[22:55:37] thejamespinto: shevy: 2.4.0 is under development now, when it comes out, that's what people will start using it
[22:56:05] art-solopov: shevy: Where I work, we still use 2.1...
[22:56:12] mkosaki: has joined #ruby
[22:56:16] jhass: phredus_: always prefer the latest release, the ecosystem is usually quick to support it
[22:56:20] phredus_: ok, thanks guys so ruby 2.3 with rails 4.26 seens same then?
[22:56:51] phredus_: *seems sane
[22:57:07] thejamespinto: phredus_: are you coming from mobile dev?
[22:57:25] thejamespinto: I'm asking because that's where people are concerned about versions
[22:57:34] phredus_: no, I be noob about a year or hard hello worlds
[22:57:48] phredus_: wow I cant type
[22:57:58] thejamespinto: phredus_: leave Rails 5 for the pros because it goes unstable depending on which other gems you are using
[22:58:22] art-solopov: Yeah, sticking with the latest stable should be fine for learning IMHO.
[22:58:43] mkosaki_: has joined #ruby
[22:58:43] thejamespinto: but that's because Rails 5 hasn't released a stable version yet
[22:58:45] thejamespinto: other than that, the latest version is always the best version ;)
[22:58:48] bob434: has joined #ruby
[22:59:00] phredus_: yes I will I hear good things but I am most interested in learning to code rather than to fight bugs, thanks
[23:01:10] mkosaki__: has joined #ruby
[23:01:10] thejamespinto: Ruby 2.3.1 Rails 4.2.6 ;)
[23:01:35] phredus_: thejamespinto: Will do, thanks
[23:01:53] mkosaki: has joined #ruby
[23:02:35] jhass: oh and actually
[23:02:36] mkosaki__: has joined #ruby
[23:02:44] jhass: ?crosspost phredus_
[23:02:44] ruby[bot]: phredus_: Please do not crosspost without at least telling so and mentioning provided suggestions and their outcome in all channels. Experience shows that people don't do either, and not doing so is considered rude.
[23:02:58] thejamespinto: phredus_: things you may want to check... http://ruby-doc.org/core-2.3.1/String.html check the doc pages for String, Array and Hash knowing which methods these 3 have is a good time saver... And you want to read everything under Models, Views and Controllers from the guides site http://guides.rubyonrails.org/getting_started.html
[23:03:43] karapetyan: has joined #ruby
[23:04:00] nettoweb: has joined #ruby
[23:04:15] phredus_: thejamespinto: Hey thank you very much that is thoghtful of you, I will read, it looks like it could help me a lot
[23:05:06] mkosaki_: has joined #ruby
[23:05:40] thejamespinto: phredus_: String, Hash, Array, Model, View, Controller. You have no idea how many questions and how much dirty code is out there because people have not read enough on those 6
[23:06:41] thejamespinto: don't laugh when you should be crying :D
[23:06:55] thejamespinto: don't laugh when you should be crying :'(
[23:07:45] tristanp: has joined #ruby
[23:09:15] karmatr0n: has joined #ruby
[23:09:56] mdw7: has joined #ruby
[23:11:04] nankyokusei: has joined #ruby
[23:12:03] tristanp_: has joined #ruby
[23:15:02] MrBusiness3: has joined #ruby
[23:15:15] tristanp: has joined #ruby
[23:18:09] tristanp_: has joined #ruby
[23:19:32] millerti: has joined #ruby
[23:20:29] domgetter: has joined #ruby
[23:22:26] ur5us: has joined #ruby
[23:22:57] dumdedum: has joined #ruby
[23:23:18] Axy: has joined #ruby
[23:23:18] Axy: has joined #ruby
[23:24:04] diegoaguilar: has joined #ruby
[23:24:40] shevy: hmm semi-off topic but I am currently implementing some colour schemes for a ruby project
[23:24:51] nettoweb: has joined #ruby
[23:24:59] voodoofish430: has joined #ruby
[23:25:02] Dimik: has joined #ruby
[23:25:14] shevy: would you rather use #FFC800 or rather #ffc800 for a colour code? upper or lowercased that is (It may be displayed on a webpage)
[23:25:48] rickmasta: has joined #ruby
[23:26:01] aibot: has joined #ruby
[23:27:47] n_blownapart: has joined #ruby
[23:27:52] PaulCape_: has joined #ruby
[23:28:46] MrBusiness: has joined #ruby
[23:30:43] thejamespinto: yeah, caps if the choice is there
[23:30:50] tristanp: has joined #ruby
[23:33:31] ule: hey guys.. someone here that have been working with mongoid?
[23:33:49] ule: how can I search for something inside an array ?
[23:35:54] jaguarmagenta: has joined #ruby
[23:39:50] LoneHerm_: has joined #ruby
[23:41:34] shevy: ule in plain ruby?
[23:41:44] shevy: I don't know mongoid
[23:41:54] PaulCapestany: has joined #ruby
[23:43:02] tmtwd: has joined #ruby
[23:44:27] tristanp: has joined #ruby
[23:46:19] shevy: hmm I am seeing a lot of private and protected used in old code written by someone else. these only refer to methods right? I am asking because the way how the author arranged class instance variables such as: class Foo; @foo = 5; end; confuses me... he put them all after "private" keyword... and I actually don't see any method used afterwards, so I am confused twice...
[23:47:35] jhass: yes they only apply to methods
[23:47:46] jhass: instance methods even
[23:47:58] jhass: the author of that code was probably just confused
[23:48:16] shevy: may be... is code from 2005 :(
[23:48:42] zeroDi: has joined #ruby
[23:49:59] shevy: lots of autoloading going on too, I wonder if I should keep that autoload specific part too... like 10 autoload, for 10 different files, all have only about ... 50 lines, including empty lines
[23:50:13] tristanp: has joined #ruby
[23:50:15] RegulationD: has joined #ruby
[23:50:39] shevy: literally like 10 small classes
[23:51:04] shevy: that is the first time that I am seeing this actually. Usually, I expected to see autoload used for larger projects
[23:52:36] maletor2: has joined #ruby
[23:55:24] tristanp_: has joined #ruby
[23:57:25] Devalo: has joined #ruby
[23:57:55] tristanp: has joined #ruby