Giter VIP home page Giter VIP logo

glassfit's Introduction

Hi, I'm Noble ๐Ÿ‘‹

alt text

  • ๐Ÿ”ญ Iโ€™m currently working on my first Flutter app in my spare time. Fun.
  • ๐ŸŒฑ Iโ€™m always learning... Machine Learning (Encoder/Decoders for Transformer models).
  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on the first and second thing
  • ๐Ÿ’ฌ Ask me about Product Strategy, AI Governance, Extended Reality, or Data Privacy
  • โšก Fun fact: Very high likelihood you saw me in a car ad once if you live in the US and watch TV.

glassfit's People

Contributors

rgrinberg avatar stigsfoot avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

glassfit's Issues

Workout cards, to patch or to insert?

Testing this on the device brings up somethings I never thought about initially. We may need to patch existing cards vs. insert a new card for each workout because the timeline gets littered with old cards that are done. The user doesn't need to see those anymore.

OAuth invalid_grant error

invalid_grant
Traceback (most recent call last):
File "/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1535, in call
rv = self.handle_exception(request, response, e)
File "/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1529, in call
rv = self.router.dispatch(request, response)
File "/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1278, in default_dispatcher
return route.handler_adapter(request, response)
File "/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1102, in call
return handler.dispatch()
File "/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 572, in dispatch
return self.handle_exception(e, self.app.debug)
File "/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 570, in dispatch
return method(_args, *_kwargs)
File "/base/data/home/apps/s~xglassfit/1.368491947830689972/glassfit/tasks.py", line 68, in post
self.mirror_service.timeline().insert(body=card_body).execute()
File "lib/oauth2client/util.py", line 131, in positional_wrapper
return wrapped(_args, *_kwargs)
File "lib/apiclient/http.py", line 675, in execute
body=self.body, headers=self.headers)
File "lib/oauth2client/util.py", line 131, in positional_wrapper
return wrapped(_args, *_kwargs)
File "lib/oauth2client/client.py", line 496, in new_request
self._refresh(request_orig)
File "lib/oauth2client/client.py", line 665, in _refresh
self._do_refresh_request(http_request)
File "lib/oauth2client/client.py", line 712, in _do_refresh_request
raise AccessTokenRefreshError(error_msg)
AccessTokenRefreshError: invalid_grant

Screen Timeout

Need to figure out how to keep the screen from timing out (going to sleep) during a 30 second workout. When user wakes screen, countdown animated assets starts over, which artificially throws off queue timer

Resources

Regarding Templates

Mockup templates

Welcome Splash - http://glassfit.org/promo/14%20-%201.png
Upcoming workout list (bundled with instructions etc) - http://glassfit.org/promo/14%20-%202.png
Warmup menu item - http://glassfit.org/promo/14-%204.png
Situp workout - http://glassfit.org/promo/glassfit-proto-situp.png
Taking a break - http://glassfit.org/promo/glassfit-proto-rest.png
Heart Rate/Stats (*mockup)- http://glassfit.org/promo/glassfit-proto-hr.png
Pushup workout - http://glassfit.org/promo/glassfit-proto-pushup.png
Tricep workout - http://glassfit.org/promo/glassfit-proto-tri-kicks.png
Pullup workout - http://glassfit.org/promo/glassfit-proto-pullup.png
Share achievements to G+ (future feature) - http://glassfit.org/promo/glassfit-proto-gplus-appactivity.png

Regarding TaskQueues on Glass

From G+ conversation with other glass devs

Regarding allowed HTML tags

Allowed HTML elements: Use these elements in your timeline cards.

Headers: h1, h2, h3, h4, h5, h6
Images: img
Lists: li, ol, ul
HTML5 semantic: article, aside, details, figure, figcaption, footer, header, nav, section, summary, time
Structural: blockquote, br, div, hr, p, span
Style: b, big, center, em, i, u, s, small, strike, strong, style, sub, sup
Tables: table, tbody, td, tfoot, th, thead, tr

Blocked HTML elements: These elements, and their contents, are removed from html payloads.

Document headers: head, title
Embeds: audio, embed, object, source, video
Frames: frame, frameset
Scripting: applet, script

Other elements: Any elements not listed above are removed, but their contents are preserved.

New rest.json doesn't get loaded

our service keeps loading the old Rest.json payload. Look at code, then logs you'll notice the weirdness. Do you know what might be causing it?

Get me access to properly experiment with glass

Just creating this issue to brainstorm some ideas.

  • My googleapi credentials for any project cannot be used since my account hasn't been vetted to access the mirror api.
  • Playground is very limited. It's not clear whether I can interact it with using a python gae app.

We can look into:

  • keep banging on playground
  • somehow sharing your credentials with me safely. Actually having the glass device doesn't seem to be that important if I can see cards in any browser.
  • Somebody put in a lot of work into emulating the mirror api over here: https://github.com/Scarygami/mirror-api
    not sure if this is worth pursuing however.

Share workout stats

Immediate need: Explore if the built in Share target to see how we can share a snapshot of finish card.

Our direction with GlassFit user profiles/acheivements (feel free to add/edit/amend)
Ability to share user workout stats via Google+ interactive posts (see: https://developers.google.com/+/web/share/interactive):

Google+ Profile Photo/Name
Name of Workout
Difficulty
Workout Time
Total workout time
Calories burned
Background Image

Note that while you work on these backend requests, I'm going to start working on a user frontend so that when the interactive post is shared viewers land on a public profile for the user.

Cleanup notify.py.

Right now it's a mess. The main issue is to combine our own notification handlers with the existing handlers from the the quickstart project.

figure out how to handle images

It's considered to be bad practice to include images (or any binary files) in a git repo.
We should probably host the files elsewhere or have someone deploy them to GAE manually.

Worst case I can host them on my vps which has a static IP for development only.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.