T*********e 发帖数: 39815 | 1 ☆─────────────────────────────────────☆
invoker (superuser) 于 (Thu May 15 20:23:30 2008) 提到:
开始训练喽,
昨天和今天:
游泳 30min, 力量:40min,
tempo: 30 min, heart rate: 160.
☆─────────────────────────────────────☆
zhanglaosan (张老三) 于 (Thu May 15 20:24:50 2008) 提到:
进错版了,哈哈
有个fitness版
☆─────────────────────────────────────☆
invoker (superuser) 于 (Thu May 15 20:27:24 2008) 提到:
hehe...没进错,
俺不是肌肉男...听说爬山要先训练,所以过来找人拍砖的。
☆─────────────────────────────────────☆
dai (凄凉宝剑篇!·人生不外悲欢离合爱恨情仇) 于 (Thu May |
|
j******n 发帖数: 21641 | 2 【 以下文字转载自 Reader 讨论区 】
发信人: wonderlich (左岸,遁去), 信区: Reader
标 题: Antichrist: A Discussion
发信站: BBS 未名空间站 (Sun Sep 18 03:25:53 2011, 美东)
Antichrist: A Discussion
Posted In Featured,Web Exclusives
Dense, shocking, and thought-provoking, Lars von Trier’s Antichrist is a
film which calls for careful analysis. This web-exclusive exchange between
Film Quarterly editor Rob White and philosopher Nina Power is meant as a
first attempt at the in-depth debate that this major film deserves.
SPOILER WARNING:... 阅读全帖 |
|
s*****c 发帖数: 753 | 3 seems I am right.
除此之外,Trepal还对警察撒了一个弥天大谎,就是他说他从来不知道硝酸铊是个什么
玩意。可是警察一查他的criminal record就知道他制造过需要硝酸铊作原料的冰毒。
从此George Trepal变成了第一嫌疑人。
If he is not talking (invoke 5th). Then he would be fine. But if he lies
and get caught, that is trouble. "anything you said can and will be used
against you in a court of law".
So guys, please remember, in US system, keep you mouth shut (invoke 5th
amendment). You can't be incriminated unless they have hard evidence. |
|
w********h 发帖数: 12367 | 4 Antichrist: A Discussion
Posted In Featured,Web Exclusives
Dense, shocking, and thought-provoking, Lars von Trier’s Antichrist is a
film which calls for careful analysis. This web-exclusive exchange between
Film Quarterly editor Rob White and philosopher Nina Power is meant as a
first attempt at the in-depth debate that this major film deserves.
SPOILER WARNING: Please be aware that the piece assumes familiarity with
Antichrist and does contain major plot spoilers. For ease of reference, a
synop... 阅读全帖 |
|
b**d 发帖数: 7644 | 5 And this is kind of an interesting story, how this happened, because I was
experimenting, as I often do, with techniques. I, basically, am very
opportunistic. I’ll do anything just to see what happens. I was thinking
about something I’d read that, according to mythology, a certain Buddha
called Amitabha Buddha, the Buddha of compassion, made a vow. He promised
all living beings, to all humans that if we would just invoke his name, we
could instantly be transported to the Pure Land, whatever that... 阅读全帖 |
|
a*********s 发帖数: 22 | 6 需要改/conf/web.xml. 把
uncomment掉即可. |
|
n*****3 发帖数: 15 | 7 新手刚开始vb.net不到一年,event handler部分还很困惑。手头有一个project, 是一
个windowsCE版的application.我的工作是把它转成windows application will be
running on win 7 os, 所有程序都不用改,只是event handler process 要改, 因为
不同os系统。
app是这样的,main form只包括一些button, click the button to open secondary
level forms, these forms will handle the sanner event, and based on the data
input, 3rd level forms could be open from some point and handle scanner
event too.
main form will just initial scanner class, no data handler. the secondary
and third level fo... 阅读全帖 |
|
n*****3 发帖数: 15 | 8 新手刚开始vb.net不到一年,event handler部分还很困惑。手头有一个project, 是一
个windowsCE版的application.我的工作是把它转成windows application will be
running on win 7 os, 所有程序都不用改,只是event handler process 要改, 因为
不同os系统。
app是这样的,main form只包括一些button, click the button to open secondary
level forms, these forms will handle the sanner event, and based on the data
input, 3rd level forms could be open from some point and handle scanner
event too.
main form will just initial scanner class, no data handler. the secondary
and third level fo... 阅读全帖 |
|
d*****p 发帖数: 13 | 9 How can I decide which field in the jsp file invoke my servlet action class?
I find that request.getParameter("button")!=null will tell me which button is
selected. But how about a select box? How do I know it is the select box
invoked the action?
Thank you!! |
|
W******c 发帖数: 23 | 10 51. What is the purpose of finalization?
The purpose of finalization is to give an unreachable object the opportunity to perform any cleanup processing before the object is garbage collected.
52. Which class is the immediate superclass of the MenuComponent class.
Object
53. What invokes a thread's run() method?
After a thread is started, via its start() method or that of the Thread class, the JVM invokes the thread's run() method when the thread is initially executed.
54. What is the difference |
|
F****n 发帖数: 3271 | 11 This is still impossible because reflection Method.invoke must use an instance
as parameter, if the type this instance is the derived class, then it still
invokes the method in the drived class.
answer |
|
s*********n 发帖数: 38 | 12 I think this is because every method is virtual in java. The Method object
contains only metadata, the actual method invoked depends on the instance on
which the method is invoked.
still
way,
Method
chances |
|
m******t 发帖数: 2416 | 13
I agree with you all the way - until the part after "for ..." 8-)
Again, when you get to a specific Method object, it represents
a specific version.
Exactly, every one of all these differences is a reason why
when I invoke on a specific Method object, I want that specific
version of the method to be invoked.
True, but that should be and can be easily enforced by run-time
checking, instead of preventing all C's methods from being called
on A or A2. |
|
c*****a 发帖数: 15 | 14
Even no interface involved, It is still not easy to run a specific method
anywhere.
A method has to be invoked by a object, in other word, the method must operate
on a certain object in heap. If C extends B and B extends A. How can you
guarantee that an A method implementation can always run successfully against
a C object?
By the way, one special case that to invoke a A method in C is that if B does
not define (override) the same method. Then a super.anAMethod() in C will get
to the method in |
|
z***e 发帖数: 5393 | 15 log里面倒是有一个出现多次的error,说有一个class找不到,但是我从来没定义过那个cla
ss,而且那个class的名字叫3D(晕!).
log如下:
2004-11-10 01:44:01 StandardContext[/sachinese]invoker: Cannot allocate
servlet instance for path
/sachinese/servlet/3D"http://www.d2cn.com/image/bcn_logo.jpg"
javax.servlet.ServletException: Wrapper cannot find servlet class 3D"http: or
a class it depends on
..........
2004-11-10 01:44:01 StandardContext[/sachinese]Marking servlet
org.apache.catalina.INVOKER.3D"http: as unavailable
问题是我只是在学校外面(家里)连不上,而用学校里的机器就没问题.而重 |
|
s*******k 发帖数: 20 | 16 Deployed a JAXRPC web service on JBOSS, and failed to invoke it on TOMCAT. Abl
e to invoke it from JBOSS, though.
Anybody gives a hint please? |
|
u**********e 发帖数: 282 | 17 In JUnit, I use easyMock to create mock object. However it throws exception:
ava.lang.IllegalStateException: missing behavior definition for the
preceeding method call getSubName()
at org.easymock.internal.MockInvocationHandler.invoke(
MockInvocationHandler.java:27)
at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.
java:45)
at $Proxy0.getSubName(Unknown Source)
at test.rms.TestDefaultDataPublisher.setUp(TestDefaultDataPublisher.java
Anyone knows what's goi |
|
g*****g 发帖数: 34805 | 18 Think of Spring IoC declared in XML.
You declare a class name, a method name, and you can invoke the method.
Something like
Class> c = Class.forName(yourClassName);
Object o = c.newInstance();
Method method = c.getDeclaredMethod(yourMethod);
method.invoke(o);
You probably want to have a constructor passing in a String parameter,
something we've seen in spring IoC too.
I believe OP's problem can be resolved in a similar way, although he
may need to format his string in DB with more type details |
|
z***e 发帖数: 5393 | 19 我在看the java programming language.
里面说java的private method,如果是subclass override了,但是在super class的
referece里面invoke,结果是invoke的super class的。
好像和C++不同,C++里面override了就override了,除非用namescope,否则始终是最
后那个
subclass的method.
java不是说全部都是virtual的么?如果被override了,哪怕是private呢(private又
不包括在
signature里面),它怎么处理对superclass reference的private method? |
|
r***y 发帖数: 4379 | 20 this is correct.
when bw's constructor executed, "fw" is referred by an instance variable of
"bw", say "out".
when invoking bw.close(), fw.close() will be executed by invoking out.close(
) finally. |
|
s********r 发帖数: 176 | 21 I am a newbie on Axis2 and CXF.
现状是这样,existing code:
Server: SOAP Web service implemented by using Axis2 framework.
Client: using Axis2 Stub to invoke the web service.
Now I am asked to re-write the client side code by using Apache CXF
framework API that calls Axis2 web service.
I wonder is there CXF client API for Axis2 W.S I can use? or I can use
org.apache.cxf.jaxws.JaxWsProxyFactoryBean to invoke the Axis2 web service?
Any suggestion and help is very welcome.Thanks so much! |
|
o**2 发帖数: 168 | 22 Give each Predictor object its own thread, and apply producer/consumer
pattern twice: one is from user thread to predictor thread for dropping off
prediction input, and the other one is form predictor thread to user thread
for picking up computed prediction.
public class Predictor implements Runnable {
private String input, prediction;
private boolean stop;
public Predictor () {
new Thread (this).start ();
}
public synchronized boolean isIdle () {
return input... 阅读全帖 |
|
m*****k 发帖数: 731 | 23 有一个int 成员 hash, 貌似没有用啊, 有人知道它留着何用?
static class Entry implements Map.Entry {
final K key;
V value;
Entry next;
final int hash;
/**
* Creates new entry.
*/
Entry(int h, K k, V v, Entry n) {
value = v;
next = n;
key = k;
hash = h;
}
public final K getKey() {
return key;
}
public final V getValue() {
return val... 阅读全帖 |
|
g*g 发帖数: 6908 | 24 没用alias
看了看这个lessFAQ。奇怪的是我以前都没碰到过。
Why are there problems if my .cshrc, .profile or ENV files produce output?
Like some other programs, less invokes the shell to perform certain
operations, such as expanding special characters in filenames. It does this
by invoking a shell program and reading the program's output. If the shell
itself produces output, this interferes with the output coming from the
program that less is trying to read from. This problem is not unique to less
; for example, if you |
|
n******s 发帖数: 7 | 25 If you invoke this program repeatedly in a short period of time, you are going
to get the same random number sequence because you are calling srand() with
the same seed, namely the integer that is the number of seconds since midnight
1970/01/01. If you must repeatedly invoke the program, you will need to find
a way to hash up the seed value. You could try putting the program to sleep
for a second or two before calling srand().
second |
|
y****i 发帖数: 156 | 26 Just find the good answer to this question:
/// Destructor should never throw excetions.
Why: If a destrutor gets invoked due to the stack-unwinding process
initialized by the throwing of another exception, and that destructor throws
an exception, terminate() is invoked, which calls abort()
// from C++ FAQ book |
|
O******e 发帖数: 734 | 27 I know one can export variables and macros from top-level
invocations of make to the sub-levels of make that are invoked
recursively. However, I have a number of static pattern rules
and implicit pattern rules that I would like to define in the
top-level makefile and have them passed down to the recursively
invoked sub-level make. Is this possible? I prefer not to
write the pattern rules into a separate file and have the top-level
and sub-level makefiles include this file.
Thanks! |
|
s******n 发帖数: 21 | 28 There are 3 ways I can think of: P/Invoke, C++/CLI wrapper and COM wrapper.
My impression is that C++/CLI wrapper perform much better than P/Invoke
but the it's a pain on the ass to write especially for beginners.
If you know COM well, this is another way to go. |
|
c**********e 发帖数: 2007 | 29 #include
class A {
public:
~A() { throw "error"; }
};
void foo() { A a; throw "error"; }
int main()
{
try { foo(); }
catch (const char*) { return 1; }
return 0;
}
What is the result of executing the sample above?
a) The program exits normally with a result code of 0.
b) The program exits normally with a result code of 1.
c) unexpected() is invoked.
d) terminate() is invoked.
e) There is an uncaught exception because "error" is thrown twice and only
caught once. |
|
z****e 发帖数: 2024 | 30 是么?
我查了inside cpp model,
里边说,先构造B的基类,就是A和invoker,
然后才构造B自己的Vtable。
那么构造invoker的时候,B的Vtable还没有,所以就只能A的版本了。
不过如果你说是undefined,我学习一下。 |
|
t****t 发帖数: 6806 | 31 你说的是实现上的考虑, 我也同意. 但是标准的规定有不同的考虑, 标准里根本不会出
现如vtbl或vptr这样的字眼. 所以标准里说的是, 在ctor/dtor里用的是"自己"的版本.
在构造invoker的时候, invoker没有"自己"的版本, 也没有基类的版本可以继承, 那
用谁的呢? 只好undefine了. |
|
d****p 发帖数: 685 | 32 1. Standard explicitly specifies this.(clause 13.5.6)
2. The purpose of overloaded operator is to mimic built-in operator syntax.
If you define your operator as class static member function (supposing
standard allows), you got to invoke it as ::operator
operator identifier>(argument list), which looks so esoteric compared with
the way invoking native operator. |
|
m*****e 发帖数: 4193 | 33 My guess is that private/public protection is effective only at compile time
, but virtual functions are run-time bound. So the code compiles, because
you are invoking the destructor through A's public destructor. But at run-
time it's actually B's destructor that gets invoked. |
|
f******x 发帖数: 98 | 34 It's meaningless to invoke tenure, years of experience, market dominance or
salary in a discussion about technologies. The world is never short of
examples of stupid but highly paid people, or stupid but commercially
successful products. Commercial success does not necessarily mean
technological superiority, similarly the programmer's salary is just a
reflection of market supply and demand, nothing more. Invoking tenure or
salary is the quickest and surest way to degenerate an otherwise informat... 阅读全帖 |
|
c*****n 发帖数: 75 | 35 还是看不出本质差别。你的tutorial你的例子用Qt的signal API可以轻易替换。在
performance上回有差别吗? 就像我说问的, 你把每一个eventloop移到了对应
messenger里面。
比如,
在例5中,fileButton.setOnAction(),
1) setOnAction() 在 SWING的eventloop 中执行, 并invoke 2)
2) file.analyzer:countWord 在 guiMessenger中执行, 并invoke 3)
3) file.frame:setStatus" 在 FileAnalyzer 的 Messenger中执行
可以看出active object 可自行定义messenger. 不如 2)和3)的messenger 可以
是同一个thread eventloop 也可以是不同的。 这个自行定义messenger是否FMP的主
要优势?application在通常情况下要自行定义messenger吗? |
|
n*******s 发帖数: 482 | 36 Node in Action 的例子代码 讲emitter的
关于这一行
this.on('broadcast', this.subscriptions[id]);
我是不是可以理解成
1. 当channel.emit('join', id, client)时候,'broadcast' event被注册(to be
listened by channel object)
2. 当channel.emit('broadcast', id, data)时候,'broadcast'被emit,因为channel
一直在listen这个event,从而invoke 'this.subscriptions[id]'
3. 实参id, data替换了this.subscriptions[id]里面的形参[senderId, message],函
数可以执行
4. 尽管函数this.subscriptions[id]体内的变量:id并非形参,因为语言是动态的,所
以在执行时候 函数”this.
subscriptions[id]“是知道id的值的,所以函数可以正确执行?
是在觉得怪怪的,请教一下大家... 阅读全帖 |
|
|
r****y 发帖数: 26819 | 38 Invoking Windows File Explorer
Windows Explorer can be invoked (called, started) with parameters to get a
specific view.
Syntax
explorer [/n] [/e,] [/root,object,][[/select],sub-object,]
Strangely enough a final comma is required (at least in some cases – not
known in which ones)!
Parameters
/n Opens a window in single-paned (My-computer) view for each selected item,
even if the new window duplicated a window that is already open. This is the
default view.
/e Uses Windows Explorer view, which is |
|
d*o 发帖数: 108 | 39 I have an Java application, say, called 'app1'. I want to write
a B shell script to invoke it. the reason to do that is to
record how many files 'app1' opened by useing 'lsof'. Problems:
1. how to record the output of 'lsof'?
(for example, if it is in Perl, I can do $output = `lsof`. what
is the counterpart in shell script?)
2. in the end of my shell script, I'll invoke the program 'app1'
by just say 'app1'. How can I use 'lsof' again _AFTER_ 'app1'
is running?
one way is to write like this:
app |
|
i***e 发帖数: 2 | 40 Hi,
I am trying to do a rsh like this
> rsh remote-host sh /tmp/test.sh
The /tmp/test.sh on remote host looks like this:
#!/bin/sh
ls
myserver &
echo `pwd`
When I invoke the rsh, rsh hangs after `pwd` was printed and
it looks like it waits for the end of the background job of
myserver.
If I invoke the /tmp/test.sh locally, there is no problem,
the shell script exits normally. I am wondering how I can
avoid the script hangup when using rsh. Thanks. |
|
t*********l 发帖数: 30 | 41 what is it?
Procmail is a program for filtering electronic mail. It is very
useful for presorting and preprocessing large amounts of incoming
mail. You can use it sort out mail from mailing lists, to dispose
of junk mail, to send automatic replies.
How to start it?
It is probably that your system administrator has set up to let procmail
be invoked from within the mailer immediately. If that's not
the case, it should be invoked automatically over the .forward
file mechanism as soon as mail arrive |
|
c********y 发帖数: 6 | 42 以下是我的问题:
"A task that is done manually in the "manual desktop simulation" environment,
and assemble the tools and scripts needed to do a significant part of it
automatically.
The automated task either should process information received in electronic
mail, and be invoked from procmail; or performed periodically, and invoked
from cron. All components must actually work before you receive credit for
your project. Work that duplicates existing tools, or replicates current or
previous student projec |
|
c********y 发帖数: 6 | 43 以下是我的问题:
"A task that is done manually in the "manual desktop simulation" environment,
and assemble the tools and scripts needed to do a significant part of it
automatically.
The automated task either should process information received in electronic
mail, and be invoked from procmail; or performed periodically, and invoked
from cron. All components must actually work before you receive credit for
your project. Work that duplicates existing tools, or replicates current or
previous student projec |
|
b***l 发帖数: 15 | 44 I installed a new bash in my home dir and I want to invoke this bash instead
of /bin/bash which is an old version. How to make that happen? both bash will
invoke .bashrc file and it causes recursive problem.
3x |
|
b***l 发帖数: 15 | 45 But his one can not solve my problem. The new bash was install in my home dir.
I do not have root permission to change /etc/shells.
If I want to change csh to bash, I can use the following line in the .cshrc
file:
if ( $?prompt ) exec /bin/bash
Then bash will excute forever without problem. But my problem here is to
invoke another version of bash, which invoke .bashrc again. So this one does
not solve my problem either.
Anybody know another solvotion?
instead
will |
|
s*****0 发帖数: 357 | 46 我总算看明白他的意思了,他其实说得也没什么大问题。因为象t test and ANOVA要考
虑的只是differences between means,CLT让这些test在其样本本身不符合高斯分布也
能work well。
但invoke CLT有一个条件,样本不能太小。不过话说回来,又回到原来的discussion,
即test的robustness被进一步证明而已,不是说t statistic不需要normality
assumption。
其实这么说更直观简洁:如果没有非常weird的分布样本数不小于10-15既可放心使用t-
test;如果有weird的分布所需要的样本数要更大才能invoke CLT,否则只能上
nonparametric。 |
|
c**i 发帖数: 6973 | 47 I will give you two examples about qualifications to invoke a state court.
In Massachusetts where I live, both husband and wife must have lived together
in this state in order to use Massachusetts state court. See Chapter 208,
section 4 of Massachusetts statute:
http://www.mass.gov/legis/laws/mgl/208-4.htm
However, in Colorado, if the defendant is living in that state for more than
three months, that is enough to invoke Colorado court--even if the plaintiff
in the divot=rce proceeding has never |
|
n*w 发帖数: 41 | 48 Thanks.
There are two rounds phone interviews:
(1) c++ questions:
How to implement java interface in c++?
How to write pure-virtual function?
Difference between Java and c++
Heap and stack
How to implement SmartPointer
Explain polymorphism
How can c invoke c++ code? Why?
(2) Java questions:
what is jvm?
explain GWT
what is ajax? (non-java)
How to invoke c/c++ in java?
Explain SWing
What is java reflection?
(3) Math
chi-square distribution
covariance
some statistical test methods
(4) Finance
What |
|
f*****n 发帖数: 67 | 49 the code is shown as:
%macro merg(st);
data...
...
.../*they do not use argument st in the main code*/
%mend;
Then, it follows:
%merg(1);
The question is why they use st in the argument of merg, and why they put st
=1 to invoke the macro? Can I use %macro merg at the begining, and invoke
the macro as %merg.
It confuses me. Thanks a lot. |
|