Profile cover photo
Profile photo
Gerwin Sturm
62,628 followers -
Origami-loving computer geek
Origami-loving computer geek

62,628 followers
About
Posts

Post has attachment
Finally! Unfortunately pets aren't included in the auto-saving and filter functionality for shared libraries yet...

Post has attachment
Cloud Firestore Quicktip - DocumentSnapshot vs. QuerySnapshot

Since the Firebase team launched Cloud Firestore last week, one question/problem that keeps popping up on Stackoverflow is the result of there being two different ways to retrieve data that have to be handled slightly differently. So after answering several of those questions I though it would be a good idea to put together this short article.

https://medium.com/@scarygami/cloud-firestore-quicktip-documentsnapshot-vs-querysnapshot-70aef6d57ab3

Post has shared content
We've changed our name – API.AI is now Dialogflow! With Dialogflow, you’ll have an end-to-end platform for everything you need to build great conversational experiences, including: prototyping an idea, testing locally, deploying widely, training with real data, and monitoring/analyzing for performance.

Along with our new name, here are two new features to help you build out your flow of dialog:
1. In-line code editor so you can write fulfillment logic directly in the console
2. Multi-lingual agent support so you can add additional languages to your agents

Learn more about our new name and two new features here: https://goo.gl/Eh9SKH

Post has attachment
Just now from the train :)
Photo
Photo
10/6/17
2 Photos - View album

Post has shared content
Introducing Cloud Firestore: store, sync and query your app data at global scale easily

Read the blog here → goo.gl/m3pmWG

Post has attachment
Our pumpkin/squash/zucchini (+ some cucumbers) harvest :)
Photo

Post has attachment
We spent our yearly IT conference in the beautiful nature of Logarska Dolina in Slovenia.

https://photos.app.goo.gl/rH3108WoB7xvXefO2

Post has attachment
Differential Serving on Firebase Hosting

Polymer 2.x/3.x brought the standards-compliant ES6 class-based syntax for defining Web Components. This works well for most modern browsers and ES6 has a lot of other nice features (like arrow functions) to make your JS code cleaner and more fun to write.

But if you need to support older browsers like IE 11 you will have to compile your code to ES5 which comes with performance drawbacks for modern browsers compared to running ES6 on them directly.

The ideal approach is to use differential serving to serve the ES6 version to modern browsers and a fallback ES5 version to older browser. prpl-server-node is a sample implementation of a Node server that uses this pattern. I took the ideas from this implementation and created a sample based on the polymer-starter-kit on how you can use differential serving on Firebase Hosting using Cloud Functions for Firebase for dynamically sending the right version to the user.

https://medium.com/@scarygami/differential-serving-on-firebase-hosting-f83c33b83a8e

Post has attachment
They grow up so quickly! 2.5 weeks vs. 5 months.
Photo

Post has attachment
Photos from a few days in Krakow, featuring the salt mines, the Google Developers Experts Summit, and the Google Developer Days Europe.

https://photos.app.goo.gl/2uSeoE7JejcqObQC2
Wait while more posts are being loaded