therealGent

Activity Graph

Page 1 of 1

2018-08-18

[18:09:22] therealGent: has joined #ruby
[23:36:39] therealGent: Remote host closed the connection

2018-08-11

[16:46:26] therealGent: has joined #ruby
[17:13:30] therealGent: Quit: Leaving

2018-04-21

[18:23:01] therealGent: has joined #ruby
[23:29:07] therealGent: Remote host closed the connection

2018-01-21

[16:44:19] therealGent: has joined #ruby
[21:47:39] therealGent: Quit: Leaving

2018-01-20

[17:41:01] therealGent: has joined #ruby
[20:41:17] therealGent: Ping timeout: 276 seconds
[21:42:56] therealGent: has joined #ruby
[22:07:44] therealGent: Ping timeout: 276 seconds

2018-01-15

[00:09:29] therealGent: Ping timeout: 276 seconds
[02:22:13] therealGent: has joined #ruby
[05:36:08] therealGent: Ping timeout: 255 seconds

2018-01-14

[19:02:26] therealGent: has joined #ruby

2018-01-07

[07:41:18] therealGent: Ping timeout: 246 seconds
[16:31:08] therealGent: has joined #ruby
[22:08:29] therealGent: Remote host closed the connection

2018-01-06

[02:13:48] therealGent: has joined #ruby
[02:26:47] therealGent: *.net *.split
[02:33:57] therealGent: has joined #ruby
[03:33:20] therealGent: Ping timeout: 276 seconds
[17:57:59] therealGent: has joined #ruby

2018-01-04

[02:33:32] therealGent: has joined #ruby
[04:39:02] therealGent: Ping timeout: 265 seconds

2018-01-03

[04:14:26] therealGent: has joined #ruby
[05:11:05] therealGent: Ping timeout: 265 seconds

2018-01-02

[04:30:37] therealGent: Ping timeout: 252 seconds

2018-01-01

[21:58:29] therealGent: has joined #ruby

2017-12-24

[03:32:16] therealGent: has joined #ruby
[03:32:19] therealGent: Remote host closed the connection

2017-12-23

[20:50:28] therealGent: has joined #ruby
[23:57:56] therealGent: Ping timeout: 265 seconds

2017-12-20

[02:47:46] therealGent: has joined #ruby
[03:26:02] therealGent: Quit: Leaving

2017-12-18

[05:03:11] therealGent: Ping timeout: 255 seconds

2017-12-17

[20:00:25] therealGent: has joined #ruby

2017-12-16

[08:30:38] therealGent: has joined #ruby
[08:35:49] therealGent: Ping timeout: 265 seconds

2017-12-11

[00:15:38] therealGent: Ping timeout: 255 seconds

2017-12-10

[19:43:35] therealGent: has joined #ruby

2017-11-26

[00:45:03] therealGent: has joined #ruby
[01:54:47] therealGent: Quit: Leaving

2017-10-06

[16:17:05] therealGent: has joined #ruby
[18:17:16] therealGent: Remote host closed the connection

2017-09-04

[01:08:50] therealGent: Ping timeout: 240 seconds
[16:04:47] therealGent: has joined #ruby
[16:07:16] therealGent: Remote host closed the connection

2017-09-03

[03:40:38] therealGent: Ping timeout: 255 seconds
[15:48:14] therealGent: has joined #ruby

2017-09-02

[16:22:01] therealGent: has joined #ruby

2017-08-28

[00:06:11] therealGent: has joined #ruby
[00:40:40] therealGent: Ping timeout: 276 seconds

2017-07-08

[21:49:56] therealGent: has joined #ruby
[23:17:23] therealGent: Ping timeout: 255 seconds

2017-07-05

[01:10:55] therealGent: Quit: Leaving

2017-07-04

[16:20:01] therealGent: has joined #ruby
[16:20:06] therealGent: Hello. Does anyone know why writing to an array with FFI and then reading it returns different results for the first element? https://pastebin.com/vXPKdp3e
[16:42:05] therealGent: Kinda look like a bug in FFI
[18:28:08] therealGent: Ping timeout: 246 seconds
[19:25:03] therealGent: has joined #ruby
[20:13:00] therealGent: Ping timeout: 258 seconds
[21:39:28] therealGent: has joined #ruby

2016-03-21

[02:49:34] therealGent: Ping timeout: 248 seconds
[15:02:29] therealGent: has joined #ruby
[15:28:32] therealGent: Ping timeout: 244 seconds

2016-03-20

[00:27:24] therealGent: Ping timeout: 276 seconds
[20:23:24] therealGent: has joined #ruby

2016-03-19

[06:23:00] therealGent: Ping timeout: 246 seconds
[15:50:59] therealGent: has joined #ruby
[18:39:03] therealGent: Ping timeout: 246 seconds
[19:57:56] therealGent: has joined #ruby

