Profile

Cover photo
Verified name
Gerwin Sturm
Works at FoldedSoft e.U.
Attended TU Wien
Lives in Vienna, Austria
57,169 followers|16,440,237 views
AboutPostsPhotosYouTube+1'sReviews

Stream

2
Kathy Walrath's profile photo
 
You're green? Oh no!
Add a comment...

Gerwin Sturm

Shared publicly  - 
 
Nice page, I especially like the code-comparison to get a better idea of what will change with this update.
 
Road to Polymer

Reports related to migrating from Polymer v0.5 to v0.8
2 comments on original post
5
Add a comment...
 
<picasa-album>

I sometimes find myself in a situation where I want to display the contents of a Google+ photo album on another website, and then write some script using whatever techniques are currently my favourite to accomplish this goal.

This time around I created a re-usable Polymer webcomponent, using <core-ajax> to retrieve the data from the Picasa Web Albums Data API and <core-animated-pages> for transitions between thumbnails and the full image.

Source code: https://github.com/Scarygami/picasa-album/
Live demo: https://scarygami.github.io/picasa-album/components/picasa-album/demo.html

PS.: I named this component picasa-album since it uses the old Picasa Web Albums DATA API. There still is no new and shiny Photos API...


#gde   #opensourcecode   #googleplus   #html5   #polymer  
29
4
Jeff Bond's profile photoJeroen Wiert Pluimers's profile photoFranck Schneider's profile photoAbraham Williams's profile photo
3 comments
 
::sigh:: oh how I wish we have a shiny new Photos API... but great example of still making it work with the old Picasa one!
Add a comment...
 
Garden work done so far this weekend:

- Planted several strawberries, can't have enough of those ;)
- Planted orange and purple cauliflower, since we couldn't ignore them in the garden center
- Pruned the old apple and Zwetschge trees
83
4
Anna Kastlunger's profile photoDivine Nature Photos's profile photoTitiwat Tratrawat's profile photomira flor's profile photo
2 comments
 
Nice. You should consider backing an urban farm: https://www.indiegogo.com/projects/aker-print-your-urban-farm--2/x/2994204
Add a comment...

Gerwin Sturm

Shared publicly  - 
 
It's this time of the year again :)
18
Ralf Haring's profile photoGasser Peter's profile photo
2 comments
 
berlauch war ich heute auch sammeln
 ·  Translate
Add a comment...
 
Google Sign-In 2.0

So I started my investigation in the new Identity functionalities that are apparently meant to take over from Google+ Sign-In.
https://developers.google.com/identity/sign-in/

Disclaimer: I haven't looked over all of the docs in detail yet so I might be missing important facts in what I'm writing.

I've started out with some really basic examples to highlight some of the new features here:
https://scary-experiments.appspot.com/signin2/

1) basic.html
This is just the most simple implementation possible. You only define your client-id, no scopes, no nothing.
Compared to the original sign-in implementation this seems even less code than before, especially since the on-success callback now gets a GoogleUser object with basic profile information (id, name, email, image) in addition to the access token so you don't need extra API calls to retrieve this info.

One nice thing with the new button is that it visibly changes state from "Sign in" to "Signed in". In most cases you will still want to hide the button and/or replace it with a "Sign out" button, but I think it's a nice touch.

One thing to consider is that in this basic configuration the `profile` and `email` scopes are added automatically, and some people might be reluctant to share their email if there is no apparent reason to do so for your app, in which case you would have to fall back to my basic-noprofile.html sample (see below).

2) basic-plus.html
One interesting feature they are introducing with the new sign-in is "context-awareness" of the button. Without any special scopes you get a blue Google Sign-in button. As soon as you add a social scope like https://www.googleapis.com/auth/plus.login it is rendered as a red Google+ Sign-in button instead.
This in my opinion is a huge improvement since having a Google+ Sign-in button everywhere where you only needed basic profile information without the social infos like "friends", didn't really make much sense.
I wonder if they will extend that idea to allow for example for "Connect with YouTube" buttons, but I guess this would get confusing/complicated rather quickly with different scopes being mixed, and you can always design your own custom sign-in button (following the branding guidelines).

3) basic-noprofile.html
As I wrote above `profile` and `email` scopes are automatically added to whatever scopes you define for your sign-in.
To prevent this you can set a fetch_basic_profile parameter to false, but this will result in no name/images being included in the GoogleUser object.
Since in most cases you will still need this information you will have to use an extra API call to retrieve it.
This is easy enough since (like with sign-in 1.0) all JS API client library calls will be automatically authenticated so you can simply use a people.get({userId: 'me'}) to retrieve the information. Not much extra work but I think it would still be nice to be able to "fetch_basic_profile" without the extra email scope.

