Language Selection

English French German Italian Portuguese Spanish

Programming Leftovers

Filed under
Development
  • Show Unicode code points for UTF-8 characters

    Like the title says, I wanted to show the Unicode code points (formatted \uxxxx) for a set of UTF-8 characters. There are programs that do just that in a number of programming languages, but I wanted to do the job with garden-variety shell tools.

    The solution I've chosen is based on a 2019 SuperUser suggestion from Brazilian developer Danilo G. Veraszto. The trick is to first convert the character to "UNICODEBIG" (big-endian Unicode) encoding with iconv. I pass the output to xxd, set to put a space between every two bytes (-g 2)...

  • Java 17 / JDK 17: General Availability
    JDK 17, the reference implementation of Java 17, is now Generally
    Available.  We shipped build 35 as the first Release Candidate of
    JDK 17 on 6 August, and no P1 bugs have been reported since then.
    Build 35 is therefore now the GA build, ready for production use.
    
    
  • Java 17 / OpenJDK 17 Hits GA With Maturing Vector API, Removal Planned For Applet API

    Java's Vector API is quite exciting and building off the initial code in Java 16. The Java Vector API aims to make it easy to allow run-time handling and optimal vector instruction generation across CPU architectures for SSE, AVX, Arm NEON, and other instruction set extensions.

    Java 17 is quite notable in that it will be a Long-Term Support (LTS) release, including from Oracle.

  • Kafka Monthly Digest – August 2021 – IBM Developer

    This is the 43rd edition of the Kafka Monthly Digest. In this edition, I’ll cover what happened in the Apache Kafka community in August 2021.

  • A Candid explainer: Quirks

    If you made it this far, you now have a good understanding of what Candid is, what it is for and how it is used. For this final post, I’ll put the spotlight on specific aspects of Candid that are maybe surprising, or odd, or quirky. This section will be quite opinionated, and could maybe be called “what I’d do differently if I’d re-do the whole thing”.

    Note that these quirks are not serious problems, and they don’t invalidate the overall design. I am writing this up not to discourage the use of Candid, but merely help interested parties to understand it better.

  • oneAPI Level Zero Loader v1.5 Released With VPU Driver Recognition, Multi-Driver Support

    Intel has released a new version of their loader for oneAPI Level Zero for loading the Level Zero software driver components.

Java 17 LTS Released

  • Java 17 LTS Released

    Java 17 with Extended Support (LTS) has been released. The previous version with extended support, Java 11, was released in 2018.

    The most notable change in this release is that support for sealed classes and interfaces has moved out of the preview stage and is now ready for use.

    Sealed types are classes or interfaces that impose constraints on other classes or interfaces that can extend or implement them. To declare a sealed class or interface, use the modifier sealed… The list of subtypes can be listed by declaring a sealed class or interface after the keyword permits… If the subtypes are in the same package or module, the compiler itself can display the list of subtypes and permitscan be omitted in a sealed class or interface declaration.

Oracle adds improvement cream to the newest LTS...

  • Oracle adds improvement cream to the newest LTS version of Java

    Long in the making, Oracle has finally released JDK (Java Development Kit) 17. This is the first long-term support (LTS) release to see the light of day since JDK 11 three years ago. True, new versions of Java appear every six months, in March and September. But they're only supported until the next one arrives. Java 17, on the other hand, will be supported for eight years.

Oracle sets its own JDK free, sort of, for a while

  • Oracle sets its own JDK free, sort of, for a while

    Oracle this week made Oracle JDK "available for free," for personal, commercial and production use, including quarterly security updates, for a limited time.

    "Free" in this context means the software is now licensed under the Oracle No-Fee Terms and Conditions (NFTC) license, having been previously under the Oracle Technology Network (OTN) License Agreement for Oracle Java SE.

    But "free" does not mean developers may do as they please. Oracle's NFTC forbids redistribution of its Java software for a fee.

    "Free" also does not mean the NFTC license conforms with the Free Software Definition or the Open Source Definition, both of which require allowing fee-based distribution.

    "Even though it is 'free to use' – although not really totally free to use, since commercial use isn't free to use – that is extremely different from Free Software and Open Source," said Jim Jagielski, an open source veteran who helped co-found the Apache Software Foundation and now oversees open source at Salesforce.

