|
Many companies require a programmer to have a couple of years of experience before they will consider them for a position. With that in mind what role should experienced/established programmers play in lobbying and "opening doors" for younger developers...
Started by Achilles on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
It is good to teach, it helps cement things I've learned recently in my mind at least... .
However, given the extreme shortage of competent developers I think this will happen anyway if a young developer shows promise .
I don't think there's any obligation.
|
|
¿How can I debug this problem?
(I've got full tcpdump captures)
I have a TCP server into which many clients establish persistent connections. Normally all these clients behave, and I never reach the 1024 default Linux limit connections (open files) per...
Started by Fh on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
Basically, you are always comparing what should be happening with what is... .
The basic process is iterative, with the results from the previous step serving as the input for the next step of the analysis .
Protocol analysis is not hard, but it is tedious.
|
|
Are there any established/popular Flash Game Creation applications? If so, what are the pros and cons of each. Thanks.
Started by Nick on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If you don't have these skills (and aren't interested in spending the time to acquire them) you're looking for something wherein... .
Flash itself is setup in a way that, with a small amount of programming and art skill, you can put together pretty simple games .
|
Ask your Facebook Friends
|
I'd like to establish several TCP connections between computers behind a firewall.
The follow picture illustrates a simple network:
From the picture I'd like to establish 3 TCP connections:
A => 2 B => 2 C => 2
What are my options for establishing...
Started by Justin Tanner on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
This should be an interesting....
This is one idea.
For instance, think about how a service like LogMeIn or GoToMyPC manages connections between a client and the controlled host .
You could have some server in the cloud acting as a proxy for your connections .
|
|
Hi, could you tell me plz - how to write tests for projects, which uses in model establish_connection to connect another database?
Started by Alexey Poimtsev on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
When you do establish....
You will not need to Test the establish_connection in that DB.
I don't see a need to change the test codes after you place establish_connection in your model since you still test the same model functionality.
|
|
I was wondering, how is equality (==) established for STL iterators? Is it a simple pointer comparison (and thus based on addresses) or something more fancy?
If I have two iterators from two different list objects and I compare them, will the result always...
Started by Daniel on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
I think some debug STL implementations will signal....
You're not really supposed to compare iterators from different containers .
So the result depends on the implementation of operator==.
Iterator classes can define overloaded == operators, if they want .
|
|
How do I establish an input stream over HTTP for the iPhone? My project is to incrementally pull binary data from an HTTP server to the iPhone. The pattern is to pull some data - this is a scientific app - analyze it for a while, pull more data. Rince...
Started by dugla on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You can use NSURLRequest/NSURLMutableRequest along with NSURLConnection in order to achieve this here are some links http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSURLRequest%5FClass/Reference/Reference.html... .
|
|
Is it reasonable to use private static variables to establish invariants in your class?
Ex:
class MovingObject { public: //...Stuff private: // Invariants static const double VELOCITY; // Moving objects always move at this velocity // etc. for any other...
Started by Anonymous on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
This is a common idiom across several OO languages including Java. .
See the article anon linked for a discussion of 'invariant' as it's generally used in object-oriented design .
Yes, though those are generally called 'constants'.
|
|
So far, I've seen many different naming conventions used for PHP namespaces. Some people use PascalCase\Just\Like\For\Classes , some use underscored\lower_case\names , some even use the Java convention for package names: com\domain\project\package .
The...
Started by Ignas R on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Other local variables i'm also writing lower camelcase without....
Personally I like writing classnames upper camelcase, class attributes and methods lower camelcase and class attributes prefixed with an underscore .
The recommended naming guide is here.
|
|
Ok, consider this common idiom that most of us have used many times (I assume):
class FooBarDictionary { private Dictionary<String, FooBar> fooBars; ... FooBar GetOrCreate(String key) { FooBar fooBar; if (!fooBars.TryGetValue(key, out fooBar)) {...
Started by Johann Gerell on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
It sort of depends why you're doing it - the idiom is one I've seen be called memoization, caching, initialisation on demand, create on first use... .
Lazy Loading
http://en.wikipedia.org/wiki/Lazy%5Floading
I always call such functions obtainSomething().
|