Learning Notes and experiments on Kanban, Voice assistant, Log, unit testing with Python
To a certain point, self-assessment can turn to self-harassment. I guess, most of us have experiment the “evil” todolist syndrom e.g the 10 things to eat, the 3 books to read, the 5 places to visit, the 7 python librairies to use… todolists that torment us by controlling what we do and highlighting what we haven’t!
A modern practice that denotes a very contemporary obsession with performance. This obsession constantly accentuates our tendency to treat ourselves like a machine or like a company where it is only a question of productivity, efficiency and effectiveness!
However, these 3 notions are eminently relative because they are personal. So, we can legitimately wonder if productivity is not a myth, multitasking is not useless or even the best productivity hack is almost always to do less!
Beyond these simple thoughts, let’s say that workflow’s optimization or the industrialization of certain tasks has limits especially for a job of P.O.
As a P.O, I always want to delegate tedious and boring chores to a computer for instance this time I made up my mind about these 2 purposes (again a todolist):
- Use voice assistant to automatize some day-to-day P.O tasks such as creating new ticket, lauching tests… etc so I can do more while expending less effort.
- Complete my Python self-training with new skills on how to log and how to test some personal applications that I wrote in Python to facilate debugging and improve overall quality.
To be totally transparent enough, I wanted also to explore the python ability to generate automatically a PPT for sprint review based on a Jira ticket list! But making the script took more time than manually make the google doc based on a template, so I also dropped this subject! I have left few links towards ressources about this topic below.
Well, I must admit that I failed either the subjects were too complex for me as all these goes far beyond my ability to make development or either the results were insignificant in regard of what I was expecting especially for voice assistant!
With the voice assistant, I was also worry by the fact that I would have to talk with my computer like some kind of crazy dude… I didn’t really like the experience and neither did people around me 🙂
So I pivoted. So, instead of investing on means (hard skills) e.g mastering python, I reinvested on method by revisiting some useful Kanban concepts (soft skills) just to know how to handle my frustration and refine my objectives.
Anyway, despite the fact that I did not get rid of some P.O chores, this brief reading was a real occasion to take some good hacks from Kanban. As I hate cumbersome and convoluted explanations here are below some of my essential but partial takeaways.
I found great summaries in Keyvan Akbary Learning Notes but reading the books itself is always a must… See https://github.com/keyvanakbary/learning-notes
- Unfinished tasks vie for our attention, causing intrusive thoughts that ultimately impede productivity and increase the opportunity for error.
- A P.O must be tech literate, not tech fluent in order to make good trade-off decisions. Programming is far from being essential, the only asset is that you start sometime to think like a developer or a tek guy to provide better explanation for a possible product feature.
- The key for improving quality is to reduce the quantity of work-in-progress. Shorter iterations will drive higher quality. So, mind the WIP and think lead time. I rename “lead time” as “human sizeable”. Keynes used to say “In the long run, we are all dead”, so the delay between from starting to done as to be reasonable for a human being especially in software development.
- Frequent releases build trust. The product is the message so reducing WIP shortens lead time and frequent releases build trust and confidence within the team and with external teams. Trust is event driven, frequent gestures or events enhance trust more than larger gestures made only occasionally. Small gestures often cost nothing but build more trust than large, expensive gestures bestowed occasionally. This “small gestures” are also strongly advised in Corporate Hacking and the smallest action must have the highest emotional impact on teams.
Well anyway, I end up pitifully this exploration in Python and give away the code exactly where I stopped. It was urgent to stop what turned out evidently as an evil never-ending WIP.
You can grab the source for this post and some other resource on my GitHub account: Code for python_explorations_audio_log_unit_test
1. Voice assistant or speak with Python
Well, I know now that voice over computer is working and it is promising! Good for me. But, I am definitely reluctant to talk to my computer and become a noisy bird for colleagues and family so I have decided to remain silent. Either my accent sucks in English but many orders given such as launch a script or open a browser were seldom successful attempts! Instead of saving me time, I was pissed off and wasted time trying to get my personal voice assistant as obtuse as a mule to work.
You can grab the source for this post and some other resource on my GitHub account: Code for speech_to_text
2. First steps with unit testing in Python
No doubt that Unit testing belongs to the developer’s teams. As a PO, you should have a eye on this KPI, unit testing coverage percentage. This coding is made during all the product life-cycle, if not you are creating technical debt, my friend!
Unit testing makes it easy to fix the problems as the developers come to know which particular component of the system or software has the issues and the developers can fix that particular unit.
You can grab the source for this post and some other resource on my GitHub account: Code for unit_testing
3. Using log in Python
Well, like anyone who start to develop, you are usually using a print command to figure out where is the problem or bug. Print debugging is deceptively quick and simple. But it often requires multiple iterations of rerunning the program before you display the information you need to know to fix your bug.
That is the reason why, I have decided to discover log in Python even so it is like “swatting flies with a sledge hammer” in my case, more commonly said overkill.
Using debugger or set up logfiles for your script might seem slower than simply inserting a print() call, but it saves you time in the long run according to all developpers.
You can grab the source for this post and some other resource on my GitHub account: Code for using_log_python
One for all, I certainly confuse several concepts such as productivity, automation or continuous improvement! All this with the childish desire to do the minimum! Well, I guess I am closer to a kaizen mindset where you improve on daily basis the way you work than the “throw-it-all-and-start-fresh” method. Never to late to learn. I will also think twice about this Peter Drucker’s sentence that I like: ” There is surely nothing quite so useless as doing with great efficiency what should not be done at all.”
- On github, some public repositories matching with voice-assistant
- streamlit_audio_recorder (Custom Component)
- Speech To Text On Client Side Using HTML5 and Streamlit Bokeh Events
- Speech to text Streamlit-app! 👄
- automatic-speech-recognition on huggingface.co
- Streamlit Demo: Real-Time Voice Cloning
- Using AI to make my own Smart Assistant App
- AssemblyAI by diegounzueta on github
- streamlit-player 0.1.5
- JELVIS – Just A Rather Very Intelligent System
- 10+ practical examples to learn python subprocess module
- How to Make Python Speak: An Interesting Experiment
- How to Execute a Shell Command in Python [Step-by-Step]
- Speech Recognition using Transformers in Python
- How to Convert Speech to Text in Python
- A Guide to Speech Recognition in Python: Everything You Should Know
- Easy Speech-to-Text with Python
- Streamlit App integrating Google Speech-To-Text API in Python
- Personal Voice Assistant in Python
- Python: Convert Speech to text and text to Speech
- Voice assistant with Python
- How to build your own Python Voice Assistant | thecodingpie
- Building A Simple Voice Assistant for Your Mac in Python
- Generating Parameterized Powerpoint Documents in Python and R
- Turn Your Excel Sheet into a PowerPoint Presentation in Just a Couple of Minutes
- Turn Your Excel Sheet into a PowerPoint Presentation in Just a Couple of Minutes
- How to Build an NLP Machine Learning App-End to End
- Python Unit Test
- Python Tutorial
- What is Python Unit Testing?
- Python Unit Testing
- Learning Notes