Codetown is a software developer's community. It's a technical networking and educational group focused on software development.

Photos

  • Add Photos
  • View All

JavaSpecialists

Issue 329 - Filtering Exceptions via try

One of the ways of figuring out the type of an exception is with instanceof. Another is to re-throw it, and to use the catch mechanism to sort things out. In this newsletter we look at different options, including switch with pattern matching.

Issue 328 - Negative size() in LinkedBlockingDeque

The LinkedBlockingDeque has an interesting feature in addAll(), where they first build up the linked nodes and then add them all to the tail. However, a bug allowed us to overflow the size, resulting in a negative count. In this newsletter we look at this bug, and also how it was fixed in Java 26.

Issue 327 - ShuffleGatherer

Instead of shuffling our stream at the end in the collect() method, we can also shuffle it in stages using the new stream gatherers. This allows us to shuffle sections at a time and even support infinite streams.

Issue 326 - Stream Gathering with a Different Distinct Function

A few years ago, we tried to create a new distinct() function for a Stream. It wasn't pretty. In this newsletter we revisit that adventure using the new Stream Gatherers from Java 24.

Issue 325 - Be a Distinguished Java Engineer in the Age of Vibe Coding

We are all amazed how AI can help us in everyday tasks. It can even write Java code. But "Show me the Pull Requests" (Evans) sums it up nicely. We do not (yet) see AI massively improving open source projects.


Birthdays

Birthdays Tomorrow

Badge

Loading…

Who Reads Codetown?

 

Events

Blog Posts

New Java features

Posted by Michael Levin on August 29, 2025 at 5:32pm 0 Comments

