buglabs / bugswarm-tools Goto Github PK
View Code? Open in Web Editor NEWTools for developing on the BUGswarm platform.
Home Page: developer.bugswarm.net
Tools for developing on the BUGswarm platform.
Home Page: developer.bugswarm.net
Currently, it does not appear that the HTTPLibConnection.close() method is properly closing the connection, so the consume.py and produce.py methods do not remove the resources they use from the MUC when killed. We are thinking about porting these scripts to use sockets rather than this library.
No longer needed with 0.3.0
Update according to changes expressed in c4milo's release email.
Notes:
Self-explanatory
Destroying a resource for instance
Change things like 'list_user_swarms' to list since it is all in context.
Make sure none of the Python terms are being overridden by our code.
Summary:
You cannot create a swarm with a resource as both a producer and a consumer using swarms.py. The resources are specified as a map where the resource is the key and "producer" or "consumer" is the value. Since it is a map you cannot specify the same resource twice.
Expected behavior:
It would be nice if there was a way of specifying that a resource could be both a producer and a consumer.
Self-explanatory
Self-explanatory
Three reasons:
node
for joyent-nodejitsu
for nodejitsuhub
for githubswarm
' > 'use bugswarm-tools' )@aturley, @barberdt would like feedback before I go ahead with this (BIKESHEDDING)
Summary:
Commit ab42f17 intentionally sends invalid json in several circumstances.
ab42f17#L0R36
This will produce the following json:
{"message": {"to": ["SWARM_ID"], "payload":}}
There is no value associated with the payload key. The same thing will happen here:
ab42f17#L0R47
The system seems to keep behaving as expected, so this doesn't seem to break anything right now. However, intentionally sending invalid json makes me nervous, especially if this tool is supposed to serve as a reference.
If we just need to send some garbage to initiate the connection, then we should send a small piece of garbage and note in a comment why we're doing it. If we can get away with sending something else as the payload(a bare newline or something like that) then maybe that's a cleaner option.
Create invitations.py that uses the send, list sent invitations, list received invitations, and respond methods.
Some of the methods will return a stack trace if you give wrong information (./api_keys create ). I am going to try and make this a bit nicer (something along the lines of "invalid password, try again").
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.