Joe Baldwin Dirty Polymath

Twitter icon Facebook icon Linkedin 32 Google plus
Youtube Apps 32 Git 32 Pinterest icon
blog meta  game  3d  design  github  sharepoint  education  ios  vector graphics  augmented reality  opengl  c++  vb.net  database  sterts  dev diary  unity  polyaquatic 
Donate:
1

Sterts Dev Diary 8/19/13

tags:

This was the final push (changelog at bottom) before submitting to the App Store last Friday. I can say I stuck to my feature freeze and only fixed bugs and finished core features. At the time of writing this, still waiting for approval or not, and am purposefully staying out of the code! In the meantime, I updated to iOS 7 and am still forming an opinion on it. I have to say it upscales apps designed for iPhone to look much better on an iPad, and the interface from using default styles looks great to. I really pushed hard on getting this submitted on 8/17 as that is a symbolic end to summer for me and I go back to my rest-of-year occupation as a software development instructor at the technical college. So one last lone-wolf code-binge before I go back to school.

So on the hopeful assumption that Sterts is approved, what next? After much thought given to scaling (after all, I would like a million+ users) I've decided to rewrite the site and back-end in Ruby on Rails and possibly MongoDB on the data side. Currently I am using Symfony2 and SQLite, respectively. As much as I love Symfony the learning curve is just too steep when bringing additional resources on board, it's a rare skill-set and the ORM is just too fragile and doesn't lend itself to iterative development when you decide that you need another field on one of your classes. To add to it, SQLite and doctrine don't play well together when it comes to alter table commands so I had to write a SQLite DB copy utility (in C#, ironically) and run it every time I needed to add a field to one of the tables.

In addition to the back-end rework, I am planning on implementing the following features in the subsequent build:

  • Latitude and Longitude data for each Stert.
  • Better reporting - overlays on month/week/days with previous months/weeks/days.
  • Push notifications for reminders on entering your sterts.
  • Push notifications on friends updates.
  • Search for friends by email or name.
  • Averages for all users available/visible.
  • Display feed of user updates on site.
  • Display friends on profiles.
  • Flag for if you are sick.

The following are ideas I am currently evaluating for future enhancements:

  • Slider for "mood". Left would be something negative like "dark" or "morose" and far to the right would be "unsinkable" or "best day ever". In between would be "good", "fine", "been better" "sad", "anxious", etc. I want to keep the purity of vision that "body and mind" provides but you can be tired and still in a great mood.
  • Ability to have sub accounts for paid users, and the sharing of sub accounts between users. These sub-accounts could represent patients, or children, or anything else that you'd like to track privately.

Changelog (what has been updated) for 8/16/2013:

###8/12/13

  • Persist Username on login screen,
  • after login go to home screen
  • history screen show username in navigation bar
  • last stert not showing for logged in user after login

###8/13/13 - form validation 8/13 HTML5 browsers - password match, username exist, email exist - fixed month view and navigation to week/month buttons - check highcharts mana/hitpoints offset bug. - added contact us page - web change register to sign up - app Change "register" to "sign up" ###8/14/13 - stert class add note field - add latitude and longitude to sterts class (data mining, people are happy at this location,etc) - HAVE TO MAKE SCHEMA CHANGES BEFORE BETA EVEN IF NO NEW FEATURES USE THEM!! - contact us class - make functional contact us page - admin contact us page - change contact link to logged in path if user is logged in. create new route - contact populates user info when logged in ###8/15/13 - contact us submission page - on registration, need validation on username!!! - fix selected tab on charts page - message on add friends to sign in with twitter - message on twitter friend get failure - fix button style on settings page authorize ###8/16/13 - don't return twitter users already added as friends - Dont add same twitter friend twice

  • friends page
  • sign up, need validation on username, email and password match
  • re-try on twitter api fail
  • pull down on history screen
  • Loading Indicator on History View
  • changed new stert button to add from compose
  • email sendout on user registration
published:08/19/2013
sterts  dev diary 

Sterts Dev Diary 7/28/13

tags:

This was an email I sent to another developer (and my first sales pitch); a good start to the Sterts development posts:

My new platform, called Sterts (internet meme-ish for stats and statistics), that I am working on revolves around the idea that we have all these avenues to tell people what we like and what we are thinking but do not track how we feel. Are you able to focus but are dragging physically? Or got tons of sleep last night but just can't stay on task? What if you could track these things over the course of a week or a month and start seeing patterns in how you feel and could use that in advance? Or see that your team is dragging that day and take them out to lunch or mini-golf. Could you see on a given day where you are at a low point that everyone else around you is as well? What could that mean for you with your own well-being to know that?

I got the idea while watching Iron Man 2, when he is measuring his blood for toxicity levels and compared the device to what my brother-in-law measured himself with before he lost his battle with diabetes. Wouldn't it be great, I thought to myself, if we could measure all kinds of things from our bloodstream....I don't get hungry, just crabby when I need to eat. Could a sensor measure that? A step further... could something measure and notify us when we are in a bad mood? Or even predict it before it happens? As far as EEG technology has come, even close enough to say that affordable consumer tech is around the corner, the technology to measure how tired you are or your mood does not exist. But we do it all the time in the analog world: by asking "How are you today?". We have devices that ask us things all day - "do you want to read this email?", "Do you remember you have an appointment today at 10am?"

The app measures two pieces of data - hitpoints and mana (like in a video game). Hitpoints would be your physical and mana your mental for the day in the form of a red and blue bar each, respectively. The ideal expression of this platform would be through Google Glass (and the inevitable competitors) to display these stats over a persons head through augmented reality overlays as you look at them, just like in a game. This is currently technologically feasible, and inevitable regardless of the squeamishness around facial recognition apps. Even with smartwatches down the road with heartbeat monitors you will not have something that can measure how you "feel" so this is applicable long-term. Heart rate and blood pressure data could be added into the same system, however. Doctors could access this data (or even monitor it) to diagnose the progression of a disease or an effectiveness of a treatment. The same data would be of interest for sociologists, marketers, economists, etc coupled with geographic data and age, sex, education level and income. What would the collective mood of humanity look like as seasons change or tragedies and triumphs unfold all over the world?

Click here see a YouTube demo of the base functionality, and the resulting Tweet demonstrating the Twitter Card functionality. I am nearing completion on the iOS app and hope to have it submitted to the app store by the middle of August. It is currently mid-refactoring from the last addition of features and style overhaul. If you are not reading this on the Sterts site, you can see one of the badges in action in the left navigation of my blog.

Once approved in the app store, I will be getting the first round of users in for closed-beta testing. If interested, contact me via @joebaldwin

published:07/28/2013
1