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

SEARCH KEYWORD -- relative



  Why cannot Renren be China's Facebook?

Yizhou Chen, CEO of China's SNS community Renren, shouted "one war, three battles". We do not know now how the battle progresses. Currently Renren's net market value is $1.3 billion where 900 million of them are in cash, it means the market values Renren 400 million US dollars only which is far lower than Facebook. Why cannot Renren be China's Facebook? This is a very interesting topic, many users share their opinions, Some of the main points are summarized as follows:Facebook pay more attentio...

   Renren, Facebook,SNS     2012-11-22 11:44:33

  Put Your HTML in a Box

In the first article in this series, I walked through the basics of cascading style sheets (CSS) and showed how CSS can make your code easier to maintain. CSS allows you to keep your presentation rules separate from your content, and I showed you some of the benefits this separation provides. In this article, I’ll move forward with CSS and describe how to position elements on a page.The first step in understanding how to position elements is to understand the fundamental model of CSSâ€...

   HTML,Box,Div,Container,Format     2011-08-19 08:22:58

  Three things you should never put in your database

As I've said in a few talks, the best way to improve your systems is by first not doing "dumb things". I don't mean you or your development staff is "dumb", it's easy to overlook the implications of these types of decisions and not realize how bad they are for maintainability let alone scaling. As a consultant I see this stuff all of the time and I have yet to ever see it work out well for anyone. Images, files, and binary data Your database supports BLOBs so it must be a good idea to shove ...

   Database,BLOB,Log,Image     2012-05-02 04:44:25

  Focus of Baidu in the future

In addition to the new generation "Baidu ladies", The biggest highlight of the annual meeting of Baidu is undoubtedly the passionate speech delivered by CEO Yanhong Li with a "Zoro" suite. He emphasized four business focus of Baidu in the future, i.e the traditional search, mobile cloud, LBS and international strategy. Although the strategy is clear, but what's more important is that there must be some corresponding products to align with these focus. How will Baidu carry out four key business?...

   Baidu, Anuual meeting, LBS,Baidu Cloud     2013-01-23 03:51:09

  Supervisord, God and Monit, which one to choose?

With the popularity of Docker, more and more service have been moved into docker containers and they are easy to build up and maintain for each atomic service(though it's a bit complex to maintain multiple docker containers which contain different service to form a complete solution). Ideally, each docker container should only contain one service which has only one running process. However, in reality there would be cases multiple processes would run in one single docker container and there is a...

   DEVOPS,MONIT,SUPERVISORD,GOD,DOCKER     2017-11-25 12:28:11

  GIF’s - Effective Engagement Tool Of Elearning

Elearning has been continuously facing the challenge of keeping the learners engaged. Many methods are being used to ensure that the learner understands the concepts even without an instructor. The inclusion of various multimedia modes like informative audios, videos, games, animations, etc. has become almost necessary to include as these are considered to make the concepts easier to understand.  In a nutshell, there are many advantages of using multimedia in an eLearning program, however, ...

   GIF,ELEARNING     2021-09-23 07:17:52

  Where Have You Installed Your Python Packages?

Preface I am writing this article because I recently noticed in the Python community that there are several frequently asked questions: Why does running the command after installing pip result in a "executable not found" error? Why does importing a module result in a "ModuleNotFound" error? Why can I run my code in PyCharm, but it doesn't work in the command prompt? Rather than just providing solutions, it is better to teach people how to fish. To address these types of issues, you need to und...

   PYTHON,PATH,PATH_PREFIX,PACKAGE LOCATION     2023-12-17 01:03:45

  The Hungry Programmer

Programming is a lot like eating. Tonight I was hungry. I wasn't at home. I couldn't go to the kitchen for a snack. I looked around and saw only McDonald's across the street. Then I was struck with the same dilemma that I face whenever I leave the comfort of my own home for any decent spread of time: Do I eat crappy food now and satisfy that hunger? Or do I stay hungry for a little longer and eat a healthy meal back at home? As I pondered this dilemma I couldn't help but notice how much i...

   Programmer,Hungry,Coder,Coding     2012-01-19 11:04:30

  Avoiding and exploiting JavaScript's warts

One's sentiment toward JavaScript flips between elegance and disgust without transiting intermediate states. The key to seeing JavaScript as elegant is understanding its warts, and knowing how to avoid, work around or even exploit them. I adopted this avoid/fix/exploit approach after reading Doug Crockford's JavaScript: The Good Parts: Doug has a slightly different and more elaborate take on the bad parts and awful parts, so I'm sharing my perspective on the four issues that ha...

   JavaScript,warts,Exploit,with,variable,this     2012-02-15 05:51:21

  The ugliest C feature:

<tgmath.h> is a header provided by the standard C library, introduced in C99 to allow easier porting of Fortran numerical software to C. Fortran, unlike C, provides “intrinsic functions”, which are a part of the language and behave more like operators. While ordinary (“external”) functions behave similarly to C functions with respect to types (the types of arguments and parameters must match and the restult type is fixed), intrinsic functions accept arguments of...

   C,,Fortran,Intrinsic functions,C99,Ugly     2011-12-26 08:33:27