Re: Why they use this: duration = time.time() - self.start_time + 1

2019-08-03 Thread Chris Angelico
On Sun, Aug 4, 2019 at 12:36 PM Hongyi Zhao wrote: > > Hi, > > I read the code here: > > https://github.com/shichao-an/homura/blob/master/homura.py > > > It said in line 244: > > duration = time.time() - self.start_time + 1 > > I'm very confusing why it used like this instead of the following: >

Re: Why they use this: duration = time.time() - self.start_time + 1

2019-08-03 Thread Cameron Simpson
On 04Aug2019 02:33, Hongyi Zhao wrote: I read the code here: https://github.com/shichao-an/homura/blob/master/homura.py It said in line 244: duration = time.time() - self.start_time + 1 I'm very confusing why it used like this instead of the following: duration = time.time() - self.start_tim

Why they use this: duration = time.time() - self.start_time + 1

2019-08-03 Thread Hongyi Zhao
Hi, I read the code here: https://github.com/shichao-an/homura/blob/master/homura.py It said in line 244: duration = time.time() - self.start_time + 1 I'm very confusing why it used like this instead of the following: duration = time.time() - self.start_time Any hints? Regards -- .

Re: Remote/Pair-Programming in-the-cloud

2019-08-03 Thread DL Neil
On 3/08/19 2:08 PM, Bryon Tjanaka wrote: Depending on how often you need to run the code, you could use a google doc and copy the code over when you need to run. Of course, if you need linters and other tools to run frequently this would not work. Thanks for the thought Bryon. Elsewhere there

Re: Remote/Pair-Programming in-the-cloud

2019-08-03 Thread DL Neil
On 3/08/19 5:17 PM, Cameron Simpson wrote: On 03Aug2019 16:51, DL Neil wrote: On 3/08/19 11:50 AM, Cameron Simpson wrote: appear.in can also screen share along with its video conferencing, and I imagine Zoom might do so also. But a screen share is "read only" for the other party. You could bo

Re: Remote/Pair-Programming in-the-cloud

2019-08-03 Thread Chris Angelico
On Sun, Aug 4, 2019 at 8:31 AM DL Neil wrote: > > On 3/08/19 5:20 PM, Cameron Simpson wrote: > > On 03Aug2019 08:52, DL Neil wrote: > >> On 3/08/19 8:32 AM, Terry Reedy wrote: > >>> 2. Do two systems connect directly peer-to-peer or through a server? > >> Exclusively the latter (thus far in the i

Re: Remote/Pair-Programming in-the-cloud

2019-08-03 Thread DL Neil
On 3/08/19 5:20 PM, Cameron Simpson wrote: On 03Aug2019 08:52, DL Neil wrote: On 3/08/19 8:32 AM, Terry Reedy wrote: 2. Do two systems connect directly peer-to-peer or through a server? Exclusively the latter (thus far in the investigation). If one party is remote and both are behind a NAT

Re: Remote/Pair-Programming in-the-cloud

2019-08-03 Thread Chris Angelico
On Sun, Aug 4, 2019 at 4:46 AM Terry Reedy wrote: > > On 8/3/2019 1:50 AM, Chris Angelico wrote: > > When pair programming involves training (tutor and student, or senior > > and junior programmer), forcing the more experienced person to stay > > hands-off is a very good thing; it forces the less

Re: Remote/Pair-Programming in-the-cloud

2019-08-03 Thread Terry Reedy
On 8/3/2019 1:50 AM, Chris Angelico wrote: On Sat, Aug 3, 2019 at 3:36 PM DL Neil wrote: On 3/08/19 4:02 PM, Terry Reedy wrote: I currently work on my home machine, so my recent 'pair programming' has been limited to comments and now diff suggestions on Github PRs. So I need the comments on

Re: Remote/Pair-Programming in-the-cloud

2019-08-03 Thread Bryon Tjanaka
Depending on how often you need to run the code, you could use a google doc and copy the code over when you need to run. Of course, if you need linters and other tools to run frequently this would not work. On Fri, Aug 2, 2019 at 4:50 PM Cameron Simpson wrote: > On 03Aug2019 11:39, DL Neil wrot