Linuus

Activity Graph

Page 1 of 5 | Next »

2019-06-26

[17:53:51] Linuus: Ping timeout: 258 seconds
[17:54:02] Linuus: has joined #ruby
[17:54:02] Linuus: has joined #RubyOnRails
[17:54:02] Linuus: has joined #elixir-lang

2019-05-24

[02:05:20] Linuus: Quit: ZNC 1.7.2 - https://znc.in
[02:06:46] Linuus: has joined #ruby
[02:06:46] Linuus: has joined #RubyOnRails
[02:06:46] Linuus: has joined #elixir-lang

2019-05-23

[08:30:10] Linuus: How would you test this code in a nice way? https://gist.github.com/Linuus/f13248caab72718cc7b6818cdfde873b
[08:30:48] Linuus: The `sync_with_remote` method makes a call to an external API. The method has been tested in isolation by passing in an API client mock.
[08:32:30] Linuus: Now I want to test that this perform method which instantiates a thing and then calls the sync method. I could pass an API client mock to the perform method which passes it along to the sync method, but that seems messy...
[08:50:40] Linuus: dionysus69: Check out reflections: https://api.rubyonrails.org/classes/ActiveRecord/Reflection/ClassMethods.html
[08:57:48] Linuus: How would you test this code in a nice way?
[08:57:50] Linuus: https://gist.github.com/Linuus/f13248caab72718cc7b6818cdfde873b
[08:58:08] Linuus: The `sync_with_remote` method makes a call to an external API. The method has been tested in isolation by passing in an API client mock.
[08:58:37] Linuus: Now I want to test that this perform method which instantiates a thing and then calls the sync method. I could pass an API client mock to the perform method which passes it along to the sync method, but that seems messy...

2019-05-03

[21:43:54] Linuus: *.net *.split
[22:08:27] Linuus: has joined #ruby
[22:08:27] Linuus: has joined #RubyOnRails
[22:08:27] Linuus: has joined #elixir-lang

2019-04-17

[08:36:56] Linuus: If you're updating an error message for an exception, would you consider that a breaking change or just a patch/minor?
[08:37:10] Linuus: Theoretically someone _could_ rely on the message, right?
[08:50:27] Linuus: General programming question, when changing an exception message, would you consider that a breaking change in Semver?
[08:51:01] Linuus: I guess someone _could_ rely on the message somehow.
[08:51:39] Linuus: I am not :)
[09:02:16] Linuus: Thanks :)
[09:42:34] Linuus: CornishPasty: This? https://github.com/kagux/ex_debug_toolbar
[09:43:18] Linuus: No problem :)
[09:45:29] Linuus: I have no idea
[09:48:28] Linuus: Serafeim: You can always contribute updates :)
[09:49:12] Linuus: Then you can fork :)
[09:50:08] Linuus: I understand what you mean with dead projects but I don't like people complaining on stuff other people has made for free in their spare time.
[11:14:11] Linuus: Run the same as in prod
[11:14:22] Linuus: Always run the same as in prod :)
[11:14:36] Linuus: Serafeim: What do you mean?
[11:14:46] Linuus: If you use postgres in prod you _should_ use it in dev
[11:14:54] Linuus: Period :)
[11:16:15] Linuus: Serafeim: What are you trying to achieve? Do you want the DB structure or the data?
[11:17:16] Linuus: Sure it can, but it's always best to use the same as in prod because there are differences between sqlie and postgres which you will only find out in prod.
[11:17:42] Linuus: And you don't want to find that out when deploying to prod :)
[11:19:44] Linuus: mdbm_: It'd not a convention in Elixir but nothing prohibits you from doing that.
[11:20:30] Linuus: mdbm_: Why? :)
[11:21:18] Linuus: mdbm_: Ok, it's not a convention in the community. So, if you want to align your code with the rest of the world, don't use underscore.
[11:21:32] Linuus: IMO that's reason enough :)

2019-04-13

[17:10:04] Linuus: has joined #ruby
[17:10:04] Linuus: has joined #RubyOnRails
[17:10:04] Linuus: has joined #elixir-lang

2019-04-05

[22:01:14] Linuus: Ping timeout: 255 seconds
[22:02:31] Linuus: has joined #elixir-lang
[22:02:32] Linuus: has joined #ruby
[22:02:32] Linuus: has joined #RubyOnRails

2019-02-26

[12:30:24] Linuus: Ping timeout: 246 seconds
[12:31:15] Linuus: has joined #ruby
[12:31:15] Linuus: has joined #RubyOnRails
[19:20:48] Linuus: Ping timeout: 255 seconds
[19:20:56] Linuus: has joined #ruby
[19:20:56] Linuus: has joined #RubyOnRails

2019-02-25

[10:08:34] Linuus: Does foreman restart processes if they crash?
[15:46:11] Linuus: Does anyone know if foreman restarts processes if they crash?

2019-02-24

[14:16:14] Linuus: timwis: what if you use self.class?

2019-02-22

[10:27:20] Linuus: has joined #RubyOnRails
[10:28:21] Linuus: Quit: ZNC 1.7.2 - https://znc.in
[10:28:32] Linuus: has joined #RubyOnRails
[13:03:01] Linuus: Quit: ZNC 1.7.2 - https://znc.in
[19:02:03] Linuus: has joined #ruby

2019-02-21

[05:18:41] Linuus: has joined #RubyOnRails
[05:21:29] Linuus: Client Quit

2019-02-20

[22:05:55] Linuus: has joined #RubyOnRails
[22:10:39] Linuus: Ping timeout: 246 seconds

2019-02-19

[12:15:55] Linuus: has joined #RubyOnRails
[12:59:26] Linuus: Ping timeout: 255 seconds
[13:29:14] Linuus: has joined #RubyOnRails
[13:43:36] Linuus: Ping timeout: 246 seconds
[18:13:06] Linuus: has joined #RubyOnRails
[18:18:50] Linuus: Quit: Mutter: www.mutterirc.com
[18:19:14] Linuus: has joined #RubyOnRails
[18:20:17] Linuus: Client Quit

2019-02-18

[07:56:59] Linuus: has joined #RubyOnRails
[09:18:03] Linuus: Ping timeout: 246 seconds

2019-02-17

[21:40:43] Linuus: has joined #RubyOnRails
[21:50:05] Linuus: I've created a custom backend for ActiveJob and now I'm trying to use AS::Instrumentation to get some stats. However, I run my job worker as a rake task so it runs in another process which means the main rails process doesn't receive those events.
[21:50:21] Linuus: Can I get the events somehow without saving them to the DB?
[23:14:56] Linuus: Ping timeout: 250 seconds

2019-02-16

[18:36:17] Linuus: has joined #RubyOnRails
[18:50:14] Linuus: Quit: WeeChat 2.1

2019-02-15

[06:20:54] Linuus: has joined #RubyOnRails
[06:23:05] Linuus: Oops, I accidentally closed my client. Not sure if I posted this already:
[06:23:08] Linuus: Is there any documentation for writing ActiveJob backends? What interface you need to conform to etc.
[06:51:11] Linuus: Ping timeout: 268 seconds
[07:06:40] Linuus: has joined #RubyOnRails
[07:13:43] Linuus: Ping timeout: 244 seconds
[07:16:26] Linuus: has joined #RubyOnRails
[07:25:48] Linuus: Ping timeout: 258 seconds
[10:53:27] Linuus: has joined #RubyOnRails
[10:57:57] Linuus: Ping timeout: 244 seconds
[11:35:16] Linuus: has joined #RubyOnRails
[12:39:44] Linuus: Ping timeout: 250 seconds
[15:44:17] Linuus: has joined #RubyOnRails
[15:49:07] Linuus: Ping timeout: 258 seconds
[16:02:11] Linuus: has joined #RubyOnRails
[16:06:34] Linuus: Ping timeout: 246 seconds
[16:37:44] Linuus: has joined #RubyOnRails
[17:16:06] Linuus: Ping timeout: 246 seconds
[17:43:32] Linuus: has joined #RubyOnRails
[18:16:27] Linuus: Ping timeout: 240 seconds
[18:27:14] Linuus: has joined #RubyOnRails
[18:31:36] Linuus: Ping timeout: 250 seconds
[20:59:01] Linuus: has joined #RubyOnRails
[21:03:50] Linuus: Ping timeout: 258 seconds
[21:20:23] Linuus: has joined #RubyOnRails
[21:25:37] Linuus: Ping timeout: 268 seconds

2019-02-02

