Niko Föhr

Results 178 comments of Niko Föhr

I can't recall if there's any name length constraints, but have you checked if the OS has maximum length for the file names? Iirc Windows by default limits file names...

I asked about this in [SO](https://stackoverflow.com/questions/78211119/how-to-tackle-statement-is-unreachable-unreachable-with-mypy-when-setting-at) where user sytech introduced a workaround using type guard functions using [TypeGuard](https://typing.readthedocs.io/en/latest/spec/narrowing.html#typeguard). They're essentially functions that must return a boolean, and if they return...

For anyone interested, I created a code corpus called [granite-code-ngrams](https://github.com/fohrloop/granite-code-ngrams). It contains following ngrams: - python - rust - javascript - typescript - css (incl. scss & less) and a...

@yoch the systemd config is useful, thanks. I tend to use ``` ExecStart=/bin/celery beat -A config\ -l info\ --pidfile /run/celery/celerybeat.pid\ --schedule=/run/celery/celerybeat-schedule ``` Is there any difference by running `/bin/celery beat`...

I created a PoC for this and it seems to be possible to do this (nice! 🎉) **One consequence** of doing this is that all the Methods that will support...

## Problem: Abrupt termination of parent process (SIGKILL, segfault, etc.) I've done some testing on a solution which includes - Parent process creating a client (a program entering wakepy mode)...

I'm a little concerned about the `m.method.resets_idle_timer` being True/False/None. First, it cannot be just boolean (True/False), because for some methods the behavior is unknown. If it would also allow being...

I have given this a bit more thought. ## What would a user want to know? If a user is interested about the idle timer status after deactivating the inhibitor,...