Skip to main content
 

Need to name your sprints?  Here you go...


http://en.wikipedia.org/wiki/List_of






 

TIL

% blaze menu









 

Sharing my personal tips for

By using the tips below I'm down to 2 passwords and two gnubby touches per-day.

https://wiki.corp.google.com/twiki/bin/view/Main/MacRoadWarrior









 

Nice thing about using Chrome Canary as my primary browser is I occasionally commit *Tab bankruptcy* at random intervals.









 

*Paul's Guide to Youtube spammers*

G+ uses a reputation system and it gets better if it's properly trained.  Here's how to help.

1) Find a video you like.
2) Select *Newest First* Comments.
3) Find a spammer!  Selling instagram followers, make money at home, PSN codes, ascii-"art", Home "remedies" etc.
4) Hover over the timestamp
   - If it's a link to a video, you have a skinny page, report it inline.
5) If it's a G+ profile cmd-click into a new tab
6) On the opened tab click on the profile link in the left card.
7) Amaze at the series of spam posts
8) Report them as spam from the drop-down until you get bored
9) Block/Report the profile if you deem it appropriate
10) For particular nasty stuff or if you detect certain patterns escalate at

  http://go/es-abuse

And follow the instructions in the bug template.









 

How many youtube comments have *you* flagged for abuse today?









 

Paradigm shift.  Post->Create, View->Search.

I think part of the YT problem is one of perception that reminds of the early days of Gmail.  Remember when you 'put' messages in 'folders'?  That's what people think of when they post.  Instead you have 'Content' that is created that has certain attributes.

When you have content with attributes you can use search to surface it, rank it, and filter it.

So my minor suggestion for Youtube comments is to add a really simple thing: Add _Searching for Comments..._ to the loading indicator.









 

Paging absentee Google-owned Youtube channel owners -- time to start policing your comments.  If you're not going to moderate *and engage* just disable comments.   Otherwise while you're away the partying teens will trash the place.

For sport and old-times-sake I spent time reporting porn/abuse/spam on popular videos and Google-owned channels.  I saw the usual hideous garbage in "Newest First", but what I didn't see was any engagement from the channel owners.

So to repeat, own your channels.  Moderate and engage.  Moderate and engage. *Moderate and engage*.

[Also banning a few abusive individuals will go a long way towards eliminating the ascii-art genitalia until the ML algorithms catch up..]


http://www.nydailynews.com/sports/football/ex-nfl-player-home-trashed-hundreds-partying-teens-articl...






 

 

The SNS space keeps shifting.  Hyves is now moving from a general purpose social network to a gaming focused one.

I hope that works out better from them than it did for hi5.


http://hyves-corporate.pr.co/63596-hyves-transformeert-naar-online-gaming-portal






 

*Day of the Dead (code)*

Find dead build targets at http://deps/unused  then do this:

  blaze build devtools/janitor/terminator
  sed 's/ .*//' |xargs -n 1 blaze-bin/devtools/janitor/terminator
  ** PASTE LINES FROM deps/unused **
  ^D









 

I had to show this to a few people this weekend to help them understand my human cannonball t-shirt.


http://www.youtube.com/watch?v=HSizGn8vbFQ






 

Would using the term _Google+ deniers_ be too harsh?









 

One benefit of missing the shuttle is visiting the West Oakland McDonalds and observing the use of technology. Pretty much the opposite of Google demographics you can find anecdotal societal changes first hand at the WiFi watering hole.

Mobile first. Yes
Bluetooth headsets - more than you'd think.
Parents and kids on ancient wintel laptop.
Multiple IPads with keyboards.

Religious argument ended with "Look it up on YouTube!"



https://plus.google.com/photos/107786897865850743842/albums/5941325952242369169/5941325947220876290?...






 

Whatever's on the barge in the bay better be good.  Otherwise William Gibson and I will both be disappointed.

_"He's at Google CAZ. See the knuckle tats?" They all dress like 50s longshoremen, particularly the women._


https://twitter.com/GreatDismal/status/395649357791248384






 

Farewell iGoogle and your hundreds of quality Zombie gadgets.

For perspective Campfire 1 was 6 years ago on Nov 1st.  At hi5 we wanted to create a Day of the Dead gadget but ran out of time (hi5 was super popular in south/central america, so it would have been a natural fit..)


https://plus.sandbox.google.com/photos/107786897865850743842/albums/5940941643516135201/594094164049...






 

T-Mobile user with a grandfathered plan?

Install this before you upgrade to KitKat...


https://play.google.com/store/apps/details?id=com.pdanet#body-content






 

