Warning: Creating default object from empty value in /home/jeff_a_10487/jdadesign.net/wp-content/plugins/download-monitor/classes/download_taxonomies.class.php on line 140

Warning: Creating default object from empty value in /home/jeff_a_10487/jdadesign.net/wp-content/plugins/download-monitor/classes/download_taxonomies.class.php on line 140

Warning: Creating default object from empty value in /home/jeff_a_10487/jdadesign.net/wp-content/plugins/download-monitor/classes/download_taxonomies.class.php on line 140

Warning: Cannot modify header information - headers already sent by (output started at /home/jeff_a_10487/jdadesign.net/wp-content/plugins/download-monitor/classes/download_taxonomies.class.php:140) in /home/jeff_a_10487/jdadesign.net/wp-includes/feed-rss2.php on line 8
Jeffrey D. Allen http://jdadesign.net Professional and Personal Updates Wed, 24 Oct 2012 22:09:35 +0000 en hourly 1 http://wordpress.org/?v=3.3.1 Simple Java REST Framework http://jdadesign.net/2012/10/simple-java-rest-framework/ http://jdadesign.net/2012/10/simple-java-rest-framework/#comments Wed, 24 Oct 2012 22:09:35 +0000 jeffreya http://jdadesign.net/?p=116 I just wrapped up the scaffolding for a simple Java REST web service framework. We used Maven to handle all dependencies and requirements, Spring for Dependency Injection, Hibernate for ORM, and RESTEasy for the web service/REST portion.

The source code’s available on GitHub for those interested: https://github.com/QBRC/Resprirnate

]]>
http://jdadesign.net/2012/10/simple-java-rest-framework/feed/ 6
Install RGL in Ubuntu http://jdadesign.net/2012/10/install-rgl-in-ubuntu/ http://jdadesign.net/2012/10/install-rgl-in-ubuntu/#comments Sun, 14 Oct 2012 15:10:58 +0000 jeffreya http://jdadesign.net/?p=113 I had a few hurdles to get through when trying to install the “rgl” R package in Ubuntu. In summary, here was my solution:

From the terminal:

sudo apt-get install r-cran-dev xorg-dev libglu1-mesa-dev

Then from R:

install.packages("rgl")

 Detailed Log

The first snag I hit was the following implying I was missing some necessary X code:

checking for X... no
configure: error: X11 not found but required, configure aborted.
ERROR: configuration failed for package ‘rgl’

You’ll need the `xorg-dev` package to get around this issue. I then hit an error regarding a `GL` library:

checking for X... libraries , headers
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
checking GL/glu.h usability... no
checking GL/glu.h presence... no
checking for GL/glu.h... no
configure: error: missing required header GL/gl.h
ERROR: configuration failed for package ‘rgl’

A quick Google showed that the `libglu1-mesa-dev` package contained these headers. Once I had installed those package, the install process went smoothly!

Note, too, that there may be a precompiled package may be available for your distribution under the name r-cran-rgl. In my case, I needed a more recent version of the package than was offered there, hence this exploration.

]]>
http://jdadesign.net/2012/10/install-rgl-in-ubuntu/feed/ 20
Dogs http://jdadesign.net/2010/12/dogs/ http://jdadesign.net/2010/12/dogs/#comments Mon, 27 Dec 2010 23:52:44 +0000 jeffreya http://jdadesign.net/?p=109
]]>
http://jdadesign.net/2010/12/dogs/feed/ 0
South Dallas http://jdadesign.net/2010/12/south-dallas/ http://jdadesign.net/2010/12/south-dallas/#comments Fri, 10 Dec 2010 23:51:33 +0000 jeffreya http://jdadesign.net/?p=108 A few pictures from South Dallas

]]>
http://jdadesign.net/2010/12/south-dallas/feed/ 1
qTip Library with WordPress 3 http://jdadesign.net/2010/11/qtip-library-with-wordpress-3/ http://jdadesign.net/2010/11/qtip-library-with-wordpress-3/#comments Tue, 16 Nov 2010 22:54:50 +0000 jeffreya http://jdadesign.net/?p=107 I like using the qTip library to handle dynamic tooltips in my sites. I also use WordPress as my CMS-of-choice. Unfortunately, I found that they don’t, by default, play very nicely together.

I’ve attached my modified version of the qTip library (based on v.1.0.0-rc3 — current at the time of writing) which solves these issues.

Changes

Here’s what I had to fix in order to make this compatible:

  1. There’s a bug in qTip that is still lingering. It only becomes an issue when using a recent version of jQuery. I had to make the modifications described in the link mentioned previously.
  2. WordPress can’t give jQuery exclusive usage of the “$” variable, so all “$” references must be changed to “jQuery.” This script has been updated to reflect those changes.

Download

As promised, the modified Javascript file is available here: Wordpress-Friendly qTip Library (952).

Usage

To use this (or any) Javascript file in WordPress, you’ll need to add a few lines to the “functions.php” file of your active theme.

//make sure we've loaded jQuery
wp_enqueue_script('jQuery');

/*
* Adds the qTip javascript library.
*/
function addQtip() {
 wp_enqueue_script('qtip',get_bloginfo('template_directory') . '/js/jquery.qtip-1.0.0-rc3.min.js');
}
add_action('init', 'addQtip');

This script assumes that you’ve uploaded the attached Javascript file in the “js” directory of your active theme. If you have it elsewhere, you’ll need to adjust the reference in the “wp_enque_script” line.