2016-03-18

[19:41:52] therealGent: has joined #ruby
[19:42:50] therealGent: Hello. Could anyone recommend the best solution to quickly installing ruby so I can use jekyll? Preferably something that doesn't modify my cd command :)
[19:45:36] therealGent: neilhwatson, linux
[19:46:21] therealGent: neilhwatson, I need a 2.x version. The current Ubuntu LTS has 1.9 or something

2015-12-28

[00:09:23] therealGent: has joined #ruby
[00:09:43] therealGent: Is there something like a thread dump in ruby? I???m trying to find out what line of code a module is blocking on.
[00:14:39] therealGent: Ox0dea: I feel like that would be too low level. Would that even alert me to what ruby line its on? Or just what syscall its blocked on?
[00:15:10] therealGent: Ox0dea: I???m running JRuby! jstack to the rescue!
[00:15:23] therealGent: It???s stuck on RubyKernel.sleep
[00:16:44] therealGent: Ox0dea: Not me, I???m trying to investigate a gem.
[00:17:03] therealGent: It???s hanging on connect (I???m testing the scenario of connecting to a port with no service running on it)
[00:19:29] therealGent: Ox0dea: And unfortunately, the rest of this stack trace is unreadable to me. I have no idea where in the actual gem it might be blocked.
[00:19:32] therealGent: Stacktrace: http://pastebin.com/uqEyjXgL
[00:21:17] therealGent: Yeah it???s a java lock thing.
[00:21:35] therealGent: But what???s weird is I have no stacktrace lines from the actual module I???m working on
[00:22:47] therealGent: Idk why this would not work??? https://github.com/stompgem/stomp/blob/dev/lib/stomp/client.rb#L90
[00:48:39] therealGent: is it possible to make ruby-install install the ruby development header files and such?
[00:49:12] therealGent: A gem install is trying to find a file at .rubies/jruby-1.7.16/lib/native/include/ruby/ruby.h
[00:49:23] therealGent: I???m pretty sure if I installed it with a package manager, it wouldnt place the files in that location.
[01:39:07] therealGent: Quit: theRealGent
[01:39:37] therealGent: has joined #ruby
[02:19:27] therealGent: headius: it does it if you enable it.
[03:41:07] therealGent: Quit: theRealGent
[03:51:01] therealGent: has joined #ruby
[04:30:31] therealGent: Quit: theRealGent

2015-12-22

[17:35:53] therealGent: has joined #ruby

2015-12-21

