由买买提看人间百态

topics

全部话题 - 话题: pitfalls
首页 上页 1 2 3 4 5 6 7 下页 末页 (共7页)
d**********x
发帖数: 4083
1
来自主题: Programming版 - C++ Pitfalls , you may not know [转载]
read
Imperfect C++
M********n
发帖数: 4650
2
来自主题: Programming版 - C++ Pitfalls , you may not know [转载]
这应该是C留下来的问题,C++为了兼容,没办法。严格C++的函数原形应该写成
string b(void);
t****t
发帖数: 6806
3
来自主题: Programming版 - C++ Pitfalls , you may not know [转载]
事实上, C++不建议无参数函数里写void.
d******3
发帖数: 70
4
Youtube Link:
http://youtu.be/7APovvvftQs
People have different opinion about Multiple Inheritance. Some people like
it, while some people hate it. This video explains the benefits and pitfalls
of multiple inheritance, and demonstrates a safe way of using it.
g****t
发帖数: 31659
5
来自主题: Programming版 - 问个过时的问题
你找个80年代的C pitfalls之类的书看看.
技术难度绝对不比今天的java啥的差.
语言只是表面,关键是各种东西的取舍,trade off.
这是很多工程的灵魂部分.

啥叫中高级? C语言就这么几下东西...
k**********g
发帖数: 989
6
http://msdn.microsoft.com/en-us/library/vstudio/hh191443.aspx
See the diagram under "What Happens in an Async Method" section.
Async and Await causes the compiler to generate "scaffolding code" which
effectively turned a method into a class that implements a state machine. (
The state machine is similar to the C# "yield" keyword. What's new in async/
await is the automatic posting of the continuation to the task-queue or
message-loop.) This blog lists one possible way such scaffolding code is
ge... 阅读全帖
k**********g
发帖数: 989
7
来自主题: Programming版 - 大牛们讨论一下异步编程吧

async/await 是很危险滴。。。
简单举例∶发送方必须知道/指定收件人是谁。在 C# 底下,收件人可以是∶main UI
thread,framework-specific worker thread (WPF),或是 TPL parallel thread
pool。
比如你要给你的仇人送些溪钱,为了掩人耳目,你故意写错收件人地址,而在回邮地址
写上仇人的地址。结果因为地址不清,邮差把信送到你父母家里去了。
详情请看 http://www.infoq.com/news/2013/07/async-await-pitfalls
c******o
发帖数: 1277
8
来自主题: Programming版 - functional programming why?
immutability 主要是能帮助下面的common pitfall
Parallel => Cache coherence
Async => Races
Distributed => Versioning
性能倒是有可能的,但是主要是当data structure 非常大的时候。
scala的immutable collection 不比 mutable差,有时候还更好。
http://www.scala-lang.org/docu/files/collections-api/collection

