Language Selection

English French German Italian Portuguese Spanish

Programming Leftovers

Filed under
Development
  • Release Candidate 3 is here
    Hello everyone,
    
    After some delay, the llvmorg-11.0.0-rc3 tag was just created.
    
    Source code and docs are available at
    https://prereleases.llvm.org/11.0.0/#rc3
    and
    https://github.com/llvm/llvm-project/releases/tag/llvmorg-11.0.0-rc3
    
    Pre-built binaries will be added as they become ready.
    
    Please file bug reports for any issues you find as blockers of
    https://llvm.org/pr46725
    
    Release testers: please start your engines, run the script, share your
    results, and upload binaries. And thank you very much for your help so
    far.
    
    There are currently no open release blockers, so unless anything new
    and bad comes up, this is what the final release will look like.
    
    Thanks,
    Hans
    
  • LLVM 11.0-RC3 Released For This Big LLVM/Clang Update

    LLVM 11.0 was originally scheduled to be released at the end of August while now it looks like that official milestone is coming in the next few days or week.

    Tagged today was LLVM 11.0-RC3 as the belated extra release candidate for this half-year update to the LLVM compiler infrastructure and subprojects like Clang, LLD, FLANG, and libcxx, among others.

  • Excellent Free Books to Learn D

    D is a general-purpose systems programming language with a C-like syntax that compiles to native code.

    It is statically typed and supports both automatic (garbage collected) and manual memory management.

    D programs are structured as modules that can be compiled separately and linked with external libraries to create native libraries or executables.

  • Crosspost: Nginx/Certbot Recipe

    Back in Februrary I posted an article in which I promised a follow up telling you how I now manage my certificates. We’ll all these months later I’ve finally published it to dev.to (to push its reach beyond just Perl) https://dev.to/joelaberger/no-magic-letsencrypt-certbot-and-nginx-configuration-recipe-3a97 .

  • wxPython by Example – Adding a Background Image (Video)

    In this tutorial, you will learn how to add an image to your panel so that you have a background image to put your widgets on.

  • PyCoder’s Weekly: Issue #439 (Sept. 22, 2020)

More in Tux Machines

Android Leftovers

The Most Innovative ~$50 Graphics Card For Linux Users

This ~$50 USD graphics card is open-source friendly, can drive four display outputs simultaneously, passively cooled, and can fit in a PCI Express x1 slot. It's a unique card offering good value especially for those Linux users wanting open-source friendly hardware. Earlier this year ASUS announced the GT710-4H-SL-2GD5. In the months since we didn't hear anything more about it given the pandemic but recently saw it became available via Internet retailers and picked one up for testing. Read more

Plasma on the Edge

You probably have heard the news by now that Microsoft have released the Linux version of their new Chromium-based Edge web browser. Of course I’ve been waiting for this day ever since they announced the switcheroo to Chromium in order to bring Plasma Browser Integration to Edge users. It took Microsoft almost two decades to offer another web browser to a Unixoid desktop and this time around it’s based on KDE’s legacy – what a time to be alive! You can already use Plasma Browser Integration just fine with Edge by installing it from the Chrome web store. Until Plasma 5.21 is out, however, it will only see it as yet another Chromium, meaning that KRunner, media controls, and so on might not map to the correct browser window or show only a generic icon. Read more

Python Programming

  • Webinar Recording: “virtualenv – a deep dive” with Bernat Gabor – PyCharm Blog | JetBrains

    PyCharm virtual environments are an important but challenging topic. We recently hosted Bernat Gabor to discuss this, as well as his rewrite of virtualenv, the hugely-popular command-line tool for creating virtual environment. The recording is now available. This was a very engaging webinar, with lots of questions, and many thanks to Bernat for taking the time to give thoughtful replies.

  • Python Morsels: The 2 Types of "Change" in Python

    The word "change" is ambiguous in Python: we have two distinct types of "change" in Python. We can "change" a variable by changing which object that variable is pointing to. We do that through an assignment statement. We can also "change" an actual object through a mutation. Let's take a look at both types of change.

  • Python: Slice Notation on String

    The term slicing in programming usually refers to obtaining a substring, sub-tuple, or sublist from a string, tuple, or list respectively. Python offers an array of straightforward ways to slice not only these three but any iterable. An iterable is, as the name suggests, any object that can be iterated over. In this article, we'll go over everything you need to know about Slicing Strings in Python.

  • R vs Python for Data Analysis — An Objective Comparison

    There are dozens articles out there that compare R vs. Python from a subjective, opinion-based perspective. Both Python and R are great options for data analysis, or any work in the data science field. But if your goal is to figure out which language is right for you, reading the opinion of someone else may not be helpful. One person's "easy" is another person's "hard," and vice versa. In this article, we're going to do something different. We'll take an objective look at how both languages handle everyday data science tasks so that you can look at them side-by-side, and see which one looks better for you. Keep in mind, you don't need to actually understand all of this code to make a judgment here! We'll give you R vs Python code snippets for each task — simply scan through the code and consider which one seems more "readable" to you. Read the explanations, and see if one language holds more appeal than the other.