IEEE pdf express

May 6, 2011

I got a problem when I tried to submit my paper to an IEEE conference. It was not accepted because:

  • Bookmarks were found
  • Fonts were not embedded

Bookmarks were found

To solve this problem, all I had to do was to load the hyperref package, with the following option:

\usepackage[bookmarks=false]{hyperref}

Fonts were not embedded

I had to run gswin32 with the following options:

-dSAFER -dNOPLATFONTS -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sPAPERSIZE=letter -dCompatibilityLevel=1.4 –>dPDFSETTINGS=/printer -dCompatibilityLevel=1.4 -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true

(via Mohammad Hamed Firooz’s homepage).

Today, I will talk about a wonderful piece of software named Anki.

What is Anki?

According to the creator himself (cf the official website):

Anki is a program which makes remembering things easy. Because it is a lot more efficient than traditional study methods, you can either greatly decrease your time spent studying, or greatly increase the amount you learn. Anyone who needs to remember things in their daily life can benefit from Anki. Since it is content-agnostic and supports mages, audio, videos and scientific markup (via LaTeX), the possibilities are endless. For example:

  • learning a language
  • studying for medical and law exams
  • memorizing people’s names and faces
  • brushing up on geography
  • mastering long poems
  • even practicing guitar chords!

I use it only for the first reason: learning languages.

So what is it?

Now that you know what Anki is for, you can wonder how it works. It is based on flashcards: you create decks that contain flashcards of what you want to remember / learn.
Where Anki is special is that, unlike flashcards in the real world, flashcards in Anki can have more than two sides. This is extremely useful for languages because it allows you to have one side for each language (your own and the one you want to learn) and one for the pronunciation (or Pinyin for Chinese for example).

A simple way of creating your flashcards is to use simple text files where each line stands for a card and each side of the card is separated by a character of your choice (a tabulation for me). Hence:

flashcard carte /ˈflæʃˌkɑrd/

will create a card with one side containing “flashcard”, one containing “carte” and the third one containing “/ˈflæʃˌkɑrd/”.

Once you’ve created a deck and want to start learning, you launch the review. Anki will start showing you one side of cards and let you think about the answer or translation standing on other sides. When you think you have the answer, you click on “done” and Anki displays the actual answer. You can then let Anki know how difficult it was to find the answer, on a scale from 1 to 4 (typically corresponding to “again”, in which case you have not found the answer, “hard”, “easy” and “very easy”). It is very important to select the right difficulty because Anki uses it to calculate when the card will be shown again. The more difficult, the sooner the card will reappear.

And this is what makes Anki so exceptional when it comes to learning. The algorithm works very well and enable you to focus on learning what is giving you problem while easier words will appear less frequently.

And more

Anki proposes many options, like LaTex typesetting (for advanced display of cards), sound integration (to hear somebody pronounce words for example), and much more.
Honestly I do not use them at all and keep to the basic feature: flashcards with text.

As far as reviewing is concerned, you can set many parameters such as how many cards a day you want to learn (and you may want not to be ambitious here because you may well end up with a few hundred cards waiting for you in case you have not fired up Anki for a while, which can be depressive), in which order you want to add new cards, …

The cards can be tagged and you can deactivate some of them. This is a very useful option when you have a textbook and want to study a particular chapter. You then keep all cards not belonging to this chapter deactivated.

Syncing

We can now come to what really makes Anki amazing: syncing. You can decide to keep decks synchronized over the internet. Your decks are uploaded to Anki’s servers and you can synchronize them between different computers so that what you have reviewed on one of them is updated on the other.

This is extremely useful, all the more so because there exist Anki clients for mobile phones. I was frustrated not to have an Android version that supported syncing but things have changed and the Android client now supports it!

My Anki workflow

I add my new words to a text file and then import this file to Anki (a nice feature is that Anki recognizes if words to be imported already exist in your deck. This allows me to just add my words to the text file without erasing the old ones).
I do not find it comfortable to review on the desktop so I use the Android client to do it. It allows me to focus better, no distraction.
Thanks to online syncing, I can review anyhow on the desktop if I feel like to and I know that my decks will be at the same reviewing stage on both my phone and my desktop.

window.onload = function(){var div = document.getElementById(‘contentdiv’),oldscroll = 1668;div.scrollTop = oldscroll;}