Scala
n****1
发帖数: 1136
9
我记得二爷是js/closure一脉的吧
对我来说,Pure FP最大的好处就是very easy to reason the program. 从人的角度来
讲,只要你读懂了代码,基本不会有啥pitfall,所以读完代码就基本可以放心了. 而c/
java则不同,除了读懂代码本身,还要考虑各种乱七八糟的同步,死锁.
从机器的角度来讲,easy to reason的结果是compiler capture most error, 而
Runtime error的可能性极小. 所以pure FP省去了很多debug的时间. 听说很多语言要
花80%的时间来debug,太痛苦了.
而js/closure完全反其道而行之, 不仅是mutable,而且是duck typing, 程序几乎无法
reason, 结果就是all bug is runtime bug. 与其这样,我还不如用java.
s******i
发帖数: 31
10
来自主题: Programming版 - internal refer 俩个职位
有兴趣发给f******[email protected]. 在纽约。
PYTHON DEVELOPMENT MANAGER
In addition to building out new product enhancements to help scale our
technology, this person will also be working to support our ever-growing
client roster of some of the largest retailers like CVS.com, Wal-Mart,
Johnson & Johnson and L’Oreal.
You will lead and develop e-commerce Subscription Platform with some of the
biggest brands in the world, impacting the lives of millions of users
You will manage, code, mentor, play ping-pong, wri... 阅读全帖
g****t
发帖数: 31659
11
我去看看llvm,thanks for the information.
(1)
小芯片很多都不是标准C。我们是特制的。
标准c为基础的芯片我预测会今后在美国很
难生存不下去。因为人人都会,利润很少。另外标准c在很多场合over kill太多了。
我关注的主要是代码的robustness with respect to different future C
compilers and hardware changes。这方面如果出事故,赔个几十M都有可能。
所以需求是有的。
之类的书里面有详细讲这些隐含在C的不同compiler实现的坑。
但感觉指望人力避坑不是个好办法。而且现在c写得好的人越来越少。
(2)
因为速度和鲁棒性通常是duality,所以我觉得CS的人肯定已经有了compiler
middleware做速度。所以想看看是不是可以借鉴下。
g****t
发帖数: 31659
12
大学已经很久不重点教C了。我当年国内考硕士倒是正经刷过C的题目。还写过机械夹子
画圆的程序。
C Traps and Pitfalls之类的书现在的大学生压根不看。CS出身的里面找C好的人更难
。美国中国都一样。
c******o
发帖数: 1277
13
最近在帮忙,觉得搞大数据要的东西很多啊,倒是quicksort不是必须的。
我觉得对于如何提出一个问题,然后如何设计算法能并行处理需要考考。
还有就是常用的设计pitfall, 什么需要预处理,什么不需要,为什么,各有什么好处
害处。
关键就在于大和快,不需要多精巧,但是你要能设计一个,想快就快(堆资源能有效的
)也不容易啊。
都在细节, 我们一开始用spark的时候,不大的数据也老死。后来看spark的
caculation mode, code.
现在在并行/预处理上下功夫就好多了。
c******o
发帖数: 1277
14
最近在帮忙,觉得搞大数据要的东西很多啊,倒是quicksort不是必须的。
我觉得对于如何提出一个问题,然后如何设计算法能并行处理需要考考。
还有就是常用的设计pitfall, 什么需要预处理,什么不需要,为什么,各有什么好处
害处。
关键就在于大和快,不需要多精巧,但是你要能设计一个,想快就快(堆资源能有效的
)也不容易啊。
都在细节, 我们一开始用spark的时候,不大的数据也老死。后来看spark的
caculation mode, code.
现在在并行/预处理上下功夫就好多了。
g*****g
发帖数: 34805
15
The pitfalls here are that
1. It may not be easy to identify the bug when integration test fails,
especially if you didn't write the code in the first place. You are coupling
data, other services dependencies and your code in your test. That makes
the debugging process longer than it can be with unit tests. Unit tests won'
t catch all your bugs, but it can catch most of your bugs.
2. And integration tests can typically cover happy path, not much on corner
cases. And if you try to cover corner ca... 阅读全帖
a*********a
发帖数: 3656
16
来自主题: Programming版 - 有人搞P2P lending吗?
我就是给他提个醒,这样的diversification还是有pitfall的。不要太大意。
又是关联问题:) 如果他投一万个,但是每每之间的correlation是1,跟投1个没有任何
区别不是?
低关联的的环境,情况是100个可能有5个default,其他95个没事。强关联的环境,情
况时5%的可能性100个都完蛋,95%的可能性100个一起挺过去。平均yield都是5%,但是
风险的性质完全不一样。100%的可能性输5%比起5%的可能性全输光,对大多数投资者
impact也是不一样的。
我十来年前毕业第一份工就是做mortgage securitization,也在high yield index桌
子上也呆过。曾经是全职做这方面功课的。:) mortgage securitization 说白了就是
这个思路,N个mortgage pool到一起,default几个无大碍。好多公司做了十几年稳赚
,但是07,08年有的pool的价值一下子砍一半。有的mortgage bond还是有first loss
protection的。
high yield debt平时yield确实不错... 阅读全帖
a*********a
发帖数: 3656
17
来自主题: Programming版 - 有人搞P2P lending吗?
我就是给他提个醒,这样的diversification还是有pitfall的。不要太大意。
又是关联问题:) 如果他投一万个,但是每每之间的correlation是1,跟投1个没有任何
区别不是?
低关联的的环境,情况是100个可能有5个default,其他95个没事。强关联的环境,情
况时5%的可能性100个都完蛋,95%的可能性100个一起挺过去。平均yield都是5%,但是
风险的性质完全不一样。100%的可能性输5%比起5%的可能性全输光,对大多数投资者
impact也是不一样的。
我十来年前毕业第一份工就是做mortgage securitization,也在high yield index桌
子上也呆过。曾经是全职做这方面功课的。:) mortgage securitization 说白了就是
这个思路,N个mortgage pool到一起,default几个无大碍。好多公司做了十几年稳赚
,但是07,08年有的pool的价值一下子砍一半。有的mortgage bond还是有first loss
protection的。
high yield debt平时yield确实不错... 阅读全帖
l**********n
发帖数: 8443
18
来自主题: Programming版 - react is total crap
React Inline Styles are Fundamentally Flawed
https://byjoeybaker.com/react-inline-styles
参加一个js的会议,大牛正在讲着web component,突然冒出一句react is complete
crap。
大牛还讲了, why it is crap? because it wants to do everything in js. That
is complete nuts.
see the link above to understand yourself.
trying to render the DOM using js is also nuts.
大牛说了in many situations, using the browser native API, for example the
DOM API, and css animations are always the best choices.
by letting the framework to render the DOM for... 阅读全帖
y*j
发帖数: 3139
19
Pitfalls.....
c******r
发帖数: 3778
20
来自主题: Biology版 - 问一个癌症Metastasis 的问题
这个我就不知道了,要做了才知道。
不过我个人看法,tumor是个highly evolutionary的system。临床上栓塞啥的几乎都没
啥效果。血供可能非常复杂,剪掉可见的血管最多可能就是暂时几天抑制肿瘤生长,很
难完全死亡。不过这是我猜的。
呵呵,还挺好奇你做了会是什么样的结果的。
hypoxia marker倒不是太难。你的cell line就用HIF1alpha的promoter去drive
luciferase,然后要看的时候打点luciferin,然后用bioluminescence的camera直接拍
照然后定量就可以了。不过这里面有个pitfall。就是如果你的血管cut得太干净了,导
致luciferin进不了tumor,即使luciferase被turn on了也看不到signal。不过虽然有
这个可能性,但是还是可以试试看才知道。当然如果signal很强也部分indicate你的血
管弄得不干净。这个系统很方便,但是怎么用还得好好考虑一下。
祝好运!

