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

SEARCH KEYWORD -- Change



  â€œNative vs Web” Is Total Bullshit

The web is dead. HTML5 is the be-all end-all of the future. Users are spending more time on apps and less time on the web. You can do anything on the web that you can in a native app. Yawn. Here’s how I feel whenever I hear/read anything about the overplayed “Native Versus Web” argument: It’s not an either-or decision Why aren’t we still arguing over “Print vs Digital”? Well, because (most) people understand that each medium has its place in thi...

   Web app,Native app,Comparison     2012-02-24 05:30:03

  Browser market share in June

Recently, the Internet research firm Net Application announced the browser market share report in June, IE's global market share grows to 56.15% in June from 55.99% in May, an increase of 0.16%. However, Firefox drops by 1.48%, its market share is 19.15% in May. Chrome grow by 1.43% to 17.17% in June. Meanwhile, Safari increases by 0.09% to 5.55%, Opera drops 0.19% to 1.58%. For different versions of IE browsers, IE10's global market share is 13.52%, monthly market share increases by 4.26% in J...

   Browser market share,June 2013,Chrome     2013-07-02 03:20:08

  Bill Gates to return as Microsoft's white knight?

Summary: Could and should Bill Gates return to day-to-day responsibilities at Microsoft? Fortune is reporting there’s a rumor to that effect. Fortune reported on December 8 that there’s talk Microsoft Chairman Bill Gates might be mulling a comeback, largely to help boost Microsoft’s stagnant stock price and employee morale. I have to say I am very, very, very skeptical on this one. First, it seems this is a single-sourced report....

   Microsoft,Change,Bill Gates,Return,White Knight     2011-12-09 07:39:39

  How to handle ES6 modules in NodeJS

In modern JavaScript, there are two types of modules: ES6 module and CommonJS module used by NodeJS. These two types of module are not compatible. Many people would wonder how to load ES6 modules in their NodeJS project. This post will show how this can be done. Difference The syntax of the module being loaded is different. CommonJS modules are loaded with require() and exported with module.exports. ES6 modules are loaded and exported using import and export respectively. Merchanismwise require(...

   NODEJS,COMMONJS,ES6     2020-08-28 22:01:33

  Using htpasswd to protect your website in Nginx

We need to build a password protected website frequently such as an internal website within the team, demo website. Here what we are talking about is password protection in Nginx server level instead of application level registration and login. We are going to use Nginx server configuration and htpasswd file to achieve password authentication. The final result looks like below(Different browsers may have different interfaces): If the authentication fails, it will report a HTTP error: 401 Author...

   Nginx,Password protected,htpasswd     2013-06-07 21:35:27

  CSS DIV position analysis

When using CSS to set the position of DIV, we may often get confused with the 4 position properties : static, relative, absolute and fixed. If we don't understand them correctly, we may often get unexpected result. Here we make some analysis to them.The definitions of these 4 properties:static : The default position property. It has no position actually. The element will appear where it should be (top, bottom, left, right or z-index has no use here)relative : This one will position relati...

   CSS, DIV,position,relative,absolute     2013-01-29 03:23:57

  Cool HTML5 matrix effect

Do you still remember the movie The Matrix? Do you still remember the cool matrix effect in that movie? How is that effect achieved? Shaun Dunne shared a piece of HTML5 code which displays a cool matrix effect. The matrix demo can be found here. Below is the code which he achieves this effect: with var s = window.screen; var width = q.width = s.width; var height = q.height = s.height; var letters = Array(256).join(1).split(''); var draw = function () { q.getContext('2d').fillStyle='rgba(0,0,...

   Matrix,HTML5     2013-08-14 08:03:34

  10 Points about Java heap memory

When I started java programming I didn't know what is java heap or what is heap space in Java, I was even not aware of where does object in Java gets created, it’s when I started doing professional programming I came across error java.lang.outofmemoryerror then I realized What is Heap in Java or Java Heap Space. Its happens with most of programmer because learning language is easy but learning basics is difficult since there is no formal process which can teach you every basics of pro...

   Java,Heap memory,Tips     2012-02-20 05:38:06

  On being happy

For the whole past night I lay awake without sleeping a minute, mostly because I am still fully jet-lagged from the move to Europe yesterday. For some reason, the one thought that entered my mind was one about what it means to be happy. Yes, of course, being on an exciting startup journey, there are other goals which are more in the foreground. There is creating a product users love, getting funding or earning enough money to sustain yourself. Whilst I greatly enjoy this product and user fo...

   Happiness,Attitude,Steve Jobs     2011-12-26 08:59:08

  CSS3 animation vs CSS3 transition

Both CSS3 animation and CSS3 transition can be used to transition an element in a webpage. They can be used to transition some CSS properties within a given period of time. They have many similarities. They do have a few differences as well. So an user needs to understand the differences between them in order to better use them in different scenarios. First, let's see an example on how to change the width of a div from 100px to 200px within 2 seconds when hovering on it. With CSS3 animation , th...

   CSS3 animation,CSS3 transition, Difference     2015-06-15 08:46:39