27.01.2012
I moved my legs and turned to the other side. It was still snowing outside but the streets were covered with ashes not snow. I was standing in the dark and looked at the stack of electronic devices now dark. Electricity and internet stopped a few months ago and it was dark, wet and cold. I had finally found a job as a cook but I could not remember all the ingredients. I stared at the screen forever dark now and tried to think of a way to bring it back online. Maybe the battery still had some juice and I could find the recipes there. But they were never on my laptop but on the server somewhere, in a database. And not even the server was here, he was somewhere else, in a room I had never seen, probably also gone dark. As I explored all the paths to where the knowledge one was I was getting sad at each step more. It was dark now outside and everything was vanishing from around me slowly. Finally I was in complete darkness. In a flash the ingredients for the lentil daal materialized in my mind and I grasped a glimpse of happiness.
Insert blob in Oracle
Assuming you have the following Oracle table:
CREATE TABLE icon(id NUMBER(19), icon BLOB);
these are 2 methods I found for inserting the value of a file in the icon.icon column. (more…)
dupa 20 de ani
Astazi s-au implinit 20 ani de cand a murit A. (more…)
24.01.2012
Parca deodata am fost smuls din starea de relaxare. R vroia neaparat, daca am ajuns pana aici, sa mergem la un seminar tinut de X, doar am citit atatea carti de economie scrise de el. (more…)
Durerea, o nimica toata …
Durerea, o nimica toata. Mai intai e un fior, un picior uitat la frig, un pas pe gresia rece sau un ciorap racoros, de vara. Apoi e umbra unei apasari, o senzatie usoara, un scartait, un pocanit. Nu e o durere insuportabila, nu urla, nu taie, nu sangereaza. Dar e acolo tot timpul, apasarea, umflatura. La inceput incerci sa o ignori, reusesti un timp, apoi te compleseste ca un fir de apa ce a crescut in spatele unui stavilar care tocmai s-a rupt. Vine ca un nor negru care distruge orice optimism, orice raza de soare. Te trezeste din vis, din somn, din ganduri. Ramane un suflet parjolit, cu trunchiuri de copaci rupti, arsi, bucati de cenusa. Atunci nu poti sa lucrezi, nu poti sa stai, nu poti sa dormi, nu poti sa fugi. Incerci sa te faci mic, mic si sa te ascunzi undeva, intr-un cotlon. Ai manca, ai bea, ai lua orice pastila, ai cumpara orice doar sa gasesti o speranta pentru zile calde, cu soare. Nu poti decat sa astepti, sa treaca, o nimica toata.
Soare, 3C
De dimineata erau 3 grade C dar era atata soare incat n-am rezistat ideii unei iesiri chiar daca a durat aproape o ora sa ma decid ce, cate, straturi sa pun si in ce ordine. Pe la 2 era aproape primavara. Pe la 5 era iarna din nou.

Len, cursiera
motp html5 app
After the Adobe Flex incident I spent a lot of time searching for a real RIA experience library and I found none. The truth is that I could not find any library which allows for the same ease of development, rich interface, multi-platform stability and advanced OOP language. Being fueled by marketing and buzz is not enough to have something solid to develop any kind of real RIA with ease.
So in the mean time, waiting for the time to pass I decided to build a html5 app. Developing with javascript reminded my of the bad times when you wrote something in FF and then a lot of hours later you decided to test it in IE and nothing worked. Nevertheless using: phonegap for encapsulation and jquerymobile for the UI, I implemented a motp client.
Based on the 4 digit pin and 16 bytes secret (or 20 chars seed) it will generate a one-time-password. Depending on the server implementation this will usually be valid for an amount of 3 minutes if the 2 devices are in time sync. Several server profiles are supported. An advanced mode allows for seed to secret generation and minute based offset.
Download the android market app searching for “motp token” or use this qrcode:
You can also test the app in your html5 browser here.
All the code is available in git-hub under apache 2 license. You can find more information about motp here.
Tort
TORT, torturi, s. n. Prăjitură (de obicei de formă cilindrică) făcută din mai multe straturi de aluat, având între ele straturi de cremă, de dulceață etc., acoperită cu o glazură sau cremă ornamentală etc. (sursa: dex).
Din pacate nu stiu nici o sursa unde pot sa gasesc o felie de tort care sa respecte definitia de mai sus. Majoritatea “torturilor” din cofetarii consta intr-o matrita de plastic in care s-a turnat o crema groasa si sunt acoperite cu un strat de alta culoare. Asa ca am profitat de noul an ca un motiv perfect pentru un tort. Rezultatul, chiar daca nu foarte spectaculos vizual respecta definitia de mai sus si in plus a fost si foarte bun.

Tort












Recent Comments