Difference between revisions of "2022/11/04"

From HypertWiki
Jump to navigation Jump to search
Line 1: Line 1:
{{page/date}}
{{page/date}}
Today is a [[DCM|co-op]] and [[roast chicken|family dinner]] day.
Today is a [[DCM|co-op]] and [[roast chicken|family dinner]] day.
=A.M.=
{| class=wikitable
|-
|
==Coding==
==Coding==
I ''really hate'' it when I forget to save my work before running a test, and then I stop the test to save my work, but the connection hangs, so the code editor hangs, and now I can't save my work... and then I manage to kill the connection, but that kills the code editor and now I have to redo my work.
I ''really hate'' it when I forget to save my work before running a test, and then I stop the test to save my work, but the connection hangs, so the code editor hangs, and now I can't save my work... and then I manage to kill the connection, but that kills the code editor and now I have to redo my work.
Line 7: Line 11:


Added a destructor to the remote-mount base class which tries to unmount any open connections. Theoretically this should be triggered when the program exits, but I don't know if it works when the program is interrupted by a ctrl-C.
Added a destructor to the remote-mount base class which tries to unmount any open connections. Theoretically this should be triggered when the program exits, but I don't know if it works when the program is interrupted by a ctrl-C.
|
<gallery mode=packed heights=100>
File:20221104_094843.jpg
File:20221104_094920.jpg
File:20221104_102125.jpg
File:20221104_102148.jpg
File:20221104_102217.jpg
</gallery>
|}

Revision as of 16:29, 4 November 2022

Friday, November 4, 2022 (#308)
Thursday Friday Saturday
Exact day: category (1) This month: category (37) / page
Other years: category (5) This year: category (105) / page

Today is a co-op and family dinner day.

A.M.

Coding

I really hate it when I forget to save my work before running a test, and then I stop the test to save my work, but the connection hangs, so the code editor hangs, and now I can't save my work... and then I manage to kill the connection, but that kills the code editor and now I have to redo my work.

This seems to be a recurring problem with accessing remote filesystems via mount. Something is keeping the connection option so it can't be unmounted cleanly, but I can't seem to figure out how to stop it.

Added a destructor to the remote-mount base class which tries to unmount any open connections. Theoretically this should be triggered when the program exits, but I don't know if it works when the program is interrupted by a ctrl-C.