Josh Leverette's picture

Async testing

Tonight I did some testing to try and get a feel for how the asynchronous polling logic I implemented last night was working, and it appears to be working as expected, which is excellent.


  • Continued documentation for project developers interested in how the new grpc system functions.

Tomorrow: more documentation!

Vaibhav Sharma's picture

GSOC project progress

Today went through the paper on classification of IMFDB data set using semi-supervised learning. Using their methodology i tried feature extraction using "Local Binary Pattern". The results were almost same and it was hard to tell if the new method was better or worse. I would do more testing with it on my video to see if the results can get better.

MuseScore 21/07/2015: MIDI Actions #2

I started to explore the existing code of MIDI Actions. The way of storing actions' data is very different from what I wanted to implement.
This code is found in different classes and files, so I need some time to understand how it works together.

Noseyparker - 22 July

My time today was split between 2 tasks:

  • Cleaning up the two TLS connection handlers I recently wrote. In particular I added messages that reported helpful diagnostic information when running in debug mode.
  • Investigating where & how hooks could be added to intercept plain-text HTTPS traffic (before encryption/after decryption).

This investigation is a good learning exercise - I still don't fully understand the design of the nogotofail tool. I'm unsure if has hooks into the Android OS network stack, or if it simply acts as a network proxy. I suspect the later based on testing and reading project documentation.

I'll keep chipping away I feel I'm getting closer ...

Noseyparker - 20 July

Today I completed work on a new feature, detecting negotiated TLS cipher suites that don't support forward secrecy. The TLS connection API is well written and it was easier to implement this than I expected. Here is the connection handler class I wrote:

Ephemeral Diffie-Hellman (DHE) key exchange implements "perfect forward secrecy" - this technique creates a new public/private key pair for each TLS session, and the private keys are very (very very) difficult to derive even if the (master) certificate private key is disclosed. Without DHE key exchange, if the TLS certificates private key is ever disclosed all previously encrypted messages could be unencrypted (well that's my understanding).

From a brief discussion with the (nogotofail) project's author it doesn't seem to have hooks into Android or TLS stack/s to examine all plain-text HTTPS traffic (before encryption / after decryption). I'll do some investigation into what is needed to implement this functionality, and add this if I have time.

Note. This is an out-of-order post ... I had trouble publishing it a couple of days ago.

MDN 7/21/2015

I thought I finished diagram browser in my last post but that was not true, I discovered that new selected diagrams were not showing correctly in the main page after closing the diagram browser. I fixed this issue then I added another functionality that change the style of elements in the new shown diagrams (according to element status which can be regular, selected, or highlighted). I did simple testing using the already saved diagrams in the site.

21 July

I think I found the bug which is super exciting! I can finally move on to finishing the OR code and investigating implementation of p_threads.

Josh Leverette's picture

Asynchronous polling

I have started laying the groundwork for an asynchronous polling architecture for getting new values from the LSM9DS0, but realistically it might be good to switch this over to a full-on asynchronous interrupt system. Right now, I'm attempting to synchronize the timers to the data update cycle of each subsensor in the LSM9DS0, so, for example, it calls a function every 1600th of a second, and that function will then start polling the LSM9DS0 until a new accelerometer sample has been taken, which should be very soon after the polling starts and then it will return to idle again quickly.


  • Started some documentation on the internals of the new grpc system. This should help anyone who might be diving into what I've written.
  • Reduced the amount of generated wrapper code by around 1000 lines.

Tomorrow: more documentation.

Syndicate content