Culture Docs: Facebook, Netflix and Valve

Marton Trencseni - Sat 18 June 2022 • Tagged with culture, facebook, netflix, valve

Many companies have some sort of "Culture Doc", a booklet or similar, which explains to new joiners what the company is about. I received Facebook's "Little Red Booklet" when I joined in 2016 February, and I was amazed how good it was. Recently I was researching other companies' Culture Docs, and found a version of Netflix's and Valve's online. It's interesting to compare and contrast what these different companies choose to put in their Culture Doc. Facebook's Culture Doc is very mission and execution oriented and serious, Netflix is analytical and HR-focused, and Valve's is a lighthearted explanation of how the company works.

Move fast and break things

Continue reading

More Data Scientists should learn SQL

Marton Trencseni - Sun 29 May 2022 • Tagged with data, sql

In my experience, many Data Scientists struggle to write SQL queries in interviews.

SQL

Continue reading

Useful Python decorators for Data Scientists

Marton Trencseni - Sun 22 May 2022 • Tagged with python, decorators

I show toy implementations of Python decorator patterns that may be useful for Data Scientists.

Python decorators

Continue reading

Building a toy Python @dataclass decorator

Marton Trencseni - Thu 12 May 2022 • Tagged with python, dataclass, decorator

I write a toy implementation of Python's @dataclass decorator to improve my Python fu and learn more about decorators and metaprogramming.

Python enum

Continue reading

Python decorator patterns

Marton Trencseni - Sun 08 May 2022 • Tagged with python, decorators

I show toy implementations of Python decorator patterns such as @measure, @repeat, @trace, @count, @singleton, and @app.route (made famous by Flask).

Python enum

Continue reading

Building a toy Python Enum class - Part II

Marton Trencseni - Thu 05 May 2022 • Tagged with python, enum

I extend my previous toy implementation of Python's Enum class to add more features.

Python enum

Continue reading

Building a toy Python Enum class - Part I

Marton Trencseni - Tue 03 May 2022 • Tagged with python, enum

I write a toy implementation of Python's Enum class to learn about Python metaclasses.

Python enum

Continue reading

"Over 70% of all Porsche vehicles ever built are still on the road today"

Marton Trencseni - Sat 30 April 2022 • Tagged with porsche, timeseries, fit, survival

Porsche proudly advertises "Over 70% of all Porsche vehicles ever built are still on the road today". Is this a testament of the quality and longevity of Porsche cars, or simply a result of the brand switching from niche sportscar manufacturing to mass production around the year 1999?

Over 70% of all Porsche vehicles ever built are still on the road today

Continue reading

"The company is all hot air"

Marton Trencseni - Tue 26 April 2022 • Tagged with startups, theranos, wework, scalien

Theranos, WeWork and the startup hustle.

Bayes vs z-test

Continue reading

Python types for Data Scientists - Part III

Marton Trencseni - Fri 22 April 2022 • Tagged with python, types

I show slightly more advanced aspects of type checking in Python for Data Scientists.

Mypy

Continue reading

Python types for Data Scientists - Part II

Marton Trencseni - Sun 17 April 2022 • Tagged with python, types

I show slightly more advanced uses of type checking in Python.

Python snake

Continue reading

Python types for Data Scientists - Part I

Marton Trencseni - Fri 08 April 2022 • Tagged with python, types

I show how to use basic type hints and get type checking working in ipython notebooks.

Python types for Data Scientists

Continue reading

Solving 5 algorithmic interview questions

Marton Trencseni - Sat 26 March 2022 • Tagged with interview, python

Recently I was considering whether to introduce some CS style algorithmic interview questions into our Data Science hiring loop, since having an understanding of algorithms and data structures can be useful for Data Scientists. Not having done this soft of interview for a few years I picked up my copy of Daily Coding Problem and starting solving a few problems to refresh my feeling for what it feels like as a candidate, and whether it would give us any useful signals.

Daily coding problem

Continue reading

Fair coin from biased coin

Marton Trencseni - Tue 22 March 2022 • Tagged with probability, statistics

Given a biased coin, construct a fair coin.

Fair coin from biased coin

Continue reading

The german tank problem in World War II

Marton Trencseni - Sat 12 March 2022 • Tagged with statistics, war

I run Monte Carlo simulations to show the frequntist solution to the German tank problem.

.

Continue reading

Delightfully cynical half-truths about organizations

Marton Trencseni - Sat 12 February 2022 • Tagged with peter-principle, gervais-principle, dunning-kruger, dilbert

Five delightfully cynical half-truths about organizations: the Peter principle, the Dilbert principle, the Gervais principle, Negative selection and the Dunning-Kruger effect.

.

Continue reading

Probabilistic spin glass - Conclusion

Marton Trencseni - Mon 31 January 2022 • Tagged with entropy, physics, spin, glass

I summarize the 5 previous posts on probabilistic spin glasses.

.

Continue reading

Optimal coverage for Wordle with Monte Carlo methods - Part III

Marton Trencseni - Sat 22 January 2022 • Tagged with wordle, monte-carlo

I present a simple Monte Carlo solution which finds a 25-letter-unique Worlde wordlist in about 10 minutes.

Wordle

Continue reading

Optimal coverage for Wordle with Monte Carlo methods - Part II

Marton Trencseni - Fri 21 January 2022 • Tagged with wordle, monte-carlo

I improve on the previous brute-force Monte Carlo approach for attacking the Wordle coverage problem.

Wordle

Continue reading

Optimal coverage for Wordle with Monte Carlo methods - Part I

Marton Trencseni - Wed 19 January 2022 • Tagged with wordle, monte-carlo

I show a simple brute-force Monte Carlo approach for attacking the Wordle coverage problem.

Wordle

Continue reading