Language Selection

English French German Italian Portuguese Spanish

Programming Leftovers

Filed under
Development
  • Felix Häcker: #21 Software Cleanup

    Update on what happened across the GNOME project in the week from November 26 to December 03.

  • Haskell mortgage calculator

    A few months ago I was trying to compare two mortgage offers, and ended up writing a small mortgage calculator to help me. Both mortgages were fixed-term for the same time period (5 years). One of the mortgages had a lower rate than the other, but much higher arrangement fees.

    A broker recommended the mortgage with the higher rate but lower fee, on an affordability basis for the fixed term: over all, we would spend less money within the fixed term on that deal than the other. (I thought) this left one bit of information missing: what remaining balance would there be at the end of the term?

  • Best Programming Languages for Web Development

    Choosing the best programming language for your web development project is a critical task. An excellent choice facilitates rapid project development and helps your development team integrate essential features with lesser efforts.

    While there are many different programming languages, the most common ones used in web development are JavaScript, HTML, CSS, PHP, etc. JavaScript has a popularity of nearly 65% among developers worldwide, as per Statista.

    Do you know which programming languages are preferred by developers worldwide?

  • AMD AMF SDK 1.4.23 Brings Main 10 HEVC Encode, Auto LTR Encoder Mode - Phoronix

    AMD on Friday published a new version of their Advanced Media Framework "AMF" software development kit that enhances the multimedia processing capabilities for Radeon hardware.

    AMD AMF continues to support both Windows and Linux and supporting interoperability with multiple APIs including DirectX, Vulkan, OpenGL, and OpenCL. As the first AMF update since this summer, AMF 1.4.23 is rather noteworthy in now adding an Auto LTR encoder mode as well as Main 10 HEVC encoder profile.

  • Kioxia adds sophisticated admin tools and wider support to KumoScale – Blocks and Files

    The v3.19 KumoScale software also supports the Ubuntu distribution of Linux, the latest Kubernetes CSI version, and adds CSI and Ansible support of snapshot and clone functionality.

  • Dirk Eddelbuettel: RcppAPT 0.0.8: Package Maintenance

    A new version of the RcppAPT package interfacing from R to the C++ library behind the awesome apt, apt-get, apt-cache, … commands and their cache powering Debian, Ubuntu and the like arrived on CRAN earlier today.

    RcppAPT allows you to query the (Debian or Ubuntu) package dependency graph at will, with build-dependencies (if you have deb-src entries), reverse dependencies, and all other goodies. See the vignette and examples for illustrations.

    This release updates some package metadata, adds a new package testing helper, and, just like digest three days ago, drat two days ago, and littler yesterday, we converted the vignettes from using the minidown package to the (fairly new) simplermarkdown package which is so much more appropriate for our use of the minimal water.css style.

  • Writing a SNES assembler compiler/disassembler - Day 2 | Sylvain Colinet [blogs.perl.org]

    This will be very short even if that take me a lot of time to figure this part.

    In my ASM65816Grammar.rakumod I manually wrote the Number and Addressing grammar but obiously for the instructions it's not really possible.

More in Tux Machines

Review: UBports on the PinePhone

At the end of 2021 I posted a review about the PinePhone and what it was like running the device's default operating system: Manjaro Linux featuring the Plasma Mobile interface. While I've had decent experiences with Plasma Mobile in the past, the combination of Manjaro, the PinePhone, and this interface left a lot to be desired. It was slow, it was unstable, and there were issues with the battery charge indicator. To make matters worse, the default applications were not polished or well named. It was a rough experience and, though I can see where there is hope for Manjaro on the PinePhone, I was eager to try something different. In the past I have had mostly good experiences with the UBports distribution. UBports is a community project which has continued Canonical's Ubuntu Touch operating system for smart phones and tablets. Since I've run UBports on devices which didn't have any more memory or processing power than the PinePhone, I was optimistic about trying out the PinePhone with this alternative distribution. Read more

Switching from OpenNTPd to Chrony

A friend recently reminded me of the existence of chrony, a "versatile implementation of the Network Time Protocol (NTP)". Read more

