Language Selection

English French German Italian Portuguese Spanish

Programming Leftovers

Filed under
Development
  • Perl Weekly Challenge: Week #079: Count Set Bits & Trapped Rain Water

    I really enjoyed this week task. I had lots of fun working with the Trapped Rain Water task.

    This week, I was too busy with my $work, so couldn’t do either Swift coding or live video session. However I promise, I will catch up next week.

  • Add sound to your Python game

    Pygame provides an easy way to integrate sounds into your Python video game. Pygame's mixer module can play one or more sounds on command, and by mixing those sounds together, you can have, for instance, background music playing at the same time you hear the sounds of your hero collecting loot or jumping over enemies.

    It is easy to integrate the mixer module into an existing game, so—rather than giving you code samples showing you exactly where to put them—this article explains the four steps required to get sound in your application.

  • PyDev of the Week: William Cox

    This week we welcome William Cox as our PyDev of the Week. William is a data scientist who has spoken at a few Python conferences. He maintains a blog where you can catch up on what’s new with him

    [...]

    When I was 12 my dad dropped “Teach Yourself Perl in 21 Days” on my desk and said, “you should learn this.” It took me much longer than 21 days, but I’m glad he did that. I dabbled in several languages (PHP, Java, C) but spent many years in graduate school honing my MATLAB skills, due to its powerful plotting and data analysis capabilities. My first job was at a military contractor and they all used MATLAB. This was the early 10’s and Python was really taking off as the language of scientific computing so I was able to convince my boss that it was something I should be learning – he was especially attracted to how much money they could save over thir massive MATLAB bills. I got my 2nd job with my impressive iPython Notebook skills! It was, however, till I started my 2nd job that I finally started learning what it means to write software with a team. It’s a lot different than dabbling on your own.

  • Python Dictionary

    In this post, learn every thing about Python Dictionaries.

  • pkgKitten 0.2.0: Now with tinytest and new docs

    A new release 0.2.0 of pkgKitten just hit on CRAN today, or about eleven months after the previous release.

    This release brings support for tinytest by having pkgKitten::kitten() automagically call tinytest::puppy() if the latter package is installed (and the user did not opt out of calling it). So your newly created minimal package now also uses a wonderful yet tiny testing framework. We also added a new documentation site using the previously tweeted-about wrapper for Material for MkDocs I really dig. And last but not least we switched to BSPM-based Continued Integration (which I wrote about yesterday in R4 #30) and fixed one bug regarding the default NAMESPACE file.

More in Tux Machines

Shows/Videos: GNU/Linux News, ONLYOFFICE, LibreWolf, and AwesomeWM

Linux 5.10.8 Kernel Released - Finally Fixes That Btrfs Performance Regression

Linux 5.10.8 is out today as the latest stable release for the Linux 5.10 LTS series. Making this point release notable is that it finally addresses the 5.10 Btrfs performance regression. As noted back on Christmas, Linux 5.10 was seeing significant slowdowns on Btrfs. For simply unpacking a Linux kernel source .tar.zst file it could easily take multiple times longer on this stable kernel version. While patches for addressing this poor Btrfs behavior on Linux 5.10 were floating around since before the end of the year, it's taken until now to get them tested and queued up for mainline integration. Linux 5.11 meanwhile has a plethora of Btrfs improvements. Read more Also: Better Microsoft Surface Support Is On The Way With Linux 5.12

Youtubedl-gui: New Graphical YouTube Downloader based on Youtube-DL

Youtubedl-gui is a simple new graphical interface for the popular command-line YouTube downloader youtube-dl. The tool is quite simple to use, just paste the video URL, select audio quality and format, video resolution and format, and click download! And of course, there’s an option to change the destination folder of your downloads. Once you click download, a small dialog will pop up with the process bar. Read more

Android Leftovers