Jun 01 2009

Mr. John Mayer…

Category: English posts,MiscellaneousIuliana @ 11:25

… i think you owe me a beer.

A friend of mine heard your songs playing on my computer while she was at my place yersterday(she never ever knew you existed until yesterday, by the way) and now she is a fan of yours.

So… mhm… how about that beer? :D

May 13 2009


Category: English posts,MiscellaneousIuliana @ 2:52

Me need help with it… The bloody thing doesn’t seem to work on gentoo :(( !!! ( And documentation for it is 0).

Mar 08 2009

Seaqxx’s laws

Category: English posts,MiscellaneousIuliana @ 0:35

In the same agenda I have found some rules which I tried to follow  while growing up.

  • Never ever fool around with the best friend of your girlfriend’s boyfriend.
  • Ideals usually stay buried in the heart, reality is  a different thing, no matter how hard it is. When ideals escape from the heart they make the dreamer a hero by killing him.
  • Try not to do things that you don’t enjoy at all. You will get it all wrong every time.
  • Females big absurdity is that they always love you when you have something else really important to do.
  • Males big absurdity is that they always have something else really important to do when you want them to love you.
  • A  battle on two fronts fought by one army is a lost battle unless the leader is Napoleon Bonaparte.
  • Never speak to a wide audience unless you are asked or you have something really important to say.
  • Choose wisely the moments when voice should be raised.
  • Don’t lower yourself to the level of someone intelligently inferior to you.
  • Hazard is very rare, but it is known to happen.

Mar 08 2009

Old days stuff

Category: English posts,MiscellaneousIuliana @ 0:03

I was making some cleaning today trying to decide what old stuff to throw out and I found a small agenda that I had been using for about 3 years, one of high school and two of faculty. Inside, among some of my favorite artists at the time autographs and a lot of stupid things, I found some quotes from a favorite writer of mine, named Liviu Rebreanu. So here they are.

  • Every man needs love and is worthy of it.
  • Love moves the sun… and the other stars.
  • Jealousy is born together with love.
  • In reality, nothing lasts forever.
  • Love never killed anyone, people have killed in its name.
  • Murder is always pregnant with punishment.
  • Love has filed for bankruptcy in this modern world, so did humility and respect.All is dominated by pride, vanity, selfishness, hypocrisy and chauvinism.
  • Hate is love’s sister, so it’s no shame to hate.
  • People with money escape any low, but this one.
  • I worth more than my reputation does.
  • True happiness lasts only a moment. Human nature cannot take more than that.

Feb 21 2009

Truth about Romania

Category: English posts,MiscellaneousIuliana @ 10:12

Some of rpx’s Wow friends, expressed the desire for us to write our posts in English so they can understand us. We tried this once before, at the beginning of this blog. But we gave up because was difficult, but mostly time consuming, to write the posts in Romanian and then translate them into English. From now on, posts that I consider interesting will be written directly in English.

Romania is a third world country, so you’ve been told or so you think because you don’t now where it is on the map. The truth is Romania is far from a third world country. I will tell you why.
Before 1989, Romanian people had everything any other people on this planet had except the freedom to live the country and access to information about the world around its country. This isolation made Romania technologically retarded so its inhabitants were forced to compensate the missing technology… by using their brains. The Romanians had jobs, lived in concrete blocks of flats or houses, paid bills and taxes, had access to medical services, their children were well educated and taken care of. Pretty normal for the inhabitants of a country isn’t it? Of course there was also poverty, isn’t it anywhere?
Romania has a geographical advantage being the center of the European continent and it is a pretty valuable “friend” to have. And before 1989 Romania was URSS’s friend.
In 1989 the revolution happened and this revolution is still suspected as being caused from outside, in order to break the communists friends apart. The break up happened and a people with broken beliefs can be easily seduced.
Limits were taken away, a phenomenon called freedom filled their hearts and some took it for granted without actually knowing what it meant. Internet was spreading like a plague, new concepts, new ways of life were overwhelming the “overprotected people”. Some Romanians took the chance and left the country in order to build a brighter future. Some of them are teaching at foreign schools and universities, some of them are respected members of science research teams(LHC team has 20 Romanians for example), some of them are important pieces of big IT companies(Sun and Microsoft) and some of them even have their own companies.
The ones not included above are the ones that don’t work with their brains but they use their arms in growing big economies.(Didn’t you ever wondered what Italian and Spanish economy flourished after 1989?)
Of course some Romanians got it all wrong and took advantage of the naivety of the “over-technologized” people, of course once the iron fist of communists disappeared, gypsies started multiplying and left Romania too, because in a democratic country anyone can leave and come back when he wants, what did you expect? There is no perfect people anywhere in this world, any people has its own thieves, killers, dictators, gypsies and bitches.
So next time when you hear about Romania, if you still don’t know where it is on the map or you have no idea about its history, bite your tongue and don’t say out loud that is a third world country if you haven’t been there to see it with your own eyes. Plus, the fact that you don’t know where it is on the map, doesn’t make you very well informed.

This text was written by a Romanian girl, that has a masters degree and works as a developer in a company which is owned by a French business man. A girl which was also an university teacher for a while, which lives in a beautiful house, has a beautful cat which she adores , writes almost daily on a blog, speaks two foreign languages and gains enough money to support herself and the cat :). Am I any different from you, except the fact that I’m living in a country that you don’t know nothing about? I don’t think so.

Jan 03 2009

Human life in my favourite music

Category: English posts,MiscellaneousIuliana @ 13:12

Because of some artistic reasons this post will be written in English.

When we are born we are all so innocent, then for some of us the going gets though, some of us say bye bye before their time, they just die like this, some others live ordinary lives and others do everything to be popular. Some of us not actually die, but do give up and get too friendly with drugs and alcohol. But some of us do make’it and get to meet love and feel insatiable, and get to be happy. But even so, some things might crash and burn or shake and break. It is all normal in a world that continuously spins around us. And it is also normal to have strange relationships and moments when you feel like you have no way out of the darkness. But remember, in a world so big, you are not alone. You are never alone, someone you don’t even know about is always right beside you. Some of us preffer to belive it’s an angel but most of us we know that he/she’s the one, the only one.

So have some faith, even you that consider yourselfs freeks! We are on the verge of something wonderful, at least that’s what Julia says.

Aug 14 2008

HQL-ul mamii lui…

Category: Miscellaneous,TechnicalIuliana @ 19:16

De ceva vreme ma chinui cu un task de la servici. Spun ca ma chinui, pentru ca specificatiile se tot modifica si de fiecare data cand vreau sa implementez ceva gasesc buguri sau nelamuriri.

Hai sa dau niste detalii. Deci am o tabela cu niste inregistrari numite tranzactii. In fiecare tranzactie sunt implicate niste conturi, dar nu direct ci prin intermediul altor tabele. Intr-una din tabele astea o intregistrare are un camp numit value. Eu trebuia sa fac un query care sa sumeze valorile respective pentru tranzactiile in care apare un anumit cont ca destinatie. Toate in toate  tranzactiile sumate nu sunt implicate conturi care au “parinti” intr-o anumita lista. Tranzactiile sunt si ele grupate in documente si se vor lua in considerar numai cele care fac parte din documente care au fost introduse intre datele specificate de utilizator.

Cum ar arata query-ul… asa intuitiv:

select sum(a.value) from Entry a where a.account.id=:id_param and a.sourcedestinationFlag=’destination’
and a.transaction in (select tr from Entry e inner join e.transaction tr where e.account.parentAccount in (:list))
and a.transaction.document.date <![CDATA[>=]]>:start_date
and a.transaction.document.date <![CDATA[<=]]>:end_date;

Simplu nu? Ei bine nu merge, hibernate arunca o exceptie de tipul NullPointerException. Ca respectivul query sa mearga trebuie sa arate de fapt asa:

select sum(a.value) from Entry a where a.account.id=:id_param and a.sourcedestinationFlag=’destination’
and a.transaction in
(select t from transaction t where t in
(select p from transaction p where p not in
(select tr from Entry e inner join e.transaction tr where e.account.parentAccount in (:list)) )
and t.document.date <![CDATA[>=]]>:start_date
and t.document.date <![CDATA[<=]]>:end_date
and t.deleted=:not_deleted_filter_param )

Al doilea select (ala cu p) e necesar tot pentru a preveni NullPointerException. Cea mai faina faza este ca nu iti spune ca este de la query-ul respectiv problema. Spune doar:

Exception in thread “main” java.lang.NullPointerException
at org.hibernate.hql.ast.tree.FromClause.findIntendedAliasedFromElementBasedOnCrazyJPARequirements(FromClause.java:120)
at org.hibernate.hql.ast.tree.FromClause.getFromElement(FromClause.java:107)
at org.hibernate.hql.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:81)

(… bla bla bla)

Cool ha?