Fire-Dragon-DoL

Activity Graph

Page 1 of 32 | Next »

2019-08-22

[01:14:59] Fire-Dragon-DoL: has joined #RubyOnRails
[01:15:00] Fire-Dragon-DoL: has joined #ruby
[01:15:02] Fire-Dragon-DoL: has joined #elixir-lang
[01:15:02] Fire-Dragon-DoL: has joined #ruby-offtopic

2019-08-11

[03:12:53] Fire-Dragon-DoL: has joined #RubyOnRails
[03:12:53] Fire-Dragon-DoL: has joined #ruby-offtopic
[03:13:50] Fire-Dragon-DoL: has joined #ruby
[03:16:50] Fire-Dragon-DoL: has joined #elixir-lang

2019-07-25

[07:26:21] Fire-Dragon-DoL: has joined #RubyOnRails
[07:28:18] Fire-Dragon-DoL: has joined #ruby
[07:28:47] Fire-Dragon-DoL: has joined #ruby-offtopic
[07:30:48] Fire-Dragon-DoL: has joined #elixir-lang

2019-06-01

[02:00:55] Fire-Dragon-DoL: Ping timeout: 276 seconds
[02:06:24] Fire-Dragon-DoL: has joined #ruby
[02:06:50] Fire-Dragon-DoL: has joined #RubyOnRails
[02:06:50] Fire-Dragon-DoL: has joined #ruby-offtopic
[02:09:20] Fire-Dragon-DoL: has joined #elixir-lang

2019-05-03

[22:07:57] Fire-Dragon-DoL: has joined #RubyOnRails
[22:08:23] Fire-Dragon-DoL: has joined #elixir-lang
[22:09:23] Fire-Dragon-DoL: has joined #ruby-offtopic
[22:10:53] Fire-Dragon-DoL: has joined #ruby

2019-04-18

[01:03:09] Fire-Dragon-DoL: has joined #ruby

2019-04-13

2019-03-30

[11:19:00] Fire-Dragon-DoL: Ping timeout: 246 seconds
[11:21:02] Fire-Dragon-DoL: has joined #RubyOnRails
[11:21:32] Fire-Dragon-DoL: has joined #elixir-lang
[11:23:32] Fire-Dragon-DoL: has joined #ruby-offtopic
[11:23:32] Fire-Dragon-DoL: has joined #ruby

2019-03-28

[10:26:12] Fire-Dragon-DoL: Ping timeout: 258 seconds
[10:31:38] Fire-Dragon-DoL: has joined #ruby-offtopic
[10:31:38] Fire-Dragon-DoL: has joined #ruby
[10:33:38] Fire-Dragon-DoL: has joined #RubyOnRails
[10:34:08] Fire-Dragon-DoL: has joined #elixir-lang

2019-03-20

[18:33:35] Fire-Dragon-DoL: Ping timeout: 250 seconds
[18:39:26] Fire-Dragon-DoL: has joined #ruby
[18:39:56] Fire-Dragon-DoL: has joined #elixir-lang
[18:40:26] Fire-Dragon-DoL: has joined #ruby-offtopic
[18:40:56] Fire-Dragon-DoL: has joined #RubyOnRails

2019-03-19

[18:58:29] Fire-Dragon-DoL: has joined #elixir-lang
[18:59:29] Fire-Dragon-DoL: has joined #ruby-offtopic
[18:59:29] Fire-Dragon-DoL: has joined #ruby
[19:00:29] Fire-Dragon-DoL: has joined #RubyOnRails

2019-03-07

[04:53:39] Fire-Dragon-DoL: has joined #RubyOnRails
[04:53:40] Fire-Dragon-DoL: has joined #ruby-offtopic
[04:53:43] Fire-Dragon-DoL: has joined #elixir-lang
[04:53:45] Fire-Dragon-DoL: has joined #ruby

2018-11-26

[09:25:39] Fire-Dragon-DoL: has joined #ruby

2018-11-23

[17:36:55] Fire-Dragon-DoL: Ping timeout: 252 seconds
[17:39:24] Fire-Dragon-DoL: has joined #ruby
[17:40:20] Fire-Dragon-DoL: has joined #ruby-offtopic
[17:40:21] Fire-Dragon-DoL: has joined #RubyOnRails

