Today's Question:  What's your opinion about Alibaba mooncake incident?        GIVE A SHOUT
Java Interview Questions

Java Interview Questions

Currently there are many articles online which summarize the list of Java interview questions. Some cover lots of basic questions and some cover some specific questions in specific area such as multithreading. In this post, we will not cover the really basic questions, we will cover something different. For basic question, you can read Java Interview Questions。 Basic What is primitive data type? How many primitive data types in Java? What are they? -- A primitive type is predefined...
Share on Facebook  Share on Twitter  Share on Google+  Share on Weibo  Share on Reddit  Share on Digg  Share on Tumblr  Share on linkedln    READ MORE


Ruby net-scp cannot scp multiple files with asterisk(*)

 Pi Ke    287  0  0

net-ssh/net-scp is a Ruby gem which can be used to scp files between different *nix machines. It's similar to how the *nix scp command. It can be used to scp a file or a directory. However, it seems it has some problem to scp multiple files using pattern *. For example, below script is supposed to download all files from remote directory to local directory: require 'net/scp' host = 'testmachine' login = 'testaccount' password = "testpassword" remote_path = '/tmp/remote...

Resolve stylesheet_link_tag fails to work in Ruby on Rails

 sonic0002    164  0  0

When developing Ruby On Rails application, developers sometimes will see an unexpected behavior where the application cannot be loaded due to "TypeError: Object doesn't support this property or method" when invoking stylesheet_link_tag. The symptom looks like  And the Rails log will show something similar to below The error occurs because there is some problem finding the correct assets which are located in app/assets. To resolve the issue, you can following below steps. Add gem 'coffee-...

Sort an array with only one local variable

 Pi Ke    1,601  3  0

Array sorting algorithm question is frequently asked during technical interviews. There are lots of sort algorithms including bubble sort, selection sort, insertion sort, quick sort, merge sort etc. Usually interviewees will be asked to implement sort algorithms. But have you ever been asked to sort an array which you are allowed to define ONLY ONE local variable in your algorithm?  Bubble sort can be used to do this actually. Normally a bubble sort algorithm may need three local ...

Linus Torvalds apologizes for Linux 4.8 kernel bug

 sonic0002    958  0  0

On Oct 2, Linus Torvalds proudly announced the release of Linux 4.8. But just days after the release, a bug was found in the kernel and Linus came out and apologized for this bug. I'm really sorry I applied that last series from Andrew just before doing the 4.8 release, because they cause problems, and now it is in 4.8 (and that buggy crap is marked for stable too). In particular, I just got this kernel BUG at ./include/linux/swap.h:276 and the end result was a dea...

Google Allo - Changing the way people chat

 sonic0002    1,142  0  0

Google released a new smart messaging application a couple of weeks ago -- Google Allo. At first glance, it has no much difference than other mature messaging applications on the market such as What's App, Line, WeChat. It has a concise and easy to use user interface and comes with stickers, doodles, and HUGE emojis & text. But do we really need a new messaging application which is similar to others in most aspects? The answer is MAYBE. From its description, it claims it's a SMAR...

more ►


What's your opinion about Alibaba mooncake incident?

On 12 September, China's eCommerce giant Alibaba fired a few employees for ordering mooncakes intended for internal employees by "cheating". The background of this incident is that Alibaba developed a mooncake ordering system open to internal employee just before the Chinese Mid-Autumn festival(15 September). Knowing about this news, 4 Alibaba security engineers and 1 Aliyun(Alibaba Cloud) engineer wrote some script to help order the mooncake automatically. When the system was open, the script started to work and ordered a total of 124 boxes of mooncakes. After this happened, the management team had a conversation with the 5 employees and fired them a few hours later because the management team thought their behavior violated Alibaba's value(honest, fair play). However, the engineers get fired said they were just using some technical method to assist them and didn't intend to order so many and contacted HR to report this on their own initiative. This triggered a big debate later in China. Lots of people think Alibaba is too stringent on this and it hurts the geek spirit of programmers. What do you think of it? What will happen if this happens in your company? Is this considered normal as a geek?

Should a CTO write code?

A CTO is usually considered as a person with strong technology sense and knows how to build the best technology strategy of the company and conquer technical challenges facing the company. And a CTO is frequently conceived as a person who can write code well. There are a few arguments about what a CTO needs to do exactly. What do you think a qualified CTO needs to do? Does s/he need to write code? Does s/he need to be a tech guru?

What does it feel to have a programmer dad or mom?

What does it feel to have a programmer dad or mom? Will there be many discussions on technical topics during dinner? Do you want to have a programmer dad or mom?

Should we be worried about the win of AlphaGo?

The biggest event today is the match between AlphaGo(The AI system from Google) ad Lee Sedol. The result of the first match is that AlphaGo defeats Lee Sedol. There will be another four matches in following days. After today's match, many people are happy to see that AlphaGo wins, but many others are worrying about that human beings are defeated by machines. Should we be worried of the win of AlphaGo? Will we be replaced by machines in the future? What's your opinion about AI?
RESPONSES FROM ibmer  pulltech  Ke Pi  Deepak Patel 

Why doesn't IBM file legal brief in support of Apple?

Recently the legal case between FBI and Apple over unlocking iPhone as requested by FBI is a very hot topic in tech industry. Many tech giants include Google, Microsoft, Facebook and lots others have expressed their support of Apple by filing legal briefs. But we noticed that IBM is missing in the list of supporters. Do you think why IBM is missing? What is IBM concerning about? Afraid of losing government deals?

more ►



Apple HQ after Samsung stops manufacturing Note 7

Apple HQ after Samsung stops manufacturing Note 7

By sonic0002 at 2016-10-11 07:04:19