ublo
bogdan's (micro)blog

bogdan » mai avem vre-o sansa pe 2 decembrie?

02:54 pm on Sep 15, 2012 | read the article | tags:

pentru început trebuie să își spun că nu sunt afiliat politic. nici măcar la modul subtil, în care să declar că n-am adeziune semnat? și în același timp să particip la birouri permanente și ?edin?e de partid. sunt simpatizant PSD prin prisma prietenilor care au aderat la acest partid și adept al ideologiei libertariene.

mi-aduc aminte cum în 2004 comentam cu ni?te prieteni după alegeri, că alian?a DA nu avea suficienși oameni competenși pentru a-i promova pe pozișiile de conducere controlate politic și a recurs la promovarea unor necunoscuși, semi-competenși, care nu aveau nici cea mai mică idee despre conducerea institușiei la care urmau să fie deta?ași. din nefericire, efectele negative ale acestei politici au fost întârziate de avântul economic care prevestea criza și de un control central spartan, creând impresia unui mecanism competent și perfect funcșional: o alternativ? viabil?.

în prezent, lucrurile stau altfel și sunt exprimate destul de clar în părerea unui prieten: «de când sunt ai no?trii la guvernare ne merge mai r?u». USL a întinerit avangarda pierzând r?bdarea, experien?a și competen?a care i-au făcut omnipotenși înainte de 2004.

preluarea guvern?rii de către USL a fost o gre?al? tactică major?. pe fondul unui declin economic și a unei redresări artificiale pentru a îndeplinii cerin?ele creditorilor, PD-L a l?sat o adev?rat? bomb? cu ceas la palatul Victoria: investișiile p?guboase, gestionarea deficient? a fondurilor europene și colapsul companiilor de stat. sincronizarea USL cu exploziile programate nu a putut fi mai potrivit?, transformând alian?a dintr-o alternativ? viabil? într-un magnet pentru dezastre.

în plus, anii de opozișie și-au spus cuvântul iar structura PSD și PNL a fost erodat? atât de lipsa fondurilor cât și de procesele în care au fost implicași liderii acestor partide. pline de oportuni?ti migrași după declinul guvern?rii PD-L, cele două partide se confrunt? în acest moment cu lipsa unui efort focalizat, gestionat central care să le asigure impulsul necesar pentru a-și asigura victoria în toamn?, lucru confirmat de e?ecul referendumului. dacă la un moment dat, cuvântul generașiei Iliescu producea cutremure, în acest moment condamnarea lui n?stase a scos la iveal? vulnerabilit?șile acestei generașiei, având ca efect direct (dar trecut cu vederea) anarhia.

concluzia comentariului meu este că, deși mai e timp până pe 2 decembrie, viitorul sun? mai r?u ca niciodat?. sper să mă în?el.

bogdan » 1st incompletness theorem

| read the article | tags:

or better stated, unless we have infinite uncountable processing power we will never be able to describe the universe starting from our knowledge.

in 1931, at 25 years old, Kurt Goedel proved two theorems central to modern science. named incompleteness theorems, they set a bound on the limit of our knowledge at a specific time, pushing the “know it all” objective far beyond any imaginable horizon and extending our quest indefinitely.

1st incompletness theorem (as stated by Stephen Cole Kleene in 1967)

Any effectively generated theory capable of expressing elementary arithmetic cannot be both consistent and complete. In particular, for any consistent, effectively generated formal theory that proves certain basic arithmetic truths, there is an arithmetical statement that is true, but not provable in the theory.

in simple words the theorem states that starting with a finite set of rules that can generate numbers and simple arithmetic on them, there are statements that cannot be proven or unproven using only the starting rules. more over, there’s no algorithm that can extend (even infinitely) the initial set of rules in order to cover all the statements involving the constructed numbers. the theorem scales up to the size of the universe as all modern physics theories extend the simple arithmetic on natural numbers, thus in any physical system (as understood today) there are properties of the system components that will lay outside the boundaries of our knowledge.

definitions: uncountably infinite.

Einstein and Goedel - Princeton 1950

photo: Oskar Morgenstern, institute of advanced study archives

bogdan » surreal numbers

09:15 pm on Sep 10, 2012 | read the article | tags:

the field of surreal numbers is the largest totally ordered field that can be constructed. it’s nice2know because of the elegant construction and the neat ideas behind it.

let’s start with a totally ordered set and a rule:

“given two subsets, L and R of the initial set, with L strictly less than R, {L|R} will denote the number strictly greater than L and strictly less than R”.

we can now elegantly construct:

{|} ~ 0 (where both L and R are empty sets);
{0|} ~ 1 (where L={|} and R is empty);
{1|} ~ 2 … {n|} ~ n+1, thus embedding the natural numbers.

making L empty and R one of the “naturals” we get negative integers: {|n} ~ -n-1

