由买买提看人间百态

topics

全部话题 - 话题: diffe
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
Z****e
发帖数: 2999
1
来自主题: Java版 - JVM crashes on Linux
是IBM的那个ClearCase plugin吗?我也用过,我记得好像整个plugin就是个壳儿,调
用的大部分都是ClearCase本身native的diff等等,所以你可以看看是不是plug-in的路
径没有设对,结果就找不到CC的diff在什么地方了,不过我只用过Windows版的,没用
过Linux下的那个plug-in
f********i
发帖数: 563
2
1. 如果结果不对:自己设置一个variable counter,然后print of interest
information (and the counter),run problematic,run reference,do diff,然
后根据diff的counter
设condition break point。
2. 如果是crash,设断点,然后ignore big number, say 100000,等crash了看看hit
了多少次,然后ignore that count minus one。
r****t
发帖数: 10904
3
来自主题: Linux版 - kao, auctex preview not working!!!!!
auctex 是不好装,我也没有装 cvs 版, 只是烤了个比较新 (2011/1/23)的 preview.el 覆盖了就好了。我这儿包的版本是 (on debian):
ii auctex 11.86-2 integrated document editing
environment for TeX etc.
ii ghostscript 9.02~dfsg-1 interpreter for the PostScript
language and for PDF
或者你 downgrade ghostscript 回去 0.87 看看可能也行。
preview.el 的 diff: (看起来有很多行阿,记错了。格式是乱的就是看个版本号。你需要找 1.286 的 preview.el 下载)
$ diff preview.el.orig preview.el
3,4c3,4
< ;; Copyright (C) 2001, 2002, 2003, 2004, 2005,
< ;; ... 阅读全帖
d****p
发帖数: 685
4
来自主题: Programming版 - what is the difference?
for your case, no diff.
for case below, big diff
Widget a();
vs
Widget a;
p**o
发帖数: 3409
5
来自主题: Programming版 - Python问题请教

def parse( s ) :

result = ''
lst = [ eval(i) for i in s[1:-1].split(', ') ]
head, p0 = lst[0], lst[1]
diff0 = p0 - head
flag = True
num_consecutives = 2

for p in lst[2:] :
if not flag :
flag = True
diff0 = p - p0
p0 = p
continue
diff = p - p0
if flag and diff0 <> diff :
if 2 == num_consecutives :
ss = str(head)
head = p0
diff0 = ... 阅读全帖
p**o
发帖数: 3409
6
来自主题: Programming版 - Python问题请教

def parse( s ) :

result = ''
lst = [ eval(i) for i in s[1:-1].split(', ') ]
head, p0 = lst[0], lst[1]
diff0 = p0 - head
flag = True
num_consecutives = 2

