eelster

Activity Graph

Page 1 of 2 | Next »

2018-06-11

[07:07:15] eelster: Ping timeout: 256 seconds

2018-06-10

[18:02:52] eelster: has joined #ruby
[19:28:10] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…
[20:44:38] eelster: has joined #ruby
[21:57:48] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…
[22:06:17] eelster: has joined #ruby
[22:41:08] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…
[23:14:46] eelster: has joined #ruby

2018-06-09

[01:48:51] eelster: has joined #ruby
[02:03:31] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…
[02:55:16] eelster: has joined #ruby
[12:14:25] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-06-08

[23:06:31] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…
[23:22:41] eelster: has joined #ruby
[23:54:26] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-06-07

[01:41:56] eelster: has joined #ruby

2018-06-06

[00:33:38] eelster: has joined #ruby
[01:04:04] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…
[01:25:21] eelster: has joined #ruby
[12:05:24] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-06-05

[09:30:18] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…
[11:33:28] eelster: has joined #RubyOnRails
[11:33:28] eelster: has joined #ruby
[13:54:42] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…
[13:55:19] eelster: has joined #ruby
[13:55:19] eelster: has joined #RubyOnRails
[15:41:51] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…
[15:42:24] eelster: has joined #ruby
[15:42:30] eelster: has joined #RubyOnRails
[16:04:23] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…
[16:46:16] eelster: has joined #RubyOnRails
[16:46:18] eelster: has joined #ruby
[19:54:34] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-06-04

[02:31:09] eelster: has joined #ruby
[09:36:06] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-06-03

[03:22:51] eelster: has joined #ruby
[23:04:26] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-06-02

[03:13:56] eelster: has joined #ruby
[22:13:34] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-06-01

[00:07:37] eelster: has joined #ruby
[00:09:31] eelster: Client Quit
[01:14:41] eelster: has joined #ruby
[09:30:55] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…
[10:41:59] eelster: has joined #RubyOnRails
[10:41:59] eelster: has joined #ruby
[10:46:25] eelster: Ping timeout: 248 seconds
[12:50:44] eelster: has joined #RubyOnRails
[12:50:53] eelster: has joined #ruby
[13:31:07] eelster: I mean you certainly can make a personal blog in rails and it's not particularly hard to do so, but learning rails is a bit more difficult than using a wordpress blog on the whole.
[13:35:33] eelster: But if you're writing your own application for the first time in rails you're probably going to have security holes as well. No insult to you at all, major companies have that.
[13:37:05] eelster: dminuoso: Yeah. I immediately distrust most people who call themselves "experts". I've found that the people who know enough to know they're not experts are generally much better at giving advice.
[13:37:38] eelster: dminuoso: Ahh wow. Still that's bad.
[13:38:01] eelster: Yep. It is really hard. That's why companies pay tons and tons of money for pen testing.
[13:39:41] eelster: I'm certain. I had this boss once that would dismiss any security concerns you brought to him saying "IPSec handles this". To this day, I don't know why he thought that was a good answer. This dude was sending plaintext passwords over port 80 "IPSec will take care of this".
[13:41:48] eelster: But it wasn't with TLS.
[13:42:34] eelster: Like, if you were packet sniffing you could've gotten the password as I demonstrated to him in wireshark.
[13:43:43] eelster: True, true.
[13:45:50] eelster: Oh. It sounds like he was actually correct about that IPSec stuff. He was so wrong about most of everything else I had just assumed he was making that up as well.
[14:35:21] eelster: Ping timeout: 256 seconds
[15:04:18] eelster: has joined #RubyOnRails
[15:04:19] eelster: has joined #ruby
[16:47:51] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…
[16:49:21] eelster: has joined #ruby
[16:49:24] eelster: has joined #RubyOnRails
[18:04:05] eelster: Zarthus: the size of `int` in C isn't standard. You can find out how big it is on your system by compiling and then running this program https://hastebin.com/fahapazohu.c
[18:05:19] eelster: Or you should probably use "%lu" instead of "%d" in the specifier, but it doesn't really matter as the number isn't going to be that large, but that's bad practice on my part.
[18:13:38] eelster: dminuoso: I meant it wasn't the same size on all machines.
[18:14:08] eelster: Standard was the wrong word to use.
[18:53:32] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…
[20:34:25] eelster: has joined #ruby
[21:42:23] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-05-31

