Study Business Test and Read some UCenter

Next day 4pm to 6pm we got Business Test 2. The topic covered all aspect of marketing, production, accounting & finance, and Human Resource Management. Whole topics covered something like magic, so much to know, but actually it is very simple, if you know the key.

So I study and study, study till 9pm. In between the time I had slept. Actually I had decided to wash clothes at 4pm, but I not. While I had set the alarm on my handphone but I not take it seriously. I just continued to sleep and sleep.

So until one hours ago, I feel very boring by continuing study the Business, so I proceed to learn something about UCenter.

I want to investigate what beauty behind UCenter, how it works, how it fulfill the SSO (Single Sign On) mechanisms. I learnt from some articles online I knew that a little bit knowledge about UCenter. Suddenly, I also seen one called Loong SSO, it proposed other mechanisms to fulfill SSO, it utilized C to install that program in Linux server. The specialty of that is that provide high speed caching system, because using C. But if not install that particular thing, the techniques that fulfilled in UCenter is enough. However, in theoretically, in comparison between these two, UCenter will has lower efficiency since when your application is up more over than 10, you will experienced low speed when you try to login one of the applications. It is because in the realization of UCenter, when you try to login, it will use something seem like AJAX, but called it AJAJ more suitable, use for each to iterate all applications and sent the login request and P3P to fulfill single sign on.

Yes, since I haven’t very understand the actually mechanisms behind that, but maybe got a very little knowledge about that.

Since that is a plan for us to explore the new UCenter-liked mechanisms to achieve a high SNS world. How to do that? Currently in this situation UCenter which acts liked a Window system can install as many as possible of software, or called application, like forum, ecshop, uchome and such kind of thing. However somehow the current mechanism only support one UCHOME, that meant one SNS platform which utilized the UCenter. How about if we combine the different organization, different forum, ecshop, specialized in uchome, but not strongly affected them, to link them to our new UCenter mechanisms, for example, we called, XCenter. In XCenter, the application may can be the common one, for example, forum, ecshop, and also the UCHOME, and also one thing, UCenter. Every UCenter can link to our XCenter. But I want to say, if the UCenter login mechanism continued using in the XCenter, yes, it is very possible the efficiency and the speed will lost. So, actually I still be in thinking how to solve this problem. I had doubt that why all login cookies domain must be achieved in order to fulfill single sign on. Is it any other possible road to achieve, but not strongly affected them and not affected the efficiency of the system? How about using Unified Cookie Domain secques to fulfill it. That meant that any member related is only in XCenter. Besides achieve that, one thing must be known that, the database server will be suffered. How about the way of using C to achieve high quality of caching. But how instead of using C we can also achieve high quality of caching? How to solve this problem? It seem that not keeping speaking to the air here but not going to solve that problem. But however it giving the thinking road how to leak into the problem and find the solution. Anything is under brainstorming.

Besides learning UCenter, I also experienced that I need to learn more about RESTful style, how about the POST,GET,DELETE,PUT. The more popular open API such as Google API and Yahoo API is the most standard conformance RESTful style. I want to know about is it UCenter is a kind of RESTful style? I have doubted because I seen its code definition is nearly same… Sure, I need to make a deeper understanding to solve my doubt.

Last paragraph talked about my current study. Since this week I think is the last week for this semester for us to rush our projects. Since this week I got three presentation, and then need t submit three projects or group assignments. So it is very stressful but after that it will be some time not very stress. I meant that because later will be the final exam, we only wait for final exam, and after that that is the time I go back to our hometown.

No Class At All

Seem, our classes are almost ended. For HCI class, the class is ended for lab and theory class. Meant that we don’t need to attend the HCI class anymore but wait for the presentation and the final exam. The other class that also ended is UCD class, also less for presentation.

Some other class like Moral lesson, still got class, our group also got presentation on Thursday. However the Business class got one test and classes also.

One month is going on, and the final exam is coming soon. Meant that the semester is going to ending and the holiday will come soon. The day we all waiting for so long time, that is we very hope, the day, the people.

Now, the job for us is rushing for the project. I have not very confident right now for my HCI project since our progress is quite slow and not professional. How I say that because we don’t have good management in project.

Heard from my parent in hometown, they just received the Sun Certification card and certificate from the Sun. Wow, it is so exciting. I think I can’t wait to go back to my hometown to get the Sun Cert. But due to my project still got many and many things need to do, so no way I only can go back next week. But maybe next week when I go back I can attend one girl birthday lol. Because several days ago, she asked if I can come back, because she will also will come back to Foon Yew High School la. But last time I talked her due to the steps for the final exam is coming so I may be can’t attend. But… anything see soon. I don’t know whether I will go or not. But more important thing is I can complete my target is better.

Actually I have a big hope, but not a very big hope, I meant a strange hope, hope that it can achieved. That is I hoped that I can completed my Sun Certified Developer Exam in my Year 2. Haha, it seem impossible. But last day I saw a phrases, talked that:

We should not wait for the chance, but create the chances ourselves.

Chance is created by ourselves. Meant that you want success or not, achieve or not, that is not waiting time to time you can get it. The only thing you need to remember is, anything we can create ourselves. You want to be president, that is can, that may be a route, you need to find it. But although it is sorrowful, sometimes it can be very happy if you find the way you like.

Our Search: Google Technology

The technology behind Google’s great results

As a Google user, you’re familiar with the speed and accuracy of a Google search. How exactly does Google manage to find the right results for every query as quickly as it does? The heart of Google’s search technology is PigeonRank™, a system for ranking web pages developed by Google founders Larry Page and Sergey Brin at Stanford University.

PigeonRank System

Building upon the breakthrough work of B. F. Skinner, Page and Brin reasoned that low cost pigeon clusters (PCs) could be used to compute the relative value of web pages faster than human editors or machine-based algorithms. And while Google has dozens of engineers working to improve every aspect of our service on a daily basis, PigeonRank continues to provide the basis for all of our web search tools.

Why Google’s patented PigeonRank™ works so well

PigeonRank’s success relies primarily on the superior trainability of the domestic pigeon (Columba livia) and its unique capacity to recognize objects regardless of spatial orientation. The common gray pigeon can easily distinguish among items displaying only the minutest differences, an ability that enables it to select relevant web sites from among thousands of similar pages.

By collecting flocks of pigeons in dense clusters, Google is able to process search queries at speeds superior to traditional search engines, which typically rely on birds of prey, brooding hens or slow-moving waterfowl to do their relevance rankings.

diagramWhen a search query is submitted to Google, it is routed to a data coop where monitors flash result pages at blazing speeds. When a relevant result is observed by one of the pigeons in the cluster, it strikes a rubber-coated steel bar with its beak, which assigns the page a PigeonRank value of one. For each peck, the PigeonRank increases. Those pages receiving the most pecks, are returned at the top of the user’s results page with the other results displayed in pecking order.

Integrity

Google’s pigeon-driven methods make tampering with our results extremely difficult. While some unscrupulous websites have tried to boost their ranking by including images on their pages of bread crumbs, bird seed and parrots posing seductively in resplendent plumage, Google’s PigeonRank technology cannot be deceived by these techniques. A Google search is an easy, honest and objective way to find high-quality websites with information relevant to your search.

Data



PigeonRank Frequently Asked Questions

How was PigeonRank developed?

The ease of training pigeons was documented early in the annals of science and fully explored by noted psychologist B.F. Skinner, who demonstrated that with only minor incentives, pigeons could be trained to execute complex tasks such as playing ping pong, piloting bombs or revising the Abatements, Credits and Refunds section of the national tax code.

Brin and Page were the first to recognize that this adaptability could be harnessed through massively parallel pecking to solve complex problems, such as ordering large datasets or ordering pizza for large groups of engineers. Page and Brin experimented with numerous avian motivators before settling on a combination of linseed and flax (lin/ax) that not only offered superior performance, but could be gathered at no cost from nearby open space preserves. This open space lin/ax powers Google’s operations to this day, and a visit to the data coop reveals pigeons happily pecking away at lin/ax kernels and seeds.

What are the challenges of operating so many pigeon clusters (PCs)?

Pigeons naturally operate in dense populations, as anyone holding a pack of peanuts in an urban plaza is aware. This compactability enables Google to pack enormous numbers of processors into small spaces, with rack after rack stacked up in our data coops. While this is optimal from the standpoint of space conservation and pigeon contentment, it does create issues during molting season, when large fans must be brought in to blow feathers out of the data coop. Removal of other pigeon byproducts was a greater challenge, until Page and Brin developed groundbreaking technology for converting poop to pixels, the tiny dots that make up a monitor’s display. The clean white background of Google’s home page is powered by this renewable process.

Aren’t pigeons really stupid? How do they do this?

While no pigeon has actually been confirmed for a seat on the Supreme Court, pigeons are surprisingly adept at making instant judgments when confronted with difficult choices. This makes them suitable for any job requiring accurate and authoritative decision-making under pressure. Among the positions in which pigeons have served capably are replacement air traffic controllers, butterfly ballot counters and pro football referees during the "no-instant replay" years.

Where does Google get its pigeons? Some special breeding lab?

Google uses only low-cost, off-the-street pigeons for its clusters. Gathered from city parks and plazas by Google’s pack of more than 50 Phds (Pigeon-harvesting dogs), the pigeons are given a quick orientation on web site relevance and assigned to an appropriate data coop.

Isn’t it cruel to keep pigeons penned up in tiny data coops?

