craysiii

Activity Graph

Page 1 of 15 | Next »

2019-04-10

[23:21:53] craysiii: has joined #RubyOnRails
[23:32:31] craysiii: Quit: Page closed

2018-10-06

[19:23:38] craysiii: has joined #ruby-offtopic
[19:24:21] craysiii: has joined #ruby

2018-09-16

[19:49:54] craysiii: I probably can't help you, but you should post the code you are having issues with and any stacktrace / errors you're receiving
[20:00:42] craysiii: like i said, there isn't much to help you with if you don't provide your code
[20:34:27] craysiii: that works, or post to gist.github.com
[22:24:26] craysiii: good afternoon :)

2018-09-05

[01:05:48] craysiii: has joined #RubyOnRails
[01:07:01] craysiii: Hey all, wondering if there is a gem out there that allows users to define filters through a UI and save them to the database in order to generate custom reports without having to write additional code. Don't know if I asked this already since irccloud was acting weird, apologies if I did.
[02:44:46] craysiii: Ping timeout: 260 seconds
[02:45:41] craysiii: has joined #RubyOnRails

2018-09-01

[17:56:32] craysiii: *.net *.split

2018-07-20

[00:07:17] craysiii: *.net *.split
[00:15:27] craysiii: has joined #RubyOnRails
[00:15:42] craysiii: has joined #ruby

2018-07-06

[10:06:31] craysiii: has joined #ruby
[10:06:33] craysiii: has joined #RubyOnRails

2018-06-21

[06:46:18] craysiii: Ping timeout: 256 seconds
[06:57:30] craysiii: has joined #ruby
[06:57:32] craysiii: has joined #RubyOnRails
[06:58:36] craysiii: Max SendQ exceeded
[07:01:20] craysiii: has joined #ruby
[07:01:22] craysiii: has joined #RubyOnRails
[07:05:57] craysiii: Ping timeout: 240 seconds
[07:12:14] craysiii: has joined #RubyOnRails
[07:12:14] craysiii: has joined #ruby

2018-06-20

[03:50:31] craysiii: Ping timeout: 276 seconds
[05:24:17] craysiii: has joined #ruby
[05:24:19] craysiii: has joined #RubyOnRails
[05:55:18] craysiii: Ping timeout: 276 seconds
[06:25:37] craysiii: has joined #ruby
[06:25:39] craysiii: has joined #RubyOnRails

2018-06-01

[03:44:47] craysiii: *.net *.split
[07:47:36] craysiii: has joined #ruby
[07:47:37] craysiii: has joined #RubyOnRails

2018-05-29

[02:47:15] craysiii: *.net *.split
[02:47:46] craysiii: has joined #RubyOnRails
[02:48:02] craysiii: has joined #ruby

2018-05-19

[14:43:05] craysiii: Ping timeout: 256 seconds
[14:43:27] craysiii: has joined #ruby
[14:43:29] craysiii: has joined #RubyOnRails
[14:53:51] craysiii: Ping timeout: 256 seconds
[15:04:55] craysiii: has joined #ruby
[15:05:08] craysiii: has joined #RubyOnRails
[15:33:50] craysiii: Remote host closed the connection
[15:37:18] craysiii: has joined #ruby
[15:37:19] craysiii: has joined #RubyOnRails

2018-05-06

[12:30:51] craysiii: has joined #ruby
[12:30:53] craysiii: has joined #RubyOnRails

2018-05-02

[23:16:47] craysiii: *.net *.split

2018-04-25

[12:25:47] craysiii: *.net *.split
[12:27:20] craysiii: has joined #ruby
[12:27:33] craysiii: has joined #RubyOnRails
[15:01:18] craysiii: *.net *.split
[15:03:04] craysiii: has joined #RubyOnRails
[15:03:17] craysiii: has joined #ruby

2018-04-10

[14:24:27] craysiii: has joined #ruby
[14:24:29] craysiii: has joined #RubyOnRails

2018-03-05

[14:57:35] craysiii: Ping timeout: 276 seconds

2018-03-02

[04:39:51] craysiii: has joined #ruby
[04:39:53] craysiii: has joined #RubyOnRails
[19:03:23] craysiii: anyone know of a semi-current SIP client gem?
[19:09:29] craysiii: i'm considering writing a wrapper for a service which provides some SIP endpoints, would like to be able to bundle that in
[19:16:43] craysiii: Haha in some way I wish that was the case - it would mean I have a dev job :P
[19:18:40] craysiii: Really I am just interested in learning Ruby more, creating open source gems, and hopefully getting a Ruby job one day