we can extend further the initial set closing it with respect to {0|1} ~ 1/2 and thus embedding the dyadic numbers set, which is a dense set in reals.

following the density of dyadic numbers, for any real number a we can construct infinite dyadic subsets L and R for which L < a < R, i.e. {L|R} ~ a.

the construction goes even further, building transfinite numbers like {{1,2,3,…}|} ~ ω and {0|{1/2,1/4,1/8,…}} ~ ε.

warning:
each surreal number has more than one representation, much like fractions. ex: 1/2 ~ {0|1} ~ {1/4|3/4}. this is why i avoided to use {0|} = 1.

definitions:
field, totally ordered set, dense set, transfinite number


painting: joan miro – dancer

bogdan » coheed and cambria

10:59 pm on Aug 31, 2012 | read the article | tags:

the first time i’ve heard coheed and cambria was on the soundtrack of tim burton’s production 9, and they made a strong impression with «welcome home». little did i know that each song is actually part of story following coheed and cambria kilgannon’s struggle against wilhelm ryan, the supreme archmage of heaven’s fence.


(image src: watchplayread.com)

bogdan » mac no more

11:13 am on Aug 26, 2012 | read the article | tags:

nu m-au convins caloriile, conservanții sau «supersize me». m-au convins nesimțirea, dezorganizarea și tratamentul preferențial al clienților din restaurantul pe care îl frecventez. un mecanism care în toată lumea merge ceas nu are nicio șansă în fața indolenței angajatului român.

bogdan » viziunea tinerilor asupra managementului de proiect

02:26 pm on Aug 3, 2012 | read the article | tags:

Vă rog să mă ajutați să completez următorul chestionar (8 întrebări, fiecare cu variante predefinite de răspuns) legat de viziunea tinerilor asupra managementului de proiect:

bogdan » pinguino / manchester decoder / opentherm

09:28 pm on Jul 29, 2012 | read the article | tags:

as a part of my PhD. studies i needed a simple interface to a central heating unit (CHU). searching the internet i found that most CHU are slave devices that use OpenTherm protocol for communication. i will bother you with that in a future post. for now, OpenTherm uses the Manchester code for sending and receiving information. as recently i’ve switched from arduino to pinguino (still using arduino for my work with students), here’s a small library that i use to decode the OpenTherm messages, that is versatile enough to be used for any Manchester code codec. it worked with a PINGUINO MX220 from Olimex. the tolerance for the bit timing is quite good: it correctly received data with bit lengths from 880uS to 1320uS. for other ranges tweak the defined constants.

// the code bellow is provided "as-is" with no warranty whatsoever
// also, this is a sketch and should be treated likewise

/* half the bit length */
#define OTHRM_BIT_TX0    500
/* threshold in microseconds for bit detection.
   it should be larger than the fastest transition time,
   yet it should consider the clock tolerance and the
   speed of the CPU. for PINGUINO 32MX220 this worked */
#define OTHRM_BIT_RX0    300
/* maximum length of a bit, in microseconds */
#define OTHRM_BIT_RX1    1000

#include <delay.c>

/* the OpenTherm frame has 32 bits. for 8 bit processors, use an array */
volatile u32 OTHRM_FRAME;

/* this function sends the OTHRM_FRAME data through "pin" */
void othrm_tx (u8 pin) {
    u8 c = 0;

/* start bit "1" of OpenTherm */
    digitalWrite (pin, HIGH);
    Delayus (OTHRM_BIT_TX0);
    digitalWrite (pin, LOW);
    Delayus (OTHRM_BIT_TX0);

/* actual data */
    for (c = 0; c<32; c++) {
        if ((OTHRM_FRAME >> 31) == 1) {
            digitalWrite (pin, HIGH);
            Delayus (OTHRM_BIT_TX0);
            digitalWrite (pin, LOW);
            Delayus (OTHRM_BIT_TX0);
            }
        else {
            digitalWrite (pin, LOW);
            Delayus (OTHRM_BIT_TX0);
            digitalWrite (pin, HIGH);
            Delayus (OTHRM_BIT_TX0);
            }
        OTHRM_FRAME <<= 1;
        }

/* stop bit "1" of OpenTherm */
    digitalWrite (pin, HIGH);
    Delayus (OTHRM_BIT_TX0);
    digitalWrite (pin, LOW);
    Delayus (OTHRM_BIT_TX0);
    }

/* receiving data from pin "pin". the data will be found in
   OTHRM_FRAME */