for p in lst[2:] :
if not flag :
flag = True
diff0 = p - p0
p0 = p
continue
diff = p - p0
if flag and diff0 <> diff :
if 2 == num_consecutives :
ss = str(head)
head = p0
diff0 = ... 阅读全帖
n******7
发帖数: 12463
7
python科学计算当然用numpy这一套
我比较土,要是就算个差额
我还是愿意自己写,这种东西一般也不会是瓶颈
我看了一下diff的实现,
a = asanyarray(a)
nd = len(a.shape)
slice1 = [slice(None)]*nd
slice2 = [slice(None)]*nd
slice1[axis] = slice(1, None)
slice2[axis] = slice(None, -1)
slice1 = tuple(slice1)
slice2 = tuple(slice2)
if n > 1:
return diff(a[slice1]-a[slice2], n-1, axis=axis)
else:
return a[slice1]-a[slice2]
跟zip的思路比较像
r****y
发帖数: 26819
8
来自主题: Security版 - 现在最好的防火墙软件是什么?
and diff linux distributions may have diff weakness. Cannot take as equal.
p*********w
发帖数: 23432
9
diff 出来的文件,我觉得是能用某些工具处理的,
比如 patch就是用 diff 出来的文件
那么用脚本应该都是可以的了
l*l
发帖数: 225
10
diff cmp
Or you can use " od -c " to convert bin -> char abd the diff those chars.
s*******r
发帖数: 3
11
Hi,
I made a "diff" to a directory and can't do a "patch" now.
What I did was:
diff -ruN dira dirb
"dira" and "dirb" are directory names. Then I deleted
"dirb".
Now, I have "dira" and want to generate "dirb". How can I
do it ?
Thanks!!!
w********u
发帖数: 46
12
来自主题: Accounting版 - 【问个专业问题】地毯的depreication
问题在于一般non-GAAP的小公司,tax和book是没有diff的。就算有diff,那已经take
的tax benefit是不是也应该考虑?
d********n
发帖数: 16
13
that's tech. diff institutes use diff names for technicians
1. in some univ, they use research assistant I (lowest), II (purely tech),
then research associate I, II (postdoc or senior tech)
2. in some univ, senior research investigator is used for senior tech
3. in some univ, they use research assistant I, II, III,....
o******n
发帖数: 511
14
microbiome没那么玄,但也没那么不堪。我个人觉得只有gut microbiome和疾病/免疫
有很大的关系,但我不喜欢一股脑都往那上头扯,至于身体其它部位的microbiome那多
半是exploratory性质的,忽悠居多。
提到probiotics,其实市售的probiotics很多都不纯,一是时间长了有污染,也因为没
人仔细检查菌源,而很多厂的菌源来自一个地方。另外probiotics不是commensal
bacteria,只是过客而已,所以得不停吃。
用fecal transplant的确可以治c. diff,就是用健康人的菌群把c. diff给竞争死了,
但我不确定那些菌群在病人体内能不能扎根,听说有的人要接受不止一次fecal
transplant治疗。
z*********8
发帖数: 1203
15
貌似有用的microbiota的细菌很多是严格厌氧菌哦,市面的probiotics我觉得应该不含
有任何严格厌氧菌。貌似C.diff感染经常都是病人用了antibiotics后肠道菌群失调,
然后C.diff overgrow了最后take over gut了,我MD PHD
的同学说他们各科室rotate的时候最怕这种病人,离的50米远就能闻得到身上的臭味,
我想这病并不是单是一个细菌感染的问题,还应该到social life了。
d*******d
发帖数: 3382
16

