Desktop Notifications and EPIC DESIGN FAIL
I was asked to review code that -- well -- was evil.Not like "shabby" or "non-pythonic". Nothing so simple as that.We'll get to the evil in a moment. First, we have to suffer two horrible...
View ArticleLaTeX Mysteries and an algorithmicx thing I learned.
I've been an on-and-off user of LaTeX since the very, very beginning. Back in the dark days when the one laser printer that could render the images was in a closely-guarded secret location to prevent...
View ArticleStatic Site Blues
I have a very large, static site with 10+ years of stuff about my boat. Most of it is pretty boring. http://www.itmaybeahack.com/TeamRedCruising/I started with iWeb. It was very -- well -- 2000-ish...
View ArticlePelican and Static Web Content
In Static Site Blues I was wringing my hands over ways to convert a ton of content from a two different proprietary tools (the very old iWeb, and the merely old Sandvox) into something I could work...
View ArticleA LaTeX Thing I Did -- And A ToDo:
When writing about code in LaTeX, the essential strategy is to use an environment to format the code so it stands out from surrounding text. There are a few of these environments available as LaTeX...
View ArticleMy Shifting Understanding and A Terrible Design Mistake
I've been fascinated by Literate Programming forever. I have two utterly divergent takes on this.See https://github.com/slott56/PyLit-3 for one.See https://github.com/slott56/py-web-tool for...
View ArticleMassive Rework of Data Structures
As noted in My Shifting Understanding and A Terrible Design Mistake, I had a design that focused on serialization instead of proper modeling of the objects in question.Specifically, I didn't start with...
View ArticleRevised Understanding --> Revised Data Structures --> Revised Type Hints
My literate programming tool, pyWeb, has moved to version 3.1 -- supporting modern Python.Next up, version 3.2. This is a massive reworking of the data structures involved. The rework lets me use...
View ArticleThe Enterprise COBOL Conundrum
Enterprise COBOL is both a liability and an asset. There's tangible value hidden in the code.See https://github.com/slott56/looking-at-cobol I've tweaked the presentation a little. The essential...
View ArticleI've got a great Proof-of-Concept. How do I go forward with it?
This is the best part about Python -- you can build something quickly. And it really works.But. What are the next steps?While there are a *lot* of possibilities, I'm focused on an "enterprise work...
View ArticleBashing the Bash -- The shell is awful and what you can do about it
A presentation I did recently.https://github.com/slott56/bashing-the-bashFolks were polite and didn't have too many questions. I guess they fundamentally agreed: the shell is awful, we can use it for a...
View ArticleBooks! Books! Books!
First, there's Pivot to PythonA Guide for professionals and skilled beginnershttps://books.apple.com/us/book/pivot-to-python/id1586977675 I've recently updated this to fix some cosmetic problems with...
View ArticleTragedy Averted
I almost made a terrible blunder.See https://github.com/slott56/py-web-tool for some background. This is a "Literate Programming" tool. I started fooling around with this kind of thing back in '05...
View ArticleEnterprise Python -- Some initial thoughts
In the long run, I think there's a small book here. See 8 reasons Python will rule the enterprise — and 8 reasons it won’t | InfoWorld. The conclusion, "Teams need to migrate slowly into the future,...
View ArticleBooks! Books! More Channels!
I started with the Apple Books platform because it's an easy default for me. Pivot to PythonA Guide for professionals and skilled beginnershttps://books.apple.com/us/book/pivot-to-python/id1586977675...
View ArticleSome Functional Programming in Python material
This is bonus content for the forthcoming Functional Python Programming 3rd edition book. It didn't make it into the book because -- well -- it was just too much of the wrong kind of detail.See this...
View ArticleFighting Against Over-Engineering
I've been trying to help some folks who have a "search" algorithm that's slow. They know it's slow -- that's pretty obvious.They're -- unfortunately -- sure that asyncio will help. That's not an...
View ArticleGenerators as Stacks of Operations
See https://towardsdatascience.com/building-generator-pipelines-in-python-8931535792ff I'm delighted by this article. I was shown only the first, horrible, example. I think the idea was to push back on...
View ArticleTesting with PySpark
This isn't about details of pySpark. This is about the philosophy of testing when working with a large, complex framework, like pySpark, pandas, numpy, or whatever. BLUFUse data subsets. Write unit...
View ArticleFunctional Programming and Finite State Automata (FSA)
When I talk about functional programming in Python, folks like to look for place where functional programming isn't appropriate. They latch onto finite-state automata (FSA) because "state" of an...
View ArticleMy algorithm performs badly, do I need asyncio?
Real Question (somewhat abbreviated): "My algorithm performs badly, do I need asyncio?"Short answer: No.Long answer: Sigh. No. Do you need a slap upside the head?Here's how it plays out:Q: "We figured...
View ArticleOn Algorithm Design
Some background: FAERIE DUST™, Obstinate Idiocy, Obstinate Idiocy, Expanded, and even Permutations, Combinations and Frustrations. I want to set up algorithm design as the diametric opposite of...
View ArticleChristmas Book Offers
Apple BooksPivot to PythonA Guide for professionals and skilled beginnershttps://books.apple.com/us/book/pivot-to-python/id1586977675 I've recently updated this to fix some cosmetic problems with title...
View ArticleDZone's lack of a Python Zone
Check out DZone's Coding zone: https://dzone.com/coding. Hover over the "Coding" drop-down menu.Notice anything lacking?I'll give you a hint: Python.They have "Frameworks", "Java", "Javascript",...
View ArticleContent Moved
All of the content has been movedAnd reformatted.And lightly edited to clean up a few of the long-standing problems.Moved to https://slott56.github.io/.Nothing new will be posted here.All the new stuff...
View Article
More Pages to Explore .....