反应式宣言 - renfufei的专栏 - 博客频道 - CSDN.NET



反应式宣言 - renfufei的专栏 - 博客频道 - CSDN.NET

Organisations working in disparate domains are independently discovering patterns for building software that look the same. These systems are more robust, more resilient, more flexible and better positioned to meet modern demands.

各个领域的不同组织都在追寻一种相似的软件构建模式。这种系统鲁棒性更好、更有韧性, 更加灵活, 能更好地应对现代化开发的需要。

These changes are happening because application requirements have changed dramatically in recent years. Only a few years ago a large application had tens of servers, seconds of response time, hours of offline maintenance and gigabytes of data. Today applications are deployed on everything from mobile devices to cloud-based clusters running thousands of multi-core processors. Users expect millisecond response times and 100% uptime. Data is measured in Petabytes. Today's demands are simply not met by yesterday's software architectures.

由于系统需求近年来发生了巨大变化, 所以软件开发方式也正在改变。以前的大型应用系统会部署在几十台服务器, 响应时间大多是秒级, 可能还经常需要几个小时的离线维护, 数据量一般是GB级。今天的应用分布在各种移动终端, 服务端会部署到云集群上, 通常有上万个CPU核心在运转。用户需要的是毫秒级的响应时间, 而且期待的是100%的正常服务时间。数据量少则以PB为单位。过去的软件架构再也不能满足今天面临的各种需求。


Read full article from 反应式宣言 - renfufei的专栏 - 博客频道 - CSDN.NET


给马斯克打工是怎样一种体验? | 极客公园



给马斯克打工是怎样一种体验? | 极客公园

马斯克曾用「吞着玻璃同时凝视深渊」来描述自己的创业生活。早在 1999 年,马斯克带领 X.com 与 Confinity 争夺网络支付市场时,他就以极端的工作时间著称。当时的员工说:「我们每天工作 20 个小时,而他工作 23 个小时。」

在特斯拉陷入危机的时候,他要求员工在周六周日依旧努力工作,并睡在桌子底下,直到项目完成。有员工对此不满,希望能有时间陪陪家人,马斯克就会说:「我们破产后,会有更多时间陪家人的。」

如果员工告诉他,做出某个选择是因为「之前一直都是这样做的」,他会马上被踢出会议室。

一个员工因为宝宝的出生而错过了一场活动,马斯克在邮件里把他骂得狗血淋头:「我们正在改变世界、改变历史,如果你不打算全力以赴,那你就别干了。」

马斯克就是这样一个严苛的「暴君」,高管们也经常在开会前打赌谁会挨骂。普通员工对马斯克的描述很多面化,他们尊敬他,理解他的苛刻,也认为他已经达到了刻薄的地步,让人感觉反复无常,每次和他见面都感觉可能被解雇。马斯克对达不到他标准的员工非常苛刻,他总是说:「如果你想解雇某人,就应该马上解雇,否则只会浪费彼此的时间。」


Read full article from 给马斯克打工是怎样一种体验? | 极客公园


Difference between CSV and XLS files? - Super User



Difference between CSV and XLS files? - Super User

CSV files are intentionally designed to be widely supported; any OS or application that imports or exports data usually has CSV support.

They do nothing else but hold data - no text formatting for example.

Excel files hold the same data, but in binary format. This allows the file to save specifc Excel features - charts, formatting, etc.


Read full article from Difference between CSV and XLS files? - Super User


Advanced Methods Search | Eclipse Plugins, Bundles and Products - Eclipse Marketplace



Advanced Methods Search | Eclipse Plugins, Bundles and Products - Eclipse Marketplace

Search methods and chains of methods both in the Java and Scala sources as well as in the JARs loaded in the workspace based on their names, on their parameters (names and types), and on their return types. Enable programmers to navigate through the API jungle by incrementally navigating from a source object to a target object. This is an extension of the searching capabilities provided by eclipse JDT.

Typical advanced searches address questions like:

  • I have an object representing a 'name', and I need an object representing a 'file'. Give me all methods that take 'names' as one of their parameters and return 'files'.
  • Give me methods chains of length N that lead me from a 'fileName' to an InputStream -- e.g. new FileInputStream(new File(fileName))
  • Give me all methods that return objects of type 'IJavaProject'.
  • Give me all static methods that return objects of type 'IWorkspace'.


Read full article from Advanced Methods Search | Eclipse Plugins, Bundles and Products - Eclipse Marketplace


(11) How do e-commerce shops deal with free shipping abuse? - Quora



(11) How do e-commerce shops deal with free shipping abuse? - Quora

I am expert at Ecommerce for more than 7 years. Since we have spent so much time analyzing different platforms, I think I can help you with the issue. Such issues happenі not often. If you have the customer who rejects the second product with free shipping, he should pay for redelivery. You should think about your brand. You can't catch every cent. And I think it's unprofessional to take money for first free delivery. You can get a lot of quarrels and unhappy reviews from customers. What can ecommerse do? Nothing. All things can do by yourself. Every thought you can be easy bring to life with choosing a platform for your website. If you have a right choice in it, the issue about marketing efforts is solved. I've tried several platforms, which claim to be the best one, and most of them were too tricky for me to install and operate, and some have brought good results. As, an online business owner, I have managed to have a practice with 5 platforms, but only 2 of them brought some results.


Read full article from (11) How do e-commerce shops deal with free shipping abuse? - Quora


打破惯性思维:聊聊一次debug - freephp - 博客园



打破惯性思维:聊聊一次debug - freephp - 博客园


Read full article from 打破惯性思维:聊聊一次debug - freephp - 博客园


在首席架构师眼里,架构的本质是……



在首席架构师眼里,架构的本质是……

在首席架构师眼里,架构的本质是…… 什么是道,什么是术?道是事物发展的本质规律,术是事物发展的具体途径。规律只有一个,途径很多,条条大路通罗马,罗马是道,大路是术。道为本,术为途,如果事先知道罗马在哪里,那么遍地是路,路路相通。架构也是如此,如果能领悟架构的本质,就不会拘泥于现有的实践和理论框框,而以最直接的方式解决问题,无招胜有招。本文的内容包括架构的本质、架构的服务对象、架构师能力模型 、架构境界等。 架构的本质 架构的本质就是对系统进行有序化重构,不断减少系统的"熵",使系统不断进化。 那架构是如何实现无序到有序的呢? 基本的手段就是分和合,先把系统打散,然后重新组合。 举个例子,在Web 1.

Read full article from 在首席架构师眼里,架构的本质是……


每个程序员需掌握的20个代码命名小贴士 �C 码农网



每个程序员需掌握的20个代码命名小贴士 �C 码农网


Read full article from 每个程序员需掌握的20个代码命名小贴士 �C 码农网


[转] 关于数组的几道面试题 | AwezomeNet



[转] 关于数组的几道面试题 | AwezomeNet

数组求和
求数组中的最大值和最小值
求数组中的最大值和次大值
求数组中出现次数超过一半的元素
求数组中元素的最短距离
求两个有序数组的共同元素
求三个数组的共同元素
找出数组中唯一重复的元素
找出出现奇数次的元素
求数组中满足给定和的数对
最大子段和
最大子段积
数组循环移位
字符串逆转
组合问题
合并两个数组
重排问题
找出绝对值最小的元素

数组求和
给定一个含有n个元素的整型数组a,求a中所有元素的和。可能您会觉得很简单,是的,的确简单,但是为什么还要说呢,原因:这道题要求用递归,只用一行代码。
分析
简单说一下,两种情况:
1. 如果数组元素个数为0,那么和为0;
2. 如果数组元素个数为n,那么先求出前n-1个元素之和,再加上a[n �C 1]即可;
代码


Read full article from [转] 关于数组的几道面试题 | AwezomeNet


7 Chrome shortcuts you should start using right away - CNET



7 Chrome shortcuts you should start using right away - CNET

7 Chrome shortcuts you should start using right away 7 Chrome shortcuts you should start using right away Get ready to jump from novice to power user in seven easy steps. You won't believe how much time these shortcuts will save you. Whether you've been using Google Chrome for years or you just switched from, say, Firefox or Internet Explorer, there are some shortcuts you should know. Many involve using the keyboard to navigate faster; others put you a mouse-click away from useful features. And no list would be complete without at least one extension -- in this case my favorite extension of all time. Ready to shift your Chrome into overdrive? Here we go... (Note that in the case of any Ctrl-key shortcuts, Mac users should use the Cmd key instead.) 1. Head for Home You know the routine: You've read through to the bottom of a Web page (or well into the bowels of Facebook), and now you want to go back to the top.

Read full article from 7 Chrome shortcuts you should start using right away - CNET


【新提醒】初入Cloudera的一点感受【一亩三分地论坛职场达人版】 - Powered by Discuz!



【新提醒】初入Cloudera的一点感受【一亩三分地论坛职场达人版】 - Powered by Discuz!

简单地说:cloudera的中国人很少,节奏很快,目前处于快速扩张阶段。楼主所在的是enterprise data hub team。

从入职拿到机器的第40分钟,甚至连用户名还没设置好,就马上checkout代码,入职第四天就checkin代码。没有bootcamp,可能会不太适合new grads,比较适合有一定工作经验能立即上手的。
同事的工作能力,解决问题能力都很强,基本上是fix everything,工作内容偏infrastructure,非常handy。

因为中国人很少(整个楼只有不到三四个中国人),所以工作中交流能力很重要,尤其是口语交流能力。
面试的时候几乎全都是system,算法题很少。-google 1point3acres
team很小,楼主所在的team只有四个人,所以沟通和合作非常重要。
其实平时工作的时候就跟湾区的其他tech公司差不多,大屏幕显示器加mac。ops和dev都需要做,但是on-call压力很小,楼主所在的team就没有on-call。
cloudera以美国人居多,下班后喜欢去bar,喝一杯侃一侃,所以楼主入职的时候连喝了两个星期的酒,到奥斯丁出差的时候又连续喝了一个星期的酒。

Read full article from 【新提醒】初入Cloudera的一点感受【一亩三分地论坛职场达人版】 - Powered by Discuz!


YesAdvertising Review - Ad Nets Review



YesAdvertising Review - Ad Nets Review

YesAdvertising is an online advertising network. It is a product of YesUp Media Inc, which is a very well known online and offline advertising company. YesAdvertising provides publishers an opportunity to monetize their blogs or websites with their high paying ads whereas advertisers can reach their targeted audience by promoting their products on top websites.

YesAdvertising provides full control to publishers. As a publisher you can select the campaigns of your choice or you can let the system select it for you. YesAdvertising offers various ad formats for both desktop and mobile devices. You can even customize your ads to improve their performance.

YesAdvertisng uses CPM, CPC and CPA pricing models to pay its publishers which ensure that you will be paid for everything that is, impressions, clicks and conversions. YesAdvertising offers high eCPM rates, provides full control, pays quickly, offers multiple payment options and a great support.


Read full article from YesAdvertising Review - Ad Nets Review


Qadabra Review With Payment Proof - Ad Nets Review



Qadabra Review With Payment Proof - Ad Nets Review

Qadabra's sign up and approval process is very easy. To sign up on Qadabra, you have to fill up a simple registration form and after submitting it you can instantly log in to your account and generate ad tags to place on your site.

Approval is instant, so, you won't have to wait for any specific time to start using Qadabra services.

Ad Formats:

Qadabra offers some innovative ad formats to its publishers. The ad formats offered by Qadabra are Banner ads, Pop Up ads and Mobile ads. Qadabra offers different type of rich media ads, which are Slider banner ads, Stay-on ads and Light Box ads.


Read full article from Qadabra Review With Payment Proof - Ad Nets Review


Google云端大会的十个重要宣布 - 极客头条 - CSDN.NET



Google云端大会的十个重要宣布 - 极客头条 - CSDN.NET

上周,在旧金山举办了GCP(Google Cloud Platform)用户会议,旨在宣传新产品和服务,使用户选择Google云平台。

分析师和云端顾问Sam Cherrington在Twitter总结了这次会议:"GCP团队的观点是:云端领域并没有成熟,相反,才刚刚开始。"

Google一直被认为远远落后于亚马逊、微软Azure甚至IBM IaaS的服务。在德意志银行最新的调查中,GCP已经有4亿美金的总收入,落后AWS 20倍。

但是云服务观察家Cherrington说:"Google背后有搜索引擎,邮件,地图和浏览器等产品支持,未来进步的空间很大。"

下面是Google在本次会议中的重要宣布,列表的顺序与重要性无关。


