16 Sep 2024

feedDZone Java Zone

How to Merge Excel XLSX Files in Java

In this article, we're going to learn how to increase the efficiency of a common file merging workflow with the help of a web API solution. Specifically, we are going to learn how to merge Excel XLSX files - one of the most common document types we can expect to work within a file-processing automation environment.

Context for Programmatic XLSX File Merging

If we're writing code to solve problems related to file processing efficiency and automation, there's a good chance we're creating and/or expanding applications that deal with large volumes of Excel files. We may, for example, find that there's no automated workflow currently in place (or, perhaps, an inefficient one) to combine the various unique Excel reports created by each individual department in our organization.

16 Sep 2024 12:00pm GMT

15 Sep 2024

feedJBoss Blogs

Using the Expansion Operator with WildFly CLI

WildFly CLI (Command Line Interface) allows you to manage and configure WildFly application server instances. One of its powerful features is expansion expressions, which enable you to work with multiple resources efficiently. In this tutorial we will learn how to perform multiple operation commands using the expansion operator (*) when possible and by iterating over ... The post appeared first on .

15 Sep 2024 9:10pm GMT

14 Sep 2024

feedJBoss Blogs

Quarkus 3.14.4 - Maintenance release

We released Quarkus 3.14.4, a maintenance release for our 3.14 release train. It contains several important bugfixes so we recommend the upgrade for anyone already using 3.14. It is especially important if you are using the combination of Gradle and Kotlin as we reverted an enhancement that caused an important regression. UPDATE To update to Quarkus 3.14, we recommend updating to the latest version of the Quarkus CLI and run: quarkus update Note that quarkus update can update your applications from any version of Quarkus (including 2.x) to Quarkus 3.14. For more information about the adjustments you need to make to your applications, please refer to the . FULL CHANGELOG You can get the full changelog of on GitHub. COME JOIN US We value your feedback a lot so please report bugs, ask for improvements… Let's build something great together! If you are a Quarkus user or just curious, don't be shy and join our welcoming community: * provide feedback on ; * craft some code and ; * discuss with us on and on the ; * ask your questions on .

14 Sep 2024 12:00am GMT

13 Sep 2024

feedDZone Java Zone

How To Solve OutOfMemoryError: Metaspace

There are 9 types of java.lang.OutOfMemoryErrors, each signaling a unique memory-related issue within Java applications. Among these, java.lang.OutOfMemoryError: Metaspace is a challenging error to diagnose. In this post, we'll delve into the root causes behind this error, explore potential solutions, and discuss effective diagnostic methods to troubleshoot this problem. Let's equip ourselves with the knowledge and tools to conquer this common adversary.
OutofMemoryError: Metaspace graphic

JVM Memory Regions

To better understand OutOfMemoryError, we first need to understand different JVM Memory regions. Here is a video clip that gives a good introduction to different JVM memory regions. But in a nutshell, JVM has the following memory regions:

JVM Memory Regions

Figure 1: JVM memory regions

13 Sep 2024 2:00pm GMT

12 Sep 2024

feedDZone Java Zone

Understanding Floating-Point Precision Issues in Java

Java Floating Numbers Look Familiar

In Java, we have two types of floating-point numbers: float and double. All Java developers know them but can't answer a simple question described in the following meme:
Prove you are robot

Are you robot enough?

12 Sep 2024 11:00am GMT

feedJavaScript Weekly

The heaviest npm packages

#​704 - September 12, 2024

Read on the Web

JavaScript Weekly

The State of ES5 on the Web - Some of the earlier JavaScript build tools focused on allowing developers to write modern JavaScript code that could still run on the browsers of the time by compiling code down to ES5. Time has moved on, but have the tools or popular libraries? Philip investigates, and shares some recommendations.

Philip Walton

πŸ“Š The Top 5000 npm Packages by Size, Downloads, and Traffic - An interesting Google Sheets spreadsheet listing the top 5000 npm packages by package size, weekly downloads, and weekly traffic. One package is responsible for 278 terabytes of traffic per week, but the top 5000 add up to several petabytes.

Google Sheets / danhorus

Run GitHub Actions Up to 2x Faster at Half the Cost - Blacksmith runs your GitHub Actions substantially faster by running them on modern gaming CPUs. Integrating Blacksmith is a one-line code change. 100+ companies like Ashby, Superblocks, and Slope use Blacksmith to help developers merge code faster.

Blacksmith sponsor

Announcing TypeScript 5.6 - The latest TypeScript has landed with full support for iterator helpers, support for arbitrary module identifiers, --noUncheckedSideEffectImports to import modules without importing any values, and more - all covered in the always thorough release post.

