由买买提看人间百态

topics

全部话题 - 话题: reflected
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
T*********e
发帖数: 39815
1
来自主题: Outdoors版 - Reflections and lessons from Mt.Shasta
ZZ from summitpost
去年冬天Mt shasta的一次事故,作者和tom爬shasta,登顶后因为天气恶劣(风大),
选择在山顶(14000ft)bivy一晚,第二天返回营地,bivy的晚上两人状态良好,未出现
高山反应和低温症,但是,因为缺水,出现一些轻微的脱水。第二天早晨,两人刚准备
返回营地,tom出现高山反应脑积水。。。
事故报告写得很详细,很长,但是非常值得一读
http://www.summitpost.org/article/624046/Reflections-and-Lessons-from-Mt-Sha
sta.html
http://www.summitpost.org/trip-report/626323/Against-All-Hope-Life-Partnersh
ip-and-Loss-on-Mt-Shasta.html
L***0
发帖数: 1283
2
来自主题: Running版 - reflection on recent training
1. last week I thought HS4 was killing me and I had to switch to wave
universe. but upon reflection I realized that the problem wasn't HS4. It was
in fact that I ran on steep downhills too much in wave universe. The shin
pain only got to me 48 hours after the workouts, when I switched to HS4 for
a run on the track, which mislead me to think that HS4 caused my problem. I
had switched back to HS4 again and my shin pain has mostly gone away.
2. tried something different this last weekend. two 18-mi... 阅读全帖
v*********u
发帖数: 10464
3
来自主题: Travel版 - Amazing reflections in Alaska
Amazing reflections in Alaska
哈哈
s******e
发帖数: 91
p****x
发帖数: 980
5
来自主题: LeisureTime版 - Reflections on Hawking's Remarks (转载)
【 以下文字转载自 NewYork 讨论区 】
发信人: ppddxx (孟楠), 信区: NewYork
标 题: Reflections on Hawking's Remarks
发信站: BBS 未名空间站 (Sun Sep 5 01:18:02 2010, 美东)
In his interview with CNN about 2 years ago, Professor Stephen Hawking, said
that “ if humans can survive the next 200 years and learn to live in space
, then our future will be bright.” He argued that there had been a few
times in our history when the survival of human race was in danger. For
instance, the Cuban missile crisis in 1963 was one of those occasi
x******r
发帖数: 473
6
【 以下文字转载自 Seattle 讨论区 】
发信人: xjcougar (cougar2006), 信区: Seattle
标 题: Shuksan Mountain Reflected in Picture Lake
发信站: BBS 未名空间站 (Mon Oct 18 01:13:25 2010, 美东)
One the most popular spots for landscape photographers.
f****r
发帖数: 311
7
来自主题: EnglishChat版 - [转载] Reflections of a lover. I
【 以下文字转载自 Dreamer 讨论区 】
【 原文由 Dreamer 所发表 】
Reflections of a lover. (I)
"... I sit here and begin to think about her. How I wish she were here right
now. How relieved I was to hear her say she could see the true romantic in
me. If only she knew how I feel about her, but I do not have the courage to
tell her. So I try to put my feelings on paper, then if ever I have the
strength I will give it to her. For the first time in ages words are a riddle
instead of a rhyme.
Never before has it been so ha
h***a
发帖数: 1773
8
【 以下文字转载自 Seattle 讨论区 】
发信人: xjcougar (cougar2006), 信区: Seattle
标 题: Shuksan Mountain Reflected in Picture Lake
发信站: BBS 未名空间站 (Mon Oct 18 01:13:25 2010, 美东)
One the most popular spots for landscape photographers.
s********p
发帖数: 30
9
facebook hottest topic reflect Silicon valley has too many male computer
engineers.
https://www.facebook.com/groups/220965144600292/
l*********m
发帖数: 2
10
【 以下文字转载自 SanDiego 讨论区 】
发信人: limeblossom (limeblossom), 信区: SanDiego
标 题: Funny in Farsi - Laughter and self-reflection for Foreigners and Americans alike (in English)
关键字: 'English' 'Book Review' 'Humor and Thoughts'
发信站: BBS 未名空间站 (Fri Apr 24 14:31:45 2009)
Funny in Farsi
I first heard of Funny in Farsi in a Chinese language website (of all places
!) in America. My boyfriend is Iranian and I asked him whether he knows the
book and he has not heard about it at that time. Got the book anyway
y********o
发帖数: 2565
y********o
发帖数: 2565
r****y
发帖数: 26819
13
来自主题: Flash版 - a laser reflection game
【 以下文字转载自 FlashGame 讨论区 】
发信人: olo ( img src="http://24.26.180.27/7.gif" ), 信区: FlashGame
标 题: a laser reflection game
发信站: Unknown Space - 未名空间 (Tue Mar 30 13:20:44 2004), 转信
这个地方介绍:
http://www.silverspaceship.com/chromatron/
这个地方下载:
http://www.silverspaceship.com/chromatron/chromatron.exe
我玩了好长时间,还是没有全部解决,大家试试看能过多少关。
c********k
发帖数: 74
14
Hi, I got the following exception when running the codes attached below:
Exception in thread "main" java.lang.InstantiationException: IFactory$1
at java.lang.Class.newInstance0(Class.java:281)
at java.lang.Class.newInstance(Class.java:249)
at IFactory.getI(IFactory.java:20)
at IFactory.main(IFactory.java:35)
Is it because Java doesn't support reflection for anonymous inner class? If
so, how can I have dynamic classes? Is it possible?
Thanks in advance.
Gary
import
n*****k
发帖数: 123
15

