Questions tagged [alchemy]

Alchemy is a research project from Adobe Systems that allows for the compilation of C and C++ code to AVM2 bytecode, so that it can be run on Flash Player or Adobe AIR. This is accomplished by an initial compilation to LLVM bytecode as an intermediate step.

Alchemy is a research project from Adobe Systems that allows for the compilation of C and C++ code to AVM2 bytecode, so that it can be run on Flash Player or Adobe AIR. This is accomplished by an initial compilation to LLVM bytecode as an intermediate step.

148 questions
0
votes
0 answers

Alchemy C# Websocket handshake

I use Alchemy in C# for a websocket server. Both Firefox and chrome can connect to the server. But NodeWekit gives a error (it is the same page). In nodewebkit I get "WebSocket connection to 'ws://localhost:7980/' failed: Connection closed before…
SaschaDeWaal
  • 149
  • 2
  • 15
0
votes
1 answer

ERROR invalid-api-key PHP /CURL for Alchemy api text/TextGetCombinedData

I am getting ERROR Invalid key cURL/php CODE: $request = "https://gateway-a.watsonplatform.net/calls/url/URLGetAuthors?apikey=$alchemyapikey&url=www.ibm.com"; //echo $request; $curl = curl_init($request); $alchemydata = array …
bgara
  • 143
  • 1
  • 12
0
votes
2 answers

Where do I put the "require '/.alchemyapi'" in a Rails application?

I've used "require '/.alchemyapi'" in a pure Ruby program to test the response of an API, now I'm ready to use it in my Rails application. The problem is, I don't know where or how to incorporate it within my application. Where am I supposed to…
0
votes
1 answer

AlchemyNews API multiple relevance scores not working properly

It doesn’t seem like the relevance score parameters are working when more than 1 used. In other words...I essentially would like to get advertising articles where the concept and keyword is advertising with both relevance scores =>0.8. In addition,…
0
votes
1 answer

Swift (iOS) TokenAuthenticationStrategy gives me an unresolved identifier error for AlchemyLanguage API

I get an error unresolved identifier when I try to follow the steps to use AlchemyLanguage iOS API with Swift. I have imported WatsonDeveloperCloud and have the following two lines: let token = TokenAuthenticationStrategy(token:…
0
votes
1 answer

Flask-SQLAlchemy,How to sort results in Many-to-Many Relationship?

I am using flask-sqlalchemy. I want to add an ORDER column in Many-to-Many Relationship. my models: image_category_association = db.Table('category_image_relation', db.Column('id', db.Integer, primary_key=True), db.Column('category_id',…
HFX
  • 550
  • 6
  • 24
0
votes
1 answer

How many times can tag an image for Alchemy API?

I would like to ask you about Alchemy API on Bluemix. Using Achemy API, how many times can you tag an image? Is it only twice times?
0
votes
2 answers

Escape/continue running program if error (Ruby)

I want to try and run my code, even if I encounter an error. I'll state where I believe I get the error below and what the error is: require 'rubygems' require 'simple_oauth' require 'cloudsight' require 'rubygems' require 'net/http' require…
semiflex
  • 1,176
  • 3
  • 25
  • 44
0
votes
1 answer

Unexpected character encountered while parsing value: <. Path '', line 0, position 0. while calling alchemy api through mashape

public class keywords { [JsonProperty(PropertyName = "text")] public string text { get; set; } [JsonProperty(PropertyName = "relevance")] public string relevance { get; set; } } public class JsonData { [JsonProperty(PropertyName =…
Kanwal
  • 75
  • 1
  • 2
  • 10
0
votes
2 answers

xml parsing in adobe alchemy

hello can you prvide an example how to parse xml file in adobe alchemy. im trying to work on expat, however i got no luck on passing of bytearrays to and from the c code. do i need to pass the byte array of file to the alchemy, or is it enough to…
cbs
  • 1
  • 1
0
votes
1 answer

sql alchemy: return all unique types of great great grandchildren

I have 6 tables. I am essentially trying to return all unique types of great great grandchildren How do I return a list of all the unique types of sku_numbers in a FreightDomesticOrder? Table Definitions: class FreightOrderDomestic(db.Model): """ …
James
  • 65
  • 1
  • 8
0
votes
1 answer

JavaScript websocket error

Sometimes, when I reload the page, it appears an error: WebSocket connection to 'ws://127.0.0.1:45/' failed: Connection closed before receiving a handshake response I'm using Alchemy Websocket library for C#. And I can only fix deleting the cookies…
user3211337
  • 75
  • 4
  • 11
0
votes
1 answer

Preprocessor variable when using Adobe Alchemy

I'm porting a cross-platform lib I use to Alchemy. One particular file has a block of code similar to this : #if defined(WIN32) // Do some Windows-specific stuff #elif defined(__linux__) // Do some linux-specific stuff #endif I now need to…
ggambetta
  • 3,312
  • 6
  • 32
  • 42
0
votes
0 answers

Alchemy websockets realtime data broadcasting interrupted when a client network has no connection?

We are using Alchemy Websockets for distributing our real-time stock market messages to our clients using HTML5 websockets. Our application broadcasts and also send individual messages to client groups. Now, the problem we face is that whenever a…
0
votes
2 answers

adobe air signal-processing using alchemy

Im aware that it is possible to use C++ (audio) digital signal processing in adobe flash, using Alchemy (as a way to compile the C++ code). However, my questions is, is it possible to use Flash/Alchemy (dsp) and package that as an Air app (for…
Ke.
  • 2,484
  • 8
  • 40
  • 78
1 2 3
9
10