由买买提看人间百态

topics

全部话题 - 话题: infe
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
d******e
发帖数: 7844
1
来自主题: CS版 - Valiant 是理论大牛
n->inf的时候还要考虑p->inf的速度的
j**********i
发帖数: 3758
2
http://www.inf.ethz.ch/personal/wirth/Articles/LeanSoftware.pdf
www.inf.ethz.ch/personal/wirth/Articles/GoodIdeas_origFig.pdf
m*****g
发帖数: 8
3
来自主题: Database版 - HELP!!!Connect to MySQL in JSP
You mean put driver or classpath to /WEB-INF/lib?
i knew put driver there it is working, but if there are hundred users, i got
to put that driver(or mirror) to all of their folders. Is there anyway i can
set a classpath and all users don't need put the driver(or mirror) under their
/WEB-INF/lib directory?
z****g
发帖数: 339
4
来自主题: Hardware版 - laptop lcd screen 坏拉, 怎么办?
搜索下autorun.inf的写法 写好autorun.inf放到U盘里
把光盘里面的驱动拷出来 放到U盘里。
然后就行了
不知道你的操作系统 和 驱动的格式 没法具体说明
r***e
发帖数: 2539
5
一般是自动运行的吧,如果运行后,只是个解压缩的驱动inf,那么添加时选择从磁盘按
装,然后选那个inf。
m**********e
发帖数: 12525
6
好多设备驱动安装前探测OS string,不符的话就不让装
更要命的是,驱动的inf文件都有密钥,你改了inf的os后密钥不符就死活不让装
l***s
发帖数: 126
7
放入WinXP安装光盘,到“Valueadd\Msft\Net\Netbeui”目录下将
Netnbf.inf 复制到C:\Windows\INF 中;将Nbf.sys复制到
C:\Windows\System32\Drivers 中;开始/控制面板/网上邻居,选择
网络连接,在局域连接(就是你目前使用中的联机)上右键,选内容;
常规-安装-通讯协议-添加,此时就可以看到NetBEUI Protocol这一项
(此项原来是没有的),选取NetBEUI之后,按确定就OK了。hoho


Professional
L******t
发帖数: 1985
8
在“Valueadd\Msft\Net\Netbeui”目录下还有一个NETBEUI.TXT文件,内容如下:
NetBEUI (NBF) 是一个不可路由的协议,适用于小规模的网络。
Microsoft Windows 不再支持此协议。如果产品支持人员提示您
安装此协议作为临时解决方法,请按照下面的指示进行。
在 Windows XP 和 Windows 2002 上安装 NetBEUI 协议的方法。
* 复制 nbf.sys 到 %SYSTEMROOT%\SYSTEM32\DRIVERS\ 目录
* 复制 netnbf.inf 到 %SYSTEMROOT%\INF\ 目录
* 打开网络连接属性,单击 "安装..." 按钮来安装 NetBEUI 协议
如果Windows不再支持此协议,那么WinXP及后续产品是通过什么协议来支持Windows局域
网里的资源共享呢??


s*********n
发帖数: 38
9
来自主题: Java版 - Help!: tomcat classloading problem
I have a class A, which calls class B.
If I put A in web-inf/, and B in shared/, it will work well.
But now I put A in shared/, and B in web-inf, it doesn't work and give me an
"ClassNotFoundException".
The way A call B is like this:
Class A{
...
Class clas = Class.forName(B);
record = (Record)clas.newInstance();
...
}
How can I solve this problem? I do want to keep the class A in shared/.
Thanks!
s*********n
发帖数: 38
10
来自主题: Java版 - Help!: tomcat classloading problem
I read the java doc, and found that there is another method:
public static Class forName(String name,
boolean initialize,
ClassLoader loader)
throws ClassNotFoundException
I guess the problem is that in Tomcat, the web-inf\ and shared\ are using
different classloaders. What I have done above, by default, uses the
classloader of "shared", so that it could not find the class in "web-inf".
I am looking for the way to obtai
c**g
发帖数: 274
11
来自主题: Java版 - Help!: tomcat classloading problem
Of course you can progmaticly load any class which is accessable
via the file system/network. Why don't you just pack class in the web-inf
and put the jar to shared. Or you can add that web-inf to the global
classpath of tomcat, somewhere in conf/web.xml.
s*****p
发帖数: 5342
12
来自主题: Java版 - question on struts (HELP!)
I use global-forwards like this:



