Thursday, February 23, 2012
Proof That FF Cache Eviction Is Optimal
I have adapted from a lecture by Clyde Kruskal at UMD, a proof that a Farthest-in-Future cache maintenance algorithm is optimal. Check it out here: FFproof.pdf
Wednesday, May 25, 2011
Proving Program Correctness via Type Checking
(Type checking):(Programs)::(Dimensional analysis):(Theorems)
In studying OCaml at the University of Maryland, I have recently become very attuned to the parallels between type checking and dimensional analysis. In the same way that dimensional analysis is an "orthogonal" way of reasoning about mathematical and physical theorems, type checking is "orthogonal" to the program. I use the word "orthogonal" here to mean loosely that the two methods are independent of each other (i.e. dimensional analysis is "orthogonal" to proof by induction for example).Proving Theorems Using Only Dimensional Analysis
Immediately then, I began to think about ways that dimensional analysis has been used to prove mathematical and physical theorems from start to finish. See, for example, Proof of the Pythagorean theorem.
Proving Program Correctness Using Only Type Checking?
The obvious next question. I have a feeling that this can be done, but I still have a lot of reading to do :) Stay tuned. Comments are welcome.
Currently reading: Foster, J.S., Johnson, R., Kodumal, J., Aiken, A.: Flow-Insensitive Type Qualifiers. Trans. on Programming Languages and Systems. 28(6), 1035–1087 (2006)
Thursday, May 21, 2009
DC Bloggers Meetup
Well, after attending a DC Bloggers Meetup, I feel compelled (from within and by the other attendees) to start blogging again. I'll start with a blogroll of the other attendees:
- http://jadxia.livejournal.com/ -- a retired specialty performance artist, novelist, and internet editorialist
- http://blogpharm.com -- a pharmacy related blog
- http://swordandthescript.blogspot.com/ -- a tech PR guy full-time, infantry officer part-time, Pats fan all the time, political news junkie anytime
- http://notionscapital.com -- commentary and smart remarks on news, events, and culture
- http://tbarbeeweb.com/theweblady -- blog devoted to helping small business owners utilize software and technology they already possess
Saturday, December 13, 2008
How to exclude Eclipse/Aptana preview views from Google Analytics results
For those of you who use Aptana within the Eclipse IDE to edit your websites, you may have noticed that previewing your site using the Built-in Preview Server (bound to the Jaxer Internal Server) introduces new pages to the content report in Google Analytics. This appears to be due to the Jaxer server setting up relative paths based on the project path within Eclipse.
I believe that I have a way to fix this via a Google Analytics filter. First, check the details for your Built-in Preview Server in Eclipse for the Host field. Mine was set by default to "127.0.0.1". (You can also check this value from the Content section of your Google Analytics report - Just click on the extraneous page(s) and select "Hostname" from the Dimensions pulldown menu. Now, set up a custom Exclude filter for your Google Analytics profile, select "Hostname" as the Filter Field, and set the Filter Pattern to the hostname you found in Eclipse above. Note that that field accepts regular expressions, so be sure to use the regular expression characters properly. For my hostname of 127.0.0.1, I entered "^127\.0\.0\.1$":

Unfortunately, Google Analytics doesn't refilter old data, so I will have to wait a couple days to see if the filter is working properly, so stay tuned and I'll post back with the verdict. In the meantime, if anyone sees a flaw in my method, please comment :)
*UPDATE 12/18/08*
It looks like that filter does the trick. No new hits to the "phantom" Jaxer pages :-D
I believe that I have a way to fix this via a Google Analytics filter. First, check the details for your Built-in Preview Server in Eclipse for the Host field. Mine was set by default to "127.0.0.1". (You can also check this value from the Content section of your Google Analytics report - Just click on the extraneous page(s) and select "Hostname" from the Dimensions pulldown menu. Now, set up a custom Exclude filter for your Google Analytics profile, select "Hostname" as the Filter Field, and set the Filter Pattern to the hostname you found in Eclipse above. Note that that field accepts regular expressions, so be sure to use the regular expression characters properly. For my hostname of 127.0.0.1, I entered "^127\.0\.0\.1$":

Unfortunately, Google Analytics doesn't refilter old data, so I will have to wait a couple days to see if the filter is working properly, so stay tuned and I'll post back with the verdict. In the meantime, if anyone sees a flaw in my method, please comment :)
*UPDATE 12/18/08*
It looks like that filter does the trick. No new hits to the "phantom" Jaxer pages :-D
Subscribe to:
Posts (Atom)




