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

SEARCH KEYWORD -- Apple



  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

  Multiple Constructor in PHP

See code:class MultipleConstructor {private $info = ”;function __construct() {$argv = func_get_args();switch( func_num_args() ){default:case 1:self::__construct1($argv[0]);break;case 2:self::__construct2( $argv[0], $argv[1] );break;}}function __construct1($value) {$this->info = $value;}function __construct2($value, $value2) {$this->info = $value . ” ” . $value2;}function get() {return $this->info;}}$a = new MultipleConstructor(‘Value 1′);echo $a->get();$...

   PHP,Constructor,Multiple constructor     2011-10-01 02:28:22

  Prototypes in JavaScript

Following on from his previous article, David Chisnall explores JavaScript as an example of prototype-based object orientation. In this article, he shows how it's possible to implement more complex object models on top of this simple abstraction.My previous article, Prototypes and Object Orientation, considered the differences between class-based and prototype-based object orientation. In this article, we'll look in a bit more detail at the workings of the JavaScript object model, since it'...

   JavaScript,Prototype,Object oriented,Obj     2011-09-02 11:44:12

  Setting server timezone

To set your web servers date timezone, for example for Eastern Standard Time (EST) use the following code:SetEnv TZ America/IndianapolisFor example, for Los Angeles time (Pacific time), use the following code:SetEnv TZ America/Los_AngelesOther location examples include:America/New_York - Eastern Time America/Detroit - Eastern Time - Michigan (most locations) America/Louisville - Eastern Time (Louisville, Kentucky) America/Indianapolis - Eastern Standard Time (Indiana, most locatio...

   .htaccess,Server,Time zone,Change     2011-10-03 14:45:33

  Whatever works for you

In my earlier 20s when I knew everything, I was a much bigger evangelist for my technology choices. I’m accused of fanboyism a lot more these days, but only because Hacker News keeps sending huge waves of people here who tell me I’m an idiot. But I used to be much more annoying with pushing my choices onto others. I’ve naturally reduced such evangelism as I approach 30 and realize I don’t know anything, but I’m now making a much more conscious effort to s...

   Choice,Product,Usability,Fittability     2011-11-29 08:39:09

  Skills Needed to be a Web Developer in 2011

Many web developers think they already have all the knowledge they need to continue their careers. Check out this list of the ten skills all web developers must have to succeed in 2011 and beyond, and see how you measure up.1) Speak The Basic Languages of the WebBesides the content mark-up of HTML and the style rich sheets of CSS, how are you at your JavaScript and other advanced DHTML features? HTML 5, the latest upcoming W3C standard, includes audio and video embedding, database connectivity a...

   HTML5,Web skills,PHP,.NET,Java     2011-05-12 00:47:49

  Square bracket in checkbox name

0down votefavorite i have a form with checkboxes like this:    <input type=\"checkbox\" name=\"type[]\" value=\"1\" />Fast Food<br>    <input type=\"checkbox\" name=\"type[]\" value=\"2\" />Table Service<br>    <input type=\"checkbox\" name=\"type[]\" value=\"3\" />Cafeteria<br> when i use the brackets in the name (type[]), my php works:    $type=$_POST[\'type\'];    echo \"types are:\";for ( $counter...

   Square bracket,PHP,JavaScript,Array of n     2011-03-22 10:32:40

  Here Are The 10 Highest-Paying Jobs At Google

South African job listing site JobVine compiled the following chart of the top ten salaries at Google, compiled from Glassdoor.The top pay is for contract positions leading software development. It's not uncommon to see contractors earn more salary than full-time employees at big tech companies, because they're often not able to get stock options and perks.For jobs within the company, it looks like directors of product management are the highest paid, which is fitting with Google's new...

   Google,Salary,Statistics,Job,Salary level     2011-10-14 11:24:42

  Twitter service down incidents summary

This Thursday, Twitter encountered a global service down incident. This is the second service down incident since last month. Later Twitter updated its website and stated that users might not be able to access Twitter temporarily.Twitter admitted the service down incident and explained that this time's service down was caused by problems of their both data centers.Ok, now lets summarize the service down incidents encountered by Twitter in past few years.in May 2008, Twitter's new engineer team w...

   Twitter,Service down,History     2012-07-28 12:36:39

  The problem isn’t you. The problem is the problem.

A friendly reminder: The problem isn’t you. The problem is the problem. –Steven Pressfield Some stuff is just hard. We start thinking we messed up. That it’s an issue with us. But it’s not. The work is hard and the problem is hard. You need to solve the problem, not fix yourself. The quote above is from Steven Pressfield’s incredible Do the Work. The audiobook (that’s a store link) is about 90 minutes long, so it fits in a s...

   Business,Problem,Strategy     2011-12-07 08:37:29