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

Pumpkins, markets, and one bad Apple

Imagine your local farmers market: every Saturday the whole town comes together to purchase fresh and homemade goods, enjoy the entertainment, and find that there is always something for everyone. Whatever you need, you can find it here, and anyone can sign up to have their own little stand. It is a wonderful place, or so it seems. Now, imagine starting out as a pumpkin farmer, and you want to sell your pumpkins at this market. The market owner asks 30% of every pumpkin that you sell. It's steep, but the market owner -- we'll call him Mr. Apple -- owns all the markets in your area, so you have little choice. Let's continue this analogy and imagine that, since it is a little hard for you to make ends meet, you decide to tell your customers that they can come visit you at your farm to purchase pumpkins. Mr. Apple overhears and shuts your stand down. You explain that your business cannot be profitable this way, but the grumpy market owner says that you can either comply or find another place. At the end of your rope, you look for information about starting your own farmers market, but it seems Mr. Apple owns every building in town. In the midst of Apple announcing its new products, attention is drawn away from its ongoing battle to maintain its subjugation over users globally. The Netherlands’ Authority for Consumers and Markets (ACM) last month informed the U.S. technology giant of its decision that the rules around the in-app payment system are anticompetitive, making it the first antitrust regulator to conclude that the company has abused market power in the App Store. And while Apple is appealing this verdict, the European Union is charging the company with another antitrust claim concerning the App Store. Read more

today's howtos

  • How To Install PostgreSQL 14 on Ubuntu 20.04 - howtodojo

    In this tutorial, we learn how to install PostgreSQL 14 on Ubuntu 20.04 (Focal Fossa). PostgreSQL, or usually called Postgres, is an open-source object-relational database management system (ORDBMS) with an emphasis on extensibility and standards compliance. PostgreSQL is ACID-compliant and transactional. It is developed by PostgreSQL Global Development Group (PGDG) that consists of many companies and individual contributors. PostgreSQL released under the terms of PostgreSQL license.

  • How to Install Minikube on CentOS 8 - Unixcop

    Minikube is open source software for setting up a single-node Kubernetes cluster on your local machine. The software starts up a virtual machine and runs a Kubernetes cluster inside of it, allowing you to test in a Kubernetes environment locally. Minikube is a tool that runs a single-node Kubernetes cluster in a virtual machine on your laptop. In this tutorial we will show you how to install Minikube on CentOS 8.

  • How to Install and Secure Redis on Ubuntu 20.04 | RoseHosting

    Redis (short for Remote Dictionary Server), is an open-source in-memory data structure store. It’s used as a flexible, highly available key-value database that maintains a high level of performance. It helps to reduce time delays and increase the performance of your application by accessing in microseconds.

  • How to Upgrade to Ubuntu 21.10 - OMG! Ubuntu!

    If the glowing reviews for the Ubuntu 21.10 release have you intrigued, here’s how to upgrade to Ubuntu 21.10 from an earlier version. Fair warning: this tutorial is super straightforward (the benefits of upgrading after a stable release, rather than a little bit before). Meaning no, you don’t need to be a Linux guru to get going! There are plenty of good reasons to upgrade from Ubuntu 21.04 to Ubuntu 21.10, such as benefiting from a newer Linux kernel, enjoying a new GNOME desktop, sampling the new Yaru Light theme, and getting to go hands-on with an able assortment of updated apps.

  • How to install Adobe Flash Player on a Chromebook

    Today we are looking at how to install Adobe Flash Player 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.

  • How to install OnlyOffice on Linux Lite 5.4 - Invidious

    In this video, we are looking at how to install OnlyOffice on Linux Lite 5.4. Enjoy!

  • Jenkins: How to add a JDK version - Anto ./ Online

    This guide will show you how to add a JDK version to Jenkins. If you plan to run a Java build requiring a specific version of the Java Development Kit, you need to do this.

  • Sending EmailsSend them from Linux Terminal? | Linux Journal

    Does your job require sending a lot of emails on a daily basis? And you often wonder if or how you can send email messages from the Linux terminal. This article explains about 6 different ways of sending emails using the Linux terminal. Let’s go through them.

Development version: GIMP 2.99.8 Released

GIMP 2.99.8 is our new development version, once again coming with a huge set of improvements. Read more Some early coverage:

  • GIMP 2.99.8 Released with Clone Tool Tweaks, Support for Windows Ink

    A new development version of GIMP is available to download and it carries some interesting new features. While this isn’t a new stable release — GIMP 2.10.28 is the most recent stable release (and the version you’ll find in Ubuntu 21.10’s archives) — the release of GIMP 2.99.8 is yet another brick in the road to the long-fabled GIMP 3.0 release. And it’s a fairly substantial brick, at that.

  • GIMP 2.99.8 Released As Another Step Toward The Long Overdue GIMP 3.0

    GIMP 3.0 as the GTK3 port of this open-source Adobe Photoshop alternative has been talked about for nearly a decade now and the work remains ongoing. However, out today is GIMP 2.99.8 as the newest development snapshot.

Mozilla: Six-Year Moziversary, Thomas Park/Codepip, and Weak Response to Critics of Firefox Spyware

  • Chris H-C: Six-Year Moziversary

    I’ve been working at Mozilla for six years today. Wow. Okay, so what’s happened… I’ve been promoted to Staff Software Engineer. Georg and I’d been working on that before he left, and then, well *gestures at everything*. This means it doesn’t really _feel_ that different to be a Staff instead of a Senior since I’ve been operating at the latter level for over a year now, but the it’s nice that the title caught up. Next stop: well, actually, I think Staff’s a good place for now. Firefox On Glean did indeed take my entire 2020 at work, and did complete on time and on budget. Glean is now available to be used in Firefox Desktop.

  • Hacks.Mozilla.Org: Hacks Decoded: Thomas Park, Founder of Codepip

    Thomas Park is a software developer based in the U.S. (Philadelphia, specifically). Previously, he was a teacher and researcher at Drexel University and even worked at Mozilla Foundation for a stint. Now, he’s the founder of Codepip, a platform that offers games that teach players how to code. Park has made a couple games himself: Flexbox Froggy and Grid Garden.

  • Mark Surman: Exploring better data stewardship at Mozilla [Ed: Mozilla fails to admit that spying on Firefox users is wrong; now it's misframing the criticism and responds to a straw man]

    Over the last few years, Mozilla has increasingly turned its attention to the question of ‘how we build more trustworthy AI?’ Data is at the core of this question. Who has our data? What are they using it for? Do they have my interests in mind, or only their own? Do I trust them? We decided earlier this year that ‘better data stewardship’ should be one of the three big areas of focus for our trustworthy AI work. One part of this focus is supporting the growing field of people working on data trusts, data cooperatives and other efforts to build trust and shift power dynamics around data. In partnership with Luminate and Siegel, we launched the Mozilla Data Futures Lab in March as a way to drive this part of the work.