Stackoverflow link
Using pkgutils
I hereby claim:
To claim this, I am signing this object:
{ | |
"editor.fontLigatures": true, | |
"editor.fontFamily": "'Cascadia Code', 'Fira Code', Menlo, Monaco, 'Courier New', monospace", | |
"editor.fontSize": 12, | |
"python.insidersChannel": "off", | |
"terminal.integrated.shell.osx": "/usr/local/bin/fish", | |
"[json]": { | |
"editor.defaultFormatter": "vscode.json-language-features" | |
}, | |
"workbench.preferredDarkColorTheme": "Material Theme Palenight High Contrast", |
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
/** | |
* Geocode address using Google Maps | |
* | |
* @param address the address to geocode | |
* @return the geocoded address (possibly approximate) | |
*/ | |
function geocode(address) { | |
var response = Maps.newGeocoder().geocode(address); | |
var geom = response.results[0].geometry; | |
return geom.location.lat + ", " + geom.location.lng; |
L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns
Compress 1K bytes with Zippy ............. 3,000 ns = 3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns = 20 µs
SSD random read ........................ 150,000 ns = 150 µs
Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs