Skip to content

Instantly share code, notes, and snippets.

@gmoore
gmoore / steve-yegge-google-platform-rant.md
Created September 16, 2021 23:55 — forked from kislayverma/steve-yegge-google-platform-rant.md
A copy (for posterity) of Steve Yegge's internal memo in Google about what platforms are and how Amazon learnt to build them

I was at Amazon for about six and a half years, and now I've been at Google for that long. One thing that struck me immediately about the two companies -- an impression that has been reinforced almost daily -- is that Amazon does everything wrong, and Google does everything right. Sure, it's a sweeping generalization, but a surprisingly accurate one. It's pretty crazy. There are probably a hundred or even two hundred different ways you can compare the two companies, and Google is superior in all but three of them, if I recall correctly. I actually did a spreadsheet at one point but Legal wouldn't let me show it to anyone, even though recruiting loved it.

I mean, just to give you a very brief taste: Amazon's recruiting process is fundamentally flawed by having teams hire for themselves, so their hiring bar is incredibly inconsistent across teams, despite various efforts they've made to level it out. And their operations are a mess; they don't really have SREs and they make engineers pretty much do everything,

Keybase proof

I hereby claim:

  • I am gmoore on github.
  • I am gsmoore (https://keybase.io/gsmoore) on keybase.
  • I have a public key whose fingerprint is AD98 C49E DE19 BAE1 1E93 BE8A 9C5F 35B7 25D4 DCC5

To claim this, I am signing this object:

@gmoore
gmoore / wordpress-plugin-svn-to-git.md
Created October 16, 2015 15:57 — forked from kasparsd/wordpress-plugin-svn-to-git.md
Using Git with Subversion Mirroring for WordPress Plugin Development
@gmoore
gmoore / gist:8ac0c58c6fc638639747
Last active September 16, 2015 23:44 — forked from trcarden/gist:3295935
Rails 3.2.7 SSL Localhost (no red warnings, no apache config)
# SSL self signed localhost for rails start to finish, no red warnings.
# 1) Create your private key (any password will do, we remove it below)
$ openssl genrsa -des3 -out server.orig.key 2048
# 2) Remove the password
$ openssl rsa -in server.orig.key -out server.key
-# This will show up on phones and be hidden everywhere else
.visible-xs.hidden-sm.hidden-md.hidden-lg
=your_tag_menu_code
-# This will not show up on phones
.hidden-xs
=your_desktop_code
$(document).ready(function() {
call_your_function(with_an_argument);
});
@gmoore
gmoore / gist:973748
Created May 16, 2011 01:09
While in Baltimore...
I want...
Steamed crabs!
Obrycki's
Walk east on Pratt Street for about half a mile
1727 E Pratt St, Baltimore, MD 21231
http://www.yelp.com/biz/obryckis-crab-house-and-seafood-restaurant-baltimore
http://www.obryckis.com/
@gmoore
gmoore / Console output
Created May 4, 2011 14:59
Jersey 1.6 with Grizzly 2
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.fracturedatlas.athena.web.resource.container.SaveRecordContainerTest
May 4, 2011 10:55:00 AM com.sun.jersey.test.framework.spi.container.grizzly2.web.GrizzlyWebTestContainerFactory$GrizzlyWebTestContainer <init>
INFO: Creating Grizzly2 Web Container configured at the base URI http://localhost:9998/tix
May 4, 2011 10:55:00 AM org.glassfish.grizzly.http.server.NetworkListener start
INFO: Started listener bound to [localhost:9998]
May 4, 2011 10:55:00 AM org.glassfish.grizzly.servlet.ServletContextImpl log
INFO: Initializing Spring root WebApplicationContext
@gmoore
gmoore / App config class
Created May 4, 2011 14:53
Jersey 1.6 with Grizzly 1
public class AthenaWebConfig extends PackagesResourceConfig {
public AthenaWebConfig() {
super ("org.fracturedatlas.athena");
getMediaTypeMappings().put("json", MediaType.APPLICATION_JSON_TYPE);
}
}
Started POST "/exchanges" for 127.0.0.1 at Thu Apr 28 20:25:52 -0400 2011
Processing by ExchangesController#create as HTML
Parameters: {"items"=>["32772"], "commit"=>"Exchange these tickets", "order_id"=>"32771", "authenticity_token"=>"msenMBOEhOgjPSTvxDDaoClOtM/1Uvzk6ceck5E3cxM=", "utf8"=>"✓", "tickets"=>["32780"]}
User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
GET http://localhost:8080/orders/orders/32771.json
--> 200 OK 105 (25.9ms)
GET http://localhost:8080/orders/items/32772.json
--> 200 OK 107 (25.6ms)
GET http://localhost:8080/tix/tickets/32780.json
--> 200 OK 213 (22.5ms)