2018-02-28

[23:19:22] craysiii: Ping timeout: 265 seconds
[23:22:40] craysiii: has joined #ruby
[23:22:42] craysiii: has joined #RubyOnRails
[23:23:30] craysiii: Max SendQ exceeded
[23:24:35] craysiii: has joined #ruby
[23:24:37] craysiii: has joined #RubyOnRails
[23:25:09] craysiii: Max SendQ exceeded
[23:26:09] craysiii: has joined #ruby
[23:26:10] craysiii: has joined #RubyOnRails

2018-02-20

[00:04:41] craysiii: switch to metric :P

2018-02-19

[23:21:28] craysiii: m O-|-< e { puts e }
[23:21:39] craysiii: m O-\-< e { puts e }
[23:21:44] craysiii: m O-/-< e { puts e }

2018-02-08

[08:17:34] craysiii: Read error: Connection reset by peer
[08:18:07] craysiii: has joined #ruby
[08:18:08] craysiii: has joined #RubyOnRails
[19:24:40] craysiii: Ping timeout: 240 seconds
[19:27:02] craysiii: has joined #RubyOnRails
[19:27:02] craysiii: has joined #ruby

2018-02-06

[03:21:27] craysiii: How does rspec #respond_to determine which methods there are? I've skimmed the source but haven't found anything telling yet. I ask because I have monkey-patched a method onto Numeric and it's not passing a respond_to expectation. https://gist.github.com/craysiii/9b6adaf1ff713af9fd0eabff6fc11c55
[04:32:40] craysiii: Oh I just figured it out. Oops.

2018-02-05

[01:53:30] craysiii: I'm a little confused. I monkey-patched #second onto Numeric, but when I try to test with RSpec e.g. expect(1).to respond_to :second, it fails, even though if I call 1.methods I can see it included in the list. Am I misunderstanding how respond_to works?

2018-02-04

[06:15:32] craysiii: *.net *.split
[19:15:23] craysiii: morning/day/night, has anyone pulled the numeric stuff (#days, #hours, etc) from rails and put it in its own gem?
[19:17:17] craysiii: yeah I just dont feel like pulling in all of activesupport for this one feature, thanks though
[19:17:22] craysiii: maybe i will do something similar
[19:29:53] craysiii: maybe try to write your own api wrapper?

2018-01-22

[15:40:38] craysiii: *.net *.split
[15:41:30] craysiii: has joined #ruby-offtopic
[15:41:42] craysiii: has joined #ruby
[15:41:43] craysiii: has joined #RubyOnRails
[18:21:24] craysiii: I'm attempting to learn RSpec, and having trouble writing a certain test. I'm trying to determine whether a Module has been extended in a Class instance during initialization. Seems like I can't use #ancestors, as it's an instance and not the class itself. Any other ideas?
[18:23:33] craysiii: Sorry, let me give you an example on Gist
[18:25:27] craysiii: https://gist.github.com/craysiii/1d46c7c6290f63e356e287a641100dd8
[18:25:46] craysiii: I want to test if an instance of Foo extended Bar during runtime
[18:27:26] craysiii: good questions to ask myself, the previous gem I wrote I kinda hacked a solution together like this, trying to organize this one better, but beforehand trying to force myself to learn RSpec and more intricacies of ruby
[18:27:30] craysiii: i appreciate the response :)
[18:43:05] craysiii: vrotsok did you install the DevKit?
[18:43:43] craysiii: its documented on the RubyInstaller website. I agree with adaedra though, run ruby in a VM or on WSL
[18:45:07] craysiii: rubymine is nice in my opinion
[18:47:13] craysiii: apieros if you aren't busy or don't mind can I PM you and explain?
[18:49:30] craysiii: ACTION bows
[19:17:45] craysiii: im a failure :( ):

2018-01-21

[21:29:19] craysiii: is there a gem that can route api calls through a specific network interface
[21:30:22] craysiii: i'm assuming i would have to do it outside of ruby but i would love to be proven wrong
[21:45:20] craysiii: interesting.. thanks
[21:52:55] craysiii: yeah, im using Faraday, so i have a range of choices, seems Net::HTTP has local_host local_port option but I wanted to avoid Net::HTTP so my search continues
[21:55:02] craysiii: yeah, trying to balance API calls over multiple interfaces to avoid getting banned
[21:55:22] craysiii: instead of spinning up new vps
[22:23:16] craysiii: yeah i wanted to move towards typheous anyway, ill check that out

