4 ms·
It'd like to see them do a story about Alphabet's Google's YouTube.
by nostromo 11y ago
It'd like to see them do a story about Alphabet's Google's YouTube.
- jinst8gmi 11y agoOr one about Alphabet's Google's use of Alphabet's Google's Google+ for comments on Alphabet's Google's YouTube Red videos.
- nostrademons 11y agoSomehow this feels like I'm writing C code but am unable to take a pointer to anything but the top-level object.
- steckerbrett 11y agoGOOGLE PLUS GOOGLE ALPHABET
- HillaryBriss 11y agoIt's much more beautiful if you use Android SDK: private boolean googleSubsidiaryConnectionSuccess = false; private boolean googleSubsidiaryConnectionInProgress = false; private GoogleSubsidiary googleSubsidiary = null; private GoogleVideoHostingManager googleVideoHostingService = null; @Override protected void onCreate(Bundle savedInstanceState) { GoogleApiClient.Builder builder = new GoogleApiClient.Builder(this) .addSubsidiary(AlphabetSubsidiaries.GOOGLE_SUBSIDIARY); GoogleApiClient client = builder.build(); client.connect(); googleSubsidiaryConnectionInProgress = true; } @Override protected void onActivityResult(int requestCode, int resultCode, Intent data /* ignored */) { if (requestCode == GoogleSubsidiary.EXISTS_AND_IS_PROFITABLE) { // actual value is -11 if (responseCode != Activity.RESULT_OK) { Log.w(TAG, "could not get subsidiary"); googleSubsidiaryConnectionSuccess = false; if (!client.isConnecting()) { Log.v(TAG, "calling googleApiClient.connect again"); client.connect(); } } } else { Log.w(TAG, "Google subsidiary may be out of business. Not sure."); if (!googleSubsidiaryConnectionInProgress && !client.isConnecting()) { client.connect(); } } } @Override public void onConnected(Bundle connectionHint) { googleSubsidiaryConnectionSuccess = true; googleSubsidiaryConnectionInProgress = false; GoogleSubsidiaryToken googleSubsidiaryToken = GoogleSubsidiaryUtil.getToken(activity, GOOGLE_SUBSIDIARY_TOKEN_REQUEST_SCOPE); try { googleSubsidiary = (GoogleSubsidiary)GoogleSubsidiaryUtil.getSubsidiaryObjectFromToken(googleSubsidiaryToken); googleVideoHostingService = (GoogleVideoHostingManager)googleSubsidiary.getService(GoogleSubsidiary.YOU_TUBE_SERVICE); if (googleVideoHostingService == null && !client.isConnecting()) { client.connect(); } } catch (SubsidiaryTokenOutOfDateException ex) { googleSubsidiaryConnectionSuccess = false; if (!client.isConnecting()) { client.connect(); } } }
- kzhahou 11y agoIn Java: Alphabet.getGoogle().use(Alphabet.getGoogle().getGooglePlus(). getCommentFactory(), Alphabet.getGoogle().getYouTube(). getVideos(com.alphabet.google.youtube.RED)) In python: import alphabet.google as google google.apply(google.google_plus.comments, google.youtube.videos(google.youtube.RED)) Am i doing it right? (edited for javaness!)
- jinst8gmi 11y agoAlmost, just change the getters to lowercase 'g'et and add a bunch of unnecessary Spring boilerplate on top of it all.
- aidenn0 11y agoAlphabet.subsidarySingletonFactoryFactory("Google").singletonSubsidary("YouTube")
- petarb 11y agoIn some ES6 JavaScript: import {google} from 'alphabet'; let {google_plus, youtube} = google; google.apply(google_plus.comments, youtube.videos(youtube.RED));
- deleted 11y ago[deleted]
- deleted 11y ago[deleted]
- onedev 11y agoThere's a funny chrome extension to be made here. I'll let someone else take the initiative.
- dchest 11y agoYou mean, Alphabet Inc.'s Google's Google Chrome operating system's Google Chrome browser extension?
- obel1x 11y agoInitiative taken! :) https://chrome.google.com/webstore/detail/alphabet-incs-google/cfklhcgmbgdmikfnlnbglcijihghingd https://chrome.google.com/webstore/detail/alphabet-incs-goog...
- saturdaysaint 11y agoHave you tried Alphabet's Google's YouTube's Youtube Red?
- zbyte64 11y agoIsn't that the paid version of redtube?
- dsmithatx 11y agoI'm pretty sure he means redtube where free porn comes from.
- munificent 11y agoDon't forget Alphabet's Google's Google Music All Access.
- contravert 11y agoYou missed a word! It's actually Alphabet's Google's Google PLAY Music All Access