That's it for now, still trying to wrap my head around how to handle some special cases and server-side hybrid implementations :)


One extra note if you are switching from Google+ Sign-in to Google Sign-in:
If you are using the "BasicProfile" the image URL will have a /s96-c/photo.jpg format and be a 96x96 image by default which you can adjust by changing the s96 part.
Via the Google+ API you get profile images as /photo.jpg?sz=50 as a 50x50 image which you can adjust by changing the ?sz=50 part or just adding another sz parameter to the end which will overwrite the other one like photo.jpg?sz=50&sz=100


#gde #opensourcecode #tutorial #googleplus #identity
Google Sign-in Samples. Basic · Basic with social scope · Basic without profile. Developed by Gerwin Sturm, FoldedSoft e.U.. Privacy: The information requested in the samples won't be stored or used for any other purposes. Cookie policy: By using the samples you agree that third-party cookies ...
48
31
Cameron Blackwood's profile photoMatt Chatterton's profile photoMary Ann H Diaz's profile photoMatt Dragon's profile photo
10 comments
 
Great +Gerwin Sturm ! I just updated our app and its working perfectly without asking for Plus account! Many thanks! :)
Add a comment...
In his circles
1,453 people
Have him in circles
57,169 people
Swetlana Zentowski's profile photo
HIROO NAGURA's profile photo
Leo Fejza's profile photo
Priyank Patel's profile photo
Agnes Pagan's profile photo
Betty Ashley's profile photo
your bos's profile photo
Flivio D'Andrea's profile photo
Yvonne Simona Rueff's profile photo

Gerwin Sturm

Shared publicly  - 
 
Today we planted our Strawberry tree/bush (Arbutus unedo) and Feijoa (Acca sellowiana) and continued preparing the space for our greenhouse.
13
1
Anna Kastlunger's profile photo
Add a comment...
 
Over the past few days we took down the garden shed to make room for our greenhouse.
36
1
Jeff Bond's profile photoAnna Kastlunger's profile photo
 
cool, looks awesome ... only thing i'd be thinking about is a better way to fasten the blue trellis to the building, great garden ;)
Add a comment...

Gerwin Sturm
moderator

Discussion  - 
 
 
Google Sign-In 2.0

So I started my investigation in the new Identity functionalities that are apparently meant to take over from Google+ Sign-In.
https://developers.google.com/identity/sign-in/

Disclaimer: I haven't looked over all of the docs in detail yet so I might be missing important facts in what I'm writing.

I've started out with some really basic examples to highlight some of the new features here:
https://scary-experiments.appspot.com/signin2/

1) basic.html
This is just the most simple implementation possible. You only define your client-id, no scopes, no nothing.
Compared to the original sign-in implementation this seems even less code than before, especially since the on-success callback now gets a GoogleUser object with basic profile information (id, name, email, image) in addition to the access token so you don't need extra API calls to retrieve this info.

One nice thing with the new button is that it visibly changes state from "Sign in" to "Signed in". In most cases you will still want to hide the button and/or replace it with a "Sign out" button, but I think it's a nice touch.

One thing to consider is that in this basic configuration the `profile` and `email` scopes are added automatically, and some people might be reluctant to share their email if there is no apparent reason to do so for your app, in which case you would have to fall back to my basic-noprofile.html sample (see below).

2) basic-plus.html
One interesting feature they are introducing with the new sign-in is "context-awareness" of the button. Without any special scopes you get a blue Google Sign-in button. As soon as you add a social scope like https://www.googleapis.com/auth/plus.login it is rendered as a red Google+ Sign-in button instead.
This in my opinion is a huge improvement since having a Google+ Sign-in button everywhere where you only needed basic profile information without the social infos like "friends", didn't really make much sense.
I wonder if they will extend that idea to allow for example for "Connect with YouTube" buttons, but I guess this would get confusing/complicated rather quickly with different scopes being mixed, and you can always design your own custom sign-in button (following the branding guidelines).

