(x-y)^2+(y-z)^2+(z-x)^2=2*r^2
Like in the above,only x,y,z are variables,how to show the graph in a general way that will also work for those doesn't have explicit form?
I've just signed up for the Google group entitled Test Driven Development but it's only had 3 posts in 2010 and seems to be littered with spam.
Does anyone know of a good TDD focussed place to ask those general perhaps 'subjective' questions which might not be welcomed on SO?
How could i add to a blog or site in general a feature that let users export the content to epub format or some other open ebook formats?
It's not a feature that i normally see on most of the site i browse every day (some has export to pdf that is not great as ebook format), do you think it is feasible?
A Page.PreRender event is guaranteed to be fired after Page.Load event is fired. But is it guaranteed to be fired after Load event handler returned?
A more general question is if event lifecycle of ASP.Net page guarantees that each event is fired only after previous has returned or events can be fired while previous is still executing?
How does answer change if previous event fires some custom event such as DataBound? Can such event be executed in parallel with another event in page lifecycle?
I am trying to build a data processing program. Currently I use a double matrix to represent the data table, each row is an instance, each column represents a feature. I also have an extra vector as the target value for each instance, it is of double type for regression, it is of integer for classification.
I want to make it more general. I am wondering how what kind of structure R uses to store a dataset, i.e. the internal implementation in R.
If you could organise your own programming meetup how would you organise the session so that people
had fun
learnt lots
were able to participate despite their level.
what kinds of topics, activities, challenges etc would you include (not all in one session but in general)
how would you handle differing levels?
what do you think are some important things to learn, to achieve?
Any input is greatly appreciated. Im not sure how Id mark the best answer, perhaps leave it to the community to vote for it.
The prevailing wisdom in webservices/web requests in general is to design your api such that you use as few requests as possible, and that each request returns therefore as much data as is needed
In database design, the accepted wisdom is to design your queries to minimise size over the network, as opposed to minimizing the number of queries.
They are both remote calls, so what gives?
I've heard many things about performance in C; casting is slow compared to normal assignments, functional call is slow, binary operation are much faster than normal operations, et cetera...
I'm sure some of those things are specific to the architecture, and compiler optimization might make a huge difference, but I would like to see a chart to get a general idea what I should do and what I should avoid to write high-performance programs. Is there such a chart (or a website, a book, anything) ?
I'm using Python, for what it's worth, but will accept answers in any applicable language.
I've tried writing to /proc/$pid/cmdline, but that's a readonly file.
I've tried assigning a new string to sys.argv[0], but that has no perceptible impact.
Are there any other possibilities? My program is executing processes via os.system (equivalent to system(3)) so a general, *NIX-based solution using an additional spawning process would be fine.
MS is calling Azure an Operating System.
To me, it feels much more like a framework. I am having a bit of trouble defining the two separately. I have a general intuition, but I am not articulate enough to really say if Azure is really an OS or just a framework sitting on top of Operating Systems.
I am attempting to sum over a detail grouping on a specific field in Microsoft Access, and assign that sum to a field in the general grouping. When I try to run the report, I get an "Invalid Column Name" error with the detail field getting the error. Has anyone previously encountered this? If so, any ideas what might be causing it or how to solve it?
Is it true that interfaces slow down programs? I have heard that this is the case because during running time each during each usage of an object implementing this interface the decision has to be made which class implementing the interface this object belongs to.
I am especially interested in an answer for C++, but also in general. And if this is true, some numbers would be helpful, too.
Thank you very much!
I am trying to create a build definition, specified the build definition name inside the General tab, specified the trigger, the workspace, the build controller that I want to use, the drop folder as a network shared location, the retention policy but when I go to the Process tab I can't select anything. Does anyone knows why I can't select anything inside the Process tab, it looks like it is not enabled, can't press Show details because is not enabled.
Thanks!
Hi,
I have resize images exceeding a max size. Methods I tried so far are not good enough :-(
System.Drawing.Image.GetThumbnailImage generates very poor quality images in general.
Playing with options like this one I can generate better images in quality but heavier than the original one.
Probably the second option (or something similar) is the best option and I would need to resize using the proper options.
Any advice?
I need to implement searching for SD-cards in my program.
Currently I'm using search for all removable devices like:
searcher = New Management.ManagementObjectSearcher("\\localhost\root\cimv2", "SELECT DeviceId FROM Win32_LogicalDisk WHERE DriveType=2 AND Size>0");
But it find USB flash drives also. Is there a proper way to find SD-cards only?
What I need is in general only drive letter for available SD-cards (like "F:" or so).
I'm building an ror site and have been asked by to put a temporary access restriction on it. All that's needed is a general access restriction and common access info which can be emailed to invited beta users. The site is deployed on an apache server (on a mac) using passenger. I'm wondering what solutions there are?
I've a daunting task of getting familiair and possibly re-architecting large pieces of old source code.
I was hoping there would be a nice tool to convert php (in my case), but let's make it more general: any language to PDF, for offline browsing on a Kindle or Ipad
Would be ideal if it would create indexes / hyperlinks automatically. So function calls can be easily browsed into
Hello,
Is there a way to declare a string variable in python such that everything inside of it is automatically escaped, or has its literal character value? I'm NOT asking how to escape the quotes with slashes, that's obvious. What I'm asking for is a general purpose way for making EVERYTHING in a string literal so that I don't have to manually go through and escape everything for very large strings. Anyone know of a solution? Thanks!
For recursion in F#, existing documentation is clear about how to do it in the special case where it's just one function calling itself, or a group of physically adjacent functions calling each other.
But in the general case where a group of functions in different modules need to call each other, how do you do it?
I'm trying to set up an SPF record for my domain. I've read the RFC, been to Wikipedia, openspf.org, etc. but I'm still confused.
What is the difference between 'a' and 'mx'? When do I use 'mx: rather than 'a:' or 'include:'?
What's the point of '?all' (Neutral result) except for debugging? Why do so many people use '~all' (Softfail) instead of '-all' ?
I've been to the Wizard (http://old.openspf.org/wizard.html) but I don't understand the questions.
I somewhere heard that the .NET Framework was built around specific pattern, which they tried to uphold as much as possible.
var rsa = new RSACryptoServiceProvider(); // Create
rsa.ImportParameters(GetParameters()); // Set
byte[] encrypted = rsa.Encrypt(data, true); // Execute
// Destroyed by garbage-collector
Are there any variants of this? What are the general pros and cons?
Lately I've asked this question. But the answer doesn't suit my demands, and I know that file hosting providers do manage to limit the speed. So I'm wondering what's the general algorithm/method to do that (I do mean downloading technique).
Hi,
What would be the general structure of a App/Project based in C Programming language.
libs,
includes,
header files.
etc etc.
What would be the class structure. (in OOps) need to be scalable and other features.
Something like main.cpp
main.h
does any one have any good links or images or pdf?
I have a problem with Minitab (a statistics program). When I enter my general model and want to see the results, the program warns me: too few arguments or space missing. Everything seems true, and I can't determine where the problem is. Could anyone help me on this subject?