api

I need to unset the state of the jQuery .toggle(odd,even)

Hi I have items in a table cell that gets toggled on and off. An external button accepts a click and submits the selected cell values via ajax. The problem is that I want to reset the toggle state for the selected cells. I can easily unset the highlighting, but then need a double click to trigger the correct toggle. Can the .toggle(...

3rd party applications API / Framework Q for PHP user site

So we are defining out functional requirements for a user content site and would like to enable: 1) 3rd party developers to develop applications that users can use on their profile 2) Enable users to export content to other sites meaning share their photos on the net. So we were told we need to use APIs for this & it's merely changing d...

Creating a jQuery Plugin, How do I do Custom Scopes?

I would like to create a jQuery plugin with an API something like this: $("#chart").pluginName().attr("my_attr"); Instead of these: $("#chart").pluginName_attr("my_attr"); $.pluginName.attr("#chart", "my_attr"); Basically, instead of having to namespace every method that acts similar to ones in jQuery, I'd like to "scope" the metho...

Android Dictionary

Is there a dictionary API for Android. I am mainly looking for simple features like: -- Given a word, look up its meaning -- Look up all words that begin with "cat" Thanks Chris ...

Google Fonts Flash in Internet Explorer

I just set up Google Fonts API on my site. Internet Explorer, whenever I refresh the page, a default font flashes before the Google Font 'Reenie Beanie' loads. But shouldn't this be sticking in the cache or something so that once it loads once, it's there and no longer should default fonts show up? I'm using the WebLoader version to ca...

Suggest a public API for nearby amenities?

I'm looking for an API for finding nearby amenities (schools, community centres etc) by latitude/longitude. Thanks ...

import hotmail contacts using asp.net

i need to import live/hotmail contacts using asp.net. I have done gmail and yahoo. i looked at opencontactsnet.dll and it doesnt work for live. none of the contacts are retrieved from that dll. does anyone know anything specifically for hotmail contacts? ...

Win32 ShowWindow API and WPF

I am writing a desktop application that requires only one instance running, means if there is already running application instance, when another application instance runs, it check and shows actives the running application and exit itself quietly. I can get the running window's hwnd handle, but when I use ShowWindow API to show that wind...

Grammar checking API?

Are there any APIs that check the grammar of a given string? If so can you give examples? ...

Appropriate implementation for delegated HMAC API auth?

My team and I are implementing a centralized API authentication system so that one set of API credentials can be shared among several different API-publishing services. These are all Rails apps. Long explanation For any given API transaction, there will typically be 3 apps involved: End-user-facing app that consumes API X. Has API ...

Where can I trade on the Stock Market via API?

Possible Duplicate: Real life trading API I have made an interactive stock trading system, and want to try it out with real money. Can anyone suggest a place where I could hook my system up to an API and make trades? Ideally, it would also have a testing area where I could test it with their api for a while, before going liv...

Would you use WCF Linq and JSON for an API

Ok Im building AN API but also wanting to have that API used by my own Application. I am pondering WCF, LinQ and JSON for my Webservices and Data and Silverlight for my application. I have a few questions. 1) would you recommend XML over JSON or Json over XML? a) is Json going to transfer and deserialize faster natively or is XML g...

organizing external libraries and include files

Over the years my projects use more and more external libraries, and the way I did it starts feeling more and more awkward (although, that has to be said, it does work flawlessly). I use VS on Windows, CMake on others, and CodeComposer for targetting DSPs on Windows. Except for the DSPs, both 32bit and 64bit platforms are used. Here's a...

How difficult is it to write our own Robots API, similar to G Wave Robots API ? Please read the details of my query before answering.

Consider the following entities : a) My own Wave-server b) My own Robots API c) Tomcat d) Google wave server/any other wave server Let us consider that a and d interact with one another via Google wave federation protocol. Now, I want to write my own Robots API in Java (similar to that of G Wave Robots API) using which I want to crea...

Is there any API to get path "C:\Documents and Settings" in windows?

Is there any API to get path : "C:\Documents and Settings" in windows in c++? not: C:\Documents and Settings\brianfu\My Documents. Many Thanks! Thanks for luke's solution: GetProfilesDirectory it works! ...

notify listener inside or outside inner synchronization

Hello all, I am struggling with a decision. I am writing a thread-safe library/API. Listeners can be registered, so the client is notified when something interesting happens. Which of the two implementations is most common? class MyModule { protected Listener listener; protected void somethingHappens() { synchronized(th...

Recommendation for free sms api for testing purpose

I want to test my application and for that purpose I need some free SMS API that can work globally. This is just for testing purpose and my requirement is just for 15-20 sms. I tried lot of sms apis given by google and mentioned in stackoverflow but none helped. One helped smsglobal but after sending 2 sms and it stopped working . An...

Moving from Java to C++ API's

There are some particular API's in Java that make it very good. However I would prefer C++ because of performance and "bleeding" edge support with OpenGL and OpenAL among the many libraries. Which API's are there that are similar to Java2D (I know I can use OpenGL however I lack the matrix math understanding to fully use OpenGL in this ...

Problems with Facebook API - Getting all content from table Stream

I am trying to get all stream data from a group (I have wall entries, discussions, events and photos). For now, Access on this group is Open. $result = $_fb->api_client->fql_query("SELECT actor_id, message FROM stream WHERE source_id=$gid LIMIT 50"); Only some of the records come back (5 out of 10) (only wall entries and a photo). Ju...

External APIs and staging server on different domain

My staging and production servers are on different servers and domains. Which would be the best way to deal with external APIs that have a key that relies on domain names? Is this bad practice and both should be on the same server? ...