由买买提看人间百态

topics

全部话题 - 话题: primitive
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
c******t
发帖数: 391
1
来自主题: JobHunting版 - 被问到primitive type和class type的区别
前些天面试,被interviewer问到Java里primitive类型(如int, char等)和class类型(
如Integer, Character)的区别和用法,我能想到的只有primitive type是其class类型
的wrapper,另外container必须使用class type定义其元素类型。但依然不是很清楚,
为什么container不能用primitive type,另外Java用两种形式(primitive&class)定义
同一类型的根本目的是啥?
请教一下大家这个问题,提前谢过了!
z******g
发帖数: 271
2
barrier和volatile显然不是
barrier是用来prevent memory reordering的,而volatile只是强制compiler生成读取
memory的code。这俩可以说是primitive中的primitive
正确的应该是mutex和atomic operations(fetch-and-xxx,compare-and-swap)
T******g
发帖数: 21328
e*****t
发帖数: 1005
4
来自主题: Java版 - 问个primitive type的问题
use return value. If you want to use an argument of the method, you have to
use a mutable object.
primitives are not objects and wrapper objects are immutable.
G*O
发帖数: 706
5
【 以下文字转载自 CS 讨论区 】
发信人: GTO (正在申请Working-In-China Club), 信区: CS
标 题: 问一下primitive recursive function等于哪些其它的complexity class?
发信站: BBS 未名空间站 (Sun Dec 17 13:53:01 2006), 转信
应该是包含EXP的对吧。
但是有人问这个问题,我找不到答案。
是不是说没有其他的class与之相等?
t**********m
发帖数: 205
6
天堂的原始本能是一个一元三次代数方程吗?
我已经开始为我的新论文的发表战斗!
我先放在一个网站里:
http://vixra.org/abs/1011.0057
实际上,我的新论文提供了我的星系理论的完全的解,这个解是一个由一元三次代数方
程表达的解。
很多人习惯于用显函数表达解,隐函数表达解是一样的效果。
读者想一想,你用一个完全的解,去和整个罪恶的世界斗争,是不是要容易的多?
让我极其后悔的是,这个解在2002年底的时候就差不多已经得到。
实际上,我的星系的想法开始于2000年暑假. 2002年底的时候就差不多已经得到这个想
法的完全的数学解!
我走了两个极大的弯路:
我一开始的时候(2000年),就认为星系的旋臂是理性结构,到了2004年的时候,才意
识到,旋臂不是理性结构,相反地,它是对理性结构的扰动。打个比方,人体的血管不
是象肌肉骨头一样的理性结构,而是提供一个释放扰动的渠道!你可以让医生通过仪器
验证一下:当一个人生气,或者愤怒,或者高兴,或者激动的时候,他或她因环境的刺
激带来的扰动,通过血在血管中不断加速的流动,来释放这些扰动!
意识到第一个错误之后,从2004年到2... 阅读全帖
t**********m
发帖数: 205
7
天堂的原始本能是一个一元三次代数方程吗?
我已经开始为我的新论文的发表战斗!
我先放在一个网站里:
http://vixra.org/abs/1011.0057
实际上,我的新论文提供了我的星系理论的完全的解,这个解是一个由一元三次代数方
程表达的解。
很多人习惯于用显函数表达解,隐函数表达解是一样的效果。
读者想一想,你用一个完全的解,去和整个罪恶的世界斗争,是不是要容易的多?
让我极其后悔的是,这个解在2002年底的时候就差不多已经得到。
实际上,我的星系的想法开始于2000年暑假. 2002年底的时候就差不多已经得到这个想
法的完全的数学解!
我走了两个极大的弯路:
我一开始的时候(2000年),就认为星系的旋臂是理性结构,到了2004年的时候,才意
识到,旋臂不是理性结构,相反地,它是对理性结构的扰动。打个比方,人体的血管不
是象肌肉骨头一样的理性结构,而是提供一个释放扰动的渠道!你可以让医生通过仪器
验证一下:当一个人生气,或者愤怒,或者高兴,或者激动的时候,他或她因环境的刺
激带来的扰动,通过血在血管中不断加速的流动,来释放这些扰动!
意识到第一个错误之后,从2004年到2... 阅读全帖
z**********i
发帖数: 12276
8
来自主题: Texas版 - Top 20 Camping Spots in Austin
http://do512family.com/2012/11/best-camping-spots-austin/?wb486
Here is your guide to camping around Austin, from near to far, with the
approximate distance away from Austin listed at the beginning of each
summary. There are 18 listed here, and if you have one you would like us to
add, let us know.
“Man is most nearly himself when he achieves the seriousness of a child at
play.” – Herodotus, Greek historian
________________
image cred
10 miles away – McKinney Falls State Park has around 90 camp... 阅读全帖
i*********t
发帖数: 5873
9
来自主题: LeisureTime版 - 晓说流行音乐
references。。
发信人: wh (wh), 信区: WebRadio
标 题: Re: 来学习波哥的讲话
发信站: BBS 未名空间站 (Wed Oct 7 14:07:37 2009, 美东)
他说的原文是这篇,很长:
发信人: iamwhatieat (我吃故我在), 信区: Reader
标 题: Fascinating Fascism
发信站: BBS 未名空间站 (Thu Oct 1 02:19:18 2009, 美东)
Fascinating Fascism
by Susan Sontag
New York Review of Books
February 6, 1975
republished in:
Under the Sign of Saturn
(New York, 1980), pp. 73-105.
First Exhibit. Here is a book of 126 splendid color photographs by Leni
Riefenstahl, certainly the most ravishing book of phot... 阅读全帖
z*******n
发帖数: 1034
10
http://www.informit.com/articles/printerfriendly/2211695
Introduction to "The Java Language Specification, Java SE 8 Edition"
By James Gosling, Gilad Bracha, Alex Buckley, Bill Joy, Guy L. Steele
Date: Jun 12, 2014
The Java® programming language is a general-purpose, concurrent, class-
based, object-oriented language. It is designed to be simple enough that
many programmers can achieve fluency in the language. The Java programming
language is related to C and C++ but is organized rather dif... 阅读全帖
a***k
发帖数: 1038
11
来自主题: Military版 - 红死病 by 杰克.伦敦 (转载)
【 以下文字转载自 paladin 讨论区 】
发信人: atack (小军号), 信区: paladin
标 题: 红死病 by 杰克.伦敦
发信站: BBS 未名空间站 (Sat Oct 11 07:40:15 2014, 美东)
I
The way led along upon what had once been the embankment of a railroad. But
no train had run upon it for many years. The forest on either side swelled
up the slopes of the embankment and crested across it in a green wave of
trees and bushes. The trail was as narrow as a man's body, and was no more
than a wild-animal runway.
Occasionally, a piece of rusty iron, showing through ... 阅读全帖
q*d
发帖数: 22178
12
☆─────────────────────────────────────☆
swjtuer (swjtuer) 于 (Tue Mar 30 23:56:30 2010, 美东) 提到:
星期一
早餐 牛奶,煮鸡蛋,玉米馒头,榨菜
早点 芦柑
午餐 中大:绿豆饭,木须肉,海米冬瓜,棒骨菠菜汤
小婴:绿豆饭,三叶瓜炒肉,海米冬瓜,棒骨菠菜汤
午点 冰糖山楂水,蔬菜饼
晚餐 棒骨冬苋菜瘦肉粥,卤肉秋叶夹馍

