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

SEARCH KEYWORD -- Reason



  3 preconditions for Facebook to enter China

It's well known that Mark Zuckerberg has a big interest in the Chinese market. Recently, the founder of Facebook visited China to attend a development forum held by the Chinese government. Along with the trip, he also paid a trip to some famous places in Beijing such as The Great Wall. He even did a morning run in front of the Tian'an men Square, the symbol of China.  In past few years, Zuckerberg also learned Chinese and read Chinese books, showed his love to the Chinese culture....

   FACEBOOK,CHINA,MARK ZUCKERBERG     2016-03-25 01:32:51

  Importance of Side Projects

Side projects are important for a few reasons. Programming is a creative process. Side projects allow programming without deadlines or restraints. Side projects allow programming in an exploratory way. Explore new technologies Every day there are more and more bleeding edge technologies coming out. A side project is a great place to try them out. There’s no reason to worry about bugs or performance issues because it’s just a side project. You’re not depending on the ...

   Side project,Creative idea,Dealine,Scratch,Launch     2011-11-28 03:17:22

  Tencent CEO : Mobile social gaming will be the profit breakthrough point of WeChat

Tencent CEO Ma Huateng said mobile social gaming would be one of the biggest light spot and also the profit profit breakthrough point of WeChat.Mr. Ma thinks that the principle of public accounts of WeChat is very simple, In the early period of QQ, users could also send messages and feedback, the reason why WeChat is so charming is because the phone has audio and video capabilities, this is very different from the text on the PC. Public account service providers can send voice passages to users ...

   Tencent,WeChat,GMIC     2013-05-07 07:27:23

  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

  The use of Erlang in Facebook chat

Erlang  is a general-purpose concurrent, garbage-collected programming language and runtime system. It stays strong while building concurrency programs. Erlang provides language-level features for creating and managing processes with the aim of simplifying concurrent programming. It has large application in many chat service well known now such as Whatsapp and initial version of Facebook chat. Previously we have written an article Use of Erlang in WhatsApp. In this post, we will talk about...

   Facebook,Erlang     2014-02-25 07:12:36

  Tencent released Q1 earning report of 2013

Tencent has released the earnings report of Q1 in 2013, the total revenue is $2.1611 billion which increases  11.5% compared to last quarter and increases 40.4% compared to the same time last year. The  profit is 649.4 million US dollars which increases 17.3% compared to last quarter and increases 37.4% compared last year.The three main profit generators are:1. Value-added services revenue of 1.7014 billion US dollars with an increase of 13.6% compared to last quarter and an increase o...

   Tencent,Earnings report,WeChat     2013-05-15 07:02:45

  Be careful about printing error as string in GoLang

In GoLang, we can format and produce string using fmt.Printf(), just like C, GoLang also supports format verbs like %s, %d which can be placeholder for different types of values. But please pay attention when printing error as string so that you will not fall into some trap. Let's first take an example code snippet and see what trap we are talking about. package main import "fmt" type A string func (a A) Error() string { return fmt.Sprintf("%s is an error", a) } func main() { a := A("hello...

   STACKOVERFLOW,GOLANG,FMT     2019-01-23 09:17:15

  A trap in PDOStatement::bindParam

First, let's check out below codes: <?php $dbh = new PDO('mysql:host=localhost;dbname=test', "test"); $query = <<prepare($query); $bind_params = array(':username' => "laruence", ':password' => "weibo"); foreach( $bind_params as $key => $value ){ $statement->bindParam($key, $value); } $statement->execute(); What is the SQL executed finally? Is there any problem with above codes? Many people may think the query executed is : INSERT INTO `user` (`username`, `password...

   PHP,Trap,bindParam     2013-08-29 10:48:55

  A mini post on GoLang context

In a GoLang web server, every request coming in will be handled by a goroutine. In the request handler, the logic may also need to create new goroutine to handle other tasks like RPC call. When the request is processed and response is returned, these goroutines created need to be exited so that no goroutine leak should happen. package main import ( "fmt" "log" "net/http" ) func main() { http.HandleFunc("/echo", func(w http.ResponseWriter, r *http.Request) { fmt.Println(&r) w.Write(...

   CONTEXT,GOLANG     2019-12-14 06:21:02

  How to apply Domain Level Group Policy

As a system administrator, you may often need to create a Windows domain of a computer network in which all user accounts, computers, printers and other security principals, are registered with a central database (called a directory service). Also one or more domain controllers need to be deployed to enable managing the domain. In this post, we will show you how to apply Domain Level Group Policy. There are lots of posts which have covered how to promote a Windows server to a Domain Controller. ...

   Group Policy,Domain Controller,Account Policy, GPO     2015-03-19 03:46:34