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 320 - Please Don't Yield A Lot

Java's Thread.yield() traditionally would cause a voluntary context switch. However, with virtual threads, it causes the thread to be unmounted from its carrier thread. This can greatly increase the user and system time for ALL the carrier threads. And there is no way to turn it off. Keep an eye out for yield in your thread dumps.

Issue 319 - ArrayBlockingQueue: Weakly Consistent Iteration Powered by Weak References

Like many other concurrent collections, the ArrayBlockingQueue sports a weakly-consistent iterator. However, the ArrayBlockingQueue always has a maximum capacity, the length of the underlying array. In this newsletter we explore what happens to pending iterators when we wrap around the circular array.

Issue 318 - Getting Rid of Unused Warnings with _

We sometimes are forced by the Java language to declare variables that we never use, attracting the ire of the javac compiler. Since Java 22 we have a way to declare these as "unnamed" by using an underscore.

Issue 317 - Explicit vs Diagnostic GC

How many times have we seen programmers call System.gc() to "help the garbage collector"? Unfortunately far too often, with potentially terrible performance implications. In this newsletter we explore the explicit and the diagnostic GC and how we can force a GC, even if explicit GCs are disabled.

Issue 316 - Code Before super() - JEP 447

Java 22 preview allows us to write code before the call to super(). There are restrictions. We are not allowed to refer to "this" in any way. We thus cannot set fields before calling the superclass constructor. But what if the superclass constructor calls our methods? In this newsletter we explore a workaround using ThreadLocals.


Birthdays

Birthdays Today

Birthdays Tomorrow

Badge

Loading…

Who Reads Codetown?

 

Events

Blog Posts

50% Keyboard Guide: Tiny Typists' Delight

Posted by Hugh Jack on June 19, 2024 at 10:15am 0 Comments

Introduction to Compact Keyboards

Welcome to the world of compact keyboards! These small form factor keyboards are a game-changer when it comes to saving space and typing on the go. Whether you're a student, a professional, or a casual user, compact keyboards offer convenience and portability like never before.

What are Compact Keyboards?

Compact keyboards are smaller versions of traditional keyboards. They come in various…

Continue

We have some exciting news to share with you. Otavio will be joining us to discuss the latest version of Camel in an exclusive presentation. Presentation Details: Speaker: Otavio Rodolfo Piske Topic:…

Posted by Michael Levin on September 2, 2023 at 9:21am 0 Comments

We have some exciting news to share with you. Otavio will be joining us to discuss the latest version of Camel in an exclusive presentation.

Presentation Details:

Speaker: Otavio Rodolfo Piske

Topic: Camel 4:What to Expect

Date: 07 September 2023

Time: 19:00 Ist Time

Duration: Approximately 1 hour

Register URL : https://www.eventbrite.com/e/700456483197

Presentation…

Continue

How to Download Pinterest Videos

Posted by Maxwell Stone on September 1, 2023 at 11:34am 0 Comments

Pinterest has become a treasure trove of inspiration for millions of users around the world. Whether you're looking for recipe ideas, home decor inspiration, fashion tips, or DIY projects, Pinterest has it all. Among the countless pins and images that flood the platform, videos have emerged as an increasingly popular form of content. But what if you want to download Pinterest videos for offline viewing or to share with friends? In this article, we'll explore the world of Pinterest videos and…

Continue

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

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.

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.

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.

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.

Oracle Embedded MOOC w/ Raspberry PI 1 Reply

If your interested in playing with Java on Raspberry PI - another round of the "Oracle Massive Open Online Course: Develop Java Embedded Applications Using a Raspberry Pi" is starting May 19th. You can find more details and…Continue

Tags: RaspberryPi, embedded, java

Started by Chris Schaefer in Java. Last reply by Michael Levin Apr 10, 2014.

Documentation standards or guidelines? 1 Reply

Does anyone care to share their suggestions for documentation?I'm asking because I recently had to change a program I wrote more than five years ago. I'd always thought that I've done a good job of documentation. But going through it was difficult.…Continue

Tags: Problems @ 2:00 AM, Maintenance, Documentation

Started by Miek in Java. Last reply by Adam Davis Apr 11, 2014.

Members

Latest Activity

Michael Levin posted a status
Aug 23, 2024
Michael Levin posted a video

Haseeb Qureshi: Doing Good with Your Career