Google exceeds all international standards for the ethical treatment of its pigeon personnel. Not only are they given free range of the coop and its window ledges, special break rooms have been set up for their convenience. These rooms are stocked with an assortment of delectable seeds and grains and feature the finest in European statuary for roosting.

What’s the future of pigeon computing?

Google continues to explore new applications for PigeonRank and affiliated technologies. One of the most promising projects in development involves harnessing millions of pigeons worldwide to work on complex scientific challenges. For the latest developments on Google’s distributed cooing initiative, please consider signing up for our Google Friends newsletter.

Note: This page was posted for April Fool’s Day – 2002.

Too Noisy

Wow, today I am so noisy, too noisy, very noisy, or what else?

Today, heard from my friend, he talked me what beauty behind of affiliate marketing, I am so attracted to this one, but actually I not very interested in when he decided to share his cooperation with me. He wants me to do the website and he do the copy writing part.

Affiliate marketing is somehow we write our posts, maybe in content website, or blog website, then after that we put a link, that can navigate to the seller website. When the user click on the link and really buy that thing on seller website, then the webmaster can get commission. Seen from the forum, some of the experienced full time affiliate marketer do this work is able to earn online revenue from here. And one month can up to $35,000. This is USA dollar! It is so exciting. But the more important I still doing in homework in degree studies. But this is nonsense why student can do a real business. Yes, allright. Then I also talked to him what about the idea of Facebook marketing. Actually we can use Facebook marketing to promote our product to millions user worldwide. As we know using Facebook, our products can spread out via mouth to mouth, where very fast speed to reach someone’s mind on another part of earth. It is very amazing of it. Can you believe it?

MSN is a tool to communicate with friends, link with friends. And today I begin for my long and lousy conversation with my friends, and later successfully forced my friends to shut down the chat window. Actually this is an experiment done by me, I need to do a research on how patient a person can do. For patient, actually I not a very patient person. But sometimes I can sometimes I can not. This is not a story, because I am not excellent. Somehow this is true for someone.

SNS, social networking services is the thing that most spoken since from 2008. 2008 is the year of big development of SNS, the start point. As a student, as a webmaster, I pointed out that SNS is a new era for us to surf, to get something gold from there. This is a new thing. Many people still can not find that something useful. This is like many years before, when the year the Internet is not so popular. China Ma Yun need to explain many times to many organization to introduce what is the Internet, and how we do business through the Internet to meets the user worldwide. But now, the Internet is very common, we already reach a bottleneck. Next one thing on how to meet or reach more clients clearly and accurately, we need some new platform, so SNS is a new platform. We can use various social relationship tool to promote our product to accurate user around the world. Through this, we can earn a big business if do well. However, I not very good in explain this new thing to my friends, so many of my friends still confusing on that. But I think if we can we must do SNS earlier before other people stepped out.

Now, there is a plan in my brain. The plan is how to become a handsome guy. First, need eat more. This is the better step and need to be realized as soon as possible. Friend is important, someone can not live without friends. Yes, it is true.

Too noisy of my room.

Something New

New Web


New Site


New Qxinnet

Something New Here

WOW, Qxinnet yesterday, the home page, changed to Supesite Structure. Wow, it is amazing, this is the best historical pictorial that we need to write it down, take it down, this is the best amazing website.

I would say that I wlll use this to continue my website road. While I will not try to design my own cms system, because Supesite is the best CMS system. I would use this and maybe try to change it to better one. Then after that I can concentrated some other more important stuff.

Pendrive Lost Story

It is amazing.

Wednesday I went to Seremban KTM to buy train ticket, the time after I passed the SCJP exam. Maybe I am rushing for the train, the train is ready to go. So, my pendrive is dropped.

Thursday, my previous semester lecturer called me, she told me that someone find my pendrive in Seremban KTM. It is amazing I could not believe it, but it is true, when I am going to find my that lecturer to get the phone number of that person.

It is Malay people, named Khairul. I phoned him, and he told me that he found my pendrive in Seremban KTM. I felt sorry for me because he had gone through what inside my pendrive to surf for my contact information, but I very thanks for him for find my pendrive and keep it.

Friday afternoon, he decided to take the pendrive for me but the time not allowed for him to get to me, because the bus to JB is soon.

So, we only wait for next monday, that is yesterday. When I came back from JB to Seremban KTM, I met him at Petronas opposite with Seremban Bus station.

He drives with his car, and his wife, and his children. I walked to his car, and he give me back my pendrive, and we shaked hand. Wow, it is so amazing. We became friends already. Since he is not working at that day, maybe driving with his families to somewhere. I am very thanks to him, because he is a good person.

OK, my pendrive come back to me already.

Why my pendrive is so important, a small story about it, it is a 2GB pendrive.This pendrive is a gift sent by my internet friend, a girl, so it is more precious. Wow, it is not girl friend… It is because something something, so she sent me as a gift. Because it is the first gift sent by internet friend, so it is precious.

