By - 168,791 Followers - 153 Posts - Public

Stream

Gerwin Sturm

Shared publicly  - 
 
Fortune Teller

If you have a Google Home device, you can use my ingenious Fortune Teller to get your predictions for 2017.

In the backend Fortune Teller is a very sophisticated API.AI agent with a total of two intents.

One welcome-intent to greet you and tell you what Fortune Teller can to.

And one more intent that takes your question and uses a very complicated algorithm to randomly choose among a couple of possible answers.

The most difficult part was probably creating all the images and descriptions necessary to get the Action through the review process.

I did some more experiments and demo projects with Google Actions (with and without API.AI) that have some actual code behind them as well, so I will have some more things to show you next year (according to Fortune Teller).

49
4
Jennifernadine Romero's profile photoIza GALLAGHER's profile photo
5 comments
 
I have Chromecast. How can I use? I got curious about a fortune teller geek
Add a comment...

Gerwin Sturm

Shared publicly  - 
 
Warning This book starts off innocently with things like Morse and Braille only to sneakily teach you more about writing machine code in assembly language than you will ever need.

So yeah, I really like this book :)
226
20
Rodrigo Schio's profile photoLuigi A.'s profile photo
22 comments
 
Looking forward to get it w
Add a comment...

Gerwin Sturm

Shared publicly  - 
 
generator-polymer-init-custom-app

One of the first things I usually do when I create a project using `polymer init` based on the Polymer Starter Kit [1] is to go through all the files and rename/change the elements and titles to fit whatever app I'm planning to do.

Instead of doing this process over and over again I have now created a custom generator that is based on the starter kit, but allows you to customize a bunch of parameters, including adding a variable number of sub-pages with title and route names.

And with this I can create awesome apps in a matter of 2 minutes ;)

Demo: https://www.youtube.com/watch?v=qfpZ5kH0MaQ
Source code and instructions: https://github.com/Scarygami/generator-polymer-init-custom-app

I will try to keep this generator in sync with the Polymer Starter Kit.
Suggestions, ideas, feedback and PRs welcome :)


[1] https://www.polymer-project.org/1.0/toolbox/templates
[2] https://www.youtube.com/watch?v=A_OEdyhgnKc
53
1
Gerwin Sturm's profile photo
2 comments
 
I also have a similar generator for internal apps at work, which already includes all the necessary branding :)
Add a comment...

Gerwin Sturm

Shared publicly  - 
 
Some random notes in no particular order from Day 1 of the Polymer summit:

Polymer 1.0 apps can be upgraded incrementally to Polymer 2.0 thanks to hybrid mode.

https://beta.webcomponents.org/ will be the/a new home for all web components

Firebase on the web (and polymerfire soon) now supports Firebase cloud messaging.
https://firebase.google.com/docs/cloud-messaging/

Some features to look out for when it comes to performance:
- `initial-count` property of dom-repeat
- `strip-whitespace` propery of templates
- Polymer.RenderStatus.afterNextRender to do non-important stuff after the first render
- https://poly-icon.appspot.com/ to create custom icon-sets with just the icons you need.

Closure compiler works with Polymer with some caveats (and an open issue for Polymer 2.0, that should be fixed soon)

MPDIA! https://www.youtube.com/watch?v=6m_E-mC0y3Y

All the video recordings from Day one are available already:
https://www.youtube.com/playlist?list=PLNYkxOF6rcICc687SxHQRuo9TVNOJelSZ

And the codelabs can be done from home as well:
https://codelabs.developers.google.com/polymer-summit-2016


#polymersummit
22
Noble's profile photoQueenloe reid's profile photo
3 comments
 
ok
Add a comment...

Gerwin Sturm

Shared publicly  - 
 
You can do the Polymer Summit codelabs at home as well: https://codelabs.developers.google.com/polymer-summit-2016

#polymersummit
33
6
Add a comment...

Gerwin Sturm

Shared publicly  - 
 
api-ai-interface

I started playing with API.AI a while ago (because of Google Actions), and thought it would be nice to have an easy way to include a conversational agent in a website, so I started creating a Polymer Element to do just that.

https://github.com/Scarygami/api-ai-interface

This is actually a collection of elements.

<api-ai-input> is a voice-enabled input element that can very well be used outside of API.AI context as well.

<api-ai-api> interacts with the API.AI API sending and receiving messages. This element is only very basic at the moment. The API has a lot of interesting feature included that are not handled at the moment at all.

<api-ai-interface> puts everything together to have a simple plug-and-play component to place in a website.

The element is very much work in progress at the moment (as are most my projects), but it works to hook it up to your API.AI agent for some basic conversational actions. Expect more updates on this element next year.

Live demo:
https://scarygami.github.io/api-ai-interface/components/api-ai-interface/demo/

144
21
Derik Davis's profile photoTalking Cloud's profile photo
14 comments
 
Too restrictive to be used as a search bar alternative, more like a website sidebar addition 
Add a comment...

Gerwin Sturm

Shared publicly  - 
 
A new toy to play with for Christmas, and that I'm planning to do some coding with using the Web Bluetooth API once I find some time.

I already did some coding work in the past with the "old" Sphero using the Bluetooth API of Chrome Packaged Apps:
https://plus.google.com/+GerwinSturm/posts/U6hgWKPS5fm
https://plus.google.com/+GerwinSturm/posts/ht116qKdKgF

But a lot has happened on the web platform since then :)
33
3
François Beaufort's profile photoRocky singh rajawat's profile photo
5 comments
 
Happy new year
Add a comment...

Gerwin Sturm

Shared publicly  - 
108
5
JORGE EMANUEL CÁCERES's profile photo
6 comments
 
hola!
 ·  Translate
Add a comment...

Gerwin Sturm

Shared publicly  - 
 
#PolymerSummit highlights from this morning:

New linter/analyzer friendly declarative syntax for lazy imports
https://github.com/Polymer/lazy-imports

New Polymer analyser:
https://github.com/Polymer/polymer-analyzer

yarn as a npm-based package manager for Polymer-friendly flat dependencies:
https://www.npmjs.com/package/yarn

The new Polymer bundler (aka vulcanize) will allow more control over sharding dependencies together:
https://www.npmjs.com/package/polymer-bundler

Polymer Editor Service for linting, auto-completion, docs for VSCode, Atom, Sublime, ...
https://github.com/Polymer/polymer-editor-service


24
1
Nina Lynn Nordick's profile photoGerwin Sturm's profile photo
2 comments
 
+Nina Lynn Nordick Polymer is a library built on top of the web-components standards for building (progressive) web apps. The links in my post are a bunch of tools and updates they announced during the summit.
Add a comment...

Gerwin Sturm

Shared publicly  - 
 
Live stream for Day 2 of #polymersummit, starting in about an hour: https://www.youtube.com/watch?v=zxcfPACo4-g
30
2
Add a comment...