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
- 1654 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
reTerminal – A Raspberry Pi CM4 based 5-inch HMI Terminal
Seeed Studio has just unveiled reTerminal HMI terminal that reminds me of the company’s Wio Terminal based on Microchip SAMD51 Arm Cortex-M4F microcontroller with a 2.4-inch display.
But as we’ll look into the details, reTerminal is quite a different beast as a Linux-capable device powered by a Raspberry Pi CM4 module with up to 8GB RAM, equipped with a 5-inch capacitive touchscreen display, and supporting plenty of connectivity options from GIgabit Ethernet to WiFi to LoRaWAN.
| today's howtos
|
Star Labs Launches Coreboot Configurator for Its Linux Laptops
After many months of hard work, last month, Star Labs finally added support for installing the Coreboot open-source firmware in its Star LabTop Mk IV and Star LabTop Mk III Linux laptops, giving users faster boot times and a more secure boot experience where they have full control over their hardware.
Today, Star Labs announced a new version of Coreboot that fixes various bugs, along with Coreboot Configurator, a new app that lets owners of its Linux-powered laptops to change various settings of the Coreboot open-source firmware via the nvramtool command-line utility.
| Proxmox Backup Server 1.1
We are happy to announce version 1.1 of Proxmox Backup Server! The enterprise backup solution for backing up and restoring VMs, containers, and physical hosts seamlessly integrates into the virtualization management platform Proxmox Virtual Environment, allowing users to simply add a server as a new storage target.
|
Recent comments
1 min ago
19 min 24 sec ago
44 min 54 sec ago
2 hours 19 min ago
9 hours 36 min ago
9 hours 38 min ago
17 hours 26 min ago
17 hours 47 min ago
18 hours 53 min ago
19 hours 24 min ago