s******e 发帖数: 63 | 1 if delete all classes, recompile, restart resin, it will work.
but I could not do all these in productions after deployed. normally
I only patch new Constants and couple of new classes to production. |
|
g*****g 发帖数: 34805 | 2 If your business runs this way, then your design is very flawed,
put them in database. Add an entry when you need it.
A new partner shouldn't be a constant in your class.
partner |
|
t****5 发帖数: 20 | 3 build and deploy are normally seperated...
I think you can just remove 'final' and get over it.
next time remember that live data that changes on runtime
are absoutely NOT constant. |
|
s******e 发帖数: 63 | 4 if put in database/xml, I need to replace places of Constants.URL with
database/xml reading code/method, right? so need more time in implementing
and testing. |
|
g*****g 发帖数: 34805 | 5 You have to re-think about it, a web service url is part of business
data, and it has to be either in database or xml.
Do you think Amazon will add a constant in some of their classes every
time they have a new merchandise?
time |
|
t***a 发帖数: 416 | 6 如果你看编译好的bytecode, 两处应该都是LDC "Hello!", LDC都是生成一个string
refere
nce, 然后再把这个reference存储给static field或者local variable. 所以如果这么
看结果应该是false
但是jvm对于相同string constant在不同class files这种情况,有个优化,它只
create一个instance, 所以其实两个reference指向了同一个Instance,结果就变成了
true |
|
OE 发帖数: 369 | 7 原因之一就是很多人管string pool叫string constant pool.
string |
|
t***a 发帖数: 416 | 8 如果你看编译好的bytecode, 两处应该都是LDC "Hello!", LDC都是生成一个string
refere
nce, 然后再把这个reference存储给static field或者local variable. 所以如果这么
看结果应该是false
但是jvm对于相同string constant在不同class files这种情况,有个优化,它只
create一个instance, 所以其实两个reference指向了同一个Instance,结果就变成了
true |
|
OE 发帖数: 369 | 9 原因之一就是很多人管string pool叫string constant pool.
string |
|
n******1 发帖数: 3756 | 10 http://docs.oracle.com/javase/specs/jls/se7/html/jls-3.html#d5e
Literal strings within the same class (§8) in the same package (§7)
represent references to the same String object (§4.3.1).
Literal strings within different classes in the same package represent
references to the same String object.
Literal strings within different classes in different packages likewise
represent references to the same String object.
Strings computed by constant expressions (§15.28) are computed at compile
time and... 阅读全帖 |
|
z********8 发帖数: 1 | 11 其实原因很简单,跟便一起的优化有关。
k本身是声明为integer constant expression,因而被编译器看作常数,但你使用它的
值的时候,便一起直接使用5,而不是到内存中看。也就是汇编里的立即寻址。
内存中真正的值应该是6。
这个行为确实是未定义的,大部分编译器之所以选择这样做是为了更好的优化性能。 |
|
s********h 发帖数: 286 | 12 如果定义一个enumerated constant,比如这个:
enum {jack, diomand, heart, spade};
然后定义一个变量:
int suit = spade;
然后我输出suit的话,如果用
cout << suit;
结果就会是 3 ,可是我想让它输出的是 string “spade”,应该怎么做呢?
谢谢先! |
|
s********h 发帖数: 286 | 13 多谢回复啊,可是这样做感觉就没有必要用 enumerator 了啊?
用 enumerator constant 应该是让这个更简单才对啊? |
|
r*****e 发帖数: 4598 | 14 I am so confused with the below chart. Could anyone give a simple example or
help to explain? I don't really get the constant dollar concept... |
|
m********8 发帖数: 314 | 15 I am looking for the dielectric constant data of 0.9% saline, 1X PBS buffer.
Could any friends here inform me these data or how to search for such data
in literatures? Thanks you very much. |
|
l***8 发帖数: 124 | 16 小豬,完全不知道怎麼用FG Method去把HCN的force constant都算出來。。。
小豬暫時有的資料:
1. Ignore any bending mode.
2. Assume that the molecule is a harmonic oscillator.
3. Absorption Frequencies:
HC: 3312 cm^-1
CN: 2089 cm^-1
DC: 2629 cm^-1
CN: 1906 cm^-1
4. Point group: C∞v, subgroup: C4v
5. Using C4v, the representation of the vibrational modes: 2A1+E (3N-5).
6. Using the projection operator, the two A1's represent the HC bond and
the CN bond. Using the projection operator with respect to E gives 0(?).
小豬需要 |
|
u***n 发帖数: 1263 | 17 就是测配体和金属的binding constant,从酸碱滴定的,
哪个大拿知道。 |
|
l*********r 发帖数: 118 | 18 络合体系的络合常数association constant会随浓度变化而变化吗?其它条件不变,降
低溶液浓度,络合常数会变吗?谢谢啊。 |
|
g*****x 发帖数: 3283 | 19 理想情况下不会,你都管他叫constant了
实际情况下多少还是有一些很小的变化,会受到离子强度等影响 |
|
n*********e 发帖数: 149 | 20 【 以下文字转载自 Chemistry 讨论区 】
【 原文由 nitrogenase 所发表 】
Dose anyone know the value for S-C-C bend?
or give me some papers about the S-C-C bend force constant
thanks ! |
|
f*****x 发帖数: 46 | 21 老板说可以直接在用4156在drain上用一个constant current, 然后用4156测source上
的电流,不需要用任何外接电路。我已经试过了,得到的source电压非常非常大,好像
把mosfet都弄坏了。哪位高手有这个方面的经验啊,指导一下吧 |
|
c*******n 发帖数: 10 | 22 need some ideas for candidancy, looking for polymer-based materials with diele
ctric constant below 2 (Teflon), better close to 1.5-- I know it is really tou
gh issue.
Thanks |
|
f*****r 发帖数: 110 | 23 A famous professor told us in the class Teflon was the polymers having the lowest dielectric constant. |
|
D********g 发帖数: 533 | 24 BTW. If you have He Manjun's Polymer physics book. Check the molecular
weight measurements -> Viscosity part. I remember they have more discussion
on the shape of curve and Huggins constant.
Hugginsconstant(
负的 |
|
m********8 发帖数: 314 | 25 I am looking for the dielectric constant data of 0.9% saline, 1X PBS buffer.
Could any friend here inform me these data or how to search for such data
in literatures? Thanks you very much. |
|
F**D 发帖数: 6472 | 26 Try following book, but I'm not sure it has exactly what you want. Good luck
!
Handbook of Optical Constants of Solids," (ED Palik, ed.), Academic Press, O
rlando (1985).
buffer. |
|
p******c 发帖数: 40 | 27 This is on diatomic molecule, e.g. Iodine.
(1) What does it mean by Te (spectroscopic constant) when we talk about a
repulsive potential? For Iodine, the G'(^3\Pi_{1g}) state dissociates into
the same limit as the X state, but what can we tell if we are given only Te=
27900cm^-1?
(2) We know X-->A, X-->B and A-->G transitions have been measure, but has B-
->G' transition been measured? Is it because it is weak? |
|
h***o 发帖数: 350 | 28 How do we calculate the dielectric constant e' and e", and refractive index
n from transmittance and reflectance data? Is there any software that we can
use?
Thanks a lot for help! |
|
w*******e 发帖数: 83 | 29 If you know the film thickness, you can fit the real and imaginary part of
the refrective index with the refrective and transmission spectra using
multilayer fresnel equition. Dielectric constant is the square of the
reflective index. |
|
a****g 发帖数: 53 | 30 我想做一个简单的regime switching的volatility model (谢谢前面有人提起)。
但是想问问怎么测试volatility是不是constant?
有什么paper。资料介绍?
非常感谢!!! |
|
w********r 发帖数: 9 | 31 Does non-stochastic mean predictable? Not necessary to be constant? |
|
L*******t 发帖数: 2385 | 32 一个很傻的做法是,你用constant vol price不同日子的options,看看结果就知道了。 |
|
p******d 发帖数: 374 | 33 Sorry that I can not input Chinese now.
I think you have the following fomular: Y=Exp(-ct)
while c is the time constant
Then you can know that Ln(y)=-ct
It is simple now since the only thing you should do is get the logrithm
then linear regression.
You can know whether your data obeys the expontential formula
Gook Luck |
|
|
s******n 发帖数: 134 | 35 how to use sas to obtain a random sample of size 1000 from f(x,y)=c(c is a
constant) where and 0
Help!! Thanks a lot~~ |
|
w******a 发帖数: 986 | 36 exponential distribution乘个constant系数是什么distribution? thanks. |
|
w*******y 发帖数: 60932 | 37 they're here:
http://www.amazon.com/Bigelow-Constant-Comment-20-Count-Boxes/d
-
such a good deal - if you drink tea. Under 8 cents a bag - and individually
enveloped (each bag in its own aluminum pack) as opposed to the boxes of 40
that have 4 bags per pack.
I drink tea - all kinds of tea - and this is a great standby and a great
price
|
|
d**********o 发帖数: 1321 | 38 最终版本的compiler测试结果
=================================================
Output of Building User Code
Explode the tar
c-.l
c-.y
scanType.h
makefile
symtab.h
symtab.cpp
emitCode.h
emitCode.cpp
20131214164956-huang-CS445-F13-A5.tar: POSIX tar archive (GNU)
Tests: directory
c-.l: lex description text
c-.y: lex description text
emitCode.cpp: ASCII C++ program text
emitCode.h: ... 阅读全帖 |
|
d**********o 发帖数: 1321 | 39 最终版本的compiler测试结果
=================================================
Output of Building User Code
Explode the tar
c-.l
c-.y
scanType.h
makefile
symtab.h
symtab.cpp
emitCode.h
emitCode.cpp
20131214164956-huang-CS445-F13-A5.tar: POSIX tar archive (GNU)
Tests: directory
c-.l: lex description text
c-.y: lex description text
emitCode.cpp: ASCII C++ program text
emitCode.h: ... 阅读全帖 |
|
f**d 发帖数: 768 | 40 这是一本计算神经科学的优秀著作,全文拷贝这里(图和公式缺),有兴趣的同学可以
阅读
如需要,我可以分享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: ... 阅读全帖 |
|
l**i 发帖数: 8144 | 41 简单地讲 就是谋事在人 成事在天
认为社会发展沿着某个预定方向发展的理论 都是傻逼理论
--------------------------------------
Anthropic principle
From Wikipedia, the free encyclopedia
In astrophysics and cosmology, the anthropic principle is the philosophical
argument that observations of the physical Universe must be compatible with
the conscious life that observes it. Some proponents of the argument reason
that it explains why the Universe has the age and the fundamental physical
constants necessary to accommodate conscious life. As a ... 阅读全帖 |
|
d**********o 发帖数: 1321 | 42 hw3b deadline前版本
这里我也先公开承认一下自己早前犯过的错误,在这个楼的第 14 页、第 265 楼,我
有贴出自己的hw3b,但现在我必须向亲爱的读者一一您公开道歉。因为当时因为着急,
我没能找到hw3b deadline前的版本,就把这次作业后来的最终版本(也就是那个楼贴
出来的,只剩下ReturnK、CompoundK两条小尾巴的版本,那个版本被我改动了时间戳我
现在已经把它改回来了。相比于急于求成绩,我更希望自己作一个诚实的人,希望大家
能原谅)给贴出来了。因为我们作业deadline之后也还都是可以接着交的,所以任何作
业,老师都是可以根据后来的版本,追终到这个学生的最后进展的,这个最新进展老师
到底给不给分、就要看老师如何下决定了。
deadline前的版本,被我附在下面了。
当然,把自己的这个版本更新后,我愿为这个楼(这一次出来写的所有)属于自己的每
个贴子负责,所有写出来的,都是真实发生过的事。
=================================================
Output of Building User Code
Ex... 阅读全帖 |
|
d**********o 发帖数: 1321 | 43 hw3b deadline前版本
这里我也先公开承认一下自己早前犯过的错误,在这个楼的第 14 页、第 265 楼,我
有贴出自己的hw3b,但现在我必须向亲爱的读者一一您公开道歉。因为当时因为着急,
我没能找到hw3b deadline前的版本,就把这次作业后来的最终版本(也就是那个楼贴
出来的,只剩下ReturnK、CompoundK两条小尾巴的版本,那个版本被我改动了时间戳我
现在已经把它改回来了。相比于急于求成绩,我更希望自己作一个诚实的人,希望大家
能原谅)给贴出来了。因为我们作业deadline之后也还都是可以接着交的,所以任何作
业,老师都是可以根据后来的版本,追终到这个学生的最后进展的,这个最新进展老师
到底给不给分、就要看老师如何下决定了。
deadline前的版本,被我附在下面了。
当然,把自己的这个版本更新后,我愿为这个楼(这一次出来写的所有)属于自己的每
个贴子负责,所有写出来的,都是真实发生过的事。
=================================================
Output of Building User Code
Ex... 阅读全帖 |
|
z**********g 发帖数: 16 | 44 Discussing The Existence of “repulsion particle” And Its Significance
Zhuang Yiliong
Shanghai Institute of Science and Technology Management
Abstract:This report has advanced a assume about the existence of “
repellention” by a kind of new idea. Beginning with this, I have explained
more successfully some import theory questions in the area of the present
physics, cosmology and philosophy ect. At same time a few of new reasons
have been raised But this is only rough idea of physica... 阅读全帖 |
|
d**********o 发帖数: 1321 | 45 hw3 & hw3b 最终结果
贴一个自己 hw3b 的 match 结果让小伙伴们感受一下我们作业需要的结果是什么样子
的。
如果是同专业的小伙伴,最后拷贝到编辑器中仔细看一下,这个网页因为宽度有限,让
并排两列的比较呈现出来的很变形。
=================================================
Output of Building User Code
Explode the tar
c-.l
c-.y
makefile
scanType.h
symtab.h
symtab.c
20131116163236-(me~~)-CS445-F13-A3B.tar: POSIX tar archive (GNU)
Tests: directory
c-.l: lex description text
c-.y: lex description text
... 阅读全帖 |
|
d**********o 发帖数: 1321 | 46 hw3 & hw3b 最终结果
贴一个自己 hw3b 的 match 结果让小伙伴们感受一下我们作业需要的结果是什么样子
的。
如果是同专业的小伙伴,最后拷贝到编辑器中仔细看一下,这个网页因为宽度有限,让
并排两列的比较呈现出来的很变形。
=================================================
Output of Building User Code
Explode the tar
c-.l
c-.y
makefile
scanType.h
symtab.h
symtab.c
20131123233236-(me~~)-CS445-F13-A3B.tar: POSIX tar archive (GNU)
Tests: directory
c-.l: lex description text
c-.y: lex description text
... 阅读全帖 |
|
z**********g 发帖数: 16 | 47 Thesis about the relationship between electron charge
value and electron moving velocity
Yilong Zhuang*
Shanghai Institute of Science and Technology Administration
Jiading,Shanghai 201800
Abstract: “The value of charge has no changes”has not been proved,
but is admitted as a truth.Now that the electron mass can been changed with
it’s moving velocity,then electric charges,as the expression of the
substance’s nature,can be changed accordingly.Following this clue,th... 阅读全帖 |
|
z**********g 发帖数: 16 | 48 bout “Repulsive particle” hypothesis
Zhuang Yilong
Shanghai Institute of Science and Technology Managemen
Jiading 201800
“Repulsive particle” hypothesis is a new theory of material
action. Contrary to Newton law of universal gravitation, which explains why
an apple on the three falls to the ground, it can be called law of universal
repulsion which explains why an apple grows on the tree. It regards a plank
quantum as a material particle, which is a epulsive particle”
counter... 阅读全帖 |
|
|