Posts

Oh Dear Photoshop CS5: "Content-Aware Fill Me that Big ** Whale!"

Image
Having some fun with my new CS 5 ... it's beautiful. Bring on the next Christmas party good god! We have got kids to turn into pirates and ninja and what not ... Posted via email from CORSIS

XML Key/Value Cache Optimizations

Image
For a read-only XML file server with a simple path-based addressing scheme, I initially used ConcurrentDictionary<string, XElement> as a key/value cache. This generated and kept constantly in memory a lot of unnecessary XAttribute and XElement instances which contributed nothing to raw data transfers across the wire. Considering the fact that resident XAttribute or XElement instances in the file server process were totally useless because we do indexing and serve result paths via our query server, I switched to using path-indexed string buffers with path-to-segment dictionaries as the new key/value cache. Memory footprint for hundred documents, before/after See and download the full gallery on posterous My question on Stackoverflow.com with some code http://stackoverflow.com/questions/3613713/how-to-get-stream-positions-of-xml-elements-in-net Full working environment screenshots ^__^ See and download the full gallery on posterous Posted via email from CORS...

ELIT Private Alpha

Image
Launching ELIT Client for private alpha testing of political and social scientists from Heidelberg and Mannheim. Posted via email from CORSIS

OCR Comparison - FineReader 10 vs Acrobat 9

Image
A silent midnight comparison of two OCR software. See and download the full gallery on posterous See and download the full gallery on posterous See and download the full gallery on posterous Posted via email from CORSIS

Hash Tables in Mathematica

Image
This week, after downloading citing and related paper numbers of around 50.000 papers that were presented as results to various simple searches in PubMed, we wanted to have a way to find out most cited authors. Both extremely new to Mathematica, we were yet to see anything that looked or behaved like hash tables so our first approach looked like this: recordsOfAuthor[author_]:= Select[ records, Composition[MemberQ[#, author]&, authorsOf] ] where records were a list of XMLElement s containing EndNote X3 records (these roughly correspond to PubMed search results). Now I am not the guy to immediately understand the O-complexity of any given code, yet the first thing I had told my friend after we had finished downloading the citation numbers and right before we started coding the rest of our analysis tools was that we definitely needed to either find out how to use hash tables in Mathematica or do the whole thing in another language, otherwise we might have some headache. ...

PageRanking in Mathematica

Image
In the " Advanced Topics in Information Retrieval " course I'm taking this term, we had a light introduction to PageRank algorithm and I wanted to redo the relevant slides and solve some exercises in Mathematica - which I happened to learn while providing programming support to my best friend in her endeavor of mathematical modeling and simulation of drug resistance in infectious diseases !. Here it is as PDF and Mathematica Notebook ! It's truly amazing what you can achieve with Mathematica with tiny amounts of code. I find the selection of functions provided in version 7 and their implementations to be stunning examples of programming done right .

2009 - 2010

No news ... I asked someone to not tell me any so I will not post any personal news either. I'll be in Turkey for a week, meeting new friends and spending 2009's last and 2010's first days in their company.