.
l**********1
发帖数: 5204
21
Biofuture US one report 2001
Several Decades worth of work on simple, "toy" reaction-diffusion models of
morphogenesis, suggesting at their heart that Turing-type instabilities play
the crucial role in organizing spatial patterns during biological development,
now appear to be almost completely irrelevant. Here, basic biological facts,
unknown at the time of Turing's work in 192, were left out of this example of
Type B modeling. To reduce the chances of such pitfalls, it is again absolutely
cruc... 阅读全帖
o********r
发帖数: 775
22
来自主题: Biology版 - NGS分析嘴仗:RNA studies under fire
今天的nature news:
http://www.nature.com/news/rna-studies-under-fire-1.10502?gobac
RNA studies under fire
High-profile results challenged over statistical analysis of sequence data.
Erika Check Hayden
25 April 2012
Article tools
Print
Email
Download PDF
Rights and Permissions
Share/bookmark
High-throughput RNA sequencing has yielded some unexpected results in the
past few years — including some that seem to rewrite conventional wisdom in
genetics. But a few of those findings... 阅读全帖
c**m
发帖数: 757
23
来自主题: Biology版 - 这个算不算成功转行的例子?
这个才是她能被MIT MBA录取的真正原因
一个PhD没有任何管理经验,连UCLA MBA都进不去
President, Co-founder
Advanced Degree Consulting Club at UCLA
April 2010 – February 2012 (1 year 11 months)
• Created a community of future consultants and business leaders
with advanced degrees and provide a platform for information exchange and
experience sharing.
• Led the team and generated substantial revenue by undertaking
consulting projects with local consulting firms.
• Bridge the gap between academia and consulti... 阅读全帖
V********n
发帖数: 305
24
来自主题: Biology版 - MD写的proposal和PhD写的proposal
最近在帮老板审小fellowship grant。有感于MD和PhD背景申请人proposal的巨大区别
。MD(当然是美国本土的,至少也是考了板的)的申请preliminary数据少,实验设计
简单,大多没有potential pitfall的讨论,整个proposal感觉很草草就完成了;另MD
申请人一般没什么文章。PhD的Proposal预实验数据狂多,很多是课题已经做完一半才
来申请(个人感觉也许课题都基本完成了),实验设计花哨,论证严密,面面俱到,研
究意义更是吹得天花乱坠。
不过,最后的资助情况也许MD还占优些。现在对MD背景搞研究是很鼓励的。PhD们连搞
科研的路都很窄啊。
K****n
发帖数: 5970
25
呵呵,可以给onsite。pitfall是不能用多线程:)
你对比过multiprocess开20个进程和单进程的速度吗?这个数据很小啊
m*******r
发帖数: 202
26
非常感谢你的回复!!!我是学分子生物学的。
我就是打算将在BALB/c小鼠制备的单克隆抗体再腹腔注射到带肿瘤的BALB/c裸鼠中,观
察该抗体是否有抑制肿瘤生长的作用。老板让我写一下在这种实验过程中可能会遇到的
问题,以及可能的其他选择方案。有些象他写grant中的potential pitfalls and
alternatives。
对我一个在这个领域的新手来说,实在不知道在这种实验过程中可能会遇到什么问题以
及可能的选择方案。请多多指教。再次感谢。
s****9
发帖数: 932
27
你至少应该简单介绍一下你的抗原,cytokine,receptor?这个receptor是activation
receptor?如果是,那么receptor有没有redundency?你的antibody是agonist还是
antagonist?
没有这些info,怎么能够预测pitfall?
l***y
发帖数: 4671
28
数学的套路跟生物学大相径庭。数学的方法论工具是从神学发展出来的,生物的方法论
工具则是从物理学发展出来的。两者经常矛盾。所以从物理学转行做生物的大牛比比皆
是,比如说最近热门的 Chao Tang,却鲜有从数学转过来而且成功的例子。
说句不好听的,生物是少有的几个最需要清晰的逻辑和成熟的方法论的领域,但大部分
做生物研究的人,在这些方面的 training 很不足。这也是为什么很多人在好的老板手
下进展顺利,文章也不错,但是很难独立做 research 很难申请经费的原因吧。我们这
里最近关门的几个 lab,跟他们 PI 聊过,明显觉得关门对他们其实也是一种解脱 --
在生物最热的时候上的船,但真的不适合做这一行。设计个实验,问一下 bio
question 是啥,为什么 significant, 都有哪些可能的 hyp,分别有什么
literature 支持或反对,预期结果都有哪些可能性,分别如何支持或者否定哪些 hyp
,实验的 pos / neg control 都是啥?pitfalls 有哪些?sample size 如何决定?后
期准备采用的数据处理和统计方法是如何与实验设计... 阅读全帖
l**********1
发帖数: 5204
l******a
发帖数: 3339
30
哦,pore based mechanism,有很多例子,pitfall是in vitro level蛋白太大了进不
去,scfv也有disulfide,不过还算稳定,但是specificity差些。in vivo肯定有
biodistribusion和liver toxicity的问题。现阶段也就是灌水而已。
H****N
发帖数: 997
31
来自主题: Biology版 - Gibson assembly
Can anybody share you experience with Gibson assembly? Planning to do it,
but would like to hear your tips and potential pitfalls with the technique.
Thanks in advance.
A********o
发帖数: 1307
32
来自主题: Biology版 - bz求文献 Many Thanks!
1.
Accurate and interpretable nanoSAR models from genetic programming-based
decision tree construction approaches
http://www.tandfonline.com/doi/abs/10.3109/17435390.2016.1161857?journalCode=inan20
Nanotoxicology 2016 Sep 6;10(7):1001-12. Epub 2016 Dec 6.
2.
Tantra, R., Oksel, C., Puzyn, T., Wang, J., Robinson, K. N., Wang, X. Z., ..
. & Wilkins, T. (2015). Nano (Q) SAR: Challenges, pitfalls and perspectives.
Nanotoxicology, 9(5), 636-642.
http://www.tandfonline.com/doi/abs/10.3109/17435390.2014... 阅读全帖
h**********k
发帖数: 168
33
It is a communication pitfall.
When some people say that something (say, CFA level 1) is so easy and it
took them only two (or even fewer) weeks, it does not necesssarily mean what
it means literally. How long they really took to prepare is irrelevant.
What they meant to impart is that they are very smart. So it is just a
misunderstanding from your part.