today's howtos

  • How to Enable MySQL/MariaDB Query Logging

    In this short and easy to follow guide, we cover how to enable MySQL/MariaDB query logging and save queries to a file. When using a database, it often happens that developers want to know what’s going on behind the scene. Whether it is for troubleshooting, performance tuning, or out of sheer curiosity. General query logs remain one of the most popular sources of auditing and diagnostic information in MySQL/MariaDB databases. After logging is enabled, the database server will write information to the log file when clients connect or disconnect, and it will log each SQL statement.

  • How to install Zotero on Ubuntu 22.04 or 20.04 LTS - Linux Shout

    Zotero is a reference management system and academic network, here we learn the steps to install Zotero in Linux such as Ubuntu 22.04 Jammy JellyFish or Ubuntu 20.04 Focal Fossa. Zotero is an open-source and free tool that helps in collecting, organizing, citing, and sharing research. It consists of two components: Zotero standalone (Mac, Windows, Linux) with a plugin for Firefox, Google Chrome, and Safari; Zotero web application: computer-independent access to your library, finding and setting up groups on specific topics (see collaboration), making contacts with others. The two components of this tool can be synchronized with each other. If you are often involved in extensive projects at work or have to write a large-scale work during your studies, you quickly lose track of the sources used. With Zotero, you keep all information together and create a clear library for your project without much effort. It is particularly suitable for literature research on the Internet and the direct transfer of the researched data and works in groups that want to manage literature together.

  • How to Copy Directory in Linux: (Beginner to Advance)

    While working in several operating systems, we use to add files and folders, cut, copy, edit and delete them as per our choice. Just like all these, the Linux system provides us the opportunity to copy a single folder to another folder even though the folder is empty or not. Therefore, we will discuss some easy methods to copy one directory to another in Ubuntu 20.04 system. Let’s have a fresh start by using the different ways to copy a directory from one place to another in Linux. For this particular purpose, we must open up the terminal shell as we are going to do all things in it. There are two ways to open it. One is from the activity search area and the other is the shortcut key “Ctrl+Alt+T”. Practice one of the mentioned methods to open it and start implementing the commands in it one by one.

  • How to Change Default Torrent Client for Magnet Links in Ubuntu 20.04+ | UbuntuHandbook

    When clicking a magnet link in Chrome browser, it pops-up with “Open xdg-open” option allows to launch the default app to start the downloading. Unlike Firefox, Google Chrome does not offer an option to choose which app to handle the link. Instead, it launches the default app directly. For those want to change this default app to handle magnet links, here’s how to do the trick in Ubuntu.

  • How to install Microsoft Fonts on Elementary OS 6.0 - Invidious
  • How to install VCV Rack 2 on a Chromebook

    Today we are looking at how to install VCV Rack 2 on a Chromebook. Please follow the video/audio guide as a tutorial where we explain the process step by step and use the commands below.

  • How to Install Papirus Icon Theme on Ubuntu - OMG! Ubuntu!

    Changing the icon theme on Ubuntu is an easy way to give your desktop a new look and feel. In this post we show you how to install Papirus icons on Ubuntu from a PPA. Why use the Papirus icon set? Because it’s good — in fact, it’s one of the best icon themes for Ubuntu not to mention other Linux distros like Linux Mint, Zorin OS, and Manjaro. Thousands of users use this set, and several Linux distributions ship it as their default.

  • Exploring GIT Commit Hashes & Generating Cryptographic Zeros – Jon's FOSS Blog

    So I was trying to research what goes into generating a GIT commit hash and I thought I would try to personalize the cryptographic hash output a little bit. My computer isn’t that powerful but it may be possible to generate more zeros!

Keyboards and Open-Source - Ignorance is bliss..

.

In my Keyboard Fun post from last year I talked a bit about my interest in mechanical keyboards. Since then, I played around with a few more keyboards/switches/keycaps/… Interesting enough, beside the actual hardware, naturally there is some software component to all these keyboards, too. Whereas most commercial keyboards still come with proprietary firmware, there is the trend within the keyboard enthusiast scene to go for open-source firmware. This allows you to properly update the firmware even from your Linux machine and do proper configuration of e.g. the keymap, too. Read more