SteenJobs

Activity Graph

Page 1 of 58 | Next »

2019-01-21

[00:41:23] SteenJobs: Quit: SteenJobs
[09:00:35] SteenJobs: has joined #RubyOnRails
[09:36:43] SteenJobs: Quit: SteenJobs
[16:01:53] SteenJobs: has joined #RubyOnRails
[16:45:00] SteenJobs: Quit: SteenJobs
[17:13:26] SteenJobs: has joined #RubyOnRails
[22:36:21] SteenJobs: Quit: SteenJobs

2019-01-20

[00:25:59] SteenJobs: Quit: SteenJobs
[00:41:36] SteenJobs: has joined #RubyOnRails
[02:33:46] SteenJobs: Quit: SteenJobs
[04:29:56] SteenJobs: has joined #RubyOnRails
[10:38:44] SteenJobs: Quit: SteenJobs
[23:52:28] SteenJobs: has joined #RubyOnRails

2019-01-19

[23:22:04] SteenJobs: has joined #RubyOnRails

2019-01-09

[05:19:14] SteenJobs: Quit: SteenJobs
[05:28:01] SteenJobs: has joined #RubyOnRails
[05:28:11] SteenJobs: Client Quit

2019-01-08

[02:28:18] SteenJobs: has joined #RubyOnRails
[05:00:14] SteenJobs: Quit: SteenJobs
[19:13:04] SteenJobs: has joined #RubyOnRails

2019-01-05

[00:17:27] SteenJobs: Quit: SteenJobs
[00:26:15] SteenJobs: has joined #RubyOnRails
[03:51:37] SteenJobs: Quit: SteenJobs
[07:28:28] SteenJobs: has joined #RubyOnRails
[07:28:31] SteenJobs: Client Quit

2019-01-04

[22:17:16] SteenJobs: has joined #RubyOnRails

2019-01-03

[01:18:46] SteenJobs: has joined #RubyOnRails
[02:42:25] SteenJobs: Quit: SteenJobs
[02:44:03] SteenJobs: has joined #RubyOnRails
[04:50:56] SteenJobs: Quit: SteenJobs
[14:44:14] SteenJobs: has joined #RubyOnRails
[14:44:24] SteenJobs: Client Quit
[21:21:30] SteenJobs: has joined #RubyOnRails
[21:25:50] SteenJobs: Ping timeout: 258 seconds
[21:28:31] SteenJobs: has joined #RubyOnRails
[22:33:57] SteenJobs: Quit: SteenJobs

2018-12-26

[21:00:38] SteenJobs: has joined #RubyOnRails
[21:00:39] SteenJobs: Client Quit

2018-12-22

[04:09:47] SteenJobs: Quit: SteenJobs

2018-12-21

[19:13:24] SteenJobs: has joined #RubyOnRails

2018-12-20

[03:29:40] SteenJobs: Quit: SteenJobs
[19:22:39] SteenJobs: has joined #RubyOnRails
[22:10:33] SteenJobs: Quit: SteenJobs

2018-12-19

[16:36:26] SteenJobs: has joined #RubyOnRails
[18:57:09] SteenJobs: Read error: Connection reset by peer
[19:34:20] SteenJobs: Quit: SteenJobs
[20:30:09] SteenJobs: has joined #RubyOnRails
[22:14:11] SteenJobs: Quit: SteenJobs
[22:16:29] SteenJobs: has joined #RubyOnRails

2018-12-17

[21:56:42] SteenJobs: has joined #RubyOnRails
[21:56:47] SteenJobs: Remote host closed the connection

2018-12-14

[16:47:47] SteenJobs: has joined #RubyOnRails
[23:12:32] SteenJobs: Quit: SteenJobs

2018-12-13

[20:41:47] SteenJobs: has joined #RubyOnRails
[21:11:10] SteenJobs: Ping timeout: 246 seconds
[21:15:01] SteenJobs: has joined #RubyOnRails
[21:19:13] SteenJobs: Ping timeout: 245 seconds
[21:26:37] SteenJobs: Quit: SteenJobs

2018-11-28

[16:59:01] SteenJobs: has joined #RubyOnRails
[17:26:27] SteenJobs: Ping timeout: 246 seconds

2018-11-27

[00:00:30] SteenJobs: we ran the update, and the interpreter is evaluating `0` as truthy, yet in a rails console, the property is correctly evaluated as `false`
[00:54:33] SteenJobs: Ping timeout: 268 seconds
[01:38:28] SteenJobs: has joined #RubyOnRails
[02:00:00] SteenJobs: Ping timeout: 268 seconds
[02:00:38] SteenJobs: has joined #RubyOnRails
[02:00:46] SteenJobs: Client Quit

2018-11-26

