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

SEARCH KEYWORD -- Detail



  Why 0.1+0.2 != 0.3

In programming languages such as JavaScript, c/c++, Java and Matlab, you will find that you will get unexpected result when doing float point calculation. For example, when calculating 0.1 + 0.1, you will not get 0.3: > 0.1 + 0.2 == 0.3 false > 0.1 + 0.2 0.30000000000000004 Don't be surprised of this result, this is the end result of IEEE 754 standard, float point number cannot be accurately represented according to IEEE 754 because: No enough memory is allocated for representing the num...

   float point,comparison,JavaScript     2014-11-19 05:32:46

  A crazy interview experience

How to be outstanding and get the offer after a job interview? Besides the strong technical background, we may still need some other skills such as how to ask questions during interview. Sometimes you may even do some crazy things. There is one question on Quora which is "What's the craziest thing you ever said (or did) at an interview and still got the job?". Among the answers, one answer is worth to be mentioned, the answer is from Stan Hanks and his answer is liked by 3859 people(As this arti...

   Quora,Interview,Strategy     2013-05-08 05:53:54

  New Text-to-Speech API for Chrome extensions

Interested in making your Chrome Extension (or packaged app) talk using synthesized speech? Chrome now includes a Text-to-Speech (TTS) API that’s simple to use, powerful, and flexible for users.Let’s start with the "simple to use" part. A few clever apps and extensions figured out how to talk before this API was available – typically by sending text to a remote server that returns an MP3 file that can be played using HTML5 audio. With the new API, you just need to add "...

   TTS,Google,Speech,Text,Text to Speech     2011-10-21 08:46:41

  Samsung announces Galaxy S III mini

Samsung announces Galaxy S III mini today, compared to Galaxy S III, the mini version has some changes in screen size and configurations. Below are the detail configurations of Galaxy S III mini: 4-inch screen 800 × 480 resolution 5-megapixel primary camera, VGA front camera 1GHz dual-core processor Android 4.1 operating system Support the Samsung S Voice Personal Assistant, NFC and S Beam transmission function 1GB RAM, two versions with 8GB and 16GB memory, expandable to 32GB with microS...

   Galaxy S III mini,Configuration     2012-10-11 19:27:53

  User experience distance

Good user experience can narrow the gap between product and users, it can also improve the user efficiency and increase satisfaction and comfort of users. Here we talk about user experience distance with different examples: 1. Floating bubble layer When users need to delete one picture,they click on the "Delete" button, then the floating bubble layer appears to prompt the user to confirm the deletion, users only need to focus on the picture which reduces the visual burden, and also no need to mo...

   User experience, Design,Detail     2012-12-20 13:20:16

  Crash your Chrome with %%30%30

Have you ever wondered a simple string can crash one of the most sophisticated designed web browsers -- Chrome? There is a finding from Andris Atteka who found that a null string "%%30%30" appended to an URL can crash Chrome. For example, if you have below URL in your browser address bar or you mouse over below URL, Chrome will crash: http://www.pixelstech.net/%%30%30 When the browser crashed, it may show : Or on Windows, you will see : This bug has been reported to Google at Is...

   CRASH,SECURITY,CHROME,GOOGLE     2015-09-20 08:24:16

  Samsung loses $12.3 billion in one day

Following the court decision last Friday on Samsung's infringement of Apple's patents, Apple did not stop, they immediately submitted an application to the court to ban some Samsung smartphones, including 8 types of Samsung smartphones sold in United States. Apple listed in detail in the document what patents these phones infringed. These 8 smartphones are: Galaxy S 4G Galaxy S2 (AT&T) Galaxy S2 (Skyrocket) Galaxy S2 (T-Mobile) Galaxy S2 Epic 4G Galaxy S Showcase Droid Charge Galaxy Prevail...

   Samsung,Apple,Patent,Lose     2012-08-27 21:37:24

  Web Design 101: Get Your Color Contrasts Right

Great web design is hard.  It requires imagination, a keen eye, and the ability to project ideas onto a, generally digital, medium.  In today’s world this calls for a conflation of both artist and technologist.  I am not one of these people. I am a technologist, but I am no artist (thankfully I know some great artists!). Nonetheless, I’ve always had a good eye for things that look good and for sites that look like they were built with an early version of Micro...

   Web design,Structure,UI,Contrast     2012-02-04 21:42:50

  Capture video stream with WebRTC

WebRTC(Web Real-Time Communication) is an API supporting real time audio and video communication through a browser. It is now a recommended W3C standard. This post is to show you how to capture video stream and screenshot with WebRTC. Capture video stream To play video stream from the video camera, we first need to put a video tag in our code: <video id="video"></video> The main function to get the video stream is the navigator.getUserMedia, as of now only few of the browsers support...

   WebRTC,Video,Screenshot     2013-10-24 21:04:41

  C++, Ruby and CoffeeScript complexity comparison

There are many programming languages around the world, they all designed to help programmer solve some problems, finish some tasks. These languages are often divided into different types, there are structural, object-oriented, functional, scripting languages etc. Some are easy to pick up such as Java, while some are thought to be difficult to learn such as C++. So how do we understand complexities of different programming languages?Many people agree that C++ is very complex languages, it has poi...

   Complexity, languages, C++,Ruby,CoffeeScript     2012-06-12 04:46:01