Daniel Rosenwasser (Microsoft)

Is PHP the New JavaScript? - I'm no real fan of PHP, but there's been a lot of discussion on social media around increased interest in PHP by developers who'd usually steer clear of it, largely thanks to Laravel. This post tells the basic story and explains what Laravel brings to the table.

Dave Kiss (Mux)

IN BRIEF:

RELEASES:

πŸ“’ Articles & Tutorials

The Web's Clipboard, and How It Stores Data of Different Types - An interesting exploration of how things currently work with copy and pasting on the web, how different data types are treated, and what the Web Custom Formats proposal is putting forward.

Alex Harri JΓ³nsson

Breakpoints and console.log Is the Past, Time Travel Is the Future - 15x faster JavaScript debugging than with breakpoints and console.log, supports Vitest, jest, karma, jasmine, and more. Just added support for Node.js built-in node:test framework!

Wallaby Team sponsor

Building the Same App Using Various Web Frameworks - A scientist at Amazon who usually works in Python with a minimum of JavaScript on the frontend wondered if a more modern web framework would suit him better in 2024. To try this out, he tried Next.js, SvelteKit, and the Python-flavored FastHTML.

Eugene Yan

Brand New Performance Features in Chrome DevTools - A helpful look into Chrome's updated Performance Panel and all the different metrics it shows off to help you improve the performance of your site.

Umar Hansa (DebugBear)

React and FormData - FormData is ironically both the 'newest and yet oldest' standard for accessing form data. Here are some practical ways for using it with TypeScript.

Brad Westfall

Automate Neon Schema Changes with Drizzle and GitHub Actions - Learn about schema migrations and how they can be applied to a Neon database with Drizzle and GitHub Actions.

Clerk sponsor

πŸ“„ The Secrets of JavaScript's delete Operator Zachary Lee

πŸ“„ Deploying a Next.js App to Production on Any Server Kurta Payjama

πŸ“„ How to Create a Weekly Google Analytics Report That Posts to Slack Paul Scanlon

πŸ“„ Top 10 Angular Architecture Mistakes You Really Want To Avoid Tomas Trajan

πŸ“„ How to Fix ESLint Violations with AI Assistance Docker Labs

πŸ“Ί Why You Should Use Redux in 2024 Mark Erikson

πŸ›  Code & Tools

Biome v1.9 Released; Turns One Year Old - Biome started life as a fork of Rome, a bold attempt to create an all-in-one 'frontend toolchain'. As of v1.9, Biome can format and lint CSS, GraphQL, and JavaScript, does it very quickly, yet has 97% compatibility with Prettier.

Victorien Elvinger & Biome Core Team

Express.js 5.0 Released - The seminal Node.js webapp library seemed to take a nap for a few years, but development was reinvigorated earlier this year. v5.0 brings a variety of modern tweaks and dependency updates, though it's still tagged next at the npm registry. (Official homepage and v5.x API docs.)

Wesley Todd

βœ‚οΈ Cut Your QA Cycles Down from Hours to Minutes - QA Wolf's AI-native approach gets engineering teams to 80% automated end-to-end test coverage and helps them ship 2x faster by reducing QA cycles from hours to minutes.

QA Wolf sponsor

Jimp 1.6: Manipulate Images without Native Dependencies - Most image libraries, such as Sharp, use native dependencies to do the heavy lifting, but Jimp can handle numerous formats directly for blurring, color tweaks, resizing, rotation, etc. Originally for Node, Jimp now works in the browser too - GitHub repo.

jimp Contributors

Valtio 2.0: Proxy State Made Simple - Turns objects into self-aware proxies so you can access state and subscribe to changes outside of components, add computed properties and more. Designed for React and compatible with Suspense, but can also be used with vanilla JS. - GitHub repo.

Daishi Kato

Violentmonkey: A Way to Run Userscripts in the Browser - There have been many extensions to run your own custom JavaScript automatically on certain Web pages over the years, but Violentmonkey seems to currently be one of the better and well maintained open source ones. GitHub repo.

Violentmonkey Team

  • πŸ”Ž Orama 2.1 - Dependency-free, full-text and vector search engine for all JS runtimes, with typo tolerance, filters, facets, stemming, and more.

  • create-fastify 5.0 - Rapidly generate a Fastify project. It just takes npm init fastify app_name to get started.

  • file-type 19.5 - Detect the file type of a file, stream, or data. Now with WebVTT support.

  • TWGL.js 6.1 - Helpers for working with low-level WebGL from JS.

  • 🎨 Chroma.js 3.1 - JavaScript color manipulation library.

  • Pixi.js 8.4 - Fast, flexible 2D WebGL renderer.

