It seems like there's a decent amount of dislike around here for horribly overengineered APIs that are designed to be infinitely flexible and thus don't make simple things simple. Nonetheless, it seems like there is no shortage of APIs that require you to use 8 different classes and write 20 lines of boilerplate just to accomplish simpl...
We are trying to create a cool API using WCF and ICriteria, for example:
[ServiceContract]
public class ProductService
{
[OperationContract]
public List<Product> Get()
[OperationContract]
public List<Product> GetByCriteria(Criteria criteria)
}
We are thinking of using the DetachedCriteria so anyone can send it and we connect this to...
I want to add a button to Win Exp. toolbar and run a script file with the button. How can I do it in Delphi? Or may be Win API?
...
To further a personal project of mine, I have been pondering how to count the number of results for a user specified word on Twitter. I have used their API extensively, but have not been able to come up with an efficient or even halfway practical way to count the occurrences of a particular word. The actual results are not critical, ju...
I'd like to validate that users of my WPF application are putting proper XHTML into its TextBox control.
I found that there's an API for the W3C Markup Validator.
It's web page says:
Building of libraries used to interact
with the validator's API is
encouraged.
and it lists known Perl, PHP/PEAR and ColdFusion libraries.
Doe...
I'm designing an api and I'd like to allow users and groups to have saved searches, but am uncertain how to best expose this information. I've come up with a few URI's to expose them:
# These are for CRUD the search definitions, not running the searches
1. /users/{username}/searches # lists the searches for a user
2. /users/{username}/...
We'r maintaing some test scripts written in VBScript in SVN and everyday morning we get the latest copy of these files and run the tests. We are doing this manually at the moment. However we want to automated this whole operation.
How do we access SVN using VBScript to copy the latest code back to the test machine? Is there any API th...
What website or product do you wish had an API?
...
lseek() is supposed to return the position of the file descriptor.
The documentation says:
Upon successful completion, lseek()
returns the resulting offset location
as measured in bytes from the
beginning of the file. Otherwise, a value of -1 is returned
and errno is set to indicate the
error.
Trouble is, not even ...
There is not currently an API offered by Google Latitude.
Does anyone know of plans for being offered in the future?
If it does, what social networking applications for this technology can you think of?
...
Is there a way on Google Maps to specify a Long & Lat reference of an intersection and should the route intersect these coordinates, that extra information be provided in an info Bubble?
The problem we are having is that the current route information is too basic, i.e. "Turn Left 26km" , we would like to have extra details about the t...
The API for the Java Set interface states:
For example, some implementations prohibit null elements, and some have restrictions on the types of their elements
I am looking for a basic Set implementation that does not require ordering (as ArrayList provides for the List interface) and that does not permit null. TreeSet, HashSet, and...
Has anyone used Google translation API ? What is the max length limit for using it?
...
Are they all this complex? : http://msdn.microsoft.com/en-us/library/ms766497(VS.85).aspx
Just need something basic to produce XML in C.
...
This is a follow up question to "Is there a basic Java Set implementation that does not permit nulls?". (thank you to all of those who helped with the answer)
It seems that the way to do this, since Sun didn't provide something simple like this OOTB, is with a wrapper / proxy. This seems nearly straight forward. What I am wondering is ...
Somehow I've got the feeling that many projects become heavily overengineered so every possible change-request can be tackled with the effect that the change-requests that occured are very hard to implement.
Somehow I get that feeling in nearly every project I'm currently working on. It is like everyone is thinking "which cool api, fra...
I'm writing a straightforward C program on Linux and wish to use an existing library's API which expects data from a file. I must feed it a file name as a const char*. But i have data, just like content of a file, already sitting in a buffer allocated on the heap. There is plenty of RAM and we want high performance. Wanting to avoid...
A web-based application produces a reasonable amount of data users need to visualize. I can't be bothered building all the charts and diagrams.
Are there any good SaaS apps for charting?
I send them the data via some sort of API, they return a chart in real time.
...
On college, I needed to create a virtual reality software, and used this Python API to access the stream from the webcam which I came to know through this tutorial. Found out, though, it needed a workaround to work properly.
I remember the stream was a bit slow with resolutions higher than 320x240 but I guess it was a problem on the web...
I have two rails apps on separate virtual servers, but in the same facility. Both apps can communicate via local ip addresses.
This is a two part question:
1) How do I check where the request is originating and limit requests only to those from that location?
2) Do you think this would be secure enough?
My gut is telling me this...