I have a grand total of one Android application in the Play Store, Cub Tracker. It serves
two functions for me: it helps me manage my sons' Cub Scout den, and it gives me a means
for experimentation in the mobile realm. For the most part, it has done well for me on both
counts for the past few years. I am currently faced with an issue of new functionality (which
is mostly irrelevant for.....
At the end of another busy year, full of stress and grief, it’s my hope and prayer
that the true message of Christmas, not "getting along with family", but the birth
of the Savior of the world, would settle your hearts, and that True Peace would be
yours.
Merry Christmas!...
If you’ve been following my blog, you’ve probably noticed that I’ve been spending a
lot of time with Kotlin of late. (For the curious, I really like it so far, but I haven’t
done just a whole lot with it.) I’ve experimented with writing simple JSF and JAX-RS apps
in it, largely to see if I can make it work. With those hurdles cleared.....
In keeping with theme of "use existing frameworks with Kotlin" and misleading titles,
here’s a quick and dirty demonstration of writing JAX-RS applications using Kotlin.
For those that read my Kotlin Faces post, the pom.xml for
the project will look very familiar:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance.....
There’s a chance that at least some of you saw the blog title and thought: "Ah ha!
A Kotlin wrapper/helper for JSF!" and rushed over to check it out. If so, mission
accomplished. :) This really isn’t anything that ambitious. Sorry. :)
At JavaOne this week, I spent a good deal of time talk to
Hadi Hariri, Developer Advocacy Team Lead at JetBrains,
about their Kotlin language. With my long background in.....
If you’re a Doctor Horrible fan, here’s something fun and goofy to start your week. No clue how they
did it, but it’s hilarious. :)
(h/t to my brother)
$ traceroute -m 255 bad.horse
traceroute to bad.horse (162.252.205.157), 255 hops max, 52 byte packets
1 172.23.195.1 (172.23.195.1) 1.863 ms 1.193 ms 8.432 ms
2 172.23.....
I recently came across an interesting piece of code at work:
private static final DateFormat DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd");
What struck me as odd was the private qualifier and that the fact that SimpleDateFormat is not thread-safe. Is the private some
odd attempt to work around concurrency issues, or was thread safety just overlooked? That led me to this question: Is a private static
still one instance per JVM, or does the.....
On Monday, July 13, I will be leading the monthly OKC JUG session, whose topic this month is "An Introduction to Programming with
Minecraft Mods". We’ll be using a modified version of the curriculum Arun Gupta has developed for this Devoxx4Kids program, with
examples taken from the book he and his son wrote, Minecraft Modding with Forge: A Family-Friendly Guide to
Building Fun Mods in Java.
Here is the announcement sent to.....
My team at work was having some issues with IDEA and the Checkstyle plugin. Based on the error message, and without actually looking at the JARs,
it seemed pretty clear that the issue was a JDK version issue. While I think this issue has been resolved, when I set up my Mac months
ago, I was forced to install Java 6 in order to install IDEA, but, apparently, the new version of the Checkstyle plugin.....
Recently, in the #glassfish channel on Freenode, a user was having trouble configuring GlassFish in a Docker environment. He was scripting the configuration
of the server, but was having trouble setting the admin user’s password, since the change-admin-password command takes input from stdin.
Fortunately, there’s REST API for that. This curl command will do what the user needs to do without any need for additional input:
curl -X POST.....