由买买提看人间百态

topics

全部话题 - 话题: semantics
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
l**********0
发帖数: 7
1
长期提供Deloitte职位内部推荐机会,地域不限,职位不限,请大家自行在https://
jobs2.deloitte.com/us/en/?icid=top_job-search上搜索详细职位要求,并将Resume以
及职位Requisition code发至[email protected]
/* */ 很抱歉因为工作比较忙很难
每封邮件及站内信都回复。但承诺只要你背景符合并且达到职位最低要求,我一定会尽
力帮大家内推。
General requirements for experienced hire:
1.Prefer at least 2+ years client service experience.
2.Hot skill sets we are looking for are in the following areas: Informatica
suite, Qlikview/Tableau, Big Data/Hadoop, Hyperion HFM/Planning, Pentaho,
Cognos TM1, MS BI stack (SSIS/S... 阅读全帖
b*******y
发帖数: 2048
2
转贴:
本周二,谷歌宣布斯坦福大学华裔教授成为谷歌人工智能团队新任领导者。
作为第一代中国移民,这位图像识别领域的杰出学者是如何从普林斯顿进入斯坦福,最
后成为谷歌人工智能团队新任领导者的?让我们来了解一下这名华裔学者实现美国梦的
传奇经历吧。
1976 年,李飞飞出生于北京,后来在四川长大
如果你真想做一件事,全世界都会来帮你。16 岁刚来美国的那两年,李飞飞却只能从
依靠自己开始。在帕西悉尼的白人圈子中,这位亚裔姑娘显得有点孤独,她像所有极客
一样过着简单的生活。那个时候打工与学习几乎占据了她所有的时间。李飞飞明白,这
就是普通新移民的生活,需要点牺牲和决心。幸运的是她的同学和高中数学老师在这时
给了她莫大鼓励和帮助。
1995 年,李飞飞进入普林斯顿大学攻读物理学,生活的大门终于渐渐为她打开。在周
一到周五,她是普林斯顿物理系拿着高额奖学金的高材生,周末则必须回到
Parsippany 的洗衣房,置身于成堆的衣服中。她说「我爱普林斯顿。」因为这里有全
世界最优秀的年轻天才。
然而生活的艰辛也在随着年龄增长,她见过斯坦福的优秀博士毕业生为一张绿卡四处奔
波,那时的她不明白也无法想象... 阅读全帖
y****r
发帖数: 211
3
Java Engineer/QA openings
Contact me by replying this message
============ Junior/Senior/Principal Engineer ============
Job Description
We are looking for a Software Engineer to help us build our personalization,
recommendations, and merchandising platform and applications.
We are building a team from scratch so you'll jump in at the ground floor.
You'll have the autonomy, responsibility, and access to all parts of the
technology stack (think UI to web services to Hadoop) that you'd never have... 阅读全帖
m****s
发帖数: 18160
4
【 以下文字转载自 CS 讨论区 】
发信人: ecfbs (wlec4bs), 信区: CS
标 题: Microsoft-funded PhD opportunity (software/ system verification)
发信站: BBS 未名空间站 (Fri Apr 12 13:40:39 2013, 美东)
Microsoft Research PhD studentship: Future Filesystems
======================================================
Project: Future filesystems: mechanized specification, validation,
implementation and verification of filesystems
Supervisors: Tom Ridge (with Andrew Kennedy at Microsoft Research)
Application deadline: 2013-06-02 (June 2nd)
... 阅读全帖
t******l
发帖数: 10908
5
来自主题: Parenting版 - WISC-V 智商测试
British syntax/semantics simplifier 拍马过来一看,说了一句:卧槽,虚词太多,
短修饰后置太坑爹,more 和 less 还分两词,顺序还反一下。骗猴子的把戏。
于是 British syntax/semantics simplifier 基于代数变换等价性,删虚词,短修饰
语改成前置,more 和 less 只用一个。这些都是纯形式变换,不需要理解意思。三下
五除二,最后调 formatter 给 text align 一下,收拾书包走人。
然后逻辑模块过来一看,卧槽,这么简单明了的事儿,老军医居然能写成 lexile
1600L+。不说了,老军医自己先去查查是不是被病人传染了 hyperlexia。// super
fast run

lexile
g********e
发帖数: 1638
6
来自主题: Returnee版 - 第二批青年千人点评--阳晓宇(ME)
196 阳晓宇
(ME) 男 1976/03/18 武汉理工大学 工程与材料科学 2007年12月
毕业于[比利时]鲁汶大学联盟和平圣母大学和吉林大学(联合培养) [比利时]比利时
国家科学研究基金委员会 责任研究员/Chargé de Recherch
这位青年千人喜欢写书,有两本。Journal文章不多,会议的不少。
本人有主页。
https://sites.google.com/site/kevnyang/publications
Selected Publications
Book
1. Author: Xiaoyu Yang
Book Title: “Toward Environmental Sustainability and Energy Efficiency: A
Methodology and Tools for Realising Product Service Systems Using Software
Agent”
Publisher: Lambert Academic publishing, Ger... 阅读全帖
y****r
发帖数: 211
7
来自主题: SanFrancisco版 - 【JOBS广告】04.15 -- 05.14
Java Engineer/QA openings
Contact me by replying this message
============ Junior/Senior/Principal Engineer ============
Job Description
We are looking for a Software Engineer to help us build our personalization,
recommendations, and merchandising platform and applications.
We are building a team from scratch so you'll jump in at the ground floor.
You'll have the autonomy, responsibility, and access to all parts of the
technology stack (think UI to web services to Hadoop) that you'd never have... 阅读全帖
t****n
发帖数: 20
8
【 以下文字转载自 Immigration 讨论区 】
发信人: tashen (图什么), 信区: Immigration
标 题: 求审稿机会(data mining, information security, network, semantic web)
发信站: BBS 未名空间站 (Sat Jan 25 19:15:59 2014, 美东)
求审稿机会(data mining, information security, network, smart spaces,
semantic web)
t*******w
发帖数: 50
9
来自主题: Seattle版 - Job Opportunities at Alibaba (Seattle)
a) Algorithm Engineer -- Natural Language Understanding
Responsibilities:
Work on developing a semantic comprehension system to facilitate the
interaction between computer system and human subjects.
Follow the recent advances in NLU area, work with business unit to implement
the state-of-the-art technology into products.
Requirements:
Should be an expert on nlp parsing, name-entity extraction, semantic
comprehension, and human computer interaction.
Strong coding skill using one of the programmin... 阅读全帖
G***a
发帖数: 27294
10
来自主题: loseweight版 - 新官上任果然三把火。
。。。新警察/////这是自我调侃话。。。
平时真是过于注意形象了,所以经常被人欺负,,,很多年了,委屈太多,偶尔忍不住
。 :)
PS: 母语不母语,不在领会不领会微妙意思,这个是可以后天学的,跟口音一样,虽
然难学,但是是可学的,而且我领会的特好。
最不可学的,也是区分母语的关键性marker是syntactic parsing。。。。这话题就长
了,有兴趣咱慢慢讨论。~~~
这我真不是跟你较真啊,是真的syntactic parsing比semantics更能区分母语不母语,所以你不能拿semantics好不好和母语不母语挂钩。这是有大量研究的。。。
i*******6
发帖数: 234
11
来自主题: loseweight版 - 新官上任果然三把火。
这我真不是跟你较真啊,是真的syntactic parsing比semantics更能区分母语不母语
语言形式上,我有点在意。
我就是有一个臭毛病,看见冗余词汇就浑身激灵一下。
当一个语言form上不好的冗余词汇,被无数人来回来去的用的时候,我就激灵来,激灵
去,觉得浑身痒痒。。。
比如说,华人上很多人经常说的"真心觉得**不好看"
或者是"真心觉得"后面加一句比较难听的话。
我一看就浑身痒(是真的physically 痒)。
因为"觉得**难看"还需要加上"真心"吗?那肯定是真心的啊!!。。你都有勇气
说出来了,没人怀疑你不真心啊。
"不刻意节食"也是。就说"不节食"就行了。刻意两个字完全是冗余。
总之,对没有信息量的词汇,反复被使用,我有一种想划横线把其删除的强迫症。。。

