由买买提看人间百态

topics

全部话题 - 话题: derived
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
h*****g
发帖数: 312
1
来自主题: JobHunting版 - C++ 一题
class Base{
public:
Base();
virtual ~Base();
};
class Derived: protected Base{
public:
virtual ~Derived();
};
int _tmain(int argc, _TCHAR* argv[])
{
Base *pd = new Derived;
getchar();
return 0;
}
Referring to the sample code above, which one of the following statements is
true?
A.
A constructor needs to be added to Derived class.
B.
The pointer returned by new cannot be type cast from Derived* to Base*.
C.
A pointer to a Base class cannot point to an instance of a Derived class.
D.
Derived class... 阅读全帖
p****u
发帖数: 2596
2
【 以下文字转载自 WaterWorld 讨论区 】
发信人: rockbird (Frostmourne hungers.), 信区: WaterWorld
标 题: 新生儿被冲下马桶,2天后救出
发信站: BBS 未名空间站 (Tue May 28 12:15:18 2013, 美东)
找出谁干的,可以直接剐了
http://www.nydailynews.com/news/world/chinese-baby-boy-found-fl
_gen/derivatives/landscape_635/1322542l.jpg
_gen/derivatives/landscape_635/1322542m.jpg
_gen/derivatives/landscape_635/520118086.jpg
_gen/derivatives/landscape_635/520118055.jpg
_gen/derivatives/landscape_635/china-baby.jpg
_gen/derivatives/landscape_635/article-toliet2-0528.... 阅读全帖

发帖数: 1
3
来自主题: Returnee版 - 中国骨干人才正在流失海外
12月27日 为什么我要替中国辩护
我要替中国辩护,并不是因为我是一个中国人,而是因为我知道中国就和这世界上绝大
数的国家一样,虽然有很多丑陋的现象,但是他们是受害者。就
象这个犯罪集团里很多的人一样,他们来自各种种族,他们可能充当了工具,但他们不
是制造这一切,谋划这一切的人。虽然经常会暴露中国产品出现问题。但要知道中国是
世界工厂,他们只是打工者,他们只是按照各种雇主提供的配方来生产,他们并不知道
他们会产生怎样的后果。或者这些工人知道后果,但他们只是奴隶,他们又如何去改变
这一切? 所以,当我的调查不断往前推进的时候,不可避免地会涉及各国的企业,但
这并不表明是针对这个国家或这个国家的人民,而是针对一种社会现实和丑陋现象。就
拿菲律宾来说,菲律宾是一个犯罪猖獗的国家,有很多犯罪分子,但是菲律宾人民却是
这个集团的受害者,他们/她们被绑架,沦为了牺牲品,人体实验对象。一个日本人,
强奸上千名菲律宾女孩,却没有受到惩罚。以前我也提到过,有20个国家的名单,这20
个国家的人民其实都是受害者。现在他们把矛头对准中国,或许仅仅是因为我揭示了他
们图害世界人民的内幕,而我是一个中国人的缘... 阅读全帖
k********n
发帖数: 18523
4
Would America be a better place without Goldman Sachs (GS)? Of course it
would. The "vampire squid" of Wall Street does not care about the future of
America. Sadly, Goldman Sachs apparently does not even care much about their
own clients. What Goldman Sachs is all about is making as much money as
humanly possible. In the end, there is nothing wrong with making money, but
there are constructive ways to make money and there are destructive ways to
make money. Unfortunately, Goldman Sachs seems to ... 阅读全帖
c*********o
发帖数: 8367
5
【 以下文字转载自 WaterWorld 讨论区 】
发信人: rockbird (Frostmourne hungers.), 信区: WaterWorld
标 题: 新生儿被冲下马桶,2天后救出
发信站: BBS 未名空间站 (Tue May 28 12:15:18 2013, 美东)
找出谁干的,可以直接剐了
http://www.nydailynews.com/news/world/chinese-baby-boy-found-fl
_gen/derivatives/landscape_635/1322542l.jpg
_gen/derivatives/landscape_635/1322542m.jpg
_gen/derivatives/landscape_635/520118086.jpg
_gen/derivatives/landscape_635/520118055.jpg
_gen/derivatives/landscape_635/china-baby.jpg
_gen/derivatives/landscape_635/article-toliet2-0528.... 阅读全帖
c**********a
发帖数: 92
6
NSC EB1b, 2013年十月的I140,直接被NOID了。30天之内递交了一个response,惊险的
过了。具体NOID信息与NOID response可以参见
http://www.mitbbs.com/article_t/Immigration/33069809.html
http://www.mitbbs.com/article/Immigration/33100091_3.html
2013年十二月初递交485。结果primary applicant二月底批了,derivative applicant
一直是acceptance。
primary applicant的卡邮寄了4天以后,USPS突然没法跟踪状态了。打电话给USPS,邮
局内部发了个ticket,最后找到了。邮局说是KNOXVILLE, TN 的sorting machine把我
的邮件扔错box了,结果寄到另一个城市了。哭笑不得啊
三月底做过一次info pass。IO说derivative application一切正常,还说什么
derivative case批的慢是因为primary case批的太... 阅读全帖
a*o
发帖数: 25262
7
【 以下文字转载自 WaterWorld 讨论区 】
发信人: rockbird (Frostmourne hungers.), 信区: WaterWorld
标 题: 新生儿被冲下马桶,2天后救出
发信站: BBS 未名空间站 (Tue May 28 12:15:18 2013, 美东)
找出谁干的,可以直接剐了
http://www.nydailynews.com/news/world/chinese-baby-boy-found-fl
_gen/derivatives/landscape_635/1322542l.jpg
_gen/derivatives/landscape_635/1322542m.jpg
_gen/derivatives/landscape_635/520118086.jpg
_gen/derivatives/landscape_635/520118055.jpg
_gen/derivatives/landscape_635/china-baby.jpg
_gen/derivatives/landscape_635/article-toliet2-0528.... 阅读全帖
r******d
发帖数: 4666
8
来自主题: WaterWorld版 - 新生儿被冲下马桶,2天后救出
找出谁干的,可以直接剐了
http://www.nydailynews.com/news/world/chinese-baby-boy-found-fl
_gen/derivatives/landscape_635/1322542l.jpg
_gen/derivatives/landscape_635/1322542m.jpg
_gen/derivatives/landscape_635/520118086.jpg
_gen/derivatives/landscape_635/520118055.jpg
_gen/derivatives/landscape_635/china-baby.jpg
_gen/derivatives/landscape_635/article-toliet2-0528.jpg
_gen/derivatives/landscape_635/article-toliet4-0528.jpg
c*y
发帖数: 137
9
Sure, if you don't override the toString() method in the derived class, you
will inherit one from the base class but that method only has access to fields
defined in the base class.
If you override it, then you can use a base type to refer to the derived type
and the right method will get called:
Derived d=new Derived();
System.out.println(d); //derived
Base b = new Derived();
System.out.println(b);//derived.
These two calls are the same.

