Programming Leftovers
-
Fedora Magazine: How to use Poetry to manage your Python projects on Fedora
Python developers often create a new virtual environment to separate project dependencies and then manage them with tools such as pip, pipenv, etc. Poetry is a tool for simplifying dependency management and packaging in Python. This post will show you how to use Poetry to manage your Python projects on Fedora.
Unlike other tools, Poetry uses only a single configuration file for dependency management, packaging, and publishing. This eliminates the need for different files such as Pipfile, MANIFEST.in, setup.py, etc. It is also faster than using multiple tools.
Detailed below is a brief overview of commands used when getting started with Poetry.
-
Rakudo Weekly News: 2021.10 Automated Star
Patrick Spek has announced the release of the Rakudo Star 2021.02.1 package (based on the 2021.02.1 Rakudo Compiler release). This is the first time this has happened using a Github Action workflow. Binary releases are not yet available: like everything in the Raku Programming Language, it is the work of volunteers. To create MacOS and Windows installable packages, a volunteer is needed to create the Github Actions workflow for MacOS and/or Windows! The advantage being that this way, you would only need to do this once instead of for each release! So please, stand up if you have the know-how and time to do it!
-
Git Reset to Remote Head – How to Reset a Remote Branch to Origin
Branching is a core concept in Git. It can help you set up a distributed workflow for team collaboration and makes your development process more efficient.
When you're using version control and you're distributing features across branches, there's a lot of communication between your local computer and your online repository on GitHub. During this process, you might need to reset back to the project's original copy.
If resetting a branch scares you, then don't worry – this article will introduce you to remote branches, remote head, and how you can easily reset a remote branch to remote head.
-
Sparse Arrays vs Dense Arrays in JavaScript — Explained with Examples
I had a really interesting bug recently that, at first glance, completely stumped me.
-
Ravgeet Dhillon: Turn a Google Sheet into a REST API
What if we can use our Google Sheets as a CMS? What if we want the data in our Google Sheet to be publicly available. This can be done easily using Google Sheets and Google Apps Script. In this blog, we will take a look at how we can convert a Google Sheet into a REST API and access it publicly from any app we want.
[...]
Let us send a GET request to our published Web App using Postman. The path for the GET request would be our Web App’s URL and query parameter path set to our Google Sheet’s name.
-
Use Scheme functional programming language with LambdaChip Alonzo STM32 board
Most MCU-based embedded systems come with firmware programmed with assembler, C, and/or C++. But as referenced in a paper published in 2000 entitled ” Point of view: Lisp as an alternative to Java“, functional programming languages like Lisp or Scheme may lead to shorter development times compared to C/C++ or Java.
That’s with this idea in mind that LambdaChip was created. It is a lightweight, open-source virtual machine designed to run on embedded systems with limited resources, for instance, an 80MHz microcontroller with 50KB RAM, and programmable with Scheme multi-paradigm programming language, a dialect of Lisp widely used for functional programming research and teaching.
The company behind the project, also called LambdaChip, has just created its own hardware with LambdaChip Alonzo, an STM32 Cortex-M4 development board with 512KB flash, 128KB RAM, and that also comes with Bluetooth LE connectivity.
-
What’s coming in Java 16
Java 16 is scheduled to be released on March 16. Here is a look at what changes you can expect in the release.
JEP 338: Vector API (Incubator)
This Java Enhancement Proposal (JEP) will provide an initial iteration of an incubator module that can express vector calculations that are compiled at runtime. This module will be clear and concise, platform agnostic, have reliable runtime compilation and performance on x64 and AArch64 architectures, and offer graceful degradation when a vector computation cannot be fully expressed, the OpenJDK team explained. -
10 questions for modernizing your old Java applications
I recently open sourced an application modernization sample, which demonstrates how to modernize an old (2010) Java EE application to become a modern (2021) cloud-native application.
- Login or register to post comments
- Printer-friendly version
- 2141 reads
- PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
digiKam 7.7.0 is releasedAfter three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. |
Dilution and Misuse of the "Linux" Brand
|
Samsung, Red Hat to Work on Linux Drivers for Future TechThe metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. |
today's howtos
|
Recent comments
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago