Vanity of Vanities, all is Vanity

SoCG #1: Boy meet violator spaces. http://t.co/XC…

by on Nov.25, 2014, under Tweet

SoCG #1: Boy meet violator spaces. sarielhp.org/p/14/sublinear…

Leave a Comment : more...

A list of prime numbers (don’t ask)

by on Nov.25, 2014, under Research2

  1. 2
  2. 5
  3. 11
  4. 17
  5. 37
  6. 67
  7. 131
  8. 257
  9. 521
  10. 1,031
  11. 2,053
  12. 4,099
  13. 8,209
  14. 16,411
  15. 32,771
  16. 65,537
  17. 131,101
  18. 262,147
  19. 524,309
  20. 1,048,583
  21. 2,097,169
  22. 4,194,319
  23. 8,388,617
  24. 16,777,259
  25. 33,554,467
  26. 67,108,879
  27. 134,217,757
  28. 268,435,459
  29. 536,870,923
  30. 1,073,741,827
  31. 2,147,483,659
  32. 4,294,967,311
  33. 8,589,934,609
  34. 17,179,869,209
  35. 34,359,738,421
  36. 68,719,476,767
  37. 137,438,953,481
  38. 274,877,906,951
  39. 549,755,813,911
  40. 1,099,511,627,791
  41. 2,199,023,255,579
  42. 4,398,046,511,119
  43. 8,796,093,022,237
  44. 17,592,186,044,423
  45. 35,184,372,088,891
  46. 70,368,744,177,679
  47. 140,737,488,355,333
  48. 281,474,976,710,677
  49. 562,949,953,421,381
  50. 1,125,899,906,842,679

The program used to compute these primes is here.

2 Comments more...

Never play leapfrog with a unicorn.

by on Nov.22, 2014, under Tweet

Never play leapfrog with a unicorn.

Leave a Comment : more...

And suddenly, out of nowhere, it was 8pm.

by on Nov.19, 2014, under Tweet

And suddenly, out of nowhere, it was 8pm.

Leave a Comment : more...

Interesting phrase: “Friend of Dorothy” http://t.c…

by on Nov.18, 2014, under Tweet

Interesting phrase: “Friend of Dorothy” en.wikipedia.org/wiki/Friend_of…

Leave a Comment : more...

How many times can the same paper appear in an Els…

by on Nov.17, 2014, under Tweet

How many times can the same paper appear in an Elsevier journal? More than once… sciencedirect.com/science/journa…

Leave a Comment : more...

Space, might not be the final frontier in algorith…

by on Nov.16, 2014, under Tweet

Space, might not be the final frontier in algorithm’s design, but it
is an important constraint.

Leave a Comment : more...

A Mountaintop View Requires Minimal Sorting: A Fas…

by on Nov.14, 2014, under Tweet

A Mountaintop View Requires Minimal Sorting: A Faster Contour Tree Algorithm arxiv.org/abs/1411.2689

Leave a Comment : more...

Using my spaceship I biked into the wind, with its…

by on Nov.13, 2014, under Tweet

Using my spaceship I biked into the wind, with its snow flurries flying by me like stars. And so I landed in an alien planet: my departmnt.

1 Comment : more...

Extracting relevant bibtex entries…

by on Nov.09, 2014, under LaTeX, Research

It is sometimes useful to extract only the relevant bibtex entries from your bibliography file – for example, if you are using a big bib file as default, such as geombib (which is now outdated). There are two solutions I am aware of:

  1. Using bibtool, you can do (from the command line):

    bibtool --pass.comments=on --print.line.length=140 -x paper.aux -o test.bib

    This works very well, and extracts all the relevant bibtex entries, macros, and even (relevant) preamble macros/commands.

  2. Emacs has a minor mode called bib-cite-minor-mode. Once activated you can issue the command bib-make-bibliography, which creates a buffer with all the relevant entries. Works reasonably well, but does handle preamble macros correctly like bibtool. Still pretty useful.
    As pointed out by Marcus (see comment), there is also reftex-create-bibtex-file which also works (with similar limitations).
1 Comment more...

Self preservation…

by on Nov.08, 2014, under Quotes

Since most concepts of science are relatively simple (once you understand them), any ambitious scientist must, in self-preservation, prevent his colleagues from discovering that his ideas are simple too. So, if he can write his published contributions obscurely and uninterestingly enough, no one will attempt to read them, but all will instead genuflect in awe before such erudition.
— Nicolas Vanserg, On the Nature of Mathematical Reports

Taken from Jules Vleugels preface to his phd thesis.

Comments Off more...

An idea short, a decade late

by on Nov.05, 2014, under Quicky

It is somehow strangely satisfying to discover (early enough) that somebody else already solved your problem, and that you were not only a few ideas short, but also a few years/decades late.

Comments Off more...

And it seems like the pollsters got it right.