2018-11-19

[22:39:50] Fire-Dragon-DoL: Ping timeout: 268 seconds
[22:40:41] Fire-Dragon-DoL: has joined #ruby
[22:41:11] Fire-Dragon-DoL: has joined #ruby-offtopic
[22:42:11] Fire-Dragon-DoL: has joined #RubyOnRails

2018-11-17

[08:58:12] Fire-Dragon-DoL: has joined #ruby-offtopic
[08:58:12] Fire-Dragon-DoL: has joined #ruby
[09:00:12] Fire-Dragon-DoL: has joined #RubyOnRails

2018-10-07

[22:21:31] Fire-Dragon-DoL: has joined #RubyOnRails
[22:24:58] Fire-Dragon-DoL: has joined #ruby-offtopic
[22:24:58] Fire-Dragon-DoL: has joined #ruby

2018-09-04

[05:50:04] Fire-Dragon-DoL: Ping timeout: 260 seconds
[05:50:48] Fire-Dragon-DoL: has joined #RubyOnRails
[05:50:48] Fire-Dragon-DoL: has joined #ruby-offtopic
[05:52:45] Fire-Dragon-DoL: has joined #ruby

2018-08-29

[02:55:11] Fire-Dragon-DoL: has joined #ruby-offtopic
[02:55:11] Fire-Dragon-DoL: has joined #ruby
[02:55:41] Fire-Dragon-DoL: has joined #RubyOnRails

2018-07-20

[00:15:25] Fire-Dragon-DoL: has joined #RubyOnRails
[00:15:36] Fire-Dragon-DoL: has joined #ruby

2018-07-18

[05:19:20] Fire-Dragon-DoL: has joined #RubyOnRails

2018-06-01

[07:47:35] Fire-Dragon-DoL: has joined #ruby
[07:47:37] Fire-Dragon-DoL: has joined #RubyOnRails

2018-05-29

[02:47:45] Fire-Dragon-DoL: has joined #RubyOnRails
[02:47:59] Fire-Dragon-DoL: has joined #ruby
[02:51:45] Fire-Dragon-DoL: has joined #RubyOnRails
[02:51:45] Fire-Dragon-DoL: has joined #ruby
[18:53:28] Fire-Dragon-DoL: has joined #ruby

2018-05-24

[19:36:27] Fire-Dragon-DoL: Ping timeout: 240 seconds
[19:40:49] Fire-Dragon-DoL: has joined #RubyOnRails
[19:41:19] Fire-Dragon-DoL: has joined #ruby

2018-05-20

[18:46:44] Fire-Dragon-DoL: has joined #RubyOnRails
[18:47:44] Fire-Dragon-DoL: has joined #ruby

2018-05-15

[14:14:41] Fire-Dragon-DoL: Ping timeout: 255 seconds
[14:18:43] Fire-Dragon-DoL: has joined #ruby
[14:19:13] Fire-Dragon-DoL: has joined #RubyOnRails

2018-04-25

[12:27:19] Fire-Dragon-DoL: has joined #ruby
[12:27:33] Fire-Dragon-DoL: has joined #RubyOnRails
[15:03:05] Fire-Dragon-DoL: has joined #RubyOnRails
[15:03:18] Fire-Dragon-DoL: has joined #ruby

2018-04-11

[20:29:51] Fire-Dragon-DoL: has joined #RubyOnRails

2018-03-20

[08:30:15] Fire-Dragon-DoL: Ping timeout: 256 seconds
[08:35:14] Fire-Dragon-DoL: has joined #ruby
[08:35:44] Fire-Dragon-DoL: has joined #RubyOnRails

2018-02-25

[09:36:31] Fire-Dragon-DoL: has joined #ruby
[09:36:32] Fire-Dragon-DoL: has joined #RubyOnRails

2018-01-17

[17:24:58] Fire-Dragon-DoL: has joined #RubyOnRails
[17:26:58] Fire-Dragon-DoL: has joined #ruby-offtopic
[17:26:58] Fire-Dragon-DoL: has joined #ruby

2018-01-06

[04:18:53] Fire-Dragon-DoL: has joined #ruby-offtopic
[04:18:53] Fire-Dragon-DoL: has joined #ruby
[04:20:23] Fire-Dragon-DoL: has joined #RubyOnRails

