Language Selection

English French German Italian Portuguese Spanish


Programming Leftovers

Filed under
  • QuickLicenseRT Linux 3.0 - Protect and License Desktop Software

    QuickLicenseRT Linux 3.0 implements the QuickLicense 9.1 runtime system to protect and license a Linux desktop applications. Apply licensing to a 32 or 64-bit executable with a few programming commands. Use LinuxWrap to license a compiled executable without programming.

  • Turing Award winner Barbara Liskov on CLU and why programming is still cool • The Register

    It has been 12 years since Barbara Liskov won a Turing Award for her contributions to practical and theoretical foundations of programming language and system design, and these days the creator of the CLU programming language continues to work on some interesting problems.

    We spoke about innovation, abstraction and encapsulation in the 1970s and today in a recent chat.

    Liskov, now in her 80s, leads the Programming Methodology Group at the Massachusetts Institute of Technology. Recently, she has been working on parallel computing and, with a student, developed Byzantine Fault Tolerance* [PDF] in the 1990s, "which turns out to be very significant for the blockchain world," she says.

  • GitLab all set to go public as revenues – and losses – rise

    DevOps darling GitLab has finally filed for an Initial Public Offering (IPO) as revenues continue to grow and losses widen.

    The IPO had been expected in 2020 but the company put things off due to the pandemic until late last week, when the paperwork was filed with the US Securities and Exchange Commission (SEC).

    The company, founded in 2014, has remained tight-lipped over the sums involved, although the filed S-1 form recorded that the proposed maximum aggregate offering price is estimated at $100m.


    In the IPO document, Gitlabs said it was on course to grow revenues to $233m in its current financial year ending in 2022. This compares to the $152.2m reported in fiscal 2021 and the $81.2m in the year before that.

    However, losses also widened over those years. The net loss in fiscal 2020 was $130.7m – but it was $192.2m in fiscal 2021. Net loss reached $69m for the six months ended 31 July 2021, up from $43.5m for the same time last year.

  • The 10 Core Differences Between C and C++

    C and C++ are two different well-recognized programming languages with the function of assembly language. Though both C and C ++ sound similar with an extra "++" on the latter, their features and usage are distinctive.

    C is a procedural programming language with a static system, whereas C++ is an enhanced version of the C programming language with object-oriented programming support.

8 Reasons Why You Should Use Linux for Programming

Filed under

Linux is a platform with a good market reputation. Programmers prefer to use it for multiple reasons. It is easier to set up and run over any system. Moreover, its interface comes up with continuous improvements that make it desirable even for programming assignment help .


No doubt system maintenance is an important thing that requires consideration while setting up and operating the operating system. Linux is simple in maintenance due to its easy to understand interface. The operating system and other software are easier to update. Further, it is a protective system from malware and viruses that helps to arrange data accurately or safely.

The feature of getting all updates on a regular basis helps a lot in making the system quick over actions. As compared to Linux system maintenance on any other setup is not that easy. Further, it requires third party assistance to update the system and much more. But in the case of Linux it is quick and smart in updating or maintenance without the requirement of any third party system.

Read more

Why do programmers prefer to use Linux?

Filed under

Windows is the most widely used operating system, both in home and business environments. Most of the programs are created to run on this operating system. However, the people who create these programs (developers, programmers and system administrators mainly) prefer to leave Windows aside and work on another operating system: Linux. Why? What brings you to this?

Linux offers a large number of advantages when it comes to working and developing, advantages that range from flexibility to security and system performance. Today, Linux is a perfectly affordable system for any user, since it is not much more complicated to use than any Windows system. However, this OS does not end up gaining popularity within home environments, its main strength being the servers and the computers of the programmers.

Read more

Programming/Development Leftovers

