大约有 13,077 项符合查询结果(耗时:0.0334秒) [XML]
Different types of thread-safe Sets in Java
...entations and ways to generate thread-safe Sets in Java.
Some examples include
4 Answers
...
Ignoring time zones altogether in Rails and PostgreSQL
I'm dealing with dates and times in Rails and Postgres and running into this issue:
2 Answers
...
Principal component analysis in Python
I'd like to use principal component analysis (PCA) for dimensionality reduction. Does numpy or scipy already have it, or do I have to roll my own using numpy.linalg.eigh ?
...
std::vector versus std::array in C++
...the difference between a std::vector and an std::array in C++? When should one be preferred over another? What are the pros and cons of each? All my textbook does is list how they are the same.
...
What is the difference between active and passive FTP?
...
Active and passive are the two modes that FTP can run in.
For background, FTP actually uses two channels between client and server, the command and data channels, which are actually separate TCP connections.
The command channel is for commands and responses while the data c...
What is the correct answer for cout
Recently in an interview there was a following objective type question.
4 Answers
4
...
Possibility of duplicate Mongo ObjectId's being generated in two different collections?
Is it possible for the same exact Mongo ObjectId to be generated for a document in two different collections? I realize that it's definitely very unlikely, but is it possible?
...
What’s the difference between ScalaTest and Scala Specs unit test frameworks?
Both are BDD (Behavior Driven Development) capable unit test frameworks for Scala written in Scala. And Specs is built upon may also involve the ScalaTest framework. But what does Specs offer ScalaTest doesn't? What are the differences?
...
base64 encoded images in email signatures
I have to include some images (company logo's etc) in email signatures. I've had all sorts of issues using the embedded images produced by the email system in question (they get sent as attachments generally) and as linked images (requiring permission to display them in the email received).
...
Shared-memory objects in multiprocessing
Suppose I have a large in memory numpy array, I have a function func that takes in this giant array as input (together with some other parameters). func with different parameters can be run in parallel. For example:
...
