api

GUI Programming APIs

Alright, this is a rather odd question that doesn't have one true answer: What is the * Best || Easiest to Use || Most Powerful || Cleanest * GUI API or library (tk, SWING, Qt, etc.) you have had the privilege to use? I've had conversations with friends about how annoying XYZ API was to deal with and how someone could build a bette...

API Yahoo India Maps

Yahoo has separate map for India ( which has more details than the regular maps.yahoo.com) at http://in.maps.yahoo.com/ . But when I use the API it goes to default map. How do I get API access to YMaps India? ...

looking for a GPS with a good API

I'm looking for a GPS with a good API. I would like to be able to send an address to it, and tell it to navigate to that address. I also need to pull the current location from the GPS. I'd like to be able to do this with the GPS hooked up to a laptop by bluetooth or even just a USB cable. I've looked at the Dash a little, but the mon...

Is there any kind of non text interface to MySQL?

I have a MySQL query that returns a result with a single column of integers. Is there any way to get the MySQL C API to transfer this as actually integers rather than as ASCII text? For that matter is there a way to get MySQL to do /any/ of the API stuff as other than ASCII text. I'm thinking this would save a bit of time in sprintf/ssca...

Is there an API that allows you to find out how many sites link to yours?

I know google has things like linkto:yourdomain.com and Alexa is around, but there's nothing that I can query and get the number of sites that link to me. Anyone know of such a thing, other than using Google or another search engine and scraping the HTML results? ...

Picasa Plugin

Does anyone here know any resources on how to get started writing a plugin for Google's Picasa? I love it for photo management, but I have some ideas for how it could be better. Riya-esque facial search: given a large enough corpus of faces and pictures (people tend to be repeated often in individuals' albums (family, friends), I wou...

Parameter Binding: What happens under the hood?

.NET, Java and other high level database API's in various language often provide techniques known as prepared statements and parameter binding as opposed to sending plain text commands to the Database server. What I would like to know is what happens when you execute a statement like this: SqlCommand cmd = new SqlCommand("GetMemberByID"...

Google Analytics Access with C#

Hello, I know that there is no official API for Google Analytics but maybe someone has figured out a way to access Google Analytics Reports with C#? Thank you in advance! ...

How do you spawn another process in C?

How do you run an external program and pass it command line parameters using C? If you have to use operating system API, include a solution for Windows, Mac, and Linux. ...

Javascript Load Order

Hey I am working with both amq.js (ActiveMQ) and Google Maps. I load my scripts in this order <head> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <title>AMQ & Maps Demo</title> <!-- Stylesheet --> <link rel="stylesheet" type="text/css" href="style.css"></link> <!-- Google APIs --> <scrip...

Where do I find information about Blog APIs and how to use them?

I'm thinking of creating a small offline blog editor for personal use and I don't know how do the APIs work. Where can I find this information? I'm particularly looking for the most common providers: Blogger, Wordpress, MovableType, Live Spaces (not sure if this has an API) etc. ...

How to detect which blog API

Let's say that you want to create a dead simple BlogEditor and, one of your ideas, is to do what Live Writer does and ask only the URL of the persons Blog. How can you detect what type of blog is it? Basic detection can be done with the URL itself, such ashttp://myblog.blogger.com etc. But what if it's self hosted? I'm mostly intereste...

Best practices for development environment and API dev?

My current employer uses a 3rd party hosted CRM provider and we have a fairly sophisticated integration tier between the two systems. Amongst the capabilities of the CRM provider is for developers to author business logic in a Java like language and on events such as the user clicking a button or submitting a new account into the syst...

How do I find the 'temp' directory in Linux?

How do I find the 'temp' directory in Linux? I am writing a platform neutral C++ function that returns the temp directory. In Mac an Windows, there is an API that returns these results. In Linux, I'm stomped. ...

Protecting API Secret Keys in a Thick Client application

Within an application, I've got Secret Keys uses to calculate a hash for an API call. In a .NET application it's fairly easy to use a program like Reflector to pull out information from the assembly to include these keys. Is obfuscating the assembly a good way of securing these keys? ...

How do I recover from an unchecked exception?

Unchecked exceptions are alright if you want to handle every failure the same way, for example by logging it and skipping to the next request, displaying a message to the user and handling the next event, etc. If this is my use case, all I have to do is catch some general exception type at a high level in my system, and handle everything...

How should I build a good (web) API

I'm going to build an API for a web app and I'm interested in what people can suggest as good practices. I'm already planning to make it versioned (version 1 can only control certain aspects of the system, version 2 could control more, but this may need a change in the way authentication is performed that would be incompatible with vers...

Spread vs MPI vs zeromq?

In one of the answers to Broadcast like UDP with the Reliability of TCP, a user mentions the Spread messaging API. I've also run across one called ØMQ. I also have some familiarity with MPI. So, my main question is: why would I choose one over the other? More specifically, why would I choose to use Spread or ØMQ when there are matu...

Who provides a WHOIS API?

Anyone can do WHOIS lookups through the whois command line tool or web based interfaces direct from the registrar but there are query limits which make commercial use difficult e.g. bulk checking of expiry dates on all your existing domains is not possible once you have more than x domains, where x is whatever thw WHOIS server query limi...

Error handling / error logging in C++ for library/app combo

I've encountered the following problem pattern frequently over the years: I'm writing complex code for a package comprised of a standalone application and also a library version of the core that people can use from inside other apps. Both our own app and presumably ones that users create with the core library are likely to be run both ...