Team Reactives (Poetic Computation) 
- Starts On
- July 01, 2016
- Finishes On
- September 30, 2016
- Last Activity
- September 29, 2016
September 29, 2016
September 28, 2016
Team Reactives (Poetic Computation)  — at September 28, 2016 13:44 UTC
We have implemented a simple local storage session for our application with the File System API, but it doesn't allow us to save in folder system but by memory allocation. The indexing and retrieving power is great for beginners to backend like us, but the memory allocation is quite limited. We hope to explore a better solution for the back-end given our limited time.
Also, we were testing our application internally against Web AIM Accessibility checklist and realize that our design needs some improvements. Testing it with Jaws as web app running on the browser today gave us another possibility of packing our app, but we are not sure which platform we should use to deploy our application, so we still try to complete the procedures of packaging it with electron for Windows and Linux
September 27, 2016
Team Reactives (Poetic Computation)  — at September 27, 2016 04:32 UTC
Packaging on Mac with Wine still causing errors on Windows, will have to set up the repo and electron environment on Windows to continue work there. Also got into contact with SAVH about user testing in during an IT class.
September 23, 2016
Team Reactives (Poetic Computation)  — at September 23, 2016 14:32 UTC
Shifting priority to Windows testing because most users use Windows, still facing problems with the Linux package for an unknown reason. Windows requires Wine in addition to electron packager for proper code signing. Shifting to the new bootstrapped UI which works great with just one issue: integrating speech synthesiser with the file browser tab.
September 22, 2016
Team Reactives (Poetic Computation)  — at September 22, 2016 15:10 UTC
Bootstrapping our new UI (Revamp UI II) is complete, we can repackage our project after testing out the various methods to do so for different operating systems. Attempted to package the app with the old UI for Linux today but after testing with our coach, it seems that it failed due to an error regarding lib node.so
September 21, 2016
Team Reactives (Poetic Computation)  — at September 21, 2016 14:34 UTC
Arranged to meet an association for discussion about user testing on Friday.
Still working on packaging for windows as well as bootstrapping the UI! Windows package should be out by tomorrow, which is important since more people even in our team use Windows.
September 20, 2016
September 19, 2016
Team Reactives (Poetic Computation)  — at September 19, 2016 13:46 UTC
We had a meeting with our coaches, mentor and supervisor today to decide on our last changes to our prototype. We agreed to make last minor changes to the look of our older prototype and look forward to packaging to send out for testing in the RGSoC and beneficiary community.
September 13, 2016
Team Reactives (Poetic Computation)  — at September 13, 2016 01:24 UTC
With the new UI, we worked on implementing the backend features of the old UI to the new one. But since the new one does not implement the one-click function, we were reading up on on how to integrate it with React. Also, we are still working on the saving buffers feature but instead switched to looking at using the fs module of json.
September 08, 2016
September 06, 2016
Team Reactives (Poetic Computation)  — at September 6, 2016 16:13 UTC
Worked on formatting the code from the user that needs to be sent over while saving, ran into some issues with generating the prepared command using the OSC::Message function, but have an inkling of what's wrong. Most of the functions required for this feature have been put into place.
September 05, 2016
Team Reactives (Poetic Computation)  — at September 5, 2016 13:41 UTC
Recording some music
Finally managed implement all the relevant functions and format the commands appropriately to send to the OSC server that allows us to start recording, stop recording and save the music as .wav files. There are still limitations to work on:
Recordings are saved in the documents folder under home by default and if the user deletes it, the recording can't save at all. We tried using relative paths using '../' but it causes issues for an unknown reason and does not save the file either.
We can change the code to add custom file names quite quickly once we have the GUI portion for the user to enter that. For now, the name is given using the date.getTime() method (milliseconds since 1/1/1970).
Visually impaired users can accidentally make the recording longer than it needs to be by missing the stop recording button, we made it so that the buffer automatically plays when start record button is pressed but the user has free reign on when recording stops, even when the music is long over.
At our meeting with mentor Joseph today, we were advised to test out with visually impaired users as soon as possible, as well as concentrate on revamping the UI to reflect high color contrast to help users who have trouble distinguishing between colours as well.
So we changed our UI recently and adopted React for the view. We are still fixing and migrating our event handlers to the correct component. We will also need to get used to the whole concepts of state & props.
September 02, 2016
Team Reactives (Poetic Computation)  — at September 2, 2016 15:59 UTC
It has been a tough week so far, but in the end we kinda got through somehow. Our important lesson this week is to read the API and official documents before jumping around Stack Overflow or Google in hope for a similar case elsewhere in the net. Given that new realization, we configured our webpack and resolved whatever ES6 issues properly.
What we've done:
☐ Save & Load codes
☐ Record and save music as conventional file extensions
August 31, 2016
Team Reactives (Poetic Computation)  — at August 31, 2016 09:30 UTC
It was a discouraging week of little or no progress, but it has ended. We have finally understood the basic configuration of Webpack, at least enough to finally set it up for writing ES6. So, as a test of our understanding, we set up react hot loader and hot module replacement plugin for Webpack as well. It finally works, so really hope that the hot reload can magically save us time for this delayed stage of development.
Honestly, we have been looking forward to the first release which was supposed to happen on Monday, but we both missed the deadline due to our underestimation of new technologies. But the effort really enhanced our appreciation of development tools and would hopefully standardize & fasten our workflow.
☐ Almost all the stuff in our latest to-do list remains, so they should be inserted here
☐ UI Revamp
☐ Save & Load codes
☐ Record and save music as conventional file extensions
August 29, 2016
August 26, 2016
Team Reactives (Poetic Computation)  — at August 26, 2016 15:52 UTC
Today is actually the official end of our current sprint, but we still haven't really completed quite a number of features that we planned. This week we were both slowed down quite a lot due to our choice to pick up and try out some new technologies:
- Shwetha: Node.js
- Tu An: Material UI (& hence, ES6 'gorgeous' syntax shift)
✓ Fixed the format commands
✓ Ignored the babel & webpack config for in-progress work of UI Revamp
✓ Change "period" to "dot"
✓ Updated the key combination so Mac can trigger TTS as well
✓ Made a demo video for our current app
TTDs for Buggy Chunks:
☐ Write if condition for suppressing "abort" in ruby client side when using windows
☐ Similarly, format file path correct for each OS
☐ Cut the text to chunks, each of which has < 300 characters to avoid Chrome's bug for its Speech Synthesis API
☐ Fix the error due to commands with ":xxx" option
☐ Read out only 1 line where cursor is
☐ UI Revamp - need to decide if I want to fix the import vs require bug due to ES6 for using Material UI or just lead a simple life with bootstrap and basic CSS
☐ Save and load codes as buffers (json files) using FS module of node
☐ Record the music and save as conventional music file (tapping onto the osc magical server again)
☐ Continue to contact target audience through developers or NGOs so we can test our app once v1.0 is released
Team Reactives (Poetic Computation)  — at August 26, 2016 00:47 UTC
No luck on searching for an OSC server-command that directly saves code, read up more about sonic-pi's saving algorithm. Dug through code to learn that they use a git commit to a local git repo to save contents of a buffer.
August 24, 2016
August 22, 2016
Team Reactives (Poetic Computation)  — at August 22, 2016 14:40 UTC
Awesome Progress :)!
Today we fixed up the problem of unpronounced characters overlooked by speechSynthesis API (in the attempt to make English prose smoother, but inconvenience coders).
We also tested if our app can work offline, and to our amazement, it does work. So, the next step for us is to verify if it's ok as well for changing the voice quality offline. We hope to also understand the mechanism behind Web Speech API technology as a whole since if it is fully supported by the browser (Chromium-electron specifically) it means screen reader can be integrated directly into web app in general and more specifically cross-platform and (hopefully) lightweight desktop app with the help of electron.
We have also successfully played multiple lines of codes and retrieved error messages from osc-server. Therefore it's time to develop a simple mechanism for users to control the reading out of these messages with shortcuts.
So last week ended with success in implementation of major functionalities for our app. We are looking for testers, especially visually impaired programmers who are interested in helping out!
August 18, 2016
Team Reactives (Poetic Computation)  — at August 18, 2016 14:48 UTC
Tried implementing a loop to send commands from a buffer to the server at once as discussed as a potential approach with our coach: it does not work as intended, slow progress on this front due to lack of experience form us but we hope to become more adept.
August 17, 2016
Team Reactives (Poetic Computation)  — at August 17, 2016 16:20 UTC
UI and user stories
Met Coach Arrchana who gave us feedback on our progress, We talked to her about the potential user stories and user testing, like getting into contact with local communities with blind developers. The del() bug is done with and there was a remodeling of the UI with Save, Load and Run buttons.
August 16, 2016
Team Reactives (Poetic Computation)  — at August 16, 2016 05:46 UTC
Electron to Server, SpeechAPI
Established communication with the server, currently commands can be sent in and run without errors one at a time. Worked on sending many commands at once.
On the speech end, we still have to implement it to read the user input as well as get it to read special characters necessary for sonic-pi coding like parenthesis, colons, etc.
August 12, 2016
Team Reactives (Poetic Computation)  — at August 12, 2016 12:40 UTC
SCSynth and Coach Meetup
Worked on trying to fix the scsynth based error where our current Ruby script to communicate with sonic-pi's OSC server causes a 'zombie' scsynth to create a critical internal server error if the scsynth is not shut down manually. Had a meet up with Coach Arrchana where we through the steps needed to set up sonic-pi server communication and showed her our basic electron template and told her about the issue.
August 10, 2016
August 09, 2016
August 05, 2016
Team Reactives (Poetic Computation)  — at August 5, 2016 14:03 UTC
Our blog and updates
Not much coding today: just updating our Gantt Chart, writing up proposal and setting up our blog post.
August 04, 2016
Team Reactives (Poetic Computation)  — at August 4, 2016 04:37 UTC
We created a basic app with electron for a simple form view using pure HTML & JS for first prototype.
Next steps we plan to take towards the end of this week will include incorporating in Speech Synthesis API and a fully keyboard-accessible interface.
This includes the core design specs for our first prototype.
August 02, 2016
Team Reactives (Poetic Computation)  — at August 2, 2016 16:50 UTC
August 01, 2016
Team Reactives (Poetic Computation)  — at August 1, 2016 15:38 UTC
Routing in Rails
Set up a basic rails app with page navigation and database to save user input. Had trouble getting my custom 'run' method in the standard article controller to link with it's corresponding view 'run.html.er'. Seems to be an issue with routing. Yet to test the exec command to run shell scripts (not our ultimate plan but being able to play simple commands is a minor milestone in interacting with the server).
July 29, 2016
Team Reactives (Poetic Computation)  — at July 29, 2016 15:08 UTC
Digging through code
Went through sonic-pi documentation and code. Attempted to pass arguments to the server but encountered several errors on ubuntu's release version. Switched to mac and running the server on it's release version is cleaner. Attempted to install from source on a mac but faced errors at the build-app stage like on ubuntu. Worked through some of them, including manually downloading libaubio.so.1 but other makefile errors remain.
July 28, 2016
Team Reactives (Poetic Computation)  — at July 28, 2016 15:47 UTC
Railway to Rails
July 27, 2016
Team Reactives (Poetic Computation)  — at July 27, 2016 14:50 UTC
July 26, 2016
Team Reactives (Poetic Computation)  — at July 26, 2016 15:37 UTC
Tried an alternate to using ruby through sinatra, experimented with calling ruby script through a php file that is being called as an action of a html form. Was a success after some tries and reading up on php functions like exec. Did not incorporate ruby socketing as initially planned.
July 25, 2016
Team Reactives (Poetic Computation)  — at July 25, 2016 15:21 UTC
Had a meeting with coaches, mentors and supervisor. We got a local server running through apache and are able to access php scripts and use embedded ruby through that which is a big step up for us as beginners in network programming.
July 19, 2016
Team Reactives (Poetic Computation)  — at July 19, 2016 15:04 UTC
Suspended installation of sonic-pi from source. Shwetha completed the Ruby tutorial series and is quite comfortable with using ruby now, including the socket library involved in creating web servers and clients. We hope to be able to communicate with the sonic-pi application using this simple browser based python IDE from Rice University as a reference for gui for our basic prototype: http://www.codeskulptor.org
Tu An studied how to use RPi, read documentation
Team Reactives (Poetic Computation)  — at July 19, 2016 15:01 UTC
Tu An has sonic-pi on her new raspberry pi, she is configuring it for use as a development platform: Install + troubleshoot Raspberry Pi + Sonic Pi
Shwetha wrote pre-start, post-stop, pre-stop and post-stop scripts to start and stop pulse audio and jackd appropriately according to one of the guides but there was an error.
July 14, 2016
Team Reactives (Poetic Computation)  — at July 14, 2016 16:07 UTC
Went through the helpful jackd installation guides our mentor posted. We discussed with our coaches the various errors that we were receiving as they tried to replicate the system on their own.
July 12, 2016
Team Reactives (Poetic Computation)  — at July 12, 2016 06:40 UTC
We had our 2nd meeting over hangouts with our coaches, supervisor and mentor. Week 1 progress was a little slow due installation troubles but both os us are on the same page now. We have set a milestone that we wish to fulfil before the next meeting in two weeks and that is to allow the user to send simple commands to the local sonic-pi server.
July 08, 2016
July 06, 2016
Team Reactives (Poetic Computation)  — at July 6, 2016 08:39 UTC
Reading up on Ruby and Tu An overseas
1. Installed Ubuntu on my Windows laptop, it has larger RAM and storage to give.
2. Made progress on learning Ruby: Exception handling and Database Access, I found this tutorial to be the neatest: http://www.tutorialspoint.com/ruby/ruby_database_access.htm, with some supplemental google searches from time to time.
Team Reactives (Poetic Computation)  — at July 6, 2016 05:55 UTC
Still trying to install, sorry partner
Finished all the steps for installing sonic-pi. Received a critical error when running it from command line. After several tries, the supercollider plugin git clone works without "git checkout ef..." code. Tried reinstallation but sonic-pi in bin is missing. Went through apt-get sonic-pi package contents manually and it shows app should have been downloaded.
Tu An: How about just cloning sonic-pi, go to the correct folder and get the script? Another way is to try ls -a in folders like /, home, usr, share, usr/local. Git checkout is only for you to go to a certain branch
Shwetha: Thanks Tu An! I will try that.
Team Reactives (Poetic Computation)  — at July 6, 2016 05:43 UTC
Reinstalled Ubuntu 16.04 on Mac Virtualbox, was having frequent hangups and corrupt screen display.
Installing sonic-pi from source: SuperCollider error
The errors took a while to try sorting out, Tu An has informed me that the SuperCollider ppa package is only available for ubuntu 14.04 and 15.04 so far
Install Ubuntu 14.04 + build sonic-pi from source.
Install Qt editor + Super Collider
Trouble shooting jackd realtime audio player for SuperCollider and Sonic Pi
July 02, 2016
Team Reactives (Poetic Computation)  — at July 2, 2016 02:11 UTC
- Discusssed the technical requirements of the project with our coaches
- Planned our first week
- Built Sonic-Pi from source on Ubuntu
- OrderedRaspberry Pi
- Updated Ubuntu for dependencies
- Learnt about Sockets in Ruby
- Installed ruby-devkit for Windows
Plan for Week 1
- Install RPi Emulator
- Market Research of the available Accessibility APIs + Functionalities vs Trade-offs
- Learn Advanced Ruby on Rails
- Learn Client - Server communication in Ruby
- Learn Client - Server Communication in Sonic Pi
- Learn Resource Management in Raspberry Pi
Yesterday, we had a great discussion with our coaches and lovely group photos