Zipping Collections with Groovy

In computer science, zipping  translates sequences into sequences where, if visualized in two dimensions, the rows and columns are swapped. So the zip of: [[ 'a' , 'b' , 'c' ], [ 1 , 2 , 3 ]] would be: [[ 'a' , 1 ], [ 'b' , 2 ], [ 'c' , 3 ]] It's a very handy... [Read more...]

Jira Public Signup Disabled

Today, the Infrastructure Team took the step to disable public signups to ASF Jira This was not done lightly. The main reason for this is the amount of spam and spam accounts that are created every day, it has made managing Jira a big effort. In addition, Infra are planning with Atlassian to move to their Cloud service, where account limitations apply;... [Read more...]

CloudStack Integrations: StorPool Storage - High-p...

CloudStack is a multi-hypervisor, multi-tenant, high-availability cloud management platform that delivers the flexibility and freedom of open-source technology and the power of an enterprise-grade virtualization management platform. In the new blog series named CloudStack Integrations, we will present a range of technologies with which CloudStack is... [Read more...]

Whiskey Clustering with Groovy and Apache Ignite

In a previous blog post , we looked at using Apache Wayang  (incubating) and Apache Spark to scale up the k-means clustering algorithm. Let's look at another useful technology for scaling up this problem, Apache Ignite . They recently released a new version , but earlier versions are also fine for our example. Before we start, a quick... [Read more...]

NetBeans Pub Hangout in Prague

A group of Java engineers gathered in a pub in Prague last night to celebrate many years of their engagement in NetBeans, all having worked in Sun Microsystems or Oracle or both, continuing into the Apache world where NetBeans is now found. This will not be the last of such gatherings, anyone involved in NetBeans over the years is more than welcome to... [Read more...]

Groovy Dates And Times Cheat Sheet

Java has had a Date class from the very beginning and Groovy supports using it and several related classes like Calendar . Throughout this blog post we refer to those classes as the legacy date classes . Groovy enhances the experience of using the legacy date classes with simpler mechanisms for formatting, parsing and extracting fields from the... [Read more...]

Apache Maven EAR Plugin Version 3.3.0 Released

The Apache Maven team is pleased to announce the release of the Apache Maven EAR Plugin, version 3.3.0 This plugin generates Java EE Enterprise Archive (EAR) file. It can also generate the deployment descriptor file (e.g. application.xml). You should specify the version in your project's plugin configuration: NOTE: Requires JDK8 as... [Read more...]

Apache Maven Doxia Version 2.0.0-M4 released

The Apache Maven team is pleased to announce the release of the Apache Maven Doxia Version 2.0.0-M4, Released Doxia is a content generation framework which aims to provide its users with powerful techniques for generating static and dynamic content: Doxia can be used in web-based publishing context to generate static sites, in addition to being... [Read more...]

CVE-2022-42889: interpolations that allow RCE disa...

On 2022-10-13, the Apache Commons Text team disclosed CVE-2022-42889 . Key takeaways: If you rely on software that uses a version of commons-text prior to 1.10.0, you are likely still not vulnerable: you are only affected when this software uses the StringSubstitutor API without properly sanitizing any untrusted input. If your... [Read more...]

Apache Isis version 2.0.0-M9 Released

The Apache Isis team is pleased to announce the release of Apache Isis 2.0.0-M9. This is primarily a security release, to fix an XSS vulnerability (CVE-2022-42466).  There are one or two other small improvements and bug fixes. Full release notes are available on the Apache Isis website at [1]. You can access this release directly from the Maven... [Read more...]

CloudStack Collaboration Conference 2022 - Novembe...

The global Apache CloudStack community is hosting its major annual event - CloudStack Collaboration Conference, running from November 14th to November 16th 2022. The conference will be taking place in Sofia, Bulgaria. However, the conference is hybrid, allowing speakers and attendees to join virtually. The hybrid event is aimed at developers, operators... [Read more...]

Fruity Eclipse Collections

This blog post continues on to some degree from the previous post , but instead of deep learning, we'll look at clustering using k-means after first exploring some top methods of Eclipse Collections with fruit emoji examples. Eclipse Collections Fruit Salad First, we'll define a Fruit enum (it adds one additional fruit compared to the... [Read more...]

Deep Learning and Eclipse Collections

DeepLearning4J and Eclipse Collections revisited In previous blogs, we have covered Eclipse Collections and Deep Learning . Recently, a couple of the highly recommended katas for Eclipse Collections have been revamped to include "pet" and "fruit" emojis for a little bit of extra fun. What could be better than Learning Eclipse... [Read more...]

Apache Maven Daemon Version 0.8.2 Released

The Apache Maven team is pleased to announce the release of the Maven Daemon, version 0.8.2 . Apache Maven Daemon is a daemon infrastructure for Maven with caching capabilities and a native client for a better and faster user experience. You can download the appropriate etc. from the download page . Release Notes - Maven Daemon Version 0.8.2 ... [Read more...]

[ANN] Apache Isis version 2.0.0-M8 Released

The Apache Isis team is pleased to announce the release of Apache Isis 2.0.0-M8. New features in this release include: Full support for audit trail, command log, execution log for JPA and JDO New core extensions: SessionLog extension (ISIS-3062) ExecutionOutbox extension, to support the outbox pattern (ISIS-3002) Big improvements for value types,... [Read more...]

What’s New in Apache Kafka 3.3

We are proud to announce the release of Apache Kafka® 3.3 on behalf of the Apache Kafka community. The 3.3 release contains many new features and improvements. This blog post will highlight some of the more prominent features. For a full list of changes, be sure to check the 3.3.0 and 3.3.1 release notes. For several years, the Apache Kafka... [Read more...]

Apache CloudStack LTS Maintenance Release

The Apache CloudStack project is pleased to announce the release of CloudStack The CloudStack release is a maintenance release as part of its 4.17.x LTS branch and contains more than 150 fixes and improvements since the CloudStack release. Highlights include: * Support for Ubuntu 22.04 LTS as a management server and KVM... [Read more...]

Apache Maven Shared Component: Maven Verifier Vers...

The Apache Maven team is pleased to announce the release of the Maven Verifier, version 2.0.0-M1 . This library provides a test harness for Maven integration tests. You should specify the version in your project's dependency configuration: 1 <dependency> 2 <groupId> org.apache.maven.shared </groupId> 3... [Read more...]

Deck of cards with Groovy, JDK collections and Ecl...

Once again, Donald Raab has produced an interesting blog post on Eclipse Collections ; this one shows some code for modelling and manipulating cards with Java 17 and Eclipse Collections. His related katas are highly recommended. Here is the same example in Groovy (4.0.5 was used here) with just a few tweaks: enum Rank { ACE , TWO , THREE , ... [Read more...]

Encryption and decryption with Groovy

Inspired by this recent blog entry , here is an example showing how to encrypt and decrypt with Groovy. Using the JDK crypto classes First, we need some text to encrypt. We'll use an excerpt of the one from the aforementioned blog post: var text = 'Contrary to popular belief, Lorem Ipsum is not simply random text. \ It has roots in... [Read more...]


Today's active blogs

Popular blog tags

Related sites