however, when I do:

alt=""/>

It always get HTTP404 error like:
The requested resource (/app/WEB-INF/jsp/request.jsp) is not available.
Is there sth wrong with my doing? HELP!!!
Thanks in advance!
C**********r
发帖数: 75
13
Our server has different versions of Xerces-J installed, from 1.9 to 2.8
My project has to use Xerces-J 2.8 and I have Xerces-J.2.8.jar under my
project /WEB-INF/lib
How can I make my project invoke /WEB-INF/lib/ 2Xerces-J.2.8.jar without
changing system's classpath?
m******o
发帖数: 774
14
Thanks a lot ThatOne.
I think I figured it out with your input.
I do need to use some of the library classes in my server side code, so it
makes perfect sense that the whole process won't finish when I take the lib
files out of WEB-INF/lib.
I've tried use only the jar files in WEB-INF/lib but it always failed to
load. Now with your input, I tried put the jar files in a directory named '
WEBINF/lib' and it worked! So I suspected that the '-' part in the directory
name is the trouble maker. Guess
s******e
发帖数: 493
15
来自主题: Java版 - tomcat连接mysql求助
Check your deployment file structure. You should have some directory called
webapps/myapps in the tomcat root. And as myapps's direct child, you should
have index.jsp file. If you index.jsp is in myapps/WEB-INF, you will see the
error like this since you cannot access it from outside.
(actuallY once you fully understand how to deploy web app, you will know
that a url pattern can be forced to map any servlet/jsp inside WEB-INF) but
for a beginner I think that might be your problem.
z****e
发帖数: 54598
16
就是有些jsp会属于某些特定的模块
我倾向于把jsp,html是同一个模块的放到同一个目录下
如果是公用的,再放在某一个公用的目录下
不倾向于放在web-inf下,我倾向于把web-inf相对不怎么胖的状态下
只放一些lib和xml等配置文件,页面就不放在这里面了
g*****g
发帖数: 34805
17
Usually jsp should be kept under web-inf/jsp, this is for security purpose.
Stuff outside web-inf is visible by default. Exception can be made for
index.jsp
r*****l
发帖数: 2859
18
来自主题: Java版 - 大家都是怎么自学J2EE的
Most, if not all, Java web framework are based on servlet API, part of the
Java EE standards. The standard war structure is like this:
root
- public folders
- WEB-INF
-- web.xml
-- private resources/folders
-- "lib" folder for (3rd party) libraries
-- "classes" folder for application classes
Anything under WEB-INF cannot be accessed directly.
web.xml is the entry point of dynamic contents. Servlet engine will look for
servlet mappings and map request URLs to appropriate servlets. Most
framework ... 阅读全帖
m*****j
发帖数: 499
19
来自主题: Java版 - 大家都是怎么自学J2EE的
多谢~
我说在tomcat的doc里看到这么讲META-INF
A /META-INF/context.xml file can be used to define Tomcat specific configura
tion options, such as loggers, data sources, session manager configuration a
nd more. This XML file must contain one Context element, which will be consi
dered as if it was the child of the Host element corresponding to the Host t
o which the Tomcat configuration documentation contains information on the C
ontext element.
不过在他自带的sample project里面有的根本没有这个,有的也是空的
在eclipse的project里面倒是都有这个文件夹,... 阅读全帖
z*********e
发帖数: 10149
20

