SEARCH KEYWORD -- Reason



  What do programmers like to say usually?

Coding is an very important part of programmer's daily work. But beyond coding, programmers need to do other work as well, they need to fix bugs reported by users, they need to write documents for their codes. Also, they often need to answer questions from customers, bosses and colleagues. What do they often say when they are facing different sort of questions? Today we share some. It's done. I just need to clean up a few things. This is hacky, but I'll fix it soon. This can never happen: It's ...

   Programmer,Execuse,Bug     2013-08-07 07:38:30

  The Pitfall of WebSocket Disconnections Caused by Browser Power-Saving Mechanisms

Preface Recently, while using WebSocket (WS) connections, we encountered frequent disconnection issues, occurring hundreds of times per day for a single user. Although using the auto-reconnect feature of socket.io allowed us to quickly restore connections after disconnections, it did not guarantee that every reconnection would successfully receive WS messages. Therefore, we conducted several investigations and tests. Ultimately, we identified the root cause of the issue: the browser's power-savi...

   WEBSOCKET,JAVASCRIPT,POWER SAVING,TROUBLESHOOTING     2024-06-23 01:19:39

  C/C++ Pointer Declaration Syntax – It makes sense!

I never really liked the way pointers are declared in C/C++: int *a, *b, *c; // a, b and c are pointers to int The reason is that I am used to reading variable declarations as MyType myVar1, myVar2, myVar3; and I always read “int*” as the type “integer pointer”. I therefore wanted the following int* a, b, c; // a is a pointer to int, b and c are ints to mean that a, b and c all were of type int*, i.e. pointers to int. and I therefore found it slightly a...

   C,Pointer,Declaration,Attempt     2012-02-22 05:43:58

  One minute to understand earnings report of IT giants in last quarter

According to Sohu IT, if you want to know the operating status of a listed technology company, then the company's quarterly earnings report should not be missed. Now it's time for companies to release earnings report for last quarter, a few large IT giants in United States have announced the previous quarter's earnings. But many ordinary readers are not interested in those professional reports with a lot of finance jargon, so we extracted and summarized some important information from Yahoo, Goo...

   Earnings report,IT giant     2013-04-27 10:05:38

  Everyone Can Write Tech Blogs

As a programmer, you’ve probably been told that writing tech blogs can offer a range of benefits. There's no shortage of articles encouraging you to start writing, and this post, this post adds to that chorus. But while the advice is solid, what’s often missing is how to begin the journey of writing tech blogs. Based on my 10+ years of experience, I’d like to share some thoughts to help you get started. From what I've seen, the reason many programmers don’t write tech blo...

   CAREER,RESUME,ADVICE,TECH BLOG     2024-09-08 04:00:52

  Baidu may withdraw from NASDAQ

Baidu, the search engine giant in China, may withdraw from NASDAQ some day and then get re-listed on A-shares market in China. This message is conveyed by Robin Li, CEO of Baidu, on a Wednesday(Beijing time) interview. Baidu is now investing heavily on O2O(Online to Offline) service as it is an emerging market where all Internet giants in China are diving in. In addition to its own O2O products, which include delivery service Waimai and deals site Nuomi, it has invested in a number of othe...

   NASDAQ,ROBIN LI,O2O,BAIDU     2015-09-17 04:03:55

  Google will close shopping search service in China

Google vice president of products Sameer Samat posted a news on Google Blackboard, since the service failed to meet the expectations, in order to better optimize resources, Google decided to close the shopping search service in China.In order to better optimize resources, we have decided to close the shopping search service in China. The original intention of the development of this product is to set up a bridge between consumers and retailers and traders. However it did not meet our expectatio...

   Shopping search service, Google China     2012-12-12 14:30:44

  Reasons to use blue in design

Blue color is used in many product designs and logo designs such as Facebook, Microsoft, Twitter and our site. Why do companies choose blue color in their design? It's not a coincidence for them to choose blue. One saying is the color blue is associated with trust, efficiency, clarity and simplicity. Beside this reason, are there other reasons? From an interface design standpoint, blue is an incredibly useful color. Among the dark colors designers have in their toolbox, red, orange and green al...

   Design,Blue     2013-12-13 07:13:22

  Why no max/min function for integer in GoLang

You may notice that there is no max/min function provided to compare the maximum/minimum of two or more integers if you are a GoLang developer with some experience . In other languages, these functions are provided as part of the core lib functions. Have you wondered why?  Indeed GoLang provides max/min function in math package, but they are used for comparing float64 data type. The signature of these two functions are math.Min(float64, float64) float64 math.Max(float64, float64) float...

   GOLANG,MAX,INT,INT64     2019-06-08 07:00:55

  China has blocked Wikipedia again

Recently lots of Chinese found they experienced problems while trying to access Wikipedia, the world's largest and most well-known free encyclopedia. It turns out that the notorious Chinese GFW(Great Firewall) is playing the critical role here. It blocks the Chinese version of Wikipedia. The reason why the Chinese version of Wikipedia is blocked is said to be that Wikipedia has changed its default protocol from HTTP to HTTPS. This change made it difficult for the GFW to filter some sensiti...

   CHINA,WIKIPEDIA,GFW,BLOCKED,NEWS     2015-12-05 19:04:12