• English (17)
  • Bahasa Indonesia (17)
  • Page 4 of 9« First...«23456»...Last »

    Identify a Domain Name

    Posted by Paulus T on Nov 29th, 2007
    2007
    Nov 29

    This won’t be a new information for some of us, who has spent years surfing the cyberspaces. But for newbies, this information could help them from falling into phishing traps.

    At early years of internet booming, there was only few domain name extension such as .com and .gov. But today, more and more new extension were added to the list in order to accommodate large internet user all around the world. And to make it simple, I will try to explain about these domain names in categories.

    The categories would be by:
    1. Public regular / common
    2. Regional
    3. Business Lines

    Public regular / common domain name

    This kind of domain name can be registered and used by everybody. There is no limitation to whom it may be registered. As long as you have money to pay for it and no one own it, you can register and use it. Usually, the price is about 7USD - 10USD /year. It is not expensive at all. The domain name have extensions we are very familiar with. Like .com, .net, .info, .org, .ws.

    Regional domain name

    This domain name, used exclusively in a country. The original extension is the country code it self.

    For example :
    1. Indonesia = .id
    2. Japan = .jp
    3. Hongkong = .hk
    4. China = .ch
    5. Singapore = .sg

    But you can’t register to use this regional extensions (example : paulus.id). Instead, there a domain administrator which maintain a sub domain name to use with the extension. This sub domain name you can use will be vary depend on the regional domain administrator policy.

    For in Indonesia, there is PANDI who administer this sub domain name. And the sub domain name for Indonesia is :

    1. .co.id (for company)
    2. .ac.id (usually for educational institute)
    3. .go.id (special for government )
    and more

    To use this domain extensions, you have follow the regional policy. So you can not register in anonymous as .com or other.

    Business Lines

    And this last category, is domain name extension which made to identify special business line of the company using it. Example :

    1. .tv (for tv station)
    2. .edu (for educational)
    3. .org (organizations)
    4. .info (information provider, such as wikipedia. But can also use for others)
    5. .gov (government, but usually for US government other country will use the regional extensions)
    6. .mil (militar, as the .gov, this also used by US military)
    and more.

    This kind of domain name usually ask for your business title to verify the registration. But for .org and .info I don’t think they will do that as I could register to use them easily.

    Ok, now we have know the domain extensions that formed the domain name, and we will move on.

    A phishing usually create a domain name sound or look a like the real domain name they want to mimic. For example, if they want to mimic the google site to fools your eyes, the might be create a domain name like example below :
    - gogle.com
    - gooogle.com
    - goooogle.com
    etc.

    So you must remember how to write the domain name correctly. Specially if it is for your online banking. Write it down if necessary (but don’t write down your user id and password of course).

    Beside that way above, they (phisher) can also create a sub domain name, like :
    - google.mydomain.com
    - google.freehosting.com
    - google_activate_account.anotherhosting.com
    - etc.

    Pay attention to the domain name. Sub domain name is separated by dot (.) from the main domain name. Sub domain can be anything they want. But the main domain name will tell you if it real or not. Usually the phishing site will use a free hosting or free web for placed their web pages that mimic some original pages. This is to prepare a complete escape and will be almost impossible to track down the real person behind the scheme. So the only way and safest way to deal with them, is to be aware.

    There is another kind of fraud, that fools visitor to spent money in their site. We call it SCAM. I will write about this too. Too many victims falls in to it.

    Intro to AS 3.0

    Posted by Paulus T on Nov 26th, 2007
    2007
    Nov 26

    ActionScript 3.0 have a lot of changes from the previous version. Very different so it need a completely new virtual machine to run it. But it still ActionScript, with very little syntax changed. Sometimes ActionScript 3.0 equivalent for ActionScript 2.0 will look similar. But not always that way.  But quite a lot of changes to make a direct conversion very difficult.

    So what is new in ActionScript 3.0 ?

    1. Runtime exceptions
    2. Runtime variable typing
    3. Sealed classes
    4. Method closures
    5. E4X
    6. Regular expressions
    7. Namespaces
    8. int and uint data types
    9. New display list model
    10. New event model

    Differences ?

    Script Placement

    You can only placed your script in Timeline or in Class files. You can’t placed your script in a button, or movieclip, etc as you used to in ActionScript 1.0 and 2.0

    Variables
    - In ActionScript 1.0 and 2.0 you can define variable using or without “var”. In ActionScript 3.0, using “var” is a must.
    - ActionScript 3.0 did not accept naming conflicts in a scope. example, can not re define a variable. Variable must defined only onces in a scope. If you try so, you will get error.
    For example :

    1
    2
    3
    4
    5
    
    var x = value; // ok
     
    ...
     
    var x = another value; // error; you can only use var once

    As in ActionScript 2.0 you can specifying a variable type. But in ActionScript 2.0, variable type only used in compile time error checking. In ActionScript 3.0, variable type will retain in playback or runtime. And as mentioned above, ActionScript 3.0 we have new variables types, int (integer) and uint (unsigned integer). And you can use “*” (untyped) for special type which represent no type. Which can hold value for any kinds of type.

    But it is better to specify type, as it lead to better error checking. And performance.

    Also, in Action Script 3.0 we have different data types default value. Here the list:

    1
    2
    3
    4
    5
    6
    7
    
    var untyped:*; // undefined
    var boolean:Boolean; // false
    var number:Number; // NaN
    var integer:int; // 0
    var unsignedInteger:uint; // 0
    var string:String; // null
    var object:Object; // null

    The int and uint variables types are 32-bit integers.

    One other type to mention is the special void type. In ActionScript 2.0 it was capitalized, and no longer in ActionScript 3.0. This type is only applies to functions.

    If you interested to have some cheat sheets for ActionScript, you can visit http://www.actionscriptcheatsheet.com

    Page 4 of 9« First...«23456»...Last »