prestorium

Activity Graph

Page 1 of 4 | Next »

2018-11-08

[07:22:15] prestorium: has joined #ruby
[07:39:39] prestorium: Quit: prestorium
[07:58:54] prestorium: has joined #ruby
[09:13:56] prestorium: Quit: prestorium

2018-11-07

[11:19:21] prestorium: has joined #ruby
[17:25:17] prestorium: Ping timeout: 244 seconds
[18:20:56] prestorium: has joined #ruby
[22:17:51] prestorium: Quit: prestorium

2018-11-05

[17:34:04] prestorium: has joined #ruby
[18:23:53] prestorium: Quit: prestorium

2018-09-04

[08:51:47] prestorium: has joined #ruby
[09:44:37] prestorium: Quit: prestorium

2018-09-03

[11:18:50] prestorium: has joined #ruby
[11:20:19] prestorium: Hi all. Anyone using Net/SSH with Windows' OpenSSH? Not git's SSH, but Windows' SSH. I'm trying to make Net/SSH to recognise ssh-agent running under windows
[11:20:40] prestorium: So far, it is always trying to get pageant (putty's agent)
[12:28:25] prestorium: Quit: My MacBook has gone to sleep. ZZZzzz…
[12:47:18] prestorium: has joined #ruby
[12:51:30] prestorium: Hi all. Anyone using Net/SSH with Windows' OpenSSH? Not git's SSH, but Windows' SSH. I'm trying to make Net/SSH to recognise ssh-agent running under windows
[12:51:32] prestorium: So far, it is always trying to get pageant (putty's agent)
[13:44:48] prestorium: Dumb question: is UNIXSocket defined on windows?
[13:47:09] prestorium: Quit: prestorium
[13:47:40] prestorium: has joined #ruby
[13:48:59] prestorium: ineb I don't know. I'm using Windows 10 and I'm trying to use openssh-ssh-agent named pipe
[13:51:14] prestorium: ineb yes, it is. So I'm trying to monkey patch it so it can work like I want/need :)
[13:59:01] prestorium: ineb yeah... I saw that. But I, in my naïvety, think it should be pretty easy to make it work using openssh on windows as well. That's what I'm trying to do.
[14:04:09] prestorium: ineb this is exactly what I'm doing. :) Except that I'm pretty sure that UNIXSocket is not defined on windows... I took a look at socket/lib/socket.rb, and it requires socket.so. There is no explicit definition of UNIXSocket
[14:04:31] prestorium: So, I'm guessing that socket.so have some #ifdef macro... :(
[14:15:22] prestorium: Quit: prestorium
[14:18:07] prestorium: has joined #ruby
[14:18:52] prestorium: has joined #ruby
[14:19:43] prestorium: has joined #ruby
[14:21:17] prestorium: ineb yes. But I'm not sure how to use a named pipe with ruby
[14:21:30] prestorium: That's why I was trying to use it as an unix socket
[14:22:09] prestorium: ineb well... if a named pipe were a socket... haha
[14:22:54] prestorium: that was my train of thought: "I will make something like UNIXSocket.open("\\.\pipe\openssh-ssh-agen") and call it a day"
[14:23:30] prestorium: I saw win32-pipe... But it has been 2 years since the last update. So I think it is not being used anymore. Perhaps because there is an alternative
[14:28:41] prestorium: ineb yeah... you're right
[15:16:52] prestorium: Quit: prestorium
[15:19:58] prestorium: has joined #ruby
[15:33:22] prestorium: Quit: prestorium
[15:40:03] prestorium: has joined #ruby
[16:04:50] prestorium: Quit: prestorium

2017-07-26

[13:34:18] prestorium: has joined #RubyOnRails
[14:39:54] prestorium: Quit: Leaving

2017-03-30

[17:23:30] prestorium: has joined #RubyOnRails
[18:33:40] prestorium: Remote host closed the connection

2016-07-08

[16:31:21] prestorium: has joined #ruby
[21:23:13] prestorium: Quit: Leaving

2016-07-06

[01:21:39] prestorium: Ping timeout: 276 seconds
[01:32:59] prestorium: has joined #ruby
[13:04:22] prestorium: Quit: Leaving
[18:24:29] prestorium: has joined #ruby
[18:24:32] prestorium: Read error: Connection reset by peer

2016-07-05

[04:49:42] prestorium: Ping timeout: 246 seconds
[05:02:08] prestorium: has joined #ruby
[19:04:11] prestorium: Ping timeout: 240 seconds
[19:17:12] prestorium: has joined #ruby

2016-07-04

[12:33:17] prestorium: has joined #ruby
[17:14:22] prestorium: hi. I'm trying to read a pem file: OpenSSL::X509::Certificate.new File.binread '/etc/puppetlabs/puppet/ca/requests/client-cert.pem', but I'm getting OpenSSL::X509::CertificateError: nested asn1 error
[17:14:50] prestorium: I googled for the exception without success. How can I debug it? I can open the certificate using openssl cli
[17:15:30] prestorium: jhack, openssl req -noout -text -in <cert>
[17:16:12] prestorium: hm... So, I'm trying to read something different? :( sorry, I'm pretty noob about that
[17:16:48] prestorium: jhass, and what's the ruby version of the command?
[17:17:03] prestorium: jhass, OpenSSL::X509::Request ?
[17:17:33] prestorium: jhass, thanks

2016-07-01

[13:36:50] prestorium: Quit: Leaving
[13:39:36] prestorium: has joined #ruby
[21:05:17] prestorium: Quit: Leaving

2016-06-30

[13:51:33] prestorium: has joined #ruby
[18:04:31] prestorium: Ping timeout: 240 seconds
[18:16:13] prestorium: has joined #ruby

2016-06-29

[20:25:32] prestorium: Quit: Leaving

2016-06-28

[12:24:12] prestorium: has joined #ruby
[23:06:20] prestorium: Excess Flood
[23:06:44] prestorium: has joined #ruby

2016-06-27

[12:00:03] prestorium: has joined #ruby
[20:59:07] prestorium: Quit: Leaving

2016-06-23

[23:52:39] prestorium: Quit: Leaving

2016-06-21

[13:32:56] prestorium: has joined #ruby
[19:34:23] prestorium: Read error: Connection reset by peer
[21:35:53] prestorium: has joined #ruby

2016-06-20

[13:54:17] prestorium: has joined #ruby
[22:58:07] prestorium: Quit: Leaving

2016-06-17

[14:38:22] prestorium: has joined #ruby
[21:26:30] prestorium: Quit: Leaving

2016-06-15

[19:36:49] prestorium: has joined #ruby
[20:57:01] prestorium: Ping timeout: 250 seconds
[21:08:57] prestorium: has joined #ruby
[21:43:55] prestorium: Quit: Leaving

2016-06-14

[12:18:36] prestorium: has joined #ruby
[19:08:38] prestorium: Quit: Leaving

2016-06-13

[15:17:02] prestorium: has joined #ruby
[21:40:58] prestorium: Quit: Leaving

2016-06-10

[17:08:07] prestorium: has joined #ruby
[22:29:53] prestorium: Quit: Leaving

2016-06-09

[13:11:09] prestorium: has joined #ruby
[19:57:24] prestorium: Quit: Leaving

2016-06-08

[18:02:40] prestorium: has joined #ruby
[18:09:39] prestorium: Ping timeout: 276 seconds
[18:10:48] prestorium: has joined #ruby
[19:09:21] prestorium: has joined #RubyOnRails
[19:10:32] prestorium: hi all. I need to start my app whenever my server restarts. My app is *not* run by root. What is the common approach? I thought about supervisor + init.d, but it seems a little overpower. Puma + init.d, maybe?
[19:27:27] prestorium: FailBit, what DB?
[19:27:31] prestorium: mysql, I assume
[19:28:11] prestorium: FailBit, are you using the correct indexes? Do you have an explain of the SELECT query?
[19:28:27] prestorium: FailBit, https://explain.depesz.com/
[19:28:52] prestorium: and the SELECT query *is* using the indexes?
[19:31:32] prestorium: FailBit, since your profiling says that it's ruby, the explain wasn't needed :) But if you can provide an EXPLAIN ANALYZE... :)
[19:31:50] prestorium: FailBit, 1 - try to change the params order: user_id before IP. I think it should use a better index.
[19:32:58] prestorium: FailBit, 2 - have you tried INSERT ... ON CONFLICT DO UPDATE SET updated_at = CURRENT_DATE, uses = uses + 1 ?
[19:35:08] prestorium: FailBit, is it slow on new records too?
[19:35:17] prestorium: or just on updates?
[19:39:10] prestorium: FailBit, sorry. I have no idea
[19:39:52] prestorium: FailBit, _maybe_ that INSERT .. ON CONFLICT DO UPDATE will solve your issue. But I suspect that it has more to do than that.
[19:40:36] prestorium: FailBit, have you tried something like begin; UserIp.create ; rescue; UserIp.update; end ?
[22:17:53] prestorium: Quit: Leaving