[21:27:19] Linuus: has joined #RubyOnRails
[21:36:43] Linuus: Ping timeout: 245 seconds

2019-01-17

[07:44:14] Linuus: Ping timeout: 258 seconds
[07:44:25] Linuus: has joined #RubyOnRails
[09:36:56] Linuus: Ping timeout: 258 seconds

2019-01-15

[00:03:36] Linuus: has joined #RubyOnRails
[00:08:28] Linuus: Ping timeout: 258 seconds
[02:09:26] Linuus: has joined #RubyOnRails
[02:38:36] Linuus: Ping timeout: 246 seconds
[04:35:06] Linuus: has joined #RubyOnRails
[05:08:37] Linuus: Ping timeout: 258 seconds
[07:09:41] Linuus: has joined #RubyOnRails
[07:39:16] Linuus: Ping timeout: 258 seconds
[09:39:43] Linuus: has joined #RubyOnRails
[10:09:06] Linuus: Ping timeout: 250 seconds
[12:06:29] Linuus: has joined #RubyOnRails
[12:38:36] Linuus: Ping timeout: 250 seconds
[14:32:03] Linuus: has joined #RubyOnRails
[14:37:29] Linuus: Ping timeout: 258 seconds
[16:38:53] Linuus: has joined #RubyOnRails
[17:07:16] Linuus: Ping timeout: 268 seconds
[19:04:18] Linuus: has joined #RubyOnRails
[19:37:44] Linuus: Ping timeout: 268 seconds
[20:45:46] Linuus: has joined #RubyOnRails

2019-01-14

[00:18:53] Linuus: Ping timeout: 244 seconds
[02:16:11] Linuus: has joined #RubyOnRails
[02:49:07] Linuus: Ping timeout: 240 seconds
[04:46:14] Linuus: has joined #RubyOnRails
[05:19:21] Linuus: Ping timeout: 246 seconds
[07:01:58] Linuus: has joined #RubyOnRails
[07:09:20] Linuus: Ping timeout: 272 seconds
[09:18:27] Linuus: has joined #RubyOnRails
[09:52:33] Linuus: Ping timeout: 245 seconds
[11:49:32] Linuus: has joined #RubyOnRails
[12:22:51] Linuus: Ping timeout: 246 seconds
[14:19:14] Linuus: has joined #RubyOnRails
[14:52:27] Linuus: Ping timeout: 240 seconds
[16:49:12] Linuus: has joined #RubyOnRails
[17:22:51] Linuus: Ping timeout: 268 seconds
[19:19:19] Linuus: has joined #RubyOnRails
[19:52:24] Linuus: Ping timeout: 250 seconds
[20:45:57] Linuus: has joined #RubyOnRails
[21:49:00] Linuus: Ping timeout: 244 seconds

2019-01-13

[01:34:36] Linuus: has joined #RubyOnRails
[02:08:05] Linuus: Ping timeout: 258 seconds
[04:04:46] Linuus: has joined #RubyOnRails
[04:38:21] Linuus: Ping timeout: 258 seconds
[06:34:14] Linuus: has joined #RubyOnRails
[07:07:36] Linuus: Ping timeout: 250 seconds
[09:04:36] Linuus: has joined #RubyOnRails
[09:38:35] Linuus: Ping timeout: 268 seconds
[13:01:47] Linuus: has joined #RubyOnRails
[13:36:09] Linuus: Ping timeout: 244 seconds
[15:33:09] Linuus: has joined #RubyOnRails
[16:05:12] Linuus: Ping timeout: 246 seconds
[18:02:13] Linuus: has joined #RubyOnRails
[18:35:42] Linuus: Ping timeout: 268 seconds
[20:46:38] Linuus: has joined #RubyOnRails
[21:48:40] Linuus: Ping timeout: 246 seconds
[23:46:29] Linuus: has joined #RubyOnRails

2019-01-12

[02:45:54] Linuus: has joined #RubyOnRails
[03:17:34] Linuus: Ping timeout: 268 seconds
[09:38:57] Linuus: has joined #RubyOnRails
[10:12:07] Linuus: Ping timeout: 244 seconds
[12:14:10] Linuus: has joined #RubyOnRails
[12:18:56] Linuus: Ping timeout: 258 seconds
[14:16:37] Linuus: has joined #RubyOnRails
[14:48:48] Linuus: Ping timeout: 245 seconds
[16:45:32] Linuus: has joined #RubyOnRails
[17:18:38] Linuus: Ping timeout: 250 seconds
[20:15:27] Linuus: has joined #RubyOnRails
[21:19:43] Linuus: Ping timeout: 246 seconds
[23:04:11] Linuus: has joined #RubyOnRails
[23:37:26] Linuus: Ping timeout: 258 seconds

