Language Selection

English French German Italian Portuguese Spanish

Programming Leftovers

Filed under
Development

  • Dirk Eddelbuettel: #32: Portable Continuous Integration using r-ci

    Welcome to the 32th post in the rarely raucous R recommendations series, or R4 for short. This post covert continuous integration, a topic near and dear to many of us who have to recognise its added value.

    The popular and widely-used service at Travis is undergoing changes driven by a hard-to-argue with need for monetization. A fate that, if we’re honest, lies ahead for most “free” services so who know, maybe one day we have to turn away from other currently ubiquitous service. Because one never knows, it can pay off to not get to tied to any one service. Which brings us to today’s post and my r-ci service which allows me to run CI at Travis, at GitHub, at Azure, and on local Docker containers as the video demonstrates. It will likely also work at GitLab and other services, I simply haven’t tried any others.

  • WHAT stopped in 1996? Software innovation, or priorities?

    J. Edwards complains that it’s as if software progress hit a wall, and progress abruptly stopped in 1996. Back then, programmers were working on foundational programming languages, operating systems and other software technologies. Today, instead, the same space seems filled by just “useful incremental improvements on top of the foundational technologies that came before…” Nothing fundamentally new, just “clever repackaging and re-engineering prior inventions”.

  • Mary Poppendieck on Why You Should Just Burn Your Backlog – The New Stack

    “People have become way too comfortable with backlogs. It’s just a bad, bad concept.”

    Co-author of the “Lean Software Development,” Mary Poppendieck warned attendees of Agile Tour London in an end of day lean coffee that backlogs are a sign of an inefficient team. But that’s OK. She says that since the output is almost always measured consistently by almost every organization, and that output is reasonably consistent over releases, that’s your only metric that matters.

    Without a backlog, teams and even organizations stay focused on the opportunities they want to pursue right now — or within the next six weeks.

    With this rate-based system, Mary says you can focus on managing throughput, workflow and immediate value, not efficiency.

  • Extract substring from the string in PHP using substr() – Linux Hint

    substr() function is used to cut any part from a string in PHP. It is a built-in function of PHP that returns the portion of a string based on the starting position and the length value. The original value of the string remains unchanged after applying this function to that value. How the substr() function can be used in PHP script to cut the portion of a string is shown in this tutorial.

  • Generate QR code using PHP – Linux Hint

    The full meaning of the QR code is the Quick Response Code. It is a matrix barcode and machine-readable code, which is used to read a small amount of data by scanning QR image with the mobile phone or QR scanner. Many open-source PHP libraries exist to generate QR code using PHP script. The coder can download any better free QR Code generator PHP library from souceforge.net. phpqrcode library is used in this tutorial to generate the QR code. How phpqrcode library can be used to generate QR code using PHP script is shown in this tutorial.

    [...]

    Many features exist in the phpqrcode library for QR code generation. The uses of the png() function of the QRcode class are explained in this tutorial by using various examples. The ways of creating a QR image directly, saving the QR image into a file, and creating the QR image with the custom size are shown in this tutorial to help the PHP coder to create QR code easily using PHP script.

  • 10 ways to advance your JavaScript journey in 2021

    JavaScript is undeniably a super-popular language. It is consistently among the top 10 most used and sought skills, especially since more than 90% of websites use it in some capacity. The Node.js package manager NPM has more than 800,000 package offerings, further affirming JavaScript's popularity. Given this, I suspect many readers have some experience with this technology. Whether you're new to JavaScript or a seasoned user, Opensource.com has something relevant to you.

  •  

  • MariaDB releases connector for Reactive Java developers

    As an emerging standard in the Java world, Reactive Relational Database Connectivity is designed to help applications benefit from reactive programming by using a stream-oriented approach to interact with relational databases.

    MariaDB, the company behind the database, said that unlike its JDBC predecessor, R2DBC allows developers to use declarative programming techniques to create "more powerful, efficient and scalable JVM solutions".

    In a pre-canned statement, Mark Paluch, spec lead of the R2DBC specification, said: "Reactive, or non-blocking behaviour through the use of asynchronous data streams can be extremely useful for improved efficiency of resource usage and for increased throughput."

    MariaDB has also launched a Developer Hub that contains "how-to resources and code samples."

  • This Week In Rust: This Week in Rust 372
  • Process and Highlight JSON with jq

    Once you know enough command-line basics, it’s time to actually learn some useful stuff that you can apply in your daily work! Since JSON is super ubiquitous, I’d like to teach you some useful command-line JSON processing voodoo first.

    The jq tool is usually not installed by default. If you don’t have it, please install it for your operating system. If you’re on MacOS, you might want to look into Homebrew.

  • A hard simple thing

    Bugs that originate in reliable subsystems are hard to spot because we don’t expect them to fail. A filesystem path usually just works. This has bit me a few times before. While renovating my backup script I found that I provide quite a few status and debug messages that basically call .gist on an IO::Path instance. Since one might want to use a hypothetical path, Raku can’t complain on non-existing paths until they are used. Further, it can be quite useful to know that a path is a symlink. Bash and friends help here with colour coding. Since I have plenty of say-calls, it would be nice to change them all in one go.

  • SanDiego.pm Meeting, Tuesday, January 12th, 2021

    This is your friendly reminder that the SanDiego.pm quarterly meeting will be this Tuesday, January 12th, starting at 7 PM PST. As has been the case for the last several meetings, we'll be meeting again on Zoom (details below).

    Topics for the meeting include Perl (of course), COVID-19, CentOS, and anything else that people would like to talk about.

  • Perl weekly challenge 94

    The two challenges this week were a nice introduction to the new year.

  • CY's Take on PWC#094

