2008-12-29
Belief
2008-12-15
Amilo Li2735

2008-12-06
Trapped Inside
Here. Now. Alone. Full of obsessions. Full of fears. Trapped behind a fence inside the mind where the perceptual point of view offers no hope, no purpose, no sense of time. When eyes become too wide open, it starts to hurt. Then expectations die and life fades to black. A dark existence, where world becomes a lie, where you and me are just mistakes in universe, against the logics of the peace, of eternity.
Thinking... too much, too often. Searching the truth by making unbiased links between ideas. A chain is formed that locks the path to the reality of love and happiness. I stay at the border of this land awaiting for someone to rescue me from the truth that brings the madness...
2008-11-13
Correct phrase
2008-11-09
Ikariam
Locuitorii unui oraş se împart în 4 categorii: cercetători, muncitori la moara de lemne, muncitori la mina de resurse şi locuitori care nu sunt destinaţi celorlalte activităţi. Putem scrie aceasta ca :
Locuitori = Cercetători + MuncitoriLemn + MuncitoriResursă + Cetăţeni
2008-11-08
Quick tip
2008-10-25
Vundo.Gen
2008-10-09
Register a DLL or an OCX
To manually register a DLL or an OCX file in Windows use the following command:
regsvr32 [/u] [/s] <path_to_file>
where /u stands for unregister and /s for silent.
Example:
regsvr32 %systemroot%/system32/comdlg32.ocx
2008-09-25
Timidity
Resuming, timidity consists of:
- Fear not to bother
- Fear not to be in the center of attention
- Isolation factor
It’s important to mention that usually timidity installs itself at the instinctual level and is only eliminated by abruptly eliminating the generators.
The opposites of shy persons are the overconfident ones. In this world, the shy persons are the prey and the overconfident persons are the predators. When you form yourself as a person, there are several layers of behavior that interact and depend one on another. Because timidity is on a lower layer it is very difficult to extract and it requires multiple changes in almost all the layers. I guess that the key to success of timidity banishment is the isolation factor: forcing of being with other people will finally reduce the fears and most probably terminate them. But the shy person have to fight himself and push the relational interaction further even if he thinks he does ridiculous things. Unfortunately shy persons will not become very sociable easily, and in most cases is a matter of context.
The Zero Effect
2008-09-05
What means xunrage