Filed under
  • New tool: an nginx playground

    On Wednesday I was talking to a friend about how it would be cool to have an nginx playground website where you can just paste in an nginx config and test it out. And then I realized it might actually be pretty easy to build, so got excited and started coding and I built it.

  • Pandas to check cell value is NaN

    The main documentation of the pandas is saying null values are missing values. We can denote the missing or null values as NaN in the pandas as most developers do. The NaN and None keywords are both used by developers to show the missing values in the dataframe. The best thing in the pandas is that it treats both NaN and None similarly. To check the missing value of a cell, pandas.notnull will return False in both cases of NaN and None if the cell has NaN or None.

    So, in this article, we will explore different methods to check whether a particular cell value is null or not (NaN or None).

  • gfldex: Convolution

    Flavio wrote a straightforward solution to PWC-131-1 and wondered if there is a idiomatic way. Assuming, that “idiomatic” means to use language features which lesser languages refuse to require, I’m happy to deliver convoluted code.

  • Perl Weekly Challenge 131: Consecutive Arrays

    These are some answers to task 1 of the Week 131 of the Perl Weekly Challenge organized by Mohammad S. Anwar.

    Spoiler Alert: This weekly challenge deadline is due in a few days from now (on September 26, 2021 at 24:00). This blog post offers some solutions to this challenge, please don’t read on if you intend to complete the challenge on your own.

  • My Favorite Modules: if | Tom Wyant []

    My blog post My Favorite Warnings: redundant and missing touched on the use of the if module. Comments on that post made me think it deserved a top-level treatment, expanding on (though not necessarily improving on) Aristotle's comment.

Open Hardware With Focus on Arduino

Filed under
  • Arduino Nicla Sense ME makes sense of the world | Arduino Blog

    Nicla is Arduino Pro’s new family of modular, intelligent products that are easy to use, versatile and accessible – whether you are an advanced user working on industrial applications or a budding maker looking to prototype your first intelligent solution. No wonder it’s named after the Greek word for “victory of the people!”

    To herald the range, we have just released the Nicla Sense ME: a tiny but mighty board, co-developed with Bosch Sensortec to enable sensing and intelligence on the edge. With low-power sensors, a high-performance processor and small footprint, it offers a winning combination that can answer our community’s and clients’ needs and open up to opportunities for infinite new solutions.

  • Captivating Clock Puts Endangered Displays On Display | Hackaday

    When you have a small stock of vacuum fluorescent displays (VFDs) straight out of the 1976 Radio Shack catalog, you might sit around wondering what to do with them. When [stepawayfromthegirls] found out that his stash of seven DT-1704A tubes may be the last in existence, there was no question. They must be displayed! [stepawayfromthegirls]’ mode of display is this captivating clock build. Four VFDs with their aqua colored elements are set against a black background in a bespoke wooden case. Looking under the hood, the beauty only increases.

  • The first Arduino Education Inspiration Lab

    Arduino Education is delighted to announce its very first Inspiration Lab, in partnership with Technobel in Belgium.

  • Open Source Autopilot For Cheap Trolling Motors

    Quiet electric trolling motors are great for gliding into your favorite fishing spot but require constant correction if wind and water currents are at play. As an alternative to expensive commercial GPS-guided trolling motors, [AlexAsplund] created Vanchor, an open source system for adding autopilot to a cheap trolling motor.

C++ Programming

