13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions
comment 6y ago · link · parent
The FBI warned of white supremacist infiltration of police forces over a decade ago.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
But my first few years as an engineer, I loved going into the office. We played ping pong, we drank, we socialized, played games. There were even free snacks! Pretty good ones. Maybe for a lot of engineers that all feels silly, but I'd never thought I'd have a job that cool.
You can call that all "bullshit perks" or whatever, but it made the start of my career so motivating and fun.
I work fulltime remote now. I'm the CEO of a company, and we're fully remote. It has huge advantages, but I wouldn't trade that first office experience for anything.
comment 6y ago · link · parent
comment 6y ago · link · parent
Where rewrites are bad are when someone comes to a codebase, goes "wow this sucks I Can do this better", and starts from scratch. This is worth calling out because it's quite common, but it's very easy to avoid.
I'm a fan of Python for what it's good for. I use it professionally, and built a product around it. I'd be happy to see Python perf wins, but I'm never going to expect it to compete with other languages.
comment 6y ago · link · parent
You can look at the last release of Pyston for why companies are not funding this work. They're just moving to other languages.
Consider that Dropbox, Google, and Instragram likely spend much more than 1M on optimizing/ improving Python, just to have it still be a relatively slow language.
At some point it becomes way cheaper to just move to other languages that don't require that constant level of effort. Think about how much time and money is spent on things like:
* Adding types to Python
* Improving performance
when you could just move performance critical code to Go/ Rust as Dropbox has done, for a fraction of the cost, with far less maintenance burden.
"Make Python faster" is just a losing game imo. It is fundamentally never going to be as fast as other languages, it's far too dynamic (and that's a huge appeal of the language). Just look at the optimizations done here - moving `str` to local scope to avoid a global lookup? And can you even avoid that? Not without changing semantics - what if I want to change `str` globally?
Still, I was surprised by some of the sorta nutty wins that were achieved here. There's clearly some perf left on the table, and I'm not an expert on interpreters, it just seems really hard to build a semantically equivalent Python ("I can change global functions from a background thread") that can automatically optimize these things.