这个是什么意思?不明白
我在tomcat manager里面看到的running app显示这个springapp的running 状态是
false,我在tomcat manager尝试start这个app的时候message: FAIL - Application
at context path /springapp could not be started
尝试访问localhost:8080/springapp/的时候,浏览器里显示
HTTP Status 404 - /springapp/
type Status report
message /springapp/
description The requested resource is not available.
Apache Tomcat/6.0.41
我的./springapp/war/WEB-INF/web.xml文件是

xmlns="http://java.sun.com... 阅读全帖

发帖数: 1
21
来自主题: Java版 - spring mvc 静态文件访问不了

但访问myapp/html/index.html时返回404,看了pivotal server文件结构如下:
myapp->WEB-INF->html->index.html
完全新手求解惑
S*********a
发帖数: 1640
22
完整命令就是这个,就文件夹名不一样:
find . -name *.inf -exec cp {} ../anotherFolder/"{}" \;
出错信息是
cannot create regular file ../anotherFoler/a/b/example.inf
Permission denied.
涉及到的文件夹和里面文件我都是Owner,权限是dwrxwrx-rx.
直接执行Print出来的命令就没有问题的话说明我的account是有权限的。我猜是find执
行的时候我身份变了?
z****e
发帖数: 2024
23
#include
#include
ifstream inf("your_file_wants_to_be_read.txt");//source file
vector vs((istream_iterator(inf)),
istream_iterator());//read into string vector
for the second sentence, pay attention, do not be fooled by the "most vexing
parse of C++",
else you will only define a function rather than a vector.
p*********w
发帖数: 23432
24
来自主题: Security版 - 大家有没有见过这样的病毒:
这个也算常见啦。
你用 freecommander 看看,估计每个盘的根目录都有 autorun.inf
解决办法是重装后不要点任何盘符,(可以用 FreeCommander去操作文件)
然后赶快禁止光盘硬盘U盘的自动运行功能。
具体办法参看 http://yidefangdu.org/DisableAutorun.aspx
之后去把各硬盘的 autorun.inf 和与之相关联的exe都删除掉。
G****n
发帖数: 32
25
来自主题: Software版 - Re: minitab help?
Minitab13Demo文件只能使用30天,30天就要求用户注册,而且在一般情况下,
因为Minitab会在注册表中写入一些东西,除非用户重新安排Windows系统,没有正确
的注册码,就无法再使用了,令人十分恼火。现觅得一日期限制破解方法,不敢独吞
,拿出来与大家共享。
1.使用控制面板中的添加/删除程序卸载Minitab。
2.在Windows系统中有两个地方记录着个人电脑独特的Machine ID,一个是C盘根
目录下的os******.bin文件,一个是WINDOWS/SYSTEM(Win9x系统)或WINNT/SYSTEM32
(WinNT/2000系统)下的ws******.ocx文件,这两种文件都是隐藏文件,因此要通过
文件夹选项的查看工具或DOS下的Attrib命令去除它们的隐藏属性,然后将它们删除

3.运行Windows安装目录下的regedit文件(或在开始菜单的运行框中打键入regedit
),
①找到“HKEY_CLASSES_ROOT\.INF\”,Minitab会在\.INF\下写入一些子键,将
这些子键统统删除。
②找到“HKEY_CLASSES_R
j*****h
发帖数: 2577
26
来自主题: Software版 - 请教一个关于MSN的问题
这个之前好像要改
windows/inf/sysoc.inf
n********a
发帖数: 119
27
It's a little complicated
edit sysoc.inf under C:\WINNT\inf
Delete the "HIDE" in "[COMPONENTS]"
Then u will find this option in add/remove windows program,but not in
add/remove programs.
o**o
发帖数: 3964
28
其实都是很简单的事,稍微研究一下也比发牢骚枪阿
1。仔细阅读winxp给的提示,可以选择强行降级driver的
2。删除硬件以后,去windows/inf目录把相应的oem....inf删掉就不会重启自动修复了。
d**m
发帖数: 72
29
来自主题: Windows版 - Re: Add/Remove失效
run:
sysocmgr /i: %windir%\inf\sysoc.inf /u:c:\ocm.txt
ocm.txt specifies the answer file(sth. like log)
R*****r
发帖数: 29
30
来自主题: Windows版 - Re: how to uninstall MSN?
RunDll32 advpack.dll,LaunchINFSection %windir%\inf\msmsgs.inf,BLC.Remove
google would help.
D*V
发帖数: 567
31
你是什么操作系统? 64bit? 原版XP? 龙卷风或者西红柿之类的版本?
那个cmd仅仅是调用setupapi.dll按照inf做些准备而已,一般有管理员权限就成.
或者你干脆就右键xxx_pre.inf -> install
reboot,改bios,save,reboot

