Twisted library library for Google Compute API - twisted

google has a very good python library for various APIs.
It appears that it's written with blocking calls.
https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/compute
Has anyone come across/written a Twisted async adapter to this API that you could share?
Thank you greatly in advance.

Nothing using Twisted yet. Just looking over some of the source, there are instances where Futures are used. So there is a good chance an asyncio variant will be made, at which point you should be able to integrate with Twisted.

Related

Connecting to libswift-p2p with WebRTC

I'm trying to port a video player Android App to a Web App. The app uses a library called "libSwiftP2P.so".
From looking at the code of the app, all I managed to figure out is that it connects to a STUN server and uses libSwift for Peer-To-Peer connections.
There isn't much information about libSwift online. The only somewhat useful results I found was this GitHub repository, and the libswift.org website, neither of which have been updated in the last 5 years.
I understand that there is a high chance that what I am trying to do is near to impossible. Although both technologies utilize P2P, WebRTC and libSwift might be completely incompatible with one another.
Another option I considered was compiling libSwift's C++ code into WebAssembly, and using that to connect.
However, I haven't ever done anything with WASM and it is probably a way more complicated process than I am putting it.
I would be very grateful if someone could shed some light on this, or if you just tell me that it's not possible, and to give up. Thank you.

RabbitMQ client in Elm

I'm a newbie in Elm-lang and am writing a program that requires the backend to consume messages from rabbit. I was mainly programming using Elixir before and all the other languages I used had open source rabbit clients. I wonder if there is one for Elm since I couldn't find any on github.
If there isn't one, what's the recommendation for solving this problem? Shall I switch to use web-socket or use frontend to get messages? I was also looking into using haskell servant like this but it seems to make things complicated: https://github.com/haskell-servant/example-servant-elm
This project has probably long since been finished but RabbitMQ can also use the mqtt protocol which is much more widely used by frontend languages and frameworks. Maybe something like this would work:
https://github.com/Jwsonic/elm-mqtt

C# mono inter process, inter application cross platform messaging implementation. (How to)

I am developing applications and c#, I at the moment, I work on projects for Windows Platform only. However, I am planning to move into using C# mono to make my programs be able to work with linux, mac-os and windows.
One of the feature I am implementing in my program is the ability to communicate between them (ie. A Console type program that can communicate and interact with GUI Program by sending commands and receiving reply messages, logging messages, signals,.etc). Back in windows dotnet framework, I am looking at anonymous pipes, but now, I am checking if Mono.Unix.UnixPipes will do the job for me and will let me implement inter process messaging with very little to no adjustments at all under linux, mac-os and windows.
I am a little bit new to this kind of feature, and i am now reading into the documentations (however, class and objects documentations are not helping me so much yet). I am also browsing to some of the inter process messaging questions that are posted here in stackoverflow.
If anyone has a link to a tutorial kind of document or example on how to do this, it will be a great help. please help?
thank you.
I highly recommend running a mongodb (easly scalable from a dev boxes to hundreds of servers) and using the library https://github.com/dominionenterprises/mongo-queue-csharp on top of it for the messaging. It has the ability to query for messages which enables some really nice patterns. Also its compatible with mono ! Also has some other languages if needed down the road.

Connecting iphone with google appengine

I am trying build a database on google appengine and connect it to my IOS program. I am new in server side programming. I have done the tutorial about google appengine with java and eclipse since i know java and have no idea about Python. Can anyone direct me to a tutorial about this? All I found on the Internet is talking about Python and couldn't find anything about this topic with java and ObjectiveX.
Thanks all for your help
To begin with you will have to complete the Getting Started: Java tutorial that is written by Google App Engine team, to understand the basic concepts of working with such environment.
For your client side it doesn't really matter what you are using, it can be ObjectiveX or C# or SubjectiveY, as long as you can connect using whatever you built on the server side.

What languages and tools does amazon use to build their api?

I know amazon has several api's but I was wondering what language and tools does amazon use to build their api, is it java and soap? Im not sure if all the api's are created the same way, but if not then how is the one for mobile apps created? Thanks!
Amazon are notoriously secretive about the internals of their systems so I don't think you'll find a satisfactory answer.
The AWS APIs, as far as I know, use Java internally & they use plenty of C++ to run their shopping website