B*********t 发帖数: 25 | 1 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 OR, the simplest solution might probably be reinstalling xp to the partition
that you have marked as active?? |
|
y**b 发帖数: 10166 | 3 那样的话,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 因为这是简单重复劳动
没见电脑城里,原先卖菜,搬砖的摇身一变就成了装机的
不是我打击楼主,你这是feeling happy about the simplest tasks you are able to
do,婴儿的行为,成年人这样不正常,得治 |
|
m******n 发帖数: 1691 | 6 你就跟老娘们比谁机箱里的线布得好看???
我同意前面那个说你 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
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 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 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 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 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 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 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 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 现在很多人认为设计模式=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 许多Bullshit 就是这样来的,就是觉得自己can achieve all with the simplest way
. 后来发现各种各样的问题以前没考虑到,就渐渐造出来一个新的Framework.
as |
|
t*********e 发帖数: 630 | 25 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 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 【 以下文字转载自 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
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 take java tutorial from java.sun.com
that's the simplest one
programming |
|
g*****g 发帖数: 34805 | 32 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 This should be the simplest way. You can write a program in any language to
generate the URLs. |
|
g*********s 发帖数: 1782 | 36 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
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 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 recursive code is the simplest. |
|
l*****n 发帖数: 633 | 44 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. |
|