Just saw this guava witchcraft snippet in a code review today from @112047346673343275962.
In this case we wanted to sort by a primary, secondary and tertiary key. However we only want to keep the first 'primary' entry found.
The magic is that ImmutableSortedSet throws away duplicates, and you can define duplication with the orderedBy() method (which should almost be renamed to .orderedByAndEquals())
sorted = primaryOrdering.compound(secondary)
.compound(tertiary)
.immutableSortedCopy(full);
return ImmutableSortedSet
.orderedBy(primary)
.addAll(sorted).build();
#googplus
Should we make a crowdsourced hashtag <--> freebase mid site?
Here's a stillborn site that would have been my first choice for a name...
http://
#googplus
Cloud based Music Queue sounds like an interesting idea. Maybe you could 'fling' your queue to any screen....
https://
#googplus
Can someone help me decipher where this page is being generated? I want to change it to pass in the rel="me" param to the ancient focus widget.
If possible I'd also like to see it use the G+ profile badge instead which is much much nicer.
http://
http://
#googplus
In honor of C-Sprint - *Convoy* and *CB* radio. And Rocketsled on rails, I don't care if it doesn't start with C.
http://
#googplus
Ads folks, good? bad? otherwise?
I want to align the widgets we support with common dimensions used in web layout. What better place to start than the ad-units most sites use.
My goal here is to make widgets fit seamlessly into layouts and make widgets usable for ad campaigns - for example:
- Brand Follower Widget as an mrec.
- Community Widget latest posts with subscribe.
- etc.
http://
#googplus
If I could clone myself I'd spend all my time doubling-down on making Google *the* place for musicians and bands. Between Play, Youtube, Search and Plus we have so much to offer, yet don't wrap it up in a pretty package like we should...
http://
#googplus
Why are we serving up the refresh images? Are the cache headers set properly? I've been noticing this too on desktop and mobile.
Photos team -- any idea what's going on here? @102367365652197389609?
https://
#googplus
Have ideas on how to improve Google+ widgets? Add your ideas and up/down vote existing ideas here:
https://
This uses Lightning which is a frontend to buganizer for ideas collection and management. It's funny how a simplified interface can make such a difference.
Try it out!
https://
#googplus
Is it time to stop domain-sharding for browsers using SPDY?
I notice that we're doing the right thing for images in the Google+ stream:
https://
Guessing there's lots of other places where this pattern is used..
#googplus
How did I miss this? @110388429398517693608 -- how well is this supported?
Man I hope that we only need a style="display:block" tucked in there for converting links to widgets.
http://
#googplus
I'm a bit worried that some Googlers are getting a little obsessive with this game. Not to name names but there are some people that have portals all throughout the googleplex in Mountain View and will take back anything that gets blown up in the matter of minutes.
I suppose it doesn't matter much now that the Resistance has taken over almost everything. I'm not going to bother and channel my obsessive-compulsiveness into my job instead...
#googplus
Everyone. Please add sensible canonicals.
- Especially if you have a 'enable SSL' bit.
- or if you have content that spans multiple domains
- or if you respond to /foo and /foo/ without a 301 redirect on one of them.
I've noticed two canonicalization issues (project hosting and sites) in the past few days. I'm guessing there are many more out there..
http://
#googplus
Anyone looked into this? Happy to see alternates, but I am somewhat concerned about this quote:
_...there seemed to be little interest from Google in changing and extending GPB to address the performance related issues._
http://
#googplus
[ note -- this a test of how social actions increase the score you see on third party websites. To see it in action:
1) Go to techcrunch and note the counter value.
2) Comment/+1 here
3) Reload the page after a few seconds to see the number go up.
wheeeeee!
http://
#googplus
This is pretty nifty. Just need to wrap this in a chrome extension...
https://
#googplus
Begone vile techcrunch transparent image seen in too many shares..
See http://
https://
#googplus
*Suggest* -- _it's not just for search queries_
Is there a "Google Cookbook" resource for our customers on how best to use our plethora of services given a scenario?
The specific example I have is "opening a new restaurant". Here's some of the steps I can see that we might want to suggest.
* -Sign up for a MapMaker account, add your Restaurant.-
http://
Oops, found out you can add your listing here instead:
http://
* _.....wait for review of your edits...._ * Do not create a Google+ profile (yet) despite what you read at:
http://
* Consider Apps For Your Domain http://
* Create a website for your business using Google Sites
(Or maybe Google Drive? Or just host it)
* Sign up for Webmaster Tools.
https://
- Verify website ownership via DNS or 'magic' file.
- Set your geographic target.
- Set up sitelinks for directions/menus
- more?
* Sign up for AdWords. Set your timezone forever and ever:
https://
* Sign up for Google Analytics
https://
* Sign up for Blogger, and create a blog.
https://
* Add the following to your website
- Google Analytics
- plusone/share buttons
https://
* Phew, -MapMaker- Google Local listing approved weeks later!
* Go to the Google+ Places page, and submit request for verification.
* _.....wait for postcard to arrive in the mail....._
* Start posting to twitter/facebook/tumblr/yelp in frustration.
* Get Zagat rated:
http://
email to presskits@zagat.com
[??? Is this obsolete information?]
* Hooray! My business verification postcard has arrived.
* Verify my business! Create my plus page linked to my Places page.
* [delete any plus pages you may have created before this point. so sorry!]
* Connect Plus page to my website
http://
- add magic <link.. tag> or a brand badge widget to verify.
* Add my Opentable link.
* Get interior street view for my business
http://
* Add Blog/Social Networking links to my Plus page for authorship.
* Upload photos to my Plus Page.
* Get Followers for my Page and have them write reviews.
* Sign up for Google Offers
https://
* Start an Adwords campaign.
* Post regularly to the PlusPage by setting a reminder email.
After poking around gathering these links it really makes you realize that our Org Chart is on display and how painful this is for users that just want to get things done. I also realize that we've made great progress in unifying many services.
That said, there's lots that could be done. Can we suggest the next step to a user? Can we remove the speed bumps between products. Can we infer customer intent? ("It looks like you're opening a restaurant, you might want to do A, B, C next.)
#googplus
IDF needed: *Method of generating culturally non-offensive hash numbers.*
Requesting "Satan's number" removal from my profile!!
Jacob Ryan Hughes Jan 10 08:49PM -0800
I am requesting an *immediate* URL number sequence change!! The pattern in
my profile's number sequence has the following 3 in a row 6s, symbolizing
"Satan's number" in the Bible. It wasn't until today (01/10/2013) that I
realized that the number sequence had the following "symbol". I will even
pay for a shorter URL for the inconvenience! Please help me resolve this
issue!!
Here is my profile
https://
#googplus
Meeting room occupied beyond the end time? Try this:
1) Find the hangout for the meeting that's running over.
2) Join the hangout.
3) Add Youtube app.
4) Play annoying videos
http://
#googplus
Potential Aspen partner for using people.list APIs
https://
#googplus
Anyone have a copy of this lying around? If not I'll expense a copy (or two).
A good chunk of it is in Google Books, but would like to read the rest of it.
http://
#googplus
A little something shared with me by my former colleagues at LinkedIn.
http://
#googplus
The secret truth -- the ITU wants deep packet inspection to fix their Content-Type charset headers..
https://
#googplus
+1 buttons on LinkedIn? Amazed. Amazed.
http://
#googplus
*Hidden Riches!*
From java-libraries-dev
ImmutableMultimap has an inverse() method, so it's really also ImmutbaleBiMultimap.
http://
#googplus
Count -all- more of the +1s !!!
And we can even beat twitter when the article isn't being reposted by tons of bots, like this:
http://
https://
#googplus
Pasting in my sell-my-soul listing. Please bid -- at 4.50/hr this is technically illegal for California minimum wage laws....
https://
Is your code tired, riddled with lint and deprecation warnings? Send it off to my exclusive day spa for 8 hours of luxury. My special treatments include:
- Lint detox -- remove all subdermal lint errors found with -v
- Dependency liposuction - run reducedeps on your tired BUILD files.
- javascript manicure - buff and polish with fixjsstyle.
- Hot stone deprecation massaging.
- Dead code exfoliation using scythe.
#googplus
*LTBD* - Little Things, Big Difference.
Last week I had a very satisfying LTBD moment. I discovered that many webmasters were double escaping url params in their +1 widgets. Fixing this little thing caused a noticeable boost in +1 renders and creations and a big big drop in error logs -- big difference.
2 years ago when I was at LinkedIn this was a formal policy direct from Deep Nishar, head of PM. Each engineer was supposed to tackle an LTBD item for each sprint. These are the little things that make the product easier to use, clearer, or fix annoying bugs.
http://
#googplus
Pennies from Verizon prepaid 3G bandwith. I find it fun to see how badly people implement their payment systems. Worried a little bit that end-users won't.
[note: 1st attempt was with wrong zip code]
https://
#googplus
Music appropriate for
blaze-bin/devtools/janitor/terminator
http://
#googplus
Anyone work with reverbnation? Would be nice to get them supporting Google+
http://
They're probably already using our APIs since they target Youtube. They also have one of the larger mappings of social media links I've seen.
http://
#googplus
Dear #lazyplus
Curious if anyone's done any work on recognizing URL redirectors where the target is embedded inside the link?
http://
It seems like we could derive some significant benefits by knowing that links like this go to the eventual target.
I did find go/linkdoctor but that's not quite right.
Also @114489135332974198500 for this weird-ass snippet that came from this link..
http://
#googplus
New spam vector:
1. Buy spammy press release on prweb http://
2. Wait for press release to be republished on thousands of news sites (see below).
3. Bot page views like crazy
4. Wait for article to appear in 'trending/what's hot/most read'
...
6. profit!
Anything we can do about the spammy site originating this?
http://
http://
#googplus
Forget #enlightenment vs #resistance ..
we have robots vs gfs
And the robots are going to win
cr/39137693
#googplus
What's the state of the art for publishing bloom filters in these parts?
_Problem_: need a way to identify if a URL is a Google+ plus page without sending an RPC all the time. It's acceptable if recent plus pages are not included.
There are any number of MRs that iterate over the all gaia-space that could compute this and put it someplace.
Anyone with good examples of this in practice?
Is there a super-secret bloom filter publishing service that I'm not aware of (and if not, maybe there should be?)
[Obviously once I have the persisted bloom filter then I can play around with doing incremental updates from a subscriber to a goops feed and all that.]
#googplus
Since some folks have never heard the expression....
http://
#googplus
When things go pear-shaped..
Given recent events I'd like to reminisce on one of the best pro-customer things I've had the honor of being involved with.
When I worked at Six Apart in 2005 we let the customer decide how much pain they felt, and let them choose how much they want to be compensated. I'd love to see this replicated for N4 customers by offering them 5, 10 or 20GB of free drive storage. Or none, if they so choose.
http://
#googplus
Loose lips...
This weekend I was at a restaurant in the Mission and learned the following information about Facebook:
* They have a team of 6 people working on App Ranking. That's ranking Applications in the stream and in their new ad system.
* Their shuttles don't have wifi, but you can expense a data card.
So the next time you're at a restaurant or bar, remember, someone might be listening.
#googplus