More in Tux Machines

digiKam 7.7.0 is released

After 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. Read more

Dilution and Misuse of the "Linux" Brand

Samsung, Red Hat to Work on Linux Drivers for Future Tech

The 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. Read more

today's howtos

  • How to install go1.19beta on Ubuntu 22.04 – NextGenTips

    In this tutorial, we are going to explore how to install go on Ubuntu 22.04 Golang is an open-source programming language that is easy to learn and use. It is built-in concurrency and has a robust standard library. It is reliable, builds fast, and efficient software that scales fast. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel-type systems enable flexible and modular program constructions. Go compiles quickly to machine code and has the convenience of garbage collection and the power of run-time reflection. In this guide, we are going to learn how to install golang 1.19beta on Ubuntu 22.04. Go 1.19beta1 is not yet released. There is so much work in progress with all the documentation.

  • molecule test: failed to connect to bus in systemd container - openQA bites

    Ansible Molecule is a project to help you test your ansible roles. I’m using molecule for automatically testing the ansible roles of geekoops.

  • How To Install MongoDB on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install MongoDB on AlmaLinux 9. For those of you who didn’t know, MongoDB is a high-performance, highly scalable document-oriented NoSQL database. Unlike in SQL databases where data is stored in rows and columns inside tables, in MongoDB, data is structured in JSON-like format inside records which are referred to as documents. The open-source attribute of MongoDB as a database software makes it an ideal candidate for almost any database-related project. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the MongoDB NoSQL database on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux.

  • An introduction (and how-to) to Plugin Loader for the Steam Deck. - Invidious
  • Self-host a Ghost Blog With Traefik

    Ghost is a very popular open-source content management system. Started as an alternative to WordPress and it went on to become an alternative to Substack by focusing on membership and newsletter. The creators of Ghost offer managed Pro hosting but it may not fit everyone's budget. Alternatively, you can self-host it on your own cloud servers. On Linux handbook, we already have a guide on deploying Ghost with Docker in a reverse proxy setup. Instead of Ngnix reverse proxy, you can also use another software called Traefik with Docker. It is a popular open-source cloud-native application proxy, API Gateway, Edge-router, and more. I use Traefik to secure my websites using an SSL certificate obtained from Let's Encrypt. Once deployed, Traefik can automatically manage your certificates and their renewals. In this tutorial, I'll share the necessary steps for deploying a Ghost blog with Docker and Traefik.