derivitives
p******c
发帖数: 8
34
Free Resume Editing Service, limited time offer! Act Now!
Borrow Ivy graduate’s brain, Rock your application
Hey, are you stressed about your MBA or graduate school application essays?
We have been there. At Admit Engine, we are dedicated to reduce your stress
and optimize your chances of acceptance by helping you with all aspects of
your application. Our professional editors are all from top MBA and other
graduate programs. Our mission is to help you:
• discover and select your strengt... 阅读全帖
j******0
发帖数: 258
35
来自主题: Chemistry版 - paper help
Small, G. W.; Chemometrics and Near-Infrared Spectroscopy: Avoiding the
Pitfalls; Trends in Analytical Chemistry 2006, 25, 1057-1066
t*******2
发帖数: 87
36
来自主题: Chemistry版 - 博后之命运
Recovering From Postdoc MistakesBy Alaina Levine
March 18, 2011
“It is vitally important for postdocs to be aggressive and take charge of
their careers.”
"The best thing you can do in a postdoc is to do things that you enjoy,"
urges Doon Gibbs, deputy director for science and technology at Brookhaven
National Laboratory, who has overseen the supervision of many postdocs over
25 years. Ensure those tasks are noticeable, such as publishing papers and
presenting at conferences, he adds. But possess... 阅读全帖
t*********r
发帖数: 8
37
来自主题: Computation版 - 再问个Fortran得问题
These are actually pitfalls of fortran functions.
Good programming is that you should NOT modify the arguments of a function.
Whereas fortran allows you to do that, you should NOT.

