由买买提看人间百态

topics

全部话题 - 话题: simplest
首页 上页 1 2 3 4 5 6 7 8 9 10 (共10页)
B*********t
发帖数: 25
1
来自主题: Flash版 - A simple problem on Flex
hehe, what do you mean? Is is very difficult to implement my project if the
client end codes are written by C/C++? Anyway, if you know some ways to
implement my project based on client end java codes, could you show me one
of the simplest ways to do that? thanks.
s*******a
发帖数: 8827
2
来自主题: Hardware版 - my computer cannot start, Please help!
OR, the simplest solution might probably be reinstalling xp to the partition
that you have marked as active??
y**b
发帖数: 10166
3
来自主题: Hardware版 - i7支持QPI但不支持NUMA?
那样的话,i7是不是有点浪费了呢(支持QPI连接多路处理器(?)却又没有相应主板)?
我发这个贴的原意倒是想问这个问题。因为板上用i7的不少,网上也有人问为什么
没有双路i7主板。
http://en.wikipedia.org/wiki/Intel_QuickPath_Interconnect
The QPI is an element of a system architecture that Intel calls the QuickPat
h architecture that implements what Intel calls QuickPath technology.[4] In
its simplest form on a single-processor motherboard, a single QPI is used to
connect the processor to the IO Hub (e.g., to connect an Intel Core i7 to a
n X58). In more complex instances of the arch... 阅读全帖
a*****s
发帖数: 2663
4
Synology and Qnap is like Prius, and I was simply saying you can build
something better than Tesla with same or less budget. I do agree it is not
the simplest solution though.
S****2
发帖数: 164
5
来自主题: Hardware版 - 有没有人装电脑装上瘾的?
因为这是简单重复劳动
没见电脑城里,原先卖菜,搬砖的摇身一变就成了装机的
不是我打击楼主,你这是feeling happy about the simplest tasks you are able to
do,婴儿的行为,成年人这样不正常,得治
m******n
发帖数: 1691
6
来自主题: Hardware版 - 有没有人装电脑装上瘾的?
你就跟老娘们比谁机箱里的线布得好看???
我同意前面那个说你 feel happy about the simplest tasks....
x****u
发帖数: 12955
7

simplest and cheapest is windows backup.
incremental backup is the most efficient. You only backup the files that
changed since the previous backup. But if anything happens to the base
backup, everything after it become useless.
Best solution: 1 whole disk image for the fresh installed disk. 1 whole
disk image for the last successful major change to your disk and you are
sure you don't need to go back further than that. Incremental/differential
backup for everything since that image. And t... 阅读全帖
x****u
发帖数: 12955
8
来自主题: Hardware版 - raid 1求助

