Language Selection

English French German Italian Portuguese Spanish

Python Programming Leftovers

Filed under
Development
  • PyDev of the Week: Tommy Falgout

    This week we welcome Tommy Falgout (@lastcoolname) as our PyDev of the Week! Tommy works on the Robo-Clippy project. You can see what else he is up to by checking out his website. Let’s take a few moments to get to know Tommy better!

    Can you tell us a little about yourself (hobbies, education, etc):

    I grew up in the bayous of Louisiana, and while everyone else was interested in 4-wheeling and hunting, I gravitated towards computers and spent hours on my Commodore 64. Early on, I knew what it meant to be an outcast.

    As I matured, my hobbies became numerous and varied, but all focused around my passion of building. For 5 years hosted and competed in Dallas/Fort Worth’s annual trebuchet competition: Slingfest, and was even featured on an episode of Dude Perfect on Nickelodeon as a Trebuchet expert (complete with my own IMDB page!). I also volunteer at a local Makerspace in Plano, TX (TheLab.ms), built a LEGO Robotic Clippy and competed in the Red Bull Soapbox Derby race. After a few exciting near-misses from bodily harm, I’ve settled down and recently taken up crochet and hobby electronics.

  • Weighted K-Means Clustering example - artificial countries

    One of fields where WKMC algorithm can be applied is demographics. Imagine a situation, in which you would like to see how people group or would group if all administation divisions or historical conflicts disappeared or ethnical, national or tribal identity would not matter? How would then people go about creating communities?

  • enum_switch: a enum-based switch thing for Python

    I am doing a series of videos (spanish only!) about "modern Python", showing the modern replacements for things that are ... dense in their original forms.

    So, I showed Poetry as an alternative to writing your setup.py and Click as a way to do things easier than argparse, and Pathlib instead of os.path and then I wanted to show Enums. Which are not so new since they have been there since Python 3.4 but I feel they are not used widely enough.

    And then I noticed that they help do a "safer" version of the classical Python version of C's switch / case where you can be sure of not leaving any values unhandled.

  • The Best Resources for Developers to Learn Finance

    Software developers should understand the basics of finance not only to manage their own money but also to understand how businesses' software projects are funded.

    Understanding how other people who work in accounting, finance and project management think about business and finance in particular can help you make better architectural decisions when trying to build maintainable systems. Code is only one aspect of a large software project so working with others and viewing the world through their discipline will help you immensely as you advance your career.

  • Global variables in python

    In Python, there has only an object data type for all global variables. No matter that is a string or number, a python programmer does not need to declare the data type of that variable before using it because each variable in Python is an object variable.

  • How to build a CSS pre-processor (like SASS) from scratch

    If you are in web development, maybe you've heard of Sass, Less, Pug, Stylus etc. All these are pre-processors. In this tutorial we're going to build nothing less than a functional css pre-processor from scratch with variables and functions. This type of new language is called source-to-source compiled. If you are thrilled, i hope not to disappoint you.

More in Tux Machines

Stable Kernels: 5.10.10, 5.4.92, 4.19.170, 4.14.217, 4.9.253 , and 4.4.253

I'm announcing the release of the 5.10.10 kernel.

All users of the 5.10 kernel series must upgrade.

The updated 5.10.y git tree can be found at:
	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.10.y
and can be browsed at the normal kernel.org git web browser:
	https://git.kernel.org/?p=linux/kernel/git/stable/linux-s...

thanks,

greg k-h
Read more Also: Linux 5.4.92 Linux 4.19.170 Linux 4.14.217 Linux 4.9.253 Linux 4.4.253

The 10 Best GNOME Based Linux Distributions To Check Out in 2021

If you have ever used Linux, then there is no chance that you didn’t hear about GNOME. GNOME is one of the best user-friendly and open source desktop environments based on Linux. It started its journey in 1997 by Miguel de Icaza and Federico Mena. But it is still popular among Linux lovers for its features. As a result, a bunch of distributions uses GNOME as their default desktop environment. Among them, Fedora, Ubuntu, Arch Linux are known as the best GNOME based Linux distribution. Moreover, this magnificent desktop environment comes with many features. For instance, a better web experience, GNOME map, application grid, and many more. Read more

$1 PinePhone pogo pin breakout board lets you connect add-ons without removing the back cover

There are a lot of things that make the PinePhone different than most smartphones. It’s designed to run GNU/Linux-based operating systems. It has physical switches that can disable the camera, mic, and wireless features. And it has a set of pogo pins that make it possible to connect add-ons like a keyboard, fingerprint reader, or thermal camera to extend the functionality of the phone The only problem is that you have to pop off the back cover to access those pogo pins, so many of the official and unofficial PinePhone mods that take advantage of the pins are designed to either replace the cover with a new one or cut a hole in the existing cover. Read more

Best mathematics packages for Linux in 2021

Why would you want to do mathematics on Linux? Isn't mathematics over when you leave school? No! Maths is fun. You may also have forgotten much of what you should have learned in school. With the packages in this roundup we’ll show which you should choose for what purpose. While you can use all the packages here for learning, there are two in particular that are much better at teaching, rather than giving you results for some project. You will see that you can even control a drone with the help of mathematics. Read more