A Java TELNET server
I recently had a reason to need a TELNET server and couldn’t find a Java library that worked for me. After a weekend of hacking, I now have kTelnet, an Open-source, BSD-licensed, TELNET server.
I recently had a reason to need a TELNET server and couldn’t find a Java library that worked for me. After a weekend of hacking, I now have kTelnet, an Open-source, BSD-licensed, TELNET server.
When writing custom servlets, it can be quite useful to unit test them. In my case, I used a combination of testng and mockito. The basic idea is simple; mock a HttpServletRequest, and a HttpServletResponse and pass them to the custom servlet. There is a bit more too it, so here’s an example. final HttpServletRequest…
I recently had a chance to learn a little about Bioinformatics, and ended up browsing the NIH’s database of genomes here. Inside the genome data for any particular strain of a species, you’ll find various files with file extensions like “ffa”, “fna”, “ffn” and “frn”. These are FASTA files. If you’d like an example, here’s…
Commons Math is an Apache library which includes a variety of mathematical tools, including 1st and 2nd-order ODE solvers. In order to familiarize myself with the ODE solvers, I wrote a simple program to solve an RC charging circuit. The circuit has these parameters: R (ohms), the resistance of the resistor C (farads), the capacitance…
I was recently asked to release some of my code to Maven Central, and therefore had to figure out how to do it. I’ve now released these khubla.com libraries: cBean Pragmatach antlr4test-maven-plugin OLMReader simpleIOC ParadoxReader The maven coordinates for each are documented on the github pages.
I’ve been interested in RIAK for a while, and ORM’s are nothing short of fascinating. I decided to try writing an ORM for Riak, and the results are here: https://github.com/teverett/cbean My ORM is not an ORM of course, because RIAK is not relational. However it is ORM-like; I can store POJO’s and retrieve them. The…
Back in the day, Paradox was a pretty amazing database. I recently had a reason to read some Paradox files for a friend, who had a client with a Paradox database. They needed their data out of the database to insert into something more modern. Googling for the file format of a Paradox DB didn’t…