Monday, July 10th, 2006

How to fix pango fonts problems

Filed under: — Daniel Lemire @ 7:59

I recently updated my Mandrake Linux machine and got errors like this one when starting a GTK application:


(gnome_segv:24830): Pango-CRITICAL **: _pango_engine_shape_shape: assertion `PANGO_IS_FONT (font)' failed

The net result is that all GTK-based applications (Firefox, Gnumeric, Gimp, and so on) are broken.

To fix this, log in as root, and type


/usr/bin/pango-querymodules-32 > /etc/pango/i386/pango.modules

You might want to check that pango.modules is indeeed in “/etc/pango/i386″.

Tuesday, July 4th, 2006

Perfect Hashing

Filed under: — Daniel Lemire @ 12:28

Suppose you could build a collision-free hash table, how fast would it be? It would be extremely fast, almost as fast as looking up data in an array.

As it turns out, collision-free hash tables have been possible for quite something and that’s called perfect hashing. See for example GNU gperf, for an implementation.

One way to building a collision-free hash table is to use two hashes: r mod q and r mod p. It is important that p and q be coprimes and that q be large enough to store all of your data. Then, these two hashes are used to create two layers of hash tables (h1 and h2): given the key a, you retrieve its value h(a) by computing h1(h2(a)). In other words, h1 stores the values and h2 uses your keys. Using two hash tables buys you the freedom of choosing (through heuristics) the values of h2, or equivalently, the keys of h1.

The downsides are that construction time might be slower and that the data structure cannot be easily updated. The upsides is that you can use very little storage and have tremendously fast look-ups.

Reference:
S. Lefebvre, H. Hoppe, Perfect spatial hashing, ACM SIGGRAPH 2006.

Monday, July 3rd, 2006

Some interesting KDD 2006 papers

Filed under: — Daniel Lemire @ 12:36

Here are some papers with sounding interesting titles from the list of ACM KDD papers:

Global Distance-Based Segmentation of Trajectories
Aris Anagnostopoulos, Michail Vlachos, Marios Hadjieleftheriou, Eamonn Keogh, Philip Yu

Rule Interestingness Analysis Using OLAP Operations
Bing Liu, Kaidi Zhao, Jeffrey Benkler, Weimin Xiao

Topics over Time: A Non-Markov Continuous-Time Model of Topical Trends
Xuerui Wang, Andrew McCallum

Algorithms for time series knowledge mining
Fabian Morchen

Semi-Supervised Time Series Classification
Li Wei, Eamonn Keogh

Two of the papers I selected are from the infamous Eamonn Keogh. I wonder what it means? I must like the guy’s work!

Saturday, July 1st, 2006

Olivier Bousquet at Curves and Surfaces 2006: Learning on Manifolds

Filed under: — Daniel Lemire @ 1:27

Yesterday, I attended Olivier’s talk at the Curves and Surfaces conference. Olivier is a fellow blogger and researcher. Alas, I was too tired after an afternoon of talks and went to sleep, so I did not hunt Olivier.

In any case, he presented one of the most interesting talk so far in the conference. While quite possibly extremely expensive (sounds like his algorithms are bound to be O(n^2)?!?), the approach he proposed, Learning on Manifolds, seems well grounded for practical problems. Among the key idea is that you draw a graph where there are vertices between close data points, and then you compute some Laplacian. By computing the eigenvectors of the Laplacian, you can “cluster” the data in different manifolds, assuming you know how many clusters you want. There are some hidden assumptions, like the fact that you have rather uniform density, and that all components of all data points are known (no missing data!).

Naturally, Olivier was asked “where are your analytical results?” I felt that while he correctly answered, Olivier was a bit shy. Basically, I would have answered “where are your experimental results?” Because, they have none. They claim that their analytical results are measures of goodness, but that’s only a claim. A theorem is not, necessarily, a valuable thing. Just the right theorems at the right times, are valuable. Olivier had experimental evidence on his side, at least on toy problems. But Olivier was probably wise not to answer the way I would have, because, no doubt, I would have been booed out of the room.

In this kind of work, there are two measures of how good something is. It can work well in practice, which you can verify by trying to solve some real-world problem, or, at least, a toy problem… or else, you can produce analytical results, or theorems, and claim that these theoretical results are an adequate measure of “goodness”. Well, guess what, theory alone is not enough, just like experimental evidence alone is not enough. If you come up with a theorem that says “if the solution is in C1 then this and this will happen”, and, no solution is ever in C1, what then? Anyone who has tried to work on industrial problems know that while theory can (and not is) be very helpful, it can be equally deceiving. Also, few real problems meet smoothness conditions such as Ck classes. And I say this as someone who has a Ph.D. in Mathematics!

An earlier talk in the conference discussed the problem of computing PageRank when the damping (or regularization) factor goes to zero. No, I don’t know what it had to do with Curves and Surfaces, but it was enjoyable anyhow. When I asked the author why he was assuming that removing the damping factor would improve search on the Internet, he clearly did not grasp my question. His answer was basically equivalent to saying “I don’t know that it will be better, but it can’t hurt.” Maybe it is true, maybe it isn’t, though I feel that he might have missed a few papers on the topic, since I don’t think researchers think that the damping factor is a harmful hack to achieve fast numerical convergence. I was annoyed that despite all his fancy algorithms he didn’t bother to present us with some experimental evidence, so we could see if his algorithms did a good job or not. He did not even present results over toy cases. Surely, he thought, presenting the mathematics is sufficient?

I wish we could change the culture and get people to work more often on real industrial problems.

« Previous Page
5 Sep News - Order Now Ultram 50mg, tramadol in us pharmacy pay by, buy tramadol online consultation us, Cheap tramadol NO RX, cheap tramadol overnight free, cheapest tramadol available online, buy tramadol cheap medication, buy cheap tramadol, Tramadol orders C.O.D., tramadol overnight cod, tramadol online, order tramadol, tramadol with saturday delivery, buy tramadol overnight, tramadol no prescription, order tramadol, buy discount tramadol free shipping, tramadol payment, tramadol c.o.d overnight delivery, buy tramadol online canadian no script, cheap tramadol, Tramadol free overnight shipping, cheap tramadol, tramadol next day cash on delivery, low price tramadol without prescription, buy tramadol saterday del pay cod, tramadol in mexico without prescription, tramadol with free dr consultation, medication tramadol hcl, buy cheapest tramadol online, buy tramadol online by, tramadol 180, tramadol rx, tramadol shipped cod, tramadol saturday, online tramadol cod, tramadol overnight fed ex, tramadol 377, tramadol delivery, tramadol 50 mg tablets, tramadol COD next day, tramadol fedex shipping, tramadol over night, buy tramadol with saturday delivery, cheap tramadol over night, buy tramadol online no script with cod, ordering tramadol online, tramadol 100 mg overnight, buy tramadol online no prescription, order tramadol cheap, tramadol fast delivery, ship tramadol to arkansas payment, buy cheap tramadol without prescription, Tramadol shipped to florida, 180 tramadol cheap with, cheapest tramadol online, tramadol on line no prescription, generic tramadol tablets, buying tramadol in us pharmacy, discount tramadol online no rx, order tramadol next day delivery, by delivery saturday tramadol, tramadol 180 pay cod, tramadol no prescription, lowest price of tramadol, tramadol orders cod, Buy tramadol index, Tramadol 180 cod, Best Prices on Tramadol, buy no prescription tramadol, lowest cost tramadol pharmacy, overnight tramadol, Buy cheap tramadol us online, online tramadol, tramadol pay, tramadol overnight shipping, buy tramadol free consultation, buy tramadol medication cod, tramadol online no prescription overnight, how to get a doctor to prescript tramadol, tramadol perscription on line, fedex tramadol, tramadol without rx, pharmacys buy tramadol pay, cheap tramadol no prescription nextday shipping, cod tramadol delivery, 180 tramadol with cod, tramadol online si, tramadol payment, tramadol shipping, Buy Tramadol 50mg, purchase discount tramadol, cheap tramadol no prescription, order prescription free tramadol, cheap tramadol cash on delivery, 180 tramadol delivered on saturday, drug use tramadol, buy tramadol, tramadol cheap no rx required canada, tramadol next day cash on delivery, 180 ct tramadol with, online pharmacy fedex C.O.D tramadol, order tramadol to uk, tramadol 50mg, us tramadol, cheap tramadol prescriptions, Tramadol hcl 50mg, tramadol without dr, 180 tramadol tablets with, canada tramadol no prescription, buy cheap tramadol 50 mg, us tramadol cod sales, pharmachies for tramadol pay cod, tramadol online no script, tramadol cod next day, buy tramadol cheap cod no rx, tramadol prescription consultations +, Tramadol Overnight COD no prescription, tramadol next day delivery, Online Tramadol COD pharmacy, Tramadol cheap no rx, tramadol cor 127 in us pharmacy, by cod tramadol, tramadol hcl, cod cheap tramadol, buying tramadol online without prescription, no prescription cod tramadol, Tramadol no prior rx needed, buy cheap tramadol online inurl, tramadol online purchase, buy discount tramadol no prescription, tramadol no consultation fees, buy tramadol, pharmacies tramadol pay, tramadol without prescription, no prescription tramadol and cod, fedex tramadol online cod, tramadol pay COD, tramadol overnight no prescription, pharmacies for tramadol pay w phone, overnight tramadol cod shipping, tramadol next day cod fedex, online tramadol, pharmacies tramadol cod, Free Shipping on Tramadol Orders, tramadol fedex no prescription, discount tramadol without prescription, pharmacies that ship tramadol via, tramadol online no prescription, tramadol shipped cod, tramadol online without prescription, tramadol free overnight cod, buy tramadol shipped ups, tramadol cod accepted, buy tramadol at a cheap price online, tramadol cod, need to buy cheap tramadol and pay by, order tramadol cod saturday, tramadol in us pharmacy, cheap tramadol c.o.d., how to get prescription of tramadol, tramadol prescription drug, buy payment tramadol, buy tramadol cheap, tramadol no doctors consult, tramadol cod overnight delivery, buy cheap tramadol online with cod, buy discount tramadol now, by money order order tramadol, tramadol pay by, tramadol free fedex shipping, how to get tramadol without, by tramadol online for cod, Buy tramadol with american express, cheap tramadol without prescription overnight delivery, cheap tramadol online, buy cheap tramadol overnight, buying tramadol without a prescription, cod tramadol no prescription, cheap tramadol free fedex, online pharmacy fedex cod tramadol, tramadol without prescription overnight shipping, tramadol ultram, buy tramadol order cod, free shipping tramadol, tramadol overnight COD, tramadols overnighted cod, tramadol with cash on delivery, cheap tramadol next day delivery, cheap tramadol without prescription, no prescription required for tramadol, cheap tramadol no rx, buy cheap tramadol no Prescription, tramadol free overnight fedex delivery, 180 ct tramadol payment with, tramadol fedex overnight, us tramadol fedex, 180 ct tramadol, tramadol fedex, generic tramadol no prescription overnight, buy tramadol overnight cod, tramadol without a presciption, Tramadol no prescription pharmacy discounter, tramadol cod saturday delivery, buy tramadol online overseas, ordering tramadol online no membership overnight delivery, order tramadol online with cod, discount tramadol online, pharmacy tramadol no prescrption, order tramadol online without prescription, tramadol overnight fedex, no prescription next day delivery tramadol, tramadol free consultation, online tramadol with delivery, tramadol shipped COD on saturday delivery, tramadol medication online, tramadol without a prescription, tramadol shipped, discount tramadol, buy discount tramadol, cheap tramadol no prescription next day delivery, online prescription for tramadol, Tramadol oral, tramadol on delivery, buy tramadol cod, tramadol overnight, tramadol overnight no script mastercard accepted, low price tramadol, tramadol online cash on delivery, tramadol overnight, 100 mg tramadol, tramadol no prescription drug, order tramadol cod next day delivery, tramadol xr buy online cheap, tramadol online fed ex, get discount tramadol now, buy tramadol tablets without prescription, only tramadol free consult, tramadol cod online, very cheap tramadol, tramadol pharmacy cod saturday delivery, order tramadol hcl with cod, real tramadol in us pharmacy, tramadol prescription from doctors online, order tramadol online, buying tramadol without a script, buy tramadol no prescription, Tramadol cheap no rx free from india, buy discount tramadol online, tramadol buy in UK, cheap tramadol cod, tramadol next day delivery, order discount tramadol, tramadol hcl 50 mg, tramadol ultracet, Tramadol on sale, overnight buy tramadol, buy cod guestbook.html inurl tramadol, Tramadol prescription, 180 tramadol cod, tramadol 120, buy tramadol online cash on delivery, tramadol without a prescription and cod delivery, purchase tramadol shipping, tramadol online no perscription, tramadol india, online pharmacies tramadol, purchase tramadol cod, tramadol for sale cod, tramadol without presciption, Tramadol and description, tramadol with next day delivery without prescription with free shipping, pharmacies tramadol pay by, tramadol pay by cod, tramadol cheap, buy tramadol overnight delivery, tramadol saturday delivery, tramadol overnight without prescription, tramadol, buy tramadol online cod, buy tramadol, tramadol cheap next day, tramadol medicine pay, tramadol pay COD, shipping tramadol, tramadol online next day, tramadol with, tramadol withdraw, tramadol fed ex, pharmacy tramadol, Cash on deliver Tramadol overnight, online doctor consultation for tramadol, tramadol no rx, cod tramadol 120, buy tramadol and pay by cod, Tramadol great buy, tramadol cod delivery next day, buy tramadol online, order tramadol online by fedex, buy cheapest tramadol, order tramadol cod, buy tramadol without a prescription overnight delivery, cod delivery tramadol, no prescription cod tramadol, buy tramadol pay, tramadol no prescription required, tramadol with free fedex overnight, TRAMADOL ONLINE FEDEX COD FREE CONSULT, order tramadol online pharmacies cash on delivery, pharmacies pay by cod tramadol, tramadol no prescription overnight cod delivery, next day tramadol, tramadol cash on delivery, Order Now Ultram, where to buy tramadol, tramadol hydrochloride, cod delivery tramadol, tramadol sales, tramadol online cheap, tramadol cheap, 180 ct tramadol payment options, tramadol cod shipping, no prescription tramadol fedex delivery, discount tramadol fast delivery, tramadol shipped on saturday, buying tramadol cod, tramadol ship to 50 states, buy tramadol with cod, order tramadol by, buy tramadol overnight via electronic check or, tramadol no prescription cash on delivery, buy tramadol online without dr approval, cheap tramadol overnight delivery, tramadol shipped with, buy tramadol no rx, tramadol without a rx, buy cheap tramadol online, cheapest tramadol, tramadol overnight delivery cheap, cheap tramadol, online pharmacy tramadol, cheap tramadol fedex overnight, overnight tramadol cod, TRAMADOL ONLINE FEDEX COD FREE CONSULT, tramadol med pay cod, Tramadol medication, cod tramadol, no prescription tramadol, tramadol cash delivery, tramadol next day, tramadol online with no prescription or membership, buy tramadol for saturday delivery, order tramadol online no prescription, pharmacies for tramadol pay, tramadol overnight online, tramadol ups, tramadol fedex delivery, buy tramadol overnight cod, buy tramadol cash on delivery, tramadol drug, More News wholesale phentermine, phentermine no prescription, phentermine without prescription, extra cheap phentermine, cheap phentermine no prescription, phentermine no prescription fast delivery, no prescription phentermine, Buy Phentermine Adipex 37.5mg, cheapest phentermine, cheap phentermine, phentermine hydrochloride, discount phentermine, phentermine no rx, order phentermine online, phentermine very cheap, phentermine 37 5mg, phentermine 30mg, cheap 37 5 phentermine, generic phentermine, phentermine 37.5 mg, phentermine diet pills, phentermine cod, cheap phentermine without a prescription, phentermine 37 5mg online, phentermine at discount prices, order phentermine online no prescription, phentermine order cheap, Buy phentermine online, where to buy phentermine, phentermine hcl,

38 queries. 0.652 seconds. Valid XHTML

Powered by WordPress

Subscribe to this blog in a reader or by Email.