由买买提看人间百态

topics

全部话题 - 话题: object
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
n****1
发帖数: 1136
1
来自主题: Programming版 - OOP里面的Object其实是actor

有么? 我原话是啥?
我想说的是“物体”不应该和OOP里面"object"划等号, 因为很多物体没有method, 但
"object"都有method, 至少有几个java自带的notify/wait之类的。
而OO猴子中毒太深, 直接把"物体"和"object"划等号。
W***o
发帖数: 6519
2
这是一个作业,是应用这个提供的data structure Steque 控制程序里object的流向和
path。
源码贴这里了 http://pastebin.com/VzvcdJKu
我现在对如何使用这个data structure糊涂,从java过来的,不知道在C里面怎么初始
化一个object.
我自己想做一个下面的初始化测试:
typedef struct steque_t steque;
steque *stq;
int i;
for(i = 0; i < 10; i++)
{
steque_item *item = malloc(sizeof(steque_item)); // 这样初始化一个
item
steque_enqueue(stq, item); //然后把item enqueue到stq数据结构里面
}
可是目前这么做的结果是编译时报错:
gcc stequeTest.c -o stequeTest
stequeTest.c: In function ‘main’:... 阅读全帖
G****r
发帖数: 5579
3
来自主题: Programming版 - C, C++, Java, C#, Objective-C,
我最喜欢 Objective-C, 原因在于 Objective-C 里用 C 很方便。
大公司和大型项目里, 没有能够只用一种语言就能完成的, 而 C 是少不了的, 只是
你可能没看到或没觉察到你们这项目或你们公司还有人在用 C (只是或许人数不多)。
其次是 C#, 喜欢 C# 的原因 还是因为 MSFT 的 VS 很好用
三是 C++, 最后才是 JAVA。
我上世纪末本世纪初还去用过 SMALLTALK, 是被强被迫去做的(为了绿卡,等一年)
, 说起 SMALLTALK还是 OBJECT-ORIENTED 的先驱, 可到九十年后期就已经被JAVA.
大约95年之前, SMALLTALK的熟练工的工资可是很高的, 可是 到 2000年, 那些
SMALLTALK 的熟练工已经想脱离而不能, 因为用惯了就对别的语言有种厌恶感。
c*******0
发帖数: 5247
4
如果你是做serious iOS开发,一年内,不学Objective-C是不可能的。太多的轮子目前
还是Objective-C。当然还是可以主写Swift,但一定要看懂Objective-C
如果你是自己side project搞着玩,那其实无所谓。
c*********e
发帖数: 16335
5
来自主题: Programming版 - ios 8下用objective-c ?
swift其实就是在objective-c上加了个壳,让程序员觉得语法简单了。但是在编译的时
候,还是要先变成objective-c了再继续。所以,让程序变慢了。
大家在ios 8下,用objective-c 吗?
a*****1
发帖数: 314
6
一个 user表的几个field,每次操作都要判断。
打算放到一个class里面,然后,一个object 一个 hash。 这样读写更快。不用反序列
化了。
如果几百million object就要创建 几百million hash。 可不可以这样做呢?
hash 数量,没限制吧??
谢谢了
g****t
发帖数: 31659
7
来自主题: Programming版 - Delphi/Object Pascal杀回来了?
https://www.tiobe.com/tiobe-index/
Delphi/Object Pascal in 2017 is almost as popular as javcscript.
Delphi/Object Pascal和javascript 现在在一档里面。
我开始觉得肯定什么地方弄错了。然后发现过去两年delphi一直在上升。
www.tiobe.com/tiobe-index/delphi-object-pascal/
到底谁在用呢?新增的用户是谁?
j*********r
发帖数: 1
8
【 以下文字转载自 Joke 讨论区,原文如下 】
发信人: johnskiller (johnskiller), 信区: Joke
标 题: 分散对象技术与神奇之地的虚拟爱情(Distrubuted Object Techology and Cyberlove On Miracal-land,DOT COM)--- Ver.0.0 RC1
发信站: The unknown SPACE (Fri Mar 24 08:23:56 2000) WWW-POST
分散对象技术与神奇之地的虚拟爱情(Distrubuted Object Techology and
Cyberlove
On Miracal-land,DOT COM)--- Ver.0.0 RC1 Build 253
关键字Key Words
分散对象技术 对象 服务 虚拟爱情 gg mm
第一章 绪论
本文,将使用分散对象技术(Distrubuted Object Techology,DOT),分析网络
这一神奇之地上发生的虚拟爱情(Cyberlove On Miracal-land, COM). 稍微关
注一下就会发现,DO
X*****r
发帖数: 2521
9
【 以下文字转载自 Mathematics 讨论区 】
发信人: Xfilter (支持南开的兄弟们), 信区: Mathematics
标 题: 请问有那种optimization是解决变化的objective function的?
发信站: BBS 未名空间站 (Mon Jan 21 19:31:57 2008), 转信
就是objective function是time varying的
有没有那种optimization或者其他的数学model是deal这种time varying objective fu
nction的?
多谢多谢!
D******n
发帖数: 2836
10
来自主题: Statistics版 - Size of R object for models is so big
為啥在R裏面的model object都那麼大? 譬如lm(),glm(),rpart()等等的object,是不
是因為把modeling的dataframe也帶上了? 真煩人啊。有沒有辦法保存的這些objects
的時候不把modeling data帶上?
承接上面討論R代替SAS,下面我就列出一些R煩人的地方。
1)做一件事很多packages,不統一。各有個各好,可是都不是很好。同時也造成
documentation慘不忍睹。
2) 作為一個高級語言,沒有良好的 pass by reference 機制。
3)很難debug。
4)沒有很好的報表工具。
5)處理大數據還是個問號。