Be careful removing 'unused import' for protos.  strict deps don't apply in this case so you'll want to test compile with global presubmit...









 

IE9 - the doughnut hole of web animation...

svg works well on all browsers except IE8, and Gingerbread
css3 animation works on IE10+
svg smil?  everything with svg, but not on IE at all.
requestAnimationFrame?  nope.

http://caniuse.com/


http://caniuse.com/






 

We need pet names for KG

then I can query "name of deadmau5's cat" and get the answer

Professor Meowington phd









 

Some good advice here..  auth-refresh is very handy..

https://wiki.corp.google.com/twiki/bin/view/Main/MacRoadWarrior









 

What's the word?  hideous, yes that's the word.

This is the new commenting system on sfgate.  The trolls over there get the commenting system they deserve I guess....


http://viafoura.com/






 

Bin packing is NP Hard....

1st time with Shopping express-extended.  Oh the boxes!

Bottom box is 2ft ^3 -- toilet paper/paper towels.
Middle boxes contained misc things from other stores.
Top-one is 14" ^3 -- It contained a 4-pack of cucumber soda and enough bubble wrap to float a boat.

I'm saving the boxes and should be able to reuse the smaller ones.  I did send feedback to team about this situation.


https://plus.sandbox.google.com/photos/107786897865850743842/albums/5935415229161068849/593541523094...






 

 

G+ Inspired UI at http://littlemonsters.com

- Sidebar with icons for apps
- Cards for posts and expanding comments
- Mole-based chat system.
- Header that collapses when you scroll down
- Big Red Buttons!


https://plus.sandbox.google.com/photos/107786897865850743842/albums/5933274801685382769/593327480394...






 

Found a few tips here.  Color prompts, didn't realize that g4's -c flag would tab-complete.

Added a comment about setting the tmux title using

  tmux rename-window

Now I have a decent set of titles instead of

1 bash 2 bash 3 bash 4 bash 5 bash 6 bash 7 python ...


https://docs.google.com/a/google.com/presentation/d/1xh9sh8jtl36h_-Ys8DYQL2ddryjhr_jiObqT5Dl8k9Y/edi...









 

Sometimes you want down and to the right too...  At least when it comes to Focus Query cost.


https://plus.sandbox.google.com/photos/107786897865850743842/albums/5932436428764399185/593243642916...






 

Parameterized tests in Junit 3 -- another Java

Adding some experimental code that modifies a junit3 test?  Yearning for Junit4 @RunWith(Parameterized.class) annotation?

For simple things like an experiment flag you can do this:

Add the flag to the base test class.

   boolean experiment = false;

Create a subclass of your test and change the value in your setUp method:

 class FooWithExperimentTest extends FooTest {

 @Override
 protected void setUp() throws Exception {
    this.experiment = true;
    super.setUp();
  }
}

Your subclass will run with the varying value.









 

ProtoAssert is a java testers best friend.

ProtoAssert
  .assertThat(result)
  .ignoringField(...)
  .isEqualTo(expected);









 

TAP submit speedup 

- You mail a CL
- The presubmit automatically starts a TAP run.
- You get an email with the results.
- You did *not* change the CL after you mailed it.

If all of the above is true, use the TAP base with *--rerun* when submitting to save time.  The base is in the email TAP sends you and it looks like this:

  OCL:53489329:BASE:53489326:1380560146993









 

 

NYC Googlers -- recommendations on laptop repair?

My sister-in-law spilled Sierra Nevada on her 2010 MacBook Pro and I'm trying to help her.  I found http://http://www.laptopmd.com/ and they quoted 65 to clean the motherboard and replace the keyboard.

She's living on grants and piece work so if you know of a better deal let me know.


http://www.laptopmd.com/#header






 

Somethings wrong when fiber to the home comes to rural Minnesota before the bay area...

[This is a little town 1200 people about 30 miles from Rochester MN]


http://www.kmtel.com/internet/high-speed/






 

SVG, it's VRML for flatland.

Hacking on svg is bringing back memories of another markup language with multiple coordinate systems..

I am writing up a little guide on how to get productive with SVG so others can benefit from my pain.


http://www.wiley.com/legacy/compbooks/vrml2sbk/ch06/06fig09.htm






 

Protip: Use Optional#asSet() to populate collections from optional values.

Was annoyed with lots and lots of code that looks like this:
   Optional<Foo> foo = getFoo();
   if (foo.isPresent()) {
     collection.add(foo.get());
   }

Turns out there's asSet which lets you write code like this:

  collection.addAll(getFoo().asSet());









 

How to make your java *testing* rules test-only.