Haseeb Qureshi, notable App Academy graduate, cryptocurrency expert, and philanthropist will be giving a talk on Effective Altruism for App Academy students ...
Aug 3, 2024
Michael Levin liked Hugh Jack's blog post 50% Keyboard Guide: Tiny Typists' Delight
Jun 20, 2024
Hugh Jack posted a blog post

50% Keyboard Guide: Tiny Typists' Delight

Introduction to Compact KeyboardsWelcome to the world of compact keyboards! These small form factor keyboards are a game-changer when it comes to saving space and typing on the go. Whether you're a student, a professional, or a casual user, compact keyboards offer convenience and portability like never before.What are Compact Keyboards?Compact keyboards are smaller versions of traditional keyboards. They come in various sizes, but the main idea is to provide a keyboard that takes up less space…See More
Jun 19, 2024
Hugh Jack is now a member of Codetown
Jun 19, 2024
rohit kumar updated their profile
Jun 18, 2024
Michael Levin posted a video

Why AI Needs a “Nutrition Label” | Kasia Chmielinski | TED

What do sandwiches have to do with AI? Data reformist Kasia Chmielinski helps us think about artificial intelligence with a useful food metaphor — and breaks...
Jun 14, 2024
Michael Levin posted a video

Kobun Chino Roshi

Proof of Enlightenment (about Apple CEO Steve Jobs), Sesshin Dharma Talk in Puregg, Dienten Austia 1993, Vanja Palmers
Jun 6, 2024
olivia scott is now a member of Codetown
Feb 6, 2024
Michael Levin posted a video

Google Engineer on His Sentient AI Claim

Google Engineer Blake Lemoine joins Emily Chang to talk about some of the experiments he conducted that lead him to think that LaMDA was a sentient AI, and t...
Jan 17, 2024
Michael Levin posted a video

I Live Better In Thailand Than I Did In The U.S. - Here's How Much It Costs | Relocated

Jesse Schoberg, 41, relocated to Bangkok, Thailand at the beginning of 2022. He has been living and working abroad since 2008. He currently makes about $230,...
Jan 14, 2024
William Balderamos is now a member of Codetown
Dec 7, 2023
Michael Levin posted a blog post
Dec 1, 2023
Luke Flores is now a member of Codetown
Nov 29, 2023
Michael Levin posted a photo
Nov 20, 2023
reviewhomeproducts is now a member of Codetown
Nov 8, 2023
Removable Veneers is now a member of Codetown
Oct 30, 2023
Maris A updated their profile
Oct 20, 2023
Maris A is now a member of Codetown
Oct 20, 2023
sophia gagnon updated their profile
Oct 17, 2023
 
 
 

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

Google Vertex AI Provides RAG Engine for Large Language Model Grounding

Vertex AI RAG Engine is a managed orchestration service aimed to make it easier to connect large language models (LLMs) to external data sources to be more up-to-date, generate more relevant responses, and hallucinate less.

By Sergio De Simone

AWS Adds Container Insights with Enhanced Observability to Elastic Container Service

AWS recently announced the launch of Container Insights with Enhanced Observability for Amazon Elastic Container Service (ECS). This goes on the lines of a similar feature previously introduced for Amazon Elastic Kubernetes Service (EKS). This new capability aims to improve monitoring and troubleshooting for container workloads.

By Aditya Kulkarni

Terraform Fork OpenTofu Adds Provider Iteration and Exclusions

Version 1.9.0 of OpenTofu - the infrastructure-as-code tool forked a year ago from Hashicorp's Terraform - has been released. This release brings several significant features, including provider iteration capabilities through `for_each`, to enable simplified multi-zone and multi-region deployments.

By Matt Saunders

Java News Roundup: JDK 24 in Rampdown Phase Two, Spring Framework, JobRunr, Commonhaus Foundation

This week's Java roundup for January 13th, 2025, features news highlighting: JDK 24 in Rampdown Phase Two; Spring Framework 6.2.2; JobRunr 7.4.0; Micrometer Metrics 1.15.0-M1 and Micrometer Tracing 1.5.0-M1; and Infinispan joins the Commonhaus Foundation.

By Michael Redlich

Android Studio Ladybug Update Adds Gemini Support, New Debugging Features, and More

In its recent update to Android Studio Ladybug (2024.2.2), Google has added new Gemini Code Transforms to modify, refactor, or create code, debugging and testing tools, and developer experience improvements. Additionally, the IDE adopts the latest IntelliJ 2024.2 platform release.

By Sergio De Simone

© 2025   Created by Michael Levin.   Powered by

Badges  |  Report an Issue  |  Terms of Service