Language Selection

English French German Italian Portuguese Spanish

Python Programming Leftovers

Filed under
Development
  • Build Physical Projects With Python on the Raspberry Pi

    The Raspberry Pi is one of the leading physical computing boards on the market. From hobbyists building DIY projects to students learning to program for the first time, people use the Raspberry Pi every day to interact with the world around them. Python comes built in on the Raspberry Pi, so you can take your skills and start building your own Raspberry Pi projects today.

    [...]

    The Raspberry Pi is a single-board computer developed by the Raspberry Pi Foundation, a UK-based charity organization. Originally designed to provide young people with an affordable computing option to learn how to program, it has developed a massive following in the maker and DIY communities because of its compact size, full Linux environment, and general-purpose input–output (GPIO) pins.

  • The Python Language Summit 2020

    For the second year in a row, I was invited to report on the Python Language Summit. It’s a private gathering of Python language implementers (both the core developers of CPython and alternative Pythons), plus third-party library authors and other Python community members. This year, the Summit was held over two days by videoconference. I’m no longer mainly a Python programmer, but it’s still exciting to hear new ideas for the language. The core developers’ decisions affect millions of programmers; it’s a privilege to be in the room where it happens.

  • PyDev of the Week: Seth Michael Larson

    This week we welcome Seth Michael Larson (@sethmlarson) as our PyDev of the Week! Seth is the lead maintainer of urllib3. He also writes a Python blog.

    [...]

    My first introduction to Python was in my “intro to CS” class at university. I fell in love with the simplicity of the language and the Open Source community. I’d known some programming before
    going to university so it wasn’t my first programming language but I really enjoyed what Python had to offer.

    I remember getting excited by how straightforward sockets and network programming were in Python compared to C or C++, that was definitely a feature that grabbed my attention.

  • Tryton News: Newsletter June 2020

    Since release 5.6 development has restarted, with the first changes already landing in the development branch.

    Our demo servers now no longer require authentication. This helps keep the shared servers accessible to everyone (we often found that people would change the passwords and lock everyone else out).

  • Use FastAPI to build web services in Python

    FastAPI is a modern Python web framework that leverage the latest Python improvement in asyncio. In this article you will see how to set up a container based development environment and implement a small web service with FastAPI.

More in Tux Machines

Purism Announces Librem 14 Security Focused Linux Laptop to "protect your digital life".

Purism Launches Librem 14 Security-Focused Linux Laptop with a hardware kill switch for webcam, microphone, and WiFi. Read more

Slackel 7.3 Mate beta1

Slackel 7.3 Mate beta1 has been released. Slackel is based on Slackware and Salix. Includes the Linux kernel 5.4.50, Mate-1.22.1 and latest updates from Slackware's 'Current' tree. Added support to do a real installation to an external usb stick or usb ssd or usb hard disk. Read more