by on Nov.04, 2014, under Tweet

And it seems like the pollsters got it right.

Comments Off : more...

Happy voting day tomorrow… http://t.co/msM0EDNY…

by on Nov.03, 2014, under Tweet

Happy voting day tomorrow…
youtube.com/watch?v=DU-RuR…

Comments Off : more...

The new DBLP…

by on Oct.31, 2014, under Research

Some people seems to be unaware that there is newer DBLP site, that have more features (among them allowing you to download all your bibtex entries in one go, and better citations formatting). Anyway, the link is http://dblp.dagstuhl.de/db/.

4 Comments more...

Now I am tempted to write a paper titled “Not much…

by on Oct.31, 2014, under Tweet

Now I am tempted to write a paper titled “Not much”, followed by “Even less”, and then “Pfff”. notmuchmail.org

Comments Off : more...

If we are strong our strength would speak for itse…

by on Oct.29, 2014, under Tweet

If we are strong our strength would speak for itself, and if we are weak we could always change the topic.

Comments Off : more...

No love lost between the us administration and Net…

by on Oct.29, 2014, under Tweet

No love lost between the us administration and Netanyahu. Chicken shit had been heard. theatlantic.com/international/…

3 Comments : more...

Getting resizable parentheses to work correctly in LaTeX

by on Oct.26, 2014, under LaTeX, Research

So, writing in latex is sometime a low level affair. One of the irritating thing about latex is its handling of resizable parentheses. The default way to do this is quite tedious:
$ \left( whatever \right) $
The true LaTeX believers think one should never use this directly – instead one should use the amsmath \bigl(, \Bigl(, \Biggl(, \bigr),... commands, and handling resizing of parentheses explicitly, because it looks better (especially for summations with subscripts, automatic resizing of parentheses results in monstrously large parentheses).

Nevetheless, if you are lazy like me, the natural thing is to write a little macro:
\newcommand{\pth}[1]{\left( #1 \right) }
Usage: $\pth{ whatever } $

Which works great, except that it doesn’t:
$$\text{With pth: }f\left( x \right)\text{ compared to regular }f(x).$$ This demonstrates the problem with the spacing generated – latex adds a tiny space before a left command.

There is a tedious way to solve this, but it involves adding negative space to the macro, and then being careful to remove this space when using \pth in a subscript (which is what I was doing for a long time). Luckily, there is a latex package that solves this problem: mleftright. Doing:

\usepackage{mleftright}
...
\newcommand{\pth}[1]{\mleft( #1 \mright) }
...

Works correctly in all situations (at least so far).

3 Comments more...

The latest emacs (24.4) has a browser built in.

by on Oct.23, 2014, under Tweet

The latest emacs (24.4) has a browser built in.

Comments Off : more...

Walk in Crystal lake park: http://t.co/UKvyr1xodW…

by on Oct.20, 2014, under Tweet

Walk in Crystal lake park: sarielhp.org/pictures/peopl… http://t.co/5kPCwnh1Ml

Comments Off : more...

Wo sind meine Millionen?

by on Oct.17, 2014, under Tweet

Wo sind meine Millionen?

From some reason my German learning app things it is an important sentence for me to learn. Hmmm.

5 Comments : more...

Done with the required yearly ethics cleansing. Ho…

by on Oct.15, 2014, under Tweet

Done with the required yearly ethics cleansing. Hopefully this is the closest I would ever get to a genocide.

Comments Off : more...

SoCG 2015: http://t.co/64GevvJb7n

by on Oct.15, 2014, under Tweet

Comments Off : more...

“My wife is more important to me than my sister.Or…

by on Oct.14, 2014, under Tweet

“My wife is more important to me than my sister.Or my mother or my father OK? And she was the mother of my children.” nytimes.com/2014/10/15/us/…

Comments Off : more...

The church of google now accept requests to be bot…

by on Oct.13, 2014, under Tweet

The church of google now accept requests to be both forgiven and forgotten for online sins. Redemption is only for paying customers.

Comments Off : more...

Via reddit: “More Americans have been dumped by Ta…

by on Oct.12, 2014, under Tweet

Via reddit: “More Americans have been dumped by Taylor Swift than have died from Ebola.”

Comments Off : more...

ε-Nets for Halfspaces Revisited. A new note: http:…

by on Oct.12, 2014, under Tweet

ε-Nets for Halfspaces Revisited. A new note: sarielhp.org/p/14/enet/

Comments Off : more...

Plagiarism is to fail to put old words in a new or…

by on Oct.11, 2014, under Tweet

Plagiarism is to fail to put old words in a new order. With new technology it is only a question of time till all orders would be exhausted.

Comments Off : more...

Voted using absentee ballot. You can call me Mr. V…

by on Oct.10, 2014, under Tweet

Voted using absentee ballot. You can call me Mr. Voter now.

Comments Off : more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...