Create a system for creating/handling requests with a large number of clients.
#Ideas for options
- OS
- Linux
- *nix
- Windows
- OS X
- any
- Prerequisites (ability to install these at will)
| ==> Making package: slap 0.1.60-1 (Mon Aug 22 13:37:23 EDT 2016) | |
| ==> Checking runtime dependencies... | |
| ==> Checking buildtime dependencies... | |
| ==> Retrieving sources... | |
| -> Downloading v0.1.60.zip... | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 100 122 0 122 0 0 807 0 --:--:-- --:--:-- --:--:-- 813 | |
| 100 861k 0 861k 0 0 1827k 0 --:--:-- --:--:-- --:--:-- 1827k | |
| ==> Validating source files with sha256sums... |
Create a system for creating/handling requests with a large number of clients.
#Ideas for options
Use redis + postgresql
Need to decide between remaking HTML/CSS/JS and creating a cross-platform library. The former would allow for truly cross-platform programs, while the latter would allow for multiple languages to use the library.
Could also just make a library for a bunch of language; e.g., C, Python3, Lua, JS(?).
Create a (or implement an existing) markup language that translates into native GUI code for each platform; the GUI talks to the developer-made, cross-platform backend (likely C) via API calls.
Backend options:
| #!/usr/bin/python3 | |
| #import traceback | |
| import grequests # pip install grequests | |
| def exception_handler(request, exception): | |
| print("An error occured while downloading from '%s':" % request.url) | |
| # print(dir(exception)) | |
| # print(traceback.print_tb(exception.__traceback__)) |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <Response> | |
| <SpeakSentence voice="susan" gender="female"> | |
| The power to communicate! | |
| Cue the music | |
| </SpeakSentence> | |
| { | |
| "Comment": "An example of the Amazon States Language using a choice state.", | |
| "StartAt": "Text Customer", | |
| "States": { | |
| "Text Customer": { | |
| "Type": "Task", | |
| "Resource": "AWS_ARN_HERE", | |
| "Next": "WaitChoice", | |
| "ResultPath": "$.state", | |
| "Retry": [{ |
| % repo init -u [email protected]:LineageOS/android_device_xiaomi_dipper.git -- INSERT -- | |
| fatal: manifest 'default.xml' not available | |
| fatal: manifest default.xml not found |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <Response> | |
| <SpeakSentence voice="bridget" locale="en_UK" gender="female"> | |
| This is a test. It will loop continuously until you hangup. | |
| </SpeakSentence> | |
| <Pause length="1"/> | |
| <Redirect requestUrl="https://gist.githubusercontent.com/nashley/711d2bd70a1362442172b92c1bf4afe1/raw/" requestUrlTimeout="2000"></Redirect> | |
| </Response> |
| java.util.concurrent.CompletionException: java.net.ConnectException: https://redacted.com:443 | |
| at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:331) | |
| at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:346) | |
| at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:870) | |
| at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837) | |
| at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) | |
| at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088) | |
| at org.asynchttpclient.netty.NettyResponseFuture.abort(NettyResponseFuture.java:274) | |
| at org.asynchttpclient.netty.channel.NettyConnectListener.onFailure(NettyConnectListener.java:181) | |
| at org.asynchttpclient.netty.channel.NettyConnectListener$1.onFailure(NettyConnectListener.java:151) |