2015
07.30

The two cultures of mathematics – a nice discussion of combinatorics and why it matters by Gowers. dpmms.cam.ac.uk/~wtg10/2cultur…

2015
07.28

“Lion King” would have been a completely different movie if in the middle of it, Simba was killed by an American dentist on vacation.

2015
07.28

Random austerity measure generator. random-austerity-measure-generator.com/#

2015
07.26

Why being an incompetent researcher is a good thing, if you want to play academic politics. krugman.blogs.nytimes.com/2015/07/26/tat…

2015
07.23

Paper defines the simple problem they study only on page 4. Going to be a long summer.

2015
07.21

Dashcam video of Sandra Bland traffic stop and arrest released: dailykos.com/story/2015/07/…. Hard not to be appalled.

2015
07.21

The heros prove a minor new theorem, all proceeding work immediately forgotten. A scientific breakthrough declared. Repeat.

2015
07.20

Trump likes saviors who didn’t get crucified. wonkette.com/591542/donald-…

2015
07.19

8 queens in lua. A really cute programming language… sarielhp.org/misc/blog/15/0…

2015
07.18

Why Do Black People Keep Killing Themselves When They Get Arrested? wonkette.com/591252/why-do-…

2015
07.17

Two things are no longer due, but done. But ten mo…

Two things are no longer due, but done. But ten more things to do appeared in my mailbox. The quagmire enslavement to my email continues.

2015
07.15

Animating a paper… http://t.co/h8E8czJyVQ

Animating a paper… sarielhp.org/blog/?p=8937

2015
07.15

Animation in papers…

So recently I was very excited about creating an animation from an ipe figure (see here). Interestingly, it is surprisingly easy to include such an animation in a latex document and see it in the resulting pdf. You would need to use acroread to see the animation (doesn’t work for okular, too bad).

Here is a minimal latex example:

\documentclass{article}
\usepackage{animate}
\begin{document}
\centerline{\animategraphics% [autoplay,autoresume,width=0.8\linewidth,%
controls,loop,buttonsize=4em]%
{2}{figs/animation_1}{0}{22}}
Animation of algorithm -- you would need acrobat reader to see the animation - click the figure to make it start.
\end{document}

Here is the resulting pdf, and the complete source of this example with the ipe figure is here.

2015
07.14

Donald Trump is what would happen if a reddit comm…

Donald Trump is what would happen if a reddit comment thread ran for office. dailykos.com/story/2015/07/…

2015
07.14

Bibi, the largest error of them all, calls the agr…

Bibi, the largest error of them all, calls the agreement with Iran a historical mistake.

2015
07.12

Internet provider company responds to emerging loc…

Internet provider company responds to emerging local competition by making their service even worse. #NotTheOnion

2015
07.08

Animating figures

So, generating an animated figure is surprisingly easy from a pdf file – every page turn into a frame, and one can easily set the delay between frames. One can easily generate such pdfs from ipe figures – especially when one draws a complicated figure with subfigures demonstrating an algorithm. The resulting animation demonstrates the algorithm much better than the static figure can. For example (and no, you are going to have no clue whats going on, for this you would have to read the paper, which I hope to post in a few days), see here.

So, the following works under linux using ImageMagic:
convert -density 300 \
-delay 300 "file.pdf[0-3]" \
-delay 100 "file.pdf[4-21]" \
-delay 500 "file.pdf[22]" \
test.gif

The delay parameter sets the time delay between frames (in 0.01 second units), and the “[0-3]” indicates what range of pages would be used. In the above, I put different delays between frames. The density parameter decides the resulting size of the output – larger number, results in a bigger image.

I hope this medium would be used more frequently – it definitely shows a potential to be useful.

2015
07.07

Union…

Union

2015
07.06

And so the evening passes in drawing figures.

And so the evening passes in drawing figures.

2015
07.04

One nation under the NSA, indivisible, with liberty and justice for all.

Happy fourth of July!

2015
06.16

Asked why his charge failed, General Pickett repli…

Asked why his charge failed, General Pickett replied: “I’ve always thought the Yankees had something to do with it.” en.wikipedia.org/wiki/Pickett%2…

2015
06.15

SoCG 2015 proceeding available online – free &…

SoCG 2015 proceeding available online – free & beautiful formatting (much better than previous years). drops.dagstuhl.de/portals/extern…

2015
06.15

SoCG 2015 Proceedings…

Are now available online for free, well before the conference.

The formatting is much nicer than the ACM formatting, and the usual formatting used in theory conferences proceedings. Yet another reason to move away from ACM/IEEE.

2015
06.06

The polygonal porcupine and the crazy eyes

2015
05.25

Enabling tracking protection on firefox speeds up…

Enabling tracking protection on firefox speeds up browsing: news.slashdot.org/story/15/05/25…
and here is how to enable it:
support.mozilla.org/en-US/kb/track…

2015
05.05

Kent shootings, roughly 45 years ago. http://t.co/…

Kent shootings, roughly 45 years ago. en.wikipedia.org/wiki/Kent_Stat…

2015
05.05

A wild ride for one Illinois computer science stud…

A wild ride for one Illinois computer science student from high school dropout to graduation engineering.illinois.edu/news/article/1…

2015
04.20

Congratulations professor Raichel http://t.co/8D2e…

Congratulations professor Raichel sarielhp.org/blog/?p=8868

2015
04.20

Congratulations professor Raichel

My soon to be ex-student Ben Raichel is joining the CS department in UT Dallas.

2015
04.18

T-Shirt weather, sunny, green. Unwhining about spr…

T-Shirt weather, sunny, green. Unwhining about spring time.