2018-01-14

[04:16:28] craysiii: I've been publishing my gem to rubygems using 'rake release'. Today I wanted to start signing my commits with gpg, and successfully configured git in order to do so. However, I'm wondering if when I run 'rake release', the tag created will be signed as well.
[04:37:24] craysiii: https://github.com/bundler/bundler/blob/master/lib/bundler/gem_helper.rb#L160 i think i found my answer
[18:38:33] craysiii: join #bundler

2018-01-12

[16:37:26] craysiii: *.net *.split
[16:38:02] craysiii: has joined #ruby-offtopic
[16:38:12] craysiii: has joined #RubyOnRails
[16:38:12] craysiii: has joined #ruby

2018-01-03

[19:49:00] craysiii: any ruby meetups in the sf bay area that you all attend? i've been interested in attending some type of ruby function or event

2017-12-27

[19:13:30] craysiii: Read error: Connection reset by peer
[19:54:10] craysiii: has joined #ruby-offtopic
[19:54:20] craysiii: has joined #RubyOnRails
[19:54:20] craysiii: has joined #ruby
[22:35:47] craysiii: i'm learning about TomDoc, but a little confused about the syntax to use when a method has named parameters. am i doing it right? i don't feel so. https://gist.github.com/craysiii/e810369dcc59da42c19cb0d3114cd07a

2017-12-25

[20:21:52] craysiii: im using faye/websocket and eventmachine in some code. is wrapping EM.run in a Thread bad practice? I have a feeling it is but just want to understand why if so
[23:57:07] craysiii: has joined #ruby-offtopic

2017-12-19

[21:26:33] craysiii: Havenwood what reasoning do people have for dissuading others from ruby in production?
[21:26:47] craysiii: I mean RVM *

2017-12-16

[08:24:24] craysiii: https://gist.github.com/craysiii/2e73564cb46dee10195fc78f3e4bfb8f So i'm trying to integrate typheous into a gem of mine, and im on windows. when i run "gem install typheous" it installs just fine, but when i add it to my gemspec and run "bundle install" bundler says it could not find a compatible version. what am i missing here?
[18:59:58] craysiii: what difference is there, if any, between doing "gem install <gem>" and placing that gem inside a gemspec and doing "bundle install" ?
[19:04:21] craysiii: okay, so riddle me this: i am trying to add a gem to my gem's dependencies. I can install it via "gem install typhoeus", but adding it to my gemspec and running bundle install results in an error, "Could not find gem 'typheous x64-mingw32'
[19:04:41] craysiii: yes im on windows :(
[19:06:09] craysiii: i have considered it, didn't enjoy it much
[19:07:10] craysiii: i hope so, i just didnt want to introduce even more uncertainty between the platforms i use
[19:18:14] craysiii: sorry havenwood rickhull just had some people stop by for a moment, will answer soon :)
[20:39:04] craysiii: havenwood Bundler version 1.15.4
[20:39:18] craysiii: https://gist.github.com/craysiii/2e73564cb46dee10195fc78f3e4bfb8f
[20:56:15] craysiii: rickhull ive updated the gist with the Gemfile
[20:57:24] craysiii: let me test
[21:02:41] craysiii: wow i'm feeling some shame now... i had it misspelled in the gemspec. could have sworn i checked that over and over again

2017-12-15

[21:18:23] craysiii: So i'm trying to integrate typheous into a gem of mine, and im on windows. when i run "gem install typheous" it installs just fine, but when i add it to my gemspec and run "bundle install" bundler says it could not find a compatible version. what am i missing here?
[21:28:17] craysiii: apeiros https://gist.github.com/craysiii/2e73564cb46dee10195fc78f3e4bfb8f

2017-12-14

[19:21:40] craysiii: Hey everyone, a few weeks ago I read a blog where the author used some gem or built-in method to show how many times certain methods were being called while evaluating a piece of code, but can't remember what it was or what the article was. Any ideas?
[19:24:35] craysiii: thats the one, thanks apeiros. any suggestions on the faster gems?
[19:24:55] craysiii: will do thanks!

2017-12-01

[02:28:57] craysiii: has joined #ruby

2017-11-30