3) basic-noprofile.html
As I wrote above `profile` and `email` scopes are automatically added to whatever scopes you define for your sign-in.
To prevent this you can set a fetch_basic_profile parameter to false, but this will result in no name/images being included in the GoogleUser object.
Since in most cases you will still need this information you will have to use an extra API call to retrieve it.
This is easy enough since (like with sign-in 1.0) all JS API client library calls will be automatically authenticated so you can simply use a people.get({userId: 'me'}) to retrieve the information. Not much extra work but I think it would still be nice to be able to "fetch_basic_profile" without the extra email scope.

That's it for now, still trying to wrap my head around how to handle some special cases and server-side hybrid implementations :)


One extra note if you are switching from Google+ Sign-in to Google Sign-in:
If you are using the "BasicProfile" the image URL will have a /s96-c/photo.jpg format and be a 96x96 image by default which you can adjust by changing the s96 part.
Via the Google+ API you get profile images as /photo.jpg?sz=50 as a 50x50 image which you can adjust by changing the ?sz=50 part or just adding another sz parameter to the end which will overwrite the other one like photo.jpg?sz=50&sz=100


#gde #opensourcecode #tutorial #googleplus #identity
Google Sign-in Samples. Basic · Basic with social scope · Basic without profile. Developed by Gerwin Sturm, FoldedSoft e.U.. Privacy: The information requested in the samples won't be stored or used for any other purposes. Cookie policy: By using the samples you agree that third-party cookies ...
10 comments on original post
7
5
Cameron Blackwood's profile photoMatt Chatterton's profile photo
Add a comment...
 
Garden work done today:

- removed some bushes to make room for berries and a strawberry tree (Arbutus unedo)
- prepared the spots for our blueberries
- started assembling our greenhouse
37
2
Erik Isaksen's profile photoHuynh Nguyễn Bá's profile photoYvonne S's profile photoAnna Kastlunger's profile photo
4 comments
 
gorden green
like
Add a comment...

Gerwin Sturm

Shared publicly  - 
 
Properly welcoming spring :)
97
2
William Walker's profile photoMonika Sonak's profile photoAnna Kastlunger's profile photoMary Ann H Diaz's profile photo
7 comments
 
Hm, lecker.
 ·  Translate
Add a comment...

Gerwin Sturm

Shared publicly  - 
 
Obligatory #eclipse  photo :)
43
Petra Wenz's profile photoGerwin Sturm's profile photoPeter Orlowski's profile photo
3 comments
 
Super Fotografiert 😁
 ·  Translate
Add a comment...
People
In his circles
1,453 people
Have him in circles
57,169 people
Swetlana Zentowski's profile photo
HIROO NAGURA's profile photo
Leo Fejza's profile photo
Priyank Patel's profile photo
Agnes Pagan's profile photo
Betty Ashley's profile photo
your bos's profile photo
Flivio D'Andrea's profile photo
Yvonne Simona Rueff's profile photo
Education
  • TU Wien
    Computer Science, 1998 - 2004
  • BG/BRG Knittelfeld
    1989 - 1997
  • VS Knittelfeld
    1987 - 1989
  • VS Grafenwörth
    1985 - 1987
Basic Information
Gender
Male
Looking for
Friends, Networking
Relationship
In a relationship
Story
Tagline
Origami-loving computer geek
Introduction
Computers, Origami, Photography, Music, Android, Cooking, Rubik Cubes and variations, ...
Just to name a few of my interests :)

Very active in developing and playing around with several Google APIs including the Google+ APIs. For my activities, open source projects and support in this area I have been granted membership in the Google Developers Expert program as Google+ GDE 2012-2014.

I have started a series of "About me"-posts which you might want to check out to learn more about me. Start here
Bragging rights
Author of a well-selling Origami book / one of the very first Austrians on Google+ / Google+ GDE 2012-2013 / wrote Glassware before the Mirror API actually launched (and without owning Glass)
Work
Occupation
Software Developer
Skills
Writing Code, Solving Rubik Cubes, Designing Origami
Employment
  • FoldedSoft e.U.
    Owner & Developer, 2010 - present
  • Bayer Austria
    Sysadmin, Software Developer, 1997 - 2009
  • Christophorus Verlag
    Author, 2007 - 2008
    "Origami - Kreative Falt-Ideen" published in 2008 which includes original and traditional Origami Models. / "Origami extra groß" a compilation published in 2013 including several of my models.
  • Halvotec
    Web Developer, 1999 - 2000
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Vienna, Austria
Previously
Knittelfeld, Austria - Grafenwörth, Austria - Spielberg, Austria - Växjö, Sweden