Irina’s Weblog

19/8/2007

i18n

Filed under: Computers,Humor — Izida @ 12:50 pm

Flash GeoBee Challenge National Geographic :

i18n

C?te d’Ivoire.

Unicode 4.0 JDK 1.5

Filed under: Computers — Izida @ 11:31 am

JDK 1.5 , - Unicode 4.0

, char, 16 . code point char-, code unit. String.length char- . 2 char-, String.length , . :

int codePointCount(int beginIndex, int endIndex)

code points unicode .

n- , String.charAt() – n- char. :

int offset = str.offsetByCodePoints(0, 3);
int codePnt = str.codePointAt(offset);

char-, 3- . ( char-) .

, , char- :

String str = "\uD800\uDF30";
System.out.println("str: " + str);
System.out.println("str.length(): " + str.length());
System.out.println("str.codePointCount(0, str.length()): " + str.codePointCount(0, str.length()));
System.out.println("str.charAt(0): " + (int)str.charAt(0));
System.out.println("str.charAt(1): " + (int)str.charAt(1));
System.out.println("str.codePointAt(0): " + str.codePointAt(0));
System.out.println("str.codePointAt(1): " + str.codePointAt(1));

: Unicode 4.0 , – , char, JDK 1.5 -char- . , Java C++, , .

, , .

:

18/8/2007

JavaScript

Filed under: Computers,Daily — Izida @ 10:30 pm

ECMAScript 2.0 “JavaScript: The Definitive Guide /5th edition/” O’Reilly :

  • , ?
    function myFunc() {
    return 5;
    }
    alert(myFunc());

    function myFunc() {
    return
    5;
    }
    alert(myFunc());

    “!” . , JavaScript, , , “” . ‘;’ , , . , return/throw , break/continue , / , JavaScript . .
  • Number :

    Note that these two infinite number values are produced by the program expressions +Infinity (or simply Infinity) and
    -Infinity, assuming that the globally defined variable Infinity has not been altered by program
    execution.

    :

    alert(5 == +Infinity); // : false
    Infinity=5;
    alert(5 == +Infinity); // : true

  • === : , ; :
    var a = 5;
    alert(a == "5"); //
    alert(a === "5") // - ;
  • null , .. undefined. :
    unknownVar == null;
    unknownVar , , ! , undefined, null, null ===:
    unknownVar === null;
  • (||) C/C++/Java – true , , ( true). . , JavaScript – true false, ! .. ( ), false – undefined, null .. :
    var width = minWidth || averageWidth || 50;
    , width 50;
  • N :
    var a = [1, 2, 3, 4, 5, 6];
    var n = 2;
    a.length = a.length - n;
    alert(a.join(", "));
  • Array.slice() , . ?
    var a = [1, 2, 3, 4, 5, 6];
    var n = 2;
    var b = a.slice(1, -1);
    alert(b.join(", "));

    , 1 (.. ), .
  • type=”text/javascript” HTML , head :
    <meta http-equiv="Content-Script-Type" content="text/javascript"></meta>
    .

17/8/2007

Filed under: — Izida @ 3:14 pm

! . , , . , . , , . – , . , . – ! . – ! , ?

. :

. 18.
(1) , , , , , , , .

. . -. “ ” “”, , : D – 00189 , . (- ). “-71” , . . :

5.2. :

5.2.2. – ;
….
….

7. , :

7.5. .
..
7.10. – , , , - 20 . 1, , .

– . . . !

13/8/2007

Heston Blumenthal

Filed under: Daily — Izida @ 11:08 pm

– , Heston Blumenthal Discovery Science . – , . , , . – , , , – ! , , . – :

  1. , . - ;
  2. 10 – , ;
  3. , ; , ;
  4. ( 130 ) - – ; , , ;
  5. – 180 . . .

, , . ( ) : – , .

: “Chips by Heston Blumenthal”

- …

Filed under: — Izida @ 10:50 pm

