Page 5 of 128 (2551 total posts)

January 2025

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
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
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
24-11-2024
1969: Can You Land on The Moon? • A Python turtle Lunar Lander

1969: Can You Land on The Moon? • A Python turtle Lunar Lander

Source: open.substack.com

Revisiting one of my favourite projects: a lunar lander using, yes, the one and only turtle module

Notes:

Linked is an article about the “turtle” Python package. It’s a simple and elegant API for creating simple visual animations, simulations and/or games. I had never come across it before and it looks like a good addition to my toolkit.

Tags: python tutorial graphics python-turtle game
18-11-2024
Ronynn's Blog Overthinking Analytically - Game Development, Tech, Productivity & Writing

Ronynn's Blog Overthinking Analytically - Game Development, Tech, Productivity & Writing

Source: ronynn.github.io

Explore Ronynn's insights on game development, tech, productivity, and writing.

Notes:

Attached is an article that is guaranteed to be clickbait for my people. Certainly for me! I use both Ruby and Python. Lately more python because the stuff I am working on uses Python. And let’s face it Python is, generally speaking, a more mainstream language. I don’t find the arguments made in…

Tags: ruby python programming-language programming compare