thats exactly the problem I am having.
This is not exact according to math, as it should be band limited.
Will real system like this? no real system will be infinite in time domain.
I am studying the effect of strong interference on signal,
the small diff will cause big diff in output SNR.
s****h
发帖数: 3979
17
来自主题: EE版 - 问个估计noise的问题
nonstationary time series, estimate the instanous noise level
有什么比较好的法子? estimate里面的信号呢?
试过wavelet denoise,觉得noise成份太小了。如果把高频能量都算噪声的话。
有没有比较好的filter推荐?尤其是end filter? 有没有什么end filter可以
根据不同的phase shift来设计的?
想了个很土的法子,假设原时间序列为X,由无关的信号T和噪声N组成。
先算 var(X),downsampling 2采样后,得到X2(和T2, N2), 计算var(X2).
var(T) = 1/4 var(T2), 如果假设是gaussian noise, var(N) = 2var(N2),
假设是brownian motion, var(T) = 2/3var(T2).如此可以估算噪声。
可是diff(S)的autocorre func在1,2,3...处都远大于0,这么算不太合理吧?
要是根据autocorre func和var(diff(S))来算,这个noise就是个
c******h
发帖数: 454
18
来自主题: EE版 - 请教一个电路设计的问题
use dll align its negative edge with positive edge. The dll delay is 2n
arcitecture. the phase diff is 180 now. take the signal in the middle, the
the phase diff is 90 now. XOR the two signals, u get T/2. Do one more time,
u get T/4.
maybe there is better idea.
R******m
发帖数: 44
19
合成波 y=cos(w1*t)+cos(w2*t);
diff=w1-w2;
直到频率之差diff为多少时,不能用"DFT"区别两个波?
不太清楚用Matlab 不太清楚用
谢谢
s*x
发帖数: 3328
20
来自主题: Mathematics版 - differential form 的几何解释
距离的diff是速度,速度的diff是加速度,都是对时间来说的。
D**o
发帖数: 2653
21
来自主题: Mathematics版 - 关于煙花不堪剪
注意作者 \author{YHBKJ}
Atiyah-Bott Localization 1
2012-09-05 09:24:19
\documentclass[a4paper,12pt]{article}
\usepackage{amsfonts}
\usepackage{amsmath,amsthm,amssymb}
\usepackage{CJK,graphicx}
\usepackage{amscd}
\usepackage{amssymb}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{corollary}{Corollary}[section]
\newtheorem{definition}{Definition}[section]
\newtheorem{lemma}{Lemma}[section]
\begin{document}
\title{\textbf{\Huge{Atiyah-Bott Localization 1}}}\author{YHBKJ}\date{}\
maketitle
\begin{ab... 阅读全帖
c*******n
发帖数: 1648
22
来自主题: ME版 - Mold flow
My master thesis advisor was from that group in the mid-80's. But I didn't do
any simulation work on injection molding. He asked me to some recipe study, I
was bored, that's why now I am working on an totally diff. PHd
Project under diff. advisors. But I still have strong interest in
non-newtonian fluid mechanics.

embossing,
manufacturing.
the
rheology
Is
quite
N****e
发帖数: 31
23
38yr, female, present to PAH on 4/4/10 with diarrhea for 4 days, initially
loose watery diarrhea, 3-4 times/days, now worse and loose watery stool
every hour, and blood mixed with the stool, medium volume, non-foul smelling
, with mild crampy abd pain. Have had 5 BMs since yesterday, and the last
one almost all blood. (+) subjective fever, no chills, no cough/SOB. Had a
course of antibiotics (Keflex) 2 weeks ago (3/9/10- 3/14/10).
PMHx: Kidney stones, Seizure disorders, Vit D deficiency
PSHx: S... 阅读全帖
c*******9
发帖数: 122
24
来自主题: MedicalCareer版 - ***Emma 座谈会(1)English 征文***
Thank you so much, Emma.
You are so generous to share your experience. I learned a lot from you today
. Thanks!!
good nurse:
say thanks to nurse face to face, even can admit you didn't think about it (
excellent, exceeding average nurse). mention the name to the nurse manager
that we have great nursing team here
bad nurse:
confront the nurse. need some time to talk to your privately. state the fact
. is there any reason that u didn't do this? well, i asked you to d/c
aspirin yesterday and it hap... 阅读全帖
d****y
发帖数: 2180
25
☆─────────────────────────────────────☆
daisyy (daisy) 于 (Wed Aug 22 19:53:02 2012, 美东) 提到:
请大家把记录的笔记,感想放到这个帖子下面,以便于收精华区。
同时也保证你成为以后会议的VIP.谢谢!
☆─────────────────────────────────────☆
tangbutian (糖不甜) 于 (Wed Aug 22 19:55:06 2012, 美东) 提到:
The art of language -- communicate effectively in clinical settings
重点讲在医院里的communication,怎样适应美国的文化,怎么在医院中混的如鱼得水
、风生水起~
关于英文:
细节参见麦地前阵子的那两个有关英文的帖子,补充一点非常重要的:不仅要多说、多
念,更重要的是写作能力,脑子里有多少东西嘴巴才能讲出来多少东西。对CMG来说口
音并不是致命问题,更严重的是语言组织能力差,有条件的最好take一门写作的课程。
语言是一门艺术... 阅读全帖
g****i
发帖数: 2269
26
来自主题: Nursing版 - 教LVN的感受
我有一段时间只是纯粹的周末班(有full time的benefits,pay 还是hourly,当然有$9/h
的weekend diff),过了一段好日子,但是发现太堕落了,也长胖了,因为周1-5都休息
。后来就找了现在这个part time的工作,同时还在医院继续weekend上班。
找工作:
其实还是很容易的,主要看机会,因为position很少。我们这里有4个lvn program。我
是从board of nursing上找到他们的联系人和email的。然后都投了简历。先接到一个
面试,是clinical instructor。pay还可以,跟我在医院的base 一样,当然没有任何
diff了。但是要我去的医院太远了,大概55mile,而且他们的实习是早晨6点开始。尽
管是第一个offer,而且来之不易,但是实在因为距离和时间的问题不得不放弃。过了
半个月,现在的学校找我面试,因为正好有人病了,需要新老师。面试还挺愉快的,时
间也合适,是晚班,5-10点,我不怕晚上但怕早上的时间。pay的比第一个offer少了3
刀,但是我想第一个这个方向的工作一定要把起薪抬高,否则想跳槽都
g****i
发帖数: 2269
27
来自主题: Nursing版 - 教LVN的感受
atlanta的医院也要求full time上周末的,好像是一月上2个weekend shifts。同时也
有这种专上周末的,full time的上周末是好像是3-4刀的weekend diff,专上周末的是
5-6刀。
现在医院full time的不要求上周末,这就势必造成周末完全靠我们来上。就即使full
time的来上周末有6刀的diff,还是没有人愿意来。
s**4
发帖数: 490
28
the only ones i took were compositions, micro, anatomy and stats.
Diff schools have diff requirements.there were schools that didn't require
history...back then. but if they are required, i don't think there is a way
to get around it. pharmacy schools are pretty strict on prereqs.