[18:26:30] therealGent: has joined #ruby
[18:36:42] therealGent: Quit: theRealGent
[18:55:51] therealGent: has joined #ruby
[19:08:25] therealGent: Radar: I took your suggestion of using chruby.
[19:08:54] therealGent: I have a different problem now: .rubies/ruby-2.2.2/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- bundler (LoadError)
[19:09:33] therealGent: Radar: and `gem list bundler` shows 1.11.2
[19:15:06] therealGent: Can someone assist me with this error? http://pastie.org/private/2gc2kyqdcu7hpfbjshjxww
[19:18:59] therealGent: havenwood: they dont match!
[19:19:38] therealGent: havenwood: /Users/user/.gem/ruby/2.2.2/bin/bundler
[19:19:53] therealGent: havenwood: sorry, theres a new line between 2.2.2 and /bin/bundler
[19:20:49] therealGent: havenwood: what do you think?
[19:21:16] therealGent: havenwood: shouldn???t chruby symlink bundler for me?
[19:24:36] therealGent: havenwood: I just posted a pastie of it. http://pastie.org/private/2gc2kyqdcu7hpfbjshjxww
[19:26:24] therealGent: Ruby is confusing. :(
[19:27:35] therealGent: havenwood: lol I literally can???t even???. http://pastie.org/private/xtuvwbjkvz1xibovs4n5aq
[19:29:27] therealGent: This is giving me the impression that ruby???s tooling ecosystem is.. not stellar :(
[19:30:11] therealGent: havenwood: afaik, im not using rails.
[19:30:41] therealGent: havenwood: I???m just trying to get this application to launch so I can do some simple development
[19:30:51] therealGent: havenwood: I???m writing a logstash output.
[19:31:02] therealGent: But I can???t get logstash to run
[19:31:50] therealGent: havenwood: bundler: command not found: logstash
[19:32:12] therealGent: havenwood: i believe it is. There are gem files in that directory.
[19:33:14] therealGent: Unable to resolve dependency: No match for 'logstash-devutils (~> 0.0.15, ~> 0.0.15)' on this platform. Found: java
[19:33:14] therealGent: havenwood: ERROR: While executing gem ... (Gem::UnsatisfiableDependencyError)
[19:33:21] therealGent: Ah. I forgot, I need JRuby
[19:34:48] therealGent: Let???s see if that works..
[19:37:20] therealGent: ACTION slams forehead into desk repeatedly
[19:37:31] therealGent: I???ve never had this bad of a ramp up time in any other language ecosystem
[19:37:36] therealGent: Literally even Java with Maven is better.
[19:40:14] therealGent: This is why ruby is not succeeding in the operational/sysadmin space.
[19:40:23] therealGent: Python has much less ramp up time, and is simpler.
[19:43:14] therealGent: havenwood: I believe logstash is a gem: https://github.com/elastic/logstash
[20:10:35] therealGent: Quit: theRealGent
[20:13:03] therealGent: has joined #ruby
[21:21:15] therealGent: Quit: theRealGent
[21:33:47] therealGent: has joined #ruby
[21:40:45] therealGent: Quit: theRealGent

2015-12-20

[02:42:02] therealGent: has joined #ruby
[02:42:29] therealGent: Hi. I???m looking to get logstash running on my local ruby install. I???m using rvm and jruby. For some reason, whenever I launch logstash, i get the error ???LoadError: no such file to load -- bundler???
[02:42:33] therealGent: But I can run bundler
[02:43:10] therealGent: I do a gem show and can see it ~/.rvm/gems/jruby-9.0.4.0/gems/bundler-1.11.2
[02:56:59] therealGent: Radar: http://pastie.org/private/upux4c7prul9gmfm4b3uw
[02:58:07] therealGent: If only it was a bit easier to install. $ brew install rvm
[03:01:30] therealGent: ACTION sighs
[03:06:33] therealGent: Quit: theRealGent

2014-09-27

[22:25:17] therealGent: is there a dependency injection framework for ruby?
[22:30:07] therealGent: if you have a very large project, you usually have some sort of service classes. Something that exposes functionality like "addCustomer", "addProduct", etc.
[22:30:48] therealGent: In Java, you may want to add a product as part of another functional part of the system. So you inject an instantiated instance of that service into the one you want the functionality in. Then you can use it.

2014-06-26

[03:17:47] therealGent: Hi all. I just wanted to come here to say how friendly this community is. I was asking some questions here one day and had an outpouring of help. I was hanging around in ##java a bit and that place reaks worse than the language. The most hostile unpleasant channel I've ever been in.

2014-06-22

[16:28:57] therealGent: hello. I've been googling for a ruby operators sheet and i still couldn't find what the => operator does
[16:29:00] therealGent: could anyone let me know?
[16:29:40] therealGent: ah. like a dict?
[16:29:45] therealGent: I see. Thank you!
[16:32:50] therealGent: what do you mean by symbols?
[16:36:28] therealGent: ah, so ruby would have something like :get ?
[16:36:47] therealGent: I always wanted to avoid ruby but i might just end up learning some.
[16:40:54] therealGent: python has lambdas :)
[16:44:05] therealGent: >> 'foo'.respond_to?("each")
[16:45:24] therealGent: Mon_Ouie, I'm trying to write code that will be backwards compatible. Originally it accepts a string, but now I want to supply it an array. It would be cool if I could do an each on just a single string and it would return just that one string.
[16:45:52] therealGent: but then I can just make an if('foo'.respond_to? :each)
[16:46:20] therealGent: benzrf, yup! Thank you!
[16:53:43] therealGent: nope, I don't write ruby :)
[16:55:16] therealGent: centrx, I don't want to upset anyone here, but I don't believe so. I think the language is most worth picking up for Rails.
[16:55:27] therealGent: And the state of security on Rails is just unfortunate.
[16:56:07] therealGent: From what I'm seeing so far, I actually do like the language/syntax. But I just don't see what value I would receive from learning it if I was not going to do rail dev
[16:56:30] therealGent: I just spat out my drink reading this CVE: http://www.vapid.dhs.org/advisories/cremefraiche-cmd-inj.html
[17:00:37] therealGent: But it was nice of all you to jump to conclusions before perhaps asking me what I meant.
[17:01:12] therealGent: centrx, community and support.
[17:01:21] therealGent: And existing applications
[17:01:24] therealGent: Frameworks, etc
[17:03:51] therealGent: jhass, java for one with many enterprise ready frameworks like hibernate and spring, and python is a fav of mine due to it being installed by default on practically every linux distro.
[17:04:21] therealGent: aah you got me there :P
[17:05:42] therealGent: so i know that arrays in ruby have an interator of sorts, .each, but does it have something like itertools? Where I can say array.next .next over and over and keep rotating over the array?
[17:07:37] therealGent: it's sort of like a fallback kind of thing. If it doesn't work, try the next one. If not that one, try the next. Keep going
[17:10:24] therealGent: i can only find #find_index in the array docs