12 Sep 2024 12:00am GMT

feedJBoss Blogs

Quarkus Newsletter #48 - September

"Harnessing Automatic Setup and Integration with Quarkus Dev Services for Efficient Development" by Ivelin Yanev to see the simplicity and power of Quarkus to encourage experimentation, quicker iterations, and ultimately a faster development cycle. Learn how to to make the Quarkus build goal cacheable with minimal modifications to the Maven build configuration, reusing outputs from previous builds to save time in JΓ©rΓ΄me Prinet's article "Accelerate your Quarkus Maven builds with Develocity Build Cache". Read "Implementing a Quarkus REST API using PostgreSQL as Database" by Ivan Franchin as a step-by-step guide on how to implement the Movie API, a Quarkus application that uses PostgreSQL as database Explore how to create a dummy REST API in Quarkus and demonstrate various methods to consume it using different clients by reading "How to Consume REST API in Quarkus" by Alexandru Borza. Learn how to get the most out of your serialization performance in "Leveraging Quarkus build-time metaprogramming capabilities to improve Jackson's serialization performance" by Mario Fusco. Learn about the creation of the Quarkus JDiameter extension in Eddie Carpenter's blog post, "Revolutionizing Telecom Microservice - Modernizing JDiameter with Quarkus". You will also see the latest Quarkus Insights episodes, top tweets/discussions and upcoming Quarkus attended events. Check out ! Want to get newsletters in your inbox? using the on page form.

12 Sep 2024 12:00am GMT

05 Sep 2024

feedJavaScript Weekly

Reverse engineering minified JS with ChatGPT

#​703 - September 5, 2024

Read on the Web

JavaScript Weekly

An SSR Performance Showdown - Fastify's Matteo Collina set out to find the current state of server-side rendering performance across today's most popular libraries. The first attempt faced negative feedback due to implementation issues, but the showdown has been improved and re-run.

Matteo Collina

Announcing Vue 3.5 - While v3.5 is a minor release, it's one Vue users will love, with big performance and memory usage improvements in its reactivity system. With no breaking changes, upgrade and watch memory consumption drop.

Evan You

WorkOS: The Modern Identity Platform for B2B SaaS - WorkOS is a modern identity platform for B2B SaaS, offering flexible and easy-to-use APIs to integrate SSO, SCIM, and RBAC in minutes instead of months. It's trusted by hundreds of high-growth startups such as Perplexity, Vercel, Drata, and Webflow.

WorkOS sponsor

Reverse Engineering Minified JavaScript with ChatGPT - Writing new code with AI is one thing, but could it be even better at understanding existing code that you're struggling to grok? Yes, it seems.

Frank Fiegel

Inside ECMAScript: JavaScript Standards Get an Extra Stage - After nine years of annual updates, TC39 has tweaked the process to make rolling out new features faster and smoother. The so-called 'Stage 2.7' has been around for a while, but this is a neat primer to what it represents.

Mary Branscombe (The New Stack)

IN BRIEF:

[Workshop] Fix Your Front-End: JavaScript Edition - Learn practical tips to make debugging more tolerable. Join our JavaScript team live for a masterclass on Sept 24.

Sentry sponsor

RELEASES:

πŸ“’ Articles & Tutorials

β–Ά Behind the Scenes: The Making of VS Code - A detailed conversation with two of the popular editor's principal engineers on what makes it tick. VS Code is surely one of the world's most widely distributed JavaScript-powered apps.

Holland, Rieken and Pasero (Microsoft)

How I Created a 3.78MB Docker Image for a JavaScript Service - The smallest JavaScript app container images tend to run into tens of megabytes, but tailoring your app to run on a lighter runtime like llrt can yield striking results.

Shenzilong

Leave Forms to SurveyJS and Get Back to What You Love Coding - Extensible JavaScript libraries for form management. Drag-and-drop UI, JSON form definitions, and seamless integration with any backend for full data control.

SurveyJS sponsor

Exploring Goja: A Go-Powered JavaScript Runtime - Goja is a pure Go(lang) JS runtime that makes it possible to embed JS into Go apps.

JT Archie

How to Use React Compiler - The compiler feature in React 19 is generating a lot of buzz - this "complete guide", as described by this author, covers much of what you'll need to get started.

Tapas Adhikary

Multithreaded Programming in Node.js using Atomics - Worker threads enable you to write multi-threaded Node apps, but sharing resources across them can quickly become tricky. Atomics can help avoid some of the pain.

