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

SEARCH KEYWORD -- Reason



  Sundar Pichai : Excited to try out iOS 7

Google Android business executives Sundar Pichai said on Twitter that he was excited to try out iOS7 beta and he would like to register as a Apple developer in order to experience iOS 7 early.The real reason why Sundar Pichai expresses interest on iOS 7 is not yet known, but at least "Know thyself, ever-victorious" is correct. Because as a person who is in charge of Android, he should grasp the status of competitors in order to know what the Android system can improve.However, Apple's iOS 7 appl...

   iOS 7,Google,Sundar Pichai     2013-06-12 00:57:30

  My love… for Expressive Programming Languages

I started out my journey with programming as a teenager learning GW-BASIC. Soon I learnt C language followed by C++.  I was impressed with the OO syntactic constructs C++ had on offer but I felt a little uneasy with a few constructs such as the scope resolution. I started studying Java. It immediately caught my attention with the syntactic improvements and simplifications it brought over C++. I was still in academics, so learning(precisely trying) programming languages on su...

   descriptive,programming,language,prefere     2011-08-17 07:31:09

  Google is returning back to China

It has been five years since Google announced its difficult decision to leave China in 2010. The well known reason was that Google didn't want to conform to China's censorship request on sensitive information. During these five years, many stories happened bbetween these two sides. Things may turn around now as there are a few indications where Google may return back to China at an appropriate time soon. The most convincing indication is that a customized Google play -- Google online shop may a...

   Google,China,Alphabet,Google play     2015-09-06 04:13:30

  The magic of go:linkname

When writing Go program, there is frequent need on using time.Sleep() function to pause the logic for some time. And if jumping to the definition of this function, can see below definition: // Sleep pauses the current goroutine for at least the duration d. // A negative or zero duration causes Sleep to return immediately. func Sleep(d Duration) I's strange that there is no function body defined here. What happened? The actual definition of the function body is residing at runtime/time.go&nb...

   TRICKS,GO:LINKNAME,GOLANG     2022-04-10 08:39:00

  9 reasons to use Zsh

Like majority *nix users, I have been using bash for many years. Sometimes I feel uncomfortable with bash. I tried use some other shells as well such as ksh, tcsh and zsh which I am going to talk about. A few days ago, I found an open source project ranking in the 6th named oh-my-zsh on Github, I downloaded it and had a try with it. It's amazing. We should use zsh to replace bash now. Why do we need to use zsh? Here is a 4 minutes YouTube video which shows many reasons why we should switch from ...

   zsh, advantage, command     2012-09-28 12:46:39

  Bug caused by using changeable value as the default in "python method overload"​

In python we can set the passed in parameter's default value to make the function has the same running feature as the method overload in Java. Define a function like this: def testFunction(self, param1, param2=None, param3=None): Normally we use "None" as the parameter's default value. We can also use str/bool as the default value, but is it OK we use empty list [] as its default value? This is our test program: """ A test program using empty list as the passed-in parameter's default value. ...

   PYTHON     2019-03-11 08:52:52

  iOS6 will not have YouTube pre-installed

2012 maybe Apple's year of  "away from Google".Following the Google Maps, YouTube will be ruled out from iOS 6. According to 9to5Mac, iOS 6 beta 4 has removed the YouTube application that existed on iOS since the first version in 2007. Apple also confirmed that the agreement signed with Google to pre-install YouTube has expired. If you are a big fan of YouTube, don't worry, Apple doesn't completely rule out YouTube. In Safari, you can still visit YouTube, Google is also developing a new ver...

   iOS6,YouTube,Apple,Google     2012-08-07 03:42:31

  Alibaba subreddit has been banned from Reddit

The subreddit of Alibaba, the biggest e-commerce giant in China, has been banned from Reddit.The reason given is that this community has violated the Reddit rules. But no details about what rules are violated given by Reddit. If we now try to access https://www.reddit.com/r/alibaba, we will see below page. From the page, it says this subrredit has been banned 6 months ago. It's unknown whether this subreddit was created by Alibaba Group or by some other people. And it's unclear w...

   CHINA,ALIBABA,REDDIT     2015-09-28 03:20:12

  Set PHP session timeout

There are many different discussions about PHP sessions. We may often face some weird issues while handling PHP sessions. Sometimes session is expired earlier than expected. Or sometimes the session is not expired. This introduces many confusions. Today we discuss how to set PHP session timeout correctly today. In php.ini, there are three key parameters which will affect the session timeout. session.gc_maxlifetime, session.gc_probability and session.gc_divisor. session.gc_maxlifetime defined the...

   PHP,session,timeout     2013-08-31 08:11:03

  4 Reasons Why We are NOT in a Post-PC Age

Sales of desktop PCs and laptops are falling. It’s impossible to read any technical media without hearing about the “death of the PC.” And both Apple and Microsoft are soon to release operating systems that seek to merge the features of the computer operating system with those available on tablet devices. All this evidence mounts up to suggest that the Steve Jobs-coined “post PC era” is upon us. Well, I’m going to stick my neck out on this: I donâ€...

   Post PC,Reason,PC     2012-03-26 15:24:46