V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  dreampuf  ›  全部回复第 13 页 / 共 51 页
回复总数  1002
1 ... 9  10  11  12  13  14  15  16  17  18 ... 51  
- 薪水能给出范围吗
- 从前年4月开始招,流水了多少兵呢?
- 能介绍多大挑战呢?daily deploy job 的量级能透露?
- docker在你们的roadmap排到哪个档期呢了?

用Pythonista不会产生歧义
2015 年 1 月 9 日
回复了 Cee 创建的主题 天黑以后 20150109 午夜俱乐部
@nowcoder 你们的想法已经超过我了,想试试效果,已经发布了吗?
@nowcoder 一定要名字高大上吗?用遗传你们的评估函数怎么写呢?题目的特征怎么建立呢?最优解怎么定义的呢?

好好的随机抽题根据复杂度分值、题目类型综合出一份试卷不好吗
2015 年 1 月 7 日
回复了 nicai000 创建的主题 分享发现 终于有笔记本厂商开始优化屏幕边框了
只有我一个人感觉这台电脑是个秃子吗?
2015 年 1 月 6 日
回复了 Livid 创建的主题 买买买 Withings Activité Pop
@aaronmix 你怎么买到的?官网似乎还未发售
2014 年 12 月 24 日
回复了 aheadlead 创建的主题 问与答 grep 黑科技为何扫描速度比我 ssd 还快?
除了磁盘缓存,GREP本身足够高效

为什么GNU grep如此之快?
http://www.kuqin.com/shuoit/20131205/336792.html
2014 年 12 月 23 日
回复了 sunxiaonian 创建的主题 酷工作 果壳刚拿了 2000 万美金的 C 轮,各种职位可以内推
@mengzhuo 加把油,看博客小伙子挺不错
2014 年 12 月 23 日
回复了 Livid 创建的主题 Redis 一篇关于 Redis 作者 antirez 的专访
这一段很受启发

> Franco: What recommendations do you have for young people in Italy that are passionate about technology and are looking for opportunities to emerge and build a career as professionals?
> Salvatore: My advice is to use the moment when they are still young enough for parents to be willing to pay for their bills to build things. Your parents are your first VCs, they are investing into you in a moment where you are full of energies. Other advices: don't study forever, put an hard max number of years to your specialization. Finally, don't believe you have something less compared to people in the UK or the US where you see a lot more going on. It's not a matter of better or more competent people, so a good strategy would be to try to create new things without copying what others are doing.
2014 年 12 月 16 日
回复了 Elfe 创建的主题 程序员 聊聊那些能让我们快速开发出程序来的积木块儿
他们的ticket回复很快,有什么问题直接建ticket吧
2014 年 12 月 10 日
回复了 dreampuf 创建的主题 分享发现 “云梦” 助眠音频 APP
@jakehu 找微博作者要吧,我只是转发一下
@dndx 确实是 Google Compute Engine.
2014 年 12 月 4 日
回复了 aszxqw 创建的主题 程序员 王益大神对 java 开喷了
> 我删除了你的其他几个comments。这是我第一次在知乎上删除别人贡献的内容。很不好意思。
> Bertrand Russell说现代西方科学是建立在逻辑的基础上的。所以科学技术可以理性分析,可以实事求是。我理解这是很多技术人员热爱技术的根本原因。但是如果讨论的时候,不小心或者习惯性地没能维持好一个客观、温和的氛围,技术讨论也可能陷入情绪化,甚至文人相轻的窘境。
> 针对你提到的Go的几个问题:“反射半吊子”,“annotation半吊子”,“gc不像样子”,“不支持泛型”。我建议总结问题并发布出来,可以和社区分享和讨论。如果很多人都赞同应该修改,也就对修改的价值比较自信了,可以改之,并且请Go Authors review。由此得到的尊重,是可以称之为人生财富的。
> 我早几年的时候,也很容易在技术讨论中情绪化。我觉得这是性格使然,没什么不对。关键是如何完备自己。我比较幸运的是,我身边有一些非常出色的工程师,他们以榜样的力量帮我慢慢拽出来。这让我相信:一个热爱技术的人,是可以用完备技术的热情来完备自己的。
2014 年 11 月 21 日
回复了 66450146 创建的主题 程序员 你们更偏向那种形式?
TLTR: “等于”比“不等于”更符合直觉,避免嵌套优先执行异常分支。选第二种。

via. Code Complete 2nd

Summary of Techniques for Reducing Deep Nesting

The following is a list of the techniques you can use to reduce deep nesting, along with references to the sections in this book that discuss the techniques:

- Retest part of the condition (this section)

- Convert to if-then-elses (this section)

- Convert to a case statement (this section)

- Factor deeply nested code into its own routine (this section)

- Use objects and polymorphic dispatch (this section)

- Rewrite the code to use a status variable (in Section 17.3)

- Use guard clauses to exit a routine and make the nominal path through the code clearer (in Section 17.1)

- Use exceptions (Section 8.4)

- Redesign deeply nested code entirely (this section)
区别大了

In [115]: dis.disassemble(compile("total & 0x01", "__file__", "single"))
1 0 LOAD_NAME 0 (total)
3 LOAD_CONST 0 (1)
6 BINARY_AND
7 PRINT_EXPR
8 LOAD_CONST 1 (None)
11 RETURN_VALUE

In [116]: dis.disassemble(compile("total == 1", "__file__", "single"))
1 0 LOAD_NAME 0 (total)
3 LOAD_CONST 0 (1)
6 COMPARE_OP 2 (==)
9 PRINT_EXPR
10 LOAD_CONST 1 (None)
13 RETURN_VALUE

In [117]: dis.disassemble(compile("total and 1", "__file__", "single"))
1 0 LOAD_NAME 0 (total)
3 JUMP_IF_FALSE_OR_POP 9
6 LOAD_CONST 0 (1)
>> 9 PRINT_EXPR
10 LOAD_CONST 1 (None)
13 RETURN_VALUE
1 ... 9  10  11  12  13  14  15  16  17  18 ... 51  
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1142 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 30ms · UTC 18:06 · PVG 02:06 · LAX 11:06 · JFK 14:06
♥ Do have faith in what you're doing.