发帖数: 1
11
【 以下文字转载自 Comment 俱乐部 】
发信人: CornucopiaX (丁春秋), 信区: Comment
标 题: Re: didadida: objection !!!!!!!! (转载)
发信站: BBS 未名空间站 (Mon Oct 2 15:54:23 2017, 美东)
【 以下文字转载自 History 讨论区 】
发信人: CornucopiaX (丁春秋), 信区: History
标 题: Re: didadida: objection !!!!!!!! (转载)
发信站: BBS 未名空间站 (Wed Sep 27 09:06:10 2017, 美东)
你啊。。。
这么跟你说吧。这个问题,完全取决于你看问题的角度。。。
我很尊重这个版的人,。。。。。所以,我用最温婉的口吻来讲话,尤其是我现在情绪
稳定。。
你说,在一个群体里,多少人应该喝鸡汤活着,多少人应该吃神的话活着,我们从统计
学的角度来看这个问题,这样才公平吧。。其目的都是为了解决一个重要的问题:如何
才能保证一个群体在某种机制下能有自我调控的能力。。
are you happy no... 阅读全帖
s*********8
发帖数: 901
12
Through 11 days of the Olympics, China leads the United States in the
official IOC medal count. But in Fourth-Place Medal's "real" medal count, a
tally that ignores judged activities masquerading as sports, Team USA has a
commanding lead over its Asian counterparts.
[Related: Olympic medals' monetary value may shock you]
Our real medal count ignores Olympic disciplines like gymnastics and diving
and instead focuses on sports where winners are determined on the field of
play. When Usain Bolt or M... 阅读全帖

发帖数: 1
13
object是“物件”或“东西”好不好
m***a
发帖数: 2262
14

目的,比如
What's your object in coming to the United States?
c*****t
发帖数: 10738
15
object可以这样用?


:【 在 greemint (看门尼) 的大作中提到: 】
G**********g
发帖数: 490
16
object看来是根本目标或者是宗旨的是意思。
s*********8
发帖数: 901
17
Through 11 days of the Olympics, China leads the United States in the
official IOC medal count. But in Fourth-Place Medal's "real" medal count, a
tally that ignores judged activities masquerading as sports, Team USA has a
commanding lead over its Asian counterparts.
[Related: Olympic medals' monetary value may shock you]
Our real medal count ignores Olympic disciplines like gymnastics and diving
and instead focuses on sports where winners are determined on the field of
play. When Usain Bolt or M... 阅读全帖
l****z
发帖数: 29846
18
March 15, 2012 Posted by Michael Laprarie
I used to read Donald Sensing’s blogging regularly, but over the last
couple of years he has slipped out of my frequent-read list. I’m putting
him back in as of today.
Writing in response to the dumbfoundedness of Democrats over Rick Santorum’
s recent primary wins, Sensing explains:
In the Democrat mind, sex without sex’s consequences are the only thing
that women should think about when they approach a voting booth. Finney and
Thompson, et. al.,... 阅读全帖
l****z
发帖数: 29846
19
State Dept Spokesperson Objects to Fox News Reporter's Presence at Press
Conference
Yesterday, State Department spokesperson Victoria Nuland objected to the
very presence of a Fox News reporter in the press pool. Here’s the
transcript:
QUESTION: As a follow-up to the hearing yesterday, how was --
MS. NULAND: Can you tell me who you are?
QUESTION: Mike Levine with Fox.
MS. NULAND: Every time I turn around, I’ve got a new Foxie in the pool here
. Going to have to talk to them about that.
No wonder... 阅读全帖
P*******b
发帖数: 1001
20
来自主题: JobHunting版 - C++ object size一问
class Grandpa {
public:
Grandpa() { cout << "Grandpa " << endl; }
virtual ~Grandpa() {}
};
class Ma : public virtual Grandpa {
public:
Ma() { cout << "Ma" << endl; }
virtual ~Ma() {}
virtual void print() {}
};
为啥这里Ma的object size 等于grandpa的object size?
q******0
发帖数: 32
21
来自主题: JobHunting版 - resume 里面objective怎么写?
Objective is not necessary, it is a waste of paper space--I am very serious.
You can use Summary instead of Objective to save space.
J***7
发帖数: 175
22
来自主题: JobHunting版 - 请教Resume上的objective
就要开始找工作了,现在在完善自己的resume,在online投的时候,可以针对job
description来写,但是要去career fair,我要带一份general的不写objective的吗?
还是先research一下参加Career fair的公司,准备2到3个版本的好呢?
我是me专业的phd,偏向找R&D的工作,那么objective需要提到这个吗?还是就an
engineering position with interest in ***?
谢谢回复~~!
y*******g
发帖数: 6599
23
来自主题: JobHunting版 - 请教Resume上的objective
昨天被告知如果你的resume的经历和objective不完全一样,比如要转行之类,最好写
上objective
否则还是不用了,多点面试经历也好
s******n
发帖数: 3946
24
every object will have a pointer to the vtable for each virtual class.
So if an object inherit two virtual classes, it will have two pointers to
the two virutal classes, if this class added new virtual functions, then
this class itself will have a virtual table, so it will totally have three
pointers to vtable.
s******n
发帖数: 3946
25
you are wrong. Just draw a picture of the memory layout of a object which
inherits two classes with virtual methods, see how many vtable pointers in
the memory of that object.
m*****g
发帖数: 71
26
来自主题: JobHunting版 - counting sort an array of objects怎么做
两种办法:
1.搞256个链表,rating是x的就放在x号链表里,最后顺序输出各个链表里的object,
如果要求stable的话,要注意插入位置和扫描顺序。
2.简单的计数数组,计完数之后,把计数变换成该rating对象在输出数组中的下一个
index,假设输入有N个object
a[255] = N - a[255];
for (int i = 254; i >= 0; --i) {
a[i] = a[i + 1] - a[i];
}
最后输出时,从前往后扫输入数组,rating为x的,放在输出数组的a[x]位置,然后+
+a[x]。这个屏记忆写的,不保证完全正确,建议查一下CRLS。
T*****y
发帖数: 74
27
来自主题: JobMarket版 - hire--SQL/Business Objects Programmer
this is email I received from our SUGI Yahoo grop
Hi, all, if interested, please send your resume to d****[email protected]
(same position as posted before but revised).
SQL/Business Objects Programmer
Contract position for a SQL/Business Objects Programmer
6 months with possibility of extension; fast-paced large marketing company;
start immediately; good pay.
Location: Chantilly, VA
Responsibilities
Develop and modify complex SQL queries based on ad hoc user requests.
Become a subject m
w********a
发帖数: 621
28
Hi
If you know Business Objects and is looking for a career change, please
forward your resume to y*******[email protected]
My client in Billerica MA is look for Senior/Principal Business Objects
Developers
This is a global company. There are two openings.
The hiring salary is between 90K and 105K
Thanks in advance
h******b
发帖数: 312
29
来自主题: PennySaver版 - Objective-C ARC in XCode 4.2 (转载)
【 以下文字转载自 Apple 讨论区 】
发信人: happyzhb (NotionInMotion dot com), 信区: Apple
标 题: Objective-C ARC in XCode 4.2
发信站: BBS 未名空间站 (Sat Nov 5 19:55:54 2011, 美东)
Free webcast: automatic reference counting (ARC), tonight in 1.5 hrs, new
features for the iOS programming language: objective-c: http://tinyurl.com/4xcpmez
M******8
发帖数: 15
30
谢谢各位了
楼上的意思是要找我们的领事馆码?
本人的J1第一次是一年的,从06年3月到07年3月,第二次延长了1年从06年3月到08年3
月,第3次是07年12月底延长的,从06年3月到11年3月,三个J1都是在一个单位,然后
在08年初申请了豁免,当时三张表都寄去了。
不知怎么贴图,我的Waiver Status是这样的:
Department of State Decision: Favorable Recommedation
Item Action Date
Recommendation Sent June 02, 2008
Fee Received May 29, 2008
Form DS-3035 Received May 29, 2008
Form DS-2019 Received May 29, 2008
No Objection Statement ... 阅读全帖
m**m
发帖数: 349
31
大家好,昨天查询状态,发现如下:
No Objection Statement Requested May 28, 2013
No Objection Statement (Unacceptable) Received May 23, 2013
Fee Received May 16, 2013
Form DS-3035 Received May 16, 2013
Form DS-2019 Received May 16, 2013
Passport Data Page Received May 16, 2013
Statement Of Reason Received May 16, 2013
这是怎么一回事啊?多谢!
现在是一头雾水……
s**********e
发帖数: 2888
32
今天发现DoS状态变成了No Objection Statement:
No Objection Statement Received July 31, 2013
Fee Received June 18, 2013
Form DS-3035 Received June 18, 2013
Form DS-2019 Received June 18, 2013
Passport Data Page Received June 18, 2013
Statement Of Reason Received June 18, 2013
想问一下:这个距离最终批下来还有多久?
我的麻烦是:我下个月到新学校开始做AP,新学校和现在的学校计划做J-1 transfer,
因为新学校认为需要很久waiver才会办下来,所以希望我用J-1的身份马上上班。
我听说如果waiver批下来再做transfer,waiver就失效了。所以想问一下我的情况大概
需要多久会批下来?我... 阅读全帖

发帖数: 1
33
打扰了。 由于个人错误问提,提交了两次j1豁免到DOS(第一次忘记填family name了
,大使馆提醒后从新提交一份)
之后我收到了DOS的信,说第二次的文件转到第一个号下面
但是大使馆发我的No Objection Statement的时间是在DOS把两个号合并之前,所以很
担心DOS能不能正确处理这个
现在我在网站上查询,其他文件都是August, 24 2017 received
另外有一个DOS Case File Number的 Action 状况是 Sent,这个意思No Objection
Statement 收到了吗?谢谢!
h******b
发帖数: 312
34
来自主题: StartUp版 - Objective-C ARC in XCode 4.2 (转载)
【 以下文字转载自 Apple 讨论区 】
发信人: happyzhb (NotionInMotion dot com), 信区: Apple
标 题: Objective-C ARC in XCode 4.2
发信站: BBS 未名空间站 (Sat Nov 5 19:55:54 2011, 美东)
Free webcast: automatic reference counting (ARC), tonight in 1.5 hrs, new
features for the iOS programming language: objective-c: http://tinyurl.com/4xcpmez
a****a
发帖数: 289
35
RFE标准模版中,contribution部分提到
1. Objective documentary evidence of the significance of the beneficiary's
contribution to the field.
2. Documentary evidence that people throughout the field currently consider
the beneficiary's work important
1.要求objective documentry
2要求documentry
都指的什么证据?
多谢!
t****a
发帖数: 439
36
来自主题: Immigration版 - 名词解释:Objective documentary evidence
典型的问题:
1)Objective documentary evidence of the significance of the beneficiary'S
contribution to the field.
(2)Documentary evidence that people throughout the field currently
consider the beneficiary's work important.
大拿们举个例什么是Objective documentary evidence?跟第二个具体如何区分解释。
谢谢。。。。。。。。。。。。。。。。。。。。
d**e
发帖数: 314
37
RFE-contribution
在回复Objective documentary evidence of the significance of the beneficiary
’s contribution to the field。
先来想去,只列出了,发表的重要文章和会议presentations。。
求教还有哪些东西可以算作objective documentary evidence?
多谢!!
v**********9
发帖数: 42
38
来自主题: Immigration版 - 推荐信中的objective evidence
公司的律师给我起草的推荐信的反馈是要加上
- objective evidence of widespread adoption by the field of these techniques
or the adoption of these techniques by others that have occurred on an
international level
- evidence of original research or findings been implemented into other
research or industries on an international level
问题是我想表现的好几个contribution一共也没有几个citation (<10, 弱case, 没办
法, total citation 也就70), 也没有证据工作被别人implmented.我能想到的可以补
充的evidence有
- 有一篇文章获过某个会议的best industry paper,这个应该算objective evidence把
- 大段的引用和... 阅读全帖
n******e
发帖数: 203
39
USCIS关于Contribution的论证要求如下:
a.Objective documentary evidence of the significance of the beneficiary’s
contribution to the field;
b.Documentary evidence that people throughout the field currently consider
the beneficiary’s work important;
c. Testimony and/or support letters from experts which discuss the
beneficiary’s contributions of major significance;
d.Evidence that the beneficiary’s major significant contribution(s) has
provoked widespread public commentary in the field or has been widely ci... 阅读全帖
c********g
发帖数: 1173
40
来自主题: SanFrancisco版 - 有objective c的高手吗(包子贴)
I moved the backgroundImageView.hidden = !selected to the touchesBegan: call
. However, now the leaks
instrument reports the touchesBegan is leaking. According to the report, the
leaking statement is
"backgroundImageView.hidden = !selected". That's why I am confused.
I also posted this to Apple's developer forum. One guy mentioned if an
object leaks, all its sub-objects will
leak as well. But I just couldn't find out the root cause.
Thanks anyway.
M*****R
发帖数: 650
41
My understanding is that OOP gained popularity because it appeals to data-
centric applications, in particular if the data you are dealing with are
chunks of logically related information. Most business applications fall
into this category, they deal with business data (transactions, address
books, etc) that can be easily separated into entities that are logically
related (objects and relations) and categorized (object hierarchy)
OOP, and databases, they reinforce each other's popularity in last... 阅读全帖
r******y
发帖数: 3838
42
Objective C 比C++ flexible,又比一般的script语言solid. 适合做复杂又有灵活
性的应用。
C++ 虽然很坚固,但语法太繁琐,动态特性还不及Java,当然比较适合Mission
critical的应用。
script随然灵活,但没有坚固的支撑,难以独立做大程序。
Objective C 正好刚柔相济。
尤其,新版本加入Block后,处理相互纠缠的逻辑关系更是如鱼得水。
t******0
发帖数: 629
43
我是EE硕士,方向是应用物理(非常底层的东西,勉强算engineering)
为了便于就业,我决定申请好一点学校CS的PhD。
Computer Architecture and VLSI;(本科学校的专业)
Embedded System;(本科的课)
Networking;(一直感兴趣)
都是我喜欢而且感觉很好的方向,毕竟任何一个都比我目前的坑好百倍,所以只要有这
些领域的研究者想收我,我都可能非常高兴的。(真的一点都不挑)
虽然原来的EE方向发了一堆一作二作的Paper,但是方向不match真是挺要命的。
对于我的goal, objective, motivation 真的不知道该怎么写。。。
目前我的大概写法是,
objective and goal: PhD in CS/ECE......My research interests focus on
Computer Architecture and VLSI...other areas that interest me are Embedded
System....I am also very interested in C... 阅读全帖
x****a
发帖数: 6
44
I got a problem to define 'Database' object in Access 2000.
I use Dim db as Database, but Database doesn't show up. If I type
Database on my own, the code doesnt' compile. The error is 'object
not found'. I never have this problem in Access97. Who knows what's the
reason? Thanks!
n********6
发帖数: 1511
45
来自主题: Database版 - SQL SERVER 面试题, find the objects
Now your company is doing a new business. New data flow and process have
been designed. Existing data flow and process need to be modified. A new
column CC need to be added to Table TT. New stored procedure need to be
developed to handle column CC in Table TT.
Now your manager want to know what specific existing stored procedures,
views, triggers, functions may be affected and need to be modified.
You know some of the objects will definitely be affected. But there are over
hundreds of objects an
c*********e
发帖数: 16335
46
来自主题: Database版 - object-oriented database设计咋样?
因为传统的relational database和java这样的object-oriented language的结构差别
,才会出现現在这么流行的orm,比如hibernate,ado.net.
那么,在刚开始建立database的时候,把它做成object-oriented database,現在流行
这么做吗?
c*********e
发帖数: 16335
47
来自主题: Database版 - object-oriented database设计咋样?
有没有人开发啥relational programming language(sql不算在内)?
看来database和object-oriented language天生就不合。既然object-oriented
database太复杂,有没有人设计一种新语言--relational language,毕竟语言是为
database服务的。
竟然发现有人做了一个新语言:
http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.66.2557
s********e
发帖数: 136
48
听说有些银行里面正在逐步把relational database system改成object oriented,请教
大侠们object oriented database会不会是大趋势呢?
w*l
发帖数: 43
49
I am going to do a project. It is on a cluster, and some of nodes are used as
servers and some of nodes are used as clients. Every server has a object
database. When clients query the object, server should give the right result
to clients. If the server is busy,the load among servers can be balanced. I am
using JDO to create and modifying every database. Right now I don't know how
to do the project. Please give me some ideas,e.g. recommand some books, give
some suggestions or tell me where I can
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)