Does this have anything to do the famous reflection error, you must have a
default public constructor, in order to use class.newInstance() method.
i**h
发帖数: 17
16
you must be using reflection, and possibly the new java version has changed a
method signature or something of that nature.
try to get the target exception (the source exception) off the TargetException
and see what that says...
s***8
发帖数: 1136
17
来自主题: Java版 - Question: reflection and generics
I have the following generic interface:
public interface GenericIntf {
public T hello(T);
}
and an impl class:
public class HelloImpl implements GenericIntf {
public Date hello(Date d) {
return d;
}
}
When I reflect on HelloImpl class to get all methods with HelloImpl.class.
getMethods(), I got 2 methods, instead of 1:
public Date hello(Date);
public Object hello(Object)
I was expecting to see the first one (the one that has resolved to the
actual Date type). Is this expected
q*********u
发帖数: 280
18
来自主题: Java版 - Question: reflection and generics
看看doc,
getMethods
public Method[] getMethods()
throws SecurityException
Returns an array containing Method objects reflecting all the public member
methods of the class or interface represented by this Class object,
including those declared by the class or interface and those inherited from
superclasses and superinterfaces. Array classes return all the (public)
member methods inherited from the Object class. The elements in the array
returned are not sorted and are not in any
s***8
发帖数: 1136
19
来自主题: Java版 - Question: reflection and generics
Thanks!
I've omitted methods inherited from Object. The part I don't understand is,
why hello method appears twice. Aren't they the same method, since
HelloImpl just implements the same method declared in GenericIntf?
If I don't use any generics, let HelloImpl implement Runnable interface, the
run() mehtod only appear once when reflecting on HelloImpl.
z*******3
发帖数: 13709
20
很重要的一点是你不需要import类就写出调用这个类方法的代码
这个其实你用得很少,spring等框架用得多
写spring的人不可能去import你写的类
那么要调用你写的类里面的方法,就只有通过reflection
g*****g
发帖数: 34805
21
举个例子,就是JDBC,不同数据库有不同JDBC driver。你可以把这样一个property写
成一个configuration.
driver=com.mysql.jdbc.Driver
到时候DriverManager就可以动态Load。里面调用的就是reflection API
Class.forName(getProperty("driver"))
这就是Factory Pattern。C++里面Factory Pattern,只能有几个固定的选项hardcoded
,而Java里面,可以直接把选项做成configuration。干净而灵活,增加一个新的选项
,无需修改代码。这就是多一层indirection的好处。
c*********e
发帖数: 16335
22
vb,c#也有reflection,threading阿。现在一个语言有了某个东西,其它语言都要跟进。
b***i
发帖数: 3043
23
假设你发布一个软件,然后别人可以用你的jar,增加自己的模块,怎么让你的jar调用
他的呢?
假如你的程序读取一个xml的控制文件,你的程序从里面读入class, function的名字,
然后调用。那么别人就可以不用改你的程序。你用reflection就可以完成这个任务。别
人改写xml就行了。就是说,这个函数的调用动态发生在运行期,编译的时候不知道该
调谁。。
w**z
发帖数: 8232
24
yes, I just read the source code for jmx , it is a bit hard to read if the
code is using reflection, don't you think. has to follow the convention.
getXxx, never liked Java bean.

