Feed Advanced Search

Mar 14 2018

nothingismagick added a comment to T937: REST service and consumer proposal.

perhaps we should change the title of this thread - or move it to "websockets" REST doesn't seem to make sense anymore...

Mar 14 2018, 10:41 AM · AXIOM Remote, AXIOM Beta Software

Mar 12 2018

nothingismagick added a comment to T931: AXIOM WebRemote: Where/How to save data?.

I am not worried about the display of these values in realtime using a Vue value store (modified by websocket information). I think we could get to 30fps with less than 100ms latency - if the hist3 can pump the info out that fast - and still manage the wifi and the websockets...

Mar 12 2018, 11:00 PM · AXIOM Beta Software
nothingismagick added a comment to T931: AXIOM WebRemote: Where/How to save data?.

Ok - I see. Then the interface will also need to show a folder list (with preview / editing options and perhaps metadata viewer - respective to data type.) Do you also expect / hope to send whitelisted commands via some kind of mock-shell?

Mar 12 2018, 8:38 PM · AXIOM Beta Software
nothingismagick added a comment to T931: AXIOM WebRemote: Where/How to save data?.

Wow - I didn't know that that was one of the deliverables. What do you mean by "etc."? Yes, we can serve from any folder. We would need to investigate the possibility of sym-linking a "DCIM" type of folder, but there isn't any real reason why it shouldn't work.

Mar 12 2018, 8:02 PM · AXIOM Beta Software
nothingismagick added a comment to T931: AXIOM WebRemote: Where/How to save data?.

As far as security is concerned, you are probably right sending and receiving flatbuffers. We don’t want DAEMON to unexpectedly crash.

Mar 12 2018, 1:24 PM · AXIOM Beta Software
nothingismagick added a comment to T931: AXIOM WebRemote: Where/How to save data?.

Here is how we could even serve http with libwebsockets, which would help to do the automatic upgrade to ws:// - it is public domain licensed.

Mar 12 2018, 1:23 PM · AXIOM Beta Software

Mar 11 2018

nothingismagick added a comment to T931: AXIOM WebRemote: Where/How to save data?.

There will be minimum three connections with the client device, perhaps four.

Mar 11 2018, 8:50 PM · AXIOM Beta Software
nothingismagick added a comment to T937: REST service and consumer proposal.

So I have "implemented something" - the frontend for the WebRemote and worked with the team today to design a spec. But I would still like @jatha to show some evidence that suggests that "the camera has plenty of resources". I find this hard to believe (its only a relatively low-powered dual arm!!!) and only benchmarks running during a camera state where it is filming and executing scripts could change my opinion. (Or alternatively, a video of htop screen.)

Mar 11 2018, 8:21 PM · AXIOM Remote, AXIOM Beta Software
nothingismagick added a comment to T931: AXIOM WebRemote: Where/How to save data?.

Of course - usually you have the whole reverse proxy cruft because you don't know who / how many clients you will have. The luxury behind this WebRemote as we are building it is that we will at most have exactly one client, who has "properly" identified itself with a UUID. We don't care about the rest of the universe.

Mar 11 2018, 8:10 PM · AXIOM Beta Software
nothingismagick added a comment to T931: AXIOM WebRemote: Where/How to save data?.

And furthermore, the only purpose for having lighttpd is to serve the initial html/js/css to the WebRemote. After a ws:// connection has been made we can even turn it off. (Technically speaking, we could even just use netcat to serve the folder to the browser.)

Mar 11 2018, 7:09 PM · AXIOM Beta Software
nothingismagick added a comment to T931: AXIOM WebRemote: Where/How to save data?.

Can we get rid of the REST server entirely? I was under the impression that we actually agreed to do websockets...

Mar 11 2018, 7:07 PM · AXIOM Beta Software
nothingismagick added a comment to T939: AXIOM WebRemote: Detailed Specs, Requirements and Build.

Working spec document

Mar 11 2018, 6:30 PM · AXIOM Beta Software, AXIOM Remote
nothingismagick added a comment to T931: AXIOM WebRemote: Where/How to save data?.

FYI: This is what we are working on for the specification of the C&C. It is neither finished, nor valid JSON or anything else.

Mar 11 2018, 6:17 PM · AXIOM Beta Software
nothingismagick added a comment to T931: AXIOM WebRemote: Where/How to save data?.

"split the control daemon and rest server" -> that would be the approach with websockets, which I prefer and we are investigating right now.

Mar 11 2018, 6:12 PM · AXIOM Beta Software

