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

 ALL


  What can select do in GoLang

In Go language, select is a keyword used to listen to and perform IO operations related to channels.With the select statement, we can simultaneously listen to multiple channels and perform corresponding operations when any of the channels are ready.This article will summarize the common uses of the select statement and provide some considerations when using it.Basic syntaxThe basic syntax of the select statement is as follows:select {case <-channel1: // when channel1 has data to processcase data := <-channel2: // when channel2 has data to processdefault: // if no channel has dat...

1,072 0       GOLANG SELECT USAGE SYNTAX TUTORIAL


  Understanding JavaScript closure and where it can be used

ClosureThe official definition of closure is: an expression (usually a function) that has many variables and is bound to an environment that includes those variables.In JavaScript, closure refers to the ability of a function to access the lexical scope in which it was defined, even after the function has been executed and left that scope. This ability is due to the fact that when a function is created, it generates a closure that includes a reference to the definition environment of the current function, allowing the function to continue to access those variables within that environment.Below ...

1,195 0       CLOSURE JAVASCRIPT USAGE


  Jelly Bean becomes the most popular Android OS

Google released the latest Android usage stats on Monday. Jelly Bean becomes the most popular Android OS for the first time. It takes 37.9% Android market share(32.3% from 4.1.x and 5.6% from 4.2.x). Ginegerbread is at the second place and it has 34.1% Android market share.This is a good news to many Android developers as they can use many new features provided in the new system if there are more and more users are using the new OS. Also if Google wants to attract news users, they have to encourage all vendors to adopt the new system on their devices. This time Jelly Bean takes the first place...

3,853 0       ANDROID JELLY BEAN USAGE


  Why Emacs?

PreludeIf you are a professional writer – i.e., if someone else is getting paid to worry about how your words are formatted and printed – Emacs outshines all other editing software in approximately the same way that the noonday sun does the stars. It is not just bigger and brighter; it simply makes everything else vanish.Neal StephensonIn the Beginning … Was the Command LineI’m an Emacs user and I’m proud of the fact. I know my reasons for using it (and loving it) for many years now. But many people don’t. I often get asked by various people the same qu...

2,030 0       EMACS LINUX IDE EDITOR USAGE