2008-08-10
Subtitrari
2008-08-09
2008-08-08
Best Webhost
2008-07-10
2008-07-03
MinGW Developer Studio 2.05 cu MinGW 5.1.4
2008-07-02
Bad Icon for IE7
2008-06-22
Code::Blocks 8.02 cu Borland C++ Compiler 5.5
Netbeans 6.1 cu MinGW 5.1.4
A curs apa de pe mine până am reuşit să fac să meargă NetBeans împreună cu MinGW.
Primul pas a constat în download-ul lui NetBeans 6.1 care conţine toate componentele (versiunea de 219 MB) de aici. Anterior instalasem JDK 6 Update 6 şi aveam downloadată şi documentaţia de aici. La instalare am renunţat să instalez serverele, GlassFish V2 UR2, respectiv Apache Tomcat 6.0.16. Datorită acestui fapt nu am instalat nici SOA. Am pornit NetBeans şi am setat locaţia pentru documentaţie din meniul Tools->Java Platforms, tabul Javadoc, apoi Tools->NetBeans Platforms, tabul Javadoc. Este interesant faptul că NetBeans crează indexii pentru help abia după deschiderea unui proiect java, astfel că Help->Javadoc Index Search va funcţiona numai după aceea.
Am crezut că suportul pentru C++ este complet, însă am constatat că NetBeans oferă numai suport pentru editare (este doar un IDE), nu şi pentru compilare sau crearea executabilului.
Printre compilatoarele agreate este şi MinGW şi am decis să-l instalez pe acesta. Problema e că pe SourceForge sunt o mulţime de pachete pentru MinGW şi nu ştiam ce să instalez (vezi aici). Primul lucru pe care l-am instalat a fost Automated MinGW Installer (MinGW-5.1.4.exe). Am ales să instalez toate componentele mai puţin Ada Compiler, Java Compiler şi Objective C Compiler. Automated MinGW Installer a descărcat următoarele fişiere: binutils-2.17.50-20060824-1.tar, gcc-core-3.4.5-20060117-3.tar, gcc-g++-3.4.5-20060117-3.tar, gcc-g77-3.4.5-20060117-3.tar, mingw32-make-3.81-20080326-2.tar, mingw-runtime-3.14.tar, w32api-3.11.tar şi mingw.ini. Locaţia de instalare am lăsat-o C:\MinGW pentru că am observat că dacă conţine un spaţiu în denumirea căii, NetBeans nu se descurcă prea bine. Am observat că mai trebuie şi utilitarul make şi debuggerul. Pentru debugger am mers pe ramura GNU Source-Level Debugger şi apoi am downloadat din Current Release, fişierul gdb-5.2.1-1.exe. La instalare am ales să se instaleze tot în C:\MinGW. După mai multe încercări eşuate am găsit că pentru make trebuie descărcat pachetul msysCORE-1.0.11-2007.01.19-1.tar.bz2 de pe ramura MSYS Base System. Am făcut rost de un arhivator care ştie să despacheteze arhivele bz2 cum ar fi 7-Zip. După despachetare am copiat conţinutul arhivei msysCORE-1.0.11-2007.01.19-1.tar în directorul C:\MinGW. În final am setat NetBeans să folosească MinGW: am mers în meniul Tools->Options, apoi am ales pictograma C/C++ şi sub panoul Tool Collection and dat click pe butonul Add..., am ales ca Base Directory C:\MinGW\bin şi automat NetBeans a detectat că e vorba de MinGW.
2008-06-19
Licenta
2008-06-02
Freelance
2008-05-22
Reflections
It's a big difference between being you and believing in your existence. The main difference is that being you it is like you as a mind and you as a body are a whole, something integrated, something unique, that act and think in the same way. But when you think that you exist, you create a difference between your body and your mind. Then you start to view the life from different angles, from angles that sometimes leave your body. You can go as far as differentiating between your body and your mind or simply you can go farther and create a virtual wall between your internal world and external world. When you believe that you are not a whole structure it’s easy to imagine that your body can hold multiple dimensional selves and soon you will loose yourself.
My perception of a girl is like the girl is some sort of goddess. Because you do not have to trouble gods with your thoughts, with your feelings, gods are only there to venerate and to sacrifice your feelings for them, I usually do nothing. But this is an artificial love, an artistic love, because there are not deep roots in this love.
To meet love you have to be opened to love. That means that you strongly have to believe that someone can love you, you strongly have to believe that you cannot live without someone. These assumptions are stupid but they are beautiful in their way. And this stupid, yet beautiful thing is love.
I know only a way to love: it’s the way of being attracted to someone and transforming the attraction into an obsession. I don't get rid of my obsessions easily. She was a brunette, she was beautiful in a kind of way and nothing was too special about her. That emphasize my beliefs that you're attracted to women that are most closely to your genetic branch. Therefore I believe that my DNA dictates me that brunettes are best fit for the sexual purpose and for the racial continuance of my species.
I swore to myself or promised as you like to say it, I’d change the way I am. I was catastrophic! People don't change and if they change it takes a life to do it.
When your world crashes into pieces and you're not upset about it then you don't really exist, you're a fabulous thing from tales. Remaining with nothing creates a very multidimensional sorrow, multidimensional pity, and multidimensional negativism. Then, the existence has nothing to offer. It was not a surprise I desynchronized from school. When world means nothing, school means even less.
2008-05-13
Raport Candidati si Note
select nume+' '+initiala_tatalui+' '+prenume NUME_COMPLET,cnp, profiluri.nume_profil, filiere.nume_filiera, specializari.nume_specializare, forma_invatamant,rom_oral, rom_scris,(select nume_tip_subiect from tipuri_subiecte where tipuri_subiecte.id_tip_subiect=candidat.id_limba_moderna) PROBA_B, nota_limba_moderna,(select nume_tip_subiect from tipuri_subiecte where tipuri_subiecte.id_tip_subiect=candidat.id_proba_d) PROBA_D, nota_proba_d,(select nume_tip_subiect from tipuri_subiecte where tipuri_subiecte.id_tip_subiect=candidat.id_proba_e) PROBA_E, nota_proba_e,(select nume_tip_subiect from tipuri_subiecte where tipuri_subiecte.id_tip_subiect=candidat.id_proba_f) PROBA_F, nota_proba_f,(select nume_tip_subiect from tipuri_subiecte where tipuri_subiecte.id_tip_subiect=candidat.id_proba_f_bis) PROBA_REZERVAfrom candidat, specializari, profiluri, filierewhere nume_clasa='XIII' AND tip_clasa='' AND candidat.id_specializare = specializari.id_specializare AND specializari.id_profil=profiluri.id_profilAND profiluri.id_filiera=filiere.id_filieraorder by nume, prenume;
Atentie la Backup!
Prin urmare operatiunea de backup atat din CL 5.0 cat si din CL 5.1 a ramas aceeasi. Se alege din meniul Fisier, optiunea Copie de siguranta. Apoi se alege directorul unde se va crea backupul, conform titlului ferestrei de dialog "Selecteaza directorul unde va fi salvata copia de siguranta". Partea de jos a dialogului trebuie ignorata pentru ca trecut in casuta corespunzatoare "Numele fisierului:" este de fapt calea de directoare in care se salveaza backup-ul, iar casuta corespunzatoare etichetei "Tipul fisierelor:" este complet inutila. Incercarea de a da un nume exportului va rezulta intr-un esec, pentru ca numele este creat automat sub forma:
Pana aici probabil ca se gaseste in manual, insa voi merge ceva mai departe cu detaliile.
Primul lucru de stiut este faptul ca fisierul exportat este o arhiva ZIP, prin urmare schimband extensia EXP in ZIP se poate despacheta informatia continuta. In interior sunt 4 fisiere: bacalaureat.data, bacalaureat.log, bacalaureat.properties, bacalaureat.script. Aceste fisiere formeaza de fapt o baza de date HSQL cu numele bacalaureat. Fisierul bacalaureat.data, contrar numelui contine 1MB de carcatere NULL adica 1048576. El este cel mai mare insa e inutil. Fisierul bacalaureat.properties arata ca programul lucreaza cu HSQL versiunea 1.7.x. Datele introduse in sesiunea curenta (in perioada de timp de la deschiderea programului pana la crearea backup-ului) sunt salvate in fisierul bacalaureat.log. Programul realizeaza COMMIT, doar la pornire. Celelalte date se regasesc in bacalaureat.script.
Un backup rapid manual se poate face dupa ce s-a inchis programul, prin copierea fisierelor bacalaureat.properties si bacalaureat.script din directorul data al caii de instalare a programului CL.
Desi versiunea 1.8.x este versiunea curenta de HSQL si este downward compatible, ea va schimba fisierele bacalaureat.properties si bacalaureat.script, iar programul va afisa urmatorul mesaj "Aplicatia mai este pornita o data sau nu aveti drepturi de acces pe directorul data". Schimbarile sunt efectuate in sectiunea de creare a tabelelor in fisierul bacalaureat.script, sau spus altfel in sectiunea de antet pana incep comenzile INSERT. Atentie! Lipsa fisierului bacalaureat.properties duce la aparitia unei ferestre de eroare cu mesajul "Eroare baza de date" si un buton "Inchide". In aplicatie baza de date apare ca fiind goala, insa fisierul bacalaureat.script este intact, insa dupa inchiderea programului fisierul bacalaureat.script este modificat si se pierd toate datele. Dupa ce s-a folosit versiunea 1.8.x se foloseste fisierul bacalaureat.properties pentru versiunea 1.7.x, si se inlocuieste partea de antet din fisierul bacalaureat.script cu cel specific versiunii 1.7.x. Acest lucru este bineinteles necesar daca s-au modificat datele prezente in baza de date, insa nu si structura tabelelor.
2008-05-05
Problema cu CL 5.0
public static void main(String args[]){
Properties properties = System.getProperties();
if(properties.getProperty("java.vm.version").startsWith("1.6") properties.getProperty("java.vm.version").startsWith("1.5") properties.getProperty("java.vm.version").startsWith("1.4.2"))
{
//something
} else
{
Show.error("Versiunea minim\u0103 de JRE este 1.4.2.");
System.exit(0);
}
}
Problema e ca in JRE 6u5, atributul care este cautat este java.vm.version=10.0-b19, si prin urmare nu incepe nici cu "1.6", nici cu "1.5" si nici cu "1.4.2". Mai mult, ar trebui sa se aloce memorie astfel:
Properties properties = new Properties(System.getProperties());
Cel mai bine ar fi fost sa se foloseasca atributul java.version=1.6.0_05.
See a test here.
Excel & HSQL
In Excel:
- UPPER(A1&B1) - concateneaza continutul din A1 si B1 si apoi converteste toate literele mici in litere capitale.
- MATCH(B1,altafoaie!$A$1:$A$100,0) - indica randul din altafoaie in rangeul A1:A100 care contine exact informatia din B1.
- INDIRECT("altafoaie!"&ADDRESS(A1,3)) - intoarce valoarea din altafoaie de pe randul specificat de A1 si coloana C.
- select * from candidat where nume_clasa='XII' AND tip_clasa='A' order by nume,prenume;
Afiseaza toti candidatii in ordine alfabetica din clasa XII A. - select id_tip_subiect, nume_tip_subiect, id_disciplina,
(select nume_disciplina from discipline where discipline.id_disciplina=tipuri_subiecte.id_disciplina) NUME_DISCIPLINA,
id_proba,
(select cod_proba from probe where probe.id_proba=tipuri_subiecte.id_proba) COD_PROBA,
(select tip_proba from probe where probe.id_proba=tipuri_subiecte.id_proba) TIP_PROBA
from tipuri_subiecte where id_tip_subiect=197;
Afiseaza detalii complete despre tipul de subiect care are id-ul 197 (Engleza). Modificand acest cod se poate afla informatii despre oricare alt tip de subiect. Daca se elimina clauza WHERE atunci vor fi afisate toate tipurile de subiecte existente. - update candidat set id_limba_moderna=197 where nume_clasa='XII' AND tip_clasa='A';
Schimba id-ul probei la limba moderna cu 197 (Engleza) pentru toti candidatii din clasa XII A. Daca se foloseste de exemplu id_proba_d=10 (Matematica) atunci se va alege proba d pentru toti elevii din clasa XII A. - select * from alocare_tipuri_subiecte where ( id_filiera is null or id_filiera=1 or id_filiera=2)
and (id_profil is null or id_profil=3 or id_profil=5)
and (id_specializare is null or id_specializare=8 or id_specializare=74 or id_specializare=77 or id_specializare=39)
order by id_specializare asc, valabil desc;
Se filtreaza tipurile de subiecte posibile pentru filiera tehnologica sau teoretica, profilul real sau tehnic, specializarea matematica-informatica, tehnician mecatronist, tehnician transporturi sau tehnician electrotehnist. - select count (*) from candidat where id_limba_moderna<>0 and id_proba_d<>0 and id_proba_e<>0
and ((id_proba_f<>0 and id_proba_f<>192) or (id_proba_f=192 and id_proba_f_bis<>0));
Se returneaza numarul candidatilor care au optiuni complete, ceea ce inseamna ca au id-ul la proba respectiva diferit de 0, iar pentru Educatie Fizica (192) exista completata si proba de rezerva. - select nume +' '+ initiala_tatalui +' '+ prenume Nume_Complet, cnp, nume_clasa+' '+tip_clasa Clasa,
(select tipuri_subiecte.nume_tip_subiect from tipuri_subiecte where tipuri_subiecte.id_tip_subiect = candidat.id_limba_moderna) Proba_C,
(select tipuri_subiecte.nume_tip_subiect from tipuri_subiecte where tipuri_subiecte.id_tip_subiect = candidat.id_proba_d) Proba_D,
(select tipuri_subiecte.nume_tip_subiect from tipuri_subiecte where tipuri_subiecte.id_tip_subiect = candidat.id_proba_e) Proba_E,
(select tipuri_subiecte.nume_tip_subiect from tipuri_subiecte where tipuri_subiecte.id_tip_subiect = candidat. id_proba_f) Proba_F,
(select tipuri_subiecte.nume_tip_subiect from tipuri_subiecte where tipuri_subiecte.id_tip_subiect = candidat. id_proba_f_bis) Proba_F_Rezerva
from candidat order by nume_clasa, tip_clasa, nume, prenume;
Se afiseaza o lista care contine optiunile candidatilor numai cu numele optiunilor. - select nume +' '+ initiala_tatalui +' '+ prenume Nume_Complet, cnp, nume_clasa+' '+tip_clasa Clasa,
id_limba_moderna,
(select tipuri_subiecte.nume_tip_subiect from tipuri_subiecte where tipuri_subiecte.id_tip_subiect = candidat.id_limba_moderna) Proba_C,
id_proba_d,
(select tipuri_subiecte.nume_tip_subiect from tipuri_subiecte where tipuri_subiecte.id_tip_subiect = candidat.id_proba_d) Proba_D,
id_proba_e,
(select tipuri_subiecte.nume_tip_subiect from tipuri_subiecte where tipuri_subiecte.id_tip_subiect = candidat.id_proba_e) Proba_E,
id_proba_f,
(select tipuri_subiecte.nume_tip_subiect from tipuri_subiecte where tipuri_subiecte.id_tip_subiect = candidat. id_proba_f) Proba_F,
id_proba_f_bis,
(select tipuri_subiecte.nume_tip_subiect from tipuri_subiecte where tipuri_subiecte.id_tip_subiect = candidat.id_proba_f_bis) Proba_F_Rezerva
from candidat
order by nume_clasa, tip_clasa, nume, prenume;
Se afiseaza o lista cu optiunile candidatilor care contine atat numele optiunilor cat si ID-ul acestora.
About Adelina
![]() | When someone becomes famous everybody is eager to say that they know her. Well to be completely fair with you, being classmates for a year it's far from knowing somebody. Yes, I met her and all I can say it's that she was a very good person. Nothing outstands except the beauty. But in the 9th grade, we're just a bunch of kids scared by Biology, Math and sometimes IT. Now she presents sport news at Antena 3 and meets famous people. I like to think that there is a world beyond our world for all these people. She had everything necessary to cross beyond. When you watch TV, those people seem flat, and what you know about them makes them flat, but they are real, and sometimes we need to take some time to realize that they have needs like everybody else. I am the witness that those people exist. |
Note: She recently leaved from Antena 3, but at the time of the writing of this article she was still working there.
2008-05-04
Un nou homepage
2008-04-17
Date elevi BDNE
- Se salvează datele din BDNE Client HA alegându-se din secţiunea Export comanda Exportă Date. Această comandă exportă atât nomenclatoarele cât şi datele aferente unităţii şcolare. Fişierul exportat conţine toate datele, inclusiv situaţiile statistice (SC).
- Fişierul exportat are extensia EXP, însă este de fapt o arhivă ZIP, prin urmare schimbaţi extensia.
- În interiorul arhivei există un fişier export.xml şi un director export_BDNE_to_DCC. În director se află o bază de date HSQL. Dezarhivaţi conţinutul directorului arhivat într-un director local.
- Instalaţi HSQL (vedeţi acest post).
- Când se face exportul rezultatului din Database Manager-ul ce există în pachetul HSQL, diacriticele sunt înlocuite cu semne de întrebare. Pentru a avea o listă cât de cât corectă este nevoie de convertirea acestor diacritice în alfabetul englez. Acest lucru îl realizează o mică aplicaţie realizată de mine numită flatenise. Codul sursă pascal este inclus (aplicaţia este compilată cu Virtual Pascal 2.1 build 279).
- Se rulează serverul folosind comanda: java -cp c:\hsqldb\lib\hsqldb.jar org.hsqldb.Server -database.0 d:\bac2008\BDNE\db\nomDB
unde forma generală este: <java_path>\java -cp <hsqldb_jar_path>\hsqldb.jar <server_classpath> -database.0 <database_path>\<database_name>.
Se porneşte Database Managerul folosind comanda: java -cp c:\hsqldb\lib\hsqldb.jar org.hsqldb.util.DatabaseManager
forma generală fiind <java_path>\java -cp <hsqldb_jar_path>\hsqldb.jar <manager_classpath>.
Se alege în fereastra Connect, în câmpul Type, HSQL Database Engine Server. - Dacă aţi parcurs paşii cu succes, veţi vedea în partea stângă a Database Manager-ului o listă arborescentă de tabele. Căsuţa din dreapta sus este destinată introducerii comenzilor SQL. Pentru a afişa lista dorită vom folosi următoarele comenzi:
SET SCHEMA BDNE;
Prima comandă opreşte efectuarea schimbărilor asupra bazei de date până se întâlneşte comanda COMMIT sau ROLLBACK (vezi şi aici). Acest lucru protejează asupra schimbărilor accidentale.
A doua comandă are rolul de a alege secţiunea sau schema sub care se găsesc tabele.
În final introducem următorul query:
select elev.cnp, elev.nume, elev.initiala_tata, elev.prenume,(select descriere from nom_specializare_meserii
where nom_specializare_meserii.id_specializare_meserie =
asoc_unitate_formatiune.id_specializare_meserie) SPECIALIZARE,
asoc_unitate_formatiune.nume CLASA, asoc_unitate_formatiune.de_la,
asoc_unitate_formatiune.pana_la
from asoc_unitate_formatiune, asoc_elev_formatiune, elev
where asoc_unitate_formatiune.de_la >= '2007-09-01 00:00:00' AND
asoc_unitate_formatiune.id_asoc_unitate_formatiune=
asoc_elev_formatiune.id_asoc_unitate_formatiune AND
elev.id_elev=asoc_elev_formatiune.id_elev
order by asoc_unitate_formatiune.nume;
După apăsarea butonului Execute va fi afişată lista elevilor ce conţine coloanele: cnp, nume, iniţială tată, prenume, specializare, clasa şi o pereche de date pentru valabilitatea informaţiei.
Această listă se poate salva alegând din meniul File comanda Save Result CSV... sau Save Result...
Închideti serverul folosind comanda shutdown; înainte de a părăsi Database Managerul.
Delphi Console Application
program ApplicationName;
{$APPTYPE CONSOLE}
{$R 'aresource.res' 'aresource.rc'}
uses SysUtils;
begin
end.
The line {$R 'aresource.res' 'aresource.rc'} is optional. It is used to define a resource, specifically an icon for the application. The RC file is a plain text file that contains the following line:
1 ICON "myapplication.ico"
Therefore all the code for the application goes inside the begin-end pair in the DPR file.
2008-04-15
Why Siveco Rulz!