,所以你不能拿semantics好不好和母语不母语挂钩。这是有大量研究的。。。
s***n
发帖数: 812
12
英国诗人Edward Thomas死于一战末期,1917年法国battle of Arras的第一天。生前,
Thomas与Robert Frost亲善,在后者鼓励下,从他们相识的1914年开始作诗,直到1917
年为止;其中包括如下题为“Will you come?”的小诗:
WILL you come?
Will you come?
Will you ride
So late
At my side?
O, will
you come?
Will you come?
Will you come
If the night
Has a moon,
Full and bright?
O, will you come?
Would you come?
Would you come
If the noon
Gave light,
Not the moon?
Beautiful, would you come?
Would you have come?
Would you have come
Without scorning,
Had it been
Still morning?
Beloved... 阅读全帖
s***n
发帖数: 812
13
英国诗人Edward Thomas死于一战末期,1917年法国battle of Arras的第一天。生前,
Thomas与Robert Frost亲善,在后者鼓励下,从他们相识的1914年开始作诗,直到1917
年为止;其中包括如下题为“Will you come?”的小诗:
WILL you come?
Will you come?
Will you ride
So late
At my side?
O, will you come?
Will you come?
Will you come
If the night
Has a moon,
Full and bright?
O, will you come?
Would you come?
Would you come
If the noon
Gave light,
Not the moon?
Beautiful, would you come?
Would you have come?
Would you have come
Without scorning,
Had it been
Still morning?
Beloved... 阅读全帖
S***n
发帖数: 2932
14
英国诗人Edward Thomas死于一战末期,1917年法国battle of Arras的第一天。生前,
Thomas与Robert Frost亲善,在后者鼓励下,从他们相识的1914年开始作诗,直到1917
年为止;其中包括如下题为“Will you come?”的小诗:
WILL you come?/ Will you come?/ Will you ride/ So late/ At my side?/ O, will
you come?
Will you come?/ Will you come/ If the night/ Has a moon,/ Full and bright?/
O, will you come?
Would you come?/ Would you come/ If the noon/ Gave light,/ Not the moon?/
Beautiful, would you come?
Would you have come?/ Would you have come/ Without scorning,/ Had it been/
Sti... 阅读全帖
N***2
发帖数: 53
15
来自主题: LeisureTime版 - 【年终征文】母女关系
Amy Tan曾经在Joy Luck Club一书里曾经提到她母亲和她的一段对话,她母亲对她
说:“I never expect, just hope.”。每一对母女都有一种特殊的关系,无论是一种
根的延续,还是一种性格的撞击,都只有她们自己才能体会。这种关系会在时间和空间
的变化中越拉扯越紧密。当然,每段关系都有一段特殊的背景,当当事人分享自己的故
事的时候,旁观者当然也只有把自己放到当事人的背景下去理解才会有更深的体会。
就喜福会里提到的四对华裔母女,她们的关系也在美国的环境下改变着。那些母亲
有着不同的过去,她们中有人逃婚,有人被强奸,有人在逃难中遗失了自己的孩子,有
人看着自己母亲自杀,不论她们曾经的命运在她们的性格中留下了怎样的痕迹,她们被
改变后的性格也都在自己的女儿身上得到了延续。在新的环境下,女儿们带着自己的个
性依然经历着那些看似与父辈们不同却同样折磨人的生活,女儿们能否在母女关系的成
长中找到真实的自己从而去获得真正的幸福呢。故事里的母亲最终都赋予女儿更强的生
命力去面对未来。
真正的爱是有伤害的,爱得越深伤害也可能越深,哪怕是母女之间,因为... 阅读全帖
s**********n
发帖数: 3199
16
来自主题: LeisureTime版 - 逻辑和计算机
没看楼主原帖--cs的表示有洁癖没法读...开始觉得你也是cs的,后来看到peano
arithmetic觉得你还是数学系底,,,
目测楼主所谓自洽不是sound把,是指consistency吧...当然consistency完全不足
与soundness,completeness并列,从cs角度,重要性难望soundness/completeness项
背。
洁癖再为你补充下:soundness指whatever provable (in the proof system) is
indeed semantically true (according to the logic) (completeness反之,any
truth is also provable),严格说,soundness/completeness一起组成任何逻辑系统
的最重要性质--即是否存在proof system that is sound and complete;稍次是
decidability涉及有无procedure可以在某proof system里能derive (prove) 所有
stateme... 阅读全帖
a*o
发帖数: 25262
17
橙与苹果之比较观
大学申请书征文曹起曈2015年11月17日
纽约时报中文网正在举办一项征文竞赛,邀请申请美国大学本科课程、并成功拿到
Offer的中国读者分享帮助他们拿到入学资格的申请文书。我们期待更多赴美的优秀留
学生读者参与我们的活动。点击此处,了解更多信息。
下文是由曾为中文网撰稿的留学生曹起曈提供的样稿。曹起曈毕业于南京外国语学校,
现就读于斯坦福大学。本文写于2013年10月,是他申请芝加哥大学时提交的文章(他已
被该校录取)。下文由他本人翻译成中文。
(申请书命题)苹果与橙应当如何比较?答案可以涉及统计学、化学、物理系、语言学
、哲学,但无须局限于此。——题目由2015届学生弗洛伦斯·陈(Florence Chen)启发
所谓比较,就是辨析其相似和不同之处。对于“苹果”(apple)和“橙”(orange)而言
,这一比较非常直观——两者皆可作名词,而唯有“橙”亦可解作形容词(例如,我的
T恤衫是橙的,你有另一件苹果颜色的T恤衫,但你却不能说“我的T恤衫是苹果的”)
。答毕。
但我们自然要刨根究底。当我们在谈论“苹果”时,所有人都知道我们在谈论什么,而
“橙”也一样。(当... 阅读全帖
p****s
发帖数: 3184
18
The science and technology of joking:
Syllepsis
Syllepsis is a particular type of zeugma in which the clauses are not
parallel either in meaning or grammar. It is also know as a semantic zeugma.
The governing word may change meaning with respect to the other words it
modifies. This creates a semantic incongruity that is often humorous.
Alternatively, a syllepsis may contain a governing word or phrase that does
not agree grammatically with one or more of its distributed terms. This is
an intentio
G***a
发帖数: 27294
19
来自主题: WaterWorld版 - 关于学习英语的想法
lz你想法是很好的,但是对语言学的文献需要更深的阅读,才能把你的想法organize在
一起
现在你的文章把好几个概念Mix在一起了,如果你有兴趣,我可以给你提供几个
reference
第一个你要明白的问题是,婴儿第一语言获得(first language acquisition)是
statistical learning (这是现在流行的理论)。
婴儿并不是definitively知道,什么是猫,什么是狗,什么叫“五颜六色”,什么叫“
轻重缓急”
婴儿是根据平时的context来“计算”,说哪个词哪句话,对的可能性最大,能够得到
最大的reward
成人,在学习的时候,是algebric learning。主语,谓语,宾语,你知道一个公式然
后往里套
所以学习的pattern不一样。成人没有试验chances的过程。
第二个问题,每个语言的semantic mapping,并不是完全一样的。也就是说,
字典对着字典翻译出来的意思,并不map到人脑子里完全一样的概念。这点在很多计算
模型里都有
你可以搜索LSA来看看。这是计算semantic mapping的一个matrix
简单... 阅读全帖
O******e
发帖数: 734
20
来自主题: EnglishChat版 - 这个英语怎么说?
The original phrase may be acceptable colloquially, but it is not good
diction and semantically incorrect.
The proper semantics should be
某种工具(不)适用于某种用途。
and not
某种工具(不)适用于某个地方。
G***a
发帖数: 27294
21
来自主题: Love版 - 為什莫這樣呢?
谁都可以用繁体
但是真正能判断的,是遣词造句的方式,也就是 semantic 和syntax
她的semantic 和syntax都明显是大陆南方人
S***n
发帖数: 2932
22
来自主题: ChineseClassics版 - 【歌行】登宝帝山歌
优点就不赘述了,自惭形秽。
下面全是令我奇怪的地方,考虑到我最近半年刚刚开始看书,正在努力“文”“化”,
我的大惊下怪,你当成娱乐看看就好。嘻嘻。
"谒"不是一个平常的词,含义不说,起码有强调的作用,然而后面紧接的“暴雪、奇瑰
”都不算形容山的特别词汇,令人的盼望落空。
小序以下正文中虽然有些不平常的景色描述,比如蚩尤遣兵,夸父力竭(来形容今日之
等山者)等等,却形容的是登顶前人,而不是山本身,最多明月照古人之叹。总之"谒"
惊醒的抛出,却没有足够的对象描写回应(来支撑)。
当中“疑是瑶池覆人间,花散连宵成白壁”没问题,但是我不知道它怎么能够和前面的
“岭埋翠鸟”以及后面的“松柏森森”呼应。
如果翠鸟句后移到白壁后,我还能跟上思路,但即使如此,我也想象不出瑶池里松柏寒
肃是什么情景。天光惨惨中的“惨惨”读起来又凑字的嫌疑,本身和云络绎是否搭配,
我觉得可以再考虑。
lslsls的ls有同学提建议分段,我想恐怕不仅是方面读者的考虑。本身semantics有停
顿的
地方。比如上面这段。我觉得连贯,但是和前后,起码令我困惑,what's the
connection?
what's the... 阅读全帖
s*y
发帖数: 933
23
This is a reply to dreambaby's post regarding "did God command Abraham to burn his son Issac as an offering":
http://www.mitbbs.com/article_t/TrustInJesus/741397.html
That "someone" you mentioned in the post linked above was me. After reading your post, on one hand, I'm glad you decided to answer and explain more about your views. But on the other hand I'm a bit sad to see that all your explanations boil down to just playing semantics. Not only does this not help in explaining your views, it act... 阅读全帖
s*********a
发帖数: 801
24
来自主题: TrustInJesus版 - 谁是 罗伯特·爱因斯坦?
记得很多年前,有 email 传播这个:
Subj: God -vs- science
Be sure to read it all the way to the end.
"Let me explain the problem science has with Jesus Christ." The atheist
professor of philosophy pauses before his class and then asks one of his new
students to stand.
Why is a philosophy teacher, woops, professor (that word sets up our
instructor as the bad guy, as if atheist wasn't enough) talking about
science and not philosophy? And when was the last time a college professor
asked one of his students to st... 阅读全帖
a******y
发帖数: 884
25
【 以下文字转载自 astrology 讨论区 】
发信人: soren ()*&(^), 信区: astrology
标 题: 【双鱼座活动]Will you come?Would you have come?
发信站: BBS 未名空间站 (Tue Feb 21 20:00:37 2012, 美东)
英国诗人Edward Thomas死于一战末期,1917年法国battle of Arras的第一天。生前,
Thomas与Robert Frost亲善,在后者鼓励下,从他们相识的1914年开始作诗,直到1917
年为止;其中包括如下题为“Will you come?”的小诗:
WILL you come?
Will you come?
Will you ride
So late
At my side?
O, will
you come?
Will you come?
Will you come
If the night
Has a moon,
Full and bright?
O, will you come?
Would you come?
Would you come
If t... 阅读全帖
P****e
发帖数: 385
26
来自主题: Apple版 - iPad能创造出一个新的市场
为什么有这么多人纠结semantic的东西呢?其实文章的意思你都明白。
除非你认为semantics影响文章的argument。
R*********n
发帖数: 99
27
Dears,
我们在给一家美资公司招聘Sr.PHP Developer & Sr.Front End Developer若干,这些
职位都会放在中国上海。这家美资公司正在上海建立一个新的团队。如有兴趣申请,请
将最新简历发至[email protected]
/* */
诚招有意向回国发展的技术人才,具体要求如下:
!Senior PHP Developer
Requirements:
* Expert level PHP, experience with PHP framework, Zend Framework,
CodeIgniter, Yii etc.
* Experience with PHP CMS system, Wordpress, Drupal etc.
* Experience with Database and Cache system, MySQL, Memcached, Redis etc.
* Semantic markup best practices, working knowledge of HTML5
* Expert level CS... 阅读全帖
r*****e
发帖数: 32
28
http://www.sklse.org/homepage/zc/
好像提的很快啊
Journal:
1. ZENG Cheng, Ou Wei-jie, CUI Xiao-jun, Event Semantic Recognizing Based on
Markov Chain, International Journal of Communication and Computer, Vol.5,
No.6, Jun 2008, p1-9
2. ZENG Cheng, CAO JiaHeng, PENG ZhiYong, WANG Ke, WANG Hui, A Novel Cross-
media Layered Semantic Mining Model, Wuhan University Journal of Natural
Sciences, Vol.13, No.1, 2008, p21-26
3. Liu Xiaozhu, Sun Sha, Zeng Cheng, Peng Zhiyong. An Inverted Index
Mechanisms Based on Bu
g*********s
发帖数: 44
29
来自主题: CS版 - 新的搜索引擎Yebol
semantic的engine好多,效果都不怎么样

semantic
w****2
发帖数: 12072
30
来自主题: CS版 - Stevey's Google Platforms Rant
Stevey's Google Platforms Rant
I was at Amazon for about six and a half years, and now I've been at Google
for that long. One thing that struck me immediately about the two companies
-- an impression that has been reinforced almost daily -- is that Amazon
does everything wrong, and Google does everything right. Sure, it's a
sweeping generalization, but a surprisingly accurate one. It's pretty crazy.
There are probably a hundred or even two hundred different ways you can
compare the two companies... 阅读全帖
r*****3
发帖数: 143
31
中文名: 挖掘社交网络
原名: Mining the Social Web: Analyzing Data from Facebook, Twitter, LinkedIn
, and Other Social Media Sites
作者: Matthew A. Russell
图书分类: 软件
资源格式: PDF
版本: 英文文字版/更新源代码
出版社: O'Reilly
书号: 978-1449388348
发行时间: 2011年
地区: 美国
语言: 英文
简介:
内容简介:
Popular social networks such as Facebook and Twitter generate a tremendous
amount of valuable data on topics and use patterns. Who’s talking to whom?
What are they talking about? How often are they talking?
This concise and practical book shows you how to... 阅读全帖
t****n
发帖数: 20
32
【 以下文字转载自 Immigration 讨论区 】
发信人: tashen (图什么), 信区: Immigration
标 题: 求审稿机会(data mining, information security, network, semantic web)
发信站: BBS 未名空间站 (Sat Jan 25 19:15:59 2014, 美东)
求审稿机会(data mining, information security, network, smart spaces,
semantic web)
e***g
发帖数: 158
33
ThreadStatic should be a runtime thing (well it could be done by
compiler but its semantics is runtime)
it's very wrong to use Attribute for it though. variable access is
core semantics, the behavior shouldn't be modified by an attribute.
and u think there are only a limimted set of such Attributes?
MS must have tons of them internally. i heard some.
a*****l
发帖数: 5
34
Thank u all guy!:)

