Hi,
We have a web service solution in VB .Net 2005 that we have started getting an error in. We provide an interface like the following:
Public Interface IBatchTrackerService
Function InsertBatchTracker(ByVal BatchTrackerObject As BatchTracker, ByRef errorNum As Integer, ByRef errorMsg As String) As Integer
End Interface
In ...
I'm trying to design/implement a reputation system for a website i'm coding with ASP MVC + entity framework and was wondering if it would be a good idea to write all the logic for the reputation system into StoredProcs insted of doing coding it into the application model.
Personally i try to avoid using stored procedures as much as i c...
I've always been curious: how can I perform arithmetic operations on very long decimals--for example, calculating pi to the 3000th decimal place (especially in an imperative language)?
...
A question that I answered got me wondering:
How are regular expressions implemented in Python? What sort of efficiency guarantees are there? Is the implementation "standard", or is it subject to change?
I thought that regular expressions would be implemented as DFAs, and therefore were very efficient (requiring at most one scan of the...
At the moment I am working (just for fun) on a kind of compiler that breaks PHP-code down to a source code for a low level VM.
As the type system and a lot of of the PHP-features are not that logical I need a much testscripts to verify that my code behaves as it would in PHP.
I started to test everything with the test from the PHP-sour...
Firstly I'm not a Java guy, but I came across what appears on the surface to be an inconsistency with the way imports work.
Say you have a file and in this file you have your main function and you have also defined a class Foo, now a different implementation of Foo also exists in a package. Suppose you want to use both versions in your ...
Sometimes I accumulate a large mass of breakpoints from different debugging sessions in different places in my code. How does the debugger efficiently know when to stop for a breakpoint? It can't possibly be stopping at every single line to check the line number and source file name against a potentially long list of breakpoints, can i...
Can anyone guide me on the best way to implement SharePoint with ISA? I'm interested in setting up a basic SharePoint farm. I have tried numerous times with mixed results and I am still not sure of the best way to go.
When it is initially set up you are prompted to create a web app, but then when you go to create the ssp admin site it w...
Hi there! I have a question with regards to the Binary Search Tree Implemetation in C++.
Here is the question below
Implement a simple (non-templated) BST which stores integers. Provide the following operations: Insert, Remove, inOrder traversal, preOrder traversal, postOrder traversal.
Use recursive routines for dealing with the tree....
That's all. Didn't find any similar topic so bear with me it there is.
...
I've been interested in creating a proof of concept chat program for a while using C++. I have given the idea a lot of thought and even wrote down the beginnings of how I would design the system, but I have hit a barrier in my thinking when it comes to the implementation.
I want to know what an implementation of a peer to peer chat clie...
What is the typical underlying data structure used to implement Python's built-in list data type?
...
There seems to be a lot of good references for learning how to write a compiler. But I haven't been able to find much in the way of how to write a debugger. Is each debugger completely unique, or are there common techniques used to implement them? I'm particularly interested in debugging interpreted languages, but at this point anything ...
I am amazed at how well the native Symbian components are implemented. One of them is CAknSlider. CAknSlider is a control that has a slider that users can use to slide it along a bar whose orientation can be vertical or horizontal.
Now when you slide the slider the sliding is very smooth and does not flicker. But if for some reason I we...
One of the things that confuses me about ERDs is whether they make any prescriptions about how their relationships should be implemented technologically.
In the diagram below I'm not sure if the diagram requires these relationships to be implemented at the database level or at the application level.
Is it making any technological presc...
I'm a contractor and am often brought in on projects to be heads down and just implement features for a deadline. Oftentimes though my pace becomes faster than that of the underlying design. So I often wind up having to create functions/methods to perform a task in a preliminary way while awaiting the final design.
Case in point, cu...
I am familiar with the generalities of genetic programming but am wondering where i might find something that shows me details of implementing genetic programming. I use C# and .NET 3.5, and I would like to put to use genetic programming for things like pathfinding, and generally just want to see what it can do.
EDIT: I should probably ...
I have a solution.
I have an interface.
I have several classes that implement the interface.
I can use "Find All References" in order to find where the interface is implemented, but it also returns results where the interface is the return type, or where a class explicitly implements an interface's method.
Is there a better way to quic...
I needed a method to give me all but the last item in a sequence. This is my current implementation:
public static IEnumerable<T> SkipLast<T>(this IEnumerable<T> source)
{
using (IEnumerator<T> iterator = source.GetEnumerator())
{
if(iterator.MoveNext())
while(true)
{
...
Hello
I'm currently building a web app for a UK company with many outlets in the UK. I want to implement a 'find my nearest' based on the following.
Postcode
Landmarks
So the user could enter either to get a list of their nearest. I've done this before using postcode data in a database and then using Pythagoras to figure out the nea...