Python Micro Kernel PMK
Posted by BikerBoyRoy123@reddit | Python | View on Reddit | 7 comments
Hi
I've made public my repo which is a Python kernel/schedular/task runner.
The kernel runs things, these things are named Schedulers.
I've included an 'assistant' that builds a basic scheduler.
There are two default schedulers in the project
1: LLM, this is a test-bed for AI agent/models etc.
2: A JSON Parser
Basically build a schedular to do what ever you want it to do.
PMK is now central to my software development workflow
https://github.com/RoyTynan/pmk
Full source code included.
It is an intermediate to advanced project, but it's a very good learning resource as well
lottspot@reddit
This is not a kernel my dude. This is just a service. If you'd put in the effort to build it yourself you would understand the difference.
BikerBoyRoy123@reddit (OP)
It is a micro-kernel as stated, it meets the requirements to be designated a micro-kernel. . And i did write it myself without AI. I only used AI for the next.js front end.
lottspot@reddit
Then why was the post removed. You're a liar.
BikerBoyRoy123@reddit (OP)
After consideration of what you said I reposted the repo.
And there's no need to be nasty and call me a liar, that's really not called for
gdchinacat@reddit
https://github.com/RoyTynan/pmk/blob/main/server/kernelroot/core/scheduler_base.py#L52
The pydoc for this should state that it makes a best effort attempt to "Record a kernel activity entry", but no guarantees are made and failure is silent.
IMO this is not usable. Failsafe except blocks must to something to indicate a failure occurred and wasn't properly handled. Eating exceptions is a source of some of the most frustrating bugs to troubleshoot because you only find out about them when things don't work right but there is no indication of what that might be.
When I'm evaluating projects for inclusion in my own this is the sort of issue that leads me to immediately rule it out...I will not include software that hides its bugs from me because it becomes my bug and the project is actively working against my ability to support it.
BikerBoyRoy123@reddit (OP)
Thank you for your comments. It is not "production" ready The project is work in progress. the code is presented for anyone to modify and improve
Python-ModTeam@reddit
Hello from the r/Python moderation team,
We appreciate your contribution but have noticed a high volume of similar projects (e.g. AI/ML wrappers, YouTube scrapers, etc.) or submissions that do not meet our quality criteria. To maintain the diversity and quality of content on our subreddit, your post has been removed.
All showcase, code review, project, and AI generated projects should go into the pinned monthly Showcase Thread.
You can also try reposting in one of daily threads instead.
Thank you for understanding, and we encourage you to continue engaging with our community!
Best, The r/Python moderation team