« Back to channel list

#ruby - 27 June 2016

« Back 1 day Forward 1 day »
[00:00:07] Gnosis: What the hell was that?
[00:01:52] Radar: Gnosis: A boring spammer.
[00:01:57] RegulationD: has joined #ruby
[00:02:10] rbennacer: has joined #ruby
[00:02:38] mistermocha: has joined #ruby
[00:03:22] jetpackj1: has joined #ruby
[00:03:33] Xeago_: has joined #ruby
[00:05:56] Gnosis: Why would he spam "python"?
[00:06:16] ruby[bot]: Radar: I don't know anything about shrug
[00:06:20] Radar: ruby[bot]: perfect.
[00:06:25] mistermo_: has joined #ruby
[00:08:26] jetpackj1: has joined #ruby
[00:08:28] mistermocha: has joined #ruby
[00:08:39] ledestin: has joined #ruby
[00:09:40] dc2: has joined #ruby
[00:09:48] solocshaw: has joined #ruby
[00:10:31] millerti: has joined #ruby
[00:10:32] Rodya_: has joined #ruby
[00:13:13] ullu: has joined #ruby
[00:13:47] moeabdol: has joined #ruby
[00:14:41] CausaMortis-Work: has joined #ruby
[00:16:43] sumobob: has joined #ruby
[00:17:06] Gnosis: has joined #ruby
[00:17:24] Nilium: ?anything
[00:17:24] ruby[bot]: Nilium: I don't know anything about anything
[00:18:11] SilverKey: has joined #ruby
[00:19:29] tristanp: has joined #ruby
[00:20:43] tristanp: has joined #ruby
[00:22:34] CloCkWeRX: has joined #ruby
[00:22:54] roamingdog: has joined #ruby
[00:23:05] mistermocha: has joined #ruby
[00:26:02] xall_: has joined #ruby
[00:28:02] mistermocha: has joined #ruby
[00:28:04] Xeago_: has joined #ruby
[00:28:53] ruby[bot]: shevy: I don't know anything about ruby
[00:28:59] ruby[bot]: Radar: I don't know anything about python
[00:29:14] shevy: I could swear that ruboto knew more!
[00:31:18] jenrzzz: has joined #ruby
[00:31:18] jenrzzz: has joined #ruby
[00:32:27] dminuoso: has joined #ruby
[00:33:58] mistermocha: has joined #ruby
[00:34:27] sypheren: has joined #ruby
[00:36:01] mistermo_: has joined #ruby
[00:38:00] mistermo_: has joined #ruby
[00:40:25] terminalrecluse: has joined #ruby
[00:41:04] jhass: feel free to suggest some answers ;)
[00:42:40] ledestin: has joined #ruby
[00:45:35] allcentury: has joined #ruby
[00:46:08] cyphase: has joined #ruby
[00:47:43] tAn: has joined #ruby
[00:48:20] terminalrecluse: has joined #ruby
[00:48:54] ruby[bot]: Gnosis: I don't know anything about myself
[00:49:08] Gnosis: I bet you don't.
[00:52:35] pilne: has joined #ruby
[00:53:10] jackjackdripper: has joined #ruby
[00:53:40] karapetyan: has joined #ruby
[00:57:57] A_Drone: has joined #ruby
[00:58:32] nlsun: has joined #ruby
[00:59:34] LoneHerm_: has joined #ruby
[01:01:52] nettoweb: has joined #ruby
[01:02:50] RegulationD: has joined #ruby
[01:03:07] ruby[bot]: has joined #ruby
[01:03:07] ChanServ: +o ruby[bot]
[01:03:49] Canucktux: has left #ruby: ("http://quassel-irc.org - Chat comfortably. Anywhere.")
[01:05:20] tristanp: has joined #ruby
[01:06:09] tildes: has joined #ruby
[01:06:39] tristanp: has joined #ruby
[01:07:13] karapetyan: has joined #ruby
[01:12:45] Madplatypus: has joined #ruby
[01:15:27] nankyokusei: has joined #ruby
[01:15:31] neo_: has joined #ruby
[01:17:03] dhruvasagar: has joined #ruby
[01:18:05] khelair: has joined #ruby
[01:19:11] araujo_: has joined #ruby
[01:23:17] allcentury: has joined #ruby
[01:23:43] arnonhongklay: has joined #ruby
[01:25:44] enterprisey: has joined #ruby
[01:27:49] dhruvasagar: has joined #ruby
[01:32:47] pontiki: has joined #ruby
[01:33:14] dminuoso: has joined #ruby
[01:34:51] tristanp: has joined #ruby
[01:36:30] armyriad: has joined #ruby
[01:36:54] hutch34: has joined #ruby
[01:37:39] mattwashere: has joined #ruby
[01:37:59] workmad3: has joined #ruby
[01:38:29] mesamoo: has joined #ruby
[01:43:02] workmad3_: has joined #ruby
[01:43:20] Rodya_: has joined #ruby
[01:43:58] crowell: has joined #ruby
[01:46:04] moeabdol: has joined #ruby
[01:47:32] dc2: has joined #ruby
[01:49:32] eljimmy: has joined #ruby
[01:54:25] xall_: has joined #ruby
[01:59:28] karapetyan: has joined #ruby
[02:00:28] CausaMortis-Work: has joined #ruby
[02:00:37] LoneHermit: has joined #ruby
[02:03:43] RegulationD: has joined #ruby
[02:04:45] minimalism: has joined #ruby
[02:06:58] Dios|: has joined #ruby
[02:10:15] A_Drone_: has joined #ruby
[02:16:33] solocshaw: has joined #ruby
[02:21:39] Yuri4_: has joined #ruby
[02:22:13] tmtwd: has joined #ruby
[02:27:39] nando293921: has joined #ruby
[02:30:08] enterprisey: has joined #ruby
[02:30:11] Gnosis: has joined #ruby
[02:30:19] A_Drone: has joined #ruby
[02:31:13] benlieb: has joined #ruby
[02:33:57] dminuoso: has joined #ruby
[02:38:12] jaguarmagenta: has joined #ruby
[02:38:55] khelair: has joined #ruby
[02:49:53] cyphase: has joined #ruby
[02:50:11] mistermocha: has joined #ruby
[02:50:45] tAn: has joined #ruby
[02:51:43] ndakota: has joined #ruby
[02:54:44] allcentury: has joined #ruby
[02:55:01] arooni: has joined #ruby
[02:56:41] ur5us: has joined #ruby
[02:56:55] ur5us: has joined #ruby
[03:01:51] torandu: has joined #ruby
[03:02:02] ndakota: has joined #ruby
[03:03:13] mistermocha: has joined #ruby
[03:03:43] jetpackj1: has joined #ruby
[03:04:34] RegulationD: has joined #ruby
[03:05:24] terminalrecluse: has joined #ruby
[03:05:25] mistermo_: has joined #ruby
[03:07:34] xall: has joined #ruby
[03:09:02] mistermocha: has joined #ruby
[03:09:09] nettoweb: has joined #ruby
[03:10:58] freerobby: has joined #ruby
[03:13:41] enterprisey: has joined #ruby
[03:15:01] Axsuul: has joined #ruby
[03:16:22] nankyokusei: has joined #ruby
[03:19:04] mistermocha: has joined #ruby
[03:19:39] A_Drone: has joined #ruby
[03:20:44] braincras: has joined #ruby
[03:20:57] k3rn31: has joined #ruby
[03:22:02] arnonhongklay: has joined #ruby
[03:22:30] cyphase: has joined #ruby
[03:24:12] solocshaw1: has joined #ruby
[03:24:22] ghr: has joined #ruby
[03:24:27] jetpackj1: has joined #ruby
[03:24:59] armin: has joined #ruby
[03:25:13] mesamoo: has joined #ruby
[03:26:42] xall_: has joined #ruby
[03:26:48] piotrj: has joined #ruby
[03:26:57] nullFxn: has joined #ruby
[03:27:08] kam270: has joined #ruby
[03:27:21] gix: has joined #ruby
[03:28:35] C0deMaver1ck: has joined #ruby
[03:28:56] mistermocha: has joined #ruby
[03:30:38] icedragon: has joined #ruby
[03:32:01] steve: has joined #ruby
[03:32:02] rbennacer: has joined #ruby
[03:32:36] dc2: has joined #ruby
[03:32:54] harfangk: has joined #ruby
[03:32:59] tolland_: has joined #ruby
[03:32:59] mistermo_: has joined #ruby
[03:34:06] moeabdol: has joined #ruby
[03:34:12] Janno: has joined #ruby
[03:34:39] mistermocha: has joined #ruby
[03:34:41] dminuoso: has joined #ruby
[03:35:59] jetpackj1: has joined #ruby
[03:39:22] Es0teric: has joined #ruby
[03:40:51] mistermocha: has joined #ruby
[03:42:45] mistermo_: has joined #ruby
[03:42:55] singalaut: has joined #ruby
[03:52:13] mistermocha: has joined #ruby
[03:52:23] singalaut: has left #ruby: ("WeeChat 1.6-dev")
[03:54:31] mistermo_: has joined #ruby
[03:55:47] allcentury: has joined #ruby
[03:56:28] mistermocha: has joined #ruby
[03:57:00] segy_: has joined #ruby
[03:58:26] mistermocha: has joined #ruby
[03:58:54] benlieb: has joined #ruby
[03:59:17] mattwashere: has joined #ruby
[04:00:20] mistermo_: has joined #ruby
[04:00:40] hahuang61: has joined #ruby
[04:01:10] CausaMortis-Work: has joined #ruby
[04:01:24] mistermocha: has joined #ruby
[04:01:55] LoneHermit: has joined #ruby
[04:03:22] mistermo_: has joined #ruby
[04:05:26] RegulationD: has joined #ruby
[04:05:47] kareeoleez: has joined #ruby
[04:08:26] khelair: has joined #ruby
[04:09:14] mistermocha: has joined #ruby
[04:11:13] mistermocha: has joined #ruby
[04:13:08] mistermo_: has joined #ruby
[04:14:23] matp: has joined #ruby
[04:14:52] mistermocha: has joined #ruby
[04:15:54] sypheren: has joined #ruby
[04:16:09] duncannz: has joined #ruby
[04:19:52] last_staff: has joined #ruby
[04:20:39] voodoofish430: has joined #ruby
[04:24:05] mistermocha: has joined #ruby
[04:28:29] C0deMaver1ck: has joined #ruby
[04:30:59] mistermocha: has joined #ruby
[04:34:04] craigp_: has joined #ruby
[04:34:59] ndakota54: has joined #ruby
[04:35:01] C0deMaver1ck: has joined #ruby
[04:35:28] dminuoso: has joined #ruby
[04:35:39] solocshaw1: has joined #ruby
[04:35:41] mistermocha: has joined #ruby
[04:39:28] hutch34: has joined #ruby
[04:39:35] mistermo_: has joined #ruby
[04:41:03] bb010g: has joined #ruby
[04:41:18] k3rn31: has joined #ruby
[04:44:40] khelair: has joined #ruby
[04:47:59] xall: has joined #ruby
[04:48:30] neo_: has joined #ruby
[04:49:33] tmtwd: has joined #ruby
[04:49:51] terminalrecluse: has joined #ruby
[04:53:29] hahuang65: has joined #ruby
[04:53:45] tAn: has joined #ruby
[04:53:49] hk238: has joined #ruby
[04:53:59] tristanp: has joined #ruby
[04:56:14] emilkarl: has joined #ruby
[04:56:22] dionysus69: has joined #ruby
[04:57:20] C0deMaver1ck: has joined #ruby
[04:57:34] LoneHerm_: has joined #ruby
[04:57:58] chihhsin: has joined #ruby
[05:00:35] allcentury: has joined #ruby
[05:01:10] hahuang61: has joined #ruby
[05:04:00] pawnbox: has joined #ruby
[05:04:29] mistermocha: has joined #ruby
[05:06:13] cyphase_eviltwin: has joined #ruby
[05:06:17] RegulationD: has joined #ruby
[05:06:21] mistermo_: has joined #ruby
[05:09:03] dsea: has joined #ruby
[05:11:53] neo_: has joined #ruby
[05:13:25] mistermocha: has joined #ruby
[05:16:27] A_Drone: has joined #ruby
[05:17:12] nankyokusei: has joined #ruby
[05:17:17] allcentury: has joined #ruby
[05:17:28] ramfjord: has joined #ruby
[05:19:55] yma__gib: has joined #ruby
[05:22:28] elifoster: has joined #ruby
[05:27:06] dionysus69: has joined #ruby
[05:28:21] emiltin: has joined #ruby
[05:29:17] tristanp: has joined #ruby
[05:30:21] djbkd: has joined #ruby
[05:30:40] Ronak: has joined #ruby
[05:30:58] Ronak: has left #ruby: ()
[05:32:28] Madplatypus: has joined #ruby
[05:34:33] n1x-nz: has joined #ruby
[05:36:13] dminuoso: has joined #ruby
[05:39:46] emiltin: has joined #ruby
[05:39:52] A_Drone: has joined #ruby
[05:40:34] allcentury: has joined #ruby
[05:42:00] A_Drone_: has joined #ruby
[05:47:21] last_staff: has joined #ruby
[05:47:42] araujo: has joined #ruby
[05:47:45] dhruvasagar: has joined #ruby
[05:47:46] mistermocha: has joined #ruby
[05:48:31] hahuang65: has joined #ruby
[05:49:20] SilverKey: has joined #ruby
[05:50:09] A_Drone: has joined #ruby
[05:51:57] dhruvasagar: has joined #ruby
[05:52:38] voodoofish430: has joined #ruby
[05:53:06] hahuang61: has joined #ruby
[05:53:56] xall: has joined #ruby
[05:55:33] mistermocha: has joined #ruby
[05:56:00] MrBusiness3: has joined #ruby
[05:57:54] d0lph1n98: has joined #ruby
[05:59:15] sentionics: has joined #ruby
[05:59:33] mistermo_: has joined #ruby
[05:59:42] sentionics: <-- definitely not spying from #python
[06:00:50] coyo: has joined #ruby
[06:00:50] coyo: has joined #ruby
[06:01:14] CausaMortis-Work: has joined #ruby
[06:03:26] BiHi: has joined #ruby
[06:04:03] LoneHerm_: has joined #ruby
[06:04:33] Radar: Weird kind of comment to make.
[06:05:29] A_Drone: has joined #ruby
[06:07:01] tildes: has joined #ruby
[06:07:11] RegulationD: has joined #ruby
[06:07:22] n1xnz: has joined #ruby
[06:09:00] cyphase: has joined #ruby
[06:09:24] kareeoleez: has joined #ruby
[06:11:16] Neobenedict: has joined #ruby
[06:11:51] jas02: has joined #ruby
[06:12:00] anisha: has joined #ruby
[06:12:09] Neobenedict: http://pastebin.com/KzdbE8BJ can anyone assist with this error with gem?
[06:12:09] ruby[bot]: Neobenedict: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/4b8f096415720afe2808ea6fa9069521
[06:12:09] ruby[bot]: Neobenedict: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[06:12:25] greenhat|: has joined #ruby
[06:12:47] Neobenedict: i am on debian.
[06:13:06] Radar: ?ubuntu Neobenedict
[06:13:06] ruby[bot]: Neobenedict: Ubuntu installation guide for Ruby + Rails: http://ryanbigg.com/2014/10/ubuntu-ruby-ruby-install-chruby-and-you/
[06:13:12] Radar: Neobenedict: Follow that guide.
[06:13:28] Neobenedict: so sudo apt-get uninstall what I just installed
[06:13:32] Neobenedict: then do that guide?
[06:14:20] Radar: Ouch that line spacing on the big warning text.
[06:14:35] the_drow: has joined #ruby
[06:15:09] Neobenedict: $DRINKOFCHOICE never gets old does it
[06:15:12] Neobenedict: every guide has that
[06:15:59] framling: has joined #ruby
[06:17:20] mistermocha: has joined #ruby
[06:17:28] DoubleMalt: has joined #ruby
[06:17:31] zacstewart: has joined #ruby
[06:17:33] No: has joined #ruby
[06:18:30] DoubleMalt: has joined #ruby
[06:19:05] mistermo_: has joined #ruby
[06:19:10] No: Hi everyone
[06:19:29] aryaching: has joined #ruby
[06:20:35] No: I try to use Curses for Ruby http://ruby-doc.org/stdlib-2.0.0/libdoc/curses/rdoc/Curses.html , but I have some error message by applying the first example
[06:21:07] allcentury: has joined #ruby
[06:22:00] No: My error message is /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- curses (LoadError)
[06:22:00] No: from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
[06:22:00] No: from test_curses.rb:1:in `<main>'
[06:22:51] conta: has joined #ruby
[06:23:42] tildes: has joined #ruby
[06:24:59] mistermocha: has joined #ruby
[06:25:25] blaxter: has joined #ruby
[06:25:54] No: I have tried to install the gem Curses (gem install Curses) but I have the following message : Fetching: curses-1.0.2.gem (100%)
[06:25:55] No: Building native extensions. This could take a while...
[06:25:55] No: ERROR: Error installing curses:
[06:25:55] No: ERROR: Failed to build gem native extension.
[06:25:55] No: /usr/bin/ruby2.2 -r ./siteconf20160626-12962-lqejja.rb extconf.rb
[06:25:56] No: mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
[06:25:58] No: extconf failed, exit code 1
[06:26:00] No: Gem files will remain installed in /var/lib/gems/2.2.0/gems/curses-1.0.2 for inspection.
[06:26:02] No: Results logged to /var/lib/gems/2.2.0/extensions/x86_64-linux/2.2.0/curses-1.0.2/gem_make.out
[06:27:28] No: I'm a newbie, is there someone could help me ?
[06:28:00] Radar: No: So it failed to install Curses and that's why it can't be found when you do a require.
[06:28:03] Radar: [16:25:57] <No> mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
[06:28:08] Radar: Failed because of ^&
[06:28:11] Radar: What OS are you on?
[06:28:53] No: Radar: Ubuntu Precise
[06:29:03] Radar: ?ubuntu No
[06:29:03] ruby[bot]: No: Ubuntu installation guide for Ruby + Rails: http://ryanbigg.com/2014/10/ubuntu-ruby-ruby-install-chruby-and-you/
[06:29:11] Radar: No: uninstall Ruby from apt-get, then follow that guide.
[06:29:29] Radar: No: That will install the Ruby headers that apt-get didn't AND ti will mean that you don't need to run `sudo gem install` to install gems.
[06:31:10] No: I have installed ruby from this link : https://www.brightbox.com/docs/ruby/ubuntu/
[06:31:25] aganov: has joined #ruby
[06:31:46] Neobenedict: gem install now seems to have frozen on Installing ri documentation for sinatra-1.4.7
[06:31:52] scorphus: has joined #ruby
[06:31:52] Radar: Neobenedict: wait?
[06:31:58] Neobenedict: does that take a while?
[06:32:00] Radar: Neobenedict: Or run the command with --no-ri --no-rdoc
[06:32:04] Neobenedict: has taken about 10 mins
[06:32:19] Tempesta_: has joined #ruby
[06:32:48] Neobenedict: Radar: should I ctrl+c it and try again with those args?
[06:32:52] Radar: Neobenedict: yes
[06:33:02] manveru: No: if anything, i'd recommend ffi-ncurses
[06:35:24] c_nick: has joined #ruby
[06:36:49] mistermocha: has joined #ruby
[06:36:57] dminuoso: has joined #ruby
[06:37:18] jenrzzz: has joined #ruby
[06:37:49] cyphase: has joined #ruby
[06:38:06] hk238: has joined #ruby
[06:38:31] maloik: has joined #ruby
[06:39:00] yardenbar: has joined #ruby
[06:41:29] yfeldblum: has joined #ruby
[06:42:16] isxek: has joined #ruby
[06:46:20] pawnbox: has joined #ruby
[06:48:02] Radar: Is there a way to see what the full URL that a Net::HTTP::Get is going to make when you do http.request(request)?
[06:48:03] A_Drone: has joined #ruby
[06:48:10] Radar: before it makes that request
[06:49:41] jenrzzz: has joined #ruby
[06:50:00] tAn: has joined #ruby
[06:51:56] No: Radar: I think I have found the problem origin. I'm using Ruby v2.2.4 and Curves seems not be included with this version (http://ruby-doc.org/stdlib-2.2.4/) but only with the v2.0.0 (http://ruby-doc.org/stdlib-2.0.0/)
[06:52:52] Radar: No: Looks like it's been moved out to a gem
[06:52:52] Radar: https://github.com/ruby/curses
[06:52:56] ur5us: has joined #ruby
[06:54:47] crazycoder: has joined #ruby
[06:55:38] craigp_: has joined #ruby
[06:56:21] crazycoder: i am not a ruby dev but i would like to give it a try. at the moment i know php, where can i find a good article to compare php vs ruby?
[06:57:03] dminuoso: has joined #ruby
[06:59:15] xall: has joined #ruby
[06:59:51] allcentury: has joined #ruby
[07:04:29] mistermo_: has joined #ruby
[07:04:41] msvbhat: has joined #ruby
[07:05:11] LoneHerm_: has joined #ruby
[07:06:29] mistermo_: has joined #ruby
[07:06:47] jenrzzz: has joined #ruby
[07:07:11] haxrbyte: has joined #ruby
[07:07:52] c_nick: crazycoder: https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/to-ruby-from-php/
[07:08:04] RegulationD: has joined #ruby
[07:09:38] Neobenedict: sudo: gem: command not found
[07:09:43] Neobenedict: can't install anything with sudo
[07:09:48] Neobenedict: i installed ruby using sudo
[07:10:59] CausaMortis-Work: has joined #ruby
[07:11:26] Radar: Neobenedict: Stop using sudo for Ruby things.
[07:11:36] Radar: Neobenedict: now that you've installed it following that guide, you don't need to use sudo.
[07:11:38] Neobenedict: i need a gem applcation available for all users
[07:11:47] Neobenedict: so how do I do that instead?
[07:12:02] tildes: has joined #ruby
[07:12:12] Radar: ruby-install --system ruby 2.3.0
[07:12:20] mistermocha: has joined #ruby
[07:12:50] A_Drone: has joined #ruby
[07:13:27] Neobenedict: here we go again
[07:13:39] A_Drone: has joined #ruby
[07:13:45] jgt1: has joined #ruby
[07:13:48] Neobenedict: this will be the third ruby install
[07:14:02] Neobenedict: i have one local, one run as sudo, and now that
[07:14:27] A_Drone: has joined #ruby
[07:14:27] Radar: Neobenedict used "complaint"
[07:14:46] Neobenedict: no, Neobenedict used "concern"
[07:14:50] Radar: IT WAS INEFFECTIVE
[07:14:52] dminuoso: Neobenedict: You now have only 2 complaints left. Use with caution!
[07:15:07] Neobenedict: no, Neobenedict used "concern"
[07:15:16] Radar: Neobenedict: Typically, most people will install Ruby just for themselves.
[07:15:19] A_Drone: has joined #ruby
[07:15:27] Neobenedict: [08:11:36] <Neobenedict> i need a gem applcation available for all users
[07:15:31] Radar: If you said that you wanted it available for all users initially, then you would've gotten different advice.
[07:15:32] Neobenedict: that is what I need
[07:15:43] crazycoder: c_nick, thanks i am reading
[07:15:48] Neobenedict: i wasn't aware, sorry.
[07:15:54] Radar: Yes, you said that _after_ I had given you advice on a single-user install.
[07:16:05] Neobenedict: do I need to remove these extra installations
[07:16:19] mistermo_: has joined #ruby
[07:16:24] dminuoso: Neobenedict: Just delete your ruby from wherever it was installed.
[07:16:29] dminuoso: No other actions are necessary.
[07:16:32] dionysus69: has joined #ruby
[07:16:33] crazycoder: c_nick, it does not say too much... is ruby running on different webservers? does it run under nginx ?
[07:17:00] dminuoso: Neobenedict: It could be as simple as rm -rf ~/.where/ever/your/ruby/went/ruby-2.3.1
[07:17:10] Neobenedict: first step: find where it went
[07:17:14] Neobenedict: which ruby will find that?
[07:17:25] Radar: ruby-install installs them into ~/.rubies
[07:17:34] dminuoso: Neobenedict: local rubies are placed into ~/.rubies by default, system wide in /usr/local
[07:18:03] nankyokusei: has joined #ruby
[07:18:26] Neobenedict: [08:12:10] <Radar> ruby-install --system ruby 2.3.0 <- this should have been run as root, shouldn;'t it
[07:18:34] Radar: [17:12:11] <Radar> ruby-install --system ruby 2.3.0
[07:18:52] dminuoso: Neobenedict: No it should not.
[07:18:54] Radar: Neobenedict: ^ note what I said in that line, and how it does not mention "run this command as root" or anything like it at all.
[07:19:10] Neobenedict: i'm guessing ruby-install can modify root directories then
[07:19:14] Neobenedict: as it was installed as root
[07:19:31] Neobenedict: unless /usr/local isn't a root directory
[07:19:35] antgel: has joined #ruby
[07:19:37] Neobenedict: ACTION doesn't know much about these things
[07:19:49] dminuoso: Neobenedict: Then find out about them.
[07:20:02] dminuoso: Neobenedict: Go look at who owns that directory, and what permissions it has.
[07:20:03] Neobenedict: if there were more hours in a day, maybe
[07:20:11] dminuoso: It takes about 10 seconds to find out.
[07:20:12] Neobenedict: !!! Installation of ruby 2.3.0 failed!
[07:20:34] Neobenedict: /home/neo/src/ruby-2.3.0/lib/fileutils.rb:1393:in `initialize': Permission denied @ rb_sysopen - /usr/local/bin/ruby (Errno::EACCES)
[07:20:40] Neobenedict: need the full log?
[07:21:02] Radar: Ok, so your user doesn't have access to write to that directory. root might.
[07:21:13] Neobenedict: so, do run it as root?
[07:21:31] dminuoso: Neobenedict: what operating system are you on if you dont mind my asking?
[07:22:11] Neobenedict: do I need to run the full ruby-install again? or can it use all the things it already compiled?
[07:22:16] dminuoso: Neobenedict: Add your user to the group staff, and it should be accessible then.
[07:22:31] dminuoso: (By default it is owned by root/staff if memory serves right)
[07:22:38] c_nick: crazycoder: Ruby can be used for Web Server, it can be used on nginx. Could you brief me your actual requirements ? is it that you want to try ruby on the Web? ideonline or some other online version? Do you want to create a web server using ruby? then Ruby on Rails or Sinatra. Do you want to learn Ruby as a programming language? you can use the docs I pointed to (not just the PHP part) What is it that we want here?
[07:23:17] tAn: has joined #ruby
[07:23:35] Azure|dc: has joined #ruby
[07:24:03] Neobenedict: okay, can write in that directory now
[07:24:08] mistermocha: has joined #ruby
[07:24:12] Neobenedict: [08:22:10] <Neobenedict> do I need to run the full ruby-install again? or can it use all the things it already compiled?
[07:24:18] c_nick: Neobenedict: sudo apt-get remove ruby doesn't work ?
[07:24:25] jenrzzz: has joined #ruby
[07:24:26] crazycoder: c_nick, yes i do 99% of times web applications. At the moment i am using PHP with CakePHP framework. It works good, but i heard Ruby is asked from companies.. so maybe it's the time to look at it
[07:24:29] Neobenedict: there is no ruby installed
[07:25:03] dminuoso: Neobenedict: Just run it again, I'm really not sure since I have never been in this situation.
[07:25:12] dminuoso: (It might just see that its already compiled)
[07:25:25] Neobenedict: nah it's starting all over
[07:25:25] andikr: has joined #ruby
[07:25:59] mistermo_: has joined #ruby
[07:26:19] cyphase: has joined #ruby
[07:26:24] crazycoder: c_nick, i do not what to create a web server...i want to create web app ( i use mariadb )
[07:26:35] crazycoder: app like CRM, CMS etc
[07:26:35] bilal80: has joined #ruby
[07:26:49] dminuoso: crazycoder: In Ruby we have 2 common web frameworks, Sinatra and Ruby on Rails.
[07:28:02] dminuoso: crazycoder: Both have very different approaches and goals, so I recommend you look at them both.
[07:28:27] crazycoder: dminuoso, ok perfect..
[07:28:30] the_drow: has joined #ruby
[07:28:31] ur5us: has joined #ruby
[07:29:33] mistermocha: has joined #ruby
[07:29:45] crazycoder: lasti things...i also heard that ruby is not very fast, it is interpreted so ...obvious. But, is there a tool to "compile it" or running it faster
[07:29:53] Azure: has joined #ruby
[07:29:56] c_nick: crazycoder: Sinatra for starters, Rails is a full blown Web Application Fx
[07:30:45] Kedare: has joined #ruby
[07:30:46] dminuoso: crazycoder: No. But if you are asking these questions, chances are your website is not going to be used by millions of people per day anyway, so performance really shouldn't be a factor.
[07:32:08] tAn: has joined #ruby
[07:32:28] crazycoder: dminuoso, yes, you are right.. just curious
[07:32:52] crazycoder: dminuoso, this is the time to look forward and leave php that has many stupid things...so the choice is between python and ruby
[07:33:07] c_nick: crazycoder: The web application framework handles many of such. So performance should not be like what you say "Slow"
[07:34:35] c_nick: crazycoder: For python try Flask or Bottle (equivalent to Sinatra) and Django (equivalent to Rails)
[07:34:55] crazycoder: c_nick, yes i know, it is the same for php. It is not a big problem...
[07:35:41] dminuoso: crazycoder: Pick the language based on its facilities and style, not on whether "its faster than A or B"
[07:35:56] dminuoso: crazycoder: If you find that Python suits you better, then go for it - I won't stop you.
[07:35:57] crazycoder: c_nick, the problem is that i do not understand what companies is asking for..i mean...python seems to be sued widely, ruby too ?
[07:36:05] aufi: has joined #ruby
[07:36:09] aupadhye: has joined #ruby
[07:36:56] mistermocha: has joined #ruby
[07:36:56] dminuoso: crazycoder: Python is more popular, but it also means you have more competition in jobs.
[07:37:22] crazycoder: dminuoso, yes sure...i only asked that for curiosity. nothing else
[07:37:24] crazycoder: if the speed were a problem maybe java is better...
[07:37:24] crazycoder: but not in my case
[07:37:28] anagha_: has joined #ruby
[07:37:36] crazycoder: i am asking this for "job"
[07:37:41] dminuoso: crazycoder: Well, if you really feel like Java, you can use JRuby.
[07:37:56] crazycoder: for this reason i would like to leave PHP :d
[07:38:06] crazycoder: dminuoso, yes i know java too, but i never used it for web app
[07:38:24] ishe_ua: has joined #ruby
[07:38:32] cyphase: has joined #ruby
[07:38:53] dminuoso: Then go play around with JRuby! :)
[07:39:15] crazycoder: dminuoso, is it using java Virtual machine under the hood ?
[07:39:27] dminuoso: It is a Ruby implementation using Java.
[07:40:35] Es0teric: has joined #ruby
[07:40:36] c_nick: I have worked in C C++ Objctive C Java Python Ruby C# AIML -> Shouldn't really matter as a Developer. Its just the syntax and a little bit of time thats all!
[07:40:44] mistermo_: has joined #ruby
[07:41:06] tAn: has joined #ruby
[07:41:08] allcentury: has joined #ruby
[07:42:18] crazycoder: c_nick, yes. the dminuoso's answer is correct for job purpose....more competition less available jobs :)
[07:42:47] mistermocha: has joined #ruby
[07:43:04] No: has left #ruby: ("Leaving")
[07:44:08] Azure|dc: has joined #ruby
[07:44:37] c_nick: crazycoder: Niche Market less available jobs :) Python Ruby are nearly similar so you should not have a tough time working on both.
[07:46:01] ngw: has joined #ruby
[07:47:34] multi_io: has joined #ruby
[07:47:41] c_nick: most of the organizations have stupid people at the highest positions, they dont understand technology and often relate it to "can this do that?" And then comes a Developer who replies "Ofcourse it can! and it will do this in addition too at the same investment" and everybody is happy when he moves out of the company people say "Let it do what it is doing". So you will have the choice of the language ;) or manipulate your preference wherever required
[07:49:50] crazycoder: yes an in italy there are many persons like you described :D
[07:50:03] vondruch: has joined #ruby
[07:50:43] CausaMortis-Work: imperator, thanks for the help. Had to run yesterday but you cleared up a few things that gave me a better understanding of rbenv. greatly appreciated
[07:51:41] mistermocha: has joined #ruby
[07:51:48] CausaMortis: c_nick, I feel that syntax wise python is not so similar to ruby at all
[07:52:58] crazycoder: CausaMortis, we are talking about popularity
[07:53:35] CausaMortis: Ill show myself out :o)
[07:54:42] dminuoso: c_nick: That is not stupidity. It is a very legit question for a manager to ask "whether technology A can solve problem B".
[07:54:43] tildes: has joined #ruby
[07:55:27] anisha: has joined #ruby
[07:55:27] crazycoder: i am asking wrong questions too :D if i ask what language is better in #ruby and #python i can image the answers :D
[07:55:41] mistermo_: has joined #ruby
[07:56:03] dminuoso: crazycoder: Recognizing this is great.
[07:56:27] dminuoso: crazycoder: The only recommendation I can give you is to try them out and pick whichever feels better to you.
[07:56:38] jaguarmagenta: has joined #ruby
[07:56:43] dminuoso: Because personally I don't care either way. ;-)
[07:57:00] skade: has joined #ruby
[07:57:42] crazycoder: dminuoso, :) the problem is the learning curve..i mean... i start today with ruby then i need to start with python too... so i can not answer that questionfor the next months
[07:57:59] crazycoder: because if it is all related to the syntax the choice is simple
[07:58:44] Silthias: has joined #ruby
[07:58:52] crazycoder: but i would like to see them deeply before choosing one
[07:59:32] mistermocha: has joined #ruby
[07:59:59] crazycoder: dminuoso, i mean.. do you know java? if you know it it is "correct" to see other languages?
[08:00:07] crazycoder: with java i can do anything...
[08:00:34] crazycoder: surelly python and ruby have shorter syntax etc
[08:00:34] crazycoder: but idk, is it really care?
[08:01:10] dminuoso: crazycoder: Do you have a specific question regarding Ruby?
[08:01:53] Couch: has joined #ruby
[08:02:35] crazycoder: dminuoso, not specific. the thing is: i would like to create web app... i know there are php, java, ruby, python etc etc etc... what companies are asking this "period" ? and...if i already know java is it stupid to look at other languages? (because with java we can do anything)
[08:02:58] crazycoder: pardon, it is not really related to ruby, or... maybe
[08:03:32] mistermo_: has joined #ruby
[08:04:02] dminuoso: crazycoder: There are markets for all of them.
[08:04:05] dminuoso: Does that answer your question?
[08:04:34] last_staff1: has joined #ruby
[08:04:56] crazycoder: dminuoso, yes also for assembly there is a market...just to understand how big is this market :D
[08:05:19] mistermocha: has joined #ruby
[08:06:11] LoneHermit: has joined #ruby
[08:06:19] dminuoso: crazycoder: Surely there must be websites that allow to search the internet to find other websites that have completely biased statistics and pretty diagrams.
[08:06:33] dminuoso: If I were to write such a website, I would call it "toogle.com" surely.
[08:07:13] dminuoso: crazycoder: But honestly, pick a language you like and become good at it.
[08:07:29] dminuoso: That way you have a much better market value than someone who tries to pick a language because he thinks there is a high demand.
[08:07:40] c_nick: dminuoso: technology can help a project or program manager in a HUGH way which they often miss out. Ruby and Python can both solve a problem but then which is the preferred way to go about it?
[08:07:51] xall: has joined #ruby
[08:08:14] dminuoso: c_nick: It is necessarily not their job to be familiar with the technology. That is why communication skill are so important in jobs.
[08:08:42] sandelius: has joined #ruby
[08:08:56] RegulationD: has joined #ruby
[08:09:15] Es0teric: has joined #ruby
[08:09:26] mistermo_: has joined #ruby
[08:09:34] sandelius: if I have Foo::Bar and do Object.send(:remove_const, :Foo) will bar also be removed or does it live in limbo somewhere?
[08:09:44] crazycoder: yes ok, maybe i can go deeply with java..
[08:09:44] crazycoder: i am using google trends
[08:09:44] crazycoder: ops without --> ?
[08:09:45] crazycoder: i am USING google trends...ahah
[08:09:45] crazycoder: the problem is when i search "python" :D
[08:10:04] dminuoso: sandelius: Perhaps, it depends on whether there are still references. If not the GC will at some point clean it up.
[08:10:34] sandelius: dminuoso it's in some tests, I get unexpected results and that might be the cause of it
[08:10:45] dminuoso: sandelius: What do you mean?
[08:11:02] c_nick: Its getting GC and then referenced.
[08:11:05] crazycoder: ahahah some other crazy person did the same search http://webapps.stackexchange.com/questions/74557/how-to-search-for-python-the-programming-language-on-google-trends :D
[08:11:10] sandelius: dminuoso I get unexpected results sometimes. if I redefine the same modules again after removed.
[08:11:20] nictrasavios: has joined #ruby
[08:11:35] sandelius: I should remove them recur...
[08:11:41] dminuoso: sandelius: Please gist some code. Unless you manually fiddle around with ObjectSpace and object IDs it should not be possible to have side effects such as you think.
[08:11:41] nictrasavios: has left #ruby: ()
[08:11:49] c_nick: crazycoder: I recommend you search on Official Wikis for Python and Ruby. All your questions should get answered.
[08:11:58] Developer001: has joined #ruby
[08:12:13] c_nick: The documentation is quite verbose. I mean literally you can grow old reading all that stuff!
[08:12:36] Developer001: Where would be the best place to learn about things like what "middleware" "presenters" "endpoints" "helpers" are, and how to organise code around these sorts of paradigms
[08:12:48] dminuoso: ?rails Developer001
[08:12:48] ruby[bot]: Developer001: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[08:12:56] Developer001: Ah... not using rails...
[08:13:02] houhoulis: has joined #ruby
[08:13:06] dminuoso: Oh! With that terminology I was simply assuming, my bad.
[08:13:24] sandelius: dminuoso we all did :)
[08:13:50] dminuoso: Developer001: Middleware is a pretty generic term whose meaning depends on the context. It's generally "a layer between 2 things"
[08:13:52] yeticry: has joined #ruby
[08:14:16] dminuoso: Developer001: The same thing applies to the other 3 really...
[08:14:20] sandelius: Developer001 here's a good article about middleware https://www.amberbit.com/blog/2011/07/13/introduction-to-rack-middleware/
[08:14:26] jenrzzz: has joined #ruby
[08:14:27] jenrzzz: has joined #ruby
[08:14:34] pawnbox_: has joined #ruby
[08:15:16] mistermocha: has joined #ruby
[08:15:17] dminuoso: sandelius: And that is completely Rack specific.
[08:15:22] dminuoso: I didn't see him asking about Rack.
[08:15:45] allcentury: has joined #ruby
[08:16:05] c_nick: dminuoso: A non technical project manager would only undertand in terms of resource and time lines and budget but they entirely depend on their resources for the choice of technology or legacy - what is being used for generations. There is not much scope for innovation or doing something different
[08:16:40] Developer001: My day job consists of writing C/C++ code that nobody besides myself will ever see or use, so I've never been exposed to much of the developer world
[08:17:09] dminuoso: c_nick: Exactly. Which is why at some point someone with a technical background will be at the table. And it is his job to use his communication skills to show why his technology is great.
[08:17:12] mistermo_: has joined #ruby
[08:17:43] amincd: has joined #ruby
[08:18:00] Developer001: Now I'm using a Grape API boilerplate to serve a RESTful API and Webserver to multiple end users.... and I have no idea what I'm doing, nor is someone with a technical background other than myself comming to save me XD
[08:18:07] dminuoso: c_nick: You cannot expect everybody until the CEO of your company to have a full technical background, so at some point someone with a technical background needs to convince someone else without that background.
[08:18:33] dminuoso: Developer001: So you are looking for a book then?
[08:18:39] c_nick: Developer001: thats like getting paid for pooping every morning!
[08:19:13] mistermo_: has joined #ruby
[08:19:13] Developer001: Haha, the price I pay for starting a startup in my spare time.
[08:19:47] dminuoso: c_nick: These kinds of barriers exist everywhere within the hierarchy of a company, which is why communication skills are more important than technical expertise if you want to convince someone.
[08:20:09] dminuoso: c_nick: That by the way is also why sometimes really bad decisions are made, because people with great communication skills but shitty technical skills get to convince someone.
[08:20:23] marr: has joined #ruby
[08:20:39] dminuoso: So if you want to convince someone, it does not matter how good you are - just how well you can communicate.
[08:21:03] mistermocha: has joined #ruby
[08:21:06] codecop: has joined #ruby
[08:21:42] Developer001: dminuoso: I may not be involved in your discussion, but as the Managing Partner of a 15 person company - I'll kick in this, I'm a technical person (More or less. Computational Physics background), and the *only* technical person, and I one of two "CEO equivalents". This is a much worse situation. I had to convince the marketing department why a shorter domain name is better.
[08:22:04] Developer001: dminuoso: Also, a book might be helpful. Maybe 2.
[08:23:25] c_nick: dminuoso: From the point of the Project Manager if I buy in to whatever my subordinates tell me without having a failr idea and just accepting their facts than I am not a good Project Manager
[08:23:55] dminuoso: c_nick: Which is why your subordinates need great communication skills to give you that idea.
[08:25:05] mistermo_: has joined #ruby
[08:26:46] mistermocha: has joined #ruby
[08:27:57] c_nick: dminuoso: true that
[08:28:36] Developer001: If you have some spare time, a book really would be helpful. Preferably one available as an ebook
[08:28:41] pandaant: has joined #ruby
[08:29:04] mistermo_: has joined #ruby
[08:29:09] dminuoso: Developer001: I would actually try #rubyonrails - your questions are fairly web development specific. :)
[08:29:29] dminuoso: If nobody else here has a book recommendation for what you are asking.
[08:30:13] Developer001: I just hope I don't get caught in "#ruby says go to rails, rails says go to rubt=y"
[08:30:41] Developer001: ... stupid nvidia drivers. Screen refresh rate is like 10Hz, it makes backspacing a gamble.
[08:30:49] mistermo_: has joined #ruby
[08:31:03] amincd: Hi can someone explain to me why the loop scrambles the characters and doesn't output all of them? https://gist.github.com/anonymous/e1ba58da452220fa7411a49f5d3233e3
[08:31:21] dminuoso: Developer001: Im not telling you to go off to somewhere else. :)
[08:31:27] dminuoso: Just an alternative idea.
[08:31:57] Developer001: dminuoso: I know, I'm just poking fun
[08:32:30] kp666: has joined #ruby
[08:32:58] mistermocha: has joined #ruby
[08:33:00] amincd: because this is my output: first line second line third line nlditei ncsei si
[08:33:23] amincd: not including the newlines
[08:33:27] mrgrieves: has joined #ruby
[08:34:49] mistermo_: has joined #ruby
[08:34:53] Mon_Ouie: amincd: each_char already iterates over the file. When you call getbyte inside the loop, that means you skip one byte.
[08:35:18] amincd: Mon_Ouie: ah I see
[08:36:46] mistermocha: has joined #ruby
[08:38:42] mistermo_: has joined #ruby
[08:39:32] jaruga___: has joined #ruby
[08:40:41] mistermo_: has joined #ruby
[08:40:48] hutch34: has joined #ruby
[08:42:26] tomphp: has joined #ruby
[08:42:34] mistermocha: has joined #ruby
[08:43:16] pawnbox: has joined #ruby
[08:43:55] yma__gib: has joined #ruby
[08:44:39] mistermocha: has joined #ruby
[08:44:39] schickung: has joined #ruby
[08:45:18] araujo_: has joined #ruby
[08:46:18] hk238: has joined #ruby
[08:46:35] mistermo_: has joined #ruby
[08:47:31] araujo_: has joined #ruby
[08:48:34] mistermo_: has joined #ruby
[08:49:26] A_Drone: has joined #ruby
[08:50:13] A_Drone: has joined #ruby
[08:50:26] mistermocha: has joined #ruby
[08:50:37] madgen: has joined #ruby
[08:50:48] araujo_: has joined #ruby
[08:51:03] A_Drone: has joined #ruby
[08:51:54] A_Drone: has joined #ruby
[08:52:16] emiltin: has joined #ruby
[08:52:30] mistermocha: has joined #ruby
[08:52:39] A_Drone: has joined #ruby
[08:53:32] A_Drone: has joined #ruby
[08:53:53] toretore: has joined #ruby
[08:53:53] c_nick: has left #ruby: ()
[08:54:07] A_Drone_: has joined #ruby
[08:56:25] mistermo_: has joined #ruby
[08:56:38] jenrzzz: has joined #ruby
[08:56:45] siaw23: has joined #ruby
[08:57:16] siaw23: goor morning. i’m reading some ruby code that looks like this “(current_user.id rescue 0)”
[08:57:23] harfangk: has joined #ruby
[08:57:25] siaw23: i’m wondering what “rescure 0” means
[08:57:36] zacstewart: has joined #ruby
[08:58:00] ruby-lang615: has joined #ruby
[08:58:25] mistermocha: has joined #ruby
[08:58:43] Mon_Ouie: If an exception (that is an instance of StandardException or one of its subclasses) is thrown by evaluating current_user.id, the exception is rescued and 0 is the result of the whole expression.
[08:58:54] j416: siaw23: it means, if the code before it raises an error, silence it and return 0 instead. Mostly a dumb way to do it.
[08:59:22] TvL2386: has joined #ruby
[08:59:23] Ariadeno: has joined #ruby
[08:59:40] siaw23: j416: 👌🏾thanks
[09:00:19] mdw: has joined #ruby
[09:00:22] mistermo_: has joined #ruby
[09:00:44] A_Drone: has joined #ruby
[09:01:02] j416: siaw23: why dumb? Because you are ignoring the error ans assuming all is fine. In rare cases this is fine, but in most cases you can do away with it by checking elswhere that e.g. the user is valid
[09:01:12] j416: s/ans/and/
[09:02:17] dc2: has joined #ruby
[09:02:21] mistermo_: has joined #ruby
[09:06:12] mistermocha: has joined #ruby
[09:06:41] emilkarl: has joined #ruby
[09:07:11] LoneHermit: has joined #ruby
[09:09:33] Hanmac: siaw23: in most cases i think it its there to not do a nil? check ... because if current_user is nil then nil.id does raise a NoMethodError ... in newest ruby this would work "current_user&.id || 0"
[09:09:49] RegulationD: has joined #ruby
[09:10:12] mistermo_: has joined #ruby
[09:11:24] siaw23: hanmac: thanks for pointing this out about the nil stuff
[09:12:15] senayar: has joined #ruby
[09:12:19] mistermocha: has joined #ruby
[09:13:37] MrSamuel: has joined #ruby
[09:13:48] mdw: has joined #ruby
[09:14:17] mistermocha: has joined #ruby
[09:15:21] tomphp: has joined #ruby
[09:15:25] mikecmpbll: has joined #ruby
[09:16:15] mistermo_: has joined #ruby
[09:17:02] A_Drone_: has joined #ruby
[09:17:12] rikkipitt: has joined #ruby
[09:18:03] mistermo_: has joined #ruby
[09:18:57] nankyokusei: has joined #ruby
[09:20:03] mistermocha: has joined #ruby
[09:21:53] snowy: has joined #ruby
[09:22:41] harfangk: has joined #ruby
[09:24:01] mistermo_: has joined #ruby
[09:24:22] xall: has joined #ruby
[09:24:59] schickung: has joined #ruby
[09:25:45] mistermocha: has joined #ruby
[09:26:29] allcentury: has joined #ruby
[09:27:03] No: has joined #ruby
[09:27:29] binaryplease1: has joined #ruby
[09:28:01] mistermo_: has joined #ruby
[09:28:58] moeabdol: has joined #ruby
[09:29:34] AlexRussia: has joined #ruby
[09:29:48] No: Radar: That's OK now for installing curses. In my case, I forgot to install ruby2.2-dev and build-essential packages
[09:29:52] mistermo_: has joined #ruby
[09:31:59] mistermocha: has joined #ruby
[09:32:14] A_Drone: has joined #ruby
[09:32:19] No: manveru: What are differences between ffi-ncurses and curves ?
[09:33:50] mistermo_: has joined #ruby
[09:35:47] mistermo_: has joined #ruby
[09:37:40] mistermocha: has joined #ruby
[09:39:16] ciampix: has joined #ruby
[09:39:50] mistermocha: has joined #ruby
[09:40:02] rann: has joined #ruby
[09:41:40] mistermo_: has joined #ruby
[09:42:06] pawnbox: has joined #ruby
[09:43:44] mistermo_: has joined #ruby
[09:45:22] jaruga____: has joined #ruby
[09:45:34] mistermocha: has joined #ruby
[09:46:48] xall: has joined #ruby
[09:47:47] mistermocha: has joined #ruby
[09:49:35] mistermo_: has joined #ruby
[09:50:44] A_Drone: has joined #ruby
[09:50:52] schickung: has joined #ruby
[09:51:40] mistermo_: has joined #ruby
[09:51:44] A_Drone: has joined #ruby
[09:52:36] A_Drone: has joined #ruby
[09:53:21] A_Drone: has joined #ruby
[09:53:37] mistermocha: has joined #ruby
[09:54:11] A_Drone: has joined #ruby
[09:55:36] mistermo_: has joined #ruby
[09:57:24] jaguarmagenta: has joined #ruby
[09:57:27] mistermo_: has joined #ruby
[09:57:41] pawnbox: has joined #ruby
[09:59:11] mistermocha: has joined #ruby
[09:59:43] A_Drone: has joined #ruby
[09:59:55] zacstewart: has joined #ruby
[10:00:38] A_Drone: has joined #ruby
[10:01:09] mistermo_: has joined #ruby
[10:02:38] blackgoat: has joined #ruby
[10:02:57] A_Drone_: has joined #ruby
[10:03:25] mistermo_: has joined #ruby
[10:04:26] neo_: has joined #ruby
[10:05:23] mistermocha: has joined #ruby
[10:05:46] A_Drone: has joined #ruby
[10:05:57] rikkipitt: has joined #ruby
[10:06:35] A_Drone: has joined #ruby
[10:06:39] rikkipitt: has joined #ruby
[10:06:42] lenwood: has joined #ruby
[10:07:04] mistermo_: has joined #ruby
[10:07:20] A_Drone: has joined #ruby
[10:08:05] kees__: has joined #ruby
[10:08:11] xall: has joined #ruby
[10:08:44] lessless: has joined #ruby
[10:09:05] mistermo_: has joined #ruby
[10:09:08] lenwood: has joined #ruby
[10:10:34] kees01: Could someone help me how I can get this working? https://github.com/ruby-ldap/ruby-net-ldap/issues/275
[10:10:41] RegulationD: has joined #ruby
[10:11:09] mistermocha: has joined #ruby
[10:12:58] A_Drone: has joined #ruby
[10:13:43] A_Drone: has joined #ruby
[10:13:56] caino: has joined #ruby
[10:14:30] A_Drone: has joined #ruby
[10:16:58] mistermocha: has joined #ruby
[10:19:49] A_Drone: has joined #ruby
[10:20:19] Neon: has joined #ruby
[10:21:35] jaruga____: has joined #ruby
[10:21:42] schickung: has joined #ruby
[10:22:53] duderonomy: has joined #ruby
[10:23:38] Neon: I've problems running gem and I don't know how to fix them. See https://gist.github.com/Neosublimation/5770b259cf3f04caa2cc6ad4978953f9. That output comes for each gem command.
[10:24:26] ndakota54: has joined #ruby
[10:24:29] caino: hi there, i'm new to ruby... I need to start an installed ruby gem with crontab but it doesn't start... i was searching online but didn't find a real solution about this issue.... do you have any hint ?
[10:24:41] Neon: I'd be thankful for any help.
[10:24:55] mistermocha: has joined #ruby
[10:25:45] aryaching: has joined #ruby
[10:26:37] conta: has joined #ruby
[10:26:58] mistermo_: has joined #ruby
[10:28:17] ullu: has joined #ruby
[10:29:32] xall: has joined #ruby
[10:30:46] mistermocha: has joined #ruby
[10:31:33] aryaching: has joined #ruby
[10:32:44] mistermo_: has joined #ruby
[10:34:47] mistermocha: has joined #ruby
[10:35:03] dminuoso: caino: Start with an accurate description (gists are helpful) of what you did, what you expected to happen, and what happened instead.
[10:35:47] dminuoso: Neobenedict: My instinct says that you are running mixed Ruby versions and screwed up somewhere.
[10:36:22] Neobenedict: I managed to fix it. somehow.
[10:36:25] dminuoso: Neobenedict: Oh nevermind! Didn't see the cygwin.
[10:36:52] mistermo_: has joined #ruby
[10:37:44] aryaching: has joined #ruby
[10:38:49] caino: i've installed a gem file and it's ok, then I want to run this gem periodically so i added to crontab the line 00 09 * * * /usr/bin/myexecutablegem (yes, the path is correct) but it doesn't start
[10:41:03] nettoweb: has joined #ruby
[10:41:18] allcentury: has joined #ruby
[10:42:03] dminuoso: caino: Let's ignore that /usr/bin is reserved for system files (use /usr/local/ if you have custom things on your system). cron by default logs to /var/log/syslog
[10:42:08] dminuoso: caino: Look there to see whats happening.
[10:42:45] sdothum: has joined #ruby
[10:42:45] mistermocha: has joined #ruby
[10:43:03] caino: thank you
[10:43:14] caino: think i found something
[10:44:16] dminuoso: caino: Also, you are using a user crontab and not running your ruby code under root, right? :-)
[10:44:22] dminuoso: Because that would be a silly thing to do.
[10:44:24] msvbhat: has joined #ruby
[10:44:39] lxsameer: has joined #ruby
[10:44:40] caino: negative, the user is root
[10:44:58] dminuoso: Are you absolutely sure you want to do that?
[10:45:07] caino: of course! :D
[10:45:19] dminuoso: Something tells me that you don't.
[10:45:45] caino: rm -rf / periodically
[10:45:57] mostlybadfly: has joined #ruby
[10:46:17] mistermocha: has joined #ruby
[10:46:47] Azure: has joined #ruby
[10:47:11] toretore: caino: the gem "executable" isn't an executable, it's a script that must be fed to ruby, which is the executable
[10:47:12] caino: i'm just kidding... but yes, it's all under control...
[10:47:36] rann: has joined #ruby
[10:47:59] caino: toretore, i know, but it's under bin without being a bin...
[10:48:24] caino: but thank you for the hint
[10:48:39] toretore: what is your point? what exactly is /usr/bin/myexecutablegem ?
[10:49:21] caino: 40 12 * * * /usr/bin/ruby /usr/local/bin/bettercap
[10:49:43] caino: it says: [E] Error, executing LANG=en && arp -a -n
[10:49:56] caino: so now i can investigate further in this direction
[10:50:04] pawnbox: has joined #ruby
[10:50:26] mistermocha: has joined #ruby
[10:51:00] GodFather: has joined #ruby
[10:54:12] mistermocha: has joined #ruby
[10:54:30] pawnbox: has joined #ruby
[10:55:56] marr: has joined #ruby
[10:56:21] mistermo_: has joined #ruby
[10:58:17] mistermocha: has joined #ruby
[10:58:24] CausaMortis: has joined #ruby
[10:58:49] emilkarl: has joined #ruby
[11:00:00] dvinciguerra_: has joined #ruby
[11:00:25] ur5us: has joined #ruby
[11:00:36] siaw23: has joined #ruby
[11:00:56] zacstewart: has joined #ruby
[11:01:54] AlexRussia: has joined #ruby
[11:02:40] sepp2k: has joined #ruby
[11:04:11] mistermocha: has joined #ruby
[11:04:17] CausaMortis: has joined #ruby
[11:06:15] mistermo_: has joined #ruby
[11:07:01] harfangk: has joined #ruby
[11:07:24] kareeoleez: guys is there any way to work with a gem when also working with Rails? I am editing them separately but I need to push changes to gem repository and then bundle update my rails project which both take a lot of time to complete.
[11:07:32] kareeoleez: any other ideas ?
[11:07:41] craigp_: has joined #ruby
[11:08:14] douglascorrea: has joined #ruby
[11:08:33] LoneHermit: has joined #ruby
[11:08:33] dminuoso: kareeoleez: That question is not rails specific.
[11:08:47] dminuoso: kareeoleez: You can update single gems from your bundle.
[11:09:11] kareeoleez: dminuoso: did you understand the problem ?
[11:09:23] dminuoso: kareeoleez: Yes. Don't bundle update the bundle.
[11:09:28] schickung: has joined #ruby
[11:09:32] kareeoleez: ok this is a minor issue
[11:09:32] dminuoso: kareeoleez: bundle update mygem # that will only update that single gem.
[11:09:44] kareeoleez: will give me some faster update
[11:09:51] kareeoleez: but not exactly what I want
[11:09:59] dminuoso: What do you want?
[11:10:05] teclator: has joined #ruby
[11:10:06] kareeoleez: I am sending some data to the gem
[11:10:18] kareeoleez: and then process then in the gem and send them back
[11:10:21] workmad3: has joined #ruby
[11:10:42] kareeoleez: so If I change a parameter I must git add/commit/push in the gem's folder and then go to Rails -> bundle update
[11:11:05] kareeoleez: it's a long and time consuming process IF you want to test your development environment and stuff
[11:11:20] No: has joined #ruby
[11:11:37] RegulationD: has joined #ruby
[11:12:30] xall: has joined #ruby
[11:13:16] Coldblackice: has joined #ruby
[11:19:48] nankyokusei: has joined #ruby
[11:20:07] c0mrad3: has joined #ruby
[11:20:41] yqt: has joined #ruby
[11:20:58] rodfersou: has joined #ruby
[11:21:06] skade: has joined #ruby
[11:22:04] Fernando-Basso: has joined #ruby
[11:22:32] dminuoso: kareeoleez: You can specify a gem to use path: your_path
[11:23:00] kareeoleez: didn't know it existed
[11:23:49] dminuoso: kareeoleez: I would say they are too tightly coupled if you are using rails to test your gem.
[11:25:34] eatsfoobars: has joined #ruby
[11:29:36] eatsfoobars: has joined #ruby
[11:33:56] xall: has joined #ruby
[11:34:06] rubirc: has joined #ruby
[11:34:16] Silthias: has joined #ruby
[11:37:46] UnKnOwN|: has joined #ruby
[11:39:33] ldnunes: has joined #ruby
[11:41:47] segy: has joined #ruby
[11:42:31] hutch34: has joined #ruby
[11:42:32] chip_: has joined #ruby
[11:44:10] jhass: anybody ever tried to run valgrind on MRI?
[11:45:04] dminuoso: jhass: No but since you just got me intrigued I will be trying shortly
[11:46:08] jhass: well I guess my actual interest is running valgrind on a c ext only, but within the context of a regular program
[11:47:16] Vingador: has joined #ruby
[11:47:30] madgen: has joined #ruby
[11:47:35] dminuoso: jhass: for memcheck?
[11:47:54] jhass: yeah, checking whether leak/bloat comes from there or not
[11:48:16] Hanmac: has joined #ruby
[11:48:31] Tempesta: has joined #ruby
[11:48:56] rodferso1: has joined #ruby
[11:50:12] xall: has joined #ruby
[11:53:45] Azure|dc: has joined #ruby
[11:56:39] d0nn1e: has joined #ruby
[11:58:07] jaguarmagenta: has joined #ruby
[12:00:03] prestorium: has joined #ruby
[12:00:51] c355E3B: has joined #ruby
[12:01:59] zacstewart: has joined #ruby
[12:03:21] davedev24: has joined #ruby
[12:05:50] dc2: has joined #ruby
[12:06:29] xall: has joined #ruby
[12:07:06] rubirc: has joined #ruby
[12:09:00] mistermocha: has joined #ruby
[12:09:03] khelair: has joined #ruby
[12:09:33] nettoweb: has joined #ruby
[12:09:45] LoneHerm_: has joined #ruby
[12:12:30] RegulationD: has joined #ruby
[12:12:37] Fernando-Basso: has joined #ruby
[12:12:43] stoopidmunkey: has joined #ruby
[12:13:59] mistermocha: has joined #ruby
[12:15:21] neo_: has joined #ruby
[12:16:04] mistermocha: has joined #ruby
[12:18:08] mistermo_: has joined #ruby
[12:20:07] mistermo_: has joined #ruby
[12:20:17] lessless: has joined #ruby
[12:21:05] JeanCarloMachado: has joined #ruby
[12:21:56] mistermocha: has joined #ruby
[12:22:29] rikkipitt: has joined #ruby
[12:22:35] JeanCarloMachado: has joined #ruby
[12:22:47] xall: has joined #ruby
[12:24:00] mistermo_: has joined #ruby
[12:24:21] CloCkWeRX: has joined #ruby
[12:24:56] mdw: has joined #ruby
[12:25:53] mistermo_: has joined #ruby
[12:26:45] hk238: has joined #ruby
[12:27:08] jmignault: has joined #ruby
[12:27:21] snowy: has joined #ruby
[12:27:48] mistermocha: has joined #ruby
[12:30:51] fmcgeough: has joined #ruby
[12:31:36] Infra-Red: has joined #ruby
[12:32:02] sergey_makagon: has joined #ruby
[12:33:28] al2o3-cr: has joined #ruby
[12:34:22] allcentury: has joined #ruby
[12:39:07] elementaru: has joined #ruby
[12:39:07] xall: has joined #ruby
[12:43:03] lenwood: has joined #ruby
[12:44:31] JiYu: has joined #ruby
[12:44:42] JiYu: any trick to use socket to only ipv4 addresses and not ipv6?
[12:46:05] xlegoman: has joined #ruby
[12:46:18] DanyC: has joined #ruby
[12:48:27] emiltin: has joined #ruby
[12:49:53] tknz: has joined #ruby
[12:50:03] antgel: has joined #ruby
[12:50:04] jhass: use I understood, show?
[12:50:10] jhass: you mean a server socket?
[12:50:26] jhass: bind to a v4 address, eg 127.0.0.1 instead of localhost
[12:50:43] codecop: has joined #ruby
[12:53:12] kimegede: has joined #ruby
[12:54:05] aegis3121: has joined #ruby
[12:54:29] tercenya: has joined #ruby
[12:55:11] sdothum: has joined #ruby
[12:55:31] xall: has joined #ruby
[12:55:51] schickung: has joined #ruby
[12:56:16] shevy: has joined #ruby
[13:02:02] allcentury: has joined #ruby
[13:03:02] zacstewart: has joined #ruby
[13:03:03] ChiefAlexander: has joined #ruby
[13:04:27] lxsameer: has joined #ruby
[13:06:56] ramortegui: has joined #ruby
[13:07:26] jgt2: has joined #ruby
[13:07:47] moeabdol: has joined #ruby
[13:07:56] C0deMaver1ck: has joined #ruby
[13:08:11] FernandoBasso: has joined #ruby
[13:08:27] imperator: has joined #ruby
[13:08:40] imperator: has left #ruby: ()
[13:10:32] C0deMaver1ck: has left #ruby: ()
[13:10:41] platzhirsch: has joined #ruby
[13:11:16] LoneHermit: has joined #ruby
[13:11:46] xall: has joined #ruby
[13:11:56] GodFather: has joined #ruby
[13:13:26] RegulationD: has joined #ruby
[13:14:13] diegoviola: has joined #ruby
[13:15:33] xaxisx: has joined #ruby
[13:15:46] wilsonc91: has joined #ruby
[13:16:10] jaguarmagenta: has joined #ruby
[13:16:59] shinnya: has joined #ruby
[13:17:19] davedev24: has joined #ruby
[13:18:00] schickung: has joined #ruby
[13:18:10] Vile`: has joined #ruby
[13:19:58] swills: has joined #ruby
[13:20:39] nankyokusei: has joined #ruby
[13:21:10] A_Drone: has joined #ruby
[13:27:51] pawnbox: has joined #ruby
[13:28:05] xall: has joined #ruby
[13:28:10] madgen: has joined #ruby
[13:28:24] symm-: has joined #ruby
[13:28:46] jetpackj1: has joined #ruby
[13:29:12] joonty: has joined #ruby
[13:29:20] AlexRussia: has joined #ruby
[13:29:22] lenwood_: has joined #ruby
[13:29:26] pawnbox: has joined #ruby
[13:32:46] Zackio: has joined #ruby
[13:34:27] msvbhat: has joined #ruby
[13:39:12] workmad3: has joined #ruby
[13:39:27] sergio_101: has joined #ruby
[13:39:47] malconis: has joined #ruby
[13:44:23] xall: has joined #ruby
[13:44:40] wilsonc91: has joined #ruby
[13:44:41] rbr: has joined #ruby
[13:46:56] Wildfyr: has joined #ruby
[13:47:03] Wildfyr: Let's hope he works
[13:47:11] Wildfyr: :s/he/the bot/
[13:47:38] Wildfyr: wrong channel, sorr
[13:48:10] agentmeerkat: has joined #ruby
[13:48:21] Es0teric: has joined #ruby
[13:49:36] C0deMaver1ck: has joined #ruby
[13:50:01] rbennacer: has joined #ruby
[13:50:26] mattwashere: has joined #ruby
[13:50:28] joonty: has joined #ruby
[13:50:29] SilverKey: has joined #ruby
[13:50:41] mattwashere: has joined #ruby
[13:51:40] A_Drone: has joined #ruby
[13:52:55] rikkipitt: has joined #ruby
[13:54:06] Xeago_: has joined #ruby
[13:54:34] emilkarl: has joined #ruby
[13:56:09] benlieb: has joined #ruby
[13:57:02] chip_: has joined #ruby
[13:57:03] SilverKey: has joined #ruby
[13:57:06] Xeago_: has joined #ruby
[13:57:27] Neon: Hello, I wrote a Ruby-related question on SuperUser (StackExchange) and I already got an answer, but I'm struggling with understanding it. What's the extconf.rb and how am I supposed to be using it? Please have a look at the thread here: http://superuser.com/questions/1093954/gem-not-working-in-cygwin
[13:58:10] diegoviola: has joined #ruby
[13:58:26] macsteps: has joined #ruby
[14:00:15] Xeago: has joined #ruby
[14:00:34] the_drow: has joined #ruby
[14:00:48] xall: has joined #ruby
[14:01:58] Vingador: has joined #ruby
[14:02:38] mattwashere: has joined #ruby
[14:03:11] mattwashere: has joined #ruby
[14:03:23] chouhoulis: has joined #ruby
[14:06:10] CloCkWeRX: has joined #ruby
[14:06:11] shevy: should this not work automatically when you install ruby via the one click installer thingy?
[14:06:36] Neon: shevy: Yes, I thought so as well. I did that. It doesn't work. :(
[14:07:58] shevy: been a long time since I was on windows, probably last time ... in 2011 or so. I remember back then that "gem" was working out of the box; I have not used cygwin though, perhaps some setup is wrong there. As far as I remember, you did not need cygwin in order to have ruby work on windows
[14:08:58] pawnbox: has joined #ruby
[14:09:31] malconis: has joined #ruby
[14:10:06] Neon: shevy: Yes, as a workaround I'm using the native Ruby and that works well. However, I experienced problems when using the native Ruby from cygwin. it appears to prefer its own Ruby version.
[14:10:14] pontiki: Neon: did you try the things he told you try?
[14:10:33] Neon: pontiki: No, I didn't really understand it.
[14:11:20] pontiki: part of the issue is that you want to use cygwin, and rubyinstaller uses mingw. you've just comingled two different package managers, neither of which is native to windows
[14:12:16] LoneHermit: has joined #ruby
[14:12:25] pontiki: so you have to tell cygwin to use the alternate paths, which is what his answer is telling you to do
[14:12:26] the_drow: has joined #ruby
[14:13:27] Neon: Someone from Cygwin appears to have successfully reproduced it and it appears to be a Cygwin-related bug (from version 2.5.2 on). https://cygwin.com/ml/cygwin/2016-06/msg00378.html So probably nothing to do for you guys. Thank you anyway.
[14:13:33] the_drow: has joined #ruby
[14:13:36] idletask: has joined #ruby
[14:14:04] snowy: has joined #ruby
[14:14:16] RegulationD: has joined #ruby
[14:15:25] scorphus: has joined #ruby
[14:15:29] agent_white: has joined #ruby
[14:16:48] diegoviola: has joined #ruby
[14:16:54] xall: has joined #ruby
[14:18:27] braincrash: has joined #ruby
[14:19:03] hutch34: has joined #ruby
[14:19:08] centrx: has joined #ruby
[14:19:40] mattwashere: has joined #ruby
[14:22:00] A_Drone: has joined #ruby
[14:23:50] zacstewart: has joined #ruby
[14:24:02] existensil: has joined #ruby
[14:25:37] mattwashere: has joined #ruby
[14:26:21] TrikedOut69: has joined #ruby
[14:27:27] agentmeerkat: has joined #ruby
[14:27:51] SilverKey: has joined #ruby
[14:28:02] ndakota54: has joined #ruby
[14:28:38] the_drow: has joined #ruby
[14:29:15] the_drow: has joined #ruby
[14:29:31] neo_: has joined #ruby
[14:29:40] madgen: has joined #ruby
[14:30:27] xaxisx: has joined #ruby
[14:30:42] mistermocha: has joined #ruby
[14:30:43] TrikedOut69: has left #ruby: ()
[14:32:29] kareeoleez: has joined #ruby
[14:32:36] mistermocha: has joined #ruby
[14:32:40] aegis3121: has joined #ruby
[14:33:00] Wildfyr: http://paste.ofcode.org/xuAUYh722RbdPgYRcPLkAY
[14:33:06] Wildfyr: This is a bot I wrote
[14:33:07] xall: has joined #ruby
[14:33:12] Wildfyr: (first project)
[14:33:22] Wildfyr: and recommendations of improving it
[14:34:23] ruby83472: has joined #ruby
[14:34:48] douglascorrea: has joined #ruby
[14:34:55] Wildfyr: he works like this
[14:35:02] Wildfyr: :s/he/the bot/
[14:35:02] ruby83472: the bot works like this
[14:35:23] msvbhat: has joined #ruby
[14:35:48] nando293921: has joined #ruby
[14:36:02] UnKnOwN|: I'm a newb to ruby programming but If i could offer something/anything, I'd say maybe that 'nil' statment isnt need
[14:36:16] LoneHerm_: has joined #ruby
[14:36:34] Wildfyr: Unknown|: so ...? what instead of nil?
[14:36:36] agent_white: Wildfyr: Nice job :)
[14:36:43] Wildfyr: agent_white: thanks
[14:36:54] UnKnOwN|: could just not see the logic or reasonsing for it there... couldnt whitespace or ';' do same?
[14:37:37] Wildfyr: i suppose it could, but nil seems more explicit
[14:37:44] UnKnOwN|: i understand
[14:38:01] pontiki: looks alright
[14:38:21] pontiki: i sort of jerk spasmostically at the length of check()
[14:39:05] Wildfyr: so ... divide it into more funcs?
[14:39:13] UnKnOwN|: I recently had a similiar statement and the nil ended up giving problems, but indeed good job, and listen is someone else option on the nil (like I said i'ma newb to ruby)
[14:39:17] pontiki: that'd be my *preference*
[14:39:32] harfangk: has joined #ruby
[14:39:48] emiltin: has joined #ruby
[14:39:55] pontiki: you might consider logging the exception in the rescue
[14:40:07] Wildfyr: pontiki: good idea
[14:41:07] Wildfyr: i didn't bother with it, because the only exception occured when a user invoked the bot without any previous msgs
[14:41:17] Wildfyr: but i do plan on implementing it
[14:41:28] Wildfyr: good learning experience and handy
[14:42:07] Wildfyr: thanks guys, is there anything else?
[14:42:37] pontiki: well, there's probably tons of things to make a bot do :D
[14:43:15] pontiki: so write a plugin processor? :D
[14:45:10] Wildfyr: pontiki: maybe :D, but then i'd be re-inventing the wheel
[14:45:22] pontiki: you already have :)
[14:45:32] CJKinni: has joined #ruby
[14:45:33] xaxisx: has joined #ruby
[14:45:34] pontiki: this is a learning project, is it not?
[14:45:40] Wildfyr: pontiki: yes it is
[14:45:45] pontiki: there you are
[14:46:11] Wildfyr: i could have used an existing frame-work, but for such a small project using it would have been overkill
[14:46:39] pontiki: it's not only okay to reinvent the wheel for learning, it's pretty damned necessary
[14:46:57] Wildfyr: pontiki: fair enough
[14:47:08] rippa: has joined #ruby
[14:47:13] pontiki: anyway, carry on
[14:47:21] Wildfyr: pontiki: planning to do so
[14:47:27] Wildfyr: thanks guys!
[14:48:08] nettoweb: has joined #ruby
[14:48:27] `tim`: has joined #ruby
[14:49:19] Vingador: has joined #ruby
[14:49:24] xall: has joined #ruby
[14:50:41] isberg: has joined #ruby
[14:51:34] centrx: has joined #ruby
[14:51:35] nerium: has joined #ruby
[14:52:54] A_Drone: has joined #ruby
[14:53:29] braincrash: has joined #ruby
[14:56:42] ChiefAlexander: has joined #ruby
[14:57:06] SilverKey: has joined #ruby
[14:58:44] ndakota: has joined #ruby
[14:58:46] dc2: has joined #ruby
[15:00:23] ullu: has joined #ruby
[15:00:48] Wildfyr: has left #ruby: ("See ya")
[15:01:10] CJKinni`: has joined #ruby
[15:01:14] Neo--: has joined #ruby
[15:01:21] polishdub: has joined #ruby
[15:01:22] dhollinger: has joined #ruby
[15:02:40] ChiefAlexander: has joined #ruby
[15:04:38] rbr: has joined #ruby
[15:05:54] xall: has joined #ruby
[15:07:41] ciampix: has joined #ruby
[15:09:32] howdoi: has joined #ruby
[15:10:50] arooni: has joined #ruby
[15:10:54] electrostat: has joined #ruby
[15:10:57] shevy: has joined #ruby
[15:11:06] SCHAAP137: has joined #ruby
[15:15:07] aegis3121: has joined #ruby
[15:15:13] RegulationD: has joined #ruby
[15:15:58] chouhoulis: has joined #ruby
[15:18:32] jaguarmagenta: has joined #ruby
[15:18:48] smathy: has joined #ruby
[15:19:33] CausaMortis: has joined #ruby
[15:20:31] jgt2: has joined #ruby
[15:20:34] yma__gib: has joined #ruby
[15:21:32] nankyokusei: has joined #ruby
[15:21:47] shevy: anyone may happen to have an already working example using readline, to highlight the given input if it matches something?
[15:22:06] shevy: for instance... if the user types "foo" it should be green colour... but if he writes "foobar" it should be in red colour
[15:22:07] xall: has joined #ruby
[15:23:15] A_Drone: has joined #ruby
[15:24:02] kareeoleez: has joined #ruby
[15:24:50] freerobby: has joined #ruby
[15:26:22] skade: has joined #ruby
[15:28:56] the_drow: has joined #ruby
[15:30:15] constantinexvi: has joined #ruby
[15:30:44] electrostat: has joined #ruby
[15:31:31] pawnbox: has joined #ruby
[15:33:42] bkxd: has joined #ruby
[15:34:43] neo_: has joined #ruby
[15:34:50] workmad3: has joined #ruby
[15:34:50] braincrash: has joined #ruby
[15:36:22] Neo--: has joined #ruby
[15:37:19] SilverKey: has joined #ruby
[15:38:20] xall: has joined #ruby
[15:38:24] freerobby: has joined #ruby
[15:40:20] agentmeerkat: has joined #ruby
[15:41:06] agent_white: has joined #ruby
[15:44:47] CausaMortis: has joined #ruby
[15:47:27] madgen: has joined #ruby
[15:52:14] hutch34: has joined #ruby
[15:53:36] A_Drone: has joined #ruby
[15:54:36] xall: has joined #ruby
[15:54:42] macsteps: has joined #ruby
[15:56:52] aegis3121: has joined #ruby
[15:59:18] lxsameer: has joined #ruby
[16:00:17] mattwashere: has joined #ruby
[16:00:31] neo_: has joined #ruby
[16:00:39] aufi: has joined #ruby
[16:01:12] malconis: has joined #ruby
[16:01:24] dhruvasagar: has joined #ruby
[16:01:27] braincrash: has joined #ruby
[16:01:53] mistermocha: has joined #ruby
[16:02:00] amclain: has joined #ruby
[16:02:46] diegoviola: has joined #ruby
[16:02:47] rikkipitt: has joined #ruby
[16:03:48] jnoob22: has joined #ruby
[16:03:58] cajone: has joined #ruby
[16:03:58] neo_: has joined #ruby
[16:04:39] mistermo_: has joined #ruby
[16:05:13] TomyLobo: has joined #ruby
[16:07:36] douglascorrea: has joined #ruby
[16:09:53] electrostat: has joined #ruby
[16:10:54] stoffus1: has joined #ruby
[16:11:01] xall: has joined #ruby
[16:11:52] jgt2: has joined #ruby
[16:12:26] ramfjord: has joined #ruby
[16:14:15] tfitts: has joined #ruby
[16:14:19] conta: has joined #ruby
[16:15:38] mistermocha: has joined #ruby
[16:16:03] RegulationD: has joined #ruby
[16:16:26] JeremyM_: has joined #ruby
[16:17:11] gregf: has joined #ruby
[16:18:32] nogic: has joined #ruby
[16:19:28] cdg: has joined #ruby
[16:19:38] stoffus1: has joined #ruby
[16:23:04] tildes: has joined #ruby
[16:23:38] stoffus1: has joined #ruby
[16:24:11] centrx: has joined #ruby
[16:24:14] Lucky_ABA: has joined #ruby
[16:24:29] A_Drone: has joined #ruby
[16:27:20] xall: has joined #ruby
[16:27:25] sepp2k1: has joined #ruby
[16:27:45] wilsonc91: has joined #ruby
[16:28:02] vuoto: has joined #ruby
[16:28:44] kavanagh: has joined #ruby
[16:33:08] xall: has joined #ruby
[16:35:04] nettoweb: has joined #ruby
[16:37:31] SirOliver: has joined #ruby
[16:37:33] khelair: has joined #ruby
[16:38:37] terminalrecluse: has joined #ruby
[16:40:33] Nilium: Reinventing wheels is also just fun.
[16:40:37] Devalo: has joined #ruby
[16:40:43] Nilium: I should re-enable timestamps in my client.
[16:41:18] moeabdol: has joined #ruby
[16:43:10] stoffus1: has joined #ruby
[16:43:43] Xiti: has joined #ruby
[16:47:16] CausaMortis: has joined #ruby
[16:47:26] tubuliferous: has joined #ruby
[16:48:21] stoffus1: has joined #ruby
[16:48:42] CloCkWeRX: has joined #ruby
[16:49:34] ych: has joined #ruby
[16:49:40] nankyokusei: has joined #ruby
[16:51:44] aegis3121: has joined #ruby
[16:54:27] boogeyman: has joined #ruby
[16:54:31] vuoto: has joined #ruby
[16:55:09] vuoto: has joined #ruby
[16:55:14] A_Drone: has joined #ruby
[16:55:38] emiltin: has joined #ruby
[16:55:58] vuoto: has joined #ruby
[16:56:06] ChiefAlexander: has joined #ruby
[16:56:56] whathappens: has joined #ruby
[16:57:14] Vingador: has joined #ruby
[16:57:48] djbkd: has joined #ruby
[16:59:11] weckl: has joined #ruby
[16:59:54] weckl: has joined #ruby
[17:00:19] dc2: has joined #ruby
[17:01:00] agentmee1kat: has joined #ruby
[17:01:11] stoffus1: has joined #ruby
[17:05:58] craigp_: has joined #ruby
[17:08:32] stoffus1: has joined #ruby
[17:08:41] ramfjord: has joined #ruby
[17:11:11] sergey_makagon: has joined #ruby
[17:11:17] jenrzzz: has joined #ruby
[17:11:40] Beverage1: has joined #ruby
[17:11:42] skweek: has joined #ruby
[17:13:12] siaw23: has joined #ruby
[17:13:59] pLaToOn: has joined #ruby
[17:14:04] leea: has joined #ruby
[17:15:32] neo_: has joined #ruby
[17:16:17] mikecmpbll: has joined #ruby
[17:16:47] arooni: has joined #ruby
[17:16:49] firstdayonthejob: has joined #ruby
[17:16:54] RegulationD: has joined #ruby
[17:17:51] hahuang61: has joined #ruby
[17:18:47] kobain: has joined #ruby
[17:18:52] ChiefAlexander: has joined #ruby
[17:19:07] leea: has joined #ruby
[17:19:19] jaguarmagenta: has joined #ruby
[17:20:36] SirOliver: has joined #ruby
[17:20:47] agentmeerkat: has joined #ruby
[17:22:04] RegulationD: has joined #ruby
[17:22:17] pilne: has joined #ruby
[17:22:27] mattwashere: has joined #ruby
[17:23:35] douglascorrea: has joined #ruby
[17:23:45] wrkrcoop: has joined #ruby
[17:25:38] A_Drone: has joined #ruby
[17:25:47] wrkrcoop: https://gist.github.com/ellismarte/da974bf1d94406bd6204077ef85959db#file-gistfile1-txt-L3-L4
[17:27:04] ule: has joined #ruby
[17:27:46] ule: has joined #ruby
[17:29:51] diegoviola: what's the shortest way to create an array of numbers
[17:30:00] diegoviola: like an array with 100 integers
[17:30:05] diegoviola: (1..100).to_a
[17:30:25] sneakers: has joined #ruby
[17:31:06] dionysus69: has joined #ruby
[17:35:03] rcvalle: has joined #ruby
[17:35:58] jhass: chances are you don't need to turn the range into an array in the first place
[17:37:10] karapetyan: has joined #ruby
[17:37:21] vF3hNGxc47h8: has joined #ruby
[17:37:45] diegoviola: I didn't know that calling each on the range worked...
[17:38:26] neo_: has joined #ruby
[17:39:18] jhass: if you just want to iterate, 1.upto(100) do |i| or perhaps even 100.times.do |i| (0-based though)
[17:39:59] tomchapin: has joined #ruby
[17:41:12] yma__gib: has joined #ruby
[17:41:41] LoneHerm_: has joined #ruby
[17:43:17] chouhoulis: has joined #ruby
[17:49:48] sypheren: has joined #ruby
[17:50:33] SirOliver: has joined #ruby
[17:51:22] arthurl: has joined #ruby
[17:52:59] cschneid_: has joined #ruby
[17:54:05] macsteps: has joined #ruby
[17:54:35] yqt: has joined #ruby
[17:54:48] kareeoleez: I Am trying to start Puma with a very simple website in a RPI and it takes ages. Is it normal ? HAs anyone tried installing Rails in a RPI ?
[17:55:59] A_Drone: has joined #ruby
[17:57:15] gusrub: has joined #ruby
[17:57:45] ftj: has joined #ruby
[17:58:02] shevy: such a purry cat
[17:58:22] ramfjord: has joined #ruby
[17:59:25] jhass: kareeoleez: yeah it's pretty normal
[17:59:37] elomatreb: kareeoleez: Rails might be a little much for a RPi I'd say, even on my quite powerful desktop rails server takes a few seconds to start
[17:59:50] kareeoleez: thank you guys
[17:59:55] kareeoleez: it might be the RPI B+
[18:00:06] kareeoleez: because in RPI 2 it goes pretty good
[18:00:14] hutch34: has joined #ruby
[18:00:14] kareeoleez: Rails for embedded? I love it
[18:01:17] ChiefAlexander: has joined #ruby
[18:02:44] shevy: with mruby!
[18:02:49] SirOliver: has joined #ruby
[18:03:05] pontiki: i've done rails in my rpi B
[18:03:10] madgen: has joined #ruby
[18:03:23] Nilium: I really want to replace my lua stuff with mruby.
[18:03:24] pontiki: i think they're better suited for node apps, tho
[18:04:24] jhass: basically lua with ruby syntax
[18:04:29] Nilium: I feel like game scripting'd be more fluid with mruby than Lua, but it's also kind of hard to beat Lua and LuaJIT's performance
[18:05:24] jhass: I guess what I most dislike about lua is that they conflate map and list into a single ADT, too
[18:05:34] elifoster: has joined #ruby
[18:06:04] Nilium: I don't have too much of a problem with it. It's weird, but under the hood array-like tables and map-like tables are pretty distinct.
[18:06:24] wrkrcoop: has joined #ruby
[18:06:31] jhass: my concern is entirely API wise
[18:06:36] jhass: not implementation wise
[18:06:47] Nilium: Ah. I've never personally had a problem with it.
[18:06:51] shevy: everything is a table!
[18:09:23] arthurl: has joined #ruby
[18:09:42] Nilium: Oh lovely, IE does case-sensitive matches against allowed CORS request headers
[18:09:55] Nilium: I just knew the new IE had to violate a spec somehow
[18:11:17] wrkrcoop: how come this doesn’t work https://gist.github.com/ellismarte/6f0ce0c37c96fc97c11ab9822e421326#file-gistfile1-txt-L5
[18:11:25] ullu: has joined #ruby
[18:11:36] last_staff: has joined #ruby
[18:11:58] baweaver: wrkrcoop: it's not defined on string
[18:12:25] zeroDi: has joined #ruby
[18:12:28] wrkrcoop: baweaver: oh …
[18:12:28] replay: has joined #ruby
[18:12:30] baweaver: That'd be shorthand for: ['fred', 'mejd', 'dez'].map { |name| name.shout }
[18:12:41] baweaver: not: ['fred', 'mejd', 'dez'].map { |name| shout(name) }
[18:12:57] firstdayonthejob: has joined #ruby
[18:13:24] wrkrcoop: baweaver: ahhh i see
[18:13:34] baweaver: that and ruby methods don't work as first class functions per-se, lambdas do though.
[18:13:53] wrkrcoop: baweaver: k. i’m leveling up
[18:13:55] cajone: has joined #ruby
[18:14:07] baweaver: >> mult = -> x { -> y { x * y } }; (1..5).map(&mult(5))
[18:14:14] shevy: you are now a level 5 ruby noob!
[18:14:15] baweaver: that'd be bad.
[18:14:20] baweaver: >> mult = -> x { -> y { x * y } }; (1..5).map(&mult[5])
[18:14:27] baweaver: hm, bot is shot.
[18:14:34] wrkrcoop: what level ruby noob r u
[18:15:08] ruby[bot]: baweaver: I'm terribly sorry, I could not evaluate your code because of an error: Net::OpenTimeout:execution expired
[18:15:09] whathappens: has joined #ruby
[18:16:10] ruby[bot]: baweaver: I'm terribly sorry, I could not evaluate your code because of an error: Net::OpenTimeout:execution expired
[18:16:22] baweaver: yeah, bot is dad.
[18:17:03] biberu: has joined #ruby
[18:17:24] wrkrcoop: so proc calls a method on an object … got it but lambda is a block that takes an argument?
[18:17:28] baweaver: I'm still of the opinion that ruby being paren-free is a bad idea, because it prevents passing methods as functions cleanly.
[18:18:18] baweaver: not exactly. It's using Symbol#to_proc which makes a proc that acts like that.
[18:19:00] baweaver: &ri Symbol#to_proc
[18:19:00] `derpy: http://ruby-doc.org/core-2.3.1/Symbol.html#method-i-to_proc
[18:19:09] SilverKey: has joined #ruby
[18:19:56] tristanp: has joined #ruby
[18:20:05] hahuang61: has joined #ruby
[18:21:10] sergey_makagon: has joined #ruby
[18:21:20] smathy: has joined #ruby
[18:21:39] Dimik: has joined #ruby
[18:22:44] RegulationD: has joined #ruby
[18:23:57] jenrzzz: has joined #ruby
[18:23:58] jenrzzz: has joined #ruby
[18:24:22] ftj: has joined #ruby
[18:24:32] eatsfoobars: has joined #ruby
[18:24:48] hxegon: baweaver: why not ->(a,b) { a * b }?
[18:25:00] baweaver: composition
[18:25:11] baweaver: and that'd require tuples
[18:25:28] hxegon: couldn't you just #reduce?
[18:25:33] Developer001: So, I have a weird bug, and no useful logs are given.
[18:26:02] Developer001: I have included the twitter gem. The app runs locally, I didn't add any extra code, then I deploy to heroku, and heroku can't build it
[18:26:12] hxegon: baweaver: hold on, let me just try your code to make sure it does what I think it does
[18:26:15] Developer001: No extra debug messages other than "Can't build" (Paraphrasing)
[18:26:21] A_Drone: has joined #ruby
[18:27:32] douglascorrea: has joined #ruby
[18:27:34] baweaver: well, lunch for me. Be back later.
[18:28:29] hxegon: baweaver: gotcha. Didn't know you could give a proc args with &, thanks
[18:29:18] karapetyan: has joined #ruby
[18:30:22] macsteps: has joined #ruby
[18:30:54] Ishido: has joined #ruby
[18:34:52] jgt2: has joined #ruby
[18:36:53] yma__gib: has joined #ruby
[18:37:56] SirOliver: has joined #ruby
[18:38:18] gizmore: has joined #ruby
[18:39:22] Madplatypus: has joined #ruby
[18:40:06] karapetyan: has joined #ruby
[18:41:05] SilverKey: has joined #ruby
[18:41:15] tomchapin: has joined #ruby
[18:42:20] SirOliver: has joined #ruby
[18:42:53] LoneHermit: has joined #ruby
[18:42:56] Developer001: .... And toda, I tried pushing again, and it works. Gremlins.
[18:45:28] chouhoul_: has joined #ruby
[18:46:59] neha-: has joined #ruby
[18:47:10] chouhoul_: has joined #ruby
[18:48:20] dreinull: has joined #ruby
[18:48:23] jenrzzz: has joined #ruby
[18:49:13] diegoviola: has joined #ruby
[18:53:51] dannyh: has joined #ruby
[18:54:00] dannyh: i have an array of hashes, each has has a single key and value, im trying to check and see what the uniq values are for those values
[18:54:04] dannyh: any ideas?
[18:54:10] dannyh: i can do it with a bunch of lines of code, was trying to see if there was a clean, simple way to do it
[18:54:14] mattwashere: has joined #ruby
[18:54:15] dmr8: has joined #ruby
[18:55:54] electrostat: has joined #ruby
[18:56:25] res0nat0r: has joined #ruby
[18:56:43] A_Drone: has joined #ruby
[18:59:19] pontiki: has joined #ruby
[19:00:15] karapetyan: has joined #ruby
[19:02:02] SirOliver: has joined #ruby
[19:02:13] hahuang65: has joined #ruby
[19:02:32] dc2: has joined #ruby
[19:04:58] mdw: has joined #ruby
[19:06:14] jgt2: has joined #ruby
[19:06:20] vshr: has joined #ruby
[19:07:01] kirun: has joined #ruby
[19:07:44] CausaMortis: has joined #ruby
[19:11:30] xall: has joined #ruby
[19:11:55] `tim`: has joined #ruby
[19:12:37] shevy: he must have been very interested in an answer
[19:13:00] jhass: 6 minutes, we had it worse
[19:13:39] jhass: .map {|h| h.values.first }.uniq
[19:15:19] RegulationD: has joined #ruby
[19:17:46] codecop: has joined #ruby
[19:19:31] jgt2: has joined #ruby
[19:20:04] jaguarmagenta: has joined #ruby
[19:20:51] hahuang61: has joined #ruby
[19:21:32] dminuoso: has joined #ruby
[19:22:04] karapetyan: has joined #ruby
[19:23:13] SilverKey: has joined #ruby
[19:27:05] A_Drone: has joined #ruby
[19:28:08] postmodern: has joined #ruby
[19:30:49] memorasus: has joined #ruby
[19:31:14] JesseH: has joined #ruby
[19:32:08] karapetyan: has joined #ruby
[19:33:29] jackjackdripper: has joined #ruby
[19:33:51] nando293921: has joined #ruby
[19:34:57] tubuliferous: has joined #ruby
[19:36:00] icarus: has joined #ruby
[19:39:08] ChiefAlexander: has joined #ruby
[19:39:31] rbennacer: has joined #ruby
[19:39:33] tAn: has joined #ruby
[19:41:19] GodFather: has joined #ruby
[19:41:54] Dimik: has joined #ruby
[19:42:57] jackjackdripper: has joined #ruby
[19:43:46] LoneHerm_: has joined #ruby
[19:43:50] slappy16: has joined #ruby
[19:43:55] leea: has joined #ruby
[19:44:16] xall: has joined #ruby
[19:45:01] karapetyan: has joined #ruby
[19:46:37] leea: has joined #ruby
[19:48:27] karapetyan: has joined #ruby
[19:48:56] Axsuul: has joined #ruby
[19:49:10] agentmeerkat: has joined #ruby
[19:49:52] djbkd: has joined #ruby
[19:50:02] chip_: has joined #ruby
[19:50:06] jenrzzz: has joined #ruby
[19:50:14] blackmesa: has joined #ruby
[19:50:15] emiltin: has joined #ruby
[19:51:14] skade: has joined #ruby
[19:52:24] gizless: has joined #ruby
[19:55:27] nando293921: has joined #ruby
[19:56:25] wrkrcoop: has joined #ruby
[19:56:57] xall: has joined #ruby
[19:57:22] memorasus: Hey I'm trying to convert a metasploit exploit from ruby to python but I'm having a difficult time understanding a particular part, can someone help me out?
[19:57:22] danny__: has joined #ruby
[19:57:26] A_Drone: has joined #ruby
[19:57:44] workmad3: has joined #ruby
[19:58:41] peterhu: has joined #ruby
[19:59:06] ChiefAlexander: has joined #ruby
[19:59:43] havenwood: memorasus: Share a Gist? You might have better luck in the #metasploit channel.
[20:00:36] memorasus: Here is the actual exploit https://www.exploit-db.com/exploits/16393/, I'm having a hard time understanding how the buffer works so I can rewrite it in python. I don't get what the buf[101, 6] stuff means
[20:01:14] peterhu: has joined #ruby
[20:01:32] memorasus: thanks for the suggestion, i'll try there too... I didn't know if this was more of a ruby question or metasploit specific
[20:02:03] joonty: has joined #ruby
[20:03:17] havenwood: memorasus: http://ruby-doc.org/core/String.html#method-i-5B-5D-3D
[20:05:28] pawnbox: has joined #ruby
[20:06:19] peterhu: has joined #ruby
[20:06:23] memorasus: havenwood: so is buf[101, 6] appending 6 nops to the buffer at the offset of 101?
[20:06:56] electrostat: has joined #ruby
[20:08:12] No: has joined #ruby
[20:08:22] havenwood: memorasus: 6 characters starting at the 101st index, yeah
[20:09:36] freerobby1: has joined #ruby
[20:09:38] peterhu: has joined #ruby
[20:09:50] xall: has joined #ruby
[20:10:05] aegis3121: has joined #ruby
[20:10:17] memorasus: thanks, definitely helped, now i that i understand the login behind it...just need to figure out how to craft it lol
[20:11:11] workmad3: has joined #ruby
[20:11:38] arthurl: has joined #ruby
[20:13:57] douglascorrea: has joined #ruby
[20:14:25] ChiefAlexander: has joined #ruby
[20:15:10] danny__: has joined #ruby
[20:15:15] vF3hNGxc47h8: has joined #ruby
[20:17:28] jenrzzz_: has joined #ruby
[20:19:08] pawnbox: has joined #ruby
[20:21:25] peterhu: has joined #ruby
[20:21:35] hahuang61: has joined #ruby
[20:22:37] whathappens: has joined #ruby
[20:23:15] mdw: has joined #ruby
[20:23:29] wilsonc91: has joined #ruby
[20:24:37] xall: has joined #ruby
[20:25:05] futilegames: has joined #ruby
[20:25:31] jgt3: has joined #ruby
[20:25:36] jackjackdripper1: has joined #ruby
[20:26:01] x0F: has joined #ruby
[20:26:05] wilsonc91: has joined #ruby
[20:26:16] AlexRussia: has joined #ruby
[20:27:33] blackgoat: has joined #ruby
[20:27:48] A_Drone: has joined #ruby
[20:29:20] banister: has joined #ruby
[20:29:52] ur5us: has joined #ruby
[20:31:55] SilverKey: has joined #ruby
[20:33:49] symm-: has joined #ruby
[20:33:58] tubuliferous: has joined #ruby
[20:34:16] kappy: has joined #ruby
[20:34:54] kenichi: has joined #ruby
[20:35:01] Devalo: has joined #ruby
[20:39:15] tildes: has joined #ruby
[20:41:04] macsteps: has joined #ruby
[20:42:50] bratchley: is there a way to ignore non-integer characters on keyboard input?
[20:43:17] bratchley: I know I can check after the fact and loop back but I was wanting to get it to where it refuses to accept non-integers
[20:43:23] bratchley: as in you hit "z" and nothing happens
[20:43:35] pontiki: bratchley: how are you reading input?
[20:43:47] bratchley: I'm wide open but it's on a tty
[20:44:00] baweaver: technically no, but this gets close: https://github.com/JEG2/highline
[20:44:00] bratchley: "wide open" meaning that I'm implementing this for the first time
[20:44:02] pontiki: i mean what ruby methods are you using
[20:44:23] bratchley: I've used gets and IO.read on /dev/stdin before
[20:44:31] bratchley: but I can use whatever means gets me this behavior
[20:45:20] drbrain: braderhart: see also io/console (built-in to ruby)
[20:45:37] nankyokusei: has joined #ruby
[20:45:51] LoneHermit: has joined #ruby
[20:46:42] tildes: has joined #ruby
[20:46:55] mistermocha: has joined #ruby
[20:46:56] jhack: has joined #ruby
[20:47:14] yfeldblum: has joined #ruby
[20:47:50] dionysus69: has joined #ruby
[20:48:42] parshap: has left #ruby: ()
[20:52:48] dc2: has joined #ruby
[20:53:09] ChiefAlexander: has joined #ruby
[20:55:00] tubuliferous: has joined #ruby
[20:55:14] whathapp_: has joined #ruby
[20:55:19] spider-mario: has joined #ruby
[20:56:43] ndrst: has joined #ruby
[20:56:55] moeabdol: has joined #ruby
[20:58:11] A_Drone: has joined #ruby
[20:59:07] joonty: has joined #ruby
[21:02:15] sevvie: has joined #ruby
[21:03:10] sergio_101: has joined #ruby
[21:05:25] febuiles: has joined #ruby
[21:08:11] dnewkerk: has joined #ruby
[21:09:21] diegoviola: has joined #ruby
[21:10:44] SilverKey: has joined #ruby
[21:11:09] Jayson_Virissimo: has joined #ruby
[21:11:43] neha-: has joined #ruby
[21:12:02] sevvie: has joined #ruby
[21:16:48] hastur: has joined #ruby
[21:16:48] jenrzzz: has joined #ruby
[21:16:55] hastur: how the fuck do i do websockets in ruby
[21:16:57] hastur: what the christ
[21:17:04] hastur: every library is broken
[21:18:18] hxegon: could you be more specific? what libraries have you tried, what are you doing specifically, etc
[21:19:10] hastur: sorry it's been a frustrating morning
[21:19:13] chadwtaylor: has joined #ruby
[21:19:19] pontiki: i'd just take that at face value
[21:19:28] hxegon: I can tell :)
[21:20:19] hastur: i just need to know what the default answer for websockets is
[21:20:22] havenwood: hastur: What libs have you tried?
[21:20:30] hastur: because what i'm finding seems to be github passion projects
[21:20:51] jaguarmagenta: has joined #ruby
[21:20:53] mikecmpbll: has joined #ruby
[21:21:10] chadwtaylor: We can do a setter method like so: "def add_language=(language) ... end" but I was wonder how to do something like this: "def languages<<(language) ... end" (I know this is illegal but wanted to illustrate an example)
[21:21:13] hastur: em-websockets, websockets, faye-websocket-ruby, websocket-ruby
[21:21:43] havenwood: hastur: what trouble did you run into with faye-websocket?
[21:21:45] aegis3121: chadwtaylor I would...imagine you can just do def <<(language); languages << language; languages; end
[21:22:20] hahuang61: has joined #ruby
[21:22:28] aegis3121: or whatever your body looks like.
[21:22:38] chadwtaylor: aegis3121: Many thanks, gonna try that.
[21:23:01] baweaver: &ri Array#<<
[21:23:01] `derpy: http://ruby-doc.org/core-2.3.1/Array.html#method-i-3C-3C
[21:23:48] adaedra: chadwtaylor: you could define @languages = [] then attr_reader :languages, which would allow to do object.languages << ...
[21:24:20] diegoviola: has joined #ruby
[21:24:26] baweaver: or define an `each` method and mixin Enumerable
[21:24:34] drbrain: has joined #ruby
[21:25:07] FernandoBasso: has joined #ruby
[21:26:13] havenwood: hastur: ActionCable has some nice fallbacks but it's still rc2. Roda's websockets are a wrapper around faye-websocket at the moment: https://github.com/jeremyevans/roda/blob/master/lib/roda/plugins/websockets.rb
[21:28:33] hastur: my testing shell was using the wrong rvm for faye
[21:28:33] hastur: bless you havenwood
[21:28:43] havenwood: hastur: I think the Ruby community didn't embrace Websockets as fast as some others. There was waffling over whether Event-Stream or something else might win.
[21:28:48] havenwood: hastur: You're welcome. Good luck!
[21:29:00] A_Drone: has joined #ruby
[21:31:59] pawnbox: has joined #ruby
[21:32:19] Azure: has joined #ruby
[21:32:51] ricer2: has joined #ruby
[21:33:25] ChiefAlexander: has joined #ruby
[21:34:32] Parker0: has joined #ruby
[21:39:02] johnmilton: has joined #ruby
[21:39:17] nankyokusei: has joined #ruby
[21:41:33] agentmeerkat: has joined #ruby
[21:42:32] chip_: has joined #ruby
[21:43:26] Symbiosisz: has joined #ruby
[21:44:34] borkdude: has joined #ruby
[21:44:35] cyphase: has joined #ruby
[21:44:47] wilsonc91: has joined #ruby
[21:46:26] Parker0__: has joined #ruby
[21:46:41] sevvie: has joined #ruby
[21:46:54] sevvie: has joined #ruby
[21:47:21] neha-: has joined #ruby
[21:47:28] Sero: has joined #ruby
[21:47:57] sypheren: has joined #ruby
[21:50:02] SilverKey: has joined #ruby
[21:50:31] yma__gib: has joined #ruby
[21:50:31] macsteps: has joined #ruby
[21:50:32] Parker0_: has joined #ruby
[21:51:17] ledestin: has joined #ruby
[21:52:27] macsteps: has joined #ruby
[21:54:18] ledestin: has joined #ruby
[21:55:25] rht: has joined #ruby
[21:57:23] douglascorrea: has joined #ruby
[21:58:35] solocshaw: has joined #ruby
[21:58:40] johnmilton: has joined #ruby
[21:59:01] workmad3: has joined #ruby
[21:59:16] jenrzzz: has joined #ruby
[21:59:16] jenrzzz: has joined #ruby
[21:59:21] A_Drone: has joined #ruby
[22:00:02] solocshaw: has joined #ruby
[22:01:15] mdw7: has joined #ruby
[22:04:24] macsteps: has joined #ruby
[22:04:30] chip_: has joined #ruby
[22:05:16] diegoviola: has joined #ruby
[22:05:47] swills: has joined #ruby
[22:05:47] Gasher: has joined #ruby
[22:08:49] mattwashere: has joined #ruby
[22:13:05] diegoviola: how could I improve over this minitest spec: https://gist.github.com/diegoviola/f6906c40ee82319a64b2ace27bb43d4e
[22:13:06] ullu: has joined #ruby
[22:13:12] diegoviola: so that it doesn't look like a simple integration spec
[22:13:28] diegoviola: or is that how I should write my specs to begin with?
[22:15:31] electrostat: has joined #ruby
[22:16:54] tomchapin: has joined #ruby
[22:17:07] tubuliferous: has joined #ruby
[22:20:50] lxsameer: has joined #ruby
[22:21:14] rikkipitt: has joined #ruby
[22:22:24] Neo--: has joined #ruby
[22:23:05] hahuang61: has joined #ruby
[22:23:46] davedev24: has joined #ruby
[22:24:02] solocshaw1: has joined #ruby
[22:24:11] aryaching: has joined #ruby
[22:25:00] JesseH: has joined #ruby
[22:25:30] Xeago_: has joined #ruby
[22:25:30] nofxx: has joined #ruby
[22:25:41] jenrzzz: has joined #ruby
[22:25:42] jenrzzz: has joined #ruby
[22:28:01] nettoweb: has joined #ruby
[22:29:03] Neobenedict_: has joined #ruby
[22:29:03] Neobenedict_: has joined #ruby
[22:29:50] solocshaw1: has joined #ruby
[22:30:10] A_Drone: has joined #ruby
[22:32:54] skade: has joined #ruby
[22:33:42] dvinciguerra_: has joined #ruby
[22:33:46] mello: has joined #ruby
[22:34:43] whathappens: has joined #ruby
[22:36:39] rikkipitt: has joined #ruby
[22:38:14] vdamewood: has joined #ruby
[22:39:00] ensyde__: has joined #ruby
[22:39:01] cyphase: has joined #ruby
[22:39:22] wrkrcoop: has joined #ruby
[22:40:05] RickHull: has joined #ruby
[22:40:17] SirOliver: has joined #ruby
[22:40:41] rikkipitt: has joined #ruby
[22:40:59] whathapp_: has joined #ruby
[22:42:03] kenichi: has joined #ruby
[22:42:20] agentmeerkat: has joined #ruby
[22:43:40] wilsonc91: has joined #ruby
[22:46:00] nettoweb: has joined #ruby
[22:46:12] electrostat: has joined #ruby
[22:46:37] Regulati_: has joined #ruby
[22:47:03] LoneHerm_: has joined #ruby
[22:48:23] pawnbox: has joined #ruby
[22:49:02] rbennacer: has joined #ruby
[22:54:18] yma__gib: has joined #ruby
[22:56:11] jenrzzz: has joined #ruby
[22:56:12] jenrzzz: has joined #ruby
[22:57:40] dminuoso: has joined #ruby
[22:59:06] smathy: has joined #ruby
[23:00:24] tildes: has joined #ruby
[23:00:32] A_Drone: has joined #ruby
[23:00:33] rbennacer: has joined #ruby
[23:00:49] Parko: has joined #ruby
[23:02:05] Xeago_: has joined #ruby
[23:05:04] cdg: has joined #ruby
[23:05:08] electrostat: has joined #ruby
[23:05:09] Es0teric: has joined #ruby
[23:05:55] ferr1: has joined #ruby
[23:06:13] dhk: has joined #ruby
[23:06:58] LoneHermit: has joined #ruby
[23:08:07] ensyde: has joined #ruby
[23:10:49] mattwashere: has joined #ruby
[23:11:11] shevy: has joined #ruby
[23:13:31] jenrzzz: has joined #ruby
[23:13:51] jackjackdripper: has joined #ruby
[23:16:40] LoneHerm_: has joined #ruby
[23:18:49] ur5us: has joined #ruby
[23:19:46] karapetyan: has joined #ruby
[23:19:47] xall: has joined #ruby
[23:20:36] Rodya_: has joined #ruby
[23:21:33] jaguarmagenta: has joined #ruby
[23:22:25] Beverage: has joined #ruby
[23:23:47] hahuang61: has joined #ruby
[23:24:29] agentmeerkat: has joined #ruby
[23:25:58] xlegoman: has joined #ruby
[23:28:17] electrostat: has joined #ruby
[23:28:53] spk_: has joined #ruby
[23:29:39] CSGSJay: has joined #ruby
[23:29:45] CSGSJay: Looking to hire a full time developer, experience in "API, JS, PHP, MYSQL, PDO", query me right now if you're interested in a once in a lifetime opportunity
[23:29:50] preyalone: has joined #ruby
[23:30:45] Radar: CSGSJay: This is the #ruby channel.
[23:30:57] Radar: CSGSJay: Why are you advertising a job which is not Ruby, in the #ruby channel?
[23:31:01] SilverKey: has joined #ruby
[23:31:20] A_Drone: has joined #ruby
[23:31:55] CSGSJay: Radar: Umm
[23:32:06] CSGSJay: Because this job is awesome :p
[23:32:34] Radar: CSGSJay: bzzt wrong answer.
[23:32:53] CSGSJay: What does bzzt mean?
[23:33:26] cdg: has joined #ruby
[23:35:29] millerti: has joined #ruby
[23:35:41] leea: has joined #ruby
[23:36:04] ruby[bot]: +qqq $a:CSGSJay CSGSJay!*@* *!*@gateway/web/freenode/ip.82.26.247.162
[23:36:06] Radar: It means bzzt.
[23:38:01] whathappens: has joined #ruby
[23:40:41] UnKnOwN|: has joined #ruby
[23:43:11] workmad3: has joined #ruby
[23:43:37] nankyokusei: has joined #ruby
[23:43:52] UnKnOwN|: has joined #ruby
[23:44:17] neo_: has joined #ruby
[23:47:02] shevy: has joined #ruby
[23:48:50] neo_: has joined #ruby
[23:49:22] koooge: has joined #ruby
[23:49:48] xlegoman: has joined #ruby
[23:49:56] xall: has joined #ruby
[23:51:33] jenrzzz: has joined #ruby
[23:51:59] Neo--: has joined #ruby
[23:52:04] mfb2: has joined #ruby
[23:58:02] ullu: has joined #ruby
[23:58:26] dminuoso: has joined #ruby