bawsky

Activity Graph

Page 1 of 1

2017-07-16

[16:51:25] bawsky: has joined #ruby
[16:53:38] bawsky: Hello there! I am just starting to build my first gem ever (an API wrapper for Cabify public API). Can someone take a look through the code?
[16:54:02] bawsky: I have no specs so far (working on it!). Link to repo: https://github.com/Drowze/taxy
[21:11:37] bawsky: Quit: Page closed

2017-06-13

[13:48:49] bawsky: has joined #ruby
[14:49:07] bawsky: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[15:48:14] bawsky: has joined #ruby
[18:03:09] bawsky: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client

2017-06-12

[15:21:28] bawsky: has joined #ruby
[21:37:05] bawsky: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client
[22:13:20] bawsky: has joined #ruby
[22:37:46] bawsky: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client

2017-06-11

[07:24:29] bawsky: has joined #ruby

2017-06-10

[20:17:47] bawsky: has joined #ruby
[20:18:39] bawsky: Got a problem involving the need for non-blocking requests... Can someone help? Details in a sec
[20:24:59] bawsky: The problem is that I get the MMR value from an external API and the value may change at any time (therefore storing locally is not reliable).
[20:24:59] bawsky: I am maintaining an app in which users may have a MMR (aka a number defining his ability in a game) and may invite/be invited to teams ONLY if they are not much higher than the highest MMR on team or much lower than the lowest.
[20:25:00] bawsky: The external API used to support batch calls (I send a bunch of player ids, get their MMRs and bam I'm set). The problem is that it does not support batch calls anymore and now I am kinda lost about my options...
[20:25:09] bawsky: May someone help? :/
[20:25:49] bawsky: I am referring specifically to League of Legend's API - it used to support batch calls on v2, but v2 is going to be deprecated (and with that, batch calls)
[20:34:35] bawsky: apeiros: I'm looking at client side being the first option - and then sending the data to the backend to do the dirty job (a problem is that a player may have up to two different MMRs and I still need to grab the highest; we even have a class for treating that case...)
[20:35:39] bawsky: alternatively, I guess I'll probably do it serverside anyway and use the "too old or not" approach.
[20:43:08] bawsky: Quit: Leaving
[20:43:19] bawsky: has joined #ruby
[20:49:31] bawsky: Quit: http://www.kiwiirc.com/ - A hand crafted IRC client

2017-04-10

[01:16:28] bawsky: has joined #RubyOnRails
[04:52:20] bawsky: Quit: Leaving

2017-04-08

[17:30:48] bawsky: has joined #RubyOnRails
[18:31:54] bawsky: Ping timeout: 240 seconds

2017-04-07

[04:28:31] bawsky: has joined #RubyOnRails
[05:25:23] bawsky: Ping timeout: 256 seconds
[16:42:14] bawsky: has joined #RubyOnRails
[21:11:28] bawsky: Ping timeout: 240 seconds

2017-04-06

[04:00:18] bawsky: has joined #RubyOnRails
[04:07:33] bawsky: Ping timeout: 264 seconds
[14:43:07] bawsky: has joined #RubyOnRails
[16:01:57] bawsky: Ping timeout: 240 seconds
[16:43:56] bawsky: has joined #RubyOnRails
[23:07:25] bawsky: Ping timeout: 256 seconds
[23:30:39] bawsky: has joined #RubyOnRails
[23:57:17] bawsky: Ping timeout: 268 seconds

2017-03-30

[14:03:22] bawsky: has joined #RubyOnRails
[15:32:57] bawsky: Ping timeout: 240 seconds
[16:34:23] bawsky: has joined #RubyOnRails
[20:41:08] bawsky: Quit: Leaving

2017-03-29

[02:13:39] bawsky: Ping timeout: 260 seconds
[03:10:38] bawsky: has joined #RubyOnRails
[07:22:57] bawsky: Ping timeout: 260 seconds
[10:30:20] bawsky: has joined #RubyOnRails
[10:41:46] bawsky: Ping timeout: 264 seconds
[12:07:04] bawsky: has joined #RubyOnRails
[12:36:53] bawsky: Ping timeout: 246 seconds
[12:43:07] bawsky: has joined #RubyOnRails
[13:04:18] bawsky: Ping timeout: 268 seconds
[13:58:10] bawsky: has joined #RubyOnRails
[20:20:52] bawsky: Ping timeout: 258 seconds

2017-03-28

[01:19:59] bawsky: has joined #RubyOnRails
[04:42:22] bawsky: Ping timeout: 264 seconds
[11:43:17] bawsky: has joined #RubyOnRails
[15:07:43] bawsky: Ping timeout: 268 seconds
[16:22:33] bawsky: has joined #RubyOnRails

2017-03-27

[01:30:15] bawsky: has joined #RubyOnRails
[05:51:47] bawsky: Ping timeout: 246 seconds
[13:35:16] bawsky: has joined #RubyOnRails
[13:41:53] bawsky: can anyone explain me this behaviour on rspec's "allow(:foo).to receive(:bar).and_return('john doe')":
[13:41:59] bawsky: https://gist.github.com/anonymous/18de2d48fb4dbb66abae5375768c9a13
[13:47:57] bawsky: but am I not mocking the both of them?
[13:48:21] bawsky: tbuehlmann
[16:43:08] bawsky: Ping timeout: 246 seconds
[17:27:42] bawsky: has joined #RubyOnRails
[22:51:26] bawsky: Ping timeout: 256 seconds

2017-03-24

[18:39:23] bawsky: has joined #RubyOnRails
[18:46:16] bawsky: Hello there! Can someone help me with this factory? I fell like I am not being DRY enough
[18:46:18] bawsky: http://pastebin.com/hbq0uVnN
[18:48:27] bawsky: can someone help me to DRY this factory? https://gist.github.com/anonymous/16fdc8ccb16e894447d67063d06f0a7b (sent on pastebin before... guess irc filtered the link)
[19:00:42] bawsky: matthewd: I was thinking something along these lines.. Do you if this is somehow possible? https://gist.github.com/anonymous/82505a50e686c0f83d013250b0f1d6c9
[19:03:32] bawsky: fair point
[19:08:30] bawsky: jstrong Would be a better approach I guess. It's just that dealing with a fairly big test codebase and I'd like to keep the test files unchanged for now (but this factory code-repetition is bugging me)
[19:10:36] bawsky: yeah I see.. really seems like so :(
[23:56:17] bawsky: Ping timeout: 260 seconds