“ ”, , , . 7 , () . – 7 , , . - – . -, , , -.

, GSM- , . – , . , - , :

– . , . -?

! 5 , ! – . . , . – , , . 4 , , . . – -!

.. , . , , …

12/8/2007

Filed under: Music — Izida @ 11:03 pm

“Mall of Sofia” “ ”. ! – 20 ! , “ ” , . , , DVD.

, . Orange center – - . , “Alice in Wonderland” . “ ”, , 🙂 , – . – , , . , 🙂 ( ) . , (“ ”) ! – “ ” . , , – . , , . . , , , , . , ! – , , -, . .

.. - 🙁

10/8/2007

Heston Blumenthal

Filed under: Daily — Izida @ 4:41 pm

Kitchen Chemistry with Heston Blumenthal Discovery Science channel, :

Heston Blumenthal recipes

. - . , , . . , . : , . – -, - . 😉

( ) .

9/8/2007

– ,

Filed under: The desert of the real — Izida @ 7:58 pm

! , , , , , ! - “” “ – , ”. .

(Dnes.bg – 1, 2, 3, 4, 5; ). , – . . - :

  • , – ? , ? ( Dnes.bg : “ ”, “- ”) . – . - , , . , .
  • – ? ! . – . . .
  • , – , . , , . , ? , , ; , , ! , . - : “ , …”, - , .
  • , – , , ( ) , . – ! , . – ! – “, ! ! .” , , !
  • – . , ?
  • , , , – ! ! - , , , . – , .
  • ? - – . , , – , ? . . ? … – . - . : - .
  • , – ? . , - . “..”, , ! . .

. :

  • – , – , . 2006 “ ” . , . , – , 5 !
  • , , , – , “ ”, . , , , .
  • “ ” – ! , , ! .

. ! Eurosport. , . … . – , , . , . . , , .

“”, “ ” – , .

, , - . , / , ! , 1,8, 1,2. .

, . :

, . … , , . , . - 250/.

, ! , , , , . -! “ ” – , .

, .

Filed under: Daily — Izida @ 2:26 pm

, “” ( , ). , , e. , . 800 ! .

– ! – , , …

8/8/2007

Filed under: Daily,The desert of the real — Izida @ 10:52 am

. , , . , – !

( ) . , Ҕ :

. 2. .

. 7. (2) , , .

, – . 166, , , .

! , . , , – , . , . , !

7/8/2007

?

Filed under: Daily — Izida @ 2:42 pm

! , , . , – . . ! 5-7 :

, , …

, .

, – , , . , … ?? -, ?

The March of Progress

Filed under: Computers,Humor — Izida @ 1:14 pm

: Cay Horstmann’s Home Page, Core Java.

The March of Progress

5/8/2007

Filed under: — Izida @ 8:37 pm

… , . , !

—-

:

, , , 7 . 11 ! – 13, , - .

4/8/2007

Filed under: Humor — Izida @ 11:43 am

“”, , , , , … !

– , ! “hair” (), “hare” ().

2/8/2007

Filed under: Books,Computers — Izida @ 5:43 pm

. “, ”. , , : “ ” 😉

, , , UML . !

, .

Filed under: Daily,Music — Izida @ 3:40 pm

, – , , mp3 . – , . “The Rosary Sonatas” Biber, .

“ ”, V ( “ …” ). , , - . . “ , 40 – 2 CD”. 15.99 . OMV, White Snake.

😉

( …). , . . . , – . PDA- .

.. , “ ” :

! , ! “ , ” . , , .

, , ? , .

“ ” !

1/8/2007

RSH

Filed under: Computers — Izida @ 8:16 pm

, “ ”, “ ” “ …”

Web 2.0 ( ) Back/Forward ! .. , / , AJAX .

P.S. Internet Explorer ( Internet Explorer!) Really Simple History , HTTP Back/Forward , - , !

P.S.S. O’Reilly ?? ( , , !). , .