Language Selection

English French German Italian Portuguese Spanish

Programming Leftovers

Filed under
Development

  • The Rust Programming Language Blog: Rust 2021 public testing period

    We are happy to announce that the Rust 2021 edition is entering its public testing period. All of the planned features for the edition are now available on nightly builds along with migrations that should move your code from Rust 2018 to Rust 2021. If you'd like to learn more about the changes that are part of Rust 2021, check out the nightly version of the Edition Guide.

  • Released Giblog 2.0, and a movie "How to create your web site using Giblog and Perl"

    Released Giblog 2.0. GIblog is a tool to create your web site easily.

  • Ravgeet Dhillon: Progress Bar in Next.js

    Sometimes when we transition from one route to another, it takes a little time to do so due to different factors. Behind the scenes, it may be rendering a complex page component or doing an API call. In such cases, the app looks like it has frozen for some seconds and then suddenly transitions to the next route. This results in a poor UX. In such cases, it is better to add a progress bar to our application which gives our users a sense that something is loading.

  • Delivering Common Lisp executables using Consfigurator

    I realised this week that my recent efforts to improve how Consfigurator makes the fork(2) system call have also created a way to install executables to remote systems which will execute arbitrary Common Lisp code. Distributing precompiled programs using free software implementations of the Common Lisp standard tends to be more of a hassle than with a lot of other high level programming languages. Executables will often be hundreds of megabytes in size even if your codebase is just a few megabytes, because the whole interactive Common Lisp environment gets bundled along with your program’s code. Commercial Common Lisp implementations manage to do better, as I understand it, by knowing how to shake out unused code paths. Consfigurator’s new mechanism uploads only changed source code, which might only be kilobytes in size, and updates the executable on the remote system. So it should be useful for deploying Common Lisp-powered web services, and the like.

    Here’s how it works. When you use Consfigurator you define an ASDF system – analagous to a Python package or Perl distribution – called your “consfig”. This defines HOST objects to represent the machines that you’ll use Consfigurator to manage, and any custom properties, functions those properties call, etc.. An ASDF system can depend upon other systems; for example, every consfig depends upon Consfigurator itself. When you execute Consfigurator deployments, Consfigurator uploads the source code of any ASDF systems that have changed since you last deployed this host, starts up Lisp on the remote machine, and loads up all the systems. Now the remote Lisp image is in a similarly clean state to when you’ve just started up Lisp on your laptop and loaded up the libraries you’re going to use. Only then are the actual deployment instructions are sent on stdin.

  • Write your first web component

    Web components are a collection of open source technologies such as JavaScript and HTML that allow you to create custom elements that you can use and reuse in web apps. The components you create are independent of the rest of your code, so they're easy to reuse across many projects.

  • Josef Strzibny: Elixir Authorization Plugs

    Similar to Ruby’s Rack, Plug is a general specification for composing modules between web applications and application servers. Here’s how we can use them to build authorized pipelines in your router.

    Note that this post is not about whether you should do authorization at the router level. It’s likely you’ll do it as part of your business logic for the most part. But when it makes sense, you can use Plugs.

  • AMD AOCC 3.1 Compiler Released - Rebased On LLVM 12.0

    AMD earlier this week quietly published a new version of its AOCC code compiler that is now rebased against the upstream LLVM/Clang 12.0 compiler state.

    AMD Optimizing C/C++ Compiler 3.0 was released back in March alongside the EPYC 7003 "Milan" launch. AOCC 3.1 is now available as the latest incremental improvement to this LLVM/Clang downstream that focuses on carrying various out-of-tree patches optimizing the open-source compiler for AMD's Zen microarchitecture family, making Flang suitable for compiling more Fortran code-bases, and other enhancements when building code for AMD CPUs.

More in Tux Machines

Linux 5.16 To Bring Initial DisplayPort 2.0 Support For AMD Radeon Driver (AMDGPU)

A batch of feature updates was submitted today for DRM-Next of early feature work slated to come to the next version of the Linux kernel. AMDGPU driver feature work continues accumulating for what will become Linux 5.16 and debut as stable around the start of the new year. Most notable with today's pull request is initial enablement in this open-source AMD Radeon kernel graphics driver around DisplayPort 2.0. Since August we've been reporting on AMDGPU patches for DisplayPort 2.0, particularly around the Ultra High Bit Rate 10 (UHBR 10) support. Read more

4MLinux 37.1 released.

