Quantcast
Channel: S.Lott-Software Architect
Browsing latest articles
Browse All 25 View Live

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 Article



LaTeX 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 Article

Static 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 Article

Pelican 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 Article

A 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 Article


My 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 Article

Massive 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 Article

Revised 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 Article


The 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 Article


I'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 Article

Bashing 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 Article

Books! 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 Article

Tragedy 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 Article


Enterprise 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 Article

Books! 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 Article


Some 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 Article

Fighting 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 Article


Generators 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 Article

Testing 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 Article

Image may be NSFW.
Clik here to view.

Functional 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 Article

My 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 Article


On 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 Article


Christmas 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 Article

DZone'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 Article

Content 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

Browsing latest articles
Browse All 25 View Live




Latest Images