August 28 2025, Newsletter no. 297 (this newsletter is available in html format at http://www.javaperformancetuning.com/news/news297.shtml )



As usual before a Java release, I'm listing all the new…

Continue

Free Eclipse book, recently published

Posted by Michael Levin on August 24, 2025 at 11:59am 0 Comments

Hi Everyone,
My publisher is running a free Amazon Kindle book promotion through Monday, August 25th, 2025. The book, “Eclipse Collections Categorically: Level up your programming game” can be obtained for $0 on Kindle on Amazon through the August 25th.…
Continue

What is vibe coding?

Posted by Michael Levin on June 9, 2025 at 9:37am 0 Comments

Vibe coding isn’t a formal technical term, but it’s become a slang or colloquial expression among programmers and tech communities—especially on social media and in creative coding circles.

What “vibe coding” usually means:

  1. Coding based on intuition or feel

    Instead of rigidly planning everything out, you’re:

    • Freestyling as you…
Continue

Groups

Forum

Java books for any library 5 Replies

What books should be on the bookshelf of EVERY Java programmer, no matter what specific technologies they are working on?The two that come to my mind areThinking in JavaJava Concurrency in PracticeWhat else am I missing?Continue

Started by David Moskowitz in Java. Last reply by sneha gulati Feb 8, 2019.

Error trying to use Fragment

I am new to Android.  I have been working thru some examples in a book called  Head First Android Development.  I entered a small program using fragments and get a Casting Error.cannot cast andoid.app.fragment to…Continue

Tags: Fragment

Started by Robert Sobol in Java Oct 10, 2017.

Fragment Syntax Problem

My name is Rob Sobol.I have been working through a book called Head First Android Development.I hit a syntax error in a simple exercise that uses one fragment. I have been trying to figure out the error for days.  I am hoping some in the forum can…Continue

Tags: Fragments

Started by Robert Sobol in Java Oct 10, 2017.

Hadoop getting old?

An article just came out in InfoWorld about trends, which is always an interesting subject. Funny, they said Hadoop wasn't hot. Spark is. It's a good read. …Continue

Tags: codetown, infoworld, programming, hadoop, trends

Started by Michael Levin in Trends Apr 10, 2017.

What's functional programming, anyway?

Can you believe people are still trying to come up with a good definition or explanation of what functional programming is? Paul Krill is a journalist with InfoWorld. Here's an article he just wrote: …Continue

Tags: functions., codetown, lambdas, clojure, programming

Started by Michael Levin in Functional Programming Feb 21, 2016.

Santafe College 2 Replies

Santafe just added a new BAS  bachelor's program of study. 5651  ProgrammingContinue

Started by Dan Lackey in Dynamic Languages. Last reply by Michael Levin Feb 15, 2016.

Using SQL with Node,.js 1 Reply

All the tutorials and books for node.js seem to use Mongo as the database.  I am not sold on 'document' databases and would like to know how difficult it is to use any version for plain old tried-and-true SQL with Node.js.Does anybody have any…Continue

Tags: 'document, databases', SQL, node, node.js

Started by Kevin Neelands in Dynamic Languages. Last reply by Lou Caudell Nov 10, 2015.

The advantages of a RESTfull web-based API 5 Replies

I need to get a better handle on the advantages of a RESTful web-based API.  People tell me they scale better than other methods, but I don't see how they reduce database access or have any other feature that helps handle large amounts of traffic.…Continue

Tags: API', 'web-based, RESTful

Started by Kevin Neelands in Dynamic Languages. Last reply by Kevin Neelands Oct 25, 2015.

Want a Job? 1 Reply

Hi, Not sure if this is the appropriate place to post this sort of things (forgive me if its not). My company (really nice company btw) is looking to hire two junior and two senior Java Developers. Please forward me your resume to slaassel@gmail.com…Continue

Started by Saad Laassel in Java. Last reply by Theresa Wizorek-MacIntyre Oct 15, 2014.

Storing Sensitive Data ( like SSNs ) 1 Reply

We might have to store Social Security Numbers.  We REALLY don't want to do this in our own database, we'd like some external 'vault' service that stores them encrypted and getting to them is difficult.  Does anyone have any ideas along these lines?Continue

Started by Kevin Neelands in Java. Last reply by Michael Levin May 7, 2014.

Members

Latest Activity

Milan updated their profile
21 hours ago
Milan is now a member of Codetown
Thursday
Mia James is now a member of Codetown
Oct 16
Michael Levin left a comment for Tobias Ivarsson
"Happy birthday, Tobias! Hope it’s a great one."
Oct 11
Michael Levin posted a video

Ever wondered how companies gauge customer interest? Discover the surprising tactics from Expedia...

In an intriguing throwback, key insights from the life of Dara Khosrowshahi unveil how seemingly ineffective strategies, like implementing a non-functioning ...
Sep 29
Lucas updated their profile
Sep 25
Lucas is now a member of Codetown
Sep 24
Michael Levin posted a photo
Sep 19
Michael Levin posted a photo
Sep 17
Elowen updated their profile
Sep 17
Michael Levin posted photos
Sep 16
Elowen is now a member of Codetown
Sep 16
johnyosin updated their profile
Sep 11
johnyosin is now a member of Codetown
Sep 11
Jim White left a comment for Michael Levin
"Thanks Mike!  What a blast from the past!  That Red Hat swag! ;-). Jim"
Sep 9
Michael Levin left a comment for Jim White
"Happy birthday!"
Sep 9
Karan Aujla is now a member of Codetown
Sep 5
Loyltworks is now a member of Codetown
Sep 4
Michael Levin shared their event on Facebook
Sep 4
Michael Levin posted an event
Thumbnail

Dev2Next at Colorado Springs Marriott

September 29, 2025 at 6pm to October 1, 2025 at 7pm
It's hard to believe, but we're in the last few weeks heading up to the dev2next 2025 conference. I'm eager to welcome speakers and attendees at the event. The Near Time Registration is open for those who have been waiting to get their final approvals to attend. Hotel rooms reserved, flights booked, meals planned, swags ordered (did I say swags), I can't wait for the…See More
Sep 4
 
 
 

Happy 10th year, JCertif!

Notes

Welcome to Codetown!

Codetown is a social network. It's got blogs, forums, groups, personal pages and more! You might think of Codetown as a funky camper van with lots of compartments for your stuff and a great multimedia system, too! Best of all, Codetown has room for all of your friends.

When you create a profile for yourself you get a personal page automatically. That's where you can be creative and do your own thing. People who want to get to know you will click on your name or picture and…
Continue

Created by Michael Levin Dec 18, 2008 at 6:56pm. Last updated by Michael Levin May 4, 2018.

Looking for Jobs or Staff?

Check out the Codetown Jobs group.

 

Enjoy the site? Support Codetown with your donation.



InfoQ Reading List

Java News Roundup: New Jakarta AI Specification, GlassFish, Spring RCs, Infinispan 16, Open Liberty

This week's Java roundup for November 3rd, 2025, features news highlighting: a new Jakarta AI specification; the fourteenth milestone release of GlassFish 8.0; second release candidates of Spring Boot 4.0, Spring for GraphQL 2.0 and Spring Batch 6.0; the release of Infinispan 16.0; and the November 2025 edition of Open Liberty.

By Michael Redlich

CodeClash Benchmarks LLMs through Multi-Round Coding Competitions

Researchers from Standford, Princeton, and Cornell have developed a new benchmark to better evaluate coding abilities of large language models (LLMs). Called CodeClash, the new benchmark pits LLMs against each other in multi-round tournaments to assess their capacity to achieve competitive, high-level objectives beyond narrowly defined, task-specific problems.

By Sergio De Simone

Presentation: Growing and Cultivating Strong Machine Learning Engineers

Vivek Gupta shares best practices for managing and mentoring ML engineers, from early-career development to senior leadership growth. He breaks down the crucial, distinct skills for Production Machine Learning, including data/model management, building training pipelines, LLM prompt evaluation, privacy/security, and integrating human-in-the-loop processes for reliable, scalable AI systems.

By Vivek Gupta

Dev Proxy v1.3.0: HAR File Generation, LLM Usage Tracking, and Enhanced API Testing Feature

Release of Dev Proxy v1.3.0, introducing several new features aimed at improving debugging, testing, and API monitoring. The update includes two new plugins, HAR file generation for standardized network tracing and OpenAI usage tracking for better visibility into AI-related costs, along with enhancements to permissions analysis, OpenAPI specification generation, and overall stability.

By Almir Vuk

Article: Building Resilient Platforms: Insights from Over Twenty Years in Mission-Critical Infrastructure

Building resilient platforms requires understanding the art and science of creating infrastructure that others depend on for critical applications. This perspective applies to anyone who builds software consumed by others at scale. Whether developing infrastructure platforms, software development platforms, or messaging systems, principles address how to build software that others consume at scale

By Matthew Liste

© 2025   Created by Michael Levin.   Powered by

Badges  |  Report an Issue  |  Terms of Service