2017-12-01

[02:28:27] Fire-Dragon-DoL: has joined #ruby-offtopic
[02:28:51] Fire-Dragon-DoL: has joined #ruby

2017-11-24

[08:59:14] Fire-Dragon-DoL: hello, is there any way to "alias a bunch of constants" in a class, so I don't have to write top level namespace? Like class Foo; include MyTopLevel; attribute :something, MyNestedLevel; end;

2017-11-18

[11:35:09] Fire-Dragon-DoL: so there is also a metaclass for the metaclass...
[11:37:30] Fire-Dragon-DoL: suddenly I understand why if I do class << self; extend Forwardable; I don't have it everywhere (good by the way)

2017-11-16

[01:28:16] Fire-Dragon-DoL: has joined #ruby-offtopic
[01:28:19] Fire-Dragon-DoL: has joined #ruby
[01:28:20] Fire-Dragon-DoL: has joined #RubyOnRails

2017-10-24

[13:15:09] Fire-Dragon-DoL: Ping timeout: 258 seconds
[13:16:09] Fire-Dragon-DoL: has joined #RubyOnRails
[13:16:39] Fire-Dragon-DoL: has joined #ruby-offtopic
[13:16:39] Fire-Dragon-DoL: has joined #ruby

2017-10-22

[09:09:10] Fire-Dragon-DoL: has joined #RubyOnRails
[09:09:40] Fire-Dragon-DoL: has joined #ruby
[09:10:11] Fire-Dragon-DoL: has joined #ruby-offtopic

2017-10-15

[21:39:44] Fire-Dragon-DoL: upsy_9 it means that someone doesn't know the Array(prefixes) method :P

2017-09-16

[17:43:34] Fire-Dragon-DoL: Ping timeout: 264 seconds
[17:43:45] Fire-Dragon-DoL: has joined #ruby-offtopic
[17:43:45] Fire-Dragon-DoL: has joined #ruby
[17:44:41] Fire-Dragon-DoL: has joined #RubyOnRails

2017-09-11

[08:06:55] Fire-Dragon-DoL: Ping timeout: 248 seconds
[08:09:56] Fire-Dragon-DoL: has joined #RubyOnRails
[08:11:52] Fire-Dragon-DoL: has joined #ruby
[08:12:22] Fire-Dragon-DoL: has joined #ruby-offtopic

2017-07-26

[02:06:00] Fire-Dragon-DoL: anyone aware of the encoding returned by Net::IMAP::FetchData.attr["BODY[]"] (returns the full email)? I see in console it's returning utf-8, but it seems weird since internal charset might contain non-utf8 codes. I would have expected ASCII-8BIT or something along those lines
[02:19:52] Fire-Dragon-DoL: arahael: I might be ignorant but when you use BODY[] you are fetching the whole mail, so I'm talking before even starting the parsing of it
[02:20:01] Fire-Dragon-DoL: infact, I expected something like a raw stream of bytes :p
[02:21:06] Fire-Dragon-DoL: I thought that too, but I was wrong, looks like we found email messages with INVALID utf-8 characters
[02:21:29] Fire-Dragon-DoL: and net/imap was returning BODY[] as utf-8 with headers with invalid characters
[02:22:00] Fire-Dragon-DoL: hence my question, what should I do in those cases? My idea so far is just encode in utf-8 and scrubbing/replacing any invalid character
[02:22:14] Fire-Dragon-DoL: because I can't really do anything else if the encoding is invalid
[02:22:22] Fire-Dragon-DoL: (in the headers)
[02:22:58] Fire-Dragon-DoL: arahael: acctually that's my fear, but I have no idea what would be the original...
[02:23:10] Fire-Dragon-DoL: yes it does that
[02:25:12] Fire-Dragon-DoL: yes but that comes later
[02:25:19] Fire-Dragon-DoL: how could net/imap return a utf-8 string
[02:25:25] Fire-Dragon-DoL: if the email is mixed encoding?
[02:25:28] Fire-Dragon-DoL: it doesn't make any sense
[02:27:54] Fire-Dragon-DoL: time to try hard "\xEC\xEE\xF1\xE9\xF8\xE4: Could you help me out?\r\n\r\nbody\u3042\x81\x00\0"
[02:28:58] Fire-Dragon-DoL: that's true, so you are saying that it could be a raw stream of bytes, but Ruby is stupid and it's converting it
[02:29:27] Fire-Dragon-DoL: and it's totally possible unfortunately. It should be Encoding::BINARY and that's what I really expected from net/imap
[02:31:29] Fire-Dragon-DoL: lol, ok thanks for suffering a little bit with me arahael, I have a few ideas on how to tackle this now
[02:32:17] Fire-Dragon-DoL: yes, no problem. I don't know a lot of devs able to answer this. I think it's a matter of checking the source of net/imap
[02:32:23] Fire-Dragon-DoL: which is something I must do by myself :P
[03:23:08] Fire-Dragon-DoL: mhhh... this isreally painful
[03:24:19] Fire-Dragon-DoL: I've been digging through ruby net/imap source but it's hard to understand the encoding type of the string. It LOOKS like they overlooked entirely the encoded fact, but then there are some regexps whcih are for ascii-8bit. It feels like they work with ascii-8bit all time and then forgot to ensure it was encoded properly when sending it to the developer