void othrm_rx (u8 pin) {
    u8 s = 1, c = 0;
    u16 m = 0, t = 0;
    OTHRM_FRAME = 1;

/* wait for the begining of the start bit. i need this.
   for non-blocking operation you should include a timer
   with a timeout. */
    while (!digitalRead(pin));
    for (c = 0; c<33; c++) {
        OTHRM_FRAME <<= 1;

        t = 0;
        while ((s == digitalRead(pin)) && (t < OTHRM_BIT_RX0)) { t++; Delayus(1); }
        s = digitalRead(pin);
        OTHRM_FRAME |= !s;
        t = 0;
        while ((s == digitalRead(pin)) && (t < OTHRM_BIT_RX0)) { t++; Delayus(1); }
        s = digitalRead(pin);
        }
    }

bogdan » eficiența fotosintezei

08:16 am on Jul 16, 2012 | read the article | tags:

În numărul românesc al revistei BBC Science Focus din iulie-august 2012,la pagina 90 avem afirmația

«99% din energia luminii este folosită de o frunză în fotosinteză. Cele mai bune panouri solare au o eficiență de numai 38%»

Din nefericire pentru cititori, această afirmașie este în totalitate falsă. Folosind ca sursă bibliografică «Phtotosynthesis» de Hall, D.O și Rao, K.K, publicată la Cambridge University Press în 1999, în pagina 4 găsim următorul grafic:

Astfel spus, grandiosul 99% este de fapt un minuscul 5%. Din păcate pentru redactorii BSF, nici cu a doua parte a afirmașiei nu stau mai bine. Conform raportului NREL (National Renewable Energy Laboratory) de aici, la pagina 57 gasim că «The highest-efficiency research cell shown was achieved in 2010 in a multi-junction concentrator at 42.3% efficiency» (îl menționez deoarece se găsește și pe wikipedia) și lucrurile s-au îmbunătățit în ultimii doi ani până la 43.5%.

bogdan » nu ca ar interesa pe cineva. despre referendum

11:57 am on Jul 14, 2012 | read the article | tags:

Nu că ar interesa pe cineva.

După părerea mea, Băsescu nu e Mesia – deși am crezut asta (votându-l în 2004). A avut șansa să dovedească acest lucru și n-a reușit (cei care mă contrazic să citescă înainte raportul de audit al comisiei europene care va apărea în zilele următoare, realizat în perioada 22/11/07 – 11/05/12). A fi de partea sau împotriva lui nu v-a schimba cu nimic corupția, nepotismul sau incompetența aparatului de stat și nici modul în care ne privește Europa (indiferent cine conduce, va fi aservit total intereselor UE și SUA – că așa suntem noi, românii, ne mulțumim cu firimiturile de la mesele celor mari și ne batem cu pumnul în piept că suntem importanți).

Avem nevoie de stabilitate – fiecare război politic ne are ca victime economice colaterale: euro crește, economia scade, programele se blochează etc. și cu cât prelungim această agonie, cu atât va fi mai rău pentru noi, nu pentru cei care se bat.

În mod normal nu merg la vot. Consider clasa politică uniformă, indiferent de culoarea politică partid, iar faptul că ne ne-am dezvoltat nu este meritul celor care ne conduc, ci al factorilor externi care ne târăsc în direcția progresului. În fașa urnelor, singurul lucru pe care il putem alege este dacă avem parte de mai mult sau mai pușin spectacol în perioada imediat următoare.

De data asta voi vota ”da” pentru demiterea președintelui.

Nu pentru că l-aș simpatiza pe Ponta (el pare de treabă, însă a dat-o cu bățul în baltă cu doctoratul și are în spate un partid găunos), nici pe Antonescu (mi se pare leneș – însă nu cred că e o atitudine proastă pentru un președinte – mai ales dacă citești constituția și vezi care-i rolul lui) și cu-atât mai mult pe Băsescu (un fel de Apartamentus Ruralus, înconjurat de pițipoance, care confundă croații cu craiovenii), ci pentru că îmi doresc liniște. N-o să se schimbe nimic cu USL la guvernare. N-o să fie țara mai coruptă și indiferent de ”apocalipsa” care va urma, veți putea s-o corectași în noiembrie, așa cum vă place vouă (că eu iar nu votez).

bogdan » sfaturi minime pentru supravietuirea on-line

01:02 am on Jul 11, 2012 | read the article | tags:

Facebook:
La Account Settings, Security activeaza urmatoarele optiuni: Secure Browsing, Login Notifications (minimum Text Message), Login Approvals.
GMail:
La Account Settings, Security activeaza optiunea 2-step verification.
Yahoo:
Încearcă să renunți la el. Problema lui principală este Yahoo!Messenger și vulnerabilitățile acestuia.
Parole servicii online:
Folosește clipperz.com. Eu folosesc pentru serviciile online parole aleatoare (lungi de 32 de caractere) stocate in contul clipperz.com. Astfel nu trebuie să rețin decât o singură parolă.

aceast sait folosește cookie-uri pentru a îmbunătăți experiența ta, ca vizitator. în același scop, acest sait utilizează modulul Facebook pentru integrarea cu rețeaua lor socială. poți accesa aici politica mea de confidențialitate.