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

JavaSpecialists

Issue 309 - TreeSet with Custom Comparator

We can construct our TreeSet with our own Comparator, however, we need to be careful that it conforms to the specification. The Comparator needs to be consistent with equals() and hashCode() of the elements, otherwise we might end up with a TreeSet with non-symmetric equals() behaviour.

Issue 308 - Formatting Inlined @value in Javadocs

Javadoc specifies the details of our methods using special tags such as @param and @return. After Java 5, we did not see new standard Javadoc tags for 13 years. The hope was that annotations would replace the chaos of doclets. But tags have not disappeared. In this newsletter, we examine several new tags to improve our Javadoc experience.

Issue 307 - AccessFlag Set for Modifiers

Reflection returns the modifiers of class elements as an unqualified int bitset. Unfortunately some of the bits have a different meaning depending on their context. For example, a method can have their transient bit set, even though that does not make sense for a method. In Java 20, we now have a more accurate and robust enum based representation for modifiers.

Issue 306 - Measuring compact strings memory savings

JEP 254 replaced the char[] in our Strings with byte[]. How much memory does this save in our Strings? In this newsletter we show how we can determine this from a heap dump file.

Issue 305 - Contributing BigInteger.parallelMultiply() to OpenJDK

BigInteger has clever algorithms for multiplying large numbers. Unfortunately multiply() is single-threaded. Until now. In this newsletter I describe how the new parallelMultiply() method works and also how we can all contribute to the OpenJDK.


Birthdays

Birthdays Today

Badge

Loading…

Who Reads Codetown?

 

Events

Blog Posts

A Pattern Language

Posted by Michael Levin on March 4, 2023 at 6:00pm 0 Comments

A Pattern Language 

Watch this first. https://youtube.com/shorts/6UY4Egd0taE?feature=share
This is my favorite book.

Anagrams is word games

Posted by Maxwell Stone on December 23, 2022 at 6:19pm 0 Comments

Scrabble anagrams

Scrabble is mainly a game of anagrams and word searches. Therefore, this Anagram Solver is the second-best online anagram server for English-language Scrabble games after our dedicated Scrabble Word Finder.



If you're having trouble coming up with terms to place on your Scrabble board, use our simple anagram creator to maximize your points and keep up with your opponents.

To find the best anagram terms or phrases for your Scrabble game, just type your…

Continue

Math tips for easy calculations

Posted by Maxwell Stone on December 23, 2022 at 6:00pm 0 Comments

We all have probably heard everyone say things like, "I can't do the math," "Math is too difficult," and "I'll never apply it in the real world." Math problems intimidate many students and parents, especially when it includes large numbers and rigorous calculations where aliciacalculadora.com can help.

Usually, students face problems in identifying the correct operation to be performed in word problems,…

Continue

Twitter architecture

Posted by Michael Levin on November 21, 2022 at 8:22am 0 Comments

Next OJUG and GatorJUG Meetings will be fabulous - Check out the Codetown Events

Watch for details on our upcoming meetings. OrlandoJUG meeting's fall on the 4th Thursday of every month, in case you want to mark your calendars. Stay tuned for details! GatorJUG meets the 2nd Wednesday of every month.


The details are posted in the CodeTown Events section. Please RSVP so we'll know how much pizza to order. Stay tuned! ...Mike

Groups

Forum

Be Careful What You Wish For

Interesting. Ask Elon Musk what scares him…Continue

Tags: Braintree, PayPal, kernal, google, neuralink

Started by Michael Levin in AI, ML & Big Data Aug 8, 2019.

Members

Latest Activity

Johanna Vasquez is now a member of Codetown
2 hours ago
Profile Iconsophie hannah, Olivia Kerr and rohit kumar joined Codetown
May 22
sophia gagnon updated their profile
May 8
sophia gagnon is now a member of Codetown
May 8
Michael Levin posted a blog post
Mar 4
onkkar dsh is now a member of Codetown
Feb 13
incipientinfotech updated their profile
Dec 28, 2022
incipientinfotech is now a member of Codetown
Dec 28, 2022
Maxwell Stone posted blog posts
Dec 23, 2022
Golden Future is now a member of Codetown
Dec 8, 2022
Michael Levin's video was featured
Nov 30, 2022
Michael Levin posted a video
Nov 30, 2022
Fox Elevators is now a member of Codetown
Nov 28, 2022
Lana Growamz is now a member of Codetown
Nov 25, 2022
OnGraph Technologies updated their profile
Nov 24, 2022
OnGraph Technologies is now a member of Codetown
Nov 24, 2022
Michael Levin posted a blog post
Nov 21, 2022
Allyson Tobin is now a member of Codetown
Nov 7, 2022
Hitesh Gambhava updated their profile
Oct 18, 2022
Hitesh Gambhava is now a member of Codetown
Oct 17, 2022
 
 
 

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

ETTrace is an Open-Source Profiler for iOS Aiming to Simplify Performance Optimization

Recently open-sourced by Emerge Tools, maker of several analysis tools for iOS apps, ETTrace aims to simplify iOS performance profiling by providing intuitive visualizations and straightforward operation.

By Sergio De Simone

Article: Debugging Outside Your Comfort Zone: Diving Beneath a Trusted Abstraction

This article takes a deep dive through a complex outage in the main database cluster of a payments company. We’ll focus on the aftermath of the incident - the process of understanding what went wrong, recreating the outage in a test cluster, and coming up with a way to stop it from happening again, and dive deep into the internals of Postgres, and learn about how it stores data on disk.

By Chris Sinjakli

Google Announces State-of-the-Art PaLM 2 Language Model Powering Bard

Google DeepMind recently announced PaLM 2, a large language model (LLM) powering Bard and over 25 other product features. PaLM 2 significantly outperforms the previous version of PaLM on a wide range of benchmarks, while being smaller and cheaper to run.

By Anthony Alford

Avalonia UI for .NET: Project Overview from Mike James

Avalonia UI is an open-source and cross-platform UI framework for .NET developers, designed to facilitate the development of desktop applications that can run on Windows, macOS, Linux, iOS, Android, and WebAssembly. InfoQ interviewed Mike James, CEO of Avalonia UI, in order to understand more about this UI framework and its features.

By Almir Vuk

Article: If You Want to Deliver Fast, Your Tests Have the Last Word

A good testing strategy is critical for safe code changes, fast delivery, reduced MTTR, and improved developer experience. Shifting the concept of “unit” can reduce the time needed for changes.

By Jorge Fernández Rodriguez

© 2023   Created by Michael Levin.   Powered by

Badges  |  Report an Issue  |  Terms of Service