[23:59:02] SteenJobs: has joined #RubyOnRails
[23:59:53] SteenJobs: hey all - in the docs for `update_all`, https://apidock.com/rails/v4.2.7/ActiveRecord/Relation/update_all, it mentions the values won’t go through AR’s type-casting behavior - would this cause an issue if updating a bool property when using mysql?

2018-11-21

[01:55:42] SteenJobs: Quit: SteenJobs
[01:59:22] SteenJobs: has joined #RubyOnRails
[01:59:23] SteenJobs: Client Quit

2018-11-20

[17:14:20] SteenJobs: has joined #RubyOnRails
[19:45:31] SteenJobs: Quit: SteenJobs
[19:58:04] SteenJobs: has joined #RubyOnRails
[20:01:42] SteenJobs: Read error: Connection reset by peer
[20:02:54] SteenJobs: has joined #RubyOnRails
[20:49:16] SteenJobs: Read error: Connection reset by peer
[20:50:29] SteenJobs: has joined #RubyOnRails
[21:39:27] SteenJobs: Read error: Connection reset by peer
[21:40:26] SteenJobs: has joined #RubyOnRails
[22:29:15] SteenJobs: Quit: SteenJobs
[22:40:17] SteenJobs: has joined #RubyOnRails

2018-11-15

[16:33:00] SteenJobs: has joined #RubyOnRails
[16:43:48] SteenJobs: Read error: Connection reset by peer
[16:45:17] SteenJobs: has joined #RubyOnRails
[18:00:54] SteenJobs: Quit: SteenJobs
[18:05:33] SteenJobs: has joined #RubyOnRails
[18:50:09] SteenJobs: Quit: SteenJobs
[18:56:08] SteenJobs: has joined #RubyOnRails
[22:06:54] SteenJobs: Quit: SteenJobs

2018-11-14

[01:26:11] SteenJobs: Quit: SteenJobs
[01:33:00] SteenJobs: has joined #RubyOnRails
[03:15:25] SteenJobs: Quit: SteenJobs
[03:41:07] SteenJobs: has joined #RubyOnRails
[05:07:04] SteenJobs: Quit: SteenJobs
[05:16:06] SteenJobs: has joined #RubyOnRails
[05:16:10] SteenJobs: Client Quit

2018-11-13

[19:37:06] SteenJobs: has joined #RubyOnRails

2018-11-10

[07:57:08] SteenJobs: Quit: SteenJobs

2018-11-09

[04:19:17] SteenJobs: has joined #RubyOnRails
[04:20:27] SteenJobs: Client Quit
[19:20:04] SteenJobs: has joined #RubyOnRails
[19:50:55] SteenJobs: Read error: Connection reset by peer
[19:51:46] SteenJobs: has joined #RubyOnRails
[21:23:25] SteenJobs: Quit: SteenJobs
[21:35:07] SteenJobs: has joined #RubyOnRails
[23:14:44] SteenJobs: Quit: SteenJobs
[23:15:57] SteenJobs: has joined #RubyOnRails

2018-11-08

[05:59:08] SteenJobs: Quit: SteenJobs
[06:00:36] SteenJobs: has joined #RubyOnRails
[06:00:42] SteenJobs: Client Quit
[19:14:55] SteenJobs: has joined #RubyOnRails
[21:01:17] SteenJobs: Quit: SteenJobs
[21:07:07] SteenJobs: has joined #RubyOnRails
[22:19:28] SteenJobs: Quit: SteenJobs
[22:24:18] SteenJobs: has joined #RubyOnRails
[22:24:30] SteenJobs: Client Quit

2018-11-07

[18:02:11] SteenJobs: has joined #RubyOnRails
[20:13:09] SteenJobs: Read error: Connection reset by peer
[20:13:46] SteenJobs: has joined #RubyOnRails
[21:05:39] SteenJobs: Read error: Connection reset by peer
[21:07:17] SteenJobs: has joined #RubyOnRails
[21:43:55] SteenJobs: Quit: SteenJobs
[22:37:26] SteenJobs: has joined #RubyOnRails

2018-11-06

[03:15:48] SteenJobs: Quit: SteenJobs
[03:16:27] SteenJobs: has joined #RubyOnRails
[04:39:31] SteenJobs: Quit: SteenJobs
[05:22:33] SteenJobs: has joined #RubyOnRails
[05:22:43] SteenJobs: Client Quit
[17:26:35] SteenJobs: has joined #RubyOnRails
[22:42:57] SteenJobs: Quit: SteenJobs

2018-11-05

[16:24:10] SteenJobs: has joined #RubyOnRails
[19:31:05] SteenJobs: Quit: SteenJobs
[21:29:08] SteenJobs: has joined #RubyOnRails

2018-11-01