ThreadStatic should be a runtime thing (well it could be done by
compiler but its semantics is runtime)
it's very wrong to use Attribute for it though. variable access is
core semantics, the behavior shouldn't be modified by an attribute.
and u think there are only a limimted set of such Attributes?
MS must have tons of them internally. i heard some.
e***g
发帖数: 158
35
来自主题: Java版 - faint, unreachable statement in java
sure javac knows that it is dead code, and will eliminate it. (javap -c)
however, semantically, if() is a runtime thing; javac has to
treat the two situation differently when compiling.
practically this is very useful, for example,
1. final boolean FLAG=true;
2. if(FLAG)... else...;
you can change line 1, to be false, or to be non-const,
but compiler should not give different message to line 2,
(though indeed very different bytecodes are generated)
because structure and semantics of of line 2
s******e
发帖数: 493
36
来自主题: Java版 - java的一个问题
其实parent's variable都被"inherited"了, 只不过可能不能在subclass直接访问
You can think in that way. After all, super class's private variables will
be initialized after the constructor of a super class is called at run time.
But semantic visibility control is really the job of compiler. If you got
that wrong, the compiler wouldn't let you go. Also you might want to know
that semantic visibility is controlled at class level not at object level.
a*****i
发帖数: 4391
37
来自主题: Linux版 - [原创] emacs和vim的区别。
emacs is not written as an editor. Sure you can do all kind of fancy stuff
with it. IRC, email, newsgroup, shell emulator(eshell), semantic IDE (ecb,
semantic etc.), media junkbox, RSS reader, Video editor. It is hard to find
something that you can not do with emacs.
But it doesn't do editing very well, unless you install a crapload of
scripts, it is far less convenient to use as an editor. For example, you
need to write your own function to do what can be done in vim with one key '
%'.
vim, on
c********e
发帖数: 383
38
来自主题: Programming版 - 被reference搞晕了
IMHO, both case 1 and 2 are correct c++ code.
for case 1 when the reference is returned, it is made into
a temporary object first, which is the semantic of return by value.
for all POD and user defined types, there must be a copy constructor
which takes a reference type and return (not really return, but contruction)
a object of that type. which is then returned to the caller.
so ur case 1 fn semantic is: (assuming do something instead of do nothing
in your fn definition)
change the object passe
c********e
发帖数: 383
39
来自主题: Programming版 - 被reference搞晕了
IMHO, both case 1 and 2 are correct c++ code.
for case 1 when the reference is returned, it is made into
a temporary object first, which is the semantic of return by value.
for all POD and user defined types, there must be a copy constructor
which takes a reference type and return (not really return, but contruction)
a object of that type. which is then returned to the caller.
so ur case 1 fn semantic is: (assuming do something instead of do nothing
in your fn definition)
change the object passe
t****t
发帖数: 6806
40
this is definitely not a bug because c++ compiler is designed that way. comp
iler has no responsibility for your multithread semantics. it only guarantee
your semantics are correct for single-threaded programs.
p***o
发帖数: 1252
41
来自主题: Programming版 - how do I reseat a reference?
[31.1] What is value and/or reference semantics, and which is best in C++?
http://www.parashift.com/c++-faq-lite/value-vs-ref-semantics.html
d****p
发帖数: 685
42
来自主题: Programming版 - 问一个 copy constructor 的问题 (C++)
Thats no point: A a(1) semantically identical to A a = 1. And the standard
has already indicated it may trigger move semantics.
Even the simplest compiler will do that without optimization turned on.
v*****r
发帖数: 1119
43
semantic difference betwwen ++i, i++ in java is the same as in c. (In c++,
it is more complicated as people can overload ++ operator).
In my opinion, in java or c, ++i should always be used instead of i++ since
its semantic is aligned with human logic even when coders don't know the
difference.
r*****3
发帖数: 143
44
来自主题: Programming版 - Think Python
Title:Think Python
By: Allen B. Downey
Publisher:O'Reilly Media
Ebook: August 2012
Pages: 300
If you want to learn how to program, working with Python is an excellent way
to start. This hands-on guide takes you through the language one step at a
time, beginning with basic programming concepts before moving on to
functions, recursion, data structures, and object-oriented design.
Through exercises in each chapter, you’ll try out programming concepts as
you learn them. Think Python is ideal for stu... 阅读全帖
r*****3
发帖数: 143
45
来自主题: Programming版 - HTML5 for .NET Developers
SUMMARY
HTML5 for .NET Developers teaches professional software engineers how to
integrate the latest HTML5 APIs and semantic markup into rich web
applications using JavaScript, ASP.NET MVC, and WCF. Written from the .NET
perspective, this book is full of practical applications and ways to connect
the new web standards with your existing development practices
ABOUT THIS BOOK
HTML5 for .NET Developers teaches you how to blend HTML5 with your current .
NET tools and practices. You'll start with a ... 阅读全帖
a*****e
发帖数: 1700
46
来自主题: Programming版 - scala很牛啊