Hamburger maison

April 24, 2011

2011-04-18 18.27.44

2011-04-18 18.28.03

Pâté de Pâques

April 24, 2011

2011-04-23 10.55.16

2011-04-23 10.55.22

D’après une recette de l’Internaute.

No.1

March 25, 2010

Tänkte ägna några inlägg åt att skriva om alla congees/soppor/flytande grejer jag äter här borta. Och här är den som startade allt.

Sesame paste.

tabagisme.jpg

Bilderna väckte mycket kritik i Frankrike och den association bakom kampanjen bestämde att stoppa den. Förstår inte vad de tänkte i första hand.

Texten under bilden betyder “Att röka betyder vara tobakens slav.”

Från Flickr

March 6, 2010

Två bilder hittade på en blogg som presenterar fotografer. En blandning av smuts och excentricitet, briljant!
re: gummo

Thirst

February 26, 2010

När jag hörde att någon hade anpassat Emile Zolas bok Thérèse Raquin blev jag nyfiken (jag hade ju precis läst boken). När jag fick veta att det var en sydkoreansk film blev jag ännu mer nyfiken. När jag upptäckte det handlade om vampyrer ville jag se filmen.

Thirst.jpg

Hur kan en naturalistisk bok förvandlas till en vampyrhistoria? Det var ganska uppmärksamhetsväckande tyckte jag och som det var filmhelgen tog jag en titt på grejen.

Blev mycket förvånad. Förvånad eftersom jag faktiskt var skeptisk om anpassningen. Mycket eftersom filmen är otrolig.
Jag återfann de starka känslorna som präglar boken på ett mycket karakteristiskt sätt. Dessutom tyckte jag om regissörens egna val (som vattensängen – utmärkt! – och förändringar i karaktärerna – prästen är sympatisk i filmen, Laurent är bara motbjudande (för stark ord kanske?) i boken- och det förändrade slutet).

Den är nu på bio. Det är bara att springa dit!

filmhelgen

February 23, 2010

I helgen såg jag totalt fyra filmer, alltså Snabba Cash som jag pratade om förigår och tre filmer till.

Den första var sydkoreansk. Den heter 봄, 여름, 가을, 겨울 그리고 봄 (Bom yeoreum gaeul gyeoul geurigo bom) på hangul, Spring, summer, fall, winter … and spring på engelska. Den är av regissören Kim Ki-duk.

spring-summer-fall-winter-and-spring.jpg

Den skildrar historian av en buddhist mästare och hans elev. Båda bor på ett litet tempel som flyter på en sjö. De har en liten roddbåt för att göra utflykter på landet. Där antingen motionerar de eller så plockar de örter. De bor alltså i en fullständigt avlägsen miljö och påverkas inte av resten av samhället.

Filmen öppnar sig på våren och eleven är då förmodligen runt åtta år gammal. Trots isoleringen drabbas han av barngrymhet och ger sig på de djur som han kan hitta.

Sedan bjuds vi på att få stiga in i sommaren och då väcks sexuell lust hos eleven när en tjej besöker templet för att botas.

Och så går alla årstider förbi. Varenda representerar en stark känsla. Ord är sällsynta och det viktigaste är att njuta av de fantastiska landskapen som erbjuds av filmen. Sjön är oerhört vacker året runt. Jag tycker personligt att det finns någonting magiskt när eleven tagit över templet och tränar halvnaken på isen.

Filmen är också gjort för att medföra några av Buddhisms principer. Till exempel återkommer man till våren i slutet av filmen och det symboliserar enligt mig cirkeln av återfödelse, som är mycket viktigt i Buddhism. En scen som jag tycker är synnerligen härlig är när eleven straffas att skära ut Heart Sutra ur trägolvet. De kinesiska tecknen som huggs ut är både regelbundna och kurviga, enkla och estetiska. De är helt enkelt perfekt snygga.

Jag kan bara hängivet rekommenderar filmen till alla som letar efter något lugnt och vackert!

Bästa snabbmaten

February 21, 2010

Är man lat eller känner man sig orkeslös en kväll så kan jag rekommendera det följande:
- koka färska pasta (det tar tre minuter i kokande vatten)
- lägg i en tallrik men finhackad lök och strimlade kalkonskivor
- häll på fil
Färdigt!

Follow

Get every new post delivered to your Inbox.