Page 4 of 127 (2534 total posts)

January 2025

14-01-2025
Django vs. FastAPI, An Honest Comparison

Django vs. FastAPI, An Honest Comparison

Source: david-dahan.com

After many years of working with Django, I decided to take a closer and more serious look at FastAPI.
Extensively using both frameworks has helped me understand their actual strengths and weaknesses with greater accuracy.
More and more, I find it challenging to form a relevant opinion on tools I've never used. Reading documentation or blog posts like this one is not enough, as some things simply don't "click" in your mind until you experience them firsthand.

Notes:

Linked is a very useful article comparing FastAPI with Django. I’ve been a long-time Ruby on Rails developer, having developed a lot of expertise using that framework and genuinely loving it. However, for very practical reasons, I recently switched to Python. This article is highly instructive in explaining the pros and cons of Django versus FastAPI. But it leads me to an unexpected conclusion: neither Django nor fast API can truly fulfill my needs as much as Rails. Consequently, I’ve decided to stick to Ruby on Rails, even though I’ve switched to Python as my primary programming language!

Tags: compare review fastapi ruby-on-rails
14-01-2025
A guide to JAX for PyTorch developers | Google Cloud Blog

A guide to JAX for PyTorch developers | Google Cloud Blog

Source: cloud.google.com

PyTorch users can learn about JAX in this tutorial that connects JAX concepts to the PyTorch building blocks that they’re already familiar with.

Notes:

Linked is a very useful tutorial on the use of JAX. I am not an expert. I capture the link here mostly for my own future benefit.

Tags: python tutorial jax pytorch google
06-01-2025
When to use “raise from None” in Python

When to use “raise from None” in Python

Source: bugsink.com

Learn when and why to use Python's 'raise ... from None' to simplify stacktraces by hiding redundant exception context. Improve debugging clarity by focusing on the actual issue.

Notes:

Linked is a good article about raising exceptions in python. For me it also showed me some interesting “advanced” (or is it idiomatic) python.

Tags: python exception-handling raise debugging python-tips programming

December 2024

27-12-2024
RoboGrok University-Level Robotics Course and Parts Kit

RoboGrok University-Level Robotics Course and Parts Kit

Source: robogrok.com

RoboGrok is a complete hands-on university-level robotics course covering forward and inverse kinematics (Denavit-Hartenberg), sensors, computer vision (machine vision), Artificial Intelligence, and motion control.

Notes:

Linked is a comprehensive course in robotics. All free. Pretty well known and respected. Worth a look!

Tags: robotics robots ros education tutorial
27-12-2024
ghostty-org/ghostty: 👻 Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration.

ghostty-org/ghostty: 👻 Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration.

Source: github.com

👻 Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration. - ghostty-org/ghostty

Notes:

Linked is a new terminal emulator. What interests me is that it is said to be embeddable because it is distributed also as a library with well defined apis.

Tags: terminal emulator cross-platform gpu acceleration terminal-emulator
26-12-2024
RightTyper/RightTyper: A fast and efficient type assistant for Python, including tensor shape inference

RightTyper/RightTyper: A fast and efficient type assistant for Python, including tensor shape inference

Source: github.com

A fast and efficient type assistant for Python, including tensor shape inference - RightTyper/RightTyper

Notes:

Linked is Python RIghtTyper which sounds great... if it works. It will analyze the type hints in your python (if any) and offers to gerentate them for you. Something like that. Many ways in which that might not go right but I read a very positive overview of it!

Tags: python type-hints data-types type-inference library
20-12-2024
The Art of Enbugging

The Art of Enbugging

Source: media.pragprog.com

The Art of Enbugging URL: https://media.pragprog.com/articles/jan_03_enbug.pdf Type: document Domain: media.pragprog.com Notes: Linked is an amusing article about debugging and enbugging.

Notes:

Linked is an amusing article about debugging and enbugging.

Tags: programming debugging
14-12-2024
How to Calculate the Motor Torque for a Mobile Robot

How to Calculate the Motor Torque for a Mobile Robot

Source: wiki.dfrobot.com

This guide outlines how to calculate power parameters for a mobile robot and select an appropriate power system. We cover frictional and acceleration forces, wheel type, and motor parameters to design a direct-drive system with a brushless motor. With the rated voltage, speed, and torque of the motor, we calculate the required power and minimum battery capacity to power the robot successfully. This discussion is a valuable resource for designing or selecting a power system for an indoor, service-oriented mobile robot capable of carrying a payload of 20 kg and achieving a speed of 1.

Notes:

Linked is an article explaining how to calculate torque. But why? When choosing a motor for a robot, you need to calculate the torque required, which in turn depends on the weight of the robot, the diameter of the wheels, and other parameters.

Tags: robotics robot power motor
14-12-2024
marimo-team/marimo: A reactive notebook for Python — run reproducible experiments, execute as a script, deploy as an app, and version with git.

marimo-team/marimo: A reactive notebook for Python — run reproducible experiments, execute as a script, deploy as an app, and version with git.

Source: github.com

A reactive notebook for Python — run reproducible experiments, execute as a script, deploy as an app, and version with git. - marimo-team/marimo: A reactive notebook for Python — run reproducible ...

Notes:

An impressive "rewrite" of Jupyter Notebooks which has more logical "recalc" rules.

Tags: python notebook jupyter reactive
08-12-2024
Find Out Why Health Insurance Denied Your Claim

Find Out Why Health Insurance Denied Your Claim

Source: projects.propublica.org

You likely have the right to access records that explain why your insurer denied your claim or prior authorization request. Use ProPublica’s free tool to generate a letter requesting your claim file from your health insurance company.

Notes:

We all will get a claim rejected at some point. Sometimes not a very big deal, other times a huge deal. This web site is recommended as a tool to figure out what happened and how perhaps get the decision reversed.

Tags: health-insurance medical health health-records tool
04-12-2024
Random Nerd Tutorials | Learn ESP32, ESP8266, Arduino, and Raspberry Pi

Random Nerd Tutorials | Learn ESP32, ESP8266, Arduino, and Raspberry Pi

Source: randomnerdtutorials.com

Random Nerd Tutorials helps makers, hobbyists and engineers build electronics projects. We make projects with: ESP32, ESP8266, Arduino, Raspberry Pi, Home Automation and Internet of Things. If you want to learn electronics and programming, you're in the right place.

Notes:

I just came across the linked catalog of free tutorials. Looks like it could be very useful! Arduinos, Raspberry Pis, and more.

Tags: esp32 arduino tutorials

November 2024

30-11-2024
A Comprehensive Guide to Python Project Management and Packaging: Concepts Illustrated with uv – Part I – Reinforced Knowledge

A Comprehensive Guide to Python Project Management and Packaging: Concepts Illustrated with uv – Part I – Reinforced Knowledge

Source: reinforcedknowledge.com

A Comprehensive Guide to Python Project Management and Packaging: Concepts Illustrated with uv – Part I – Reinforced Knowledge URL: https://reinforcedknowledge.com/a-comprehensive-guide-to-python-project-management-and-packaging-concepts-illustrated-with-uv-part-i/ Type: article Domain: reinforcedknowledge.com Notes: Linked is a useful and comprehensive series about packaging in python. The fact that there are so many of these is evidence that, a) I am still confused about some of this, and b) the state of packaging in python is and remains a mess. I don’t know how we are going to get out of this?

Notes:

Linked is a useful and comprehensive series about packaging in python. The fact that there are so many of these is evidence that, a) I am still confused about some of this, and b) the state of packaging in python is and remains a mess. I don’t know how we are going to get out of this?

Tags: python python-package how-to explainer project-management