Skip to content

Commit 46e3e28

Browse files
format errors
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
1 parent bcb4bd8 commit 46e3e28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/python/ps_head.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(self, top_n, log_file_name, poll_interval_sec=5):
4848

4949
# edit: ok I asked Claude "what is the origin of the odd unix spelling daemon?":
5050

51-
'''
51+
"""
5252
The Unix spelling "daemon" has a fascinating origin that predates computing entirely. It comes from ancient Greek mythology, where a "daemon" (δαίμων) referred to a supernatural being or spirit that worked in the background, often as an intermediary between gods and humans - neither good nor evil, just quietly doing its job.
5353
5454
The computing use was coined at MIT's Project MAC in 1963. According to Fernando J. Corbató (who worked on the project), they deliberately chose this spelling over "demon" to avoid any negative connotations. The team liked the metaphor of these helpful background spirits that quietly performed tasks without direct human interaction.
@@ -58,8 +58,8 @@ def __init__(self, top_n, log_file_name, poll_interval_sec=5):
5858
This naming choice reflects the playful academic culture at MIT and other early computing centers, where classical education often influenced technical terminology. The researchers appreciated how perfectly the mythological concept mapped to these background processes - invisible helpers doing necessary work behind the scenes, starting up when needed and running continuously without human intervention.
5959
6060
It's one of many examples where Unix culture embraced clever wordplay and literary references (like "grep" from "g/re/p" - globally search for regular expression and print).
61-
'''
62-
61+
"""
62+
6363
self.thread = threading.Thread(target=self.__run_thread, daemon=True)
6464
self.thread.start()
6565

0 commit comments

Comments
 (0)