2016-06-07

[15:12:42] prestorium: has joined #ruby
[22:15:13] prestorium: Quit: Leaving

2016-06-06

[11:59:32] prestorium: has joined #ruby
[21:19:54] prestorium: Quit: Leaving

2016-06-03

[14:19:11] prestorium: has joined #ruby
[21:58:29] prestorium: Quit: Leaving

2016-06-02

[20:42:16] prestorium: Quit: Leaving

2016-06-01

[12:36:34] prestorium: has joined #ruby

2016-05-31

[14:53:33] prestorium: has joined #ruby
[21:37:12] prestorium: Quit: Leaving

2016-05-30

[13:37:29] prestorium: has joined #ruby
[20:49:12] prestorium: Quit: Leaving

2016-05-27

[15:00:31] prestorium: has joined #ruby
[18:40:10] prestorium: Quit: Leaving
[18:48:35] prestorium: has joined #ruby
[19:08:25] prestorium: Ping timeout: 252 seconds

2016-05-25

[18:24:03] prestorium: Ping timeout: 244 seconds
[18:31:52] prestorium: has joined #ruby
[22:13:08] prestorium: Quit: Leaving

2016-05-24

[18:29:00] prestorium: has joined #ruby

2016-05-19

[13:33:33] prestorium: has joined #ruby
[13:52:28] prestorium: Read error: Connection reset by peer