INSTALL
IMSM,
r*******h
发帖数: 2
32
我在机器上使用过一些注册表优化工具,包括registry first aid, 超级兔子,诺
顿优化大师。
也不知道是不是因为使用这些的原因,一次用USB鼠标时,发现windows无法自动找
到驱动程序了,于是只能手动安装,发现所有的驱动程序(.inf)文件都完好的在“C:
\WINDOWS\inf\”里面,每次用USB只要手动指定这个路径,都能装好并正常使用硬件,
但是Windows就是无法自动搜寻驱动了。
于是我检查了一下:步骤如下:
1、控制面板-〉添加硬件-〉下一步-〉是,我已连接硬件-〉
2、下一步-〉选择最下面的添加新硬件-〉选择手动安装(高级)-〉
3、然后在列表里面选择显示所有硬件-〉下一步
正常的windows会显示一系列厂家,然后右面会显示该厂家的器件。可是我的
windows显示什么都没有了,是因为我使用了优化工具把注册表的某个硬件驱动的路径
删除了么?
PS:
(我自己查了注册表,毫无头绪,网上也有建议说修复windows安装,我查了一些
办法,只是所有的修复方案都会把windows的更新以及一些系统设置恢复默认,而且我
l*******y
发帖数: 490
33
来自主题: Computation版 - particles pair interaction potential
Read any text book for MD.
Like "Computer simulation of liquids".
I guess you're talking about how to fit a potential.
If you know the physical meaning, use some analytical
potential for fitting. For example LJ potential.
If you have no idear about the analytical form, you
can try Sum(An/r^n) if the potential has the boundary
condition U->Inf as r->0 and U->0 as r->Inf.
If neither of above method is good, just use the
tabulated potential as it is. In this case maybe you
need to do interpolation
j******n
发帖数: 271
34
来自主题: Computation版 - 求教一个正态分布积分问题
Just my 2 cents - I didn't work it through though:
Rewrite the integral as c x \int_{-\inf}^{+\inf} e^{-a t^2}/(1-b e^{-t}) dt,
where a, b, c are some consts. Expand 1/(1-b e^{-t}) as
\sum b^n e^{-nt}. Each term is then integrated in finite and closed form. If
you major in math, you also need to worry about convergence.
w**a
发帖数: 1024
35
来自主题: Mathematics版 - 问个stationary phase integration method
考虑这个积分,对x 从-inf. 到 +inf.
integrand :
exp[i*a*f(x)], when a is large,i = sqrt(-1)
f(x) is a real function
假如只有一个x0使得f'(x0)=0,那么人们经常就用x0附近的那段路径[x0-e,x0+e]代替整个
积分,然后用taylor expansion去代替原来的函数f(x),现在的问题是,为什么要用这个
点?难道仅仅是因为这一点的f(x)的值变化量最小吗?
n*s
发帖数: 752
36
来自主题: Mathematics版 - ask a simple intergration
the gaussian integration
G = \int_{-\inf}^{\inf}e^{-x^2}dx
I know the way by evaluating G^2, but I remember there is another way using
complex analysis
Can you remind me how to do that? Thanks.
w*******a
发帖数: 27
37
来自主题: Mathematics版 - 有没有人会用Matlab 积分?
symbolic math toolbox
有积分,help里应该有。其实内核就是maple.
Ex:
syms x,a;
f = exp(-a*x^2);
int(f,x,-inf,inf)
This returns
ans =
1/(a)^(1/2)*pi^(1/2)
数值积分的话就quad吧。
C******e
发帖数: 96
38
for f(x) differentiable on (x0, +infinity)
lim f'(x) =A
x->+inf
Show:
lim f(x)/x = A
x->+inf
w**a
发帖数: 1024
39
please correct me if my proof is wrong,
let: g(x) = f(x) - A*x
consider function
g(x)/x = f(x)/x - A
if | g(x) | < K , K > 0 is some number, i.e., g(x) is bounded,
clearly
f(x)/x = A , x--> inf
else g(x) is not bounded,
then use L'hopital's rule, you can get
f(x)/x - A = 0, when x --> inf.
B********e
发帖数: 10014
40
问题是g(x) unbounded并不意味着g(x)-->inf or g(x)-->-inf,lospital 法则未必能用
。example
sin(x^2)/x -->0, but if you rewrite it as xsin(x^2)/x^2 and use Lospital's r
ule, you will get no limit.
B********e
发帖数: 10014
41
hehe, since we proved lim f(x)/x =A, certainly we have limf=inf if A>0, limf
=-inf when A<0, ...
is that what you mean?
l***i
发帖数: 632
42
oh 我读的课本只要求g趋于无穷就够的...我觉得应该满多数分的课本都会只要求g->
inf的 因为证明的时候关f是不是->inf没什么事
关键是lim f'/g'振荡地不存在极限的时候不能用于判断lim f/g是否存在而已...
n*****n
发帖数: 100
43
来自主题: Mathematics版 - 问个多项式
我个人觉得如果极限的话:
lim_{n-inf}(x+I)(x+2I)(x+3I)+...+(x+nI)=lim_{n-inf}(1+1)(1+2)(1+3)...(1+n)x^
n
不知这样对否?
B********e
发帖数: 10014
44
来自主题: Mathematics版 - 问个多项式
does it make sense?
1.inf=inf is what you want?
2.where is the constant term?
3.what if x=0?

x^
n*****n
发帖数: 100
45
来自主题: Mathematics版 - 问个多项式
题目本身是问:
如果x是一个stochastic matrix, 它的极限存在。
问:
lim_{n->inf}(x+I)(x+2I)(x+3I)+...+(x+nI)=?
我感觉上觉得应该是lim_{n->inf}(1+1)(1+2)(1+3)...(1+n)x^n。
但是我无法得到严格的证明。
e**********n
发帖数: 359
46
来自主题: Mathematics版 - 请教一个不等式
I guess sum bi and sum ai converge, which are given conditions. So inf{bi} =
inf{ai} = 0.
Under these conditions, this inequality is not true. Counter example:
a1 = 1, b1 = 11/10, x1 = 1, y1 = 8/5
a2 = 76/45, b2 = 11*a2/10, x2 = 1, y2 = 1/2
and the remaining numbers can be made arbitrarily small, and let their sums
not only converge but also
be arbitrarily small.
Obviously y1+y2>x1+x2, and all the conditions are satisfied.
o*******w
发帖数: 349
47
k
pk = 2{1 - (p0 + p1 + p2 ...)^2} SUM pi*p_(k-i)
i=0
(p0 + p1 + p2 ...) <= 1

我想证明 E(k) < inf 既是一个有界的
请高手指教!
如果是单纯的
k
pk = SUM pi*p_(k-i)
i=0
我知道
pk = C(2k, k)/(1+k) p1^k -> 4^k*p1^k 当k很大时
因为 p1 < 0.107 (由 SUM pk < 1)
所以 E(k) < inf
但现在前面多了一个东西,不太好办.
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)