[00:35:39] eelster: has joined #ruby
[07:54:16] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…
[16:28:12] eelster: has joined #RubyOnRails
[16:28:12] eelster: has joined #ruby
[19:06:07] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…
[20:21:08] eelster: has joined #ruby
[22:39:57] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-05-30

[00:33:22] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…
[01:19:13] eelster: has joined #ruby
[05:12:14] eelster: Ping timeout: 265 seconds
[11:57:59] eelster: has joined #RubyOnRails
[11:58:08] eelster: has joined #ruby
[13:04:55] eelster: Read error: Connection reset by peer
[17:56:36] eelster: has joined #ruby
[17:56:36] eelster: has joined #RubyOnRails
[19:49:35] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-05-29

[12:53:39] eelster: has joined #RubyOnRails
[14:12:44] eelster: Quit: #hockey
[14:16:05] eelster: has joined #ruby
[14:16:05] eelster: has joined #RubyOnRails
[16:01:01] eelster: Ping timeout: 265 seconds
[16:10:50] eelster: has joined #RubyOnRails
[16:10:56] eelster: has joined #ruby
[17:05:01] eelster: some_var= is a method, @sum_var= is not, so receive(:some_var=) works because that's a method name.
[17:12:46] eelster: Wait so when you use something like attr_writer :test it doesn't write the method
[17:12:56] eelster: def test=(test); @test = test; end
[17:13:17] eelster: Oh well of course.
[17:14:09] eelster: I wasn't saying use it without a receiver. I was just leaving off the `expect(obj).to` for brevity as the receive method was the only part I was really talking about.
[17:14:16] eelster: Sorry about that.
[17:40:13] eelster: Pry is kinda great sometimes though especially if you use it with the extensions that let you step into methods and go line by line.
[17:46:52] eelster: I like C and I like Ruby. I hate writing C extensions for Ruby.
[18:05:53] eelster: Wait, how can you get `comparison of NilClass with String failed`
[18:06:35] eelster: Here's my IRB output: https://hastebin.com/raw/dihenumihe
[18:07:20] eelster: Ohh ok with sort that makes more sense. I wasn't able to get it just using > or <.
[18:08:13] eelster: Yeah which is why if you have nil on the left it will give you a NoMethodError instead of an ArgumentError because > and < aren't defined for nil:NilClass.
[18:11:53] eelster: If you don't mind my asking, why does the error message matter? They're both ArgumentError in terms of handling.
[18:14:12] eelster: So you can use #compact to remove the nils from the array if you'd like to, but if it's a problem that nils are there than it's worthwhile investigating that.
[18:14:31] eelster: Like `[2, nil, 3].compact` because `[2, 3]`
[18:16:34] eelster: Like I said, it depends upon if it's ok that the nils are coming in or not. It's too vague to know either way.
[18:18:03] eelster: I use it with DBs a fair amount if I'm looking for an optional field in a table.
[18:18:17] eelster: But that's my main use-case for it.
[18:21:50] eelster: Normally it's from a collection that I've already gathered of all the data then I have to sometimes iterate through a specific column. It's not a super common use, but I definitely have it. It'll be like if I have something like this, but probably with a much better example: https://hastebin.com/oxilevumiy.rb
[18:22:17] eelster: And with more behavior between the first query and the if statement so I actually end up doing something with all_people
[18:22:23] eelster: But I rarely even do that.
[18:23:00] eelster: apeiros: But it's a rather specific use-case.
[18:23:38] eelster: Oh certainly yeah. This was just a rudimentary example.
[18:25:55] eelster: I always just get sad looking at the new features knowing that we're probably only going to keep using Ruby 2.3 probaby next january where we'll finally upgrade a bit.
[18:26:26] eelster: At least I can use them in personal projects.
[18:56:18] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…
[20:39:18] eelster: has joined #ruby
[20:40:11] eelster: Is there a flag for irb to skip my irbrc?
[20:42:54] eelster: Oh wow that's weird I must've messed up when I used / to search the man irb for irbrc.
[20:43:38] eelster: Yeah, pry is great and I actually load it in my irbrc, but I'm using jruby just to test one thing and I don't really want to install the gems loaded in my irbrc into jruby.
[20:43:51] eelster: Thanks Zarthus
[21:23:03] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…
[21:55:10] eelster: has joined #ruby
[22:14:08] eelster: dminuoso: I have never found a language that treats lists as well as Haskell.
[22:16:54] eelster: arquebus: But normally you program with that in consideration so it's fine.