2017-07-18

[20:46:33] Fire-Dragon-DoL: hello, anyone with experience using net/imap can confirm that when fetching messages, the returned strings are always US-ASCII (which needs to be parsed later on)?
[20:52:41] Fire-Dragon-DoL: canton7: thanks, I agree. I hope I'm not opening a can of worms :P

2017-07-06

[05:22:24] Fire-Dragon-DoL: Ping timeout: 240 seconds

2017-06-30

[22:34:01] Fire-Dragon-DoL: hello everyone, any solution for this rails autoloader mess? (this is not pseudocode, I actually created those files): https://gist.github.com/Fire-Dragon-DoL/46f03c6ce6b258910e4bc857e80043ea
[22:46:19] Fire-Dragon-DoL: sigh I thought it was solved earlier, I'll stick to the ugly require_dependency trick

2017-06-20

[00:22:42] Fire-Dragon-DoL: has joined #RubyOnRails

2017-06-01

[23:32:58] Fire-Dragon-DoL: tfitts: did you try changing the version in Gemfile and running `bundle update ads_common` ?

2017-05-30

2017-05-17

[21:28:29] Fire-Dragon-DoL: Ping timeout: 255 seconds
[23:12:53] Fire-Dragon-DoL: has joined #ruby
[23:13:53] Fire-Dragon-DoL: has joined #ruby-offtopic
[23:14:23] Fire-Dragon-DoL: has joined #RubyOnRails

2017-04-27

[18:48:31] Fire-Dragon-DoL: opinion: would you run validations every time you save a record (even outside of a controller) or only within the controller?
[19:07:25] Fire-Dragon-DoL: mordof: I'm more concerned about the fact that we faced a bug because a record wasn't saved due to a rollback due to a validation error for something completely unrelated to the code
[19:07:35] Fire-Dragon-DoL: (and rails swallowed the error to make things easier :P )

2017-04-26

[22:33:09] Fire-Dragon-DoL: mhh, is an expected behavior that when `create` fails because of validation error, to _still_ return the object instead of nil?

2017-04-13

[15:11:33] Fire-Dragon-DoL: has joined #RubyOnRails

2017-04-01

[16:01:25] Fire-Dragon-DoL: Ping timeout: 255 seconds
[16:09:02] Fire-Dragon-DoL: has joined #ruby
[16:09:32] Fire-Dragon-DoL: has joined #RubyOnRails
[16:09:32] Fire-Dragon-DoL: has joined #ruby-offtopic

2016-07-22

[15:47:16] Fire-Dragon-DoL: has joined #RubyOnRails
[15:48:12] Fire-Dragon-DoL: has joined #ruby-offtopic
[15:48:42] Fire-Dragon-DoL: has joined #ruby

2016-06-19

[18:50:25] Fire-Dragon-DoL: has joined #ruby-offtopic
[18:50:55] Fire-Dragon-DoL: has joined #RubyOnRails

2016-05-24

[10:23:44] Fire-Dragon-DoL: Ping timeout: 260 seconds
[10:27:24] Fire-Dragon-DoL: has joined #ruby-offtopic
[10:27:24] Fire-Dragon-DoL: has joined #ruby
[10:28:24] Fire-Dragon-DoL: has joined #RubyOnRails