Pavel Romanov

πŸ“„ A Complete Guide to Beginning with JavaScript - A rather epic article packed with background knowledge, context, and third party resources for starting a modern JavaScript learning journey. Cody Lindley

πŸ“„ Implementing Filtered Semantic Search Using pgvector and JavaScript Team Timescale

πŸ“„ How to Quickly (and Weightlessly) Convert Chrome Extensions to Safari Nina Torgunakova (Evil Martians)

πŸ“„ How Sentry Uses Mutation Testing on its JavaScript SDKs Lukas Stracke (Sentry)

🎀 Talking Deno 2 with Ryan Dahl Syntaxβ€€fm Podcast

πŸ›  Code & Tools

jsdiff 6.0: A JavaScript Text Diffing Implementation - Can compare strings for differences in various ways including creating patches. There's an online demo. (Don't worry - we're not going monthly ;-))

Kevin Decker

Redwood v8.0 Released - A long standing, opinionated React & GraphQL (and/or RSC) full-stack framework that covers all the bases for professional dev teams with best-in-class tool support. v8.0 introduces a background jobs system, Docker support, and easier SSR and RSC setup.

Redwood Team

Tests Are Dead. Meticulous Is Here - Automatically creates & maintains E2E UI tests. Zero flakes. Backed by YC, CTO of GitHub, CPO of Adobe, CEO of Vercel.

Meticulous sponsor

πŸ‡¬πŸ‡§ GOV.UK Vue 1.0: Build Vue Apps, the British Way - The UK government is known for having an effective, well-designed site where Brits can complete various official tasks. Now you can get all of their components in Vue 3 form.

UK Government

πŸ‘€ style-observer: A Mutation Observer for CSS - Attach JavaScript callbacks to changes in computed values of CSS properties.

Bramus Van Damme

Goxygen: Quickly Generate a Go Backend for a JS Project - A tool that sets up a new Go-based project with Angular, React, or Vue in the front-end, and Docker and Docker Compose files to make it all work.

Sasha Shpota

Typist 7.0: Tiptap-Based Rich Text Editor Component - Simple and opinionated. You can try several examples in the sidebar. Well suited for basic rich text situations like writing comments or messages and has a single-line mode.

Doist

Belt: A New Tool for Starting React Native Apps - A CLI tool for starting a new React Native app that takes various mundane decisions away from you and uses tooling and conventions established by a productive app development team.

Thoughtbot

  • Tinybase 5.2 - Powerful reactive data store for local‑first apps. Now with Postgres support (which can even work in-browser!)

  • jsdoc-to-markdown 9.0 - Generate Markdown docs from JSDoc-annotated code.

  • LogTape 0.5 - No-dependency logging lib for Deno, Node, Bun & browsers.

  • Plasmo 0.89 - Imagine Next.js but for building browser extensions.

  • JsonTree.js 3.0 - Customizable tree views for JSON data.

  • Poku 2.6 - Cross-platform JavaScript test runner.

  • Faker 9.0 - Generate large amounts of fake data.

05 Sep 2024 12:00am GMT

29 Aug 2024

feedJavaScript Weekly

JavaScript's Rust tool belt

#​702 - August 29, 2024

Read on the Web

JavaScript Weekly

Rspack 1.0: The Rust-Powered JavaScript Bundler - Far from being 'yet another bundler' with its own approach and terminology to learn, Rspack prides itself on being webpack API and ecosystem compatible, while offering many times the performance. The team now considers it production ready and encourages you to try your webpack-based projects on it.

Rspack Contributors

πŸ’‘ Rspack also has a family of ancillary tools worth checking out, such as Rsdoctor, a tool for analyzing and visualizing your build process (for both Rspack and webpack!)

Front-End System Design - Learn to create scalable, efficient user interfaces in this extensive video course by Evgennii Ray. Explore the box model, browser rendering, DOM manipulation, state management, performance and much more.

Frontend Masters sponsor

How to Create an NPM Package in 2024 - Sounds simple, but there are a lot of steps involved if you want to follow best practices, introduce useful tools, and get things just right. Matt Pocock walks through the process here, and there's a 14-minute screencast too, if you'd prefer to watch along.

Matt Pocock

IN BRIEF:

RELEASES:

πŸ“’ Articles & Tutorials

JS Dates are About to Be Fixed - Handling dates and times is famously a painful area for programmers and JavaScript hasn't done a lot to make it easier. Libraries like Moment.js help a lot, but Iago looks at how the Temporal proposal and its features will begin to help a lot more over time.