method,
w********p
发帖数: 948
10
#include
using namespace std;
class Base
{
public:
Base(){ cout<<"Constructor: Base"< ~Base(){ cout<<"Destructor : Base"< };
class Derived: public Base
{
//Doing a lot of jobs by extending the functionality
public:
Derived(){ cout<<"Constructor: Derived"< ~Derived(){ cout<<"Destructor : Derived"< };
int main()
{
Derived *Var = new Derived();

Base Var2;
Var2 = (Base) *Var;
delete Var;
return 0;
}
output:
Constructor: Base //1
Co
J*****n
发帖数: 4859
11
来自主题: Programming版 - static polymorphism一问
template
struct base
{
void interface()
{
// ...
static_cast(this)->implementation();
// ...
}
};
struct derived : base
{
void implementation();
};
上面的程序如果用父类指针指向儿子,那似乎是如下的写法:
base *p = new derived()
这里的话,如果已经事先知道了所指向的对象是derived的,那么直接用derivaed的指
针去指就可以了。何必画蛇添足呢?
还是我的理解有问题?
请高手指点一下。
谢谢。
n***p
发帖数: 7668
12
首先呢,一个包子是10伪币, 这个我不太关心。
本着把问题讲清楚的原则,let me try again.
Because of the symmetry,
taking derivative in y = - taking derivative in x.
Hence
"take derivative to y, then let y=0"
= - "take derivative to x, then let y=0"
= - "let y=0, then take derivative to x".
This is why when you take partial derivatives m times, there must be
a constant C = (-1)^m.

let y=0" and "let y=0, then take derivative to x" are the same, i.e, why
"differentiation" commutes with "taking value", which is the critical... 阅读全帖
f*d
发帖数: 49
13
来自主题: Quant版 - Equity Linked Sturctured Notes
bank issued corporate bond or CD + equity derivatives (usually exotic
derivatives, like Asian option, barrier option, basket option, rainbow
option etc)
equity linked structured notes has the biggest market share within
structured notes category. You can use any derivatives to replace equity
derivatives, for example commodity derivatives, interest rate derivatives,
FX derivatives, then it becomes jjj linked structured notes - however they
are much smaller in volume than equity linked.
w**********l
发帖数: 8501
14
来自主题: _Stockcafeteria版 - TA真面目

===================
这本书里没有PDE啊,我提的那本书贯穿PDE写的啊,否则怎么会称之为理论书呢,总共
十几章,我本来奔着PDE去的。 这是你这本书的目录,内容还是倾向于trading system
的科普吧。
Options, Futures, and
Other Derivatives, Eighth Edition
1. Introduction
2. Mechanics of Futures Markets
3. Hedging Strategies Using Futures
4. Interest Rates
5. Determination of Forward and Futures Prices
6. Interest Rate Futures
7. Swaps
8. Securitization and the Credit Crisis of 2007
9. Mechanics of Options Markets
10. Properties of Stock Options
1... 阅读全帖
w**********l
发帖数: 8501
15
来自主题: _Stockcafeteria版 - TA真面目

===================
这本书里没有PDE啊,我提的那本书贯穿PDE写的啊,否则怎么会称之为理论书呢,总共
十几章,我本来奔着PDE去的。 这是你这本书的目录,内容还是倾向于trading system
的科普吧。
Options, Futures, and
Other Derivatives, Eighth Edition
1. Introduction
2. Mechanics of Futures Markets
3. Hedging Strategies Using Futures
4. Interest Rates
5. Determination of Forward and Futures Prices
6. Interest Rate Futures
7. Swaps
8. Securitization and the Credit Crisis of 2007
9. Mechanics of Options Markets
10. Properties of Stock Options
1... 阅读全帖
w*********g
发帖数: 30882
16
平井宪夫揭示日本核电业惊天内幕——素人造核电,豆腐渣工程
作者:蜀中行 更新时间:2011-3-16
设施配管1级技士平井宪夫(1997年1月因癌症逝世)生前的最后吶喊。
/来自中华网社区 club.china.com/
/来自中华网社区 club.china.com/
关于平井宪夫:
1997年1月逝世。设施配管1级技士,核电事故调查国民会议顾问,核电劳工救济中
心代表,北陆电力志贺核电厂停止诉讼原告特别辅佐人,东北电力女川核电停止诉讼原
告特别辅佐人,福岛二号核电厂三号机运转停止诉讼原告证人。「核电劳工救济中心代
表」在他仙逝后,因后继无人关闭
"我不是反核运动家。这20年来,我一直在核电厂工作。社会上有听不完的拥核反
核理论,但我只想在这里告诉大家:「所谓的核电厂是这样一回事。」大部份的人都不
知道核电内部的实际情形。希望大家有耐心把这篇文章读完。所谓核电,跟各位所想的
或许有点出入。在那里,每天都有遭受放射线污染的工人,以及严重的岐视产生。
我的专长,是负责大型化学工场的内部配管施工与维修。快30岁时,日本掀起了一
阵核电建设的... 阅读全帖
j****i
发帖数: 305
17
来自主题: JobHunting版 - 【JOBS】招多个Quant/Quant developers
帮recruiter发的. 有意者请直接与他们联系.
Please send resume to f*****************[email protected]
Quantitative Developer (C++/Credit Trading)
The Trading Division is supported by a dedicated team of software developers
and quantitative analysts who are part of the broader Information
Technology Group (ITG). The ITG team works closely with the business to
rapidly design, develop, and deploy front-to-back solutions that encompass
all aspects of the business, including:
Pre-trade analysis, price capture
Trade capture... 阅读全帖
h****n
发帖数: 3447
18
来自主题: Stock版 - very interesting statement
MetLife 4Q net income falls on derivative losses:
"MetLife uses derivatives -- contracts whose values depend on the financial
performance of underlying assets -- to hedge its exposure to risks, such as
changes in interest rates and fluctuations in foreign currencies. Movements
in those areas cause gains and losses on derivatives for MetLife.
Derivative losses of $1.54 billion deepened from year-ago derivative losses
of $782 million."
用来hedge(买保险)的钱亏了都能影响全局了,不是拿1billion去hedge 1million 吧。 LOL
"Exc... 阅读全帖
s********i
发帖数: 17328
19
来自主题: Stock版 - 今天金虫们闷掉了
我最近一直在看金子的原理,买金子就是赌hyper inflation导致美元crash。理论上美
国印了这么多钱,早该hyper inflation了,从这推出金子under value。但是为啥美国
还没有出现hyper inflation,我看过的讲金子的书上并没有提到。我觉得有两点导致
hyper inflation至今没有出现,1。中国等emerging market的经济发展导致外汇储备
猛涨,这些美元没有进入流通领域。2。derivative的大发展吸纳了大量资金。只有这
两个存钱罐破了,才会导致hyper inflation。搞欧元就是在保证第一点,大家必须且
只能存美元,存啥都不保险(金子增量不够)。但是第一个存钱罐可吸纳的资金越来越
有限第二点也很criticle,derivative就像赌场里的筹码,赌客把钱都换成筹码了,而
且是赌客间对赌,输赢钱还是在赌场里,啥时候赌客要离场了,寻找其他机会,这部分
美元才会进入流通领域。有人说把QE1/2的钱挤出来美国的经济就好了,就不用QE3了,
金子就玩了,其实正好说反了,如果QE的钱真的到了流通领域,马上就会导致hyper... 阅读全帖
B**********r
发帖数: 7517
20
我为什麽要说说这些呢?过去不到一个月VIX大跌,引起这些交易基金很大的波动。股
版也关注了。我在这里做点简单的定量分析,让大家知道它们的风险/回报,不至于做
些危险的操作。股版有些人是懂VIX的运作的,希望指正我说的不妥之处。如果不懂而
对我挖苦攻击的,请不必了,毕竟我是完全好意帮助大家。
1)VIX,VIX Futures
大家都知道VIX是衡量市场波动率的指数。它是一个导出指数derivative,根据S&P 500
指数后面30天的期权价格,经过换算而得出。VIX也经常被称为恐慌指数,因为市场的
大幅波动,是不确定性的表现,而对投资者产生畏惧心理。当然,理论上牛市也可以有
较高的VIX指数。
VIX指数本身是不可交易的,所以很多机构推出了一些机制(所以是derivative of
derivative),这些包括VIX futures定约,VIX指数期权,和基本的VIX futures交易
基金。这里VIX futures反映的是未来一段时间的VIX的期望值,可以是短期的1个月或
中期的半年。这些Futures其实跟VIX指数期权(也有1,2个月或半年的)的定价是一致
的。
VI... 阅读全帖
B**********r
发帖数: 7517
21
我为什麽要说说这些呢?过去不到一个月VIX大跌,引起这些交易基金很大的波动。股
版也关注了。我在这里做点简单的定量分析,让大家知道它们的风险/回报,不至于做
些危险的操作。股版有些人是懂VIX的运作的,希望指正我说的不妥之处。如果不懂而
对我挖苦攻击的,请不必了,毕竟我是完全好意帮助大家。
1)VIX,VIX Futures
大家都知道VIX是衡量市场波动率的指数。它是一个导出指数derivative,根据S&P 500
指数后面30天的期权价格,经过换算而得出。VIX也经常被称为恐慌指数,因为市场的
大幅波动,是不确定性的表现,而对投资者产生畏惧心理。当然,理论上牛市也可以有
较高的VIX指数。
VIX指数本身是不可交易的,所以很多机构推出了一些机制(所以是derivative of
derivative),这些包括VIX futures定约,VIX指数期权,和基本的VIX futures交易
基金。这里VIX futures反映的是未来一段时间的VIX的期望值,可以是短期的1个月或
中期的半年。这些Futures其实跟VIX指数期权(也有1,2个月或半年的)的定价是一致
的。
VI... 阅读全帖
l*****e
发帖数: 3343
22
熊熊们清醒点儿,UVXY的走势下周出趋势,不要信安神和大湿
耐心最重要,一年才几次机会,所以要镇静,
==================================================
发信人: BullishSolar (康南), 信区: Stock
标 题: 有点时间,专门讲讲VIX系列的交易基金
发信站: BBS 未名空间站 (Sun Jan 27 16:35:03 2013, 美东)
我为什麽要说说这些呢?过去不到一个月VIX大跌,引起这些交易基金很大的波动。股
版也关注了。我在这里做点简单的定量分析,让大家知道它们的风险/回报,不至于做
些危险的操作。股版有些人是懂VIX的运作的,希望指正我说的不妥之处。如果不懂而
对我挖苦攻击的,请不必了,毕竟我是完全好意帮助大家。
1)VIX,VIX Futures
大家都知道VIX是衡量市场波动率的指数。它是一个导出指数derivative,根据S&P 500
指数后面30天的期权价格,经过换算而得出。VIX也经常被称为恐慌指数,因为市场的
大幅波动,是不确定性的表现,而对投资者产生畏惧心理。当然,理论上牛市也可以有
... 阅读全帖
S*********g
发帖数: 24893
23
Sodomy
From Wikipedia, the free encyclopedia
Sodomy (/ˈsɒdəmi/) is any non-penile/vaginal copulation-like
act, such as oral or anal sex, or sex between a person and an animal.[1] The
word is derived from the story of Sodom and Gomorrah in chapters 18 and 19
of the Book of Genesis in the Bible.[1] So-called "sodomy laws" in many
countries criminalized not only these behaviors, but other disfavored sexual
activities as well, but in the Western world, many of these laws have been
ove... 阅读全帖
j***n
发帖数: 3786
24
来自主题: GunsAndGears版 - Choosing a Cartridge
Short Action Cartridges
223 Remington
This is an excellent shortrange to a good midrange cartridge.
It's good out to about 600yds, but the wind pushes it around much past that.
The realistic maximum range is 1000yds and there are very few bullets that
will even make it that far.
There are many options in factory made rifles, though most will not have the
proper twists and chambers to make use of the best longrange bullets.
There are many factory match quality loads available.
Cost to reload is l... 阅读全帖
n****1
发帖数: 1136
25
来自主题: Linux版 - 论linux的体验与普及
我上一贴里已经有Linus本人原意了, 里面还有个link到他在mail list上的发文
下面就是Linus自己的post
https://lkml.org/lkml/2006/12/13/370
If a module arguably isn't a derived work, we simply shouldn't try to say
that its authors have to conform to our worldview.
We should make decisions on TECHNICAL MERIT. And this one is clearly being
pushed on anything but.
I happen to believe that there shouldn't be technical measures that keep
me from watching my DVD or listening to my music on whatever device I damn
well please. Fair use, man. ... 阅读全帖
S*A
发帖数: 7142
26
来自主题: Linux版 - 论linux的体验与普及
好,我门现在总结一下,你现在也承认这个内核的开源游戏规则就是 GPL。
问题事在 GPL 规则下如何可以通过 non-derived work 来不发布源代码。
基本上,你的理解 “driver is non derivative work subset" 是非常错误的。
首先,你能举例那些驱动是从 windows copy 过来的?写 linux 驱动的
人很多是没有访问到 windows 驱动的,甚至不是厂商的员工, 连完整的
硬件 Spec 都没有,更不用说 Copy 了。
我給你举个例子,Intel 的 GPU driver team, 和 Windows 是完全不同的
team, 相互不能看到代码。完全没有代码共享。而 Intel 的 GPU driver,
用到了非常深入的,只有 Linux 才有的内存访问界面,因为 Intel 没有自己
的显卡内存。有很多内存 swapping 的代码是专门针对 Intel 这个显卡改动
的,所以 Intel 的显卡驱动必须要 cover 在 GPL 下面。
derived work 是不好划分的一件事,我时间不多就不详细说了。
一些简... 阅读全帖
X****r
发帖数: 3557
27
Derived *Var = new Derived();
// a. calls Base::Base() (1)
// b. calls Derived::Derived() (2)
Base Var2;
// calls Base::Base() (3)
Var2 = (Base) *Var;
// a. calls default copy constructor Base::Base(const Base&)
// to create a temporary Base object from *Var
// b. calls default assignment operator
// Base::operator =(const Base&) to assign this temporary
// object to Vars
// c. calls Base::~Base() for the temporary object. (4)
delete Var;
// a. calls Derived::~Derived() (5)
// b. calls Base::~Ba
z****e
发帖数: 2024
28
class Base {
public:
virtual Base* clone() =0;
};
class Derived : public Base {
public:
virtual Derived* clone(){
return new Derived(*this);
}
};
int main() {
Base* b = new Derived;
Derived* d2 = b->clone();
return 0;
}
error: invalid conversion from ‘Base*’ to ‘Derived*’
j****i
发帖数: 305
29
【 以下文字转载自 JobHunting 讨论区 】
发信人: jacobi (jacobi), 信区: JobHunting
标 题: 【JOBS】招多个Quant/Quant developers
发信站: BBS 未名空间站 (Sun Oct 10 23:24:51 2010, 美东)
帮recruiter发的. 有意者请直接与他们联系.
Please send resume to f*****************[email protected]
Quantitative Developer (C++/Credit Trading)
The Trading Division is supported by a dedicated team of software developers
and quantitative analysts who are part of the broader Information
Technology Group (ITG). The ITG team works closely with the business to
rapidly design... 阅读全帖
m******m
发帖数: 445
30
来自主题: Statistics版 - SAS 如何实现excel solver的功能
例子中p,m,r,a1,a2是raw data
derived在每组p第一个record的时候(m=1)是1+(r+d)/3,后面的record,表达式是
derived[t]=derived[t-1]*(1+(r+d)/3)。这个derived在每组p里面加和,然后这两个
总和做个平均。目标是调整d使得最终的平均值等于指定值。
问题挺简单。但是derived[t]的计算涉及到derived[t-1]和参数。在SAS中用proc
optmodel调了半天也不知道如何做这一步。
b********y
发帖数: 5829
31
【 以下文字转载自 Stock 讨论区 】
发信人: badcompany (哥玩的不是股票,是心跳!), 信区: Stock
标 题: 今天参议院表决失败对华尔街不是好事
发信站: BBS 未名空间站 (Wed May 19 17:04:39 2010, 美东)
失败的主要原因是左派民主党要求更激进的法案内容。看来最后
通过的法案会有不少populist的成分。Volcker Rule 今晚
或明天就会投票,通过应该是板上钉钉的事。整个金融法案最
终通过也不会有任何悬念。
Senate Fails to Move Ahead on Financial Regulation Bill
By GREG HITT And DAMIAN PALETTA
WASHINGTON—A bid by Senate Democratic leaders to end more than three
weeks of debate on sweeping legislation overhauling regulation of U.S.
financial markets unexpectedly ... 阅读全帖
d******8
发帖数: 1972
32
来自主题: _pennystock版 - AMRN 今天盘后ER
好像没有什么影响。
http://finance.yahoo.com/news/amarin-reports-first-quarter-2012
BEDMINSTER, N.J., and DUBLIN, Ireland, May 8, 2012 (GLOBE NEWSWIRE) --
Amarin Corporation plc (Nasdaq:AMRN - News), a late-stage biopharmaceutical
company focused on cardiovascular disease, today announced financial results
for the quarter ended March 31, 2012 and provided an update on company
operations.
Amarin noted the following highlights since the quarter ended December 31,
2011:
Received Notice of Allowance for paten... 阅读全帖
t****9
发帖数: 4491
33
http://www.nydailynews.com/news/crime/brooklyn-mass-stabbing-le
中新社纽约10月27日电 (记者 李洋)纽约警方当地时间27日凌晨对外透露,纽约布鲁克
林发生的严重命案已经导致5人死亡,死者中包括4名儿童。
命案发生于26日深夜23时左右,具体地点位于布鲁克林靠近日落公园(SunsetPark)的一
处华裔聚集的社区。大批警察将案发地点重重包围,现场四周被警戒线封锁。
初步调查显示,死者包括一名30岁的女性和4名儿童――两名分别为6岁和9岁的女孩、
一名8岁男孩和一名只有18个月大的幼童。那名30岁的女死者应是这4个儿童的母亲。报
警者据称是30岁女死者的妹妹。
死者系被用刀刺杀。有3名儿童当场死亡,其它两名重伤者被送到布鲁克林的医院后经
抢救无效,宣告不治。死者的具体身份还没有被警方披露。
警方已经拘捕了一名25岁的嫌犯,初步认为这名嫌犯与这几名死者有亲属关系。有报道
指嫌犯似乎有精神疾患,被捕时显得“异常冷静”。警察已经在现场缴获了杀人用的刀
具作为物证,杀人动机仍在研判中。
有现场照片显示凶犯被警方逮捕时的情形。这名... 阅读全帖
X******i
发帖数: 1384
34
你怎么知道他原文里是要用名词还是动词?
既然你这么喋喋不休的纠缠不清,姐来告诉你,如果是说公式的推演,deduce/
deducing/deduction比你所说的那个derive/deriving/derivation要合适的多。
很多东西都可以derive出来,但是公式都是deduce出来的。当然你要说the equation
was derived from blablabla也没错,但是deduce更贴切。
w******g
发帖数: 2047
35
来自主题: USANews版 - Pictures of Peaceful LA Protest
_gen/derivatives/landscape_635/usa-trayvon-martin-prayer-rally.jpg
_gen/derivatives/landscape_635/20130715-zaf-c68-003-jpg.jpg
_gen/derivatives/landscape_635/usa-florida-shooting.jpg
_gen/derivatives/landscape_635/usa-florida-shooting.jpg
_gen/derivatives/landscape_635/usa-florida-shooting.jpg
l******a
发帖数: 3803
36
Mother shot 13-month-old boy in stroller for insurance money, say defense
attorneys for teen charged in murder
Jury selection in the trial of De'Marquise Elkins, 18, begins Monday, but
his lawyers say Sherry West had 'financial interest in the death of her son,
' Antonio Santiago.
Comments (196)
BY NINA GOLGOWSKI / NEW YORK DAILY NEWS
SUNDAY, AUGUST 18, 2013, 12:04 PM
_gen/derivatives/landscape_635/baby-stroller-slain.jpg
_gen/derivatives/landscape_635/baby23n-1-web.jpg
_gen/derivatives/landscap... 阅读全帖
a**********s
发帖数: 588
37
int main()
{
Derived Var1;
>>>> construct var1
>>>> Constructor: Base
>>>> Constructor: Derived
Base Var2(Var1);
Derived Var3(Var1);
>>>> The construction of above wont print anything
>>>> since the default copy constructs are done silently
return 0;
>>>> UPON RETURN <<<<
>>>> destruct var3
>>>> Destructor : Derived
>>>> Destructor : Base
>>>> destruct var2
Destructor : Base
>>>> destruct var1
Destructor : Derived
Destructor : Base
}
l********n
发帖数: 54
38
来自主题: JobHunting版 - 请问一道c++题目
这个问题有点意思,有个陷阱。
咋一眼看,我选B. a = a+5+c; 因为数学运算都是right-associative,所以加法的顺
序是 a = a+(5+c); 但是因为+被overload了,所以必须是b+5而不能是5+b,否则会有
compile error.
不过当把LZ的code放倒cpp中,a=a+5+b 是可以编译的。想了半天发现跟编译器的原理
相关。通常来说一个assignment的右段如:a+5+b是用LR (Left-to-right, Right most
derivation) parser来进行parsing.
上面的class X通过overloading +,定义一些derivation
X->X+int
X->X+X
当5+b不能derive的时候, b会被push_stack, 先对a+5进行derive,生成一个X object
, push_stack, 然后这个object和b根据X->X+X进行derive。所以变成了 a = (a+5)+b
,这样就没有编译的问题了。
不过,a=5+b; 是不对的, 一定要a=b+5;
c**********e
发帖数: 2007
39
来自主题: JobHunting版 - C++ Q22: ostream
#include
using namespace std;
class Base {
protected:
virtual void output(std::ostream& os) { os << "Base\n"; }
};
class Derived : private Base {
friend std::ostream& operator<<(std::ostream&, Derived&);
};
std::ostream& operator<<(std::ostream& os, Derived& d) {
d.output(os);
}
int main() {
Base b; Derived d;
std::cout << b << d;
}
For which one of the following reasons is the code above INVALID?
a) Base::output is defined for Base, but operator<< is defined for Derived.
b)
f*****y
发帖数: 444
40
来自主题: JobHunting版 - 贡献一道 C++ 题目
Q: What will happen in the following code after the function foo() returns?
class base
{
public:
base() { }
~base() { }
};
class derived : public base
{
private:
int *p_pi_values;
public:
derived() : p_pi_values(new int[100]) { }
~derived() { delete [] p_pi_values; }
};
void foo(void)
{
derived *p_derived = new derived();
base *p_base = p_derived;
// Do some other stuff here.
delete p_base;
}
j*p
发帖数: 115
41
来自主题: JobHunting版 - 请问这是什么level的面试题
刚才我想了一下,当时是说vtable的时候引出来的 他问的意思应该是 在进行类型转换
之后vtable怎么变化 比如
class Base
{
public:
virtual void v();
}
class Derived : public Base
{
public:
void v();
}
void main()
{
Drived D;
Derived *pd = &D;
Base* pb = dynamic_cast(pd);
}
本来pd指向D,D里面有一个指向Derived类的虚函数表的指针。现在被转成Base类的指针
pb了,pb还是指向D吗?印度人当时问 那个指针是不变呢还是另外copy什么什么。。。
如果是
Base B;
Base *pb = &B;
Derived* pd = dynamic_cast(pb);
pd指向B,还是要复制 B, 然后 在复制后的object里把虚函数表的指针改过来呢?
sigh~ 基本上没用过cast。。。这种题怎么复习得到嘛。。。
j*p
发帖数: 115
42
来自主题: JobHunting版 - 请问这是什么level的面试题
刚才我想了一下,当时是说vtable的时候引出来的 他问的意思应该是 在进行类型转换
之后vtable怎么变化 比如
class Base
{
public:
virtual void v();
}
class Derived : public Base
{
public:
void v();
}
void main()
{
Drived D;
Derived *pd = &D;
Base* pb = dynamic_cast(pd);
}
本来pd指向D,D里面有一个指向Derived类的虚函数表的指针。现在被转成Base类的指针
pb了,pb还是指向D吗?印度人当时问 那个指针是不变呢还是另外copy什么什么。。。
如果是
Base B;
Base *pb = &B;
Derived* pd = dynamic_cast(pb);
pd指向B,还是要复制 B, 然后 在复制后的object里把虚函数表的指针改过来呢?
sigh~ 基本上没用过cast。。。这种题怎么复习得到嘛。。。
c***n
发帖数: 588
43
来自主题: JobHunting版 - share两道题目。
1. Given an array of words find what is and how long is the length of the
longest common substring between two words in the array. Give best solution
and provide time complexity analysis.
2. Given a list of words output the largest anagram derivative contained in
that set. The definition of an anagram derivative is: Consider the word 'cat
' as a basis, then the word 'tack' is said to an anagram derivative of 'cat'
since it can be re-arranged and appended with an alphabet to form the word
'tack'.... 阅读全帖
c***n
发帖数: 588
44
来自主题: JobHunting版 - 求解一道题
Given a list of words output the largest anagram derivative contained in
that set.
Take an anagram derivative as:
Consider the word 'cat' as a basis, then the word 'tack' is said to an
anagram derivative of 'cat' since it can be re-arranged and appended with an
alphabet to form the word 'tack'. This process can be performed repeatedly,
so that the word 'tacky' is an anagram derivative of 'tack'.
Now given a list of words output the largest anagram derivative in that list
.
s*********8
发帖数: 901
45
Of the 11 corporate "up-failers" on our list, none has been accused of
crimes or illegalities, and virtually all of them attribute their
controversial performance as business leaders to factors beyond their
control. Yet critics blame them for problems that deeply damaged the firms
they once ran or helped run. Here are some of the former CEOs and other
corporate honchos who seem to have stumbled upward after being involved in
some of the most notorious corporate episodes of the last decade:
Marti... 阅读全帖
a********t
发帖数: 4508
46
来自主题: Stock版 - 我来说说hedge。
现如今的金融社会,完全意义上的hedge已经不存在了。大多数的hedge都是(1)间接
hedge,或(2)使用derivatives。
间接hedge就是用有貌似相关性的东西。例如long real estate, short Russell 2000
之类的。Long 5-year bond, short 10-year bond也可以算一种(有点牵强)。
这种hedge的问题在于,两者常常出现背离,或两者的liquidity不相符。一旦出现背离
,加上一侧不容易兑现,就会出现大问题。
hedge一旦加上derivatives就更可怕了。对于能源、原材料加工类企业尤其危险。因为
它们不可能不使用derivatives。一旦市场方向发生变动,在实物方面的盈利不能够及
时地、充足地弥补derivatives方面的损失,就有破产的可能。过去无数例子,包括中
海油,都证实了这一点。
对于能源、原材料生产加工企业,一定要看它是否用derivatives来hedge。如果它在季
报里说我们是充分地hedge,坚决不要相信。
g****x
发帖数: 3862
47
LD的485拖了很久还没批的,可以发email给Ombudsman office看看,会不会使材料分开了,他们好像会专门针
对这种问题采取一些措施。
http://www.dhs.gov/xfoia/gc_1306427283101.shtm#2
Pending Derivative Form I-485s Due to File Separation Updated 11/6/2009
Do you know of a situation where USCIS approved the Form I-485 (Application
to Register Permanent Residence or Adjust Status) for a principal applicant,
but the derivative family members' (spouse or minor children) Form I-485
applications remain pending? While in some cases this may be due to missing
ev... 阅读全帖
g****x
发帖数: 3862
48
LD的485拖了很久还没批的,可以发email给Ombudsman office看看,会不会使材料分开了,他们好像会专门针
对这种问题采取一些措施。
http://www.dhs.gov/xfoia/gc_1306427283101.shtm#2
Pending Derivative Form I-485s Due to File Separation Updated 11/6/2009
Do you know of a situation where USCIS approved the Form I-485 (Application
to Register Permanent Residence or Adjust Status) for a principal applicant,
but the derivative family members' (spouse or minor children) Form I-485
applications remain pending? While in some cases this may be due to missing
ev... 阅读全帖
s*******t
发帖数: 7746
49
副申请没有priority date.
副申请人485在主申请人批了30天后还没批,可以写email给Ombudsman office
http://www.mitbbs.com/article/Immigration/32084573_0.html
Pending Derivative Form I-485s Due to File Separation Updated 11/6/2009
Do you know of a situation where USCIS approved the Form I-485 (Application
to Register Permanent Residence or Adjust Status) for a principal applicant,
but the derivative family members' (spouse or minor children) Form I-485
applications remain pending? While in some cases this may be due to missing
... 阅读全帖
s*******t
发帖数: 7746
50
It is rare that a 副申请人 get GC before the 主申请人.
It is possible (very likely) that your background check is not clear yet,
that's why you want to find out your detail status. Another possibility is
your file has been separated from 副申请人, see below.
http://www.dhs.gov/xfoia/gc_1306427283101.shtm#2
Pending Derivative Form I-485s Due to File Separation Updated 11/6/2009
Do you know of a situation where USCIS approved the Form I-485 (Application
to Register Permanent Residence or Adjust Status) for a ... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)