This is a minor (point) release in the 4MLinux STABLE channel, which comes with the Linux kernel 5.10.63. The 4MLinux Server now includes Apache 2.4.49, MariaDB 10.6.4, and PHP 7.4.23 (see this post for more details). Read more

Audiocasts/Shows: Linux in the Ham Shack, GNOME, Goto, Ubuntu MATE 21.10 Beta, and Destination Linux

  • LHS Episode #431: SDR++ Deep Dive

    Hello and welcome to Episode 431 of Linux in the Ham Shack. In this episode, the hosts take an in-depth look at the SDR++ client program for SDR receivers and transceivers. Topics include where to find the software, it's origins, code base and license and more. Further discussion includes installing from the package repos or building the software, running the code, configuring the basic features as well as navigating the interface and controlling your SDR. We hope you enjoy this content and tune in for the next episodes as well. Have a great week.

  • A Better Menu For The GNOME Desktop - Invidious

    Fly-Pie is a GNOME extension that let's you create your own custom menus. You can use it to launch applications, simulate hotkeys, open URLs and much more. The coolest feature, in my opinion, is how easy it is to navigate the menus either by clicking or by simply dragging the mouse.

  • Alias & Navigate Anywhere On Linux With Goto - Invidious

    Managing your navigation aliases under Linux can be a bit of a hassle and today we're looking at a tool called goto that aims to simplify that process, by separating those out from the rest of your shell aliases and providing some useful extra functionality like tab completion

  • Ubuntu MATE 21.10 Beta Run Through - Invidious

    In this video, we are looking at Ubuntu MATE 21.10 Beta. Enjoy!

  • Ubuntu MATE 21.10 Beta

    Today we are looking at Ubuntu MATE 21.10 Beta. It comes with Linux Kernel 5.13, MATE Desktop 1.26, and uses about 900MB of ram when idling. Enjoy!

  • Destination Linux 245: What Linux Needs For Desktop Domination

    This week’s episode of Destination Linux, we’re going to discuss what’s needed to take Linux desktop over the finish line. Then we’re going to pay our respects to Sir Clive Sinclair with a very special Treasure Hunt. Plus we’ve also got our famous tips, tricks and software picks. All of this and so much more this week on Destination Linux. So whether you’re brand new to Linux and open source or a guru of sudo. This is the podcast for you.

today's howtos

  • How to install Friday Night Funkin' - QT Mod on a Chromebook

    Today we are looking at how to install Friday Night Funkin' - QT Mod 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.

  • Linux 101: What does "sourcing a file" mean in Linux? - TechRepublic

    Sourcing a file in Linux is a very important concept, but it might not be one you'll use early on in your Linux career. Even so, I'm going to try to explain this challenging concept in a way you can understand it. Sourcing a file makes it possible for an executable to "source" information from a script as though the script had printed its output to the terminal. It's not an easy concept to grasp, so I'm going to show you by way of an example.

  • 3 Ways to install Slack in Ubuntu 20.04 LTS (Focal Fossa) - Linux Shout

    Slack is a group collaboration tool designed for teams that work in different locations. Primarily used for communication in teams, as the service can be perfectly integrated into the workflow. Users can link Slack with many other services, for example with cloud services such as Dropbox or with social networks. So Slack becomes the focal point of the action. At its core, Slack is instant messaging software. In addition to direct messaging, Slack enables communication “channels” that can be organized by project, customer, team, or any other way your company deems appropriate for separate conversations. Channels are structured according to the concept of a chat room: All channel participants can take part in the conversation and the messages appear in real-time.

  • Install Ruby on CentOS/RHEL 8 with 3 different methods - Unixcop

    Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write. Ruby is seen as a flexible language, since it allows its users to freely alter its parts. Essential parts of Ruby can be removed or redefined, at will. Existing parts can added upon. Ruby tries not to restrict the coder. Ruby can_be used in diverse applications such as data analysis and prototyping. In this installation guide, you will learn how to install Ruby on CentOS 8 and RHEL 8 Linux.

  • How to Check Which Desktop Environment You’re Using on Linux

    As you might know, Linux-based operating systems are heavily focused on the command line for performing operations. A minimal distro like Arch Linux will present you with a dark terminal post-installation. What makes Linux distros interactive and user-friendly often goes unnoticed—the desktop environment. Most beginner Linux users are unaware of desktop environments and don't even know which one they're using. Here's how you can check which desktop environment is currently installed on your Linux system.