由买买提看人间百态

topics

全部话题 - 话题: defines
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
i***0
发帖数: 8469
1
【 以下文字转载自 Seattle 讨论区 】
发信人: iq350 (iq350), 信区: Seattle
标 题: 西雅图ebay 需要很senior的pm ,需要有工作经验的
发信站: BBS 未名空间站 (Tue Aug 26 19:05:21 2014, 美东)
看下面的几个位置
Senior Product Manager, Shipping
Primary Job Responsibilities
eBay Inc. has initiated a large scale strategic initiative to build a next
generation shipping and logistics platform that will serve sellers across
eBay, Paypal, and Magento on a global scale. This new platform will support
the growth of business across international borders for our se... 阅读全帖
y****s
发帖数: 46
2
来自主题: JobHunting版 - Job opportunities at PVH in NJ
PVH has the following job openings.
1. Business Systems Analyst-Commercial IT-Store Systems
2. Testing Manager
3. Senior Developer-Middleware
for more info, please check www.pvh.com site.
Business Systems Analyst-
Commercial IT-Store Systems
More information about this job:
Overview:
PVH Corp. is a global, action-oriented company characterized by achievement
and commitment. We
want people who are hungry for both professional and personal growth; who
will help us take our
brands, our businesses a... 阅读全帖
a**r
发帖数: 661
3
来自主题: Living版 - [合集] 401k是一个旁氏骗局
☆─────────────────────────────────────☆
BlackYeeRen2 (黑衣人组织首脑) 于 (Fri Feb 21 11:05:27 2014, 美东) 提到:
1。401k向大家宣传30年后你的钱可以滚得很大很大
2。需要更多更多的年轻人加入401k,所以那些fund买的证券有人接着pump
3。老人们可以从401k里拿钱出来而新人不可以。
4。投资没有保证也没有保险,市场可以随时wipe out你的钱,或者被老人们拿钱负面
影响
综上所述,这是一个旁氏骗局by definition
☆─────────────────────────────────────☆
yorkchen (恭喜发财) 于 (Fri Feb 21 11:11:55 2014, 美东) 提到:
401k has only tax advantage.
☆─────────────────────────────────────☆
yddmj (影帝的马甲~有道的马甲~) 于 (Fri Feb 21 11:13:49 2014, 美东) 提到:
... 阅读全帖
a**r
发帖数: 661
4
来自主题: Living版 - [合集] 401k是一个旁氏骗局
☆─────────────────────────────────────☆
BlackYeeRen2 (黑衣人组织首脑) 于 (Fri Feb 21 11:05:27 2014, 美东) 提到:
1。401k向大家宣传30年后你的钱可以滚得很大很大
2。需要更多更多的年轻人加入401k,所以那些fund买的证券有人接着pump
3。老人们可以从401k里拿钱出来而新人不可以。
4。投资没有保证也没有保险,市场可以随时wipe out你的钱,或者被老人们拿钱负面
影响
综上所述,这是一个旁氏骗局by definition
☆─────────────────────────────────────☆
yorkchen (恭喜发财) 于 (Fri Feb 21 11:11:55 2014, 美东) 提到:
401k has only tax advantage.
☆─────────────────────────────────────☆
yddmj (影帝的马甲~有道的马甲~) 于 (Fri Feb 21 11:13:49 2014, 美东) 提到:
... 阅读全帖
p*********r
发帖数: 7944
5
下面是options limit (等价股票数量,options还要除100):
Equity & Index Option Position Limits
Overview:
Equity option exchanges define position limits for designated equity options
classes. These limits define position quantity limitations in terms of the
equivalent number of underlying shares (described below) which cannot be
exceeded at any time on either the bullish or bearish side of the market.
Account positions in excess of defined position limits may be subject to
trade restriction or liquidation at a... 阅读全帖
i***0
发帖数: 8469
6
【 以下文字转载自 Seattle 讨论区 】
发信人: iq350 (iq350), 信区: Seattle
标 题: 西雅图ebay 需要很senior的pm ,需要有工作经验的
发信站: BBS 未名空间站 (Tue Aug 26 19:05:21 2014, 美东)
看下面的几个位置
Senior Product Manager, Shipping
Primary Job Responsibilities
eBay Inc. has initiated a large scale strategic initiative to build a next
generation shipping and logistics platform that will serve sellers across
eBay, Paypal, and Magento on a global scale. This new platform will support
the growth of business across international borders for our se... 阅读全帖
y****s
发帖数: 46
7
来自主题: NewJersey版 - job opportunities at PVH
PVH has the following job openings.
1. Business Systems Analyst-Commercial IT-Store Systems
2. Testing Manager
3. Senior Developer-Middleware
for more info, please check www.pvh.com site.
Business Systems Analyst-
Commercial IT-Store Systems
More information about this job:
Overview:
PVH Corp. is a global, action-oriented company characterized by achievement
and commitment. We
want people who are hungry for both professional and personal growth; who
will help us take our
brands, our businesses a... 阅读全帖
i***0
发帖数: 8469
8
看下面的几个位置
Senior Product Manager, Shipping
Primary Job Responsibilities
eBay Inc. has initiated a large scale strategic initiative to build a next
generation shipping and logistics platform that will serve sellers across
eBay, Paypal, and Magento on a global scale. This new platform will support
the growth of business across international borders for our sellers and will
be built with the vision of making world class supply chain and logistics
platform and services available to the marketplace... 阅读全帖
G*******9
发帖数: 4371
9
【 以下文字转载自 WashingtonDC 讨论区 】
发信人: Great2009 (栀子园主,诚招助手), 信区: WashingtonDC
标 题: DC在招IT工 ActioNet Positions。。。
关键字: IT 招人 ActioNet Positions Openings
发信站: BBS 未名空间站 (Sun May 25 21:23:16 2014, 美东)
我在帮朋友的朋友发帖,你可以发包子给我表示感谢,但是请不要问我更具体的问题。
呵呵。。。
ActioNet supports the Centers for Medicare and Medicaid Services in key
areas of health IT solutions delivery. We are looking for Java Developer (
all levels) and System Analysts (all levels) with experience at CMS, Health
IT, or similar systems development en... 阅读全帖
G*******9
发帖数: 4371
10
来自主题: WashingtonDC版 - DC在招IT工 ActioNet Positions。。。
我在帮朋友的朋友发帖,你可以发包子给我表示感谢,但是请不要问我更具体的问题。
呵呵。。。
ActioNet supports the Centers for Medicare and Medicaid Services in key
areas of health IT solutions delivery. We are looking for Java Developer (
all levels) and System Analysts (all levels) with experience at CMS, Health
IT, or similar systems development environments. Our team members work with
their federal counterparts and business owners to help CMS reach its mission
goals. Our offices are located in Woodlawn, Maryland.
The qualified team member... 阅读全帖
C***H
发帖数: 508
11
来自主题: Joke版 - 这个结果是啥,为什么呢?
【 以下文字转载自 Programming 讨论区 】
发信人: CatOH (亲氧化猫), 信区: Programming
标 题: 这个结果是啥,为什么呢?
发信站: BBS 未名空间站 (Fri Mar 18 21:12:26 2011, 美东)
某人今天问起,C语言中,如下定义:
#define A1 NULL
#define A2 NULL
#if (A1==NULL)
#undef A1
#define A1 t1
#elif (A2==NULL)
#undef A2
#define A2 t2
#endif
#if (A1==NULL)
#undef A1
#define A1 t1
#elif (A2==NULL)
#undef A2
#define A2 t2
#endif
编译完后,A1,A2分别是啥?
以为很直接,但实际上一试,发现结果和想象的不一样,没搞明白为什么,特来此一问
...
r*******y
发帖数: 290
12
来自主题: Programming版 - Boost.Serialization no longer maintained?
you can use iostream to do serialization
Define three classes: Serializer, Deserializer, and Serializable
class Serializer
{
define insert or >> for primitive types
use an iostream to hold data
}
class Deserializer
{
define restore or << for primitive types
use an iostream to hold the received buffer
}
class Serializable
{
define Serialize(Serializer& ser) and deserialize(Deserializer& deser)
define actual data to serialize or deserialize
}
You can define the above three
C***H
发帖数: 508
13
来自主题: Programming版 - 这个结果是啥,为什么呢?
某人今天问起,C语言中,如下定义:
#define A1 NULL
#define A2 NULL
#if (A1==NULL)
#undef A1
#define A1 t1
#elif (A2==NULL)
#undef A2
#define A2 t2
#endif
#if (A1==NULL)
#undef A1
#define A1 t1
#elif (A2==NULL)
#undef A2
#define A2 t2
#endif
编译完后,A1,A2分别是啥?
以为很直接,但实际上一试,发现结果和想象的不一样,没搞明白为什么,特来此一问
...
H***a
发帖数: 735
14
来自主题: Programming版 - 这个结果是啥,为什么呢?
thrust说得对, 这是 t1, t2, NULL 都没有define过导致的.
C Standard 6.10.1说了preprocessor的条件判断必须是整型常数表达式, 如果是其他
类型表达式, 视之前是否defined过来设值: defined -> 1 ; undefined ->0
所以你第二次判断的时候 t1==NULL 解释成 0==0, 你的结果就不难理解了.
如果你在最开头加上
#define NULL 0
#define t1 1
#define t2 2
就没有问题, 对比一下就清楚了.
w***g
发帖数: 5958
15
来自主题: Programming版 - 王垠终于开始搞垠语言了
是一个类似lisp的语言。从他的github上拷的test case。看来还是没有跳出前人的窠
臼。不过至少比光说不练强。
-- factorial
(define fact
(fun ([:x Int])
(if (= x 0) 1 (* x (fact (- x 1))))))
(fact 5)
------------- mutural recursive functions -------------
(define even
(fun ([:x Int])
(if (= x 0)
true
(if (= x 1)
false
(not (odd (- x 1)))))))
(define odd
(fun ([:x Int])
(if (= x 0)
false
(if (= x 1)
true
(not (even (- x 1)))))))
(odd 10)
----------... 阅读全帖
t**********s
发帖数: 930
16
只找到了一个 catalina.properties:
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unles... 阅读全帖
n***y
发帖数: 1675
17
来自主题: Accounting版 - 推荐一篇老美写的关于四大的内幕
What to Know About the Big Four Before Accepting an Offer
by Barrett Brooks• Posted inBlog, Business & Careers
原文链接如下:
http://livingformonday.com/business-and-careers/big-four-basics
It’s finally time to apply for a job (or maybe even to accept/decline an
offer) or make a career change – something you’ve been looking forward to
for a long time. Your background or major in accounting, finance, or
economics has prepared you with a desirable skillset and a valuable degree.
It’s decision time ... 阅读全帖
s*********h
发帖数: 6288
18
在我的report中 PR这一列分成了好几个group,我想根据不同个group来给不同的
format,
group由index来决定
相关code 如下
PROC FORMAT;
VALUE NOTCAUCF
1 = 'TOTAL NON-CAUCASIAN';
VALUE SEXF
1 = 'MALE'
2 = 'FEMALE'
OTHER = 'SEX';
VALUE RACEF
1 = 'CAUCASIAN'
2 = 'Native American'
3 = 'Hispanic'
4 = 'African-American'
5 = 'Asian'
6 = 'Other'
OTHER = 'RACE/ETHNICITY';
VALUE AGEF
1 = 'AGE (YEARS)'
OTHER = ' ';
RUN;
PROC REPORT... 阅读全帖
G*******9
发帖数: 4371
19
【 以下文字转载自 WashingtonDC 讨论区 】
发信人: Great2009 (栀子园主,诚招助手), 信区: WashingtonDC
标 题: DC在招IT工 ActioNet Positions。。。
关键字: IT 招人 ActioNet Positions Openings
发信站: BBS 未名空间站 (Sun May 25 21:23:16 2014, 美东)
我在帮朋友的朋友发帖,你可以发包子给我表示感谢,但是请不要问我更具体的问题。
呵呵。。。
ActioNet supports the Centers for Medicare and Medicaid Services in key
areas of health IT solutions delivery. We are looking for Java Developer (
all levels) and System Analysts (all levels) with experience at CMS, Health
IT, or similar systems development en... 阅读全帖
s**********8
发帖数: 25265
20
来自主题: MedicalDevice版 - Conflicts of Interest: Clinical Research
Conflicts of Interest: Clinical Research
Policy
1. Investigator Conflicts of Interest
All Children’s Hospital investigators are required to disclose to Harvard
Medical School (HMS), on an annul basis, any potential conflicts of interest
. All investigators are required to adhere to HMS guidelines for managing
or eliminating specified categories of conflicts of interest.
In addition, to fulfill its obligations, the Committee on Clinical
Investigation (CCI) must address the impact of the investi... 阅读全帖
s********n
发帖数: 26222
21
【 以下文字转载自 Military 讨论区 】
发信人: smokinggun (硝烟), 信区: Military
标 题: Bernstein原著和方舟子剽窃文的对应分析ZT
发信站: BBS 未名空间站 (Thu Aug 25 02:01:14 2011, 美东)
China\'s Science Cop Plagiarized His Professor
While a PH.D. Student at MSU
Fang Shimin (aka Fang Zhouzi) is a well known figure in the world of
academia. Science magazine and Nature journals have several times reported
his fraud busting, whistleblowing activities in China. Science magazine
alone has given him the titles of “China’s science misconduct watchdog... 阅读全帖
s********n
发帖数: 26222
22
China\'s Science Cop Plagiarized His Professor
While a PH.D. Student at MSU
Fang Shimin (aka Fang Zhouzi) is a well known figure in the world of
academia. Science magazine and Nature journals have several times reported
his fraud busting, whistleblowing activities in China. Science magazine
alone has given him the titles of “China’s science misconduct watchdog”,
“China’s Fraud Buster”, “Chinese Whistleblower”. [1-4] These articles
have been widely circulated in China, and Fang himself has been u... 阅读全帖
W*****B
发帖数: 4796
23
When Ralph Taylor was born in Sacramento in 1963, his birth certificate
indicated that he and his parents were Caucasian. But, like many white
Americans, he grew up hearing vague family lore about long-distant Native
American ancestry.
“I’ve always known that I’m multiracial,” Taylor, 55, told The
Washington Post.
In 2010, Taylor took an AncestryByDNA test, he said, “just to confirm what
we’d already known.” The results said that he was 90 percent European and
6 percent indigenous American, as w... 阅读全帖
s********n
发帖数: 26222
24
【 以下文字转载自 Military 讨论区 】
发信人: smokinggun (硝烟), 信区: Military
标 题: Bernstein原著和方舟子剽窃文的对应分析ZT
发信站: BBS 未名空间站 (Thu Aug 25 02:01:14 2011, 美东)
China\'s Science Cop Plagiarized His Professor
While a PH.D. Student at MSU
Fang Shimin (aka Fang Zhouzi) is a well known figure in the world of
academia. Science magazine and Nature journals have several times reported
his fraud busting, whistleblowing activities in China. Science magazine
alone has given him the titles of “China’s science misconduct watchdog... 阅读全帖
a**********y
发帖数: 2367
25
来自主题: Faculty版 - 大家retirement plan 是怎么选的?
我自己选的defined contribution,学校会match,我也拿不准以后会不会走
我朋友选的defined benefit,学校不会match但benefit is defined
网上看了看,都说defined benefit稳赢defined benefit,我觉得股票市场在30年这个
time span上肯定达不到4%每年的
但是具体就要看你是不是会一直待在这里
l*********d
发帖数: 18
26
来自主题: JobHunting版 - Several Job Openings
500强公司,在离DC一小时的Warrenton VA。
要求有绿卡或美国公民。
如果感兴趣正在找工作的朋友可以把简历发给我,我可以内部推荐下。
email: l*************[email protected]
Software Engineer - UAV Sensor Applications-SOF000000BK
Qualifications
Software engineer with 2-5 years experience to perform development of real
time embedded flight control systems through full software development
lifecycle in a multidisciplinary avionics and aerospace environment.
Specific Responsibilities
•Design, code, test, and provide ongoing support for embedded systems
softwa... 阅读全帖
l*********d
发帖数: 18
27
来自主题: JobHunting版 - Job openings
500强公司,在离DC一小时的Warrenton VA。
要求有绿卡或美国公民。
如果感兴趣正在找工作的朋友可以把简历发给我,我可以内部推荐下。
email: l*************[email protected]
Software Engineer - UAV Sensor Applications-SOF000000BK
Qualifications
Software engineer with 2-5 years experience to perform development of real
time embedded flight control systems through full software development
lifecycle in a multidisciplinary avionics and aerospace environment.
Specific Responsibilities
•Design, code, test, and provide ongoing support for embedded systems
soft... 阅读全帖
S**I
发帖数: 15689
28
来自主题: JobHunting版 - [合集] G一面,感觉不咋的
☆─────────────────────────────────────☆
libei (Bei) 于 (Wed Jan 11 15:43:39 2012, 美东) 提到:
面试官是Google+组的,
一上来她说看到我简历上的一篇测试自动化的文章,读了一遍,感觉"very
informative",让后让我介绍一下相关经验。让我小高兴了一下。
第一题是coding,做的还算顺利,后来她评价说所有的cases都覆盖到了。可能算是过
关吧。
第二题我想复杂了,然后在她提示下才解决。自我感觉很不好。其实sort一下就差不多
了,不过我往复杂的树结构想去了。虽然树结构确实能解决这个问题,不过当时我解释
得很不清楚。反正很不爽。
最后瞎聊时间,她说我提到的测试自动化实践和Google内部的基本完全一样blahblah。
。。,不过我觉得这点也算不上加分吧,是个人进google一段时间后都能学会。就怕她
觉得我想问题太复杂,直接negative。
大家有啥建议想法??
☆─────────────────────────────────────☆
peking2 (myfac... 阅读全帖
f*******t
发帖数: 7549
29
来自主题: JobHunting版 - amazon面试题目讨论贴2
#include
#include
#include
#define ENTRYNOTFOUND 0
#define ENTRYFOUND 1
#define NOTCOMPLETE 2
struct Trie;
void FindWords(Trie *root);
struct Trie
{
Trie();
~Trie();
Trie *children[26];
bool isEnd;
};
Trie::Trie()
{
for(int i = 0; i < 26; i++)
children[i] = NULL;
isEnd = false;
}
Trie::~Trie()
{
for(int i = 0; i < 26; i++) {
if(children[i]) {
delete children[i];
children[i] = NULL;
}
}
}
... 阅读全帖
y******s
发帖数: 463
30
三个月后不是rotating的,是固定的。长期来说的话,是不如regular citi forward。
Once your 3 month limited time offer ends, you will earn two ThankYou Points
for every dollar you spend on purchases at (1) book stores, (2) record
stores, (3) restaurants, including fast food restaurants, (4) motion picture
theaters, and (5) video entertainment rental stores (“qualifying merchants
”). You will earn one ThankYou Point for every dollar you spend on all
other purchases. Book stores are defined as stand-alone merchants that
prima... 阅读全帖
s******t
发帖数: 194
31
Unless you are participating in a promotional offer, you will earn one Thank
You Point for every dollar you spend on purchases (no other transactions qua
lify to earn ThankYou Points).
Some offers may allow you to earn more than one ThankYou Point for every dol
lar you spend on purchases at (1) bookstores, (2) record stores, (3) restaur
ants, including fast food restaurants, (4) motion picture theaters and (5) v
ideo entertainment retail stores (“qualifying merchants”). The offer to wh
ich you r... 阅读全帖
s********n
发帖数: 26222
32
【 以下文字转载自 Military 讨论区 】
发信人: smokinggun (硝烟), 信区: Military
标 题: Bernstein原著和方舟子剽窃文的对应分析ZT
发信站: BBS 未名空间站 (Thu Aug 25 02:01:14 2011, 美东)
China\'s Science Cop Plagiarized His Professor
While a PH.D. Student at MSU
Fang Shimin (aka Fang Zhouzi) is a well known figure in the world of
academia. Science magazine and Nature journals have several times reported
his fraud busting, whistleblowing activities in China. Science magazine
alone has given him the titles of “China’s science misconduct watchdog... 阅读全帖
X**J
发帖数: 466
33
LD在读本科,但是父母的活着,就不符合条件啦?
1. You were:
a. Under age 18 at the end of 2015, or
b. Age 18 at the end of 2015 and your earned income (defined later)
was less than one-half of your support (defined later), or
c. Over age 18 and under age 24 at the end of 2015 and a full-time
student (defined later) and your earned income (defined later) was less than
one-half of your support (defined later).
2. At least one of your parents was alive at the end of 2015.
3. You are not f... 阅读全帖
o******e
发帖数: 1761
34
三 作为F1,H1b学生我们能持枪不?
这个问题略微复杂,就像我在第一章强调过一样:
“可以说现在网上大部分说“在美国如何买枪,在美国持枪须知”等文章99% 都是扯淡
,不是说他们不对。 而是枪权是州权,上面加上一个联邦政府枪支管理条例。 因此美
国有51部枪法,各州情况都有不同,从就差菜刀实名的麻省,到除了连发机枪随便买的
New Hampshire(实际上你可以买单发的机枪。。。)从注册要拥有非常繁琐的纽约州
,到无序出具任何证件,连国际学生都可以随便买枪(不是持枪,请注意区别)的俄亥
俄。美国各地差距极大。 因此随便看看那些网文就去买枪的主,我为你们默哀。。。”
今天突然看到了一篇不错的网文,这里转发一下,大家可以查询本州有关规定,以确保
可信度:
原文链接: http://www.vrolyk.org/guns/alien-laws.html
NOTE: THIS PAGE IS NOT BEING ACTIVELY MAINTAINED AND HAS NOT BEEN UPDATED IN
A LONG TIME. SOME STATE LAWS HAVE CHANGED,... 阅读全帖
k**********4
发帖数: 16092
35
最重要的是摄氏温标是基于绝对零度 ,是intervel data 华氏温标是相对数字,从科
学角度来说,还是摄氏温标更精确
See below:
Fahrenheit is a temperature scale named after the German-Dutch physicist
Daniel Gabriel Fahrenheit (1686–1736), who proposed it in 1724. In this
scale, the freezing point of water is 32 degrees Fahrenheit (written “32 °
F”), and the boiling point is 212 degrees, placing the boiling and freezing
points of water exactly 180 degrees apart.
Celsius is, or relates to, the Celsius temperature scale (previously known
as the centig... 阅读全帖
E*****m
发帖数: 25615
36
http://www.control-z.com/czp/pgs/why_no_longer.html#reason02
The words used to define Christian Doctrine are representative of things
whose existence cannot be 'proved' outside of language
Instead of saying God, Heaven, and Hell, you could just as easily say Glavin
, Homatron, and Jyklumoo. Like God, Heaven, and Hell, the only way you can
know anything about Glavin, Homatron, and Jyklumoo is through word
association. But this isn't exactly true either. In all actuality, you don't
know anything a... 阅读全帖
Y**u
发帖数: 5466
37
来自主题: Wisdom版 - [合集] One more question on 生灭
☆─────────────────────────────────────☆
TrueStory (不是幸福的坑不挖) 于 (Wed Nov 2 10:30:26 2011, 美东) 提到:
I read more of runsun's post:
http://www.mitbbs.com/article_t/Wisdom/31523515.html
and I seem to understand more of what he has said.
One question remains, especially on this entry of his:
http://www.mitbbs.com/article/Wisdom/31524839_0.html
I have no problem to accept this statement:
这个世界,真正存在的,只有一刹那,短短的一刹那。
However, I don't think that his example using 天上有很多的星星, which may
have faded before th... 阅读全帖
m*****o
发帖数: 147
38
来自主题: SEU版 - Qualcomm Firmware openning
We are looking to hire at all experience levels including fresh grads.
Firmware positions are in San Jose and San Diego.
(1)Entry level
Education: BS/MS in Computer Science, Electrical Engineering
Experience: • More than 2 years of experience in software design
and implementation for wireless/networking protocols in embedded platforms.
• Experience programming with real-time operating systems/micro
kernel in ARM or other RISC microprocessor architectures is required.
R... 阅读全帖
t*******r
发帖数: 3271
39
来自主题: EmergingNetworking版 - 一个面试题
以下回答不针对楼主提的问题, 只是一般性的看法:
1, 最好不要用私有地址做PE-P-PE的互联, 因为一般是一张网干多件事, 而且loopback
是私有IP地址会有
管理的问题;
2, 同一个VRF里做Internet访问确实比较扯, 早年JUNIPER实现过, 十分不scalable.
用户是公网地址
那是好的, 用户是私有IP让你做VRF里的NAT那才是生不如死;
3, Saiwong提出的2个IFL(逻辑接口)确实是个好办法, 但是, 仍然需要SP端做相对复杂
的配置更改;
4, 对于P router(P only), 的确要减轻控制平面的压力, 最好是RR/P/PE功能性分开.
细化一点儿来说,
L3VPN RR/L2VPN(VPLS) RR/IPv4 RR/IPv6 RR最好也分开, 当然, PE就不必了.
BGP table还是要适当控制(route-target方式), 避免所有PE(不需要full bgp feed的)
都有全网路由
针对快速无缝切换:
A. 先试点开几个VPN site的业务(不同类的, 比如VPLS/L3VPN), 证明端到端LSP是通的
, V... 阅读全帖
w****h
发帖数: 212
40
运行时出线如3452816845 3452816845 3452816845这种奇怪的大数字
以下我本来用的是int,也有类似的错误。不知道哪里来的。
#define C 10000 //define a fixed maximum capacity for the list that can
be taken away of knapsack
#define N 200 //define number of items for the list
struct body { //define a struct with three parts, the item name, size and
value
unsigned int name;
unsigned int size;
unsigned int value;
};
typedef struct body Plist;
void disp(Plist*, unsigned int);
int _tmain(int argc, _TCHAR* argv[])
{
srand((un
b***y
发帖数: 2799
41
☆─────────────────────────────────────☆
wmbyhh (wmbyhh) 于 (Sun Jul 6 20:08:03 2008) 提到:
还是以前写的代码,报错stack overflow。
如果去掉里面所有unsigned int为int,define RANGE, N为较小的数如1000,那么编译
就可以正常通过。但是为何不支持unsigned很大的数呢
#include
#include "HeapSort.h"
#include "SelectionSort.h"
#include
#include
#include
#include "MersenneTwister.h"
#define RANGE 1000000 //define the range of input data
#define N 10000000 //define how many random numbers to
generate
c**m
发帖数: 30
42
来自主题: Programming版 - vector::iterator不对
because you are defining a template so vector can't be defined until you
instantiate the template, but before vector can be defined the template
has to be defined first. chicken and egg problem. Anyway, the effect is
when the compiler is trying define the template it has no way of figuring
out what vector::iterator is. If you think about it you would see why.
The solution is, of course, you explicitly tell the compiler what it is: a
typename. like below:
template
void f
M*******r
发帖数: 165
43
来自主题: Programming版 - 借人气问个c++的overflow (转载)
Sorry 这里是include的头文件,有一些全局定义在这里面,应该是比main早一步吧
#ifndef BarGame_H
#define BarGame_H
#pragma once
//#include
//#include
//#include
#include
#include
#include
#define MM 8 // size of memory
#define SS 6 // number of strategies per company
#define NN 101 // number of companies
#define PMM 4096 // pow(... 阅读全帖
C***H
发帖数: 508
44
来自主题: Programming版 - 这个结果是啥,为什么呢?
guess not, changed to the following is the same:
#define A1 NULL
#define A2 NULL
#if (A1==NULL)
#undef A1
#define A1 t1
#endif
#if (A1==NULL)
#undef A1
#define A1 t1
#elif (A2==NULL)
#undef A2
#define A2 t2
#endif
E*******F
发帖数: 2165
45
来自主题: Programming版 - 请教一道练习题(C,OS)
这段code运行时为什么会有segmentation fault?
用的是nachos(一个模拟操作系统的教学软件)
#include "syscall.h"
#include "stdlib.h"
#define OUTPUT_LOOP_LIMIT 500
/*
* Set this up to experiment with different nice values. Negative
* values can cause unexpected execution orders. Figuring out WHY
* is an excellent exercise for the student.
*/
#define A_NICE 0
#define B_NICE 5
#define C_NICE 10
#define D_NICE 15
int
main()
{
int a,b,c,d;
int pid;
Echo ("Starting...\n", 12);
/* Divorce the test processes from the m... 阅读全帖
d****n
发帖数: 1637
46
来自主题: Programming版 - 用c怎么实现generic stack (转载)
generic C 有两类,一类是 void *, 但是有转换消耗。
另一类是 C marco,但是难debug
对于你的要求,可变的size,当然要用C marco
///file gstack.c
#define _STACK_STRUCT(STACKNAME, DATATYPE) \
typedef struct STACKNAME { \
struct STACKNAME * next;\
DATATYPE value;\
}STACKNAME##_t;
#define __STACK_POP(STACKNAME, DATATYPE ) \
void pop_##STACKNAME( STACKNAME##_t *node ) \
{ \
;\
}
#define __STACK_PUSH(STACKNAME, DATATYPE ) \
void push_##STACKNAME( STACKNAME##_t *node ) \
{ \
... 阅读全帖
z****e
发帖数: 2024
47
Which of the following statements correctly describe the code below in C++?
#define language 437 //Line 1
#if language < 400
#undef language //Line 2
#else //Line 3
#define language 850 //Line 4
#ifdef language //Line 5
printf("%d", language); //Line 6
#endif
#endif
A. An error or warning will occur on Line 6 because a macro cannot be used
as part of a preprocessor directive.
B. An error or warning will occur on Line 2 because #undef is not a valid
preprocessor directive.
C. An error or warning ... 阅读全帖
b**a
发帖数: 51
48
家庭作业,要求用CDR 和 CAR 递归求一个非空数组的Median,巨多限制,具体如下,
请大牛帮忙,多谢。
Write a function median in Scheme that takes a nonempty list L of positive
integers (zero is not considered a positive integer) and other auxiliary
parameters of your choice. The list L is flat (i.e., it does not contain
sublists) and it is sorted in ascending order. If the length of list L is
odd, the function median returns the median element in the list, i. e. , the
middle number that divides the list into two halves of equal length so t... 阅读全帖
f********x
发帖数: 99
49
The world beyond batch: Streaming 101: A high-level tour of modern data-
processing concept
http://radar.oreilly.com/2015/08/the-world-beyond-batch-streami
by Tyler Akidau August 5, 2015
Editor’s note: This is the first post in a two-part series about the
evolution of data processing, with a focus on streaming systems, unbounded
data sets, and the future of big data.
Streaming data processing is a big deal in big data these days, and for good
reasons. Amongst them:
Businesses crave ever more tim... 阅读全帖
m*******m
发帖数: 182
50
Hmm, can you double check this?
In my source code main.c, I see it in the line 101-109
block.
...
101 #ifdef SVR4
102 #define SYSV /* SVR4 is (approx) superset
of SVR3 */
103 #define ATT
104 #define USE_SYSV_UTMP
105 /*#ifndef sgi*/ /* this doesn't really work,
-ygz */
106 #define USE_TERMIOS
107 /*#endif*/
108 #define HAS_UTMP_UT_HOST
109 #endif
...
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)