too.
r*****s
发帖数: 985
25
to be more specific, for integration,
loosely coupled integration,
when we are not sure and not necessarily to be sure about
the code/libraries to be integrated.
regarding perf issues in reflection,
searching for methods has been optimized
(do not try to optimize it yourself like a cache,
it has caches inside!)
as well as the invocations,
i don't think we need to worry about it
in 99 out 100 cases.
N******7
发帖数: 1297
26
Are you sure this is reflection?

hardcoded
f**r
发帖数: 865
27
这个feature我用过的,很好用。具体的方法是用java的annotation
interface, 请用户标出我需要的constructors/methods/fields:
@()
...constructor/method/field definiton...
在程序运行的时候,我可以reflect用户的class, 找到其中的annotation,
以及annotate对象的精确定义, 然后自由调用。非常方便,现在很多
library code都在用。比如google的guice用于injection, jackson用于
json serialization/deserialization等等。
x****u
发帖数: 44466
28
来自主题: Programming版 - 谈一下VC6里面对Reflection的支持
首先要说明的是,当时的CPP标准不支持,而VC6没有对标准刻意的修改。
MFC的话有CObject和各种宏,在Runtime层面有COM的各种接口的系统实现。基本上现代
Java和C#里需要的主要reflection特性都可以应付。
t**r
发帖数: 3428
29
来自主题: Programming版 - 为什么cpp不能做类似java reflection?
为什么cpp不能做类似java reflection?
g*****g
发帖数: 34805
30
没有VM是做不了 reflection的。除非预编译附上 metadata. 这意味着第三方类库不能
做。
n******7
发帖数: 12463
31
外行问问,reflection是不是就是用变量来指定类、方法?
也就是很多语言里面的eval?
g****t
发帖数: 31659
32
来自主题: Programming版 - golang 这个reflection设计的不错。
这个reflection设计的不错。
简单直接,感觉有星宿派的实用风范。适合散户使用.
不走oo动态xxx的路。
我认为这是语法上对c最大的提高。
克定汉书上338页的例子是“encoding S-expression”。
这本书我看也就这一章比较现代,且无毒。
g****t
发帖数: 31659
33
来自主题: Programming版 - golang的reflection
我看有了这个reflection什么奇技淫巧都可以玩出来。filter什么的functional
programming 只是初级.
w********m
发帖数: 1137
34
来自主题: Programming版 - golang的reflection
python就是这样的吧,运行时猜type。所以dynamic typing的语言快不了。
go的type switch其实可以顶一顶,实在不行那就运行时reflection了。
z**h
发帖数: 224
35
【 以下文字转载自 Chemistry 讨论区,原文如下 】
发信人: zzwh (Timing Bell), 信区: Chemistry
标 题: 有没有做NEUTRON 或X-RAY REFLECTIVITY的,都用什么软件FIT DATA 呀?
发信站: The unknown SPACE (Sun Feb 9 13:03:26 2003) WWW-POST
Thanks>
z**h
发帖数: 224
36
reflectivity.