星期二
早餐 牛奶,蒸鸡蛋,枣泥糕
早点 香蕉
午餐 中大:胡萝卜饭,芹菜炒牛肉,珊瑚豆腐,棒骨凤尾汤
小婴:胡萝卜饭,芹菜炒肉,珊瑚豆腐,棒骨凤尾汤
午点 果汁,卤猪肝
晚餐 豌豆肉末焖饭,番茄虾皮紫菜汤
星期三
早餐 南瓜粥,卤蛋,如意肉卷
早点 脐橙
午餐 中大:金银饭,咸烧白,海米儿菜,棒骨冬苋菜汤
小婴:金银饭,樱桃肉,海米儿菜,棒骨冬苋菜汤
午点 牛奶,蛋卷
晚餐 米饭,蒜苔炒肉,芙蓉蒸蛋,棒骨海带萝卜汤
星期四
早餐 牛奶,蒸鸡蛋,奶香馒头
早点 苹果
午餐 中大:南瓜饭,什锦鱼丸,韭菜炒豆干,番茄菌类鱼汤
... 阅读全帖
a***k
发帖数: 1038
13
来自主题: paladin版 - 红死病 by 杰克.伦敦
I
The way led along upon what had once been the embankment of a railroad. But
no train had run upon it for many years. The forest on either side swelled
up the slopes of the embankment and crested across it in a green wave of
trees and bushes. The trail was as narrow as a man's body, and was no more
than a wild-animal runway.
Occasionally, a piece of rusty iron, showing through the forest-mold,
advertised that the rail and the ties still remained. In one place, a ten-
inch tree, bursting through... 阅读全帖
z*******3
发帖数: 13709
14
我这么跟你说吧
我不搭理你一个很重要原因
是因为我觉得你说的东西都很肤浅
我assume这些东西是哪怕是知道java一点皮毛的都知道的
我压根没有什么兴趣讨论
我更没有什么兴趣去做唐骏
我也不是教comp101的老师
你说的在java教材第一章就会说到
你喜欢在一些边边角角的地方啰嗦半天,吹毛求p
而且这种吹毛求p往往是我默认别人知道的地方吹毛求p
所以总是让我觉得讨论索然无味,因为这样会把最后的讨论带入一个死胡同
就是你非得把每句话都说得非常严谨不可,很累
这个帖子就是典型,primitive type是什么会有人不懂吗?
所以我直接跳过primitive type不说
用autoboxing代入具体的”基础数据“类
楼主说的”基础类型用interface实现“
压根不可能在讨论primitive type
难不成有人认为int是interface?天
事实上我一直都怀疑楼主说”基础类型“时候到底知道不知道自己在说什么
实际上如果我要吹毛求p,这个primitive type是什么?应该是primitive data types
吧?
但是这么说有意思么?我说楼主要区分大小写是我大概... 阅读全帖
z*******3
发帖数: 13709
15
我这么跟你说吧
我不搭理你一个很重要原因
是因为我觉得你说的东西都很肤浅
我assume这些东西是哪怕是知道java一点皮毛的都知道的
我压根没有什么兴趣讨论
我更没有什么兴趣去做唐骏
我也不是教comp101的老师
你说的在java教材第一章就会说到
你喜欢在一些边边角角的地方啰嗦半天,吹毛求p
而且这种吹毛求p往往是我默认别人知道的地方吹毛求p
所以总是让我觉得讨论索然无味,因为这样会把最后的讨论带入一个死胡同
就是你非得把每句话都说得非常严谨不可,很累
这个帖子就是典型,primitive type是什么会有人不懂吗?
所以我直接跳过primitive type不说
用autoboxing代入具体的”基础数据“类
楼主说的”基础类型用interface实现“
压根不可能在讨论primitive type
难不成有人认为int是interface?天
事实上我一直都怀疑楼主说”基础类型“时候到底知道不知道自己在说什么
实际上如果我要吹毛求p,这个primitive type是什么?应该是primitive data types
吧?
但是这么说有意思么?我说楼主要区分大小写是我大概... 阅读全帖
O***O
发帖数: 1854
16
Primitive Accumulation这个名词确实很早就有。但是马克思之前的Primitive
Accumulation(例如adam smith的理论)指一种自然过程,是一个正常的经济学概念,
没有道德或者感情色彩。
马克思根本不是搞经济的,也根本没有实际工作和经营的经验。他第一次把Primitive
Accumulation跟抢劫(而且只跟抢劫)联系起来。
这在中世纪的某些地区是对的,但是即使是马克思时代(19世纪)的欧洲,已经完全不
是事实了。
马克思的Primitive Accumulation理论其实就是今天美国很多黑人的思路:你的祖先某
一辈欠了我的祖先某一辈(完全不提及当时全人类文明发展就是那么一个程度,任何地
方任何事情在今天看来都很“野蛮”),所以今天你一出生就欠我钱。
马克思就是中共的malcolm x。
r******h
发帖数: 809
17
来自主题: Outdoors版 - 美西南石头记(1)——Arches NP
【 以下文字转载自 Travel 讨论区 】
发信人: rotatezh (剃度在莲台下), 信区: Travel
标 题: 美西南石头记(1)——Arches NP
发信站: BBS 未名空间站 (Wed Jan 11 02:17:00 2012, 美东)
冬至前后,正是一年里日头最短的时节。为了把每日游玩时间最大化,我们秉承日出而
作、日落也不息的作风,每天踩着旅馆开始供应早饭的点吃饭,就着7点半左右的第一
缕日光开始一天的行程。今天是Arches NP。早上从住的旅馆出来,车窗上结了厚厚一
层霜,日出前室外大概有零下十几摄氏度。忘记带刮车窗的东西了,钻进去暖了好一阵
子车。Arches就在我们住的小镇Moab边上,圣诞节的早上,镇上唯一的一条主街冷冷清
清,只有几盏单薄的彩灯高高的挂在路灯上,装点着不甚浓郁的气氛。整条街除了旅馆
、饭店,就是提供各种户外活动的商店。穿过街道,路的右边很快就是进Arches的大门
。沿着山路开了一小段,第一个观景点俯瞰的是脚下贯穿Moab而过的HWY 191。这里是
Moab地震带,现在看到穿谷而过的191就是地震造成的地质层错位的结果。太阳应该... 阅读全帖
r******h
发帖数: 809
18
来自主题: Travel版 - 美西南石头记(1)——Arches NP
冬至前后,正是一年里日头最短的时节。为了把每日游玩时间最大化,我们秉承日出而
作、日落也不息的作风,每天踩着旅馆开始供应早饭的点吃饭,就着7点半左右的第一
缕日光开始一天的行程。今天是Arches NP。早上从住的旅馆出来,车窗上结了厚厚一
层霜,日出前室外大概有零下十几摄氏度。忘记带刮车窗的东西了,钻进去暖了好一阵
子车。Arches就在我们住的小镇Moab边上,圣诞节的早上,镇上唯一的一条主街冷冷清
清,只有几盏单薄的彩灯高高的挂在路灯上,装点着不甚浓郁的气氛。整条街除了旅馆
、饭店,就是提供各种户外活动的商店。穿过街道,路的右边很快就是进Arches的大门
。沿着山路开了一小段,第一个观景点俯瞰的是脚下贯穿Moab而过的HWY 191。这里是
Moab地震带,现在看到穿谷而过的191就是地震造成的地质层错位的结果。太阳应该已
经起床了,只是还没爬到马路对面的石壁顶上,怪冷的;对面和这一侧的石头们因为没
有阳光的照射,色彩很是黯淡。
继续沿着盘山路往上走,左侧一路都是形状各异的石柱,这要放在国内,该给编出多少
神话故事来啊。到Courthouse Towers观景点的时候,太阳终于... 阅读全帖
m***q
发帖数: 41
19
9号,最后一站arches national park。因是最后一天,决定好好hike一把,把最后一
腔热汗洒在这片土地上,哈哈。按惯例,先在visitor center看了介绍片,开车到
devils garden trailhead,这个trail完全走完可以看到8个arches,大概8mi,准备通
过primitive trail走到double o arch再由devil garden trail大路回来,至于trail
尽头的dark angel就遥望了,所以总共大概7mi。走到landscape arch,0.8mi,路挺平
的,不过在trail口的风特别大。Landscape arch据说是世界上最长的arch,从1991年
开始已经3次掉了石头下来,arch的最薄处只有6inches,所以arch下面的路是围起来不
让走的。如果去公园只能看一个arch的话,就非这个莫属了,因为没准明天它就没了。
路的右手就是primitive trail了,2.2mi,前1mi挺好走,就是沙路,所以有点点费劲
。后来后来,哎,就不小心迷路了。碰到的是一个小叉口,往左似乎有一条小路,因为... 阅读全帖
t******n
发帖数: 2939
20
☆─────────────────────────────────────☆
l63 (l63) 于 (Thu May 23 00:34:22 2013, 美东) 提到:
假设素数只有有限个, 记为 p_1,p_2,...,p_k
考察 N = p_1*p_2*...*p_k + 1
可知: 对于任意i = 1,2,3,...,k, p_i 不能整除 N
由素数的定义:
a是素数 <=> a是大于1的自然数, 且a不被任何小于a的素数整除
可知: N是素数
这与素数只有p_1,p_2,...,p_k矛盾.
故假设不成立.
所以素数有无穷多个.
☆─────────────────────────────────────☆
l63 (l63) 于 (Thu May 23 00:37:03 2013, 美东) 提到:
在承认素数的这个等价定义 (即 a是素数 <=> a是大于1的自然数, 且a不被任何小于a
的素数整除) 的前提下, 居然有人会认为这个证明是错的, 或者是不完备的.
我实在不能理解.
求问一下大家, 是不是有的人的脑子天生有缺陷, 根本怎么教都不会明白... 阅读全帖
d**********o
发帖数: 1321
21
来自主题: WebRadio版 - 潜水员冒泡兼征版友意见
一个单词引发的血案(2)
如果说,因为12、12这个周五upload到github上去的review docs上一个词特别刺眼,
那一定是批在review第二页纸下方的这个“practice”了。
记得那个周五中午,我见代课老师的办公室门是开着的,便敲门应允进去了。老师说他
正在改我的review。说到最后,他指给我看我review的最后几段的“practise”说,他
知道英国等一些国家名字也用“practise”,但在美国,作动词用时是practise, 但作
名词用的时候还是用“practice”,并把这名词规规矩矩、端端正正地写在了这页纸的
下方。我不以为意。
及至这天下午紧接着系里发出的邮件,我也以为天上掉馅饼,系里有多的奖学金的话,
不是说我春天也可以拿到TA了吗?LinkedIn上当天也刮这种风,虽然自己当时并不没有
回,但晚上临睡前还是发信回复给系里,问一下到底是什么情况。但系里小秘第二天中
午用她的周末时间给我的回复是,那是发给全系的邮件,即使系里有奖学金,我是没有
资格的,因为先前导师与我已经讲好了春天我只能注册一个学分。我友好地回复系里小
秘的邮件。不给奖学金不是... 阅读全帖
l*****a
发帖数: 38403
22
Talk about millions of years of natural processes from a big bang possibly
proceeding through time to a tidal pond -- or some "incubator" near volcanic
vents -- producing "primordial soup" (in nature's primitive junkyard), or "
rock garden" could create or produce a "rubble-soup" of what: Minerals, ore,
sand, dust, water, alkaline and acid, etc. But, if nature could not create
wire or a crystal diode (forget the storm in a junkyard producing a computer
or any precision mechanical device), nor cr... 阅读全帖
R******d
发帖数: 5739
23
来自主题: Belief版 - 进化论的错误假设 (转载)

--------------------
all I am seeing is that your judgement on the plausibility is based on your
feeling about the "primitive" conditions in nature, forgive me if this is
again offending you.
what are the "primitive" conditions? there are no "primitive" in chemical
conditions.
http://en.wikipedia.org/wiki/Miller-Urey_experiment
this experiment set up to mimic the "primitive" conditions in early earth,
and proved in principle that organic components can be synthesized in nature
. the influx en... 阅读全帖
l*****a
发帖数: 38403
24
来自主题: TrustInJesus版 - 科尓苏斯这么说过
http://en.wikipedia.org/wiki/Christian_denomination
Catholicism
Main article: Catholicism
These are the churches which claim continuity (based upon Apostolic
Succession) with the early Church.
[edit]Catholic Church
Main article: Catholic Church
The Catholic Church is composed of 23 Rites: the Western or Latin Rite and
the 22 Eastern Rites (i.e., Eastern Catholic Churches).
[edit]The Latin Church
Main article: Latin Rite
The Latin Rite (not to be confused with the Roman Rite, which is one of the
... 阅读全帖
X****r
发帖数: 3557
25
来自主题: Programming版 - T[ ][ ] vs T **
就结构而言Java里非primitive类型类似于C里对应的指针类型,
所以如果T是primitive的话,Java里T类似于C里的T,
Java里T[]类似于C里的T(*)[],
Java里T[][]类似于C里的T(*(*)[])[];
如果T不是primitive的话,Java里T类似于C里的T*,
Java里T[]类似于C里的T*(*)[],
Java里T[][]类似于C里的T*(*(*)[])[]。
就语法而言Java里非primitive类型存取不需要加*。
f**d
发帖数: 768
26
来自主题: Neuroscience版 - eBook: From computer to brain
这是一本计算神经科学的优秀著作,全文拷贝这里(图和公式缺),有兴趣的同学可以
阅读
如需要,我可以分享PDF文件(--仅供个人学习,无商业用途)
From Computer to Brain
William W. Lytton
From Computer to Brain
Foundations of Computational Neuroscience
Springer
William W. Lytton, M.D.
Associate Professor, State University of New York, Downstato, Brooklyn, NY
Visiting Associate Professor, University of Wisconsin, Madison
Visiting Associate Professor, Polytechnic University, Brooklyn, NY
Staff Neurologist., Kings County Hospital, Brooklyn, NY
In From Computer to Brain: ... 阅读全帖
f*******n
发帖数: 12623
27
有没有primitive没有什么区别。primitive用起来跟immutable的对象的reference的效
果一样,除了primitive的==等于reference的.equals()之外。以上也可以用primitive
的整数:
int a = 1;
int b = a;
b = 5;
System.out.println(a); // prints 1
...
int[] a = new int[]{1};
int[] b = a;
b[0] = 2;
System.out.println(Arrays.toString(b)); // prints [2]
System.out.println(Arrays.toString(a)); // prints [2]
b = new int[]{3};
System.out.println(Arrays.toString(a)); // prints [2]
I******a
发帖数: 3812
28
http://gyral.blackshell.com/names.html
Visit the original once in a while. Apparently, it's chock full o' updates.
Slur Represents Reasons/Origins
51st Stater Canadians Self-explanatory.
Abba-Dabba Arabs Used in the movie "Betrayed" by rural American hate group.
Abo Australian Aboriginal Derogative shortened term for Aboriginal.
Adolf Germans Hitler, of course. Generally thought of the worst person ever.
Ahab Whites From Moby-Dick. Ahab hunted the white whale.
Ainu Japanese Aboriginal Originall... 阅读全帖

发帖数: 1
29
来自主题: Military版 - 把“出个题”补回来
你吃黑人男友鸡巴的动作,散发着一种primitive的野性
盹盹盹

:这么个小问题竟然不好证。牛人greatspacer下场指导了一下,指出这是Gauss Lemma
的推论。
:来看看Gauss Lemma.
:如果r1(x),r2(x)都属于Z[x],并且每个多项式系数的最大公约数都是1,这叫
:primitive,那么r1(x)*r2(x)也是primitive的。
:这就是Gauss Lemma.
T*******x
发帖数: 8565
30
来自主题: Military版 - 把“出个题”补回来
有了Gauss Lemma,这个小问题就好证了。
这里r1(x),r2(x)是Q[x]中的,是一楼中的两个多项式。分别用两个整数n1,n2乘以两
个多项式,clearing denominator,使得n1*r1(x)和n2*r2(x)都属于Z[x],并且都是
primitive的。这可以做到吧?而且n1还大于1,因为假定r1(x)不在Z[x]中。
如果r1(x)*r2(x)本身就在Z[x]中,那么n1*r1(x)*n2*r2(x),一方面根据高斯Lemma,
它应该是primitive的,另一方面它又有一个系数公约数n1*n2,所以不是primitive的
。矛盾。

发帖数: 1
31
来自主题: Military版 - 把“出个题”补回来
你又想让黑人男友口爆你,你想让他爆你菊,心情矛盾
盹盹盹

:有了Gauss Lemma,这个小问题就好证了。
:这里r1(x),r2(x)是Q[x]中的,是一楼中的两个多项式。分别用两个整数n1,n2乘以两
:个多项式,clearing denominator,使得n1*r1(x)和n2*r2(x)都属于Z[x],并且都是
:primitive的。这可以做到吧?而且n1还大于1,因为假定r1(x)不在Z[x]中。
:如果r1(x)*r2(x)本身就在Z[x]中,那么n1*r1(x)*n2*r2(x),一方面根据高斯Lemma,
:它应该是primitive的,另一方面它又有一个系数公约数n1*n2,所以不是primitive的
:。矛盾。
s**n
发帖数: 156
32
来自主题: Bowling版 - Brief History of Bowling-1
1. The first primitive forms of bowling
Sir Flinders PetrieIn 1930 the British anthropologist Sir Flinders Petrie
and his team of archaeologists discovered all sorts of primitive bowling
balls, bowling pins and other materials in the grave of an Egyptian boy from
3200 BC. It appears that the ancient Egyptians played a primitive form of
bowling and that bowling is more than 5200 years old.
The German historicist William Pehle claimed that in 200 BC an ancient form
of bowling was played in his hom
l****i
发帖数: 25
33
来自主题: Travel版 - 10 Days, 10 National Parks (六)
日期:2009/7/7
行程:Moab->Arches->Canyonlands->US191->I70->UT24->Torrey
里程:155mile
昨天晚上在Moab的Super 8休息的还算不错,早晨出发再进入Arches National Park已
经是9点左右了,昨天看过的东西大多掠过了直奔地图封面Arch——Landscape。
Landscape所在的Devils Garden有一段非常长的Trail,但是走到Landscape到不需要那
么久的时间,这是我们在路上看到的倔强生长的小花。
Landscape实际看到比照片上的还要惊险,中间那部分非常之细让人感觉随时要断掉,
还好我们在它断之前看过了:)
继续向前走到Double O Arch
这里Trail出现了分岔,一条继续向前到Dark Angel,一条Primitive Trail向右折向
Private Arch,Primitive Trail的牌子上写着一行大字,Difficult Hiking。大热天
我们也不想再往前走了正在犹豫是走原路返回呢还是坚持不走回头路的原则走
Primitive Trail的时
r****e
发帖数: 3373
34
来自主题: LeisureTime版 - 娜娜生日快乐
看完夜场的hansel and gretel,回来读到这篇影评,笑死我了。娜娜,whatever
happens, stay cool. 嗯,生日快乐!
Requiem for a Fairy Tale: Hansel & Gretel: Witch Hunters
By Rex Reed 1/29 5:02pm
Once upon a time, about eight centuries ago, when Little Red Riding Hood was
being eaten by a wolf in granny glasses, there lived a pair of starving
orphans named Hansel and Gretel who were lured into a house in the woods
made entirely of candy and cookies by a grotesque old hag who intended to
fatten them up and chow down. But the siblings... 阅读全帖
r****e
发帖数: 3373
35
来,我给你贴一个。老头讲究起来真讲究,啰嗦起来真啰嗦,逗的时候真逗,恶的时候
真恶。
Playboy Interview: Vladimir Nabokov
By ALVIN TOFFLER • PLAYBOY • JANUARY 1964
Playboy: With the American publication of Lolita in 1958, your fame and
fortune mushroomed almost overnight from high repute among the literary
cognoscenti—which you had enjoyed for more than 30 years—to both acclaim
and abuse as the world-renowned author of a sensational best seller. In the
aftermath of this cause célèbre, do you ever regret having written Lolita?... 阅读全帖
t******n
发帖数: 2939
36
来自主题: WaterWorld版 - [合集] 素数的数学递归定义的问题
☆─────────────────────────────────────☆
xiongyp (dreamrain) 于 (Fri May 24 08:41:56 2013, 美东) 提到:
我们假设不知道什么叫素数,我们对正整数集合进行如下的定义来定义素数。(这是从
链接上取下来的,也是I63的定义)
(1) 1不是素数 (base case)
(2) a是素数当且仅当a不能被任何小于它的素数整除。
我曾经多次指出,这个定义在用素数定义素数,是不正确的。但看到很多的反驳如下。
1不是素数, 我们考察2,发现小于2的素数集合为空集,于是2为素数。以此再往下递归
,得出所有素数的定义。我想昨天深入讨论此内容的人,都不会反对我的总结吧。关于
"小于2的素数集合为空集"推出"2为素数",因我的不慎,还做出过郑重道歉。
好,我们仿造这种递归定义,来定义偶数。
我们假设不知道什么叫偶数,我们对非负整数集合进行如下的定义来定义偶数。
(1) 0不是偶数 (base case)
(2) a是偶数当且仅当a与任何小于它的偶数之差为2的倍数。
我从base case开始。0不是偶数。我们考察... 阅读全帖
C*******r
发帖数: 10345
37
来自主题: TrustInJesus版 - Is God a Taoist?
这是数学家,逻辑学家Smullyan对free will问题的一次尝试。Smullyan本人认为他自
己是道家哲学者。
Mortal:
And therefore, O God, I pray thee, if thou hast one ounce of mercy for
this thy suffering creature, absolve me of having to have free will!
God:
You reject the greatest gift I have given thee?
Mortal:
How can you call that which was forced on me a gift? I have free will,
but not of my own choice. I have never freely chosen to have free will. I
have to have free will, whether I like it or not!
God:
Why would you wish ... 阅读全帖
F****n
发帖数: 3271
38
Java的类相当于Smalltalk加primitive types
这个primitive type可以说是反OO的,所以很多人认为Java没有Smalltalk elegant
好处是增加了一定灵活性,计算复杂的程序可以通过使用primitive type来提高性能
比如你看那些image processing的实现基本上都是数组。
x*****p
发帖数: 1707
39
Java is always pass by references. For primitive types, in Java 5, it is
considered as a object by autoboxing. Thus it is still pass by references.
The reason why the value of a primitive can not be changed outside the
function is because that the corresponding object of the primitive is
immutable.
Look at the following two examples.
1. void foo(String str) { str = "inFoo"; }
String s = "abc";
foo(s);
System.out.println(s);
The output is abc, not inFoo. String is an object, but it is im... 阅读全帖
F****n
发帖数: 3271
40
来自主题: Java版 - 请教 class cast problem
Then it's obvious, an object can be a primitive array,
but an "array of primitive array" (which is actually an object array) can
never be a primitive array.
s******n
发帖数: 876
41
来自主题: Programming版 - java main的疑问

good point, it must be resolved.
a cmd line argument can always be interpreted as a String literal. it may
also be parsed into a primitive literal: int/long, float/double, char, true/
false/null - if that succeeds, there is no ambiguity in which primitive type
it ends up with.
Now we need to resolve method overloading, in the same way a compiler does
it(JLS 15.12.2.5), only in our purpose, a primitive literal is a "subtype"
of a string literal.
This won't confuse a programmer who's not confused
h*i
发帖数: 3446
42
来自主题: Programming版 - 关于变量
数学的变量是纯粹的变量,是变量的字面意思,“可以变化的量”,其值是可以真正不
确定的, 因为它不依赖于具体
实现。数学变量当然不是primitive data type, 比如一个数学变量可以是整个范畴,
一个流型,等等各种复杂的数学东东,这些玩意一点不primitive。
计算机上的变量总是有实现的,primitive的也好,复杂的也好,都有具体的实现,所
以,其值总是确定的。而字面意思的变量在冯纽曼计算机中是不存在的,一个量在一个
时候总是固定的,一个bit不可能既是1又是0,或者既非1又非0,这是不可能的。
量子计算机如何我不懂,不好说。
b**g
发帖数: 335
43
来自主题: Mathematics版 - 关于数论的一个问题
You can use law of quadratic reciprocity to check if A
is NOT a primitive root of p since if A is a quadratic
residue of p, then A cannot be a primitive root. If p
is a Fermat prime, then (A is quadratic nonresidue) <=>
(A is primitive root)
r*******g
发帖数: 5495
44
来自主题: MedicalCareer版 - 我为什么考board?---兼答xyyzm问
Thank u for listing these excellent cmg that I admire so much...
Moderat stressful life strenghens emotional associated subcortical cortex
function that promotes your behaviors more primitive but on the other hand
weakens cognitive control from prefrontal cortex. The results are that you
feel more primitive mental pleasant but less high order intelligent
regulation.
So, you are want get high scores of board exam, try your best to release the
stress. If you have some desires for primitive pleasur
g*******y
发帖数: 202
45
是啊,文章里提到非洲最早的化石与在亚洲发现的高度类似,但是亚洲的更为原始,
Asian Afrasia were more primitive than those of Afrotarsius from Libya,
particularly in the larger size of a tiny bulge at the back of its last
lower molar. These primitive traits, as well as the greater diversity and
age of early, or "stem," anthropoids in Asia rather than Africa suggest that
this group arose in Asia and migrated to Africa 37 million to 39 million
years ago. "Anthropoids didn't arrive in Africa until right before we find
their fossils in L... 阅读全帖
d****z
发帖数: 9503
46
http://www.world-nuclear.org/info/inf78.html
Enrichment in Earth's crust
Many analyses have been made of the uranium in the rocks forming the
continental and oceanic crusts, and in samples of the Earth's mantle
exposed as uplifted slices in mountain belts or as 'xenoliths' in
basalts and kimberlites (hosts of diamonds).
We can have some confidence that these measurements are robust for the
crust and upper mantle of the Earth, but less confidence that we know
the abundance of uranium in the lower... 阅读全帖
f********g
发帖数: 770
47

“The recognition that primitive accumulation may be a necessary precursor
to more positive changes raises the whole question of the politics of
dispossession under socialism. It was, within the Marxist/communist
revolutionary tradition, often deemed necessary to organize the equivalent
of primitive accumulation in order to implement programs of modernization in
those countries that had not gone through the initiation into capitalist
development. This sometimes meant similar levels of appalling ... 阅读全帖
f********g
发帖数: 770
48

the
马克思主义历史唯物主义的基础是什么?
Primitive accumulation是不是马克思讲的社会发展的必然阶段,是不是资本主义的原
始形态。作为资本主义的替代的社会主义,居然还存在primitive accumulation,而且
一样的暴力和血腥,真是对马克思的讽刺啊!你完整读过Harvey的这本书么?
我做学术是不怎么地,至少我在我要引述别人的观点的时候,会根据文本说话,而不是
张嘴就来,胡扯八扯。你这不是第一次被抓包了。上次你把什么Baudrillard说成是毛
派,马列主义,把麦克卢汉的技术论说成跟Baudrillard后现代理论上一样的东西,你
忘了?
另外我不会随便给人贴标签,这个是唯心主义,那个是相对主义的社会构建理论,结果
连这些东西是啥都没搞清。我也不会搞非此即彼,批评马克思主义/毛主义的理论缺陷
和由此产生的社会后果,就意味着别人是邓产党,是为目前的当权者说话。那我也批评
新自由主义带来的种种新的社会不公,那是不是我也是你们毛派的啊?
估计在你这个毛派理论大师眼里,中国人就只有这两种吧。
最后提醒你一次,左派,特别是西方的左派,并不就完全等同于马列毛... 阅读全帖
X1
发帖数: 1823
49
来自主题: Military版 - 黑人被白人家庭收养后
Black Males and Testosterone: Evolution andPerspectives
By Robert Lindsay
Development of agriculture in modern Blacks also seems to have led tohigh
testosterone levels. Groups with the highest testosterone in theworld today
are primitive agriculturalists.Hunter-gatherers tend to have lower
testosterone. This is because inhunter-gatherer society, women need men to
survive. So they grabone pretty quickly and get married.In primitive
agricultural societies, women do not need men since theycan farm ... 阅读全帖
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)