2016-05-17

[09:14:12] prestorium: has joined #ruby
[09:50:22] prestorium: Quit: Leaving

2016-05-16

[19:19:54] prestorium: has joined #ruby
[21:43:35] prestorium: Quit: Leaving

2016-05-13

[19:40:32] prestorium: has joined #ruby
[20:22:59] prestorium: Ping timeout: 260 seconds

2016-05-02

[17:31:04] prestorium: has joined #ruby
[17:55:43] prestorium: Quit: Leaving

2016-04-29

[13:05:57] prestorium: has joined #ruby
[14:23:16] prestorium: Read error: Connection reset by peer
[21:01:24] prestorium: has joined #ruby
[22:05:40] prestorium: Quit: Leaving

2016-04-27

[14:09:47] prestorium: has joined #ruby
[17:31:27] prestorium: Quit: Leaving

2016-04-26

[14:00:09] prestorium: has joined #ruby
[18:29:56] prestorium: Read error: Connection reset by peer

2016-04-25

[13:19:23] prestorium: has joined #ruby
[21:36:52] prestorium: Quit: Leaving

2016-04-20

[12:22:29] prestorium: has joined #ruby

2016-04-13

[14:40:37] prestorium: has joined #ruby
[15:44:17] prestorium: *.net *.split
[15:50:19] prestorium: has joined #ruby
[19:01:39] prestorium: Remote host closed the connection
[20:06:56] prestorium: has joined #ruby
[21:25:54] prestorium: Quit: Leaving

2016-04-08

[14:10:35] prestorium: has joined #ruby
[14:24:53] prestorium: Quit: Leaving

2016-03-29

[18:50:50] prestorium: has joined #ruby
[19:33:08] prestorium: Quit: Leaving

2016-03-24

[15:04:30] prestorium: has joined #ruby
[20:33:32] prestorium: Quit: Leaving

2016-03-23

[14:51:27] prestorium: has joined #ruby
[21:24:51] prestorium: Excess Flood
[21:41:35] prestorium: has joined #ruby
[23:40:23] prestorium: Quit: Leaving

2016-01-20