Read full article from Google云端大会的十个重要宣布 - 极客头条 - CSDN.NET


SimpleImageInfo - A Java class to get image size without loading the whole data << Jaimon's Blog



SimpleImageInfo – A Java class to get image size without loading the whole data « Jaimon's Blog

SimpleImageInfo is a Java class to find out an image’s size and mime type without reading the whole image data. It doesn’t have any dependency on AWT or any other libraries. Currently it supports the following image types

  • JPG
  • GIF
  • PNG
  • BMP
  • TIFF

Because it only read the first few bytes, in most cases it only takes less than a millisecond to return the values.


Read full article from SimpleImageInfo – A Java class to get image size without loading the whole data « Jaimon's Blog


无敌是多么寂寞,AlphaGo 要在星际 2 再次吊打人类-前沿技术-@中国智慧城市资讯



无敌是多么寂寞,AlphaGo 要在星际 2 再次吊打人类-前沿技术-@中国智慧城市资讯

  与围棋不同,在《星际争霸 2》中 Alpha 将难以推算出下一步应该做什么,所以暴雪的娱乐制作总监 Time Morten 也预言 AlphaGo 将不会在 《星际争霸 2》中战胜人类。但是谁又能说的准呢?毕竟在 AlphaGo 挑战李世石开始之前,人类也是对之后的战局自信满满。

  下次在玩星际争霸的时候,不要喷对面小学生了,也许对面坐着的,可是肩负战胜 AlphaGo 大任的祖国花朵。


Read full article from 无敌是多么寂寞,AlphaGo 要在星际 2 再次吊打人类-前沿技术-@中国智慧城市资讯


谷歌放狠话:全力拼杀企业云服务市场 - OFweek光通讯网



谷歌放狠话:全力拼杀企业云服务市场 - OFweek光通讯网

  谷歌表示,正如向App的转变创造出了像Uber和Snapchat这样的现代企业一样,这些新技术将以相同的方式创造出巨大的新平台、公司、IPO和财富。

  谷歌将自身定位为这一新一代大企业的工具提供商,并为此推出了新服务来增强其谷歌云服务平台(Google Cloud Platform)。

  谷歌现在开放了在其Google Now、Google Photos和语音识别中使用的云机器学习(Cloud Machine Learning)工具的访问权限,允许开发人员们在使用REST API的应用程序中结合语音和图像识别等机器学习能力,打造使用谷歌开源TensorFlow机器学习库。

  谷歌的Cloud Speech API可以进行超过80种语言的speech-to-test转换。通过向大众开放这些API,谷歌正在挑战在语音识别领域占据主导地位的Nuance公司。

  谷歌同时也在通过长期存储和其他能力来加强其大数据工具包。

  这些都是谷歌试图在其尚未取得太大成功的行业细分市场――企业业务占据主导地位所做的努力。谷歌在企业产品方面有着悠久的历史,在近日的会议上,谷歌CEO Sundar Pichai还提到了Google Search Appliance――该公司在2002年推出的首个企业业务产品。该产品与Google Apps取得了一些成功。

  但是,谷歌还是需要向企业和云服务客户证明它自己。根据Synergy研究集团的数据显示,亚马逊公司目前是公有云市场的领导者,占据31%的市场份额;微软则以9%的市场份额位居第二;IBM公司排名第三,市场份额7%;谷歌以4%的市场份额排在第四位。


Read full article from 谷歌放狠话:全力拼杀企业云服务市场 - OFweek光通讯网


谷歌放狠话:全力拼杀企业云服务市场 - OFweek光通讯网



谷歌放狠话:全力拼杀企业云服务市场 - OFweek光通讯网

  为了扩大其全球影响力,谷歌还表示计划增加两个新的云平台地区――一个美国西部地区俄勒冈州,一个是在东亚地区东京,另外还有10个新地区到2017年将会上线。

  同时,谷歌也在努力通过与其他公司合作来向企业客户销售和支持云服务。

  第三个差异点在于易于管理―― "NoOps"部署,谷歌产品管理副总裁Brian Stevens表示。

  与Diane Greene一样,Brian Stevens为谷歌带来了企业业务经验。在2014年加入谷歌之前,Brian Stevens从2001年开始在Red Hat担任执行副总裁和首席技术官长达14年。

  Snapchat是谷歌云服务的大客户之一,在没有雇佣运营团队的情况下已经达到了1亿用户。Diane Greene表示,"该公司工程副总裁说,'只有我和另一名伙伴',但是我们做到了,规模实现了扩大。"

  Brian Stevens说,"我们认为,让开发者们仅专注于代码上是重要的。(但是)他们现在在跟客户打交道,并且在解决业务问题",而不是在数据中心进行服务器设置。

  作为谷歌云管理工具的一部分,谷歌在本周公布了Google Stackdriver的beta版,这是一项用于监控、报警和可视化云部署的服务。由于意识到了很多公司在同时使用多个云服务,Stackdriver同时支持谷歌云平台(Google Cloud Platform)和亚马逊云服务(Amazon Web Services,AWS)。谷歌在2014年收购了Stackdriver。

  下一步,谷歌计划为本地技术整合对虚拟机的支持。

  谷歌尚未决定是否为Stackdriver提供Microsoft Azure支持,Brian Stevens说。谷歌客户的典型工作负载一直是在亚马逊和AWS上。


Read full article from 谷歌放狠话:全力拼杀企业云服务市场 - OFweek光通讯网


放弃了数百倍于盖茨财富的科学家 - 幽灵雾的专栏 - 博客频道 - CSDN.NET



放弃了数百倍于盖茨财富的科学家 - 幽灵雾的专栏 - 博客频道 - CSDN.NET

        发明了WWW技术的蒂姆,在当时,已经成为炙手可热的风云人物。如果当时创办公司,并通过他的WWW专利进行推广运营,那他所能获得的利润,将是后起之秀乔布斯的苹果、比尔盖茨的微软所不能匹敌的。
        但蒂姆,却并不象大多数人都认为的那样,去通过科技使自己暴富。和其它科学发明一样,环球网(WWW)确实是公认的通向致富的捷径。然而,蒂姆在这巨大的诱惑面前,作出了一个惊人的决定:无偿将这项技术公开于世,将专利贡献给全人类。这一举动,震惊了当时,也影响了后世。理由很简单:"蒂姆,他是一名科学家"。
        是不是蒂姆没有看到WWW的价值呢?其实早在1992年,也就是著名的网景公司的马克·安德森发明的浏览器尚未问市之前,蒂姆和他的研究伙伴曾向欧洲权威的律师咨询,考虑开放"网软"公司(Websoft)销售网络浏览器软件,但他最后放弃了这个决定。因为蒂姆当时预见到一旦他的浏览/编辑器问世,势必引起网络软件大战,使国际互联网陷入割据分裂,为了他所钟爱的WWW事业,他决定在WWW的百家争鸣中扮演一个技术直辖市的角色,而不是角逐财富的商人。
        90年代以来国际互联网的发展正如蒂姆所预见的,网景与微软的浏览器之争,被称为万维网第一商战,快速膨胀的网络已有瘫痪之虞。为此在1994年,蒂姆创建了非赢利性的万维网联盟W3C(World Wide Web Consortium),邀集Microsoft、 Netscape、 Sun、Apple、IBM 等共155家互联网上的著名公司,致力达到WWW技术标准化的协议,并进一步推动Web技术的发展。由于蒂姆的坚持,维护了互联网的对等性,让它保有了最起码的秩序。
        当1996年底美国《研究和发展杂志》授予蒂姆Scientist of the Year(年度科学家)称号时,蒂姆·伯纳斯·李认为WWW开启信息时代新纪元,不过是"偶然的因缘""水到渠成而已"。回顾过去,蒂姆这位满怀浪漫理想主义的科学家,以谦和的语气说:"Web倒是可以给梦想者一个启示:你能够拥有梦想,而且梦想能够实现!"。的确,Web是蒂姆在紫丁香和实验室之间的梦想,而伟大的国际互联网正是由无数像蒂姆·伯纳斯·李这样的先驱们的无私耕耘下成长起来的。
        2003年,万维网联盟决定所有由联盟提出的技术都是无偿的,所有人都可以简单地使用。与那些依托互联网一夜暴富的人相比,蒂姆仍然坚守在学术研究岗位上,那种视富贵如浮云的胸襟,真正表现了一个献身科学的学者风度

        当孤独的奥林匹克聚光灯,照耀在这位朴实的科学家身上时,伴随着简单的音乐,全世界所有的人在为他的伟大而敬畏。不是因为他的发明了万维网这一改变人类的技术,而是能够在键盘上轻松的敲出"This is for Everyone"的气魄


Read full article from 放弃了数百倍于盖茨财富的科学家 - 幽灵雾的专栏 - 博客频道 - CSDN.NET


Top 5 Apps That Will Help Maximize Your Android Phone - Android Community



Top 5 Apps That Will Help Maximize Your Android Phone - Android Community

Views: 7578 The whole Android community will definitely agree that Android as a platform is one of the best things that happened to the mobile industry. Google did the right thing of acquiring Android Inc. It's open source so it's highly customizable, resulting to other mod firmwares like CyanogenMod. We've seen numerous versions already starting from Cupcake to Donut, Eclair, Froyo, Gingerbread, Honeycomb, Ice Cream Sandwich, Jelly Bean, KitKat, Lollipop, and the latest Marshmallow--all sugary treats. Android currently dominates global market share capturing more than 80% of the smartphone industry. Numbers may vary in different regions and countries but no doubt Android remains to be the King of the Smartphone Game. With about 1.6 million apps available on the Google Play Store, it can be difficult to choose only a few that will make our lives, both offline and online, easier. While games and media streaming apps entertain,

Read full article from Top 5 Apps That Will Help Maximize Your Android Phone - Android Community


网站要留住用户,先解决这7个因素 | 人人都是产品经理



网站要留住用户,先解决这7个因素 | 人人都是产品经理

2、访问速度缓慢

谁也不会花1分钟去等待不确定的事,网站访问速度是影响用户体验的致命点。所以不管怎样要确保网站访问速度的质量。提升网站访问速度的因素有很多,比如说网站服务器质量问题,网站图片的运用不符合规范或是没有进行压缩,网站代码没有进行优化等等。

3、广告和弹窗

关了又弹,再关再弹,这种永无止境的弹窗真是令人厌恶至极,这种是对用户及其不好的广告形式。小编在这说明:广告可以设,麻烦不要用弹窗好嘛,让用户安安静静的阅读。用户感兴趣自然会去注册或购买;就像商店的售货员一样,死缠烂打是没有用的,反而会逼走用户。

4、自动播放

我觉得这是一种非常low设计形式,打开网站突然天道乱起八兆的声音,不仅仅会吓到用户还会逼走用户,这那里是在引导客户呀,分明就是驱赶用户的另一种形式罢了。你要设置视频、背景音乐可以,给予用户一个选择权,尊重用户选择的设计才会得到用户的青睐。

5、网站颜色搭配过于耀眼

网页界面颜色的搭配给用户视觉上的冲击力极强,网站颜色搭配太过耀眼往往会让眼睛感觉疲倦,网站颜色运用太过于杂乱,会把整个页面展示的很脏而且很不专业,网站没有主色,就没有引导性,只会带给用户眼花缭乱的感觉。 建议网站中颜色的运用一定要协调,一要满足网站色彩搭配要符合网站整体的品牌形象。二是网站用色不要超过3中色彩,主色要分明。三对于望着那颜色的对比度、明暗等要选择最佳的度数,网站界面要呈现良好的阅读环境。

6、糟糕的导航设计

若果导航太过糟糕或是太过讲究创意的话,让用户进入网站后任旧摸不着头脑,我只能说你的网站是失败的。导航栏起着引导用户浏览网站的作用,不能好好的引导客户,再怎么精美的导航也是垃圾。

7、没有建立web移动端

在如今移动互联网盛行的时代,没有建立移动端终究是一个最大的缺陷。据数据统计,未来用户拿手机常看信息的频率会大大超过PC端,若你的网站还是需要通过手动来调节屏幕大小的话,最终的结果只会是被用户抛弃。在这小编建议网站采用自适应式布局,配合各种不同配置的浏览设备,符合当下用户的浏览情况。


Read full article from 网站要留住用户,先解决这7个因素 | 人人都是产品经理


Democrats See Gains as Donald Trump Targets a Wife - NYTimes.com