plant
University
y******g
发帖数: 317
29
来自主题: Psychology版 - 心理知识竞赛
嗯。明白你的意思了。
简单说来,之所以说correlational study对ind diff重要,是因为ind diff属于自然变
量了,不能被实验设计者所改变的,所以只能留给correlational study 或者统计中的
类似分析方法去解决,而不适合拿给experimental study去manipulate.
t**********a
发帖数: 166
30
That is not a problem as it usually priced conversatively on sell side, and
the diff between digital and call spread are charged to the clients.
The issue sometimes is to re-trade the call spread to narrow the diff when
it comes to epxiration (expecially for long-dated).

options?
o*******e
发帖数: 31
31
来自主题: Science版 - Re: 请高手帮忙解一个方程

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
so y=c1Exp[(A^0.5)x]+c2Exp[-(A^0.5)x]
then the first term will blow up when x-->oo, so the asymptotic
solution when x-->0 should be y=c2Exp[-(A^0.5)x].
I plan to set the sloution of original diff. eq has the form
y=v(x)Exp[-(A^0.5)], then make derivative of y respect to x. After
make the substitution of y'', y' & y, the original diff. eq becomes
v''+(1/x-2A^0.5)v'-(A^0.5)(1/x)v=0.
I think we can use the series solution method to get the solution
of v
a**u
发帖数: 99
32
来自主题: Science版 - need help for learning physics
你这基本不对
CLASSICAL MECHANICS: LANDAU
QUANTUM MECHANICS: LANDAU OR DIRAC
(ELECTROMAGNETIC FIELDS) ELECTRODYNAMICS: JACKSON
THE MOST ADVANCED:
QUANTUM FIELDS(LINEAR SPACE,GROUP)
CONFORMAL FIELD THEORY(COMPLEXCITY ANALYSE)
STRING THEORY(DIFFERIENTIAL GEORMETRY)
GENERAL RELATIVITY(DIFF. GEO.)
....................................
JOURNALS:
REVIEW OF MODERN PHYSICS
PHYSICS REVIEW A-E( PHYS.REV.)
PHYS.REV.LETT.
JOURNAL OF DIFF. GEOM.
NUCLEAR PHYSICS
.....................................
IF YOU NEED ADDIT
m******g
发帖数: 91
33
来自主题: Science版 - help!!!!!!!(Chemistry)
To go further, I think if you can do the followiing exp.s:
1) just heat FeSO4, w/o other salines
2) try other source FeSO4 products (not the same company)
3) try other water (ddH2O, and autoclaved)
4) Cool down the sol. and see if the color will come back to green
5) try diff. Conc. FeSO4, diff. Heating Temp., draw a O.D. curve and see if
there is any dose- or temp- dependent relations
etc. and see
A*********u
发帖数: 8976
34
来自主题: Statistics版 - sas里怎么取相邻2个observation的差?
lag的值不一定是上一个observation里的值
而是上次执行lag function时候的那个值
所以即使是第一个id你也要用一次lag
像这种多个id的情况
可以这么写
data new;
set test;
by id;
last=lag(sumnb);
if first.id then diff=.;
else diff=sumnb-last;
drop last;
run;
f*******r
发帖数: 257
35
As I understand it, if x and y are cointegrated, then ols is consistent.
Nothing needs to be done other than ols. But a cointegration test needs to
be done a priori.
If x is i(1), then y on diff(x) can be regressed by ols. However, many
times it's not meaningful to regress y on diff(x)...
b********y
发帖数: 63
36
That is not an answer.
Are you doing cor(x,y) or cor(diff(x,1), diff(y,1))?
b*******r
发帖数: 152
37
just curious- are these industry-wide standardized already, or potentially u
will have to deal with diff standards by diff insurers,hospitals...