Filed under
  • Next generation of IBM C/C++ and Fortran compilers are now available on IBM AIX – IBM Developer

    In February 2020, IBM announced the intention to adopt open source LLVM infrastructure for the next generation of IBM XL C/C++ and Fortran compilers. As an active sponsor and strong supporter of LLVM, IBM is committed to bring the benefits and innovations from the LLVM community to our enterprise clients.

    With the launch of IBM Power10, the IBM XL C/C++ and Fortran compilers have been modernized and now rebranded to IBM Open XL C/C++ for AIX and IBM Open XL Fortran for AIX. IBM Open XL C/C++ and Fortran for AIX 17.1.0 combine Clang/LLVM technology with IBM’s industry-leading optimizations.

  • C++ String to double Conversion

    in C++, you will not end up with 49.12. In fact, the compiler should issue an error message. To have the result, 49.12, “14.25” has to be converted to a number type of double or float, and “34.87” has to be converted to a number type of double or float.

    The title of this tutorial is “C++ String to Double Conversion”. Is your aim to convert string to double; or to do all of the following, which are related?

  • C++ string append

    The word “append” means to add something at the back of another thing. A string can be declared in C++ in two main ways. Declaring a string as an array-of-chars or as a constant-pointer-to-chars is one way. Instantiating a string object data structure from the string class is another way. To instantiate a string object from the string class, the C++ string library has to be included in the program.

  • C++ String trim Methods

    C++ does not have a function to trim a string. There is a subject in computer programming called, Regular Expressions, abbreviated regex. This subject has schemes, which enable the programmer to search for a sub-string in a target string and replace the sub-string found. The sub-string found can be replaced with nothing, and so erasing it.

    The search-and-replace with nothing idea can be used to trim a string. So look for all white space characters in front of the string and all white-space characters behind the string, and replace them with nothing. Luckily, C++ has a regex library, which has to be included in the program to do this.

  • C++ String Replace

    C++ String Replace deals with locating a particular sub-string in a target string and then replacing it. A string can be created in two main ways: using a constant character pointer (char array) or instantiating it from the string class. The string class has a replace() member function. This does the locating and replacement. Locating and replacing is done with instantiated string objects and not strings created using a constant character pointer.

    The string object is a data structure, and its main component is a list. Each cell of this list has a character. The total sequence of characters forms the literal string. Each character position can be accessed by an index or by an iterator. Index counting begins from zero. An iterator is an elaborated pointer.

    The C+ string class has different variants of the replace() member function. Such a set of functions are called overloaded functions. This article explains how to use different overloaded string replace() member functions.

Programming/Development Leftovers

Filed under

  • The Official Raspberry Pi Handbook 2022
  • European Processor Initiative Receives First EPAC RISC-V Sample Chips for Testing

    And today, the project has delivered its promises as the very first batch of chips are being tested in EPI's labs. The RISC-V processors are designs containing multiple special-purpose accelerators, all centered around the RSIC-V ISA and its design principles. The processor contains four tiles of Vector Processing Units (VPUs) made up from Avispado RISC-V core designed by SemiDynamics, and vector processing elements design by Barcelona Supercomputing Center and the University of Zagreb. In each tile, there are home nodes and L2 cache for cache systems, which are the contributions of Chalmers and FORTH. For additional acceleration, there are Stencil and Tensor accelerators (STX) engineered by Fraunhofer IIS, ITWM, and ETH Zürich, and the variable precision processor (VRP) deigned by CEA LIST.

  • On bad advice

    Like many programmers, I'm largely self-taught. I've rarely worked with anyone more experienced than myself, especially early in my career where I spent a lot of time working with other 20-something-year-olds who also had only a few years of experience. So we all learned about how to program from advice we found on the [Internet], especially posts that were shared via sites like reddit and hacker news.

    Much of my progress since then has been unlearning all those things. In hindsight, most of the writing and discussion I read online about how to program was actively harmful to my ability to successfully produce working code.

    That's not to say that most programmers are bad programmers. Just that it's not automatically the case that good programmers will produce good advice, or that good advice will be more widely shared than bad advice.

  • Reflections on a decade of coding

    It's hard to write these examples without sounding like I'm bragging, but to be very clear - I don't think that these projects are particularly impressive in context. They are the kind of projects that someone with a decade of experience in a specialized area should be capable of.

    But they are also projects that I'm fairly confident I would have failed at even 5 years ago.

  • Fun with Redirection

    When you're hacking in the shell or in a script, sometimes you want to change how the output of a command is routed. Today I'm gonna cover common shell redirection tips and tricks that I use every day at work and how it all works under the hood.

Software and Development: Tetzle, Chrome, Brave, VFD Hacking, and digest

