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

How to Install Python 3.10 in Ubuntu and Other Related Linux

Planning to get the Python 3.10 installed for your work? Here's how to install Python 3.10 in Ubuntu and related distributions. Read more

today's leftovers

  • Newest Linux Optimizations Can Achieve 10M IOPS Per-Core With IO_uring - Phoronix

    Just one week ago Linux block subsystem maintainer Jens Axboe was optimizing the kernel to get 8 million IOPS on a single CPU core. He progressed the week hitting around ~8.9M IOPS per-core and began to think he was hitting the hardware limits and running out of possible optimizations. However, this week he is kicking things off by managing to hit 10 million IOPS!

  • Ubuntu Kylin 21.10 Quick overview #Shorts - Invidious

    A Quick overview of Ubuntu Kylin 21.10.

  • Reset Password On Any Linux Distro (No Root Needed) - Invidious

    Losing your access to your user account on Linux can be really frustrating but luckily resetting that lost password is actually incredibly easy but the process slightly changes depending on the bootloader you're using at least for the easy approach

  • Ubuntu Weekly Newsletter Issue 706

    Welcome to the Ubuntu Weekly Newsletter, Issue 706 for the week of October 17 – 23, 2021.

  • Rakudo Weekly News: 2021.43 Thank You

    Oleksandr Kyriukhin has released the 2021.10 version of the Rakudo Compiler, which includes all of the work of the new MoarVM dispatch mechanism. This is the culmination of more than 1.5 year work by many people, but mostly by Jonathan Worthington. A historic step forward that lays the groundwork on more efficient executing of Raku programs, and actually delivers on a number of improvements.

  • Team Profile by KDE's Cornelius Schumacher

    What makes a great team? One important factor is that you have a balanced set of skills and personalities in the team. A team which only consists of leaders won't get much work done. A team which only consists of workers will not work into the right direction. So how can you identify the right balance and combination of people? One answer is the Team Member Profile Test. It's a set of questions which team members answer. They are evaluated to give a result indicating which type of team member the person is and where it lies in the spectrum of possible types.

  • Some users on Reddit report that Windows 11 loses Internet connectivity when trying to connect to NordVPN.
  • Pat Gelsinger's Open-Source Bias, Intel's Pledge To Openness [Ed: Intel is openwashing again, but leaks from Intel show that Intel is a foe, not a a friend. It's also rather ironic that Intel puts an "open" letter in a proprietary site of Microsoft, which is viciously attacking Free software. Intel is a Microsoft booster.]

    Ahead of Intel's inaugural Intel Innovation event taking place virtually later this week, Intel CEO Pat Gelsinger published an open letter to an open ecosystem. In this open ecosystem letter, Gelsinger talks up opennness and choice, adding, "This is why I fundamentally believe in an open source bias, which powers the software-defined infrastructure that transformed the modern data center and ushered in the data-centric era."

Raspberry Pi and Arduino Leftovers

  • Fast Indoor Robot Watches Ceiling Lights, Instead of the Road

    To pull this off, [Andy] uses a camera with a fisheye lens aimed up towards the ceiling, and the video is processed on a Raspberry Pi 3.

  • Tackle The Monkey: Raspberry Pi Gets Round Screen | Hackaday

    You could argue that the project to add a round screen to a Raspberry Pi from [YamS1] isn’t strictly necessary. After all, you could use a square display with a mask around it, giving up some screen real estate for aesthetics. However, you’d still have a square shape around the screen and there’s something eye-catching about a small round screen for a watch, an indicator, or — as in this project — a talking head. The inspiration for the project was a quote from a Google quote about teaching a monkey to recite Shakespeare. A 3D printed monkey with a video head would be hard to do well with a rectangular screen, you have to admit. Possible with a little artistry, we are sure, but the round head effect is hard to beat. Honestly, it looks more like an ape to us, but we aren’t primate experts and we think most people would get the idea.

  • Move! makes burning calories a bit more fun | Arduino Blog

    Gamifying exercise allows people to become more motivated and participate more often in physical activities while also being distracted by doing something fun at the same time. This inspired a team of students from the Handong Global University in Pohang, South Korea to come up with a system, dubbed “Move!,” that uses a microcontroller to detect various gestures and perform certain actions in mobile games accordingly. They started by collecting many different gesture samples from a Nano 33 BLE Sense, which is worn by a person on their wrist. This data was then used to train a TensorFlow Lite model that classifies the gesture and sends it via Bluetooth to the host phone running the app. Currently, the team’s mobile app contains three games that a player can choose from.

Security Leftovers