GUYS I need to know abt the book which is best book for a professional to improve his concept
it must be objective
if sm1 have plz send it to [email protected]
Hi,
Is it possible to use Python's doctest concept for classes, not just functions?
If so, where shall I put the doctests - at the class' docstring, or at the constructor's docstring?
To clarify, I'm looking for something like:
class Test:
"""
>>> a=Test(5)
>>> a.multiply_by_2()
10
"""
def __init__(self, number):
self._number=number
def multiply_by_2(self):
return self._number*2
Thanks in advance,
Adam
Hello,
After using stackoverflow for weeks i am just addicted by its system and the "badges" system. Is it possible to create a simple Q&A board with this concept or is there any tutorials ?
I'm trying to explore Behavior Driven Design and Domain Driven Design. I'm getting that written specifications drive the tests in BDD, but also that business logic can be encapsulated using the specification pattern for re-use in domain objects and repositories, etc.
Are these basically the same concept just used in different ways, used in conjunction together, or am I completely confusing the concepts?
Please shed some light, if possible.
For example,
I want my Class1 to have a friend Class2, so that ONLY Class1 itself and its friend Class2 can set a some certain property in Class1? This concept exists in C++, but I don't know how to do it in C#.
Thank you guys
In the post screen, I want to remove the option of multi-authors being able to 'free tag' their posts. In other words, only allow tags that have been preset in the admin tags section.(these tags are of course visible in the tag cloud in posts screen) The concept is to prevent authors introducing random tags in their posts, leading to duplication and confusion.
Hi,
In blackberry, we use a timeout to get the location, so that if it doesnt retun location in that much time period, we get to know. But in Android, there is no concept of timeout, can anyone please tell the alternative, that we can find out that after this much time there is no location update from GPS.
Thanks
I'm just getting started in F# and have a basic question.
Here's the code:
let rec forLoop body times =
if times <= 0 then
()
else
body()
forLoop body (times -1)
I don't get the concept of how when you define a variable it is a value and immutable. Here, the value is changing in order to loop. How is that different from a variable in C#?
Hi,
I am confused, wanted to confirm the below statement -
We can create multiple event handle method for the same event?
I think yes, beacuse it is overloading concept? right?
Please correct my understanding or advise.
Thanks.
I'm trying to grasp the concept of a Batcher Sort. However, most resources I've found online focus on proof entirely or on low-level pseudocode. Before I look at proofs, I'd like to understand how Batcher Sort works. Can someone give a high level overview of how Batcher Sort works(particularly the merge) without overly verbose pseudocode(I want to get the idea behind the Batcher Sort, not implement it)? Thanks!
RDBMS are based on Relational Algebra as well as Codd's Model. Do we have something similar to that for Programming languages or OOP?
One concept may be Turing Machine.
I have properties called reel1, reel2, reel3, and reel4. How can I dynamically reference these properties by just passing an integer (1-4) to my method?
Specifically, I am looking for how to get an object reference without knowing the name of the object.
In Javascript, I would do:
temp = eval("reel" + tempInt);
and temp would be equal to reel1, the object.
Can't seem to figure this simple concept out in C#.
hi!
I wonder why Informatica's joiner transformation doesn't support !=, =, <= operators??
why should they come up with a concept like lookup??
Thanks for your suggestions.
I'm unable to find the .NET FCL built-in concept of precedence to leverage while constructing Expression Trees. Ref System.Linq.Expressions Namespace. Is this something that must be handled manually in code, or is it somehow implicit and I'm not recognizing it? Maybe through helper methods or classes?
I want to apply it to math operations to ensure 3 + 5 * 10 results in 53 instead of 80.
This latest Herb Sutter trip report on the C++0x standardisation process indicates that the committee has decided to completely drop the "export" concept for templates, and to deprecate exception specifications.
I think these are both good moves, but I'm interested if anyone out there has a code base where these changes will cause them sleepless nights?
Basically I want to setup a replication server for mysql datbase. I am completely new to this concept and appreciate any help pointing me in the right direction.
If at all the slave goes down, will it effect the master in anyway?
Thanks.
We are working with a PHP application which has no concept of switch-able themes; the situation is that we are modifying the application to add our own features, and CSS/Smarty templates for our own look and feel.
We have 2 projects base on this application, each with a different layout/presentation. Hence I need to have one repo for the base application files, and one for the CSS/smarty templates. How should I go about doing this?
I had done Edge detection using wavelet transform using thus steps
changing the image to Gray scale
decomposing the image using dwt2(discrete wavelet transform,Haar wavelet filter ) in to horizontal,vertical,diagonal and approximation(detail)
further decomposing the horizontal part
threshold (global threshold like canny Edge detection )
i got the edge but i got a problem while locating the edge to complete image to mean recovering original image using only the Edges so i need help concerning this either in concept ,mat lab code or references
I hope i will get your help soon
I recently learned a lot about MVC model which is a very interesting concept. I would assume there are a lot more models out there, and I thought it would be great for people to share some models.
Here's my contribution:
MVC Model: http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller
As a non-native english speaker, I was wondering why the concept of being able to be constructed by the copy constructor is called CopyConstructible (as opposed to CopyConstructable). What are the exact rules that require an i instead of an a?
What resources can you recommend for learning how to architect a iPhone application?
Background of the question is that most of the resources explain the usage of a single class or concept (and i appreciate that a lot to learn something about the specific topic) but as far as i can see they lack unfortunately to describe how to put things together for typical real world applications.
Hi everyone I am not clear with SQL reporting services can someone pls give me breef explanation or post some tutorial with examples and concept explanations. ]
Thanks a lot.
We all know that in C# we can't cast bool to int. I wanted to see what is the binary representation of true with bitmask, but I can't use (bool & int).. I think the problem is the architecture desicion "true is true, not any number != 0" (C++) and I was wondering what the benefits of such an architecture are? What is so bad with the C true/false concept?
JUnit 4.7 introduced the concept of custom rules:
http://www.infoq.com/news/2009/07/junit-4.7-rules
There are a number of built in JUnit rules including TemporaryFolder which helps by clearing up folders after a test has been run:
@Rule
public TemporaryFolder tempFolder = new TemporaryFolder();
There's a full list of built in rules here:
http://kentbeck.github.com/junit/javadoc/latest/org/junit/rules/package-summary.html
I'm interested in finding out what custom rules are in place where you work or what useful custom rules you currently use?
I see the word thrown around often, and I may have used it myself in code and libraries over time, but I never really got it. In most write-ups I came across, they just went on expecting you to figure it out.
What is a Class Factory? Can someone explain the concept?