Democrats See Gains as Donald Trump Targets a Wife - NYTimes.com

SHARE Zach Gibson / The New York Times By AMY CHOZICK and TRIP GABRIEL March 25, 2016 Senator Ted Cruz may have urged Donald J. Trump to leave his wife, Heidi, "the hell alone," but there is one group that is quietly hoping Mr. Trump's attacks on his rival's spouse and other women will continue indefinitely: Democrats. As Hillary Clinton turns her attention to a general election campaign, Mr. Trump's nasty skirmish with Mr. Cruz, including his warning to "spill the beans" about Mrs. Cruz, without offering specifics, and his reposting of a message that mocked her looks, have played into a crucial Democratic strategy to defeat Mr. Trump in November: to portray him as an unabashed sexist. Mrs. Clinton's allies hope to sway suburban and independent women, who will play an outsize role in deciding the fall election, to support her candidacy by pushing this theme. These Democrats say the matchup would be historic:

Read full article from Democrats See Gains as Donald Trump Targets a Wife - NYTimes.com


Publisher Roundtable Analysis: Blog Monetization Tactics By Size of Site - sovrn



Publisher Roundtable Analysis: Blog Monetization Tactics By Size of Site - sovrn

Small Publishers Tend To Focus On Social Sharing

One of the more daunting tasks of a new publisher is bringing in new traffic. You may know how we love to talk about engagement but traffic is just as important when you are starting out. When we asked publishers what monetization tactics they prioritized, the smaller sites (<10,000 monthly uniques) that were controlled by a single person mostly answered Social Sharing and Affiliate content.


Read full article from Publisher Roundtable Analysis: Blog Monetization Tactics By Size of Site - sovrn


每个程序员都应该成为架构师 �C 码农网



每个程序员都应该成为架构师 �C 码农网

下面来看程序员/软件工程师与架构师之间的区别所在:

  • 关注范围:程序员专注于具体细节,而架构师专注于"宏观视角"。
  •  领导关系:程序员处于被领导地位,架构师则扮演领导角色。
  • 资历背景:架构师的从业时间一般比程序员更长。
  • 气质特性:架构师是重要的梦想家,而程序员则是面向繁琐任务的实干者。
  • 技术取向:架构师做出选择,而程序员提供选项。
  • 技能:架构师的技能水平高于程序员。
  • 代码:架构师需要编写之代码平均少于开发人员。
  • 组织互动:架构师所参与之"业务"会议数量远多于程序员。
  • 薪酬:架构师薪酬水平高于程序员。
  • 自身价值:架构师的价值要高于程序员。

Read full article from 每个程序员都应该成为架构师 �C 码农网


钱说了算:Linux基金会注资R语言 - NetSmell



钱说了算:Linux基金会注资R语言 - NetSmell

由于手握一笔20万美元的专项资金,Linux基金会启动了几个项目,促进R这门数学和统计语言的发展。

Linux基金会支持的R联盟(R Consortium)是为了支持以数学和统计为中心的R语言而设立的,该组织很快就会把资金落到实处。

该联盟在大力支持几个新项目,这些项目旨在促进这门语言、实施以及围绕它的开发文化。除了为R定义标准和实践后,这还包括资助该联盟认为将促进社区发展的与R有关的项目。


Read full article from 钱说了算:Linux基金会注资R语言 - NetSmell


Netflix API优化之路 | Silent River



Netflix API优化之路 | Silent River

美国在线视频商Netflix近些年引领着技术潮流,尤其是他们的一系列开源框架Netflix OSS,被整合入Spring Cloud成为新一代开源解决方案Pivotal的分布式系统开发框架。Netflix也是最早成功采用Microservice架构的公司之一,他们的架构演进来自于API平台部门(Netflix API Platform)的不断优化;这篇文章根据Netflix的技术博客,来讲一讲这段演进过程。

与许多互联网应用一样,Netflix采用了面向接口或服务的架构分离了界面层与数据层,API逐渐发展为了整个Netflix最核心的系统。2010年以后,Netflix的在线用户不断攀升,在2011年初已达到了200亿日请求量;通过架构评估,很明显,2008年的设计已经不再合适,Netflix需要一套新的API来适应他们的未来。


Read full article from Netflix API优化之路 | Silent River


我的编程生涯里启发我的15本书



我的编程生涯里启发我的15本书

从几百本书中整理出一份书单是一件困难的事,但是从这些书中挑选出对自己影响比较大的书确是一件容易的事。

在是一份迟来的书单,但是并不是一份适用于每个人的书单。这是我在学习编程过程中看的一些书,启发到我的书,有很多你可能没有听过,也有很多可能是你耳熟能详的。之所以说是启发是因为很多说并没有那么好,但是我从上面获取到了一些灵感。

高中时期

高中时期,因为想开发游戏的热情才深入计算机世界。并且高中也是一个相当无聊的时期,除了为高考准备的考试,还有就是上课


Read full article from 我的编程生涯里启发我的15本书


Wrestling With Inclusion at LambdaConf - DZone Agile



Wrestling With Inclusion at LambdaConf - DZone Agile

Wrestling With Inclusion at LambdaConf One of the organizers of LambdaConf makes an open and transparent statement on the recent controversy around a speaker. by Like (2) Comment (0) The Agile Zone is brought to you in partnership with DZone Software . Build your own privately managed community , like Stack Overflow, for your team with AnswerHub, a DZone Software product.  Last year, StrangeLoop rescinded an invitation to a speaker because of the controversy that erupted (nay, exploded) when his talk was announced. The controversy had nothing to do with the talk, which by all accounts was a great fit for the eclectic topics served up every year by the conference. Rather, the controversy surrounded the speaker's political views, which were penned under a pseudonym years prior. I learned about all this quite recently, and for a very unexpected reason: the same speaker submitted a talk to LambdaConf. The gender- and person-anonymized talk was endorsed by the review committee,

Read full article from Wrestling With Inclusion at LambdaConf - DZone Agile


不想成为优秀CTO的三点必备素质 - 51CTO.COM



不想成为优秀CTO的三点必备素质 - 51CTO.COM

韩亮 北京掌上通科技有限公司CTO

韩亮是一位已经在创业公司打拼了两年的CTO。在和他聊天的时候,我清楚地感受到一谈及自己的技术能力,他憨厚的脸庞就会绽开自信、骄傲的微信。但韩亮还是告诉我,作为CTO,要忘记自己是一位技术专家,要知道如何将团队的生产力最大程度地激发出来。

明确地知道目前团队成员各自的能力以及你能调配的资源,一定远远比凡事亲力亲力的效果好。但韩亮坦言,在带团队的过程中,他也有许多绕不去的坎儿,很多时候恨不得亲自上手做。明明看着大家每天都在忙,却看不出什么明显的工作效率。

不愿在沟通上浪费时间

李德晨 砾石网技术总监

李德晨留给记者印象最深刻的是他在签到的时候告诉工作人员,是爱人为他报的名。他和记者聊到,他已经是"CTO训练营"的老朋友了,从第一期他就一直参加。作为逐步走上管理岗位的技术人,李德晨从前不太擅于和人交流,他认为和代码沟通容易,还打趣到也许是在生活中也感受到他的这个性格特点,爱人才积极为他报名,继续参加训练营的活动。

李德晨说,在管理团队的工作中,由于沟通不畅真的会引发许多问题,不仅会影响工作情绪,还会拖慢产品研发的效率,影响问题的界定等等。而且,团队成员间的默契很难信息不畅通的环境下建立,这非常不利于团队文化的形成。

热衷用技术思维解决问题

张矗 蚂蜂窝旅行网技术副总裁

张矗作为一个在产品相对成熟的创业公司任职的技术副总裁,向记者描述了他希望中CTO的样子。他提到,作为一名管理者,CTO一定要打破惯用技术思维解决问题的定式,站在管理者的角度,以更宏观的视角看待团队发展。不仅要把自己主要的时间和精力放到业务和管理上来,也不能放松在技术方面的关注和敏感度。二者如何兼顾,确实是一个很大的课题。

张矗告诉记者,他这次参加"CTO训练营",在学习各位演讲嘉宾分享的宝贵经验之外,更重要的是想多认识些朋友,在和业界同行交流、沟通的过程中取人之长,补己之短。


Read full article from 不想成为优秀CTO的三点必备素质 - 51CTO.COM


从「节省内存」到「拯救拖延症」:7 款实用 Chrome 扩展推荐 - 少数派



从「节省内存」到「拯救拖延症」:7 款实用 Chrome 扩展推荐 - 少数派


Read full article from 从「节省内存」到「拯救拖延症」:7 款实用 Chrome 扩展推荐 - 少数派


java - How to show full stack trace on eclipse? - Stack Overflow



java - How to show full stack trace on eclipse? - Stack Overflow

You have the entire stack.

This is only part of a stack trace. Directly before this was another piece. Look at the bottom lines of this one, and the top lines of the previous one. You'll see them match up. The stack trace began with a section that doesn't begin with "Caused by".

The "Caused by" exception is hiding parts of the stack trace that are verbatim copies of stack trace entries in its parent. In other words, Java doesn't show the entire stack up to main() for every cause - it just shows what you haven't seen already. See the Throwable.printStackTrace() documentation.

The "Caused by" is filled when you provide a cause when creating a Throwable. Look at the constructors for it. This is done when a piece of code catches a low-level exception and then wants to rethrow it as a different exception class.


Read full article from java - How to show full stack trace on eclipse? - Stack Overflow


Google is building a better Android camera that can search what it sees - SlashGear



Google is building a better Android camera that can search what it sees - SlashGear

Integration of Google's "Visual Search" and the standard Android camera app may not be far off. You can download Google Goggles on its own - searching for images and their sources using your camera. You can also download the company's own "Google Camera" - the same as you'd find on a Nexus device. That may soon change. You may soon be able to search any item you can see with your camera on your Android device right out of the box. Today we're to understand - from an anonymous source, as it were - that Google may soon be releasing a new camera feature they've had in testing for some time. This feature would allow the user to use their standard Google Camera app to search for information based on what they're able to see - but more than that. The image above comes from the anonymous source as the rest of the information regarding camera features in this article. This newest integration of the tech would allow the user to outline the object they want to capture with their finger.

Read full article from Google is building a better Android camera that can search what it sees - SlashGear


你不得不看的我的实习总结 | 田腾飞的博客,为梦想而奋斗



你不得不看的我的实习总结 | 田腾飞的博客,为梦想而奋斗

接下在的更新下载模块的接入讨论又让我明白许多,谁依赖谁,谁要调用谁,又怎么去调用,这些东西都需要明白,既然要把模块分开就不能像以前把所有东西写在一个模块中的方法,刚开始我确实不知道怎么设计,最后我突然明白,那就是调用模块的接口,返回需要的值,每个模块肯定要有自己暴露的接口,这些接口就是模块与模块之间合作的桥梁。每次和晟哥讨论,他从来不给我说最终答案,每次都说你要这样,你该怎么做,为什么要这样做,我刚开始很难回答,最终经过引导和讨论还是找到了答案,这个过程确实能让你明白很多,为什么要这么做!

下载模块

确定好的方案接下来就开始写更新下载模块,写这个模块就是在晟哥写的资源管理SDK上加上一个patch的更新下载解压模块,既然要在原有的库中添加模块,那么就要看懂这个资源管理SDK做了什么,结构又是怎么样,看懂了库才能知道怎样往里面添加自己的东西。看了一天多,晟哥也介绍了一遍,感觉差不多了,就着手写。写的过程就是仿着写,经过两三天写的差不多,测试数据不行,然后就跑过去问晟哥,发现是我自己代码写的问题,人家解析的是数组,我返回的是字典,能解析才怪。后来我改成字典也不行,我就一层一层深入代码找解析代码,真心是一层一层又一层,终于找到了解析代码,才知道自己返回的数据没有加返回的状态码等其他数据,这一点其实在公司规定的接口文档中有说明。

写的过程中我对这个资源管理SDK理解越来越深,添加一些自己需要的功能也越来越顺手, 果然看三天不如写一天啊,期间我也问了一些白痴的问题,都是因为没有好好看懂代码,晟哥跟我说:"以后问问题,自己先把代码研究透了,哪里出的错,为什么出错,解决不了再去问他,不要有个问题就去问,浪费我们两个的工作时间"。所以现在我遇到了问题,再不轻易问别人,其实大部分都可以自己解决的,只是自己没有去研究,没有用心去找这个错。

模块整合

