Hello,
I want to create an instance of a Python class defined in the __main__ scope with the C API.
For example, the class is called MyClass and is defined as follows:
class MyClass:
def __init__(self):
pass
The class type lives under __main__ scope.
Within the C application, I want to create an instance of this class. ...
Is there a standard connection pooling model (or API) similar to that used by the data providers in .net that I could use to implement my own connection pool?
I ask because I have a requirement to implement my own connection pool to a proprietary TCP/IP device that we use in a web service. The current problem is that there are lot of co...
I'm very new to programming, and I'd like to write a Windows Application. So far I've read Teach Yourself C in 24 Hours, what should I do (tutorial to read) next to accomplish my goal? Thanks
...
Is there a C++ wrapper for the Tokyo Cabinet API? Obviously I can use the basic C API from C++, but I'd much rather use something that abstracted the raw functions and structures into classes.
I'm tempted to write this myself, at least for the bits of the API that I'd want to use, but it'll save time if there's one already. I checked th...
Hi All,
I am stuck trying to work out Events and Delegates. I am trying to hook up to an external API which return events when certain events occur. The original code was written in C#, and I am trying to do this in VB.net
Here is a short comment from the API programmers.
"After that, client app should need to wait for one of events: ...
I'm trying to put together a simple RSS widget (for my wordpress blog) that will show a list of stocks, or markets, and their current prices.
I cant seem to find an API for this data anywhere - can anyone suggest such a thing (perhaps as an RSS feed?)
...
Is there a web site or project documenting private APIs for the iPhone SDK?
...
The .NET Framework has unmanaged debugging and profiling APIs that I assume people/companies are familiar with. If someone was implementing debugger and profiler support for a new CLI runtime¹:
What would be the pros/cons of basic their operation on these existing APIs?
These APIs retain backward compatibility² by incrementing interfac...
Does anyone know of a client implementation for the S3 REST API that will work on J2ME? All the implementations I can find is only targeted for J2SE.
I do not want to use the SOAP API, because I think REST will be faster (partly because you don't need to BASE64 encode the payload).
Edit: Part of the problem seems to be that J2ME does n...
Have seen this comment in a method:
//I wonder why Sun made input and output streams implement Closeable and left Socket behind
It would prevent creation of wrapper anonymous inner class which implements Closeable which delegates its close method to an instance of Socket.
...
Hi,
I'm using the Fogbugz API (v6.0) to submit new cases from some error reporting code.
I can't find the correct syntax to put line breaks in the case description field.
sample api call:
http://fogbugz.somesite.com/api.asp?token=b99n6u07v8qrsoqq4710ukogff5u18&cmd=new&sTitle=www.somesite.com|/ajaxRTF.asp|Permission denied&ixP...
Hi,
do the mobile phones have an API function or something like that which could be called by a phone application to figure out whether the phone is currently charging or is on battery?
I guess that if there is such a function at all, it would have a different name on each mobile OS, so if anybody could name those function names and the...
Hi, I'm wondering if someone would help me troubleshoot my test for stream.publish. I thought I had all the right pieces. Here's the code:
<?php
require_once 'facebook.php';
$appapikey = 'xxxxxxx';
$appsecret = 'xxxxxxx';
$facebook = new Facebook($appapikey, $appsecret);
$user_id = $facebook->require_login();
$message = "Will this sta...
I'm designing a Framework which I want to attach to the scripting language API to make it more versatile and easier to use (for some things I really prefer the scripting way myself ;). With languages like JRuby, Jython or Rhino (JavaScript) there are interpreters for many popular scripting languages available and as far as I read, all of...
For my application I need to import the Gmail Address book, which I am able to do by following "Gmail Contact API".
Recently Gmail added some of the new fields(i.e. Birthday,Website etc) which are not the part of xml. The gmail api docs mention that the new added field is part of XML namespace http://schemas.google.com/contact/2008, but...
... and if so how do I load high quality versions?
cheers
...
My website lists some computer parts (like CPU, RAM, graphic card and so on) and I would like to display the current price for each of theses parts.
So, I would like to know if you've heard about a public and free API which, given a computer-related product name (like "Intel core 2 duo E8400") will return a price.
I would like to reque...
I am looking at JDM. Is this simply an API to interact with other tools that do the actual data mining? Or is this a set of packages that contain the actual data mining algorithms?
...
I'm 98% sure that Google has an API for detecting the language of CODE blocks, much like this, but for code. I found it before, but I can't seem to find it again. Surprisingly difficult to find. Anyone have a link?
...
Is it possible to get bluetooth RSSI (Radio signal strength) value in gamekit iphone api?
If it is pssobile, can i have some sample code.
If it is not possible is there any other way to get bluetooth RSSI value in iphone OS 3.0?
...