Here's a crude script you can use to automatically set testonly=1 on _testing_ targets that qualify (and tells you why others cannot be testonly)  If there's interest I'd be happy to clean this up and put it somewhere...


 DEPS=blaze-bin/devtools/deps/depserver/query/depends_on  --testonly=0 `

  echo "PROCESSING - "
  TESTONLY_NUMDEPS=`echo ""|wc -l`
  if [ == 1 ]; then
    buildozer 'set testonly 1'
    buildozer fix
    echo "ADDED testonly=1 to target  "
  else
    echo "FAILED to add testonly=1  for target "
    echo ""
  fi
 done









 

How to make your java *testing* rules test-only.

Here's a crude script you can use to automatically set testonly=1 on _testing_ targets that qualify (and tells you why others cannot be testonly)  If there's interest I'd be happy to clean this up and put it somewhere...


 DEPS=
 for XX in ; do
  DEPENDS_ON=

  echo "PROCESSING - "
  TESTONLY_NUMDEPS=1
  if [ == 1 ]; then
    buildozer 'set testonly 1'
    buildozer fix
    echo "ADDED testonly=1 to target  "
  else
    echo "FAILED to add testonly=1  for target "
    echo ""
  fi
 done









 

After cleaning up Google+ Games I moved up to #221 on the all-time code deleter list.

Should break #200 once the chili removal CLs are all submitted and accounted for..

For future me, here's the dremel to find out..

define table stats /cns/pb-d/home/omoikane/change_stats/columnio/changes-*
SELECT user, SUM(file.deleted) AS lines FROM stats GROUP BY user ORDER BY lines DESC LIMIT 225;









 

*Two hundred dollar bid, now three, now three hundred, will ya give me three?*

_I researched some of your information online and you seem like an analytical person, so I thought I'd hit you with some numbers that show why Developer Auction is hands down the best tool for finding your next job - if and when you're ready to look._

_We just successfully completed our 13th auction, where 90 engineers received offers with a total value of 3,147,111. The average offer for a software engineer on Developer Auction is 24,816.33. Over 600 companies like Twitter, Klout, and UberConference have used our platform to hire top tech talent. On Developer Auction, you'll receive compensation, bonus, and salary information from employers first, and interview second, making DA the best place for you to find your next career opportunity._

_Our next auction starts August 19th. If you click the link below and create a profile, once it's complete, we'll review it for inclusion. Even if you're not looking to change jobs right now, if you build a profile, we'll keep you in mind for when you're ready to make a change._


https://plus.sandbox.google.com/photos/107786897865850743842/albums/5912431615632055697/591243162378...






 

They may have killed Bugs of the week at TGIF, but it makes a nice addition to snippets...









 

b/10261931 filed...

@100046111226547636851


http://hangoutsnitch.com/






 

Was actually thinking of doing this with some of the google-feedback code internally so we could automate regression testing of widgets...

Right now I have old iframe on the left, new on the right and can quickly eyeball it, but would love to have a computer do the boring stuff..


https://github.com/BBC-News/wraith#__sid=0






 

Latex in Google+?

.P
I say no, at least not until we have support for
.B  "nroff"
 macros
.br
.br


https://productforums.google.com/forum/?_escaped_fragment_=topic/google-plus-discuss/O9ZEvS5jmho






 

With our embeds framework combined with our existing embeds (youtube, maps, docs, etc)  we could blow this out of the water.

@107106902560384103150 -- what's up with Lego Embeds?



http://allthingsd.com/20130731/towards-a-more-public-social-network-facebook-rolls-out-embedded-post...






 

 

A song about gentrification in San Francisco...  It pains me to see Google vilified in this way when it enables so much (including this content itself)

Sadly I don't hold out much hope for technology fixing the dysfunctional housing situation in the Bay Area.

[And where's my soundcloud embed  @112474028169763877889 ??]

Also if you decide to watch the youtube video remember that _This video has been age-restricted based on our Community Guidelines_


http://soundcloud.com/persia415/persia-google-google-apps-apps






 

The *Victory Baby* MBA (spotted in our support forums)  


http://60daymba.com/






 

 

This is... grotesque..
1) Send html attachment
2) Have user open attachment on filesystem
3) Need to recover your password?  Send recovery link to email.
4) Enter password, click open, popup gets blocked on mail-attachment domain.
4) Secure? uhhhh


https://plus.google.com/photos/107786897865850743842/albums/5901699545583209681/5901699548451213538?...






 

Little known fact.  All royal births require launchcal approval.

_It doesn't look like we're going to get launch calendar approval before EOD today. API team, please grant 100K QPD for now, to ensure that we do not block the birth of the Royal Baby._

ttp://b.corp.google.com/issue?id=9677423