[03:04:50] SteenJobs: has joined #RubyOnRails
[08:21:11] SteenJobs: Quit: SteenJobs
[18:29:45] SteenJobs: has joined #RubyOnRails
[18:39:48] SteenJobs: Quit: SteenJobs
[18:44:05] SteenJobs: has joined #RubyOnRails
[21:39:36] SteenJobs: Read error: Connection reset by peer
[23:56:24] SteenJobs: has joined #RubyOnRails
[23:56:31] SteenJobs: Client Quit

2018-10-31

[20:28:20] SteenJobs: has joined #RubyOnRails
[23:50:57] SteenJobs: Quit: SteenJobs

2018-10-30

[01:12:15] SteenJobs: Quit: SteenJobs
[04:21:24] SteenJobs: has joined #ruby
[04:21:24] SteenJobs: has joined #RubyOnRails
[08:40:28] SteenJobs: Quit: SteenJobs
[08:51:03] SteenJobs: has joined #ruby
[08:51:03] SteenJobs: has joined #RubyOnRails
[08:51:06] SteenJobs: Client Quit

2018-10-29

[17:49:10] SteenJobs: has joined #RubyOnRails
[17:49:24] SteenJobs: has joined #ruby
[21:15:48] SteenJobs: Quit: SteenJobs
[21:26:57] SteenJobs: has joined #ruby
[21:26:57] SteenJobs: has joined #RubyOnRails

2018-10-25

[06:53:29] SteenJobs: Quit: SteenJobs
[07:02:25] SteenJobs: has joined #ruby
[07:02:25] SteenJobs: has joined #RubyOnRails
[08:01:35] SteenJobs: Quit: SteenJobs
[14:30:10] SteenJobs: has joined #ruby
[14:30:10] SteenJobs: has joined #RubyOnRails
[16:15:58] SteenJobs: Quit: SteenJobs

2018-10-24

[05:17:24] SteenJobs: has joined #ruby
[05:17:24] SteenJobs: has joined #RubyOnRails
[06:58:27] SteenJobs: Quit: SteenJobs
[14:35:13] SteenJobs: has joined #ruby
[14:35:13] SteenJobs: has joined #RubyOnRails
[15:58:19] SteenJobs: Quit: SteenJobs
[16:15:44] SteenJobs: has joined #ruby
[16:15:44] SteenJobs: has joined #RubyOnRails
[18:10:50] SteenJobs: Read error: Connection reset by peer
[18:11:29] SteenJobs: has joined #ruby
[18:11:29] SteenJobs: has joined #RubyOnRails
[18:30:37] SteenJobs: Read error: Connection reset by peer
[18:31:54] SteenJobs: has joined #ruby
[18:31:54] SteenJobs: has joined #RubyOnRails
[20:20:51] SteenJobs: Quit: SteenJobs
[20:25:23] SteenJobs: has joined #ruby
[20:25:23] SteenJobs: has joined #RubyOnRails
[23:48:13] SteenJobs: Quit: SteenJobs
[23:57:37] SteenJobs: has joined #ruby
[23:57:37] SteenJobs: has joined #RubyOnRails

2018-10-23