website
z**h
发帖数: 224
37
来自主题: Macromolecules版 - 问懂reflectivity 的大侠一个问题
if you are running neutron or x-ray reflectivity, your sample has three
different layers at first. after you annealed it, these layers mergered
together. will the critical angle change or not? Thanks.
d*****s
发帖数: 313
38
来自主题: Macromolecules版 - 问懂reflectivity 的大侠一个问题
it will change since the reflective indices are different.
z******i
发帖数: 38
39
fresh Ph.D, 希望能求到一些review paper,我主要方向是polymer nanocomposites,
surface modification using APRP, surface morphology study using x-ray and
neutron reflectivity.具体的情况可以附上CV。希望如果有ID收到review 愿意转让的
联系。感激不尽。谢谢了。
d****a
发帖数: 55
40
有限差分解一个波动方程,non reflecting边界条件怎么设置啊?另外,rigid wall上
的边界条件我设置为速度为0,轴对称边界条件我设置为法向速度为0.这个没问题吧?
l****a
发帖数: 86
41
non reflecting:
Simply put: p=0
or more precisely: rho*c termination: Z=rho*c
Axisymmetrical bc: Vt=0 instead of Vn...
w*****e
发帖数: 197
42
The classic problem is following:
B(t) is a brownian motion and determine the probability
F( X, T ) = P{ B(t) <= X for 0 <= t <= T }
where X > 0
This one has a very nice solution using reflection
principle. So my question is how to generalize this?
How about Y(t) = mu * dt + sigma * dw, where mu and sigma
can be state/Y dependent, again calculate:
F( X, T ) = P{ Y(t) <= X for 0 <= t <= T }
I vaguely recall we can use some kind of PDE and then
go back to integration to solve it. But I can't work
j******n
发帖数: 91
43
当有drift的时候(constant),reflection principle该怎么用?
w****o
发帖数: 20
44
来自主题: Science版 - Re: reflection
Only when the laser energy is below the bandgap of these two materials.
Because refractive index will have imaginary part when above the bandgap Eg,
ie, N(E)=n(E)+i*k(E), k>0 when E>Eg; and k_material1 can be diffrent from
k_material2 if they are nonzero.
Reflection is
R=((1-n)^2+k^2)/((1+n)^2+k^2).
w*******y
发帖数: 60932
45
Google Play Store (formerly Android Market) $.25 Cents of the day app: Quell
Reflect
Link:
https://play.google.com/store/apps/details?id=com.fallentreegames.
quellreflect
d*****r
发帖数: 39446
46
【此篇文章是由自动发信系统所张贴】
reflect 已经成为本俱乐部的正式成员, 特此通知.
a*****1
发帖数: 3817
47
来自主题: USANews版 - 说说朋友圈中的川粉 (转载)
THE BLOG
Why I Can No Longer Support Hillary Clinton
4 days ago
César Vargas Writer, director, advocate, strategist, cultural critic.
Founder of upliftt.com.
It took me a long time to write this. I had to dig deep into my being to
come up with these words. I’m recanting my endorsement of Hillary Clinton
for the presidency.
I’m aware of how vindictive Clintonians can be. I’m not speaking about the
Clintons themselves, but of those surrounding them.
Perhaps the saying is true: dime con quién andas... 阅读全帖
a********9
发帖数: 3813
48
THE BLOG
Why I Can No Longer Support Hillary Clinton
4 days ago
César Vargas Writer, director, advocate, strategist, cultural critic.
Founder of upliftt.com.
It took me a long time to write this. I had to dig deep into my being to
come up with these words. I’m recanting my endorsement of Hillary Clinton
for the presidency.
I’m aware of how vindictive Clintonians can be. I’m not speaking about the
Clintons themselves, but of those surrounding them.
Perhaps the saying is true: dime con quién andas... 阅读全帖
a********9
发帖数: 3813
49
THE BLOG
Why I Can No Longer Support Hillary Clinton
4 days ago
César Vargas Writer, director, advocate, strategist, cultural critic.
Founder of upliftt.com.
It took me a long time to write this. I had to dig deep into my being to
come up with these words. I’m recanting my endorsement of Hillary Clinton
for the presidency.
I’m aware of how vindictive Clintonians can be. I’m not speaking about the
Clintons themselves, but of those surrounding them.
Perhaps the saying is true: dime con quién andas... 阅读全帖
a********9
发帖数: 3813
50
THE BLOG
Why I Can No Longer Support Hillary Clinton
4 days ago
César Vargas Writer, director, advocate, strategist, cultural critic.
Founder of upliftt.com.
It took me a long time to write this. I had to dig deep into my being to
come up with these words. I’m recanting my endorsement of Hillary Clinton
for the presidency.
I’m aware of how vindictive Clintonians can be. I’m not speaking about the
Clintons themselves, but of those surrounding them.
Perhaps the saying is true: dime con quién andas... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)