[08:00:58] craysiii: so i've been trying to refactor this api wrapper code since i felt i was not DRY enough, but now it's seems as it i've boxed myself into a corner. i can't seem to access api_key and secret_key inside e.g. Account_API.extended. https://github.com/craysiii/binance/commit/40d281c42e9066302b04978bcca37c787e96b178
[08:02:09] craysiii: I guess I could set them as class instance variables or environment variables but i feel like thats a hack more than a solution or a better way to write it.
[08:05:29] craysiii: i wouldn't be confident enough to say so, ill look it up
[08:20:27] craysiii: im trying to come up with something but I must be missing something
[08:21:21] craysiii: like it works in my minimal test case lol
[08:30:49] craysiii: https://gist.github.com/craysiii/d325f026b639bbcd3308b3309fe606fd i cant see how min test case is differing from my actual code, but essentially i'm unable to access a class' instance variables from inside a modules self.extended method when extending it during the class instance initialization. or at least thats what im attempting to do in both cases.
[08:42:24] craysiii: welp figured it out lol.

2017-11-29

[21:11:46] craysiii: Is there a preferred websocket client gem?
[21:32:50] craysiii: Thanks for the suggestions :)

2017-11-27

[06:48:47] craysiii: hey everyone, looking to see if someone can critique my code and tell me if anything is sticking out before i publish as my first gem https://github.com/craysiii/binance

2017-11-24

[17:58:02] craysiii: https://rubygems.org/gems/soundcloud2000/versions/0.1.0 doesn't look like it has one?
[18:09:04] craysiii: so did you install mpg123?
[18:11:29] craysiii: you installed libmpg123-dev ?

2017-11-22

[16:53:19] craysiii: hey everyone. trying to implement these data stream endpoints for an api wrapper, but i see that faraday hasn't implemented data streams yet. can anyone recommend an appropriate gem?

2017-11-19

[16:40:52] craysiii: hey all, attempting to write my first API wrapper. wondering if I can get some constructive criticism on what i'm doing wrong/what can be done better https://gist.github.com/craysiii/b7886f8ff1b9f15834fc8f09e51bf1bf
[16:45:22] craysiii: thanks derpy, will check out merge. and will work on the OOP as well
[17:58:20] craysiii: wow i thanked the bot, thanks dminuoso lol.
[19:09:04] craysiii: lines of code
[19:18:07] craysiii: RickHull sounds like something terry would say

2017-11-08

[09:43:28] craysiii: *.net *.split
[09:49:04] craysiii: has joined #ruby
[09:49:07] craysiii: has joined #RubyOnRails

2017-11-06

[13:23:02] craysiii: Ping timeout: 255 seconds
[13:24:18] craysiii: has joined #RubyOnRails
[13:24:18] craysiii: has joined #ruby

2017-11-05

[20:11:50] craysiii: *.net *.split
[21:51:23] craysiii: has joined #RubyOnRails
[21:51:23] craysiii: has joined #ruby

2017-09-12

[03:51:47] craysiii: Hello everyone, I am having troubles with HTTParty. I am able to gain an access_token from the Twitch API via HTTParty, and I am able to authenticate that access_token via curl, but not via my method which appears to me to be the same request. Maybe there is something I am missing?
[03:51:48] craysiii: https://gist.github.com/craysiii/696a945822aa6ff23074f6e275e8f618
[16:11:07] craysiii: Sorry to post again everyone, I am having troubles with HTTParty. I am able to gain an access_token from the Twitch API via HTTParty, and I am able to authenticate that access_token via curl, but not via my method which appears to me to be the same request. Maybe there is something I am missing?
[16:12:00] craysiii: https://gist.github.com/craysiii/696a945822aa6ff23074f6e275e8f618
[16:19:57] craysiii: Oh sorry, one second
[16:23:13] craysiii: havenwood I've added a comment to the gist to show the responses I get
[16:23:27] craysiii: both using the same client_id and access_token
[16:23:52] craysiii: also I will check out that snippit when I get out of the shower, thanks
[16:30:33] craysiii: would you mind if i PMed you my auth values?
[16:31:33] craysiii: i agree with you in practice
[16:35:10] craysiii: I will revisit this after work, thanks for the snip
[16:37:39] craysiii: I'll keep that in mind thanks!

2017-09-06