not
z,
O******e
发帖数: 734
38
来自主题: Computation版 - 再问个Fortran得问题
I usually make my functions explicitly pure or elemental anyway,
so as you mentioned, free of side effects. Then there are no
such pitfalls to worry about.

an
G****n
发帖数: 145
39
But Andrei Shleifer, who won the clark medal is the real deal!
The law and economics of self-dealing[PDF] from uva.nl…, R La Porta, F
Lopez-de-Silanes, A Shleifer - 2005 - nber.org
... Andrei Shleifer Department of Economics Harvard University Littauer
Center M-9 Cambridge,
MA 02138 and NBER a*******[email protected] Page 3. 1 1. Introduction. Over the
last twenty
years, both academic and practical approaches to corporate ...
Cited by 462 - Related articles - Library Search - BL Direct - All 71
vers... 阅读全帖
x**c
发帖数: 1435
40
people orientated job experience would add your qualification to get in
counseling program, however candidate can be any one that would bring his/
her expertise to make the program stronger. Counseling is a science on human
being, diversity would only enrich people's vision of human characteristics.
Unless you are licenced by the board your pay can not be fabulous. It is
demanding in terms of communication skills, as we all agree it is a pitfall
of Asian students.
a*****g
发帖数: 19398
41
By Stephanie Simon

Getting in can be grueling.
Students may be asked to submit a 15-page typed research paper, an original
short story, or a handwritten essay on the historical figure they would most
like to meet. There are interviews. Exams. And pages of questions for
parents to answer, including: How do you intend to help this school if we
admit your son or daughter?
These aren't college applications. They're applications for seats at charter
schools.
Charters ar... 阅读全帖
a*****g
发帖数: 19398
42
By Stephanie Simon

Getting in can be grueling.
Students may be asked to submit a 15-page typed research paper, an original
short story, or a handwritten essay on the historical figure they would most
like to meet. There are interviews. Exams. And pages of questions for
parents to answer, including: How do you intend to help this school if we
admit your son or daughter?
These aren't college applications. They're applications for seats at charter
schools.
Charters ar... 阅读全帖
g****t
发帖数: 31659
43
来自主题: EE版 - 请问关于Firmware Engineer
各种编译器往往包含一些很垃圾的东西,不是说ANSI C搞清楚了就可以的.
更扯的问题是,为了保证code在未来就算换了CPU和编译器体系也最好能work,
你说不定还得熟悉多种边边角角的设置体系.
C traps and Pitfalls这本书,里面有很多问题其实都是编译器
不同特性造成的.现在时间过去了几十年.C更混乱了...

