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.

Java 17 Release Promises Faster Performance

  • Java 17 Release Promises Faster Performance

    Java Development Kit 17 and Java 17 are now generally available. JDK 17 was announced by the Open JDK group and Oracle released the new version under a commercial license for those using the Oracle JDK release as part of an Oracle product or service, or for those who want to be able to get commercial support.

    Java 17 is an LTS (Long Term Support) version and Oracle says Oracle JDK 17 and future JDK releases are provided under a free-to-use license until a full year after the next LTS release. Oracle will also continue providing Oracle OpenJDK releases under the open-source General Public License (GPL), as it has since 2017.

Comment viewing options

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

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.