Skip to content

Index

LearnDjango | LearnDjango.com

Link: LearnDjango | LearnDjango.com: "Learn web development with Python and the Django Web Framework. Tutorials on Django REST Framework, Docker, React, and Vue."

Linked is a good review of Python Flask and Django. I came from a Ruby world, that’s like comparing Sinatra to Rails. Very different and very related.

Python Protocols: Leveraging Structural Subtyping – Real Python

Link: Python Protocols: Leveraging Structural Subtyping – Real Python: "In this tutorial, you'll learn about Python's protocols and how they can help you get the most out of using Python's type hint system and static type checkers."

I didn’t understand Protocols in Python. Linked is an excellent tutorial that explains not just Protocols, but also contrasts them with duck typing, abstract base classes, talks about use cases and non-use cases. It’s an advanced tutorial.

A few words on Ruby's type annotations state

Link: A few words on Ruby's type annotations state: "…that were written in a military training camp and accidentally grew to 5k words"

Linked is a deep article about type hints in Ruby. When I say deep, I mean it! Requires an in depth understanding to appreciate or follow. And it illustrates how incredibly tough it is to add a major new low level feature to Ruby or any other mature language.

Annotated area charts with plotnine | Nicola Rennie

Link: Annotated area charts with plotnine | Nicola Rennie: "The plotnine visualisation library brings the Grammar of Graphics to Python. This blog post walks through the process of creating a customised, annotated area chart of coal production data."

Linked is an article about plotline, a python graphing package that I was not familiar with. Along the way the example shows how to take your raw data and extract from it the various series you will need building the graph. Excellent examples. But I wonder what gap this new package was filling among the multiple existing, popular and excellent graphing packages.

Exercise: Minesweeper in 100 lines of clean Ruby

Link: Exercise: Minesweeper in 100 lines of clean Ruby: "Ruby is such an expressive language. You can often do surprisingly much with just a few lines of code. It’s why I find it so satisfying to think about how to accomplish the same thing in fewer lines of Ruby1. If we accept the claim that that number of bugs correlates with number of lines of code this is not just a fun exercise. There’s real business value in accomplishing a feature with less lines of code. ↩"

Reading well written, idiomatic code is the best way to improve your code. Linked is a nice example.

Mastering Ruby Code Navigation: Major Ruby LSP Enhancements in the First Half of 2024

Link: Mastering Ruby Code Navigation: Major Ruby LSP Enhancements in the First Half of 2024: "In the first half of 2024, Ruby LSP has seen significant enhancements, particularly in the area of code navigation, thanks to the advancement of its indexer. In this post, we’ll dive into the major code navigation enhancements that have been made to Ruby LSP. We’ll also touch on some experimental features that are on the horizon."

Linked is a comprehensive explanation of the Ruby LSP. RUBY,I had to look up what the P stood for. Actually the correct usage is either “LSP server” because LSP stands for “Language server protocol”… or just language server. Maybe the name LSP is morphing from a pure acronym to just the name of the feature, detached from the initials. Yes programmers are so pedantic, don’t you agree?

Understanding Hash Value Omission in Ruby

Link: Understanding Hash Value Omission in Ruby: "Learn about hash value omission in Ruby, their benefits, examples, and implementation guidelines for more concise code"

Linked is an article about a feature in Ruby that I didn’t know about. I still think Ruby is superior to python in many ways. Unfortunately circumstances and “the world” and “time” has gotten me leaning more and more into python. Still when I next need to create a web based app, I can’t see using Django over rails.

The biggest-ever global outage: lessons for software engineers

Link: The biggest-ever global outage: lessons for software engineers: "Cybersecurity vendor CrowdStrike shipped a routine rule definition change to all customers, and chaos followed as 8.5M machines crashed, worldwide. There are plenty of learnings for developers."

Linked is a great analysis of what might have gone wrong to cause the crowdstrike global outage of windows computers. Also software engineering and operations techniques and principles which could have avoided the terrible event.

Hypernatural

Link: Hypernatural: "Amazing ai generated videos"

Linked is a service that generates quite respectable short promotional videos. I tried it on the syllabus to my course and it created something fairly amazing. I mean it’s still obviously ai generated. After your amazement subsides you may still not want to use it but it’s worth checking out. Maybe if you have to generate many short videos. It’s definitely worth checking out.