I’ve taken some time implementing Peter Norvig’s spelling corrector in an attempt to learn Groovy, a dynamic language that compiles to bytecode and is compatible with standard Java classes and libraries.
There are a couple differences (most likely deficiencies) with my implementation. First, I use a list instead of a set when constructing the candidate word [...]
Archive for the ‘Development’ Category
Yet Another Groovy Spelling Corrector
Adobe Acrobat.com
It seems that Adobe doesn’t want to be left out of the Web 2.0 office application fad with it’s Acrobat.com. It provides document writing, desktop sharing, PDF creation, and a neat online PDF reader. All of this was made possible by employing the formerly Macromedia’s Flash technology. I was initially excited about the online Acrobat [...]
Distributed Source Control using Mercurial
I’ve recently started to experiment with distributed source control systems for my personal repository. I had been using Subversion previously, but it had several issues with directories that bothered me. In addition, since my primary computer was a laptop, I also wanted to have full commit and change tracking when I was offline.
So distributed source [...]
Pseudo-Random vs. True Random
A visual comparison between using the PHP rand() pseudo-random generator and the numbers generated by random.org, a truly random generator.
Beamer, PDFTeX and XeTeX
I’ve recently started using the beamer class to create slides for my presentation. Up till now, I’ve been using powerdot, and found it more than sufficient. I initially thought beamer to be far more complex than necessary. However, one feature convinced me to switch: PDFTeX and XeTeX support.
Both PDFTeX and XeTeX create a PDF directly [...]
fmp 0.7.0 Development Release
I’ve been doing some development on the feature modeling plug-in during the past week and have implemented several new features and bug fixes (shown below).
I’m releasing the plug-in as a development release, for now. I have started rewriting the configuration backend, but my thesis deadline is fast approaching and I will not have enough time [...]
Loading an Ecore model without initializing all necessary packages or schemas
Here’s a small snippet of code to load an Ecore resource without having to initialize all the necessary packages needed to read all elements. This is useful if we’re interested in only a subset of the schema elements that are present in the Ecore model.
public static EList open(File file) throws IOException {
ResourceSet resourceSet = new [...]
RDF API for PHP 0.9.5: Bug with ResResource and ResModel::find
I ran into a problem when using the statement-centric find(…) query using the OntModel with the RDF Vocabulary. The specified RDF resources were treated like NULL in the find function. In order to fix this, create a ResProperty instead of a ResResource, and all will be well. This can be done like so:
$rest = $this->ontModel->find($statement->getObject(), [...]
Customizing EMF XML Serialization
It’s unfortunately that much documentation on the Eclipse Modeling Framework (EMF) is scattered around the ‘net. After digging through the EMF newsgroups (which are immensely useful, and full of useful information!) and several articles, I pieced together how XML serialization of an Ecore model can be customized using ExtendedMetaData EAnnotations.
However, when saving the model the [...]
Turn off caching on the PHP SOAP extension
WSDL not being updated from your PHP SOAP app?
After struggling for three hours trying to figure out what was wrong with my web service, it turned out that the WSDL was being cached by the PHP SOAP extension. To disable WSDL caching, add the following lines to the php.ini configuration file:
[soap]
soap.wsdl_cache_enabled = “0″
You should also [...]
The new woggie.net
Welcome to the new woggie.net. I will be adding more content in the future, so stay tuned!
Update: I started transferring some of the Linux guides from my old site, but found that many of them were outdated and obsolete. It’s great to find that a lot of things just work now with most Linux distributions [...]