today's leftovers

  • Ransomware Operators Demand $14 Million From Power Company [iophk: Windows TCO]

    Available under the RaaS (Ransomware-as-a-Service) model, Sodinokibi is operated by a threat actor likely affiliated to “Pinchy Spider,” the group behind the GandCrab ransomware.

    While investigating the malware itself, AppGate discovered that it includes functionality to escalate privileges by leveraging 32-bit and 64-bit exploits for the CVE-2018-8453 vulnerability in the Win32k component of Windows.

  • MedSeg: AI(Artificial Intelligence)-based Free Online Segmentation Tool for Radiological Images

    The project is built with HTML5/ JavaScript and uses TensorFlow.js for AI. It's deployed currently on Amazon Web Services (AWS). The developers uses several open-source libraries and packages most of them are battle tested in enterprise projects here is a list of them included resources that helped in creating this project, we are really proud in Medevel to see it's listed there... [....] MedSeg is a free, openly available segmentation tool that requires little training and no prior set-up to start using. You may manually segment your images or take advantage of their developed AI-models to ease the segmentation process of your interest. MedSeg may also contribute in your own segmentation work by developing further AI-models for your need.

  • Databricks Contributes MLflow Machine Learning Platform to The Linux Foundation

    Databricks, the company behind big data processing and analytics engine Apache Spark, contributes open source machine learning platform MLflow to The Linux Foundation. The announcement was made by Matei Zaharia, the creator of Apache Spark and MLflow projects, in his keynote presentation at the recent Spark AI Summit 2020 Conference which was held as a global virtual event. MLflow was created to help data scientists and developers with the complex process of ML model development which typically includes the steps to build, train, tune, deploy, and manage machine learning models. It manages the entire ML lifecycle, from data preparation to production deployment, including experiment tracking, packaging code into reproducible runs, and model sharing and collaboration, and is designed to work with any ML library.

  • Open Source FinOps Foundation Brings New Focus to Cloud Costs
  • Firefox 80 To Support VA-API Acceleration On X11

    While recent Firefox releases have seen VA-API video acceleration working when running natively under Wayland, the Firefox 80 release later this summer will bring VA-API support by default to those running on a conventional X.Org Server. The bits are now landed that VA-API support within Mozilla's Firefox web browser should be working fine on X11.

  • Vulkan 1.2.146 Released With DirectFB Support, Extended Fragment Density Map

    The Khronos Group is celebrating the US Independence Day with the release of a new Vulkan spec. Vulkan 1.2.146 is out today with many documentation corrections/clarifications along with two new extensions.

Programming Leftovers

  • RasPi: New keyboards for Portugal, Norway, Sweden, and Denmark
  • Heap Data Structure Tutorial

    Data is a set of values. Data can be collected and put in a row, or in a column, or in a table or in the form of a tree. The structure of data is not only the placement of data in any of these forms. In computing, the data structure is any of these formats, plus the relationship among the values, plus the operations (functions) perform on the values. You should already have basic knowledge on tree data structure before coming here, as the concepts there, will be used here with little or no explanation.

  • Perl Weekly Challenge 67: Number Combinations and Letter Phone

    Perl does not have a built-in combinations function, but there are several modules (for example Math::Combinatorics) providing the functionality. However, this being a coding challenge, I don’t want to use a third-party ready-made solution and prefer to show a way to do it yourself. If we knew in advance how many items we want in each combination, nested loops might be the best solution. But if we want to be flexible about the number of items in each combination, then it is often simpler to use a recursive approach. Here, the combinations subroutine is recursive and is called once for every item wanted in the combination.

  • Lucky Number Per7

    I swear it was Perl 5 just a moment ago. I turned my back for all of 5 minutes ... I don't need the new features, but I don't like boilerplate and I'm happy to accommodate those who seek progress. Harking back to lessons from the past, SysAdmins of a certain age may remember the venerable a2p program for converting awk scripts to perl and the horrendous (but working) code that it produced. We had one of those running in production less than 2 years ago until I finally decided to re-write it in Modern Perl. A bit like moving house, as a community we need to face the pain every so often and address the risks and ptifalls, not as reasons to keep to the status quo, but as a checklist of problems to be solved.

  • Episode #271: Unlock the mysteries of time, Python's datetime that is!

    Time is a simple thing, right? And working with it in Python is great. You just import datetime and then (somewhat oddly) use the datetime class from that module. Oh except, there are times with timezones, and times without. And why is there a total_seconds() but not total_minutes(), hours() or days() on timedelta? How about computing the number of weeks? What if you wanted to iterate over the next 22 workdays, skipping weekends? Ok, we'd better talk about time in Python! Good thing Paul Ganssle is here. He's a core developer who controls time in CPython.

  • GSoC’20 First Evaluation

    In the last blog, I wrote about my first two weeks on the GSoC period. In this blog, I would write about the activities to which I have worked further and implemented multiple datasets. [...] Why multiple datasets to GCompris activities? As previously all of the activities were having a generalized dataset so for some of the age groups as for 3-5 yrs the activity seems quite difficult to play, and also for some of the age groups the activity seems to be quite easy. So, multiple datasets help in resolving this issue and we have multiple data for various age groups and all the activities can be more adaptive for the children.