Iata fereastra de eroare:

Poate cuvantul corect era "maxima" :))
2008-04-12
Hrashti
2008-04-07
Enable Autocad 2000 on Windows 2000
HKLM\Software\Microsoft\Cryptography\RNG\Seed
HKCU\Software\Autodesk\
HKCR\AutoCAD.Drawing.15\
HKCR\CLSID\{8E75D913-9D21-11D2-85C4-080009A0C626}\
2008-03-30
Default bittorrent în Opera
Mergeţi în Tools -> Preferences..., apoi alegeţi tabul Advanced. Din stânga alegeţi Downloads, debifaţi căsuţa "Hide file types opened with Opera" şi căutaţi în lista cu MIME type următoarea linie:
application/x-bittorrent | torrent
daţi click pe ea şi alegeţi din dreapta butonul Edit...; din fereastra File type care se deschide alegeţi radio boxul "Open with default application" în loc de "Open with Opera". Închideţi ferestrele cu OK.
2008-03-20
Sfârşitul unui proiect
2008-03-19
Hafiz-Khadje Shamso'D
Mi-ai atins doar inima uşor,
Şi s-a sfărmat în mii de inimi;
O, cu mii inimi mă-nfior -
Dar mi te iubesc cu mii de inimi.
Mi-ai tins doar buzele uşor,
Şi s-au sfărmat în mii de buze;
O, cu mii de buze te implor,
Dar mi te sărut cu mii de buze!
Către noapte
... Şi am zărit prin nor
Chipul transfigurat al dragostei mele,
În ochii ei se oglindea veşnicia.
I-am cuprins mâna
Şi lacrimile noastre-alcătuiră
O sclipitoare şi nesfărmată
Legătură între noi.
Mii ani piereau
Ca nişte vijelii în depărtare.
La gâtul ei am plâns ...
fragmented by xunRAGE
Lui Taliarh
Priveşte cum se-nalţă alb Socrate
De-un gros omăt învăluit: cum codrii
Frânţi se îndoaie sub povară;
Cum apele de ger încremenesc.
Înfrânge frigul, din belşug în vatră
Zvârlind butucii: din amfora sabină
Cu mână largă-n cupe toarnă
Vin vechi de patru ni, o, Taliarh!
Iar celelalte - zeilor le lasă;
Când potoli-vor vânturile-n luptă
Pe marea aprigă - nici ulmii,
Nici chiparoşii nu s-or mai clăti.
Fereşte-te să-ntrebi ce va fi mâine;
Fiece zi trăieşte-o - dar al sorţii
Să nu dispreţuieşti, copile,
Nici desfătatele iubiri, nici dansul.
Atât cât cărunţia e departe
De tinereţea ta. Acum să cauţi
A Câmpului-lui-Marte jocuri
Şi preumblările în largi alee.
Acum să cauţi gingaşele şoapte
La tainice-ntâlniri abia rostite,
Când ceasu-i potrivit, în noapte.
Acum să cauţi râsetul zglobiu
Al fetei tale-ntr-un ungher ascunsă,
Şi smulge-i ca zălog iubirii voastre
Brăţara fină sau inelul,
În ciuda dulcei sale-mpotriviri.
2008-02-28
How to install BDNE Client over JRE 1.6.0 in Windows
2. Install a http server (Abyss Web Server X1 is a good choice) and a site mirroring application (HTTrack Website Copier is also a good choice).
3. Copy the jnlp file inside the home folder of your http server.
4. Convert the jnlp file from LF to CR+LF for editing convenience (get a tiny tool made by myself here).
5. Copy all the resources in the form
<jar href=”something.jar”></jar> and convert them to hyperlinks like
<a href=”codebase/something.jar”>something</a>
6. Put the hyperlinks (currently 42 of them) into a simple html file, and place this file inside your home folder of the http server (an example is here).
7. Download all the resources. With HTTrack create a new project. Navigate with your browser at the loopback address 127.0.0.1 and find the html file containing the resources links. Copy this address to HTTrack, and also choose for action “Download web sites + questions”. When the “Link detected…” window appears, choose “Mirror the whole domain”. The mirroring may take a while (usually the mirroring speed is slightly slower). If you use HTTrack you can select the speed of the download by going to Mirror menu, then Limits tab and type in the Max transfer rate (B/s) the value you want (for example 1000000).
8. Copy all the resources inside your home http server.
9. Modify the jnlp file replacing
<jnlp href="bdne-client.jnlp" spec="1.0+" codebase="http://ha.bdne.edu.ro/bdne-client"> with<jnlp href="bdne-client.jnlp" spec="1.0+" codebase="http://127.0.0.1"> and<j2se version="1.4" max-heap-size="128m" initial-heap-size="32m"> </j2se> with<java version="1.6" max-heap-size="128m" initial-heap-size="32m"> </java>
Also get rid of the icon deleting <icon href="bdne-icon.jpg"> </icon> (an example is here)
10. Don’t forget to uninstall any other older version of the BDNE Client.
11. Double-click the modified jnlp file. The client will be installed from local harddisk. Remember to start the http server if you closed it.
12. To create a shortcut on Desktop and Start menu you can go to JRE bin folder (something like <rootpath>\Program Files\Java\jre 1.6.0_03\bin\) and run javacpl.exe or using the standard way go to Start->Control Panel->Java, then go to General tab, choose View… for Temporary Internet Files and then select the BDNE Client from the list and click the button to install shortcuts.
13. You can also change the default icon to something more appealing.
Note: You don't need the Abyss Web Server to run after the client is installed. It is required only at installation time when local jnlp file is checked against codebase jnlp file (primarily that's why you download all the installation files to local computer). Every jar file is digitaly signed, therefore you cannot forge them anyway.
2008-02-21
VR/X 7 este în sfârşit disponibil
... Se spune că această lume este doar o faţadă, prin urmare cel mai bun lucru pe care îl poţi face este să nu o iei prea în serios...
...Se auzi în telefon un şuierat însoţit de un pârâit supărător. După ce m-am concentrat am putut distinge vag o voce care spunea pe un ton stins „Ajută-mă!”...
...Trăiesc într-o lume pe care s-ar putea să nu o înţelegi, însă pentru mine aceasta este singura cale...
...Am deschis ochii. Deasupra mea era aplecată Xia cu frumoşii ei ochi albaştri scufundaţi în lacrimi...
...O sferă minusculă apăru undeva la orizont însoţită de un zumzet abia perceptibil. Însă se îndrepta spre mine cu o viteză uimitoare, grila albă din jur părând să se deformeze la trecerea ei...
VR/X 7 - The Spheres Attack, available now!
2008-02-10
Citire de la tastatura in Java
BufferedReader in =
new BufferedReader(new InputStreamReader(System.in));
String s;
try{ s = in.readLine(); }
catch(IOException e){ e.printStackTrace(); }
Poti sa vezi un program cu QuickSort care foloseste aceasta secventa la http://xunrage.googlepages.com.
2008-02-08
Simple PHP Poll
2008-02-07
Get a Buz
2008-01-26
A problem
A talk with a woman is like a game: you move, she moves, you say something, she says something even more embarrassing and stupid, until one of the two is knocked down.
2008-01-22
Kurorori
2008-01-18
Setting Default Sound Card in Ubuntu
sudo asoundconf list
To set the default soundacard:
sudo asoundconf set-default-card PARAMETER
for example: sudo asoundconf set-default-card Live