simplest one is write your own windows shell script to copy everything from
one disk to the other, then use scheduler to start it every night.
i***l
发帖数: 9994
9
另外一个例子:
http://www.makeuseof.com/tag/ultrabook-performance-degrades-tim
Have you noticed your Solid State Drive (what’s an SSD?) suffering from
slipping performance? If Samsung made your drive, it probably employs “
Triple Level Cell” (TLC) NAND memory modules. A bug afflicts most–if not
all–TLC drives. Fortunately, Samsung made a fix available for one of their
drives to Windows users.
The problem: After 9-40 weeks, the SSD’s legendary speed can fall beneath
even platter-based hard drives. After... 阅读全帖
b*g
发帖数: 644
10
5. Writing blank exception handlers
I know it's very tempting to write blank exception handlers, and to just
ignore errors. But if you run into problems, and haven't written any
error messages, it becomes almost impossible to find out the cause of
the error. Even the simplest exception handler can be of benefit. For
example, put a try { .. } catch Exception around your code, to catch ANY
type of exception, and print out the message. You don't need to write a
custom handler for every exception (t
k****a
发帖数: 10
11
来自主题: Java版 - Re: 怎么看jar里面有什么?
yeah, the simplest way is to open a .jar file with winzip,
sometime the winzip window will show nothing in it, then
just drap and drop the .jar file into the winzip window,
they'll be there;)
w*******w
发帖数: 18
12
来自主题: Java版 - 有没有人熟悉tomcat?急!
So I copied the whole folder to my computer, I did right?
The folder also includes all of the files about this project.
I just want to try the simplest test to see if it will work on my pc.
But no idea now. I am just the beginner....:(

problem.
this
before
com[puter.

-
g*****g
发帖数: 34805
13
来自主题: Java版 - How to invalidate a session?
Depends on your framework and application server.
For simplest one, you can have a super class for
all your servlets, which will check if certain
credential exists in user session, it's not a valid
session otherwise and all servlets cannot be accessed.
g**********y
发帖数: 14569
14
It turns out that when you are really really sleepy your favorite pieces of
code are always the most ‘obvious’ ones. Thinking is not fun in the middle
of the night, and it shouldn’t be necessary all of the time.
Not surprisingly, elegance comes from taking something ‘hard’ and finding
the simplest, most obvious answer, thus making it look ‘easy’.
g*****g
发帖数: 34805
15
If it doesn't have to be very real time, then polling would be simplest.
You can't open a server socket on applet anyway and your option is limited.
c***k
发帖数: 1589
16
来自主题: Java版 - 简单的EJB问题
Seriously ^^
What's the simplest way to share data between sessions?
Can I use another singleton session bean to serve as an repository?
Thanks
g*****g
发帖数: 34805
17
simplest way, keep an array of boolean, mark a boolean when a thread
is done. The main thread use a
while(boolean array is not completely set){
sleep
}
Or you can use notify to achieve better performance.
g*****g
发帖数: 34805
18
In C++, you do use encoding. Let's take it this way, even the simplest
ASCII is an encoding scheme. Everything in computer is encoded, data is
encoded, instruction is encoded. How can a string not encoded?
In most C++ systems, the native char array is OS dependent. For example,
ISO-8859-1 would be the default encoding on windows. If you are using
western characters only, you can call String.getBytes("ISO-8859-1"),
then you can apply your C++ tricks. That being said, Java provides a
strong String
F****n
发帖数: 3271
19
来自主题: Java版 - 谁给推荐一个简单的ORM吧
It's a myth that JPA / Hibernate is complicated, hehe.
Actually JPA is the simplest ORM I have ever used.
Hibernate is more complex, but you can ignore it and only use the JPA part.
If you use Java Annotation, you don't even need XML.
r*****l
发帖数: 2859
20
来自主题: Java版 - Singleton
Both the 3 solutions should work. The non-lazy one is the simplest. Many
people give the solution with "synchronized" keyword but often did not get
it right.
e*****t
发帖数: 1005
21
yeah, definitely check the license and talk to somebody who deals with
license in your organization to make sure it own't bite you later.
What goodbug said is the simplest solution. If you in control of the
classpath, you may also try to put your class on the classpath before this
jar.
g*****g
发帖数: 34805
22
来自主题: Java版 - 求思路
You don't check the status of a thread, you check the status of a task.
Usually you'd use a threadpool, but you can use a simple timer task too. The
simplest way to do it may be like this, with Spring for example. @Scheduled
will use a default threadpool btw.
class MyService {
String status;

@RequestMapping(yourURL)
public getStatus(){return status;}
@Scheduled(yourSchedule)
public runTask {
//change status as you need.
}
}
d****i
发帖数: 4809
23
来自主题: Java版 - java的东西好多
现在很多人认为设计模式=over design,这个是有道理的,把很多简单问题反而搞得复
杂化了,容易把人弄的晕头转向的,所以forget about design pattern。As long as
you can achieve what you want, the simplest should be the right way.

EJB
g*****s
发帖数: 1288
24
来自主题: Java版 - java的东西好多
许多Bullshit 就是这样来的,就是觉得自己can achieve all with the simplest way
. 后来发现各种各样的问题以前没考虑到,就渐渐造出来一个新的Framework.

as
t*********e
发帖数: 630
25
来自主题: Java版 - Spring Framework magic
The simplest example to demonstrate dependency injection in Spring Framework
. The main method isn't related to mockMessageSercvice() in any way, and
there is no any configuration file defined in the project. The main method
is able to print out "Hello World". How does this magic occur? @
Configuration & @ComponentScan work together to do the trick. It takes time
to just develop a basic understanding of how this little example works for
those who are new to the spring framework field.
Class 1:
p... 阅读全帖
t*********e
发帖数: 630
26
来自主题: Java版 - Spring Framework magic
The simplest example to demonstrate dependency injection in Spring Framework
. The main method isn't related to mockMessageSercvice() in any way, and
there is no any configuration file defined in the project. The main method
is able to print out "Hello World". How does this magic occur? @
Configuration & @ComponentScan work together to do the trick. It takes time
to just develop a basic understanding of how this little example works for
those who are new to the spring framework field.
Class 1:
p... 阅读全帖
l*****n
发帖数: 633
27
来自主题: Linux版 - python descriptor 问题
【 以下文字转载自 Programming 讨论区 】
发信人: luxilon (昵称不好起), 信区: Programming
标 题: python descriptor 问题
发信站: BBS 未名空间站 (Fri Nov 13 16:52:18 2009, 美东)
python.org 上说descriptor可以direct call:
Direct Call
The simplest and least common call is when user code directly invokes a
descriptor method: x.__get__(a).
但__get__()需要3个argument, 这里包括self才两个。能举个direct call的例子吗?
另外,__get__(self, obj, objtype)里面的obj和objtype到底有什么用?特别是
objtype,有使用它的例子吗?
thanks.
s*******e
发帖数: 27
28
There is a linux kernel online tutorial and it provides very simplified
version of basic linux kernel structure and how it works.
I still need to re-read it when I try to use it even after reading it quite
a few times. If you, just like me, don't have a strong OS background, you
need to force yourself to read it serveral times. But afterwards you will
find out that you have learned a lot about linux.
This is the simplest and most concise version of kernel tutorial I found.
It is a bit out of dat
v*****r
发帖数: 1119
29
simplest way, use named pipe
s******r
发帖数: 21
30
来自主题: Programming版 - 读取数据求教

Here is my solution. It is not necessarily the simplest one.
I use f.seek(-60, ios::end) here, assuming:
1. the data file is in Text Format;
2. the last 2nd number is always within the last 60 bytes of the data file.
The last 2nd element in the vector v is what you want, then.
#include
#include
#include
#include
using namespace std;
int main(void){
ifstream f("1.data");
f.seekg(-60, ios::end);
vector v((istream_iterator(f)), istream_itera
l**j
发帖数: 312
31
来自主题: Programming版 - Need suggestions from your experts!!
take java tutorial from java.sun.com
that's the simplest one

programming
g*****g
发帖数: 34805
32
来自主题: Programming版 - suggestions on learning Java quickly, please
Java is a simple OO language, but language is the simplest part of Java.
It's more of API, frameworks, design patterns etc.
You may not be able to pass any interview beyond entry level if you only
have one week. Core Java is a good book for studying JSE though, I'll
recommend that.

get
j********e
发帖数: 7
33
simplest case of collision detection in 2d
g*****g
发帖数: 34805
34
Simplest algorithm would be populate the first text file
line by line to a hashmap, read the 2nd text file until
you find a match.
w***g
发帖数: 5958
35
来自主题: Programming版 - 请教一个语言选择的弱问题
This should be the simplest way. You can write a program in any language to
generate the URLs.
g*********s
发帖数: 1782
36
来自主题: Programming版 - 评估!写多少行程序算多?
The simplest but best way is to publish your source code.
Mule or horse, veteran can judge by a brief review.
k**f
发帖数: 372
37
来自主题: Programming版 - c 语言中怎么用科学计数法

I guess the issue you have is that the 'if' clause never become true, the
program always goes to the 'else' branch. Or it could be the other way
around.
Depending on the actual range of 'a', the 1e-16 may not be a good number to
compare against because the precision of a 32-bit float type is not high
enough. The simplest thing for you to try is to use double as the data type
for 'a' and see if things work.
p***o
发帖数: 1252
38
Simplest way: save xls as .csv, read by scanf
r*********r
发帖数: 3195
39
来自主题: Programming版 - 怎么产生全排列?
simplest solution is via backtracking
k**l
发帖数: 2966
40
looks like pretty hardcore, reading the documents...
btw, about the simplest solution "alarm()", if my code took 2.35s to finish,
it can only wait 8s(or 7s?) instead of the desired 7.65s, right?
g*****g
发帖数: 34805
41
It's not enough unless you want to be a pure swing or SWT developer.
And yes, a veteran JEE developer is supposed to master most of these
concepts. I'd suggest you focus on Spring, Hibernate and a simple
web framework (Stripes and Wicket are 2 simplest ones IMHO and spring
MVC is OK) to complete a simple CRUD project. You'll understand these
concepts once you are over that stage.

,
,
g*****y
发帖数: 7271
42
You can start from the simplest Linear Prediction model, train an auto-
correlation matrix and you are done. Very simple and it should work to some
extent. But if you want to apply it to stock prediction, I am afraid it won'
t work.
O*******d
发帖数: 20343
43
来自主题: Programming版 - 怎样遍历一个字母的组合 (转载)
recursive code is the simplest.
l*****n
发帖数: 633
44
来自主题: Programming版 - python descriptor 问题
python.org 上说descriptor可以direct call:
Direct Call
The simplest and least common call is when user code directly invokes a
descriptor method: x.__get__(a).
但__get__()需要3个argument, 这里包括self才两个。能举个direct call的例子吗?
另外,__get__(self, obj, objtype)里面的obj和objtype到底有什么用?特别是
objtype,有使用它的例子吗?
thanks.
首页 上页 1 2 3 4 5 6 7 8 9 10 (共10页)