Mar 1 2018

nothingismagick added a comment to T931: AXIOM WebRemote: Where/How to save data?.

Great! I take it you mean this flavor of libwebsockets: https://libwebsockets.org/

Mar 1 2018, 1:17 PM · AXIOM Beta Software
nothingismagick added a comment to T931: AXIOM WebRemote: Where/How to save data?.

Here is some information about websockets vs. ajax

Mar 1 2018, 11:58 AM · AXIOM Beta Software

Feb 28 2018

nothingismagick added a comment to T931: AXIOM WebRemote: Where/How to save data?.

That sounds great!

Feb 28 2018, 5:13 PM · AXIOM Beta Software
nothingismagick added a comment to T931: AXIOM WebRemote: Where/How to save data?.

As far as the API goes, I would like to suggest versioning it according to a reference standard that documents the REST call, its expectations and all values. The current state (at T865) is what I would consider to be V0 - because it is not systematically standardised. As soon as everything is "written in stone", I would propose promoting the API to V1.

Feb 28 2018, 5:05 PM · AXIOM Beta Software
nothingismagick added a comment to T931: AXIOM WebRemote: Where/How to save data?.

Andrej, are you tracking this conversation too?

Feb 28 2018, 4:52 PM · AXIOM Beta Software
nothingismagick added a comment to T931: AXIOM WebRemote: Where/How to save data?.

Is there a complete list of all current and valid REST package requests?

Feb 28 2018, 4:51 PM · AXIOM Beta Software
nothingismagick added a comment to T931: AXIOM WebRemote: Where/How to save data?.

Cool - I saw that referenced in the C code, but didn't know how to expect / construct it from the JS.

Feb 28 2018, 4:50 PM · AXIOM Beta Software
nothingismagick added a comment to T931: AXIOM WebRemote: Where/How to save data?.

I totally understand the issue with node running on the box, and is why I suggested the C library for websockets.

Feb 28 2018, 4:49 PM · AXIOM Beta Software
nothingismagick added a comment to T931: AXIOM WebRemote: Where/How to save data?.

Should we make an issue here https://github.com/apertus-open-source-cinema/beta-software/issues about registering the available components and middleware routes in order to match the interface expectations as detailed here:

Feb 28 2018, 3:38 PM · AXIOM Beta Software
nothingismagick added a comment to T931: AXIOM WebRemote: Where/How to save data?.
  • One thing to keep in mind is that we should get a confirmation from the camera back to the remote that a particular setting/command was applied successfully.
  • Also can we push commands from camera to webremote currently without polling?
Feb 28 2018, 12:42 PM · AXIOM Beta Software

Feb 26 2018

nothingismagick added a comment to T713: Plan to participate at Chaos Communication Congress.

I will most definitely also be there this year, and we are planning on running a KinoKabaret Assembly using the KINOÏT Platform. It would be really great to work together and let some hacker-filmmakers get some experience with the AXIOM.

Feb 26 2018, 1:12 PM · Brainstorming, Community
nothingismagick added a comment to T931: AXIOM WebRemote: Where/How to save data?.

I took the local-storage route for the vue.js version of the interface that I built. Here is the flow:

Feb 26 2018, 12:47 PM · AXIOM Beta Software
nothingismagick added a comment to T932: AXIOM WebRemote: make main content dynamic.

Legal issues? If you mean JetBrains Webstorm - there aren't any legal issues. The EAP version is their prerelease of their software and it is entirely legal and free to use - without registration. Otherwise I wouldn't have shared it in the VM I built.

Feb 26 2018, 11:49 AM · AXIOM Beta Software
nothingismagick added a comment to T932: AXIOM WebRemote: make main content dynamic.

Yeah, but I really avoid Microsoft at every level in the stack - and I won't be installing visual studio anything on linux. Webstorm is simply the best because the entire environment is built for the kind of engineering needed by web developers...

Feb 26 2018, 11:19 AM · AXIOM Beta Software
nothingismagick added a comment to T932: AXIOM WebRemote: make main content dynamic.

I just made you all a VM Snapshot for Oracle VM VirtualBox. It's current state has:

Feb 26 2018, 11:02 AM · AXIOM Beta Software
nothingismagick added a comment to T932: AXIOM WebRemote: make main content dynamic.

I really didn't want to sound condescending, I hope you don't have that impression. In the future it would be excellent if you would make a normal issue report at github that has:

Feb 26 2018, 8:51 AM · AXIOM Beta Software
nothingismagick added a comment to T932: AXIOM WebRemote: make main content dynamic.