OK, this is my stories about pendrive lost.

Sun Certified Java Programmer, I Be NOW

WOW, so EXCITING, I became Sun Certified Java Programmer yesterday.

Yesterday, I just passed for this exam, it is so excited, and now I became Sun Certified Java Programmer, for this thing added into my resume is a very very nice thing. Because it is international standard of Certification.

Maybe next road I will go Sun Certified Web Component Developer, maybe as well as I hope can finish my Developer Exam before my graduation. Now I still Year 1 of Degree, still has many times to be.

I also will give some tutorials, write more articles about Java, to introduce and help my juniors or someone interested in Java to learn Java well.

OK, allright, it is a happy news to me.

Strange Structure of Method Extend

Let see I just built some strange structure of method extend… I want to see how much it can go with different level, where go in where go out. The entrance…

class A {
    public void what() {
        System.out.println("A what");
    }

    public void how() {
        System.out.println("How first?");
    }
}

class B extends A {
    public void how() {
        System.out.print("How second?");
        super.how();
    }
}

class C extends B {
    public void what() {
        System.out.println("C What");
    }

    public void why() {
        System.out.println("Why you want be special leH?");
    }
}

class D extends C {
    public void what() {
        System.out.println("D what");
    }
}

class E extends D {
    public void what() {
        System.out.println("E what");
    }
}

class ExtendMethod {
    public static void main(String args[]) {
        A a = new A();
        a.what();

        C c = new D();
        c.what();

        A someElse = new B();
        someElse.what();

        B someThingElse = new C();
        someThingElse.what();

        B someSpecial = new C();
        //someSpecial.why();

        D someThingSpecial = new E();
        someThingSpecial.why();

        C c2e = new E();
        c2e.how();
    }
}

Java Method Extend

Playing around with Initialization of Final Variables

Final variables declared inside class, it can be divided into final variable, or static final variable.

These two types have two different initialization method.

For final variable, the first type, we should declare it in constructor, or initializer block.

For static final variable, the second type, we should declare it in static initializer block.

These two methods unless you initialized them when you declare. I mean final int a = 3; you directly assign a number 3 to it.

Now, I am playing around with initialization of final variables, as the below is my coding, you all can refer it…

public class FinalStuff {
    final int a;

    static final int d;

    // use static initializer block to initialize static final int
    static {
        c = 3;
        d = 4;
        System.out.println("I am static initializer block");
    }
    static final int c;

    {
            a = 1 + this.b;
            b = 2 + this.d;
            System.out.println("I am initializer block");
    }
    final int b;
    // use initializer block OR FinalStuff constructor to initialize final int
    public FinalStuff() {
        //a = 1;
        //b = 2;
        System.out.println("I am constructor");
    }

    public static void main(String args[]) {
        FinalStuff f = new FinalStuff();
        System.out.println(f.a + " " + f.b + " " + f.c + " " + f.d);
    }
}

 

Java Final, Static, Initializer Block

Play around with Enum

Enum is a new Java SE 5 features. It seem likes able to declare a new type, with limited specified value. Below is the demonstration of Enum.

enum Car {
    TOYOTA (30000,1000,"BIG"),
    CAMRY (100000,200,"BIG") {
        public int totalPrice() {
            return price * unit + 1500;
        }
    },
    PROTON (10000,5000,"MEDIUM");

    final int price;
    final int unit;
    final String size;

    Car(int price, int unit, String size) {
        this.price = price;
        this.unit = unit;
        this.size = size;
    }

    public int getPrice() { return price; }
    public int getUnit() { return unit; }
    public String getSize() { return size; }

    public int totalPrice() {
        return price * unit;
    }

    public String toString() {
        return "PRICE: " + price + "\tUNIT: " + unit + "\tSIZE: " + size;
    }
}

public class EnumPlay {
    public static void main(String args[]) {
        Car c1 = Car.TOYOTA;
        Car c2 = Car.CAMRY;
        Car c3 = Car.PROTON;

        for(Car c : Car.values()) {
            System.out.println(c.name()+ "\n" + c + "\nTotal: " + c.totalPrice() + "\n");
        }

        System.out.println("Split it up:");
        System.out.println(c1.name() + " has " + c1.getUnit() + " cars. Each price costs " + c1.getPrice() + ". But somehow it is " + c1.getSize().toLowerCase());
        System.out.println(c2.name() + " has " + c2.getUnit() + " cars. Each price costs " + c2.getPrice() + ". But somehow it is " + c2.getSize().toLowerCase());
        System.out.println(c3.name() + " has " + c3.getUnit() + " cars. Each price costs " + c3.getPrice() + ". But somehow it is " + c3.getSize().toLowerCase());
    }
}

Java Enum Tutorial