[04:13:20] craysiii: can anyone recommend a gem to facilitate creating a gem for an api? I remember reading about a few but my google-fu escapes me right now.
[04:28:24] craysiii: I'm pretty sure I mean the latter, and I think I might try to use httparty
[04:29:25] craysiii: Yeah, though I remember reading about some gem that was suited exactly for what I want to do, creating an api client gem
[04:30:38] craysiii: Is there a reason why you find HTTParty unsuitable?
[04:30:47] craysiii: Not that I have an opinion, just wondering
[04:34:59] craysiii: can't access the file unfortunately
[04:35:16] craysiii: the one that you linked
[04:36:34] craysiii: alright, well i will look into those options, thanks :)
[04:42:41] craysiii: Awesome, thanks

2017-08-24

[19:38:21] craysiii: So I started reading learn ruby the hard way, but have seen criticisms on the way zed Shaw has written it, and that some parts are not very ruby-like. Are those criticisms valid, and is there a "universally" recommended book out there?

2017-07-16

[03:59:51] craysiii: Remote host closed the connection
[22:25:25] craysiii: has joined #RubyOnRails
[22:25:25] craysiii: has joined #ruby

2017-06-20

[00:17:11] craysiii: *.net *.split
[00:22:40] craysiii: has joined #RubyOnRails
[00:23:09] craysiii: has joined #ruby

2017-06-07

[21:29:24] craysiii: Ping timeout: 240 seconds

2017-05-31

[00:02:15] craysiii: so im trying to create a gem to be used in another project, i created .gemspec, built the gem, and installed it successfully, but i can't seem to require it?
[00:02:41] craysiii: https://gist.github.com/craysiii/99e08ddeb8d5518aa7e3c4b8c6bbe7ab
[00:04:14] craysiii: also im trying to require it in a irb session
[00:09:03] craysiii: yes, i must give backstory. I actually got it to work before by doing require cinch then require roleplayagent, then I changed the gemspec file to include the dependencies when i do require roleplayagent, now it wont work
[00:10:22] craysiii: hmm.. could rebuilding the gem have caused it to uninstall itself?
[00:15:13] craysiii: also does adding a runtime dependency to a gemspec not fix the issue of having to require gem dependencies before the gem?
[00:18:12] craysiii: yeah thats a shit sentence sorry
[00:20:02] craysiii: i see, thanks

2017-05-30

2017-05-29

[17:50:31] craysiii: hello everyone. it's been quite a while since i've used ruby, but im working on a pet project and can't seem to include a certain class inside my main module. https://gist.github.com/craysiii/9b675ff6c8769d9d6933e88ed9cd9e34 i seemingly have no issue including my first plugin class into the same module, but for some reason "Manager" does not want to come
[17:50:32] craysiii: ". any ideas?
[17:50:32] craysiii: through and I get a "uninitialized constant RolePlayAgent::Manager (NameError)
[17:57:00] craysiii: thanks havenwood, i added the namespace to the Manager class declaration and it;s working now. I was avoiding trying that because my IDE was throwing an error, thought there might have been a different way.
[17:58:10] craysiii: I'm still a little confused though,because i am able to access PingPlugin through "RolePlayAgent::PingPlugin" even though it doesn't have the namespace
[17:59:44] craysiii: do you think it could be because Object.get_const is just ignoring the namespace part of the string im passing it?
[18:00:23] craysiii: err I mean Object.const_get **
[18:03:04] craysiii: interesting... thanks a lot!
[18:06:31] craysiii: >> module X; module Y; end; end; Object.const_get 'X::Y', false
[18:07:26] craysiii: Okay... now I must figure out how to get RubyMine to stop complaining about this namespace declared class lol. thanks once again!
[18:12:20] craysiii: ah. if i wrap the classes inside the module again instead of declaring it via :: then all is well :D
[18:29:48] craysiii: dminuoso: no I don't, I would love to though :)
[18:51:37] craysiii: thanks dminuoso i will check it out

2017-05-11

[09:59:57] craysiii: has joined #RubyOnRails
[09:59:57] craysiii: has joined #ruby

2017-04-27

[01:19:15] craysiii: is there a general consensus on the quality and usefulness of RubyMine?

2017-04-25

[05:34:15] craysiii: i know this isn't #opal but i was wondering if anyone had an open source project integrating opal into rails that I could have a peek at just to see how its really used

2016-07-31

[18:10:16] craysiii: has joined #ruby
[18:11:56] craysiii: Client Quit
[20:29:47] craysiii: has joined #ruby
[20:29:47] craysiii: has joined #RubyOnRails