Jupyter Notebooks.

What are they and how do they work? In the past I made use of iPython, but while I have heard often how wonderful Jupyter notebooks are, as I start writing this page, I just do not 'grok' them. This page will evolves as my understanding does. As such, this page is for people new… Continue reading Jupyter Notebooks.

Covid-19: ‘Diary Alert’, Improved Track and Trace

Update 28 April: Germany to move from central database to 'diary alert' approach of distributed data on handsets for improved privacy protection. Many countries are considering making use of a contact tracking app to allow track and trace of Covid-19. There is an app that was initially developed in Singapore, based on detecting contacts through… Continue reading Covid-19: ‘Diary Alert’, Improved Track and Trace

With,Use,Apply,Also,Run,Let

The two that do not fit in the same group are the Python With and Kotlin Use. These functions are for using (or doing something with) a resource that should be released when the operation is complete. Kotlin Let, Apply, Run, Also, With (not to be confused with Python With), are all quite similar. Once… Continue reading With,Use,Apply,Also,Run,Let

Structure: Import, Dependencies & Repositories

Both Kotlin and Python use the keyword "import". At a superficial level, import performs a similar role in both languages, but the steps for each languages achieve what is required are very different. Examining how import works, explores the structure of Python and Kotlin program, and how they are constructed. Import relies on dependencies, and… Continue reading Structure: Import, Dependencies & Repositories

Namespaces, Modules & Packages

I found the wikipedia page on namespaces not very helpful, and in fact did not find a concise and clear explanation elsewhere, so hopeful this post provides a clear and concise explanation of the basics, before getting to the more advanced. Contents: Basicswhat is a namespace?runtime vs compile time namespacesglobal namespacesobject namespaces and "."function/method 'local'… Continue reading Namespaces, Modules & Packages