C本身没有问题,是不懂硬件
g*k
发帖数: 92
44
我就认识一个JD,还没怎么打交道。所以我来这里真的是问问题的,
大家十万八千里的,不会有什么竞争的吧。我自己也查了资料,
基本申请什么的,都已经了解,但是有经验的在校,或者已经毕业的JD们
该可以帮助我们避免一些pitfall的吧。就别如说,我看这本给法学院学员的书,说到了
会有的困难,比如english is the second language,只一句话,
而这里的JD,jd to be 该有更多我们可以借鉴的,不是吗?


















我以为,最牛的人是靠自己努力出来的,而不是一副高高在上的驾驶,pointingfingers

w***e
发帖数: 89
45
来自主题: Law版 - IP in China - Continue 1
http://in-pharmatechnologist.com/news/ng.asp?n=71622-ibm-intellectual-property-institute-china
26/10/2006 - IBM’s vice president of Intellectual Property (IP) Strategy,
Kevin Rivette, gives his views on the IP state-of-play on the ground in
China.
“The positives are obvious and the pitfalls are many,” he said speaking at
a recent conference held by the Intellectual Property Institute in London
titled: “The Chinese Opportunity: Successful Business Development in China.

“Everybody's getting ripp
a********e
发帖数: 3771
46
来自主题: MedicalCareer版 - MLMW:Humble vs. confidence (转载)
【 以下文字转载自 Pre_med 俱乐部 】
发信人: andyzzdlee (麦地之一看二慢三通过), 信区: Pre_med
标 题: MLMW:Humble vs. confidence
发信站: BBS 未名空间站 (Wed Jul 15 01:19:24 2009, 美东)
发信人: MLMW (mylifemyway), 信区: MedicalCareer
标 题: Humble vs. confidence: common pitfalls for Chinese applicants or
students
发信站: BBS 未名空间站 (Fri Mar 21 19:43:05 2008)
Being humble is a great asset. However, it is very often being misread as
lacking of confidence in the American culture.
So you have to show yourself whenever APPROPRIATE. If you are brillian
n**********u
发帖数: 14
47
来自主题: MedicalCareer版 - 请教如何读好EEG?
article:
Pearls, Perils, and Pitfalls in the Use of the Electroencephalogram
by Markand
introductory Book: primer EEG
L****n
发帖数: 12932
48
来自主题: MedicalCareer版 - ##### Newbie 的英语专线 ######

That is a common pitfall. OPEN YOUR MOUTH NOW. make mistakes when it doesn't
matter. don't wait till you are 'good enough'.
and not just pronunciation. It's mostly how you communicate - First
understand what people are saying, and respond appropriately, then you can
initiate the conversation and dissection other peoples response. Can you be
the one that direct a group's activity in English and make it lively? If you
can, you pass the first measure stick.
o*******r
发帖数: 1
49
响应号召。 分享一下平时用的词组。 如果大家有兴趣,我可以开一个周刊。
I will set out by giving the background first ...
To get everyone up to speed ...
I will kick off today's meeting by ...
I will start off with ...
I will cover this this and this and draw conclusions at the end.
The agenda of my talk today include ...And I will show the action plan at
the end.
I will touch on.
Lets touch bases..
Lets compare notes.
We need to get everyone on the same page.
Lets have a meeting impromptu or have an ad hoc meeting.
My brain just... 阅读全帖
l*****9
发帖数: 9501
50
来自主题: MedicalCareer版 - Debunking Canadian health care myths (转载)
【 以下文字转载自 USANews 讨论区 】
发信人: lqm1989 (Jeremy Lin), 信区: USANews
标 题: Debunking Canadian health care myths
发信站: BBS 未名空间站 (Sun Dec 29 12:46:25 2013, 美东)
http://www.denverpost.com/recommended/ci_12523427
Debunking Canadian health care myths
POSTED: 06/07/2009 01:00:00 AM MDT
By Rhonda Hackett
As a Canadian living in the United States for the past 17 years, I am
frequently asked by Americans and Canadians alike to declare one health care
system as the better one.
Often I'll avoid answering, regar... 阅读全帖
首页 上页 1 2 3 4 5 6 7 下页 末页 (共7页)