c**o 发帖数: 186 | 1 How to implement this in JAVA?
Does any body know in oracle database, if data is changed, how to java
system get informed then sent notify to client?
I thought database trigger can monitor the data changes, but it can not
inform java system, right? |
|
c**o 发帖数: 186 | 2 Can you give me a hint why you pick up thread, not a simple loop?
the two ways look like the same to me. And for real implement, thread is
much more difficult to deal with than loop. |
|
w******c 发帖数: 574 | 3 请问那里大家知道哪里有B+Tree的java implementation吗
现在的proj里需要用到insert和search, data type是float
google了一堆好像都没有能直接用的
哪位知道请share一下 多谢 |
|
l*********s 发帖数: 5409 | 4 Say, to implement a directed map of G(vertex,arcs) with adjacency lists.
Naturally, one would like to deleted all the edges associated with a given
node when trying to delete it.
Without explicit call of destructor, how to do this in Java? |
|
l*********s 发帖数: 5409 | 5 We are asked to implement the map and associated algorithm as exercises,
thus java's prepackaged data structures cannot be used. So your suggestion
is to manually dereference all the edges from a vertex from the Map class,
right? |
|
w*r 发帖数: 2421 | 6 BTW, I do not plan to use spring at all for such small implementation. and
to keep the app simple and portable, i am using the standard form based
authentication provided by all j2EE web containers.
's
post |
|
M***0 发帖数: 1180 | 7 JAAS implementation is vendor specific
我相信每个app server都提供可扩展的类让你提取plain password
glassfish里是abstract class AppservPasswordLoginModule
里面定义了protected String _username and protected String _password
spring的UsernamePasswordAuthenticationToken有getPrincipal()和getCredentials(
)分别提取username and password
你用的app server里应该也会有同样功能的class,但app server提供的东西互相不通
用,你还得add resource to app server。用Spring反而才是same code for all
servers.
correct me if I was wrong. |
|
o*****l 发帖数: 539 | 8 请教大侠们一个问题, 谢谢!
Is it possible to use bash to implement a data structure like
Map> in Java?
I tried this(test.sh), which fails
$ ./test.sh
d1FileToScriptMap
./test.sh: line 27: ${${myMap}["entities.csv"]}: bad substitution
line 27 is "scriptfile=${${myMap}["entities.csv"]}"
========= test.sh ===============================
#!/bin/bash
dataSources=("d1" "d2")
declare -A dataSrcToScriptAssociateArrayMap
dataSrcToScriptAssociateArrayMap=(
["d1"]=d1FileToScriptMap
... 阅读全帖 |
|
N**s 发帖数: 837 | 9 hash map is implemented in hash, multi-map means you can have multiple
records with same key |
|
i*****s 发帖数: 438 | 10 How is map implemented in STL?
is map a suitable data structure to write a dictionary in STL? |
|
f*****d 发帖数: 2726 | 11 Sorry I can not type chinese right now.
I don't know Java, but have beening using C++ for a while. One thing I don't
understand is that why Java does not separate interface and implementation
for a class.
When I got some java code from my colleague, all the definition and
declarations are mixed together in one file. My colleague told me that
compilation was not an issue for java so separation is not necessary. Is
that true?
I learned that there are a lot of benefits other than compilation when d |
|
X****r 发帖数: 3557 | 12 There is the separation but not at the source level.
For example, when you use third-party libraries, you get the
documentation, which is usually generated by JavaDoc from the
source code, and the binary .jar compiled from the source code.
These are all you need to use the library. The implementation
details are hidden.
Personally I think this is superior than the C/C++ model of dual
header/source. In C/C++, not only you get to modify both places
when making a change, a mismatch would be harder |
|
g*****g 发帖数: 34805 | 13 Not sure what you are talking about there.
Java has explicit interface and class type, while C++ only
has class.
If you are talking about the header file C++ has, that's not
necessary for Java. There's no macro for java, and all functions
are virtual by default, class files have a defined hierarchy. It
all makes compiler's job much simpler.
't
implementation
doing |
|
l******e 发帖数: 12192 | 14 感觉你是要问declaration和definition。
C++这样做(其实是继承C的传统),主要是方便发布api,一般都要提供头文件和binar
y的库;而java, c#这些都有虚拟机,编译成bytecode后,类声明都是可见的。
't
implementation
doing |
|
l******e 发帖数: 12192 | 15 如果要改implementation保持interface不变的话,c/c++多半只用该defintions。 |
|
w***g 发帖数: 5958 | 16 如果C++像java那样写,所有的东西都inline到头文件里,会有什么坏处?
我老写C++懒得把一个东西分两处写,这么干已经很久了。这样的code被别人看到会不会
不利于找工作?
't
implementation
doing |
|
g*****g 发帖数: 34805 | 17 You can declare interface and let class implements interface
if that's what you try to achieve. |
|
g*********s 发帖数: 1782 | 18 why u learn classical algorithms when most of them already have been
implemented by stl and boost? |
|
c*****t 发帖数: 1879 | 19 STL/Boost are for people to use. Trying to implement these yourselves
are quite silly.
Like goodbug once said, what was the point of learning algorithms when
one could just google + copy/paste? Having the right google skill
is far more important :)
I'd suggest you to do some real projects than working on some interview
questions or some specific functions. |
|
r***e 发帖数: 2000 | 20 I was reading the system library of complex number
and have some questions:
1) Should it be a class or a struc?
the system makes it a struc;
2) Although it is a struct, the system library provides
accessor functions such as real(), etc. why?
3) Why it is implemented as a template?
I would assume make it two doubles and type conversion
can take care of int and float, etc.
Thanks. |
|
t****t 发帖数: 6806 | 21 1 class or struct doesn't matter. only difference is default accessibility.
what matters is, complex<> are "literal types". i assume this is for
compatibility and implementation convenience.
2 the default accessibility is for backward compatibility.
3 for floating point calculation, precision matters. why system provides
float, instead of letting everyone use double? |
|
r**o 发帖数: 481 | 22 【 以下文字转载自 JobHunting 讨论区 】
发信人: roro (yoyo~Madredeus-Miradouro de Santa Catar), 信区: JobHunting
标 题: Implement hashtable, 如何存储?
发信站: BBS 未名空间站 (Wed Jun 1 14:28:49 2011, 美东)
问我如何实现,还差不多
为我如何存储key and value set for the hashtable,想不出来,
需要什么样的structure? |
|
g*****g 发帖数: 34805 | 23 An array pointing to bucket (i.e. linked list), that's the standard
implementation. |
|
|
k****5 发帖数: 546 | 25
depending on implementation. what I said is universal. |
|
s*******n 发帖数: 66 | 26 是为了以后改动implementation不影响其他user使用吗?和complile有关系吗?谢谢:
) |
|
r*********r 发帖数: 3195 | 27 interface 的抽象度更高。implementation 是实现的细节。
从实用上讲,header file 是为了便于compiler 作 type checking.
因为编译过的 binary 里不含type information.
java 的 bytecode 里则存有 type meta data,
所以不用单独的header file |
|
W***o 发帖数: 6519 | 28 I am trying to write a user-level thread library in C. My strategy is to use
ucontext_t, signal, sigaction to support thread creation, initiation, join,
mutex, yield, cancel, and exit.
Without pre-emption, my code currently works with all the methods. But when
I try to add pre-emption support, the program seems running funny and
confusing. So I need to see some examples, better implemented in C.
I am new to C, and have only started C program from 20 days ago. I am
comfortable with using struct, ... 阅读全帖 |
|
y***n 发帖数: 1594 | 29 【 以下文字转载自 JobHunting 讨论区 】
发信人: yuren (雨人), 信区: JobHunting
标 题: AVL 和 Red Back Tree 那个比较容易implement.
发信站: BBS 未名空间站 (Mon Feb 24 20:57:38 2014, 美东)
转换的想问问大家。 |
|
os 发帖数: 81 | 30 Posted from Open Collections Program@LISF
Download Address: http://www.lanken.com/forum/viewtopic.php?t=85
Implementing SSH: Strategies for Optimizing the Secure Shell.
by Himanshu Dwivedi.
ISBN: 0-471-45880-5, 402 Pages, October 2003.
Prevent unwanted hacker attacks! This detailed guide
will show you how to strengthen your company system!/s
defenses, keep critical data secure, and add to the
functionality of your network by deploying SSH.
Security expert Himanshu Dwivedi shows you ways |
|
b*k 发帖数: 27 | 31 Unix doesn't support share file open mode, how to
implement a one based on the current system
functions?(SunOS or solaris) or is it
not possible at all?
Thanks for your ideals |
|
s****e 发帖数: 36 | 32 【 以下文字转载自 Programming 讨论区 】
【 原文由 Scheme 所发表 】
I believe that pipe is the single most powerful idea in UNIX..
but how does the pipe implemented????
thanks a lot! |
|
g****o 发帖数: 1284 | 33 I know in traditional I/O, we usually hire two buffers to handle the I/O
operation: a kernel buffer and a user buffer. If a thread send a read request,
it traps in the kernel and blocks. Data first is transferred from device to
kernel buffer, and from kernel buffer to user buffer at last. After the
transferring is finished, the thread returns from kernel and continue its
execution.
Suppose I want to implement asynchronous I/O like this way: A user lever
thread sends a read request then immediate |
|
c**r 发帖数: 10001 | 34 In outlook, I can make a rule to move all emails with some word, say a,
in subject into a folder. It's easy to implement a or b in subject, anyone
know how to do a and b? Thanks. |
|
d*********e 发帖数: 3835 | 35 March 10, 2010 - The NextGen Implementation Plan provides an overview of the
Federal Aviation Administration (FAA) ongoing transition to NextGen. The
Plan lays out the agency's vision for the Next Generation Air Transportation
System, now and into the mid-term, which is defined here as 2012-2018. The
Plan further identifies the goals the FAA has set for technology and program
deployment and the commitments the FAA has made in support of that vision.
Through annual updates, the FAA will document |
|
a**********s 发帖数: 588 | 36 【 以下文字转载自 CS 讨论区 】
发信人: algorithmics (沙盘推演), 信区: CS
标 题: 需要一个ransac的implementation
发信站: BBS 未名空间站 (Sat Oct 31 18:33:43 2009, 美东)
C/C++, 希望比较稳定, 快速, self-contained
我的数据量大概是几千到几万, 自变量的维数是四维到十维...
有什么推荐的? thanks! |
|
f**h 发帖数: 1149 | 37 哪位有Real-Time Digital Signal Processing: Implementations and Applications
第二版的随书光盘?能否共享一下??学校图书馆的书里面找不到了。谢谢 |
|
c*********n 发帖数: 87 | 38 Intelligent Fusion Technology (IFT) is a Research and Development (R&D)
company focused on information fusion technologies from basic research to
industry transition and product development and support. IFT is located in
Germantown, Maryland. We are working on modeling, control, communication,
signal/image/speech/text processing, security, autonomy, and decision making
in networked systems. We are looking for talented developers majoring in
engineering (e.g., EE, ME, AE), computer science, appli... 阅读全帖 |
|
u*****s 发帖数: 4 | 39 Structured Credit analytics group is hiring for a Quant Developer to work on
model implementation for the Structured Credit desks (CDO, CLO, Default
Swaptions & other correlation products) and Credit Flow businesses (
Corporate Bonds, CDS, CDX & ABX).
This is a great opportunity to join a team which is building out from
scratch. They have a huge mandate to build out their Structured Credit
business and urgently need to bring a strong quant developer/ modeler on to
help them to get up and running |
|
h******r 发帖数: 201 | 40 最近面一家 hedge fund, 一PM 要求
(1) give strategies you are currently working on
(2) give ideas how you will expand your work
(3) give 5 ideas you are considering implementing
I really want to continue, but I don't know if such questions are only for
idea-peeping. If I give them my current strategies, it will be against my
company's rule. If not, I am afraid they will simply reject me.
请大牛说说如何回答这个问题? |
|
m******e 发帖数: 89 | 41 有谁看过Credit Risk Scorecards: Development and Implementation Using SAS
BY Mamdouh Refaat
是否值得买。103$
谢谢! |
|
m******e 发帖数: 89 | 42 有谁看过Credit Risk Scorecards: Development and Implementation Using SAS
BY Mamdouh Refaat
是否值得买。103$
谢谢! |
|
s******5 发帖数: 513 | 43 你好,你能给我一个书的copy么?
Credit Risk Scorecards: Development and Implementation Using SAS
BY Mamdouh Refaat
多谢
s********[email protected]
谢谢 |
|
w*******y 发帖数: 60932 | 44 Things Cooks Love: Implements, Ingredients, Recipes [Bargain Price] [
Hardcover] @ Amazon for only $ 3.61 - Free Super Saver Shipping or Free
shipping with prime... original price $35.
Review
As clever as it is useful, rich with color photographs, short cuts, and care
and cleaning tips. --The Kansas City Star
Must-have book for cooks at every level from the newlyweds to the seasoned
cook. --Healthcastle.com
Also this is another Slick Deal, which might interest you...
http://slickdeals.net/forums... 阅读全帖 |
|
l******h 发帖数: 2 | 45 Highly reputational company with very competitive compensation for all
positions.
Please send in your resume and position/positions you like to apply to my
email address below.
h*******[email protected]
All resumes will be deliver to hiring manager directly. Act fast!
Thanks!
Silicon Engineering Group
Sr. Physical Design Timing Engineer
Timing (STA) Manager
Senior Physical Design Engineer
CAD Manager - Front-End Design and Verification
Sr. CAD Engineer - Place & Route / Physical Design Engineer
Sr. CA... 阅读全帖 |
|
l******h 发帖数: 2 | 46 Highly reputational company with very competitive compensation for all
positions.
Please send in your resume and position/positions you like to apply to my
email address below.
h*******[email protected]
All resumes will be deliver to hiring manager directly. Act fast!
Thanks!
Silicon Engineering Group
Sr. Physical Design Timing Engineer
Timing (STA) Manager
Senior Physical Design Engineer
CAD Manager - Front-End Design and Verification
Sr. CAD Engineer - Place & Route / Physical Design Engineer
Sr. CA... 阅读全帖 |
|
I*D 发帖数: 40035 | 47 Role Title Description Start Date End Date Status Level From
Level To Standard Role Work Location Role Specialty 1 Level 1
Role Specialty 1 Level 2 Role Specialty 1 Level 3 Role Specialty 1
Level 4 Role Specialty 1 Level 5 Skill & Proficiency
PeopleSoft Administrator This person will be part of a team that supports
a PeopleSoft Financial system with several associated custom applications
and batches using ASP .NET, Hyperion, PL/SQL, SQL, and SQR. This ... 阅读全帖 |
|
f**d 发帖数: 768 | 48 这是一本计算神经科学的优秀著作,全文拷贝这里(图和公式缺),有兴趣的同学可以
阅读
如需要,我可以分享PDF文件(--仅供个人学习,无商业用途)
From Computer to Brain
William W. Lytton
From Computer to Brain
Foundations of Computational Neuroscience
Springer
William W. Lytton, M.D.
Associate Professor, State University of New York, Downstato, Brooklyn, NY
Visiting Associate Professor, University of Wisconsin, Madison
Visiting Associate Professor, Polytechnic University, Brooklyn, NY
Staff Neurologist., Kings County Hospital, Brooklyn, NY
In From Computer to Brain: ... 阅读全帖 |
|
w********a 发帖数: 621 | 49 My client in Billerica MA has following open positions.
The base salary for senior position is around 110K
The base salary for principal position is around 130K
Please send your resume to me if you are interested in one of the positions.
Thanks in advance.
====================================================================
Title: Enterprise Architect
Division: G&A
Department: Technology IT and Infrastructure
Location: USA - Massachusetts - Billerica
Description:
The Enterprise Architect will wo... 阅读全帖 |
|
w********a 发帖数: 621 | 50 My client in Billerica MA has following open positions.
The base salary for senior position is around 110K
The base salary for principal position is around 130K
Please send your resume to me if you are interested in one of the positions.
Thanks in advance.
====================================================================
Title: Enterprise Architect
Division: G&A
Department: Technology IT and Infrastructure
Location: USA - Massachusetts - Billerica
Description:
The Enterprise Architect will wo... 阅读全帖 |
|