[14:29:50] prestorium: hi all. I'm coding a POC using raw ruby. How should I handle my classes loading? I'm coming from PHP with composer + autoload.php, which has require 'foo.php'; require 'bar.php' and so on.
[14:30:02] prestorium: What is the ruby way to do that?
[14:30:11] prestorium: I won't use any framework for now
[14:30:40] prestorium: Proof of Concept
[14:32:58] prestorium: apeiros, hmmm what about appending '../lib' to $LOAD_PATH inside my bin/exe?
[14:34:20] prestorium: got it! thank you very much for now apeiros ! :)
[17:13:54] prestorium: Quit: Leaving
[18:57:19] prestorium: has joined #ruby
[18:58:00] prestorium: has joined #RubyOnRails
[18:58:52] prestorium: hi all. I have a DDD related question. #ddd is not a real channel though. Can I ask here?
[19:00:05] prestorium: mrgreenfur, domain driven development
[19:01:11] prestorium: I wonder what is, if any, the difference between Ubiquitous Language and a Glossary?
[19:03:43] prestorium: newdan, but what's the point of UL then? I thought that it was meant to have all the team at the same page?
[19:04:42] prestorium: I mean: I'm working at a grocery store. I have Fruits and Vegetables. My UL will define that a Tomato is a Vegetable.
[19:06:28] prestorium: hmm and where does you define your UL?
[19:09:17] prestorium: newdan, no, I mean: do you use a Google Docs document for you UL? I'm pretty new to DDD too :(
[19:09:45] prestorium: cool :) thank you very much newdan
[19:51:30] prestorium: Ping timeout: 256 seconds

2016-01-15

[11:30:01] prestorium: has joined #ruby
[18:21:23] prestorium: Quit: Leaving

2016-01-14

[09:55:55] prestorium: has joined #ruby
[20:35:57] prestorium: Quit: Leaving

2016-01-13

[12:06:41] prestorium: has joined #ruby
[12:29:33] prestorium: Remote host closed the connection
[13:05:17] prestorium: has joined #ruby
[21:19:29] prestorium: Quit: Leaving

2016-01-11

[11:24:13] prestorium: has joined #ruby
[20:36:53] prestorium: Quit: Leaving

2016-01-08

[15:33:03] prestorium: has joined #ruby
[18:04:39] prestorium: Excess Flood
[18:04:42] prestorium: has joined #ruby
[21:57:27] prestorium: Quit: Leaving

2016-01-06

[12:32:08] prestorium: has joined #ruby
[18:44:54] prestorium: Quit: Leaving

2016-01-05

[11:09:36] prestorium: has joined #ruby
[14:15:28] prestorium: Read error: Connection reset by peer
[15:58:11] prestorium: has joined #ruby
[16:18:23] prestorium: Quit: Leaving

2016-01-04

[11:41:46] prestorium: has joined #ruby
[12:01:17] prestorium: Ping timeout: 246 seconds
[12:22:54] prestorium: Ping timeout: 265 seconds
[12:57:22] prestorium: has joined #ruby
[13:15:12] prestorium: Ping timeout: 264 seconds
[17:05:56] prestorium: Read error: Connection reset by peer
[17:06:06] prestorium: has joined #ruby
[17:45:30] prestorium: Read error: Connection reset by peer
[17:45:59] prestorium: has joined #ruby
[20:19:26] prestorium: Quit: Leaving

2015-12-31

[12:00:28] prestorium: has joined #ruby
[17:58:38] prestorium: Ping timeout: 272 seconds

2015-12-30

[12:07:45] prestorium: has joined #ruby
[21:33:23] prestorium: Quit: Leaving

2015-12-29

[12:06:28] prestorium: has joined #ruby
[22:07:59] prestorium: Quit: Leaving

2015-12-28

[11:40:49] prestorium: has joined #ruby
[21:17:51] prestorium: Quit: Leaving

2015-12-23

[12:04:58] prestorium: has joined #ruby
[20:52:40] prestorium: Quit: Leaving

2015-12-22

[12:53:21] prestorium: has joined #ruby
[13:22:25] prestorium: Quit: Leaving
[13:25:11] prestorium: has joined #ruby
[13:31:39] prestorium: has joined #ruby
[18:03:09] prestorium: Quit: Leaving

2015-12-21

[12:07:18] prestorium: has joined #ruby
[19:58:22] prestorium: Quit: Leaving

2015-12-19

[13:41:52] prestorium: has joined #ruby
[15:27:38] prestorium: Ping timeout: 246 seconds
[15:29:04] prestorium: Quit: Leaving
[15:29:19] prestorium: has joined #ruby
[16:21:59] prestorium: Read error: Connection reset by peer
[16:26:08] prestorium: has joined #ruby
[19:00:30] prestorium: Quit: Leaving