to
will
based
o****o
发帖数: 8077
38
来自主题: Statistics版 - help with a sas code
data diff;
merge x(where=(date=1) rename=(x=x0))
x(where=(date^=1) in=_2)
;
by id;
retain x0;
diff=x-x0;
if _2;
run;
not tested
a*******1
发帖数: 1554
39
我想用adf.test,但总觉得有点怪:
>adf.test(rate1.test,k=1)
结果:
Dickey-Fuller = -2.6221, Lag order = 1, p-value = 0.3214
但如果改用
adf.test(diff(rate1.test,1),k=0)
输出:
p-value smaller than printed p-value
我不理解的地方是:这两个命令不是等价的吗?k=1表示对原序列diff一下再测,k=0表
示直接对原序列测试,为什么结果会不一样呢?谢谢。
a********s
发帖数: 188
40
来自主题: Statistics版 - 【包子】R 时间变量做减法
You may first need to convert variables into Date types, and then use
similar code below to get new date.
x <- as.Date("31DEC2000", format = "%d%b%Y")
y <- as.Date("31DEC1999", format = "%d%b%Y")
diff <- x - y
new.dt <- y + as.difftime(diff, unit="days")
z**********i
发帖数: 88
41
来自主题: Statistics版 - 沮丧 R
就是想得出the mean of (v1-v2).
在SAS里,先要得出diff=v1-v2, then proc means;var diff.在R比较方便,因为可以
做矩阵,我的code为什么不行呢?
谢谢
z**********i
发帖数: 88
42
来自主题: Statistics版 - 沮丧 R
我觉得还是code问题
举个例子
y=1,2,3,4,na
x=3,4,5,6,na
diff=(y-x)
mean=mean(diff,na.rm=TRUE)就可以work
但是:
mean=(mean(y-x),na.rm=TRUE)就不work
请帮忙!!!谢谢!
f******d
发帖数: 537
43
来自主题: Statistics版 - 沮丧 R
Look at your two commands very carefully. Are they the same?
diff=(y-x)
mean=mean(diff,na.rm=TRUE) vs.
mean=(mean(y-x),na.rm=TRUE)
r*****y
发帖数: 199
44
来自主题: Statistics版 - 请教一个SAS SQL的问题
今天遇到一个很简单的case,用datastep能够解决,不过感觉太麻烦了,我觉得SQL应
该能很方便的解决这个问题,而平时自己sql又不熟悉,只好上版上来找好心人问问了。
问题很简单,我有两个一摸一样的dataset,pre和post,我要对20多个variable做post
-pre,如果用datastep的话,每个dataset里面的variable都要改名加上后缀pre,post
,然后要再merge到一个大的dataset里面,然后还要计算diff,感觉操作起来非常复杂
。我想做得是用第一个post dataset 整个减掉 pre dataset 里面每个variable 对应
的值,请问要怎么操作呢? 我来编个dataset吧!假设
pre
id measure1 measure2 measure3
1 20 30 40
2 50 60 70
post
id measure1 measure2 measure3
1 15 ... 阅读全帖
e****t
发帖数: 766
45
:( ls mean diff and SE is from statement:
lsmeans trt * time / pdiff;
for example, for time 4, trt 1 - trt 2, use this statement, we obtain
lsmeans diff and se....
l****u
发帖数: 529
46
来自主题: Statistics版 - 怎么样给这样的一列用SAS算平均?
proc sql;
create table outdsn as
select distinct site,nrate,avg(yield) as avg
from indsn
group by 1,2
order by 1,2;
quit;
data outdsn;
set outdsn;
diff=diff(avg);
run;
a*******g
发帖数: 80
47
来自主题: Statistics版 - proc glm questions
I have a group of patients, 2 trt arms and two centers. the outcome is a
continuous variable. I am interested the effect of trt but like to control
the effect of centers. Here is the code I used:
proc glm data=test;
class recon treatment_arm;
model scores=treatment_arm|recon/ss3;
estimate "trt diff"
treatment_arm 1 -1
treatment_arm*recon 0.5 0.5 -0.5 -0.5;
run;
But the log returned me with
"NOTE: trt diff is not estimable.". (no error message)
When I use the proc mixed, it wor... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)