终于在努力下写好了patch部分的功能,中间有些问题跟晟哥讨论,发现我想到的办法都不是太好,可能还是经验少吧,敲的代码还不够。最终终于把使用模块和更新下载模块结合起来了,经过不断的调试,代码也在一步一步完善。

项目写的差不多,我把整个资源管理SDK分析了一下,画了一个类图,搞明白每一个类负责不同的功能,父类与子类的层级关系等,感觉这样也会对我将来代码的设计有一定的帮助。


Read full article from 你不得不看的我的实习总结 | 田腾飞的博客,为梦想而奋斗


每周一荐:学习ACE一定要看的书



每周一荐:学习ACE一定要看的书

近两个月都在学习ACE,一个超级强大,也超级复杂的网络框架库。对ACE的大名早有听说,同时也听说过它的复杂性,所以一直不敢去碰它。ACE对程序员的要求是比较高的了,需要对C++、设计模式、POSA、网络、并发等有一定的了解后,才能去碰它。不然真的是一头扎进茫茫大海,越看越复杂,直到消磨完所有对ACE的热情。


Read full article from 每周一荐:学习ACE一定要看的书


每周回顾:代码移植没那么简单



每周回顾:代码移植没那么简单

  • 学习:略读了一遍《Head First数据分析》。

    本书简单介绍了一些数据分析的思路和方法,内容比较浅显,适合刚接触数据分析的同学阅读。

  • 学习:略读了几篇论文。

    《Empirical Analysis of User Data in Game Software Development》 -关于游戏软件开发玩家数据的经验分析的。
    《A Data Mining Approach to Strategy Prediction》- RTS游戏策略识别和预测的。
    《Analysis of revisitations in online games》- 在线游戏回访分析,来提高设计和改善用户体验。


  • Read full article from 每周回顾:代码移植没那么简单


    每周回顾:代码移植没那么简单



    每周回顾:代码移植没那么简单

  • 工作:优化数据解析脚本。

    都是些小改动,麻烦在于开发机器和外网是隔离的,转来转去非常麻烦。

  • 学习:略读了一遍《Head First数据分析》。

    本书简单介绍了一些数据分析的思路和方法,内容比较浅显,适合刚接触数据分析的同学阅读。

  • 学习:略读了几篇论文。

    《Empirical Analysis of User Data in Game Software Development》 -关于游戏软件开发玩家数据的经验分析的。
    《A Data Mining Approach to Strategy Prediction》- RTS游戏策略识别和预测的。
    《Analysis of revisitations in online games》- 在线游戏回访分析,来提高设计和改善用户体验。

  • 学习:工具docear的用法。


  • Read full article from 每周回顾:代码移植没那么简单


    Best Google Cardboard rivals: Which cheap VR headset should you buy? - Pocket-lint



    Best Google Cardboard rivals: Which cheap VR headset should you buy? - Pocket-lint

    There's three things you should consider before buying a Cardboard-like viewer: price, materials, and the size of your phone.

    Price: The cheapest headsets, which cost the same as Google Cardboard, are the Goggle Tech C1-Glass, V2, UC 2.0, and Homido Mini, while the most expensive headsets are the VR One Gx and SmartVR. There are of course a handful in the middle-price range, including the View-Master, Knox V2, Powis Viewr, P2, Pop 2.0, and Dscvr. We'd recommend sticking to the low-to-mid range if this is your first go-around with VR.

    Materials: The Knox V2, Powis Viewr, P2, and Pop! 2.0 are all made from cardboard, so if you're looking to get a near-exact experience to Cardboard, these viewers are your best bet. If you want to go a step up and take the plastic route, consider the View-Master VR and Dscvr. The View-Master VR is a modern take on the classic toy that Mattel made for years, so this option might be especially ideal for kids.

    Phone size: Choose a viewer that fits your phone's screen size. Most Cardboard apps work with Android 4.1+ and the latest iOS smartphones. From what we can see, Dscvr works with phones ranging from 4 to 7 inches, while Mattel's offering only works with phones from 5 to 5.99 inches however, so be sure to check each viewer's website for more details and specifications.


    Read full article from Best Google Cardboard rivals: Which cheap VR headset should you buy? - Pocket-lint


    小朋友不要点! 最强成人网站提供免费VR小视频 - NetSmell



    小朋友不要点! 最强成人网站提供免费VR小视频 - NetSmell

    作为全球知名成人网站,Pornhub在色情内容方面一直走在世界的前列,它们宣布和成人娱乐内容提供商BaDoinkVR达成合作,现在在Pornhub网站上已经正式推出了VR形式的小视频,而且这个VR版块还是免费观看。


    Read full article from 小朋友不要点! 最强成人网站提供免费VR小视频 - NetSmell


    真人真事:在苹果工作是一种什么样的体验? - NetSmell



    真人真事:在苹果工作是一种什么样的体验? - NetSmell

    我们经常听到有人问"在谷歌上班是一种什么样的体验"、"在 Facebook 上班是一种什么样的体验",当然,同样有很多人问"在Apple公司上班是一种什么样的体验"。这个问题,只有在Apple公司上班的员工出来现身说法才有说服力。所以,我们采集了许多Apple公司员工的回答,让大家通过这个窗口看看在Apple公司上班的样子,了解Apple公司公司的企业文化。


    Read full article from 真人真事:在苹果工作是一种什么样的体验? - NetSmell


    重新敲一遍代码,胜过拷贝粘贴 - NetSmell



    重新敲一遍代码,胜过拷贝粘贴 - NetSmell

    如今这个时代,Google 和 Stack Overflow 已经成为了很多开发者不可或缺的工具。但是最近,后者貌似名声坏了。一方面,是因为表面上特别、有时候会偏离适度的原则。说得更中肯些,取笑别人是「十足的 Stack Overflow 式的开发者」的现象,明显增多了。

    说简单点儿,有些人在 Stack Overflow 上扔代码、还大肆拷贝、粘贴回答里的代码示例,他们最应该得到这个称号。他们干起活来可能相当麻利,但是对于他们所面对的问题、以及他们乐于使用的解决方案,缺乏应有的理解。

    当然,代码的拷贝粘贴不应该都被鄙视。我敢肯定,大部分阅读本文的读者(当然包括写本文的我!)耻于把 Stack Overflow 上的代码片段、原封不动地拷贝到他们自己的代码库里。那又能怎样呢,人家的代码为什么要这样写,我们或许根本没有兴趣去了解。从本质上讲,不是每一项技术都让人着迷,毕竟,deadline 有时过于急迫。

    但是,果真如此的话,是不是意味着,我们渐渐就变成了十足的 Stack Overflow 式的开发者?对头!我们肯定不希望走到这一步!

    缓解对策

    每当你想把 Stack Overflow 的一段代码拷贝到项目里时,别急着断网,而要考虑下面的技巧。

    不要使用剪贴板。不要拷贝和粘贴。而是把你找到的代码,重新敲一遍。

    是的,这要多花些时间。和你简单地敲击 Ctrl+C/Ctrl+V 相比,这肯定笨拙不堪。或许没有多少意义:如果最终结果是一样的,那么,代码的转移是否通过了剪贴板,又有多大的关系呢?


    Read full article from 重新敲一遍代码,胜过拷贝粘贴 - NetSmell


    How one developer just broke Node, Babel and thousands of projects in 11 lines of JavaScript * The Register



    How one developer just broke Node, Babel and thousands of projects in 11 lines of JavaScript • The Register

    Updated Programmers were left staring at broken builds and failed installations on Tuesday after someone toppled the Jenga tower of JavaScript.

    A couple of hours ago, Azer Koçulu unpublished more than 250 of his modules from NPM, which is a popular package manager used by JavaScript projects to install dependencies.

    Koçulu yanked his source code because, we're told, one of the modules was called Kik and that apparently attracted the attention of lawyers representing the instant-messaging app of the same name.

    According to Koçulu, Kik's briefs told him to rename the module, he refused, so the lawyers went to NPM's admins claiming brand infringement. When NPM took Kik away from the developer, he was furious and unpublished all of his NPM-managed modules. "This situation made me realize that NPM is someone’s private land where corporate is more powerful than the people, and I do open source because Power To The People," Koçulu blogged.


    Read full article from How one developer just broke Node, Babel and thousands of projects in 11 lines of JavaScript • The Register


    The greatest bug I never fixed - The blog of makandra



    The greatest bug I never fixed - The blog of makandra

    Bugs ain't fun. Except when they are. This is the story of the greatest bug I never fixed.

    In an earlier life I wrote addons for World of Warcraft. Aside from being addicted to the game at the time, it was a mindblowing experience for someone obsessed with plugin architectures and the evolution of public APIs. It was also a great excuse to learn Lua, which is a fun language.

    One of the better addons a friend and I built during that period was FriendNet. FriendNet helped to deal with the greatest challenge in the game: Finding people to play with who aren't dicks. The addon took your in-game friend list and shared it with all your friends. In return, they shared their friends with you. As a result the number of people you could trust weren't dicks increased.


    Read full article from The greatest bug I never fixed - The blog of makandra


    Google Makes $150 Photo Software Suite Free - Forbes



    Google Makes $150 Photo Software Suite Free - Forbes

    Formerly available at a cost of $150, the suite of seven professional-grade plugins is now available for download without charge in both Mac and Windows versions. Those who purchased the software in 2016 will receive a full and automatic refund in the next few days, according to Google.


    Read full article from Google Makes $150 Photo Software Suite Free - Forbes


    The Complete Guide to Facebook Ads



    The Complete Guide to Facebook Ads

    No more guesswork. × Learn more about our digital advertising services and publisher tools Company we are sovrn. We exist to foster an ecosystem where independent and influential publishers can thrive. Name Email* Facebook Ads is an incredibly powerful tool. It allows publishers to understand their audiences, push traffic to their websites and increase their email lists. However, Facebook Ads has become a pay-to-play platform. Independent publishers and bloggers now have to pay to receive exposure on Facebook – organic social media is no longer enough. Many publishers are still in the dark when it comes to Facebook Ads. They feel their budgets are too small and that Facebook Ads Manager is too complicated to learn. But with a little know-how, publishers can vastly increase their followings with only a few Facebook Ads. This guide covers the following:

    Read full article from The Complete Guide to Facebook Ads


    WTF is header bidding? - Digiday



    WTF is header bidding? - Digiday

    Digital advertising, despite the massive industry built to streamline it, is still plagued by inefficiency and fragmentation. Programmatic selling may mean automation in theory, but it still requires plenty of behind-the-scenes work to connect the buyers to the sellers. Born out of this reality are techniques such as header bidding, one of the many ways publishers are trying to eke more revenue out of their ad inventory. While the idea has been around for a while, adoption is gaining steam as more ad tech companies create products around it and publishers are looking for more ways to make cash. WTF is header bidding? Header bidding, also known as advance bidding or pre-bidding, is an advanced programmatic technique wherein publishers offer inventory to multiple ad exchanges simultaneously before making calls to their ad servers (mostly DoubleClick for Publishers). The idea is that by letting multiple demand sources bid on the same inventory at the same time,

    Read full article from WTF is header bidding? - Digiday


    Why Do Header Bidders Make More Money Than Waterfalls?



    Why Do Header Bidders Make More Money Than Waterfalls?

    No more guesswork. × Learn more about our digital advertising services and publisher tools Company we are sovrn. We exist to foster an ecosystem where independent and influential publishers can thrive. Name Email* Video: Why Do Header Bidders Make More Money Than Waterfalls? For this #asksovrn, we wanted to explain how publishers can make more money with header bidding than with a traditional waterfall. This video covers: how a traditional waterfall works An breakdown of how header bidding allows exchanges to compete laterally, while in waterfalls exchanges compete sequentially The optimal number of header bidding partners we recommend To get started with header bidding, check out headersuite.com or head to meridian to create a sovrn account. And if you have any questions, feel free to contact us on Facebook or Twitter . Related Resources Share this resource Make more money. With over one billion ad requests a day,

    Read full article from Why Do Header Bidders Make More Money Than Waterfalls?


    Ph.D. or Professional Programmer? | Henrik Warne's blog



    Ph.D. or Professional Programmer? | Henrik Warne's blog

    Narrow problems vs. broad problems. A researcher typically studies a very narrow problem. For example: what is the optimal congestion control strategy given a certain arrival distribution and goodness criteria? While these are important to study and understand, I am more interested in the broad problem of "what makes software successful". In the telephone switch example, it must perform acceptably well in many dimensions in order to be successful. It must have enough capacity, it must not crash, it must be easily configurable, it must be easy to trouble shoot etc. Congestion control is one part of many, but a rudimentary solution is probably good enough.

    I realized that I enjoy the challenge of working on large software system that must work acceptably in every dimension, rather than studying a very narrow problem in detail.

    Thrill of having users. I only discovered the importance of having users once I started the Ph.D. program. Doing research on a problem of my own choosing, without anybody eagerly awaiting the result really paled compared to the excitement of working on a system with lots of users. The features I added and bugs I fixed had an immediate impact on lots of people, and I really missed that feeling.

    Value of options. Since I had worked in industry before starting the Ph.D. program, I knew what the alternative was. My sense is that most people who do a Ph.D. do it immediately after getting their M.Sc. This means they don't know what it is like working in the non-academic world. In most cases that probably doesn't matter, but sometimes it is important to know what you are missing.

    Conclusion


    Read full article from Ph.D. or Professional Programmer? | Henrik Warne's blog


    从程序员到CTO所要培养的六种能力 丨 伊成Blog



    从程序员到CTO所要培养的六种能力 丨 伊成Blog

      1.领导能力
      我从小就不喜欢听领导讲话,觉得实在是太沉闷太无聊,内容空洞,词汇老套,而且每一次都差不多,有时实在无可奈何不得不听,也只有海阔天空浮想连篇,要不就想方设法溜之大吉,你或许已明白,我讲的是传统的中国式领导,假如我是一个XX机构里的公务员,我就不敢在这里胡乱放肆,我怕被双规啊!
      所幸,偶是个程序员偶谁都不怕,偶认为IT行业的领导是不能象前面所说的这种风格的,我们需要做事干练果断,思维敏捷灵活,讲话具有鼓舞性与说服力,否则会被程序员们鄙视死了,偶就一直觉得自已没什么领导能力,所以目前还在努力学习之中,小编认为很少有人会是天生的领导者,大部分人的领导能力都是后天训练的,因此我们需要充分运用各种书籍、课程、关系和经验来提高自已的领导能力!
      2.技术能力
      作为CTO,技术能力是很重要的,因为你的下属大多也是技术能力较强的员工,你如果连技术都是马马虎虎的,那么你如何去评估一个子系统或一个模块的工作难度以及开发周期,你如何帮助员工解决技术难题,你如何赢得员工们的信任?阿蒙认为一个CTO最好是有过多年项目开发与管理经验,对各种项目设计与管理工具能熟练使用,熟悉主流的开发技术,并能对最新的技术进行了解与评估。
      偶年轻的时候曾有一些日子很不幸,BOSS很搞笑,总觉得我们程序员不懂管理,于是派了一个行政出身的老革命来负责开发部的管理工作,老革命刚开始时激情澎湃信心十足,老子什么BIRDS什么风浪没见过啊,管你们这群毛头小伙太EASY了,谁知没管几个月,程序员都要走光了,老革命的头发也快掉光了,对于技术他什么都不懂,开会时不了解我们正在讨论的东东,更谈不上提出什么建议与方案了,于是他总是责怪我们,矛盾不断加剧,后果就可想而知了。
      举这么一个例子,是想强调一下技术能力对于一个CTO的重要性,或许我的观点是偏面的,可能与偶的孤陋寡闻有关,因为能力有限,这些年偶都是混于中小型企业,偶认真地观察了几年,觉得中小型IT企业没有多大必要聘请一个专业职业经理人之类来管理技术,效果往往更差,还不如从本公司培养一些技术能力较强的员工,让他们成长起来,然后统管技术大局。
      3.沟通能力
      沟通能力在我们这个行业似乎是一个讨论的热点,我看到许多的前辈也喜欢一起凑热闹。可能是因为我们的程序员们大多都是性格内向的,小编当年也是一个非常SHY的BOY,现在稍微好一些了,可能是岁月的无情摧残吧。但作为CTO,就不能太SHY了,因为我们需要经常性地与BOSS、别的部门、最终用户和IT员工进行沟通,不同的沟通对象还要有不同的沟通态度,那么,我们如何提高沟通能力?两个办法:(1)练习、练习、再练习;(2)观察善于沟通的人,然后模仿他们所用的方法。
      4.规划能力
      求伯伯的《金山词霸》对"规划"一词是这样解释的:计划,尤指比较全面的长远的发展计划。作为CTO,需要对公司的技术发展以及研发工作做一个比较全面的长远的计划。大的IT公司,应都有一个专门的技术规划部门,但对于中小型的企业,往往都是CTO在做这方面的工作,因此我们需要经常性地作战略性的思考,有时间的时候多阅读一些商业和技术刊物,它们有可能对我们的规划思路有一定的帮助与借鉴。
      5.外交能力
      既然都当了CTO了,那就有更多的机会与客户、合作伙伴等等进行接触,优秀的外交能力有助于工作的顺利进行,也会给对方留下一个好的印象,因此我们要学会从别人的角度想问题,有时间时多阅读销售和谈判方面的BOOKS,同时要多创造机会,走出办公室,与别人进行接触。
      6.财务能力
      或许你会问:偶是CTO,又不是会计!对于某一个项目,财务成本的控制是非常重要的,这关系到是否有利润的问题,有些事情是不能寄希望于财务部门帮你解决的,因此基本的财务知识我们需要具备,何况,你去看看,MBA的课程设计里都会有财会知识这一部分。

    好了,就说这些吧,这都是小编(DF)这些年做程序员以来总结的经验吧,希望能给上嵌的同学们带来帮助吧,相信自己,你总有一天会是CTO !


    Read full article from 从程序员到CTO所要培养的六种能力 丨 伊成Blog


    我为什么想并且要学习 Scala >> Topics >> 中国软件匠艺小组



    我为什么想并且要学习 Scala » Topics » 中国软件匠艺小组

    说了那么多,我的根本目的还是要将Scala作为实现DDD的主要武器。那么试想一下,Scala在我们实现DDD的过程中能有哪些帮助呢?我暂且胡侃乱诌如下:

    • 表示值对象、领域事件等元素更直观。值对象、领域事件在DDD里都应该是immutable的,以往多采取POCO形式表示,现在改用Scala里的val以及case class表示,在语法层面就直观地表明是不可修改的。
    • 在类的方法层面实现CQRS时有语法支持。用Scala里的Function(返回类型为非Unit)对应CQRS里的Query,保证类的方法没有副作用;用Procedure(返回类型为Unit)对应CQRS里的Command,明确表明这一类方法会产生修改状态等副作用。这同样从语法层面就能对二者进行明确区分。
    • 模式匹配丰富了函数操作。除了正则表达式,Scala形式多样的模式匹配语法,为提取数据、完成数据分组聚合等运算、实现逻辑判断提供了强大支持。比如定义def sum_count(ints:Seq[Int) = (ints.sum, ints.size)这样一个函数后,我们可以这样调用,以得到一个1至6的整数序列的整数值合计,及该序列的尺寸: val(sum, count) = sum_count(List(1, 2, 3, 4, 5, 6))
    • 为实现DSL提供有力支持。Scala自带有解析框架,加上灵活的函数语法支持,要自己实现一套DSL及其相应的语法解析器将不再困难。比如在配置文件里这样的一条配置语句,表示退休条件为年龄达到60周岁或者工龄届满30年:retire = (Age >= 60) || (ServiceLength >= 30)。以往的方式是自己写一个语法解析器,把这条文本转换成相应的Specification对象,然后扔给聚合去使用。现在有了Scala的帮助,就使编写语法解析器这一环节的工作量大大减少。
    • 合理的高阶函数设计,使规则编写得到简化。比如打折规则、费用报销规则,以往可能需要若干层的if-else嵌套,现在则将通过高阶函数得到大幅简化。对此,我强烈推荐刘光聪先生的视频Refactoring to Functions,你会在刘先生的重构过程中发现高阶函数的强大。
    • Actor为高效并发打下基础。Actor内部完全自治,自带用于存储消息的mailbox,与其他Actor只能通过消息进行交互,每个Actor都是并发的一个基本单位。这些特点,非常适合于采取Event Sourcing方式实现的DDD。每个聚合都好比一个Actor,在聚合内部始终保持数据的强一致性,而在聚合之间交互的领域事件则好比Actor之间的消息,聚合之间借由领域事件和Saga保证数据的最终一致性。
    • Trait成为AOP利器。Trait是Scala的另一大特色,它就象AOP织入一样,能动态地给某个类型注入方法或者结构。比如配合类Circuit和with后面那4个Trait的定义,val circuit = new Circuit with Adders with Multiplexers with Flipflops with MultiCoreProcessors这样就创建了一个带有加法器、乘法器、触发器和多核处理器的元件。
    • 隐式实现为类型扩展提供支持。对应C#里的静态扩展方法,Scala通过implicit为实现数据类型的方法扩展提供了便捷,成为Trait之外的另一个功能扩展手段。
    • 能降低常见BDD框架的学习成本。尽管这一点可能比较牵强,但我正在努力摸索如何将BDD与DDD结合,而常见的Cucumber、Spock等一些BDD框架,其语法与Scala比较相近,所以我才有如此一说。

    Read full article from 我为什么想并且要学习 Scala » Topics » 中国软件匠艺小组


    Amazon.com: Customer Discussions: Transfer gift card balance



    Amazon.com: Customer Discussions: Transfer gift card balance

    While gift card/gift certificate funds may not be used to purchase a gift card on our site, you're welcome to give your unused gift card to anyone you'd like. As long as they have the claim code, they will be able to redeem it on our site.

    Once a gift card has been redeemed onto an account, it can no longer be transferred to anyone else.

    Read full article from Amazon.com: Customer Discussions: Transfer gift card balance


    Borg, Omega, and Kubernetes - ACM Queue



    Borg, Omega, and Kubernetes - ACM Queue

    Though widespread interest in software containers is a relatively recent phenomenon, at Google we have been managing Linux containers at scale for more than ten years and built three different container-management systems in that time. Each system was heavily influenced by its predecessors, even though they were developed for different reasons. This article describes the lessons we've learned from developing and operating them.

    The first unified container-management system developed at Google was the system we internally call Borg.7 It was built to manage both long-running services and batch jobs, which had previously been handled by two separate systems: Babysitter and the Global Work Queue. The latter's architecture strongly influenced Borg, but was focused on batch jobs; both predated Linux control groups. Borg shares machines between these two types of applications as a way of increasing resource utilization and thereby reducing costs. Such sharing was possible because container support in the Linux kernel was becoming available (indeed, Google contributed much of the container code to the Linux kernel), which enabled better isolation between latency-sensitive user-facing services and CPU-hungry batch processes.


    Read full article from Borg, Omega, and Kubernetes - ACM Queue


    高性能的智能日志



    高性能的智能日志

    当应用在生产过程中,日志通常处于开发周期的次要位置,但实际上高性能的日志可能成为开发团队的重要生命线。在此我们假设读者已熟悉了各种日志框架,如 Log4j 、 SLF4J 等,所以不再详细介绍,本文旨在为「真实」的生产日志提供指南,检测其对应用质量的影响,同时还为大家介绍了一个被遗忘已久的高性能的智能日志技术。


    Read full article from 高性能的智能日志


    图灵社区 : 阅读 : 《算法问题实战策略》作者具宗万:陪你一起设计算法(图灵访谈)



    图灵社区 : 阅读 : 《算法问题实战策略》作者具宗万:陪你一起设计算法(图灵访谈)

    本书最大的特点在于,它详细介绍了其他图书未曾深入探讨的算法构思过程。《算法问题实战策略》尽可能细致地讲解了构建算法过程中必需的感悟和渐进式发展过程,展示了算法应用于解题的实践过程,这有助于读者直观理解算法,培养亲自设计算法或对算法进行变形的能力。

    问:为提升算法技巧,除了要掌握常用的思想(枚举、回溯、递归、二分、动态规划等),以及常用的数据结构(栈、堆、树、图等),还需要在哪些方面进行努力?

    其实每个领域都一样,单靠机械地训练掌握技术是远远不够的。如果想最大限度地提高编程竞赛中的解题能力,需要不断检讨自己的弱势所在,进行更高层次的修炼。我建议各位经常回顾自己之前遇到过的问题,思考那些未能解决的问题需要哪些技巧、付出哪些努力;对于已经解决的问题,需要再想想有没有更简洁的解题方法。

    问:算法题目中经常会出现一些陷阱,您怎样看待这些陷阱?

    确实,有些算法题目会给参赛者带来困扰,也容易让人忽略,但是能把问题中的各种情况全面考虑,是开发人员或电算学家的重要职业素养。


    Read full article from 图灵社区 : 阅读 : 《算法问题实战策略》作者具宗万:陪你一起设计算法(图灵访谈)


    从32岁的一无所有到硅谷首富,他靠谎言和抄袭成就了世界第二大软件公司-虎嗅网



    从32岁的一无所有到硅谷首富,他靠谎言和抄袭成就了世界第二大软件公司-虎嗅网

    开车超速,被交警当场拦下,他就谎称自己是一位医生,急于赶去医院进行一场开颅手术,骗了交警还为其鸣笛开道。


    与许多硅谷传奇有着相似之处,埃里森并没有完成大学学业。事实上,他曾先后三次就读不同的大学,但都没有顺利完成学业、拿到文凭。


    2007年,他受邀到耶鲁大学进行演讲,万万没想到,演讲内容里不仅抨击了场下大学生没有辍学的勇气,还大力宣扬要成功就必须得远离学校。最终,演讲到一半,埃里森就被保安架着拖离现场。


    埃里森的荒诞不只是在他的生活中,包括在处理有关公司的事情上也同样出格。


    甲骨文全球大会是公司一年一度的重要盛会,会有来自全球数百名经理级高管出席。然而,埃里森曾为了能够参加美洲杯帆船比赛,而放所有人鸽子。


    对外,甲骨文与微软之间的竞争一直是社会各界有目共睹的,埃里森也曾扬言"代表全人类向比尔・盖茨开战",还专门雇佣调查组去翻微软公司的垃圾桶。私下里,为了比微软联合创始人保罗・艾伦有更大的游轮,埃里森花了2亿美元购置了更大更豪华的日出号游轮。


    Read full article from 从32岁的一无所有到硅谷首富,他靠谎言和抄袭成就了世界第二大软件公司-虎嗅网


    Google interview(Software engineer) | allenlipeng47



    Google interview(Software engineer) | allenlipeng47

    Jan, 9th. Phone call interview.
    I did the coding in google doc. It was similar to amazon interview. It was just 1 question. I was asked to code within 45 minutes. I was a bit nervous. At the beginning, I didn't fully get the question and rushly coded. Interviewer told me it was not right. So I checked the question again, and made 2nd version. It was quite rush to me. Fortunately, I came up with the solution.

    Feb, 5th. On-site interview.
    Google doesn't has any open questions. All you do is to code, and discuss with technical questions. I have 5 interviews on that day. 3 of them are normal coding question. 1 is Big O discussion. Last one is about coding correction and coding test. I perfectly solved 2 out of 5. With other 3, I couldn't think up the solution at first glance, but still gave out my acceptable solution. Interviewer are very nice.
    At noon, I had great opportunity to lunch with a Googler. He was very nice, and told me his experience in google. I had a great talk with him! I was told Google is such a cool company that many problem could exist only in Google. There are so many talents people out there.


    Read full article from Google interview(Software engineer) | allenlipeng47


    Solidot | Google公布软件网络负载均衡器Maglev



    Solidot | Google公布软件网络负载均衡器Maglev

    Google在NSDI '16会议上公开了它的软件网络负载均衡器Maglev。Maglev是一个运行在Linux服务器上的大型分布式软件系统,不同于传统的硬件网络负载均衡设备,它的部署不需要特定物理机架,可以很方便的通过添加或移除服务器进行调整。Maglev被Google的云计算平台Google Compute Engine使用,不需要预热就能应付每秒100万次请求。它使用 Equal-Cost Multi-Path routing (ECMP)将进入的数据包分散到所有Maglev机器上。

    Read full article from Solidot | Google公布软件网络负载均衡器Maglev


    说说抽奖程序的那些事 - 简书



    说说抽奖程序的那些事 - 简书

    透明度问题

            一个抽奖程序,我们看到的只是程序运行后的结果。但是这个结果怎么产生的我们不知道,说不准还是把结果写死的呢。要解决透明度问题,只能把代码开放让大家审查咯。(说实在的,谁想自己的东西要别人审查啊,这真是别有一番滋味在心头)

    正确性问题

          谁又能保证程序没有问题呢,不多不少总有错误。虽然一个抽奖程序看起来如此简单,然而背后是那么的复杂。例如,我如何随机抽取一位用户呢,如果抽取多位用户如何确保不重复。如何确保抽奖的时候程序在正确运行,如果保证抽取的用户存在呢。

    公平性问题

           程序猿可是一种十分较真的动物,他们会说你的随机数如何确保随机(好吧,你成功了,貌似有一个在线生成随机数的接口,具体我不太清楚),也会说,你是一次性取出所有中奖的人还是一个一个的来。你是抽取后再放回去还是不放回去。。。,反正一堆情况,如何保证公平是一个难度活。


    Read full article from 说说抽奖程序的那些事 - 简书


    为什么程序员要参加开源项目? - 简书



    为什么程序员要参加开源项目? - 简书

    无形中约束自己的代码规范。

    如果说代码是程序员的语言的话,代码规范就是翻译软件。保证程序员之间的正常交流。
    这个。。。有经验的程序员都有这种体会,就是。。。没人愿意去接手别人的代码,也讨厌别人修改自己的代码。其中一个主要的原因就是代码规范的不一致。我们工作的代码一般都是写个自己看的,稍微大一点的公司可能会有代码评审,leader或者其他组员也会看到,但是这也形成不了绝对的压力,因为基数太小了。
    如果是在一个开源项目,你的代码是要给项目里面的几十个人看的,而且相互之间改动代码的几率会非常大,如果你的代码不规范,文档不完善,大家就会跟你讲,说你的代码写的太烂。而且你也会看别人的代码,将心比心你会有同样的感受。另外,如果你有幸参加的是比较大型的项目,说不定有成千上万的new guy fork你们的项目,拿去学习,如果写的太烂,你自己也觉得不好意思吧。


    Read full article from 为什么程序员要参加开源项目? - 简书


    Hadoop ecosystem | allenlipeng47



    Hadoop ecosystem | allenlipeng47

    From hadoop 2.0, yarn is introduced. Yarn is a resource management, similar to JobTracker. On yarn, different calculation model can be implemented. Such as MapReduce, Tez, Storm, Spark. Database like hbase, hive are supported on yarn.
    MapReduce, use Map, Reduce, <Key, Value> to calculate.
    Storm, there is constant input to the calculation model. Once there is new input, the calculation will change. It is a real time calculation model.
    Spark, a memory calculation model
    Tez, a DAG calculation model


    Read full article from Hadoop ecosystem | allenlipeng47


    window.opener only works on server, but not on local machine | allenlipeng47



    window.opener only works on server, but not on local machine | allenlipeng47

    Today, I tried ckeditor function. But the window.opener.CKEDITOR.tools.callFunction always doesn't work. I found out it works in IE, but not in chrome. It's weird. After hours research, I put it in tomcat server, and started tomcat server, it works. So the conclustion is that window.operner only works in server, but not in local machine.


    Read full article from window.opener only works on server, but not on local machine | allenlipeng47


    学习:最终是一个人的修行 - 简书



    学习:最终是一个人的修行 - 简书

    回想当初放弃10K的offer降薪(6K+)选择IBM的心路历程想必很多从事技术的同僚都会和我有这样的同感:500强、大公司、稳定、福利好,更重要的是认为可以接触到最前沿的技术,可以学习到比小公司更专业、更规范的开发流程或者解决方案……一切的一切都坚定了我选择IBM的决心。

    那时的我技术背景出生,拥有1年银行外包项目经验和1年支付产品的开发经验。感觉从一出道开始很多事情要自己琢磨、自己说了算,比如第一个java项目的框架就是我搭建的,没有什么技术牛人可以给我指引,总觉得自己做出来的东西太浅薄、没安全感。IBM的offer让我很兴奋,很激动。可是为什么原来的义无反顾到如今还是告别收场?

    5年过去了,从薪水来看,刚满10K;从技术水平来看,还停留在5年前;管理水平,几乎没有。是不是很惊讶?这段期间很多时候感觉还是自己在摸索,利用之前的工作经验来处理现在碰到的问题。其实牛人是有的,可是不是时时有机会接触,牛人也不会总有时间陪在你身边。我在公司参加过各种不错的培训,主讲的老师都是在我心中有专长的人,比如Big Nerd Ranch公司的Christian Keur。可是不是参加了几次培训,你就掌握了一门开发语言,不是Architect跟你提了一个有建设性的意见就可以立刻变得和Architect一样有经验、一样有见地。很多时候,对知识浅显的了解让不够踏实的很多人变成了一个表演者――只是将听来的似模似样的对他们进行转述,其实并没有经过实践和推敲,看似懂而非真懂。我不想做这样的人,我正在努力修行中。

    或许你会问,接着我将何去何从?是找到了比IBM更加厉害的公司吗?不是,而是选择了一家去年刚起步的创业公司,主要负责公司移动产品的开发(Android和IOS)。在过去的公司项目里,我并没有从事过Android和IOS项目的开发,只是闲暇时间出于对新知识的渴求动手实践过一二。但是这一次我有勇气和信心能够开发出优秀的移动产品,这一次我要通过自身的实践来解决问题、找出解决方案和最佳实践,不再只是一味等待一个牛人给我指引了我才安心,才觉得够专业。这需要花时间,下功夫,但我相信是受益一定是巨大的。那么信心和勇气从何而来?

    以前我买了很多技术类的书籍回来,有Struts2、Spring、Hibernate、JQuery、JSF、JavaScript……包括Big Nerd Branch的经典书籍。我总是喜欢从书的第一页开始读,一字不漏的一页一页看,然后要把里面的所以例子都做一遍才觉得自己掌握了这门技术。如果是这样,你一定觉得我已经掌握了很多,可是恰恰相反,上面的书籍我没有一本是按照我喜欢的方式都看完的,总是半途而废。

    由于工作繁忙、加班、项目的技术需要等原因导致我并没有整块的时间可以这样细致地练习完一本书。往往开头几篇认真做了没多久就搁浅了,因为项目当前使用的一些技术会占用比较多的时间,而那些技术没有时间看着书逐行代码进行练习和推敲,只能碰到问题去查资料。外加现在技术更新日新月异,很多书还没来得及看就已经被新的技术替代了。许多新技术的第一首资料都是英文的,等待翻译后进行出版发行至少也要半年到一年的时间。那时候再去慢慢学习,等我学会了估计大家可能都已经会了,根本跟不上技术的更新换代。所以,我原来总是等到自认为"全部学会"了再去进行开发的方法是行不通的。直到最近我才真正想通了这一点。所以在职场和在学校是有差别的,在学校积累学习方法,到职场要能快速学习然后解决问题。

    比如JSF,当时买回来想学习的(2009年间),后来项目要使用Struts2进行开发就没碰过JSF这本书,同时它也淡出了人们的视野。其实,Struts2也不是整本书看完的,了解入门内容后就直接着手开发了。我把它当成了工具书,有疑难问题了就去里面查是不是有好的解决方法以及一些原理上的说明。项目做完了(2010年间),Struts2的开发经验也有了。虽然那些书我都没有读完,却都有涉略,基本的原理都有了解(这里的了解是指都有动手实践过,但是没有深入)。如果现在需要使用到相关技术我都能很快上手。这得益于多年开发经验当中积累的经验,以及快速学习一门技术的经验,看多了、碰到的问题多了,很多技术都是相通的。

    如今我全力投入到Android开发的学习和实践中。我买了一本Big Nerd Branch发行的Android编程权威指南作为再一次入门和参考书籍(第一次入门时Android手机一下子进入了人们的视野,没有什么学习类的书籍)。GitHub上找最佳实践,Google的Android开发平台查看最新的信息。为期一个月不到的时间,我已经可以开发出颇具功能的Android手机应用,能与设计进行合作、能够安排开发的优先级并将待优化的内容列入TODO列表。如果有新的开发成员加入,我能够让他们在既有的框架下独立开发并不影响全局。昨天我利用一个下午的时间成功将Zxing的二维码扫描功能集成到自己的应用当中,并计划下周进行SignalR与服务器通信的功能实现。当然,在这个月当中我也碰到了很多困难,一开始适应新的IDE(Android Studio而不是熟悉的Eclipse),在开发功能的优先顺序上做过有过思考,开发初期也在Activity和Fragment的使用当中纠结过,在集成Zxing的时候也是举步维艰,但都很快柳暗花明。还有,对于不同Android手机的适配问题上、测试机的选择上都有了初步的解决方案。

    我知道接下去还会面临很多的困难、存在很多的问题,但是我不再害怕。通过这次抉择,真的感觉到了成长。虽然学习最终是一个人的修行,但是我仍要感谢这一路给我指点、给我机会和陪伴我的朋友。其实这一个人的修行并不在于是一个人还是两个人,旨在这场修行一定需要自身的实践、思考和领悟,这才是最重要的。


    Read full article from 学习:最终是一个人的修行 - 简书


    APP登录设计,你真的会吗? - 简书



    APP登录设计,你真的会吗? - 简书

    大多数情况下,登录模块是产品设计中不可避免的一环,在设计之前必须先理清登录设计逻辑。目前常见的登录方式主要有:

    1.账号登录(手机、邮箱)

    2.第三方登录(微信,QQ,微博)

    3.游客登录

    4.手势登录,语音登录,指纹,人脸识别(比如微信的语音登录、iphone指纹解锁)

    5.一键快捷登录(比如工具类产品)

    那么,我们为什么要设计登录呢?如果不设计登录,意味着无法获取用户信息,无法对用户信息做进一步的决策。既然用户信息对产品来说很重要,那么在设计的时候,要重点考虑用户信息的安全性以及便利性,让用户放心登录,快捷登录是我们设计的目标。所以,如果登录后能很好保护用户隐私,那就做吧。

    另一点就是,要不要设计登录模块,还要看产品的特性。一般来说,像相机、手电筒、时钟、天气等纯工具产品是不需要登录这个环节;而像强社交需求的产品、涉及到较多用户财产安全的产品、用户对操作记录等个人隐私比较关心的产品,登录是必须的。

    确定好是否要设计登录环节,下一步考虑这个环节应该放在哪里合适,也就是用户需要什么时候登录。


    Read full article from APP登录设计,你真的会吗? - 简书


    这是我看过最精彩的回答 - ForrestWoo - 博客园



    这是我看过最精彩的回答 - ForrestWoo - 博客园

      或许我没见过世面,但是这却是我看过对"怎么成为一个优秀的程序员,而不是一个优秀的码农?"最精彩的回答【全部复制粘贴】

    其实我的心一直因为现在的工作【餐饮服务】而动摇,忽而想学网站,忽而c语言根基,忽而c#忽而java Android方向,然而当读到这个问答时,我坚定我所喜欢的iOS,不管结局如何(一辈子餐饮服务,一辈子底层,一辈子没法从事软件行业)

    优秀的程序员会告诉你打根基的重要性,会劝你在厚积薄发前要隐忍。

    优秀的码农会告诉你学啥底层、啥啥啥一拖就好了,学了python还要啥自行车啊,数据结构排序函数二分搜索这不都内置了吗?工作中永远用不到,学算法有啥用啊?成为高手有很多种方法汇编是个屁啊?



    +++基础的分割线+++


    列举几个我认为比较重要的根基并附入门书

    编程语言,《程序设计语言-实践之路》《concepts of programming languages》

    计算机通用知识,《csapp》

    算法、数据结构,《算法导论》

    程序设计、结构,没有书推荐

    软件工程,这个词大家理解不同,我以为,《人月》《代码大全》《the pragmatic programmer》《sicp》、讲测试讲重构的都是软件工程,其实上面设计模式也是软件工程,哈哈


    这些书,初时读来感觉全无作用,而且要读多次才能体会其中意味,所以叫它根基也是十分合适,你根基越深才能爬得越高嘛。




    +++方向的分割线+++


    啥是优秀程序员?

    记者和很多网民说熊猫烧香作者是高手

    公司里你出什么bug他都能告诉你原因用什么软件有问题他都能回答你的你就觉得是高手

    有人说徒手做产品的全栈才是高手

    各语言的作者都是高手

    有不写代码,扔出一个restful论文的

    还有人说高德纳是神,他如果是神,那他那些代码一定是在考验我们,嗯

    。。。。

    上面这些的确都算是高手,我琢磨着前两年被开掉的moto公司员工里肯定也有做功能机的高手和写廉价板驱动的高手


    你想自己选自己的方向还是被人忽悠方向?

    我的想法是自己都尝试玩玩,然后做自己喜欢的方向。当然,程序员的生态金字塔是上面做工具、基础设施给下面人用来给普通人编程序,所以你选方向可以参考一下这个金字塔模型




    +++爬坑的分割线+++


    方向定下,然后就是做事了,一大误区就是 【追求最好的东西】,于是非得弄清楚:

    • php是最好的语言吗?
    • OpenGL比directx差吗?
    • 程序员要先学数学吗?
    • 最好的c语言书是谭浩强写的吗?
    • 放屁要先脱裤子吗?
    • linux发行版那么多该选哪个?
    • 某大牛说IDE不如编辑器
    • 听说黑客都是用记事本写程序的
    • C#是升调记号应该读csharp而java不应念 [加wa(轻声)]
    • 。。。

    如果你是一个*nix世界的玩家的话,你应该知道有一个jargon来上面的毛病,叫yak-shaving,我以前提过几次yak-shaving,但是很多人看不懂,它的字面意思是Any seemingly pointless activity which is actually necessary to solve a problem which solves a problem which, several levels of recursion later, solves the real problem you're working on.

    但一般都引申其意使用它,我这里举例一下:

    你本来要打开软件写一个helloworld,软件提示你升级,你点了升级,提示你xx库不够新,然后你更新xx库,提示你要升级yy驱动,然后你升级yy驱动,系统告诉你要编译这个驱动,你必须下载s.f版本的编译器和库,你更新编译器,系统说s.f版本编译器必须在e.n系统上运行,然后你就升级系统了,几个小时过去,你发现系统升级导致了几个软件损坏,然后你更新那些软件,去找解决问题的方法,不知不觉到了半夜,你累成了狗,却发现问题还有一大堆,而helloworld也没写成。。。。


    这些问题我都遇到过,我的建议是挑一本大牛说的书就是了,看会了其他也会了。当然,如果你不幸不认识大牛(都上知乎了只要会搜索这种事情不可能发生),或者单纯好奇――就像我当年那样的话,那就每种都试试,不过有的答案你自己知道就好,像是编辑器emacs比vim更好,写程序ide比编辑器更好这种话,你是不应该乱说出来的。

    对了,像是不同范式的编程语言、不同的开发环境是应该尝试体验一下的,不过这种建议书上都写了,我这里说显得有些废话了。


    所以说,不能被无关的东西弄偏了目标,要专注,坚持。

    等你学深了一门语言,就算是学另一们其他范式的语言也不会太难,你学会了opengl,dx也就看看就能写了。


    你看看武侠小说里,段誉就是一个傻逼,仗着有时发出有时发不出的脉冲波和绕圈圈就能快跑直线的bug技就加上一门佛学能独步武林最终迎娶了白富美,出任了CEO,走向了人生巅峰,乔峰永远是一招降龙十八掌,更夸张。而慕容复文武双才,基本精通天下武学,每天读书4时辰练功4时辰,论用功谁能和他比啊。。。可到了30多岁还是一事无成,pk连段誉这种新手都搞不过,最后被人抢了老婆,就是因为方向不对,而且太不专注了。

    所以求多不如求专,深度到了,再花20%的时间去扩展一下广度即可。




    +++重要的分割线+++


    以上东西你都做好了,要花个2年时间的样子,对于学生来说,如果你有一个好的学校背景,人生可以就此扬帆起步了

    但这不是终点,俗话说人靠衣装,美靠包装。包装是门学问,这里的包装不是让你西装领带亮皮鞋黑丝套裙白衬衫整一个营销狗hr的造型,是说专业技能上的包装。


    为什么这是最重要的部分呢?因为别人一般不和你说这么多,尤其是懂得包装的人,更不会传你这些不传之秘啦。。。。。


    包装自己的第一步是提高实力

    没有实力的包装那是空中楼阁,只能靠每天日常搞外包的忽悠架构大数据云计算过活,明眼人也能看出来,所以纯属作秀,没有意义。

    在某个领域(编译器、虚拟机、开发架构、前端。。。)成为专家(专家的定义嘛,,我的理解是能在简历里写精通)后,包装的实力就算具备了。


    包装的第二步是定位

    提到美国会有一大堆人跳出来说是人类的希望民主的大救星,提到google就是最纯的技术公司不作恶、软件业的翘楚开发界的标杆、心美人美白莲花。。。哪怕你列举google卖假药、恶意打压yelp、挟持web标准等等等等这些事,他们也会说百度更差(咦这不5角钱常用的语句吗怎么被民主进步人士盗取了?。。。),可我根本没提到百度好吗。。。

    这全是包装造成的,所以包装的巨大威力,以此可窥之。


    google是搜索引擎,百度难道也说自己是搜索引擎?不,百度说自己是最懂中文的搜索引擎。。。哈哈哈,你别笑,这的确很管用,就像google说自己不作恶是好女孩一样。


    程序员的包装定位,无非稀缺和独特这两点。物以稀为贵,稀缺就是要做到不可替代,这很好理解,比如你知道世界第一高峰是珠穆朗玛峰,如果没看过禅师精选集你很难知道第二高峰是乔戈里峰,但文青特别偏好乞力马扎罗山,不爬不跟你结婚,为啥?独特性嘛。。。我不跟你比高,我和你比文化底蕴,于是就赢了。


    由于你有实力,所以你应该尽量把自己的实力包装成稀缺属性,你是专家嘛。。然后你实力多,应该把独特的实力包装出来,避免和他人共同曝光,以免被人压在身下。


    我说一个我朋友包装自己的故事,他进公司接手了一个项目,已经是被隔壁组开发了3,4个月的一个软件,其实这软件2个月也能做好的,但是隔壁人忙而且也不上心,不熟悉这个技术,加上又不是自己的老板,所以做事拖沓了那么久才做好。他接手后一刻没闲,晚上带回家也做,做到半夜,10天做成,然后整个公司的人都知道他的名字了,他也就立稳脚跟了。

    这个包装的主题是,技术实力强,开发速度快。


    包装的第三步是推广

    推广就是让人知道你做得好,强化你的个人品牌,可以用博客、知乎、mailing-list、github等,通过写文章、参加线下聚会演讲、回答问题、帮助他人等方法。这个用好了是门学问,用不好就是装逼,不展开了。。。

    记住不要匿名,匿名你基本啥也得不到


    有人明明技术实力强,但是由于没有包装好,或被埋没了才能,或被贴上了各种不应该有的标签,或被人偏见看待。比如 赵�� 的c#和 vczh 的微软标签

    有人明明实力一般,但是善于鼓动小白,包装得好,所以有一批忠实粉丝,这种人我都不太敢说名字了,呵呵。。

    所以优秀的程序员应该善用包装啊




    +++结尾的分割线+++


    上面说了那么多,但是坚持做来需要不少推动力,有人能考上清华,但是也能在大学堕落,有人能取得成绩,但是也会固步自封。。

    要想优秀,得有巨大的推动力,你为啥想成为优秀的程序员?你的推动力是什么?


    好比,我们说,嫖娼是有巨大道德压力、金钱压力和风险的事情,为啥知乎上那么多嫖客乐此不疲并努力给自己洗脑合理化这件事呢?因为在他们的眼中嫖娼是最有趣的事情、是不吃饭不睡觉也不能不做的事情、是不做就活着没劲的事,有了这种死也要死在床上的精神,还怕什么呢?


    Read full article from 这是我看过最精彩的回答 - ForrestWoo - 博客园


    面试感悟:3年工作经验程序员应有的技能 - 博客 - 伯乐在线



    面试感悟:3年工作经验程序员应有的技能 - 博客 - 伯乐在线

    1、阿里巴巴B2B事业部的面试,两轮技术面试都过了,最后一轮面试是对方的主管,由于听说技术面试过了基本上90%都面试成功了,所以LZ在和主管的交谈中也是毫无顾忌,说得天花乱坠,很多自己介于知道和不知道的东西都直接脱口而出了,结果多次被对方一反问就问得哑口无言。事后想来,模棱两可的答案是面试中最忌讳的,这次的失败也让LZ认真地对待后面的每一次面试 2、另外一家失败的是一家小公司,也就20来个人吧,整个团队是支付宝出来创业的,非常厉害。面试完LZ多方了解了一下,对方认为我基本功什么的都不错,但是实际项目经验还是欠缺一些,因为对方是创业型公司,需要人上手就能干活,因此我在这个时候还不是特别适合他们团队 至于其他成功的四家公司,给LZ的面试评价都挺高的貌似,但LZ也不想记流水账,因此就不一一列举每家公司的面试过程了,下面LZ主要谈谈作为一名工作三年左右的Java程序员应该具备的一些技能以及个人的一些其他感悟。 第一阶段:三年 第二阶段:五年 第三阶段:十年 第一部分总结一下,我认为,随着你工作年限的增长、对生活对生命认识的深入,应当不断思考三个问题: 1、我到底适不适合当一名程序员? 2、我到底应不应该一辈子以程序员为职业? 关于项目经验,我认为并发编程网的创始人方腾飞老师讲的一段话非常好: 1、明确你的项目到底是做什么的,有哪些功能 最深入的一次,LZ记得面试官直接问到了我volatile关键字的底层实现原理(顺便插一句,面试和被面试本身就是相对的,面试官能问这个问题同时也让面试者感觉到面试官也是一个喜爱研究技术的人,增加了面试者对公司的好感,LZ最终选择的就是问了这个问题的公司),不要觉得这太吹毛求疵了―-越简单的问题越能看出一个人的水平,别人对你技术的考量绝大多数都是以深度优先、广度次之为标准的,切记。 集合要掌握的是ArrayList、LinkedList、Hashtable、HashMap、ConcurrentHashMap、HashSet的实现原理,能流利作答,当然能掌握CopyOnWrite容器和Queue是再好不过的了。另外多说一句,ConcurrentHashMap的问题在面试中问得特别多,大概是因为这个类可以衍生出非常多的问题,关于ConcurrentHashMap,我给网友朋友们提供三点回答或者是研究方向: (1)ConcurrentHashMap的锁

    Read full article from 面试感悟:3年工作经验程序员应有的技能 - 博客 - 伯乐在线


    Jason Dalton, Man Charged in Kalamazoo Shooting Spree, Sues Uber - NBC News



    Jason Dalton, Man Charged in Kalamazoo Shooting Spree, Sues Uber - NBC News

    Jason Dalton, Man Charged in Kalamazoo Shooting Spree, Sues Uber by The Associated Press Editor's note: An Associated Press report about a lawsuit supposedly filed by Kalamazoo, Michigan, shooting suspect Jason Brian Dalton on March 15 was a hoax, Kalamazoo County Undersheriff Pali Matyas told NBC News on March 17. For more information, click here . DETROIT — A man who police say told investigators that "a devil figure" on Uber's app was controlling him when he allegedly killed six people in western Michigan is suing the ride-sharing company. In his handwritten complaint filed Tuesday, Jason Dalton doesn't mention the shootings directly, but said: "I am currently in prison because of Uber." Dalton is accused of fatally shooting six people and wounding two others between picking up passengers for Uber in Kalamazoo on Feb. 20. In his lawsuit, Dalton seeks $10 million from Uber. He claims that the company "ripped" him off and failed to pay him back wages and overtime.

    Read full article from Jason Dalton, Man Charged in Kalamazoo Shooting Spree, Sues Uber - NBC News





    Read full article from


    Six questions to ask at the end of a tech job interview - - Zartis Tech Recruiting



    Six questions to ask at the end of a tech job interview - - Zartis Tech Recruiting

    It might not always feel like it, but job interviews are a two-way conversation. You should be 'interviewing' your prospective employer as much as they're interviewing you.

    You've sailed through all the software development questions and impressed the panel with the details of your tech career to date.

    Now, they want to know if YOU have any questions for THEM. Instead of mumbling something about how you think they've told you everything you needed to know, view this as an opportunity to seal the deal and show them you not only understand their company, but you're engaged enough to find out more. Most IT recruiters will expect you to have at least two questions, but it's always good to have something in reserve, not least because there's a chance that they'll have answered some questions before you can ask. Here are some ideas.


    Read full article from Six questions to ask at the end of a tech job interview - - Zartis Tech Recruiting


    Android N for phones is promising, but not for the faint of heart



    Android N for phones is promising, but not for the faint of heart

    Android N's multi-window mode is a big deal. It's one of those features that makes more sense on bigger screens, but the whole thing feels surprisingly elegant even on smaller devices like the 5X. Tapping the Recent Apps button brings up a familiar stack of cards, but grabbing one and dragging it to the top of the resizes the app window to half its normal height, leaving the app switcher active in the bottom pane. Tap another app et voilà, you're split-screen multitasking on an Android phone. Even third-party apps -- Twitter, Spotify, Weather Underground -- that haven't been reconfigured to work in split-screen usually work as intended. (Although the system does throw up a warning just in case things are a little wonky). There's a catch, though! While you can drag the divider to peek at more information in either app window, you can't resize those windows all willy-nilly. The best you can do is make one of the apps use two-thirds of the screen. Curiously, this limited resizing works when the phone is vertical -- resizing in either orientation works fine on tablets.


    Read full article from Android N for phones is promising, but not for the faint of heart


    Italy changes law to make all supermarkets give unsold food to needy | Europe | News | The Independent



    Italy changes law to make all supermarkets give unsold food to needy | Europe | News | The Independent

    We use cookies to enhance your visit to our site and to bring you advertisements that might interest you. Read our Privacy and Cookies policies to find out more. Italy changes law to make all supermarkets give unsold food to needy 'We are making it more convenient for companies to donate than to waste' Tuesday 15 March 2016 09:30 BST Food waste in the home accounts for about half of national waste Getty Images Italy is set to pass a law that will make supermarkets donate their waste food to charities. It will become the second European country to pass such laws after the French introduced a bill  in February which bans supermarket throwing away or spoiling unsold food. The bill has recieved widespread bipartisan support and is expected to pass the lower house of the parliament on Monday before a final vote in the Senate of the Republic. Read more Unlike France, which fines supermarkets found wasting food,

    Read full article from Italy changes law to make all supermarkets give unsold food to needy | Europe | News | The Independent


    PC Virus Cleaner: Get Rid of Ads.pubmatic.com Redirect



    PC Virus Cleaner: Get Rid of Ads.pubmatic.com Redirect

    Ads.pubmatic.com is a redirect infection created and developed by the malware developers to collect money. In general, Ads.pubmatic.com can come along with insecure free downloads from the Internet without any permission and notice, such as software update, multimedia players, download tool, or utilities to speed up the Internet. Once gets into the computer, Ads.pubmatic.com will change the computer browser setting and begin to replace your hoempage and new tab. Ads.pubmatic.com changes the home page of your Web browser to point to a specific Web site such as Yahoo Search. As soon as you open the browser, Ads.pubmatic.com will pop up to redirect you to its own domain and block you from accessing online or using IE,Firefox and Chrome.

    Read full article from PC Virus Cleaner: Get Rid of Ads.pubmatic.com Redirect


    Theranos CEO Elizabeth Holmes to Hold Hillary Clinton Fundraiser | Re/code



    Theranos CEO Elizabeth Holmes to Hold Hillary Clinton Fundraiser | Re/code

    Re/code Event Updates Re/code Product Updates http://on.recode.net/1pjLDHA Theranos CEO Elizabeth Holmes Is Holding a Hillary Fundraiser With Chelsea Clinton Getty Theranos CEO Elizabeth Holmes (l), Chelsea Clinton (m) and Hillary Clinton (r) Elizabeth Holmes, CEO of the embattled blood-testing startup Theranos, has struggled with commercial partners , shed board members and a lot of credibility over the last few months. Prize-winning reporting from the Wall Street Journal indicates that her multibillion dollar startup's highly publicized blood-testing technology isn't as successful as Theranos has made it seem. One person Holmes hasn't lost? Hillary Clinton, apparently. Next Monday, Holmes is hosting a fundraiser for Hillary Clinton's presidential campaign in Palo Alto. The event includes a conversation with former First Family member Chelsea Clinton, and participants who pay $2,700 get to go to a "host reception" with Chelsea. Related By Noah Kulwin , Oct 29, 2015, 5:

    Read full article from Theranos CEO Elizabeth Holmes to Hold Hillary Clinton Fundraiser | Re/code


    Donald Trump Ties Man Arrested at Rally to ISIS With Apparently Doctored Video - ABC News



    Donald Trump Ties Man Arrested at Rally to ISIS With Apparently Doctored Video - ABC News

    By EMILY SHAPIRO 0 Shares 0 Shares Donald Trump apparently used a doctored video to allege the suspect accused of rushing on the stage at his rally in Ohio had ties to ISIS. Thomas Dimassimo was arrested and charged Saturday with disorderly conduct and inducing panic after the incident. He had hopped over a guardrail and was grabbed by Secret Service agents before he could reach the stage Trump was speaking from. "Then one of my people said, wow. They found his name, and it was probably ISIS or ISIS-related. Do you believe it?" Trump told supporters at a later rally in Kansas City, Missouri. Trump also tweeted a video appearing to show Dimassimo, 22, dragging an American flag across a sidewalk, saying he had "ties to ISIS." USSS did an excellent job stopping the maniac running to the stage. He has ties to ISIS. Should be in jail! https://t.co/tkzbHg7wyD ?ssr=true The video Trump tweeted has since been removed from YouTube . It's unclear who doctored or uploaded the video.

    Read full article from Donald Trump Ties Man Arrested at Rally to ISIS With Apparently Doctored Video - ABC News


    The macabre truth of gun control in the US is that toddlers kill more people than terrorists do | Lindy West | Opinion | The Guardian



    The macabre truth of gun control in the US is that toddlers kill more people than terrorists do | Lindy West | Opinion | The Guardian

    change edition: Sunday 13 March 2016 09.00 EDT Last modified on Sunday 13 March 2016 21.02 EDT This week, in my country, considered by some of its more embarrassing denizens to be the "greatest country in the world", an outspoken Florida "gun rights" advocate left a loaded .45 calibre handgun in the back seat of her car and was promptly shot and wounded by her four-year-old child . Truly a pinnacle of human potential, much like the invention of paper in second-century BC China, or Aristotle holding forth in the Lyceum, or whoever first pointed out that Florida looks like America's penis. What do you say about the outspoken Florida "gun rights" advocate who left a loaded .45 calibre handgun in the back seat of her car and was promptly shot and wounded by her four-year-old child? I take no pleasure in violence and pain. I'm not happy that Jamie Gilt, 31 – who has built a thriving web presence on the argument that guns are not only perfectly safe around kids,

    Read full article from The macabre truth of gun control in the US is that toddlers kill more people than terrorists do | Lindy West | Opinion | The Guardian


    Labels

    Algorithm (219) Lucene (130) LeetCode (97) Database (36) Data Structure (33) text mining (28) Solr (27) java (27) Mathematical Algorithm (26) Difficult Algorithm (25) Logic Thinking (23) Puzzles (23) Bit Algorithms (22) Math (21) List (20) Dynamic Programming (19) Linux (19) Tree (18) Machine Learning (15) EPI (11) Queue (11) Smart Algorithm (11) Operating System (9) Java Basic (8) Recursive Algorithm (8) Stack (8) Eclipse (7) Scala (7) Tika (7) J2EE (6) Monitoring (6) Trie (6) Concurrency (5) Geometry Algorithm (5) Greedy Algorithm (5) Mahout (5) MySQL (5) xpost (5) C (4) Interview (4) Vi (4) regular expression (4) to-do (4) C++ (3) Chrome (3) Divide and Conquer (3) Graph Algorithm (3) Permutation (3) Powershell (3) Random (3) Segment Tree (3) UIMA (3) Union-Find (3) Video (3) Virtualization (3) Windows (3) XML (3) Advanced Data Structure (2) Android (2) Bash (2) Classic Algorithm (2) Debugging (2) Design Pattern (2) Google (2) Hadoop (2) Java Collections (2) Markov Chains (2) Probabilities (2) Shell (2) Site (2) Web Development (2) Workplace (2) angularjs (2) .Net (1) Amazon Interview (1) Android Studio (1) Array (1) Boilerpipe (1) Book Notes (1) ChromeOS (1) Chromebook (1) Codility (1) Desgin (1) Design (1) Divide and Conqure (1) GAE (1) Google Interview (1) Great Stuff (1) Hash (1) High Tech Companies (1) Improving (1) LifeTips (1) Maven (1) Network (1) Performance (1) Programming (1) Resources (1) Sampling (1) Sed (1) Smart Thinking (1) Sort (1) Spark (1) Stanford NLP (1) System Design (1) Trove (1) VIP (1) tools (1)

    Popular Posts