and pull the repo again - there seem to have been a few files in the dist folder that weren't added to the repo yesterday

Feb 26 2018, 8:23 AM · AXIOM Beta Software
nothingismagick added a comment to T932: AXIOM WebRemote: make main content dynamic.

ok... what security measures? have you enabled javascript?

Feb 26 2018, 8:22 AM · AXIOM Beta Software
nothingismagick added a comment to T932: AXIOM WebRemote: make main content dynamic.

FYI - I updated the README at the Git Repo - and found a couple files that weren't included in yesterday's commit.

Feb 26 2018, 6:58 AM · AXIOM Beta Software
nothingismagick added a comment to T932: AXIOM WebRemote: make main content dynamic.

You will see a blank page if you just open the html file in your browser - but that just won't work, sorry. You need to serve it (like I said in the message.) In fact, after I finished the build process this is what it says:

Feb 26 2018, 5:50 AM · AXIOM Beta Software

Feb 25 2018

nothingismagick added a comment to T932: AXIOM WebRemote: make main content dynamic.

I hope it is dynamic enough.

Feb 25 2018, 7:19 PM · AXIOM Beta Software

Feb 23 2018

nothingismagick added a comment to T741: AXIOM Beta/Gamma/Remote logo design.

Old (535 kb):

Feb 23 2018, 5:38 PM
nothingismagick added a comment to T741: AXIOM Beta/Gamma/Remote logo design.

I am using this logo for the loading image on the vue.js version of the WebUI. So I fixed it (in my repo) but also forked the repo and created apertus_Logo_Pack_V2.2b.tar.gz with the fixed logo. I just made a pull request from our fork.

Feb 23 2018, 5:35 PM
nothingismagick added a comment to T741: AXIOM Beta/Gamma/Remote logo design.

Just thought I would point out that the AXIOM logo in the logo pack as provided at github is cropped at the bottom:

Feb 23 2018, 5:11 PM

Feb 22 2018

nothingismagick added a comment to T933: AXIOM WebRemote: Evaluate Gulp for processing.

i would suggest using vuex to store the "mutations" within the browser - but be careful with the latest NPM - they botched the release and it is chowning system critical folders - essentially bricking the device. It is only a temporary problem though.

Feb 22 2018, 6:24 PM · AXIOM Beta Software
nothingismagick added a comment to T933: AXIOM WebRemote: Evaluate Gulp for processing.

Yes, two way is built in and templating is why I suggested it in the first place.

Feb 22 2018, 6:16 PM · AXIOM Beta Software
nothingismagick added a comment to T932: AXIOM WebRemote: make main content dynamic.

Absolutely. I can look into this while building a git project if you like.

Feb 22 2018, 6:00 PM · AXIOM Beta Software
nothingismagick added a comment to T933: AXIOM WebRemote: Evaluate Gulp for processing.

Shall I turn this into a git project with test runner, build instructions and switch out jquery for vue.js?

Feb 22 2018, 5:59 PM · AXIOM Beta Software

Feb 21 2018

nothingismagick added a comment to T939: AXIOM WebRemote: Detailed Specs, Requirements and Build.

So, I know that there is no Loomio decision making process here (our 150 person non-profit in Hamburg - the Gängeviertel - tried it too, with results similar to your experience...) but I still need some guidance from the core-team on how I should move forward and contribute. I can build everything I wrote about in the CONTROLLER, INTERFACE and DAEMON sections, but it is a considerable amount of work and will take some careful planning and integration...

Feb 21 2018, 11:21 PM · AXIOM Beta Software, AXIOM Remote
nothingismagick added a comment to T697: create firmware image creation script.

Maybe something related:

Feb 21 2018, 10:41 PM · AXIOM Beta Software
nothingismagick added a comment to T697: create firmware image creation script.

sorry I meant 403.

Feb 21 2018, 10:10 PM · AXIOM Beta Software
nothingismagick added a comment to T938: CE Certification.

These two symbols are good for consumer trust in the project. Having beta-testers testing it around the world and confirming that it doesn't cause problems for them is also a chain of evidence that suggests due-diligence.

Feb 21 2018, 6:50 PM
nothingismagick updated the task description for T939: AXIOM WebRemote: Detailed Specs, Requirements and Build.
Feb 21 2018, 3:24 PM · AXIOM Beta Software, AXIOM Remote
nothingismagick added a comment to T697: create firmware image creation script.

Question: I am trying to download this:

Feb 21 2018, 3:23 PM · AXIOM Beta Software
nothingismagick added a comment to T939: AXIOM WebRemote: Detailed Specs, Requirements and Build.

@sebastian sorry about the Terminology. (You did although just call it WebGUI and then link to ControlGUI...)

Feb 21 2018, 2:52 PM · AXIOM Beta Software, AXIOM Remote
nothingismagick updated the task description for T939: AXIOM WebRemote: Detailed Specs, Requirements and Build.
Feb 21 2018, 2:50 PM · AXIOM Beta Software, AXIOM Remote
nothingismagick added a comment to T939: AXIOM WebRemote: Detailed Specs, Requirements and Build.

I like some of the ideas over at snickerdoodle - especially their app-connectivity. Maybe there are some good ideas over there too...

Feb 21 2018, 2:12 AM · AXIOM Beta Software, AXIOM Remote
nothingismagick updated the task description for T939: AXIOM WebRemote: Detailed Specs, Requirements and Build.
Feb 21 2018, 2:02 AM · AXIOM Beta Software, AXIOM Remote
nothingismagick updated the task description for T939: AXIOM WebRemote: Detailed Specs, Requirements and Build.
Feb 21 2018, 1:53 AM · AXIOM Beta Software, AXIOM Remote
nothingismagick created T939: AXIOM WebRemote: Detailed Specs, Requirements and Build.
Feb 21 2018, 1:50 AM · AXIOM Beta Software, AXIOM Remote

Feb 20 2018

nothingismagick added a comment to T821: CE and FCC Certification.

Yeah, well of course this is something that the industry wants you to do. Considering the number of Betas out there, maybe just write up a simple declaration for each country where the product has been tested with a super official looking checklist, get it signed by the "tester" and someone from the organization.

Feb 20 2018, 11:41 PM · AXIOM Beta Hardware
nothingismagick created T938: CE Certification.
Feb 20 2018, 11:26 PM
nothingismagick added a comment to T937: REST service and consumer proposal.

I am seeing two different perspectives here, and just would like to have some clarification - or even better some benchmarking stats. For your information I have done work on arduino, raspberries, Olimex a20-SOM / LIME (including custom flashing of the NAND), Banana-pi and the O-Droid C-1 - so I am VERY aware of paying attention to system resources and the tough design decisions that come with that.

Feb 20 2018, 8:41 PM · AXIOM Remote, AXIOM Beta Software
nothingismagick added a comment to T937: REST service and consumer proposal.

Ok - I've noted what you said @jatha - thanks for the info. Can you tell me where to find the spec for the openAPI and Plugin Modules?

Feb 20 2018, 7:30 PM · AXIOM Remote, AXIOM Beta Software
nothingismagick added a comment to T937: REST service and consumer proposal.

I thought I read somewhere that there is a virtual machine image that I should use to spin up development... Maybe I imagined that.

Feb 20 2018, 5:53 PM · AXIOM Remote, AXIOM Beta Software
nothingismagick added a comment to T937: REST service and consumer proposal.

Challenge accepted. Can you point me to a resource for a current VM image?

Feb 20 2018, 5:44 PM · AXIOM Remote, AXIOM Beta Software
nothingismagick added a comment to T937: REST service and consumer proposal.

Then maybe a single long running bash script with a high priority / nice-value running as a main control interface that listens for changes to the fifo and where necessary modifies the fifo / and non-volatile file-store for use on startup for init and conf...

Feb 20 2018, 5:27 PM · AXIOM Remote, AXIOM Beta Software
nothingismagick created T937: REST service and consumer proposal.
Feb 20 2018, 4:51 PM · AXIOM Remote, AXIOM Beta Software
nothingismagick renamed T936: Open Source Licensing Issues from Open Source Licensing Unclear in Python Files to Open Source Licensing Issues.
Feb 20 2018, 3:51 PM · AXIOM Beta Software
nothingismagick created T936: Open Source Licensing Issues.
Feb 20 2018, 1:17 PM · AXIOM Beta Software
nothingismagick added a comment to T933: AXIOM WebRemote: Evaluate Gulp for processing.

Gotcha.

Feb 20 2018, 1:08 PM · AXIOM Beta Software

Feb 19 2018

nothingismagick added a comment to T833: Networking Helper.

Exactly. Going further, you could also allow users to opt-in their hardware into something like a "fleet health check" which would be a pathway to send errors / regressions / heat statistics whatever back to HQ for QA...

