Skip to content

Instantly share code, notes, and snippets.

View thodg's full-sized avatar

Thomas de Grivel thodg

View GitHub Profile

Stevey's Google Platforms Rant

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 real

@thodg
thodg / gist:95536719a25d32ef3cf4aac745a6f74c
Created February 3, 2020 09:20 — forked from philfreo/gist:7257723
Facebook Perl source code from 2005. When browsing around thefacebook.com in 2005 the server spit out some server-side source code rather than running it. I believe this was for their old graph feature that let you visualize the graph between all your friends. The filename is `mygraph.svgz` and contains some gems such as a commented out "zuck" d…
#!/usr/bin/perl
use Mysql;
use strict;
use vars qw($school_name);
use vars qw($pass);
require "./cgi-lib.pl";
@thodg
thodg / README.md
Created February 3, 2020 09:18 — forked from nikcub/README.md
Facebook PHP Source Code from August 2007

Keybase proof

I hereby claim:

  • I am thodg on github.
  • I am thodg (https://keybase.io/thodg) on keybase.
  • I have a public key ASBIvkgv-EbF-HYI4dGit6kFLV5n_aSTVWam0WDRJe-YbQo

To claim this, I am signing this object:

@thodg
thodg / define-structure.lisp
Created December 21, 2010 07:31
define-structure and with- dotted accessors
(defun prefix-symbol (&rest strings)
(intern (apply 'concatenate 'string (mapcar 'string strings))))
(defmacro with (object (&rest slots) &body body)
(declare (type symbol object))
`(symbol-macrolet
,(loop for slot in slots
collect (list (prefix-symbol object "." slot)
`(slot-value ,object ',slot)))