2017-08-28

[06:05:13] eelster: has joined #ruby
[06:05:27] eelster: has joined #RubyOnRails
[06:05:30] eelster: Client Quit
[06:06:05] eelster: has joined #ruby
[06:06:21] eelster: has joined #RubyOnRails
[07:49:27] eelster: Quit: Textual IRC Client: www.textualapp.com
[13:23:29] eelster: has joined #ruby
[13:40:25] eelster: Quit: My Mac Mini has gone to sleep. ZZZzzz…
[15:07:05] eelster: has joined #ruby
[15:26:57] eelster: Quit: My Mac Mini has gone to sleep. ZZZzzz…
[15:38:26] eelster: has joined #ruby
[16:05:33] eelster: Quit: My Mac Mini has gone to sleep. ZZZzzz…
[16:26:47] eelster: has joined #ruby
[19:09:37] eelster: Quit: My Mac Mini has gone to sleep. ZZZzzz…
[20:04:50] eelster: has joined #ruby
[20:04:57] eelster: Client Quit

2017-08-25

[12:41:02] eelster: has joined #ruby
[12:41:10] eelster: Client Quit

2017-08-09

[00:08:19] eelster: Quit: Textual IRC Client: www.textualapp.com
[00:09:25] eelster: has joined #ruby
[00:09:45] eelster: has joined #RubyOnRails
[00:10:23] eelster: Client Quit
[00:12:30] eelster: has joined #ruby
[00:12:38] eelster: has joined #RubyOnRails
[01:10:15] eelster: Quit: Textual IRC Client: www.textualapp.com
[19:25:23] eelster: has joined #ruby
[19:39:33] eelster: Quit: My Mac Mini has gone to sleep. ZZZzzz…
[19:45:55] eelster: has joined #ruby
[19:59:26] eelster: Quit: My Mac Mini has gone to sleep. ZZZzzz…
[19:59:59] eelster: has joined #ruby
[20:57:46] eelster: Quit: Textual IRC Client: www.textualapp.com

2017-08-08

[15:05:49] eelster: has joined #ruby
[15:06:05] eelster: has joined #RubyOnRails

2017-08-07

[12:32:31] eelster: has joined #ruby
[16:00:02] eelster: Quit: My Mac Mini has gone to sleep. ZZZzzz…
[16:54:59] eelster: has joined #ruby
[21:00:54] eelster: Quit: Textual IRC Client: www.textualapp.com

2017-08-04

[15:15:06] eelster: has joined #ruby
[16:00:56] eelster: Quit: My Mac Mini has gone to sleep. ZZZzzz…
[16:46:10] eelster: has joined #ruby
[17:24:44] eelster: Ping timeout: 260 seconds

2017-08-02

[12:31:12] eelster: has joined #ruby
[12:32:31] eelster: has joined #RubyOnRails
[16:15:03] eelster: Quit: My Mac Mini has gone to sleep. ZZZzzz…
[17:14:51] eelster: has joined #ruby
[17:21:39] eelster: has joined #RubyOnRails
[19:58:57] eelster: Quit: My Mac Mini has gone to sleep. ZZZzzz…
[20:07:41] eelster: has joined #ruby
[20:58:58] eelster: Quit: Textual IRC Client: www.textualapp.com

2017-07-31

[13:04:48] eelster: has joined #ruby
[13:05:40] eelster: has joined #RubyOnRails
[15:32:14] eelster: Quit: My Mac Mini has gone to sleep. ZZZzzz…
[15:39:09] eelster: has joined #ruby
[15:43:47] eelster: has joined #RubyOnRails
[16:00:05] eelster: Quit: My Mac Mini has gone to sleep. ZZZzzz…
[16:56:36] eelster: has joined #ruby
[16:59:51] eelster: has joined #RubyOnRails
[21:01:30] eelster: Quit: Textual IRC Client: www.textualapp.com

