Language Selection

English French German Italian Portuguese Spanish

Python Coding Leftovers

Filed under
Development
  • Python 101: Episode #36 – Creating Modules and Packages

    In this screencast, we will learn the basics of how to create our own module or package.

  • PyCoder’s Weekly: Issue #345 (Dec. 4, 2018)
  • Python Education Summit - in its 7th year in 2019

    Teachers, educators, and Pythonistas: come and share your projects, experiences, and tools of the trade in teaching coding and Python to your students. The Annual Python Education Summit is held at PyCon 2019, taking place on Thursday, May 2nd. Our call for proposals is open until January 3rd AoE, and we want to hear from you!

  • Using Pip in a Conda Environment

    Unfortunately, issues can arise when conda and pip are used together to create an environment, especially when the tools are used back-to-back multiple times, establishing a state that can be hard to reproduce. Most of these issues stem from that fact that conda, like other package managers, has limited abilities to control packages it did not install. Running conda after pip has the potential to overwrite and potentially break packages installed via pip. Similarly, pip may upgrade or remove a package which a conda-installed package requires. In some cases these breakages are cosmetic, where a few files are present that should have been removed, but in other cases the environment may evolve into an unusable state.

  • Type erasure and reification

    In this post I'd like to discuss the concepts of type erasure and reification in programming languages. I don't intend to dive very deeply into the specific rules of any particular language; rather, the post is going to present several simple examples in multiple languages, hoping to provide enough intuition and background for a more serious study, if necessary. As you'll see, the actual concepts are very simple and familiar. Deeper details of specific languages pertain more to the idiosyncrasies of those languages' semantics and implementations.

    Important note: in C++ there is a programming pattern called type erasure, which is quite distinct from what I'm trying to describe here [1]. I'll be using C++ examples here, but that's to demonstrate how the original concepts apply in C++. The programming pattern will be covered in a separate post.

More in Tux Machines

IBM-Red Hat "Merger" Update

  • Red Hat sets date for stockholders to vote on IBM merger
    Open source solutions provider Red Hat has set a special meeting on 16 January for stockholders to consider and vote on IBM's proposed acquisition of the company. On 28 October, IBM and Red hat announced an agreement and plan of merger which would see IBM acquire Red Hat for $190.00 per share in an all-cash transaction. "The board of directors of Red Hat recommends that stockholders vote in favour of the merger with IBM," the company said in a statement on 11 December.
  • IBM exec: Why buying Red Hat is better than partnership

Linux Foundation: ONAP, the Joint Development Foundation and the Cloud Native Computing Foundation (CNCF)

  • Linux Foundation's ONAP 'Casablanca' Enables 5G Management
    Today’s topics include the Linux Foundation adding new features to ONAP Casablanca for 5G enablement, and Censys raising seed money to expand internet scanning for threat hunting. The Linux Foundation's LF Networking project group last week took the next step in delivering an open-source platform to enable telecom providers to deploy next-generation network services.
  • The Joint Development Foundation Joins the Linux Foundation Family to Drive Adoption of Open Source and Standards
    The Linux Foundation and the Joint Development Foundation today announced an agreement to bring the Joint Development Foundation into the Linux Foundation family to make it easier to collaborate through both open source and standards development. The Joint Development Foundation is a nonprofit that provides a “standards organization in a box” to enable groups to quickly establish projects. With today’s news, the Linux Foundation and the Joint Development Foundation plan to provide greater capabilities for communities to engage in open source and standards development to speed industry adoption. “Linux Foundation communities have been engaged in developing open standards and specifications around Linux since day one and more recently with newer efforts such as OpenChain and the Open Container Initiative to collectively solve technical challenges,” said Jim Zemlin, Executive Director of the Linux Foundation. “Leveraging the capabilities of the Joint Development Foundation will enable us to provide open source projects with another path to standardization, driving greater industry adoption of standards and specifications to speed adoption.”
  • How CNCF Is Growing the Cloud Landscape at KubeCon
    Thousands of developers, vendors and end users alike are descending on Seattle from Dec. 11-13 for the KubeCon + CloudNativeCon North America event. They are all here to learn and talk about the growing cloud native landscape, anchored by the Kubernetes container orchestration system. Among those at KubeCon is Chris Aniszczyk, Chief Operating Officer of the Cloud Native Computing Foundation (CNCF). In a video interview with eWEEK, Aniszczyk provides insight into the KubeCon event as well as highlighting the current and future direction of the CNCF, which now hosts 31 different open-source efforts. [...] Aniszczyk is also particularly enthusiastic about the Envoy project, which was created by ride-sharing company Lyft and officially joined the CNCF in September 2017. Envoy is a service mesh reverse proxy technology that is used to help scale micro-services data traffic. Among the organizations that are now using Envoy are Square, Stripe, Amazon and Google.

today's howtos

Adobe and GNU/Linux