|
Hi, I have to give a general note to some huge java project for which I have but little visibility and I was wondering if there were any guidelines for determining:
what number of classes per package can be considered right, to low, or to high (this project...
Started by m_oLogin on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
I'm not sure about....
I think stats like that are pretty useless, how does knowing the lines per method show whether its recommends about 7 methods per class and no more lines in a method then can be viewed in a single screen without scrolling.
|
|
How can I convert a PDF with 2 sides per page to 1 side per page?
Answer Snippets (Read the full thread at superuser):
Then split the files into single pages and recombine to make one document with single... .
Get the pdftoolkit
You could duplicate the document, then crop the pages so that only the even page numbers show in one file and only the odd page numbers in the other .
|
|
Here is the doubt I have come up with ServletContext is one per web-app and one per JVM. But if I am running more than one web-app on the same JVM. Then it has 2 ServletContext per JVM. Is it Possible? Can anybody elaborate on this?
Answer Snippets (Read the full thread at stackoverflow):
(A "web application" is a collection of servlets and possibly installed via a .war file.)"
The "per web application" part means that if you set up :
There is one context per ....
per "web application" per Java Virtual Machine.
|
Ask your Facebook Friends
|
Are there any links/arctiles that describe an average price for buying/supporting of SAN solution per GB per year?
Started by Superfilin on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
Aws.amazon.com/s3/#pricing
Cost per GB for our systems are $5.42 for one system (FATA drives, in a Fibre Channel.
|
|
One of my tables in my SQL database has a growth rate of two nibbles per nanosecond. I was wondering how many megabytes per day that is and should I be worried? My hard disk is 150 GB.
Started by mattRo55 on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Let's just say your HDD can't write that fast/input/?i=How+many+megabytes+per+day+are+two+nibbles+per+nanosecond%3F
Google says: 1 nibbles per nanosecond = 476.837158 ....
Bytes per second, or 953 megabytes per second.
|
|
I want to use 4 spaces per tab in my Python code (.py files) and 2 spaces per tab in my JavaScript (.js files), and it is cumbersome to keep going to the preferences menu every time I switch between files.
Started by Josh Gibson on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
In the Preferences>>Text Files section, you can add per file settings:
# -*- tab-width: 2 -*-
Textwrangler has recently (August 2009) been updated to Version 3.0 which adds 'per-filetype' tab settings..
|
|
I wanted to stress test by webserver. Here is how i want to do it.
I have 'u' different urls on my webserver. so i need to hit these urls in parallel, with a hit rate of 'n' hit per second, per url.
what would be the best tool to do this ?
Answer Snippets (Read the full thread at serverfault):
If you want to ask different URI's, run many httperf instances in parallel mode .
per second.
|
|
I'm using IOCP on UDP socket, and the UDP socket may be closed in another thread. So, how can I free Per Socket Context and Per I/O Context which associated with SOCKET safely?
When I close the socket, there will still be un-completed I/O request in kernel...
Started by dragonfly on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
After I have received completion events for all of the read and write_REUSE_SOCKET flags to reset the socket... .
I use reference counting on all of my per socket and per I/O data my per-socket structures.
It appropriately when finished.
|
|
We all have a lot of internal services that need encryption and authentication to be provided by some sort of PKI.
Do the security gains of using a different private/public key pair for each service justify the extra work entailed?
Or is using a single...
Answer Snippets (Read the full thread at serverfault):
If you're in an environment where you're server, then per server....
I think you would be best off having one per server.
Not an older the rest.
per-server will be fine as long as the encryption you're using is of high quality (i.e.
|
|
I'm fairly new to mysql and need a query I just can't figure out. Given a table like so:
emp cat date amt cum 44 e1 2009-01-01 1 1 44 e2 2009-01-02 2 2 44 e1 2009-01-03 3 4 44 e1 2009-01-07 5 9 44 e7 2009-01-04 5 5 44 e2 2009-01-04 3 5 44 e7 2009-01-0...
Started by GrizzlyGuru on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
SELECT orders.* FROM orders INNER JOIN ( SELECT emp, cat, MAX(date) date FROM orders GROUP BY emp, cat ) criteria USING (emp, cat, date)
Basically, this uses a subquery to get the latest entry for each emp and... .
This should work, but I haven't tested it.
|