2017-07-30

[00:12:33] eelster: Max SendQ exceeded
[01:47:13] eelster: has joined #RubyOnRails
[01:47:17] eelster: has joined #ruby
[01:47:54] eelster: Client Quit
[01:48:18] eelster: has joined #ruby
[01:48:18] eelster: has joined #RubyOnRails
[09:01:30] eelster: Ping timeout: 240 seconds

2017-07-29

[00:41:54] eelster: has joined #RubyOnRails
[00:42:14] eelster: has joined #ruby
[23:16:32] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…
[23:44:21] eelster: has joined #ruby
[23:44:29] eelster: has joined #RubyOnRails

2017-07-28

[01:30:13] eelster: Ping timeout: 255 seconds
[02:58:35] eelster: has joined #ruby
[02:58:35] eelster: has joined #RubyOnRails
[02:58:57] eelster: Does define_method cause issues if it's in method_missing ?
[02:59:18] eelster: Because it keeps recursing, but define_method must be defined in my class, no?
[02:59:37] eelster: With the method_missing's method argument being "define_method"
[04:20:26] eelster: Quit: My MacBook has gone to sleep. ZZZzzz…
[13:34:47] eelster: has joined #ruby
[14:04:47] eelster: has joined #RubyOnRails
[16:03:31] eelster: Quit: My Mac Mini has gone to sleep. ZZZzzz…
[16:53:55] eelster: has joined #ruby
[16:55:32] eelster: has joined #RubyOnRails
[17:59:37] eelster: Quit: Textual IRC Client: www.textualapp.com
[18:03:05] eelster: has joined #ruby
[18:14:25] eelster: Quit: My Mac Mini has gone to sleep. ZZZzzz…
[18:15:12] eelster: has joined #ruby
[18:59:29] eelster: Quit: Textual IRC Client: www.textualapp.com
[18:59:43] eelster: has joined #ruby
[19:23:00] eelster: Quit: Textual IRC Client: www.textualapp.com

2017-07-27

[15:21:24] eelster: has joined #RubyOnRails
[15:21:25] eelster: has joined #ruby
[23:11:49] eelster: nacsurte I don't believe so. You can check if a key is in a hash by using the #key? method.

2017-07-26

[00:26:10] eelster: Are you sure you have bundler installed globally/in that specific dir?
[12:45:24] eelster: has joined #ruby
[12:45:36] eelster: has joined #RubyOnRails
[12:59:11] eelster: Quit: My Mac Mini has gone to sleep. ZZZzzz…
[12:59:30] eelster: has joined #ruby
[13:12:11] eelster: has joined #RubyOnRails
[15:08:32] eelster: Quit: My Mac Mini has gone to sleep. ZZZzzz…
[16:00:19] eelster: has joined #ruby
[16:10:03] eelster: Quit: My Mac Mini has gone to sleep. ZZZzzz…
[16:40:15] eelster: has joined #ruby
[16:42:01] eelster: has joined #RubyOnRails
[18:39:09] eelster: Quit: My Mac Mini has gone to sleep. ZZZzzz…
[18:44:23] eelster: has joined #ruby
[18:46:41] eelster: has joined #RubyOnRails
[19:33:20] eelster: Quit: My Mac Mini has gone to sleep. ZZZzzz…
[19:36:57] eelster: has joined #ruby
[19:43:33] eelster: has joined #RubyOnRails
[20:54:11] eelster: Quit: Textual IRC Client: www.textualapp.com

2017-07-25

[00:21:00] eelster: Quit: leaving
[15:35:49] eelster: has joined #ruby
[15:40:19] eelster: Client Quit
[15:56:19] eelster: has joined #RubyOnRails
[16:00:31] eelster: Quit: Textual IRC Client: www.textualapp.com
[18:54:57] eelster: has joined #ruby
[18:55:35] eelster: has joined #RubyOnRails
[18:59:35] eelster: Client Quit
[18:59:54] eelster: has joined #ruby
[19:00:48] eelster: has joined #RubyOnRails

2017-07-23

[01:39:22] eelster: has joined #ruby