Go to content Go to navigation Go to search

An Analytical Framework for Unigenic Evolution · 36 days ago by Andrew Fernandes

Source code for an R-Project software package that we call “unigenic”. The code has been tested on Mac OS 10.5 and recent versions of Linux-based operating systems, and requires that R ≥ 2.9.1 and a modern Fortran95 compiler be available. For help installing R packages, see Installing Packages on the R web site.

This package is the companion source code for a manuscript currently under review at BMC Bioinformatics.

Windows 7 and the OEM SLP Master Product Key Slip-Up · 222 days ago by Andrew Fernandes

By now, most of the hacking community has heard of the massive slip-up made with regard to Windows 7. The OEM SLP Master Product Key was accidentally released online, allowing Windows 7 Ultimate to be easily (and painlessly) permanently illicitly activated.

But was the OEM SLP Master Product Key leak really unplanned? Or at least really that unanticipated?

Think of it this way. How much revenue does Microsoft really stand to lose from this leak, even if they can’t patch or meaningfully revoke illicit activations?

I’m betting not much. Legitimate businesses will still license their software; they can’t afford to be sued for pirating. OEMs will still pay for every copy they ship; if they’re big enough to OEM, they’re big enough for Microsoft to sue.

Who does that leave? the 0.000001% of the population who buy Windows retail. No way they’d pay full price for Windows, so the exorbitant retail price of an “uncrackable” Windows would have them scrambling to OS X, Linux, or FreeBSD.

Of course, now that a simple “crack” is available, they get to continue using Windows. Illicitly, of course, but nobody really cares because every single installation of Windows, be it licit or illicit, continues the Microsoft hegemony.

Which is more likely:

Microsoft is a smart company that employs a lot of smart people. I know what I’d bet on!

Well now… The blacklist didn’t take long! I wonder what the next salvo will be… smiley A conspiracy theorist? Who, me?!

Site-Specific Relative Evolutionary Rates · 797 days ago by Andrew Fernandes

Given a multiple sequence alignment, a phylogenetic tree, and an evolutionary model, this program calculates site-specific relative evolutionary rates.

A detailed manuscript describing its theory, implementation, and testing has been published in Oxford’s Bioinformatics (PubMed 18662926)

Note: there is a missing sentence in the Methods section of the original version of the article linked above! Silly me, but I accidentally left off a sentence giving the Hastings-ratio of my Metropolis-Hastings Markov chain Monte Carlo procedure to sample the unit-simplex. The correct procedure can be found on the entry I added to wikipedia on performing a random-walk on the simplex.

My WinSCard "APDU View" Utility · 1392 days ago by Andrew Fernandes

In this article there is no new information; I’m just posting a link to the archive for my Windows APDU-View utility program. It allows you to “spy” on command and data packets being sent to (and received from) a smartcard.

I have not updated it, and I don’t think it works correctly on WinXP-SP2 or later. I’ve linked to it here mainly for archival purposes.

Updating Adobe CS2 on a Mac · 1393 days ago by Andrew Fernandes

Are you a software developer? Do you use OS X? Have you been frustrated by Adobe’s Creative Suite 2 (CS2) failing its updates for GoLive 8.0.1 and Illustrator 12.0.1?

There are many reported reasons for the failure of the update, and Adobe’s latest updaters are relatively bug-free. However, I still could not get my updaters to update!

It turns out that both of these updaters require Apple’s built-in version of Perl. If you’re like me, you probably had Fink’s, DarwinPorts’, or ActiveState’s Perl installed… and none of these will work if they appear in your PATH before Apple’s Perl!

The solution is to download Adobe’s updaters (or look in the download folder as Adobe tries to update itself), and execute them from the command line, making sure that Apple’s ”/usr/bin/perl” is in your PATH before any other Perl!

The reason Adobe’s updaters fail is that they use the first version of Perl found in the system path, which may or may not be Apple’s system Perl. Unfortunately, there are a couple of Apple-Perl-specific modules that that Adobe’s updaters require, packages not provided by any other Perl distribution.

Thanks to Apple’s ktrace for helping figure this out!

Gaussian Quadrature Formulae for Arbitrary Positive Measures · 1393 days ago by Andrew Fernandes

Abstract

We present computational methods and subroutines to compute Gaussian quadrature integration formulas for arbitrary positive measures. For expensive integrands that can be factored into well-known forms, Gaussian quadrature schemes allow for efficient evaluation of high-accuracy and -precision numerical integrals, especially compared to general ad hoc schemes. In addition, for certain well-known density measures (the normal, gamma, log-normal, Student’s t, inverse-gamma, beta, and Fisher’s F) we present exact formulae for computing the respective quadrature scheme.

Availability

Source code is freely available online as a C-linkable ISO C++ library under a BSD-style license from fernandes.org. The library may be built using single, double, or extended precision arithmetic.

Publication

Please cite:

Fernandes, A. D. and Atchley, W. R. (2006) Gaussian Quadrature Formulae for Arbitrary Positive Measures Evolutionary Bioinformatics Online 2: 261–269. [PDF]

Download

FFTPACK Translated to Pure ISO C/C++ · 1393 days ago by Andrew Fernandes

I have translated FFTPACK into Pure ISO C/C++, and made some nice additions.

The distribution contains the cleaned Fortran, the ready-to-compile C and C++ code, documentation, tests, and annotated changes.

Download