
I write about evolutionary anthropology, behavioral sciences, and related AI, particularly small, specialized Deep Neural Networks and LLMs.
Eclipse Ganymede J2EE plugins
Google AppEngine:

Google AppEngine - Eclipse Ganymede Installation
- Verify installation of Eclipse Ganymede IDE for J2EE development
- open Help -> Software Updates ...
- add new site http://dl.google.com/eclipse/plugin/3.4
Google project hosting
You can host your projects using code.google.com SVN repository.
- sign up to your google account
- go to http://code.google.com/hosting/
- click "Create a new project"
- go to "Source" Tab
- check out the code using command line SVN, or Eclipse SVN plugin (tigris)
- add your files (when you copy from previous SVN project remove all .SVN folders )
- commit
Java String parser
To split a String into words (tokens) where delimiter is white space...
String delims = "[ ]+";
String[] tokens = someLongString.split(delims);
Now you can look thru the tokens and do comparisons, etc.
CSS: centering DIV
<body><div class="background">The centered content is here
CSS background
background-image: url("images/map_bg.png");
background-repeat: no-repeat;
height: 900px;
width: 860px;
margin-left: auto;
margin-right: auto;
}
Using Composite Class
Interactive Map Implementation
Function To Censor String
public String censorString(String originalString)
{
StringBuffer orig = new StringBuffer(originalString);
Pattern p = Pattern.compile("[0-9/A-Z/a-z]+");
Matcher m = p.matcher(orig);
StringBuffer censor = new StringBuffer();
boolean result = m.find();
while (result)
{
String match = originalString.substring(m.start(), m.end());
if(match.equals("badword"))
m.appendReplacement(censor, "[censored]");
result = m.find();
}
m.appendTail(censor);
return censor.toString();
}
Adding maven and SVN plugin to Eclipse 2.4.2
GWT Client Side Date / Calculate Age
Date today = new Date();
Integer currentYear = new Integer(DateTimeFormat.getFormat("yyyy").format(today));
Integer currentMonth = new Integer(DateTimeFormat.getFormat("M").format(today));
Integer currentDay = new Integer(DateTimeFormat.getFormat("d").format(today));
Age calculating function:
public static int calculateAge(Date dob)
{
Date today = new Date();
Integer currentYear = new Integer(DateTimeFormat.getFormat("yyyy").format(today));
Integer currentMonth = new Integer(DateTimeFormat.getFormat("M").format(today));
Integer currentDay = new Integer(DateTimeFormat.getFormat("d").format(today));
Integer dobYear = new Integer(DateTimeFormat.getFormat("yyyy").format(dob));
Integer dobMonth = new Integer(DateTimeFormat.getFormat("M").format(dob));
Integer dobDay = new Integer(DateTimeFormat.getFormat("d").format(dob));
int age = currentYear - dobYear;
if((dobMonth > currentMonth) || (currentMonth == dobMonth && dobDay > currentDay))
age--;
return age;
}
GWT: using Timer as in Tread sleep()
Post Scriptum
I am preparing to cancel the subscription to the e-mail newsletter that sends my articles.
Follow me on:
X.com (Twitter)
Google Scholar
My favorite quotations..
“A man should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.” by Robert A. Heinlein
"We are but habits and memories we chose to carry along." ~ Uki D. Lucas
Popular Recent Posts
-
On June 2, 2025, Prof. Marek Figlerowicz’s team from the Polish Academy of Sciences announced that the early Polish Piast dynasty belongs ...
-
In my journey building software and managing technology teams, I've often witnessed the allure and danger of what Melissa Perri aptly na...
-
I decided to write down a few thoughts to clarify my obsessions with creating the "multitude" of AI agents that rely on the privat...
-
Physics and the laws of relativity: in parent-child relationship sound waves reach the subject after 25 years.
-
I am pleased with the performance and depth of the 32B Qwen MLX, running locally on my Mac Studio M1 with 64GB of RAM. 9 tokens per second ...
-
log DSC_4228.NEF
-
Choice D Since we are currently renting, we started looking at the houses we could afford. This place fits our budget, but the baby blue col...
-
If you are living in Chicago, San Francisco / Silicon Valley or any major city there is a good chance that there are multiple events happeni...
-
This topic is being updated, visit soon. Bibliography links: Elco Electric Launch Etek Electric Outboard Motor Project Electric Drive Syste...
-
When you decide to develop your company you have some important choices to make, many people measure success by how much revenue the company...
Most Popular Articles
-
In my journey building software and managing technology teams, I've often witnessed the allure and danger of what Melissa Perri aptly na...
-
I have noticed a very unsettling statistic on my blog. This prompted a fascinating question about AI, blogs' future, and maybe even the...
-
Prompt: What do you really see in the selfie of myself? AI: I see a volcano about to blow up and I see a lost, scared boy in front of it. ...
-
Choice D Since we are currently renting, we started looking at the houses we could afford. This place fits our budget, but the baby blue col...
-
I tested to belong to Haplogroup R1b1b2a1a1d1. Subclade R1b1b2a1a1d1* (as named by 23andMe ) or R1b1a2a1a1a4 (per FTDNA ) is a paternal (...
-
I found myself wholly emptied, the mental exhaustion where you sit in your parked car and wake up minutes later, unsure how long you’ve been...
-
Introduction: A Language Model of My Own We are surrounded by large language models: systems trained on the vastness of the internet. Models...
-
Sometimes the AI chats surprise me on a new level. Here is an interaction I just had when fixing my AIKO app's Human-AI Interaction (HAi...
-
Something subtle but powerful just landed in my AI pipeline: agent_Observer. It listens. Not to spy, but to sense the mood and intent. It ...
-
A very interesting moment in history, but what does it mean for American future? In this post, I’ll explain why we may be entering the most...