Profile cover photo
Profile photo
Steven Lott
209 followers -
It may be a hack, but it works.
It may be a hack, but it works.

209 followers
About
Posts

Post has attachment
Data Modeling Nightmare -- XML, HTML, and Markdown
Here's a particularly tangled and difficult problem. It arises because I have another blog. Specifically this: Team Red Cruising . And it's an unholy mess. There are two important features of the Team Red Cruising blog. It's managed with off-line editor(s) ...
Data Modeling Nightmare -- XML, HTML, and Markdown
Data Modeling Nightmare -- XML, HTML, and Markdown
slott-softwarearchitect.blogspot.com
Add a comment...

Post has attachment
Type Hinting Edge Case
Warning. I'm new to this. Yes, my book Functional Python Programming -- 2nd ed -- is full of type hints. But my examples are all (intentionally) relatively simple. There are edge cases that I do not pretend to understand. Here's a fun one. Start here Lazy P...
Add a comment...

Post has attachment
Should I use x.__len__() or len(x)?
In the context of providing type hints, someone had a function like this. def f(x: Sized) -> Whatever: ... And, since sized objects have a _len_() method it seemed sensible to use x.__len__() . It was a good question about the use of special methods. My a...
Add a comment...

Post has attachment
RESTful Web Services Design
This -- REST is the new SOAP -- has so many demolished strawman arguments that it feels like looking at a van Gogh painting of people harvesting wheat. I won't dive into listing all the strawmen. Most of my responses are approximately "How is that an actual...
Add a comment...

Post has attachment
Functional Python Programming 2e -- Now With Type Hints
Functional Python Programming, 2nd ed. This has been fun to cleanup some rambling, reset the math to be sure it's actually right. And. Type Hints . Almost every example has had type hints added. (And I raised the pylint scores be rearranging some spacing an...
Add a comment...

Post has attachment
Python Interviews -- Coming Soon from Packt
See https://www.packtpub.com/web-development/python-interviews I'm honored. I'll be studying what the other folks have to say in here. Being in the Python community means respecting other's views. And that means understanding them. This looks like fun becau...
Add a comment...

Post has attachment
Spec to Gherkin to Code: A Relay Play based on Swagger and OAS
Recent publications elsewhere: Spec to Gherkin to Code
Add a comment...

Post has attachment
The SQL-based relational database isn't perfection? Whoa if true
Yes, there are people for whom document databases (and the file system) are confusing and weird. I was sent this:  Relational Algebra Is the Root of SQL Problems which is really brilliant and provides some helpful concrete examples of stuff SQL is really ba...
Add a comment...

Post has attachment
I've decided on Windows -- Please help justify my choice
After many words, the email chain I received netted out to this: I can't teach myself data science on my crappy old Windows machine. I've decided to get a new Windows machine. Here are the specs. My response was a mixture of incredulity and bafflement. It a...
Add a comment...

Post has attachment
Code Rewrites and How They Create Value -- Stop Fighting Against It
TL;DR -- To remove doubts and questions, rewrite it. Many, many people are confronted with the request to maintain someone else's code. Either it's open source, and you have to make formal PR's visible to the world. Or it's "enterprise" in-house software, a...
Add a comment...
Wait while more posts are being loaded