foojay

MongoDB Aggregation Framework: A Beginner’s Guide

Author: Tim Kelly Original post on Foojay: Read More Table of Contents Aggregation pipelineAggregation stages $Match $Project $Unwind $Group $Sort $AddFields Combining stagesWrapping up Finding exactly the data we need isn’t always a simple task. You’ve probably faced situations where you needed to filter information, group it, and even perform calculations to produce a final result. And often, delivering this …

Read More »

Java’s Structured Concurrency: Finally Finding Its Footing

Author: A N M Bazlur Rahman Original post on Foojay: Read More Table of Contents What Actually Changed This Time The Core Concept Remains Strong The headline change: static factory methods Joiners: pick your success policy Rolling your own Joiner Better cancellation and deadlines Scoped values ride along Guard-rails against misuse Observability improvements Some more examples to try out Final …

Read More »

Cloudflare Tunnel for Home Assistant

Author: Nicolas Frankel Original post on Foojay: Read More Table of Contents The initial setupCloudflare Tunnel for Home AssistantRemoving Let’s Encrypt add-onConclusion I continue to take care of my Home Assistant. This week, I replaced my original setup with Cloudflare Tunnel. This is the 6th post in the My journey with Home Assistant focus series. Other posts include: Why Home …

Read More »

JavaFX Links of May 2025

Author: Frank Delporte Original post on Foojay: Read More Table of Contents CoreApplicationsComponents, Libraries, ToolsPodcasts, Videos, BooksConferencesTutorialsMiscellaneousJFX Central Here is the overview of the JavaFX LinksOfTheMonth of April 2025. You can find the weekly lists on jfx-central.com. Did we miss anything? Is there anything you want to have included in one of the next overviews? Let us know via links@jfx-central.com. …

Read More »

Getting a single value from a device’s state in Home Assistant

Author: Nicolas Frankel Original post on Foojay: Read More I recently acquired Netatmo smart radiator valves to manage my rooms’ temperature remotely. I’m not skilled at manual tasks, but I could easily replace the old thermo-static valves. I then registered the smart ones in the Netatmo app. Finally, I integrated them in my Home Assistant via the dedicated Netatmo integration. …

Read More »

Brokk: AI for Large (Java) Codebases

Author: Jonathan Ellis Original post on Foojay: Read More Table of Contents Sidebar: Under the HoodRecommendations Working with Git Sidebar: LLM ModelsThe Edit Loop There are two reasons that AI makes mistakes writing code: The LLM just isn’t smart enough to tackle the problem effectively, and it simply gets the answer wrong. The AI doesn’t know enough about the relationships …

Read More »

Testing MongoDB Atlas Search Java Apps Using TestContainers

Author: Luke Thompson Original post on Foojay: Read More Table of Contents What is MongoDB Atlas Search, anyway?Local development and testing with MongoDB Atlas Search What’s TestContainers? Let’s write some code! Simple CRUD data access and unit tests MongoDB Atlas Search with seed data and index wait Advanced seed data loading: MongoDB Database Tools Loading a mongodump BSON database and …

Read More »

10 Best Practises For Jakarta EE Performance Optimization

Author: Ondro Mihalyi Original post on Foojay: Read More Table of Contents Quick ComparisonSecrets of Performance Tuning Java on Kubernetes by Bruno BorgesNext Steps With this article, we start a series where we compiled 10 best practices for performance optimizations and suggestions how to implement them using Jakarta EE & Eclipse GlassFish. Enjoy reading this initial overview and watching the video about performance tuning …

Read More »

Intro to RAG: Foundations of Retrieval Augmented Generation, part 1

Author: Jennifer Reif Original post on Foojay: Read More Table of Contents Why RAG?Large Language Models (LLMs)Vector embeddings Vectors applied to words Vectors applied to data Similarity search Wrapping up!Resources Retrieval Augmented Generation (RAG) may sound complex, but it accurately represents the process of the system. RAG is a method that enhances the capabilities of Large Language Models (LLMs) by …

Read More »