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

 SOFTWARE


  Use of log in programming

Usually, The purposes of log are for troubleshooting and displaying program running status. Good log will help us locate the error easier. Many programmers think log in programs is very simple, but it's not an easy task to write log codes to efficiently locate the error. Here we discuss about program log in three aspects:Where to logWhat to logLog styles to be avoidedWhere to log1. When calling external functionsWhen your program is calling some external functions which are not written by you, you need to log before and after the external function call. This will help debug.1. LOG.debug("Call...

3,466 0       PROGRAMMING DEBUG LOG


  Mozilla releases an online editing tool --Popcorn Maker

Firefox developer Mozilla has been sparing no effort to promote the development of HTML5 and Web App They officially released a product: Popcorn Maker 1.0. It lets people edit video online and produce video with interactive features.Popcorn Maker video editing website page is similar to the ordinary video editing software, but the interface is simple and easy-to-use. You can edit the video content with simple select and drop and drag options, including inserting text, links, maps, Twitter information flow and Wikipedia entry to videos.With Popcorn Maker, you do not need to buy complex video ed...

3,509 0       MOZILLA POPCORN MAKER VIDEO EDITING


  Some lovely software design quotes

 Every time when I read technical books, I like reading the quote of a famous person at the start of a chapter(if any), usually they are very interesting. Here is a collection of famous quotes.Life’s too short to build something nobody wants – Ash Maurya, Running Lean authorGive someone a program, you frustrate them for a day; teach them how to program, you frustrate them for a lifetime. – David LeinweberThere are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complic...

6,431 1       QUOTE SOFTWARE DESIGN


  GitHub launches a separate training page

Code hosting community Github has much proud data: 55 employees, Andreessen Horowitz promised a $100 million investment, $750 million valuation, a place developers stay longest since its launch in 2008 ... Github announced the official launch of a separate teaching page, to teach developers collaborative programming through various forms.Github announces the detail about the training program on its official blog, the entire training project has two modes : free and paid. The content of their trainning is about basic Git and Github technologies. The separate training page provides web-based cou...

3,817 0       OPEN SOURCE GITHUB TRAINING


  HTTP Server development resource summary

This article summarizes some materials, articles and books I used when learning HTTP Server development. Hope this will help you.RFC and standard documentsRFC2616 – Hypertext Transfer Protocol — HTTP/1.1HTTP protocol standard document, it's an essential reference document for all personnel engaged in the development of the HTTP-related projects, careful study is recommended.RFC793 – TRANSMISSION CONTROL PROTOCOLTCP Protocol standard documentThe WWW Common Gateway Interface Version 1.1CGI1.1 protocol standard document describing all details about how the Web Server interact wi...

3,110 0       BOOK HTTP SERVER ARTICLE


  How deep should unit test go?

There is a question on Stackoverflow which says "How deep are your unit tests?". It is asked by a guy named John Nolan. The question is not too new, but what catches me is the Best Answer given by Kent Beck, who is the creator of Extreme programming(XP) and Test Driven Development(TDD).Let's look at the question first.The thing I've found about TDD is that its takes time to get your tests set up and being naturally lazy I always want to write as little code as possible. The first thing I seem do is test my constructor has set all the properties but is this overkill?My question is to what level...

4,102 0       TDD UNIT TEST XP


  GitHub : Code is the most direct way for programmers to communicate

If not invested by Andreessen Horowitz, GitHub might not be noticed by Forbes, CNN, New York Times. People didn't know this tool because it was very far away from the world -- GitHub is a project hosting service used by programmers.But to some programmers, it is not just a place for project hosting, it is`also the hub for open source projects, a place for programmers improving themselves and a social network for programmers.There are around 3.26 million projects hosted on GitHub currently, including Linux, Ruby on Rails, jQuery, Apache and the popular Node.js.Why is GitHub so popular?It is an ...

4,919 1       OPEN SOURCE GITHUB SOCIAL HOSTING


  Embrace open source

In past few days, there are many tech news which are related to open source. For example, Microsoft enables Linux on its Windows Azure cloud, Facebook open sourced its C++ library Folly and Samsung joined Linux foundation. Now more and more big companies realize the power of open source and are willing to contribute to the open source community. It will benefit not only developers but also these big companies as well.By providing some open source libraries or projects, developer may reduce their time of development and enjoy some performance improvement from open sourced resource. Some of thes...

3,018 0       MICROSOFT OPEN SOURCE LINUX FACEBOOK SAMSUNG