Iago Lastra

Weekly Chats on the Art and Practice of Programming - Your home for weekly conversations with fascinating guests about how technology is made and where it's headed.

The Stack Overflow Podcast sponsor

JavaScript Generators Explained - Jan was frustrated by the quality of documentation and articles explaining generators in JavaScript, and set out to explain things in a way that a more advanced developer could appreciate.

Jan Hesters

Implementing a React-a-Like from Scratch - While it's unlikely you'll actually want to do this, at least thinking about it can prove instructive as to what's going on in React's engine room.

Robby Pruzan

β–Ά How to Implement the 2048 Game in JavaScript - Ania is back with one of her usual easy to follow walkthroughs of implementing a complete game in JavaScript. This time it's the 2048 sliding puzzle game. (Two weeks ago she did Tic-Tac-Toe as well.)

Ania KubΓ³w

Learn Role-Based Access Control and Simplify Permissions Management - Enhance security and streamline access by managing user roles with Clerk Organizations.

Clerk sponsor

πŸ“„ The Only Widely Recognized JS Feature Ever Deprecated - Spoiler: It's with. Trevor Lasn

πŸ“„ Generating Unique Random Numbers in JavaScript Using Sets Amejimaobari

πŸ“Ί 21 Talks from the Chain React 2024 Conference - A React Native event. YouTube

πŸ“„ Exposing Internal Methods on Vue Custom Elements Jaime Jones

πŸ“„ The Interface Segregation Principle in React Alex Kondov

πŸ›  Code & Tools

TypeScript 5.6 Release Candidate - As always, Daniel presents an epic roundup of what's new. We'll focus more on it next week though, as the final release is anticipated to land next Tuesday (September 3).

Daniel Rosenwasser (Microsoft)

Vuestic UI 1.10: A Vue.js 3.0 UI Framework - Features 60 customizable and responsive components and with the v1.10 release it's gained a significant bundle size optimization, a custom compiler that improves build time performance, and other minor enhancements. GitHub repo.

Vuestic UI

βœ… Bye Bye Bugs - Get 80% automated E2E test coverage for mobile and web apps in under 4 months with QA Wolf. With QA cycles complete in minutes (not days), bugs don't stand a chance. Schedule a demo.

QA Wolf sponsor

Material UI v6: The Popular React UI Design/Component System - At ten years old, the popular design system has its latest major release. There's a focus on improved theming, color scheme management, container queries, and React 19 support. There are revamped templates to be inspired by, too.

GarcΓ­a, Bittu, Andai, et al.

npm-check-updates 17.0: Update package.json Dependencies to Latest Versions - That is, as opposed to the specified versions. It includes a handy -i interactive mode so you can look at potential upgrades and then opt in to them one by one.

Raine Revere

Code Hike 1.0: Turn Markdown into Rich Interactive Experiences - Aimed at use cases like code walkthroughs and interactive docs, Code Hike bridges the gap between Markdown and React when creating technical content that takes full advantage of the modern web.

Rodrigo Pombo

Calendar.js: A Calendar Control with Drag and Drop - A responsive calendar with no dependencies, full drag and drop support (even between calendars), and many ways to manage events with recurring events, exporting, holidays, and more.

William Troup

29 Aug 2024 12:00am GMT

17 Jul 2024

feedOfficial jQuery Blog

Second Beta of jQuery 4.0.0

Last February, we released the first beta of jQuery 4.0.0. We're now ready to release a second, and we expect a release candidate to come soonβ„’. This release comes with a major rewrite to jQuery's testing infrastructure, which removed all deprecated or under-supported dependencies. But the main change that warranted a second beta was a … Continue reading β†’

17 Jul 2024 2:03pm GMT

17 Apr 2024

feedOfficial jQuery Blog

Upgrading jQuery: Working Towards a Healthy Web

jQuery's influence on the web will always be evident. When it was first introduced in 2006, jQuery became a fundamental tool for web developers almost immediately. It simplified JavaScript programming, making it easier to manipulate HTML documents, handle events, perform animations, and much more. Since then, it has played and continues to play a major … Continue reading β†’

17 Apr 2024 5:00pm GMT

06 Feb 2024

feedOfficial jQuery Blog

jQuery 4.0.0 BETA!

jQuery 4.0.0 has been in the works for a long time, but it is now ready for a beta release! There's a lot to cover, and the team is excited to see it released. We've got bug fixes, performance improvements, and some breaking changes. We removed support for IE<11 after all! Still, we expect disruption … Continue reading β†’

06 Feb 2024 4:43pm GMT