Filed under
  • Tetzle 2.2.0 released

    Added support for Qt 6
    Refactored code
    Removed XPM icon
    Translation updates: Dutch, Turkish, Ukrainian, Ukrainian (Ukraine)

  • Chrome 95 Beta Completely Removes Deprecated FTP Support, Reduced User Agent Info Trial

    With Chrome 94 having shipped this week, Google has now promoted Chrome 95 to beta.

    With Chrome 95 Beta there is a random assortment of changes with some of the highlights including:

    - Beginning as an origin trial is the attempt to reduce the HTTP user agent string information exposed to cutdown on the possible browser fingerprinting by websites.

  • Brave Browser offers video conferencing

    A long time ago, Brendan Eich had equipped his Brave browser in the Nightly versions with the video conferencing service Brave Together for testing. Now the service has been incorporated directly into the stable version of the browser as Brave Talk . Behind this is an implementation of Jitsi as a service with WebRTC from the provider 8 × 8 . Brave Talk is available for the desktop as well as for Android and iOS.

  • Upcycling A VFD | Hackaday

    A lot of electronics wind up in landfills, and when [Playful Electronics] saw an old cash register heading for the dump, he decided to give its VFD display a new life as an Arduino peripheral. While you might not find the exact same parts, it is still fun to watch him work through the process, and you might find some tips for doing your own upcycle project next time you see some old tech heading out to pasture.

    The project was relatively straightforward since data for the display was available. It is meant to connect via RS232 with a point of sale printer, so working with it is pretty straightforward.

  • Dirk Eddelbuettel: digest 0.6.28 on CRAN: Small Enhancements

    Release 0.6.28 of the digest package arrived at CRAN earlier today, and has already been uploaded Debian as well.

    digest creates hash digests of arbitrary R objects (using the md5, sha-1, sha-256, sha-512, crc32, xxhash32, xxhash64, murmur32, spookyhash, and blake3 algorithms) permitting easy comparison of R language objects. It is a mature and widely-used as many tasks may involve caching of objects for which it provides convenient general-purpose hash key generation.

    This release comes eleven months after the previous releases and rounds out a number of corners. Continuous Integration was updated using r-ci. Several contribututors help with a small fix applied to avoid unaligned reads, a rewording for a help page as well as windows path encoding for in the vectorised use case.

Experimental binary Gentoo package hosting (amd64)

Filed under

As an experiment, I've started assembling a simple binary package hosting mechanism for Gentoo. Right now this comes with some serious limitations and should not be used for security or mission critical applications (more on this below). The main purpose of this experiment is to find out how well it works and where we need improvements in Portage's binary package handling.

Read more

GCC 12 Adds Stack Variable Auto-Initialization, Other Security Improvements Forthcoming

Filed under

Qing Zhao of Oracle presented yesterday during the LPC2021 GNU Tools Track around the work they and others have been engaged in for improving the security of the GNU Compiler Collection (GCC).

In some areas this GCC security work is about catching up with security features already implemented by LLVM Clang. Among the features have been for zeroing out caller-used registers on return, auto initializing of stack variables, unsigned overflow detection, and more. For instance with GCC 11 is the zero-call-used-regs compiler feature and now with Linux 5.15 that feature can be optionally used to enhance the kernel security.

Read more

Syndicate content

More in Tux Machines

Type Title Author Replies Last Postsort icon
Story OpenSSH 8.8 Roy Schestowitz 27/09/2021 - 8:05am
Story Audiocasts/Shows/Videos: Security, Linux Action News, Ubuntu 21.10 Beta Roy Schestowitz 27/09/2021 - 6:28am
Story Stable Kernels: 5.14.8, 5.10.69, 5.4.149, 4.19.208, 4.14.248, 4.9.284, and 4.4.285 Rianne Schestowitz 27/09/2021 - 12:19am
Story Can You Run Linux Without a Desktop Environment? Roy Schestowitz 26/09/2021 - 11:58pm
Story today's leftovers Roy Schestowitz 26/09/2021 - 11:48pm
Story today's howtos Roy Schestowitz 26/09/2021 - 11:47pm
Story Security and DRM Leftovers Roy Schestowitz 26/09/2021 - 11:44pm
Story Linux 5.15-rc3 Roy Schestowitz 1 26/09/2021 - 11:32pm
Story Linux Foundation: PaSh, LFMS, and 'Studies' Roy Schestowitz 15 26/09/2021 - 9:34pm
Story BattlEye confirms Linux support for Steam Deck Roy Schestowitz 2 26/09/2021 - 9:33pm