Feb 19 2018, 10:53 PM · Brainstorming, AXIOM Beta Software
nothingismagick added a comment to T933: AXIOM WebRemote: Evaluate Gulp for processing.

AND ... you can get rid of the custom C++ code cruft for simple api responses.

Feb 19 2018, 10:44 PM · AXIOM Beta Software
nothingismagick added a comment to T933: AXIOM WebRemote: Evaluate Gulp for processing.

if you are already using node.js for socket.io it is perfect because it is a breeze to bind two-way into vue.js...

Feb 19 2018, 10:40 PM · AXIOM Beta Software
nothingismagick added a comment to T824: should we have a single git repository for every (compiled) tool?.

I have to agree with davidak - and go one further:

Feb 19 2018, 10:16 PM · AXIOM Beta Software
nothingismagick added a comment to T933: AXIOM WebRemote: Evaluate Gulp for processing.

The performance for our webapp is excellent - even on mobile. We are using lots of components, routes, icon-fonts, 8 translations and roboto font though. I think for apertus it could be really slim. According to the design mock up you need:

Feb 19 2018, 9:53 PM · AXIOM Beta Software
nothingismagick added a comment to T933: AXIOM WebRemote: Evaluate Gulp for processing.

We are using in a framework for vue.js called quasar. With one code base we deliver a single-page website, electron native apps for windows, mac and linux and also use cordova for making android and iOS apps. It may be a bit of overkill for your use-case, but if you plan to deliver for more than just phones, maybe it makes sense to tool up at the beginning. That was our decision - and I can say we do not regret investing some extra time early.

Feb 19 2018, 8:49 PM · AXIOM Beta Software
nothingismagick added a comment to T933: AXIOM WebRemote: Evaluate Gulp for processing.

cordova would be a build step to make native apps that run within a "webview" container on a mobile device.

Feb 19 2018, 7:33 PM · AXIOM Beta Software
nothingismagick added a comment to T933: AXIOM WebRemote: Evaluate Gulp for processing.
Feb 19 2018, 7:28 PM · AXIOM Beta Software
nothingismagick added a comment to T933: AXIOM WebRemote: Evaluate Gulp for processing.

One other thing about the designs you linked to, a website in a browser will pretty much always have the OS chrome and Browser chrome at the top. In landscape mode there is a lot of real-estate that goes away. There's probably a way to do that with html5 fullscreen - but that is a part of the spec that browsers / os's have never really gotten right. It will need some testing and tweaking.

Feb 19 2018, 7:11 PM · AXIOM Beta Software
nothingismagick added a comment to T933: AXIOM WebRemote: Evaluate Gulp for processing.

And if this seems like a lot to digest, next week I can set aside an afternoon to help you create the tooling and tune the build process in a separate git repo - then you just need to park the submodule in your main repo and you'll be good to go.

Feb 19 2018, 7:06 PM · AXIOM Beta Software
nothingismagick added a comment to T933: AXIOM WebRemote: Evaluate Gulp for processing.

Ok. I would highly recommend taking a look at vue.js - its templating features are exactly what is needed here - it has your "ajax" and data-bindings. It is also very lightweight.

Feb 19 2018, 6:58 PM · AXIOM Beta Software
nothingismagick added a comment to T933: AXIOM WebRemote: Evaluate Gulp for processing.

Before I can really answer that, I would need a really quick 3 sentence explanation of EXACTLY when the users see this interface and on what screens - or even better, a link to the spec page.

Feb 19 2018, 6:13 PM · AXIOM Beta Software
nothingismagick added a comment to T833: Networking Helper.

In my opinion, until the networking stack and sudoers permissions are hardened in the Beta Software package, any exposure to the lighttpd service is really dangerous...

Feb 19 2018, 4:22 PM · Brainstorming, AXIOM Beta Software
nothingismagick added a comment to T933: AXIOM WebRemote: Evaluate Gulp for processing.

I can definitely recommend some sort of build pipeline tailored to the final delivery platform(s). Gulp is a great start, but there are also other options. Having a node based build system is very comfortable - but setting it up can be a great deal of work.

Feb 19 2018, 4:00 PM · AXIOM Beta Software
nothingismagick created T935: AXIOM WebRemote Security Recon.
Feb 19 2018, 3:49 PM · AXIOM Beta Software
nothingismagick added a comment to T743: Axiom Cryptocamera.

For reference, here is one approach: https://sites.google.com/site/nxcryptophotography/home

Feb 19 2018, 2:17 PM · Brainstorming