Java SE 17 Released

  • Java SE 17 Released

    After six months of development, Oracle has released a platform Java SE 17 (Java Platform, Standard Edition 17), as a reference implementation that uses an open source project OpenJDK. Except for the removal of some deprecated features, Java SE 17 retains backward compatibility with previous releases of the Java platform — most previously written Java projects will work unchanged when run under the new version. Ready-to-install Java SE 17 assemblies (JDK, JRE, and Server JRE) are prepared for Linux (x86_64, AArch64), Windows (x86_64), and macOS (x86_64, AArch64). The reference implementation developed by the OpenJDK project is Java 17 fully open source under the GPLv2 license with GNU ClassPath exceptions to allow dynamic linking to commercial products.

    Java SE 17 has been categorized as a Long Term Support (LTS) release with updates to be released until 2029. Updates for the previous Java 16 interim release have been discontinued. The previous LTS branch of Java 11 will be supported until 2026. The next LTS release is slated for September 2024. Recall that starting with the release of Java 10, the project moved to a new development process, implying a shorter cycle of forming new releases. The new functionality is now being developed in one constantly updated master branch , which includes ready-made changes and from which branches are branched every six months to stabilize new releases.

More on Java and GPL

  • Oracle Releases Java 17
  • Oracle Releases Java 17, Here’s All The Latest Updates
  • Oracle Releases Java 17

    Oracle today announced the availability of Java 17, the latest version of the world’s number one programming language and development platform. Java 17 delivers thousands of performance, stability, and security updates, as well as 14 JEPs (JDK Enhancement Proposals) that further improve the Java language and platform to help developers be more productive.

    Java 17 is the latest long-term support (LTS) release under Java’s six-month release cadence and is the result of extensive collaboration between Oracle engineers and other members of the worldwide Java developer community via the OpenJDK Community and the Java Community Process (JCP). Since the previous JDK 11 LTS released three years ago, over 70 JEPs have been implemented.

  • Oracle Releases Java 17
  • Oracle releases Java 17

    Oracle has announced the availability of Java 17, which delivers thousands of performance, stability, and security updates, as well as 14 JEPs (JDK Enhancement Proposals).

    Java 17 is the latest long-term support (LTS) release under Java’s six-month release cadence and is the result of extensive collaboration between Oracle engineers and other members of the worldwide Java developer community via the OpenJDK Community and the Java Community Process (JCP). Since the previous JDK 11 LTS released three years ago, over 70 JEPs have been implemented.

  • Oracle makes JDK free

    Oracle this week made Oracle JDK “available for free,” for personal, commercial and production use, including quarterly security updates, for a limited time.

  • Oracle Releases Java 17

    Next Java long-term support release delivers thousands of updates, further improving the language and platform to help developers be more productive Oracle JDK 17 gives customers security, performance, and bug-fix updates through September 2029

  • Java 17 dons features for safe, concise code; Oracle changes JDK licensing, pushes for more frequent LTS releases

    Java 17 reference implementation JDK 17 as well as GPL-licensed OpenJDK builds have been made available this week. The first long-term support release in three years sports 14 JEPs and is meant to improve not only the language but also the way it interacts with external functions and data.

    To make the programming language a little more intuitive to use, Java 17 includes a preview of a pattern-matching feature for switch expressions and statements. Up until now developers could use switch for limited types only and were restricted to constants for their case labels, which often made more complex queries tricky to construct (and read). Allowing patterns in labels and introducing new patterns altogether is therefore hoped to help devs in formulating more concise code for such scenarios.

  • Oracle Releases Java 17, Here's All The Latest Updates
  • Oracle Java 17 released under a free-to-use license [Ed: That's not what the licence is or says]

    Oracle announced the availability of Java 17, the latest version of the world’s number one programming language and development platform.

By Microsoft Tim

  • Java 17 arrives with long-term support: What's new, and is it falling behind Kotlin?

    JDK (Java Development Kit) 17 was released today, the first long-term support release since JDK 11 three years ago.

    A new version of Java appears every six months, in March and September. According to the Oracle Java SE support lifecycle, these are supported only for six months until the next one appears, whereas LTS releases are supported for eight years.

    Java 8 (the last before a major revamp of the JDK in Java 9 with many breaking changes) has extended support until December 2030, while extended support for Java 11 runs up to September 2026.

    Suppliers of free OpenJDK editions of Java generally match and may sometimes exceed these support dates, but it is only the LTS editions that are intended for long-term use.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

More in Tux Machines

today's howtos

  • How to upgrade openSUSE Leap from 15.1 or 15.2 to 15.3 - Unixcop

    In this tutorial, we will show you how to upgrade from lower openSUSE like 15.0 or 15.0 to 15.3. In my case, I’m using openSUSE LEAP 15.1, before starting the upgrade, we strongly advise backing your actual Data in case you are using this release in production environments.

  • How to install Asterisk 18 on CentOS 8 - Unixcop

    Asterisk is a free to use, opensource and powerful communication system that is why it is used IP PBX systems, VoIP gateways, conference servers used in SMBs, enterprises, call centers, carriers and government institutions around the globe. Installing Asterisk Server is the first step towards implementation of an affordable, reliable and highly available PBX and VoIP systems because it is an open source platform so user may use it as per their requirement. In today’s guide we will be covering the installation and configuration of Asterisk 18 LTS on CentOS 8 because Asterisk 18 recently released for production use and is available for download. If you’re using earlier releases of Asterisk then it is the right time to plan for upgrade.

  • How to Install Tor Browser on Fedora 34 - LinuxCapable

    or, also known as The Onion Router, is open-source, free software that enables anonymous communication when using online services such as web surfing. The Tor network directs the Internet traffic through a free worldwide volunteer overlay network with over six thousand relays and continues to grow. Many users want to find more ways to keep their information and activities anonymous or at least as private as possible, which has led to Tor Browser growing quite popular in recent years as it conceals a user’s location and usage from anyone conducting network surveillance or traffic analysis. The Tor network is intended to protect the personal privacy of users and their freedom and ability from conducting communication without having their activities monitored, and data were taken without their consent and used to sum it up. In the following tutorial, you will learn how to install the latest Tor Browser on Fedora 34.

  • How to configure Samba Server with Debian 11 - Unixcop

    Today we will learn How to configure Samba Server with Debian 11. Communication is the key point of having a server. But, what if resources are not able to communicate with each other? Yes, this could happen when you are having both Linux and Windows. Sharing resources b/w Linux and windows can be difficult. Samba is the solution for the challenge. The Samba server facilitates sharing resources in a hybrid environment.

  • How to Install Handbrake (open-source video transcoder) on Ubuntu 20.04 Linux

    Handbrake is a free and open-source video converter. It is available for Windows, Mac, and Linux operating systems. It supports the most modern codec. You can use it to process the most common multimedia files, DVD or Blu Ray sources that are not copyrighted.

  • How to Compile Redis source code on Ubuntu 20.04

    This is an alternate method and Redis recommends it as it makes sure you get the latest stable version. Sometimes, the version provided by the distro’s repository may be outdated. So you have to download the Redis source code and compile it. Make sure GCC compiler and libc is installed on your system.

  • How to Install Wine on Debian 11 Bullseye - LinuxCapable

    Wine is an open-source compatibility layer that allows you to run Windows applications on Unix-like operating systems like Linux, FreeBSD, and macOS. It is an interface that translates Windows system calls into equivalent POSIX calls used by Linux and other Unix-based operating systems. For Linux users, Wine is a savior when running Windows-based applications on UNIX systems. However, not all Windows applications will run in Wine and may have strange crashes or bugs. The Wine AppDB is a database containing a list of applications that have been tested and confirmed to work under Wine.

  • Monitoring for process completion in 2021 – Ariadne's Space

    A historical defect in the ifupdown suite has been the lack of proper supervision of processes run by the system in order to bring up and down interfaces. Specifically, it is possible in historical ifupdown for a process to hang forever, at which point the system will fail to finish configuring interfaces. As interface configuration is part of the boot process, this means that the boot process can potentially hang forever and fail to complete. Accordingly, we have introduced correct supervision of processes run by ifupdown-ng in the upcoming version 0.12, with a 5 minute timeout. Because ifupdown-ng is intended to be portable, we had to implement two versions of the process completion monitoring routine. The portable version is a busy loop, which sleeps for 50 milliseconds between iteration, and the non-portable version uses Linux processor descriptors, a feature introduced in Linux 5.3. For earlier versions, ifupdown-ng will downgrade to using the portable implementation. There are also a couple of other ways that one can monitor for process completion using notifications, but they were not appropriate for the ifupdown-ng design.

  • How to Merge Multiple PDF Files into One PDF in Linux

    PDF or Portable Document Format files have more to offer to its users apart from the obvious advantages of being easily printable and shareable over a network.

  • How to install, configure and use Nessus Vulnerability Scanner on CentOS 8

    Nessus is one of the most popular remote vulnerability assessments trusted by more than 30,000 organizations worldwide. Nessus scans the system and raises an alert if it discovers any vulnerabilities that malicious hackers could use to gain access. Nessus does not actively prevent attacks, It will check security loopholes present in infrastructure. It provides detailed system security reports which will be very helpful for fixing any vulnerabilities and make the server more secure. Nessus is available in many different versions, In this tutorial, we will install the free version of Nessus knows as Nessus Essentials which can scan 16 IPS. Nessus is a cross-platform vulnerability scanner and supports many OS, but in this article, we will show you how to install Nessue Essentials on Centos 8.

  • How to Install Let's Encrypt SSL for NGINX on Rocky Linux 8

    Security is one of the top-of-mind concerns for website owners, more especially, if you are running an eCommerce store or a site that accepts users’ confidential information such as usernames and passwords. The plain HTTP protocol is insecure as data is sent in plain text and hackers can eavesdrop on the communication sent to and from the web server. To overcome this risk, it’s recommended to secure a web server using a TLS/SSL certificate. This is a cryptographic digital certificate that encrypts your web server and ensures data exchanged with the webserver is encrypted. Let’s Encrypt SSL certificate is a digital certificate provided by Let’s Encrypt CA ( Certificate Authority) to secure a web server. It’s a free TLS/SSL certificate that is valid for only 90 days, whereupon renewal is required before expiry. It’s beneficial for startups or individuals who cannot afford a premium SSL certificate for their blogs or websites. In this guide, we will demonstrate how you can install the Let’s Encrypt SSL/TLS certificate for NGINX on Rocky Linux 8

  • Watch Logs in Real Time in Linux With Tail, Less & Multitail

    You know how to view files in Linux. You use cat command or probably less command for this purpose. That's good for files that has static content. But log files are dynamic and their content change with time. To monitor logs, you need to watch the log file as its content changes. How do you see the content of log files in real time? Tail is the most popular command for this purpose but there are some other tools as well. I'll show them to you in this tutorial.

Arcan as Operating System Design

Time to continue to explain what Arcan actually “is” on a higher level. Previous articles have invited the comparison to Xorg ( part1, part2 ). Another possibility would have been Plan9, but Xorg was also a better fit also for the next (and last) article in this series. To start with a grand statement: Arcan is a single-user, user-facing, networked overlay operating system. With “single-user, user-facing” I mean that you are the core concern; it is about providing you with controls. There is no compromise made to “serve” a large number of concurrent users, to route and filter the most traffic, or to store and access data the fastest anywhere on earth. With “overlay operating system” I mean that it is built from user-facing components. Arcan takes whatever you have access to and expands from there. It is not hinged on the life and death of neither the Linux kernel, the BSD ones or any other for that matter. Instead it is a vagabond that will move to whatever ecosystem you can develop and run programs on, even if that means being walled inside an app store somewhere. Read more

Telegram Desktop 3.1 Introduces Interactive Emoji, Live Stream Recording, and More

Telegram Desktop 3.1 is here with some pretty cool new features, such as the ability to record live streams and video chats in a group or channel with options to record video and audio or only audio, which will be saved in your admin’s Saved Messages panel, as well as support for read receipts in small groups with the option to view which group members have read it by selecting a message and right clicking on it. And, to make your Telegram sessions more enjoyable and fun, the Telegram Desktop 3.1 update brings 8 new themes for private chats with day and night versions, beautifully animated backgrounds, gradient message bubbles, and unique background patterns, but this can only be enabled from a mobile device if you want to enjoy it on your desktop too, and 6 new interactive emoji. Read more

Android Leftovers