2019-01-11

[02:07:42] Linuus: has joined #RubyOnRails
[02:40:03] Linuus: Ping timeout: 245 seconds
[02:59:41] Linuus: has joined #RubyOnRails
[03:04:27] Linuus: Ping timeout: 258 seconds
[05:05:14] Linuus: has joined #RubyOnRails
[05:34:30] Linuus: Ping timeout: 250 seconds
[07:31:14] Linuus: has joined #RubyOnRails
[08:04:33] Linuus: Ping timeout: 244 seconds
[10:01:39] Linuus: has joined #RubyOnRails
[10:33:52] Linuus: Ping timeout: 244 seconds
[12:30:49] Linuus: has joined #RubyOnRails
[13:04:43] Linuus: Ping timeout: 268 seconds
[14:47:02] Linuus: has joined #RubyOnRails
[14:52:07] Linuus: Ping timeout: 240 seconds
[16:51:48] Linuus: has joined #RubyOnRails
[17:22:52] Linuus: Ping timeout: 246 seconds
[17:47:31] Linuus: has joined #RubyOnRails
[18:07:47] Linuus: Ping timeout: 240 seconds
[20:04:52] Linuus: has joined #RubyOnRails
[21:32:47] Linuus: Ping timeout: 240 seconds
[22:56:32] Linuus: has joined #RubyOnRails
[23:29:38] Linuus: Ping timeout: 245 seconds

2019-01-10

[00:23:03] Linuus: has joined #RubyOnRails
[00:56:37] Linuus: Ping timeout: 252 seconds
[02:57:51] Linuus: has joined #RubyOnRails
[03:27:10] Linuus: Ping timeout: 246 seconds
[05:23:33] Linuus: has joined #RubyOnRails
[05:57:04] Linuus: Ping timeout: 250 seconds
[07:53:55] Linuus: has joined #RubyOnRails
[08:27:55] Linuus: Ping timeout: 268 seconds
[10:52:17] Linuus: has joined #RubyOnRails
[11:24:34] Linuus: Ping timeout: 246 seconds
[13:21:29] Linuus: has joined #RubyOnRails
[13:54:43] Linuus: Ping timeout: 246 seconds
[14:49:35] Linuus: has joined #RubyOnRails
[15:23:00] Linuus: Ping timeout: 250 seconds
[17:19:47] Linuus: has joined #RubyOnRails
[17:53:04] Linuus: Ping timeout: 246 seconds
[19:49:44] Linuus: has joined #RubyOnRails
[21:03:10] Linuus: Ping timeout: 250 seconds
[22:39:19] Linuus: has joined #RubyOnRails
[23:12:33] Linuus: Ping timeout: 252 seconds

2019-01-09

[20:43:51] Linuus: Ping timeout: 246 seconds
[20:48:07] Linuus: has joined #RubyOnRails
[20:52:33] Linuus: Ping timeout: 245 seconds
[21:53:46] Linuus: has joined #RubyOnRails
[22:27:40] Linuus: Ping timeout: 264 seconds

2019-01-02

[14:21:03] Linuus: Quit: WeeChat 2.1
[14:21:26] Linuus: has joined #RubyOnRails

2019-01-01

[15:32:45] Linuus: has joined #RubyOnRails

2018-12-22

[19:30:59] Linuus: has joined #RubyOnRails
[21:37:10] Linuus: Ping timeout: 250 seconds

2018-09-19

[05:15:07] Linuus: Ping timeout: 240 seconds
[19:40:14] Linuus: has joined #RubyOnRails
[19:45:22] Linuus: Quit: WeeChat 2.1

2018-09-18

[21:24:41] Linuus: has joined #RubyOnRails
[21:29:52] Linuus: Ping timeout: 272 seconds
[22:10:34] Linuus: has joined #RubyOnRails
[22:15:34] Linuus: Ping timeout: 240 seconds
[23:56:58] Linuus: has joined #RubyOnRails