2010-01-18

Exercise

I've found the following problem in the laboratory at school:

A vector X with n integer numbers is given. Write a Pascal program that computes and prints the longuest sequence X[i], X[i+1], ..., X[f] such that all the elements are mutually distinct.

2010-01-02

An scolar studenti 2009-2010

Structura anului universitar 2009-2010:

Semestrul I
28 sept 2009 Deschiderea festiva a anului universitar
28 sept 2009 - 20 dec 2009 Activitati didactice 12 saptamâni
21 dec 2009 - 03 ian 2010 Vacanta 2 saptamâni
04 ian 2010 - 17 ian 2010 Activitati didactice 2 saptamâni
18 ian 2010 - 07 feb 2010 Sesiune de examene 3 saptamâni
08 feb 2010 - 14 feb 2010 Vacanta 1 saptamâna
15 feb 2010 - 21 feb 2010 Sesiune de restante 1 saptamâna

Semestrul II
22 feb 2010 - 06 iun 2010 Activitati didactice 14 saptamâni
05-11 apr 2010 Vacanta de Pasti Toate Liniile
07 iun 2010 - 27 iun 2010 Sesiune de examene 3 saptamâni
30 aug 2010 - 05 sep 2010 Sesiune de restante 1 saptamâna

Semestrul II - Anii terminali
23 feb 2009 - 23 mai 2010 Activitati didactice 12 saptamâni
05-11 apr 2010 Vacanta de Pasti Toate Liniile
24 mai 2010 - 06 iun 2010 Sesiune de examene 2 saptamâni
07 iun 2010 - 13 iun 2010 Sesiune de restante 1 saptamâna
14 iun 2010 - 27 iun 2010 Pregatirea examenului de licenta si dizertatie 2 saptamâni
28 iun 2010 - 04 iul 2010 Examenul de licenta si dizertatie 1 saptamâna

2010-01-01

Naming conventions

When someone like me puts a lot of markup and javascript inside posts there is always a risk to create conflicting ids and names. One solution is to create a naming convention. Therefore a good idea will be to create master functions (or classes if you like) that contain all the javascript code, and the markup to be inserted using javascript also. The class function will have a name like xunClass_12345678, the instance of the class the name like xunInstance_12345678, while markup elements something like xun[Markup]_12345678_1234, where 12345678 is a unique alphanumeric id for the class and is identical for the instance and any markup, while for markup the last 1234 is a unique id in that area. See the source code for this post for an example.