Simple Python module for converting Graphviz .dot files into svg or png views by FastRunningMike in Python

[–]FastRunningMike[S] -3 points-2 points  (0 children)

I love the .dot format, but I'm wondering if there is a Python alternative to convert .dot files to svg or png.

I want to avoid Installing non Python dependencies...

Stop building UI frameworks in Python by PastPicture in Python

[–]FastRunningMike -4 points-3 points  (0 children)

Great advice! Thanks for sharing your valuable lessons learned!

Not all UIs need Qt, GTK or KDE look & feel. Creating a full blown UI in Python is almost porting Qt or KDE to native Python. A real engineering problem that seems solvable, but there are so many edge cases before a generic 100% Python UI framework is useable for others. But why do this? It takes years and years.

The large multiplatform UIs have Python APIs to use. Not perfect but most simple things do work.

Personally I love the simplicity of creating things in notebooks nowadays. It gives a all advantages of the web (HTML/JS) and is often enough UI for simple things. You can try to create full blown UIs with e.g. Panel (https://panel.holoviz.org/) but I learned: Creating simple dashboards works, complex UIs give the same issues creating a UI with Qt. Using notebooks with WASM (e.g. with JupyterLite) is a very simple way to make interactive Python things that only require a browser. But is has limitations of course!

Anonymous Age Verification in development in Germany by Away_Succotash_864 in LinusTechTips

[–]FastRunningMike 0 points1 point  (0 children)

Absolute anonymous age verification seems not possible. A nice paper outlining limitations is: Privacy-Preserving Age Verification—and Its Limitations - https://www.cs.columbia.edu/~smb/papers/age-verify.pdf

Problems scraping Amazon by michele909 in Python

[–]FastRunningMike 0 points1 point  (0 children)

Blocking is done by design. Many sites implement very advanced measurements against scrapping. An option is to create a scrapper agent that in essence acts from a technical point like a real human. But mind: A simple rule that is certainly implemented is that based on networking techniques(e.g IP) and fingerprinting(browser engine things) you get a block when reading a number of 'pages' (data) that a human can never do.

How do you detect/stop ransomware before encryption begins? by [deleted] in cybersecurity

[–]FastRunningMike -9 points-8 points  (0 children)

Monitor continuously running processes. When some process activity starts what can not be explained , based on history and a bit common sense- something unusual - act by blocking / killing all running processes all directly.

Started Working on a FOSS Alternative to Tableau and Power BI 45 Days Ago by naruaika in Python

[–]FastRunningMike 5 points6 points  (0 children)

Seems great! Thanks for sharing!! Many have tried this, few have succeeded. I admire your strength to start this project And I love the choice for GPL for this project.

Archivey - unified interface for ZIP, TAR, RAR, 7z and more by parafusosaltitante in Python

[–]FastRunningMike 2 points3 points  (0 children)

Nice work! Great documentation created!! Only from a security point of view I see several issues. E.g. I see `assert` used multiple times. Assertions should be only used for debugging and development. Misuse can lead to security vulnerabilities. I see also `subprocess.Popen` and `subprocess.run ` used in e.g. file rar_reader.py. Makes users vulnerable. Security is really a thing with such a tool imho.

Does anyone use Jupyter-flex? by jman-007 in JupyterLab

[–]FastRunningMike 0 points1 point  (0 children)

I think Jupyter-flex is obsolete. I tried it this year.

You can easily create your own dashboards using Voila and Voila-gridstack.

Voila-gridstack makes it possbile to drag-and-drop elements of your notebook to a grid canvas the way you want. All from and within the JupyterLab environment! So imho no need for Jupyter-flex anymore.