[15:59:07] SteenJobs: has joined #RubyOnRails
[16:04:56] SteenJobs: has joined #ruby
[16:07:53] SteenJobs: Hi all - been reading through the various different ways to execute system/shell commands, and I still can’t quite figure out which methods execute the given commands in a subshell vs as a subprocess (akin to python’s `shell=false`), so was hoping someone could help me clear things up
[16:36:38] SteenJobs: al2o3-cr: Great, thanks! - so in my script, i want to run a couple git commands, (1) `git fetch` and (2) `git pull`, and then (3) check `git status` - it seems like Open3#capture2 is a great candidate for (3), but for (1) and (2) I see no reason to execute in a subshell, but `exec` will replace the current process rather than creating a subprocess, so what would be a good option for (1) and (2)?
[16:37:42] SteenJobs: ugh *i’m writing the script based on a python script from a coworker, where the (1) and (2) equivalent is called using `subprocess.call` to provide some context
[16:49:53] SteenJobs: haha typing rn, ironing out my thoughts/questions, very much appreciated :)
[16:50:14] SteenJobs: al2o3-cr: my understanding is the parent process will inherit stderr when using Open3.capture2e/3, and i don’t really need to do anything with stderr other than display it and exit the script (which I understand I can do using the status object)
[16:50:45] SteenJobs: as for Process.spawn, it looks like the execution is done asynchronously without explicitly calling Process.wait, is that correct?
[16:52:07] SteenJobs: is the same true for Open3?
[16:53:05] SteenJobs: asking with regards to both Open3.capture* and Open3.popen*
[16:53:21] SteenJobs: ah ok - what exactly is the `wait_thr` param that gets passed into the block for the popen* methods?
[16:57:59] SteenJobs: ok got it, yea wasn’t sure what the object type was
[16:58:30] SteenJobs: so out of curiosity, if Open3 is by default synchronous, how would one use Open3 methods asynchronously? (not applicable to my use case since i need synchronous execution)
[17:02:37] SteenJobs: hmm just pulled up the Process::Waiter docs and looks like pid is its only instance method - but the docs for Open3 show `wait_thr.value` returning a Process::Status object
[17:08:50] SteenJobs: ah ok, missed that bit
[17:11:52] SteenJobs: al2o3-cr: i’ll look thru the docs - it does seem that Kernel#system is probably the most straightforward way for (1) and (2) above, and since there’s no input, i guess there’s no potential issue with running a subshell
[17:14:26] SteenJobs: al2o3-cr: do any of the methods for executing commands bubble up exceptions such that the parent process will simply fail and terminate execution without explicitly checking the Process::Status object?
[17:17:01] SteenJobs: al2o3-cr: for either Open3 or Kernel (are Kernel#spawn and Process#spawn identical?)
[17:21:49] SteenJobs: i guess for example if the subprocess executes a `git fetch` and for whatever reason origin doesn’t exist or something occured that would cause `git fetch` to fail, would all the methods we discussed require explicitly checking the status object?
[17:24:07] SteenJobs: Ok cool - oneeee last q - with Open3.capture*, if stderr is inherited, what exactly does that mean? I assume it means that the subprocess shares the same stderr as the parent process, so in the `git fetch` case, if the child process has a non-zero exit status, would that cause the parent process (the containing script) to stop execution?
[17:24:30] SteenJobs: but yea, in practice i’ll use system for 1 and 2
[17:56:59] SteenJobs: Quit: SteenJobs
[20:34:42] SteenJobs: has joined #ruby
[20:34:42] SteenJobs: has joined #RubyOnRails
[20:51:13] SteenJobs: al2o3-cr: thanks for the help before, sorry i suddenly disappeared, totally lost track of time and had to bolt to an appointment haha
[20:58:32] SteenJobs: Quit: SteenJobs
[21:02:33] SteenJobs: has joined #ruby
[21:02:33] SteenJobs: has joined #RubyOnRails
[22:15:46] SteenJobs: Quit: SteenJobs
[22:17:49] SteenJobs: has joined #ruby
[22:17:49] SteenJobs: has joined #RubyOnRails
[22:45:01] SteenJobs: Quit: SteenJobs

2018-10-19

[00:44:16] SteenJobs: Quit: SteenJobs
[15:36:35] SteenJobs: has joined #RubyOnRails
[19:34:11] SteenJobs: Read error: Connection reset by peer
[21:25:49] SteenJobs: has joined #RubyOnRails
[23:10:52] SteenJobs: Quit: SteenJobs

2018-10-18

[17:09:27] SteenJobs: has joined #RubyOnRails
[19:38:47] SteenJobs: Quit: SteenJobs
[19:50:36] SteenJobs: has joined #RubyOnRails

2018-09-08

[00:23:36] SteenJobs: Quit: SteenJobs
[00:24:12] SteenJobs: has joined #RubyOnRails
[00:28:48] SteenJobs: Ping timeout: 272 seconds
[09:00:46] SteenJobs: has joined #RubyOnRails
[19:04:48] SteenJobs: Quit: SteenJobs

2018-09-07

[04:49:56] SteenJobs: Quit: SteenJobs
[04:54:00] SteenJobs: has joined #RubyOnRails
[07:24:28] SteenJobs: Quit: SteenJobs
[16:36:00] SteenJobs: has joined #RubyOnRails

2018-09-06

[23:25:50] SteenJobs: has joined #RubyOnRails

2018-09-04

[22:25:09] SteenJobs: has joined #RubyOnRails
[23:09:58] SteenJobs: Quit: SteenJobs
[23:53:59] SteenJobs: has joined #RubyOnRails
[23:54:01] SteenJobs: Client Quit

2018-08-29

[00:00:05] SteenJobs: has joined #RubyOnRails
[00:00:29] SteenJobs: Client Quit
[01:57:43] SteenJobs: Client Quit
[01:57:43] SteenJobs: has joined #RubyOnRails

2018-08-28

[22:53:42] SteenJobs: has joined #RubyOnRails
[23:45:00] SteenJobs: Quit: SteenJobs

2018-08-22

[12:52:46] SteenJobs: Quit: SteenJobs
[13:02:17] SteenJobs: has joined #RubyOnRails
[17:10:09] SteenJobs: Quit: SteenJobs
[17:15:58] SteenJobs: has joined #RubyOnRails