鼓掌!这结语讲的真心好。
楼主给出的 foldLeft 写法,和普通用循环的写法并无很大的分别,都是描述的计算
powerset 过程。而上述用 filterM 的写法,直接对应的是 powerset 的数学定义。
这两种表达方式的差别,正是 operational semantics 和 denotational semantics
的差别。通常,denotational 的抽象程度要高一些,但从另一个角度看,operational
可以更细致地区分语义上的差别。所以,取决于使用的上下文,并不能笼统地说一种
就一定好于另一种。
但是从语言设计的角度出发,即能够允许 operational 也能够允许 denotational 方
式定义函数或者描述事件的程序语言,要比只能允许其中一种方式的语言要更加
expressive。
的确,多数情况下我们并不关心 powerset 是如何实现的,有现成的库函数调用就好了
。但是不深入学习,就会错过一次锻炼抽象能力的机会。而正确恰当的抽象能力,才是
一个 architect 和一个 engineer 的真正区别。
After all, comp... 阅读全帖
k**********g
发帖数: 989
47
来自主题: Programming版 - C++设计疑问

(1) std :: unique_ptr < T > (C++11) does not require T to implement copy
semantics.
http://en.cppreference.com/w/cpp/memory/unique_ptr
(2) range declaration type ... my personal advice is this.
for ( Pack & iter : pack_map_ ) { ... }
Pay attention that I specify the reference (ampersand), which avoids the
copy semantics issue.
This is actually a quite common problem. C++ programmers I know forgot that
without taking the reference (ampersand), the range-based for in C++11 will
make copies. Thus,... 阅读全帖
l****n
发帖数: 156
48
谢谢回复,我举个例子。
IRS有个PFIC-compliant report的规定,简单说,针对美国纳税居民申报持有外国基金
的税务处理,对应的FORM 8621。因为跨境居住的美加居民比较多,所以这个问题还是比
较常见的。
我当然可以把目前的规则HARD CODING到代码里。
但是,关于加拿大的RESP账户,一直存在争议。如果IRS改变主意了,承认RESP和RRSP
具有同样地位,RESP不再属于PFIC了,软件该怎么办呢?
我当然可以打开EMACS,一行一行改代码。
然后,IRS又改变注意了,承认加拿大的TFSA也具有同样地位。
然后,IRS又承认欧洲的某个国家的基金不是PFIC了(因为其主要投资于美国)。
然后,IRS又承认百慕大的某个基金不是PFIC了。
然后。。。。。
可是我不想这么做,不想把每年的软件更新变成一项体力劳动。
所以,我想把税法的具体规则抽象出来,用一种类似简单英语的表示方法,存在JSON里。
每年开春,我就根据IRS的新规则,更新一下这个JSON文本,然后软件会对其做
semantics parsing,产生新的运算规则,并生成新的版本。
我发帖的目的,就是... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)