Today's Question:  What does your personal desk look like?        GIVE A SHOUT

SEARCH KEYWORD -- Block



  A tour to Tumblr's office

This week Yahoo has made a deal with Tumblr that Yahoo would acquire Tumblr with $1.1 billion. The reason why Yahoo wants to acquire Tumblr is still not so clear. It may be because they don't want to miss the chance again after they missed the chance to acquire Facebook. But anyway, let's take a tour to the office environment of Tumblr. The big logo after entering the door. The office building in Tumblr has two floors. Most people are working on the first floor. Cute decorations Technical t...

   Tumblr,Office,Tour     2013-05-22 12:25:32

  What do people think about IE?

Browser war among major browsers is continuing for a long time since last century. Just a few years ago, Internet Explorer was the most used web browser. But now the situation is completely different, people are making fun of Internet Explorer and switching to other browsers. Today we share some jokes about Internet Explorer, it's just for fun, so grab a cup of coffee and sit down and enjoy. Hmm, is IE so slow? What gun is it? Hmm, I am still one step behind And I am lost. Hey, what is HTML...

   IE,Joke,Chrome     2013-07-31 08:25:24

  If we use programming language names as building names

Today I came across some interesting building names while wandering around technology park of Singapore. Most of these names are biotech related. They are Chromos,  Centros, Matrix, Genome, Proteos, Nanos, Helios, Neuros, Immunos, Synapse and Amnios. Chromos Centros Matrix Genome Proteos Nanos Helios Neuros Immunos Synapse Amnios I am wondering whether there are building which are named with programming language names. Do you see anyone of them anywhere?...

   Buidling name,Programming language     2013-08-16 06:02:26

  Early homepages of some famous websites

Are you curious about what are their early homepages like for some famous IT companies? Let's take a look at them now. 1. Google This page was relative concise at that time. The current Google homepage is more concise. 2. Facebook It went online on 4th Feb, 2004. This was its homepage in 2004 3. YouTube It went online on 15th Feb, 2005. Until 22nd April, the first video clip was uploaded. 4. Wikipedia It emphasizes on free content and collaborative editing. It also supports many languages. 5...

   Homepage,website,History,Google,Facebook     2015-07-23 11:34:18

  A collection of color schemes for some famous websites in China

Each website has a color scheme which identifies itself. By looking at one color, we can know which website it is for. These color schemes can be identified from their logos, nav-bars, background etc. We collect some color schemes for some famous Chinese websites. Alibaba (#f90)   Baidu (#0000cc)   Huawei (#e30a12)   HTC (#69b40f)   JD (#c91623)   Renren (#105ba3)   Sina (#e4351e)   Sohu (#fdd000)   Taobao (#ff4400)   Tencent (#0397de)   Tmall (#...

   Website,Color scheme,China     2013-08-21 12:32:14

  Get hostname from a URL using JavaScript

Sometimes we may have strings which contain some UR;s and we may want to retrieve the hostname from the URLs for some statistic use. For example, we may have a URL : http://www.example.com/aboutus.html. We may want to retrieve the www.example.com from the URL. How? Use regular expression. Here I give an example using JavaScript. If you want to check whether a string is a URL or not. Refer to Detect URLs in a Block of Text. In JavaScript, we can have a regular expression like var pattern=/(.+:\/\...

   JavaScript,URL,regular expression, Hostname     2012-06-15 09:16:45

  Chrome to block mixed content downloads in version 86

Google has announced its plan to block mixed content downloads in Chrome in February 2020 and now the day to block mixed content downloads is coming soon as we are nearing October when Chrome 86 is supposed to be released. What is mixed content downloads? According to Google, it is non-HTTPS downloads started on secure pages. For example, if you access a page called https://example.com/download, and in this page, there is a download link to http://download.example.com/something, ...

   CHROME,MIXED CONTENT DOWNLOADS     2020-09-18 21:10:53

  try { return } finally {}

Do you know what value will be printed when following program is ran? class Test { public int aaa() { int x = 1; try { return ++x; } catch (Exception e) { } finally { ++x; } return x; } public static void main(String[] args) { Test t = new Test(); int y = t.aaa(); System.out.println(y); } } And before answering the above question, do you have answers to following questions? If ther...

   JAVA,JAVA INTERVIEW QUESTION     2016-09-26 08:06:28

  Fix issue where no Java virtual machine found when launching Eclipse

In cases where a new Eclipse is installed or the location of the Java virtual machine binaries has been changed, you may face issue when launching Eclipse. The error would look like. And if you go to the location specified in the error message, there is no such path indeed.  And when clicks OK, the program just exits. The issue here is that it tries to find the java.exe binary and launch the program but it failed to locate it and hence exits. To fix this, you first need to ensure you have...

   ECLIPSE,JAVA,LAUNCH,ECLIPSE.INI     2019-09-07 05:31:27

  Let browser prompt for storing password when doing AJAX login

In Web 2.0 era, more and more web applications are using AJAX to replace the traditional HTML form element to perform user login. This usually provides a better user experience than form submission. But it also brings a side effect to the end users. That is the browser will not prompt the user whether s/he wants to save the password so that s/he no needs to enter the username/password again when visiting the same site next time. Below is the code snippet which does the AJAX login.  <scri...

   AJAX,Browser,Login,Password     2015-06-04 10:02:46