And that’s it! You should now be able to use qTip within WordPress.

]]>
http://jdadesign.net/2010/11/qtip-library-with-wordpress-3/feed/ 12
MBCB On Bioconductor http://jdadesign.net/2010/08/mbcb-on-bioconductor/ http://jdadesign.net/2010/08/mbcb-on-bioconductor/#comments Tue, 03 Aug 2010 18:08:44 +0000 jeffreya http://jdadesign.net/?p=105 The Model-Based Background Correction (MBCB) R package is now included in “under-development” Bioconductor version (currently v. 2.7). There are two ways to use the version of MBCB included on Bioconductor:

1. Use R 2.12 (under development, at the time of writing) and execute the following two commands:

source("http://bioconductor.org/biocLite.R")
biocLite("MBCB")

2. Manually install the packages into older R version available here.

Sample data files are still available in the previous announcement.

]]>
http://jdadesign.net/2010/08/mbcb-on-bioconductor/feed/ 0
Washington, DC http://jdadesign.net/2010/07/washington-dc/ http://jdadesign.net/2010/07/washington-dc/#comments Sat, 31 Jul 2010 15:07:57 +0000 jeffreya http://jdadesign.net/?p=104 Pictures taken on a trip to Washington, DC.

]]>
http://jdadesign.net/2010/07/washington-dc/feed/ 0
Grand Cayman http://jdadesign.net/2010/06/grand-cayman/ http://jdadesign.net/2010/06/grand-cayman/#comments Mon, 07 Jun 2010 23:21:13 +0000 jeffreya http://jdadesign.net/?p=102 Pictures from a trip to the Caymans.

Photos #7, 8 taken by Dave Allen.

]]>
http://jdadesign.net/2010/06/grand-cayman/feed/ 0
Genetic Engineering from a Christian Perspective http://jdadesign.net/2010/05/genetic-engineering/ http://jdadesign.net/2010/05/genetic-engineering/#comments Thu, 06 May 2010 14:57:08 +0000 jeffreya http://jdadesign.net/?p=101 I wrote a paper dealing with the issue of Genetic Engineering from a Christian standpoint for a Bioethics course. I argue that genetic therapy is licit but genetic enhancement and eugenics are not.

Complete paper available here: Genetic Engineering from a Christian Perspective (3198)

]]>
http://jdadesign.net/2010/05/genetic-engineering/feed/ 0
Pressure-Sensitive Keystroke Dynamics Dataset http://jdadesign.net/2010/04/pressure-sensitive-keystroke-dynamics-dataset/ http://jdadesign.net/2010/04/pressure-sensitive-keystroke-dynamics-dataset/#comments Sat, 17 Apr 2010 00:52:54 +0000 jeffreya http://jdadesign.net/2010/04/pressure-sensitive-keystroke-dynamics-dataset/ As a part of my thesis in Keystroke Dynamics, I collected quite a bit of data on users typing a handful of passwords. I’ve decided to make this data available publicly for two main reasons:

  1. It could lower the entry barrier to the field. Individuals interested in developing an algorithm but without the means to collect a significant amount of data will be able to use this data to experiment. Also, most researchers don’t have access to pressure-sensitive keyboards when developing their algorithms. This data will allow researchers to test their algorithms and consider this extra dimension of typing data.
  2. I hope that this dataset could become a standard for the field of keystroke dynamics. One thing which I felt was substantially lacking in my literature review was any basis of comparison when analyzing different approaches. My hope is that researchers can, after developing an algorithm, measure their results on this dataset as a way to objectively compare performance.

The data is currently available in two formats, with a third in the works.

A MySQL database dump is available here: Public Keystroke Dynamics SQL (20793). The structure of the database is depicted in the figure to the left.

The same data is also available is a series of Comma-Separated-Value (CSV) files and can be downloaded here: Public Keystroke Dynamics CSV (9020). The same structure and relationships apply, though they’re obviously not enforced in CSV files.

The data was collected over a period of a few months in 2009-2010 on over 104 different users. “Extensive” data was collected on 7 of these users – who entered between 89 and 504 entries total.

The rest of the users just entered each password between 3 and 15 times to provide a substantial amount of “impostor” data on each password.

Three different passwords were tested to try to cover the range of different approaches in KD:

  1. pr7q1z – a password of gibberish meant to test the performance of Pressure-Sensitive KD on modern “strong” passwords.
  2. jeffrey allen – the use of personal information (such as a name) has been recommended in KD before. By using my own name and recording my typing habits on it, the performance of using personal information can be measured.
  3. drizzle – a word meant to test the use of normal dictionary words which likely have no personal significance to any user.

In total, 2,739 entries were collected — over 900 on each password.

Please feel free to use this dataset for any non-commercial purposes. I do ask that you let me know if you use this dataset and please use the following citation (for now):
Allen, Jeffrey D., An Analysis of Pressure-Based Keystroke Dynamics Algorithms, Computer Science and Engineering, Southern Methodist University, 2010.

If you’re interested in contributing more data (pressure-sensitive or not), please contact me as well; I’d love to incorporate more datasets into this one.

Another dataset is available at http://www.cs.cmu.edu/~keystroke/

]]>
http://jdadesign.net/2010/04/pressure-sensitive-keystroke-dynamics-dataset/feed/ 20