2016-05-05

[17:13:26] Fire-Dragon-DoL: opinion request! NullObject patterh, NullObject#nil? true or false?
[17:18:34] Fire-Dragon-DoL: hanmac: the purpose of the nullobject is to avoid too many `try` things, so it fits. We have nil, we are planning to introduce a nullobject to reduce all these checks
[17:19:44] Fire-Dragon-DoL: 2.1.2, but the `&` is basically like using `try`
[17:21:53] Fire-Dragon-DoL: also my was an opinion more than a question, it works in both ways
[17:23:44] Fire-Dragon-DoL: hanmac: yes I said the `&` in the previous sentence
[17:24:52] Fire-Dragon-DoL: hanmac: but you end up with stuff as ugly as client&.associated_contacts&.each which becomes a plain `safe_client.associated_contacts.each` with the null object
[17:25:02] Fire-Dragon-DoL: oh, no sorry for the misunderstanding

2016-05-04

[17:02:05] Fire-Dragon-DoL: entirely random programming question. When using NullObject pattern, should NullObject return `nil? => true` ?

2016-05-03

[04:19:13] Fire-Dragon-DoL: Remote host closed the connection
[04:19:22] Fire-Dragon-DoL: has joined #ruby
[04:20:18] Fire-Dragon-DoL: has joined #ruby-offtopic
[04:20:49] Fire-Dragon-DoL: has joined #RubyOnRails

2016-05-02

[10:37:22] Fire-Dragon-DoL: Ping timeout: 276 seconds
[10:39:51] Fire-Dragon-DoL: has joined #RubyOnRails
[10:40:21] Fire-Dragon-DoL: has joined #ruby
[10:40:22] Fire-Dragon-DoL: has joined #ruby-offtopic

2016-04-21

[17:08:19] Fire-Dragon-DoL: Ping timeout: 250 seconds
[17:09:03] Fire-Dragon-DoL: has joined #ruby-offtopic
[17:09:03] Fire-Dragon-DoL: has joined #ruby
[17:09:59] Fire-Dragon-DoL: has joined #RubyOnRails

2016-04-18

[11:06:18] Fire-Dragon-DoL: Ping timeout: 260 seconds
[11:08:49] Fire-Dragon-DoL: has joined #RubyOnRails
[11:08:49] Fire-Dragon-DoL: has joined #ruby-offtopic
[11:09:49] Fire-Dragon-DoL: has joined #ruby

2016-04-15

[15:11:30] Fire-Dragon-DoL: Ping timeout: 260 seconds
[15:19:59] Fire-Dragon-DoL: has joined #RubyOnRails
[15:19:59] Fire-Dragon-DoL: has joined #ruby-offtopic
[15:21:26] Fire-Dragon-DoL: has joined #ruby
[19:05:02] Fire-Dragon-DoL: Ping timeout: 260 seconds
[19:10:02] Fire-Dragon-DoL: has joined #ruby-offtopic
[19:10:02] Fire-Dragon-DoL: has joined #ruby
[19:10:32] Fire-Dragon-DoL: has joined #RubyOnRails

2016-04-01

[17:07:41] Fire-Dragon-DoL: mhhh... How do I rebuild ActiveSupport::TimeWithZone from a JSON string? I have something like "2016-04-01T17:03:37.709Z"

2016-03-25

[19:32:52] Fire-Dragon-DoL: meatchicken: ifyou didn't find it, check rspec-mocks documentation, there is allow(foo).to receive(:something).and_return(whatever), there are also test doubles and other stuff. It's more powerful than jasmine, really nice

2016-03-13

[08:38:54] Fire-Dragon-DoL: Ping timeout: 246 seconds

2016-03-03

[03:26:27] Fire-Dragon-DoL: Ping timeout: 260 seconds
[03:26:44] Fire-Dragon-DoL: has joined #RubyOnRails

2016-03-02

[09:48:08] Fire-Dragon-DoL: mhhh I was sleeping, shevy I've been Fire-Dragon-DoL since 15 years! :P

2016-02-28

[21:09:49] Fire-Dragon-DoL: has joined #RubyOnRails
[21:10:16] Fire-Dragon-DoL: has joined #ruby