HNHacker News
TopNewBestAskShowJobs

superMayo

755 karma · joined January 6, 2020

Economist, data scientist, creative coder. Founder of Hushcrasher: decision intelligence for the video game industry.

mayerowiz.io hushcrasher.com

Contact: antoine@mayerowitz.io

meet.hn/city/fr-Paris

---

submissionscomments
superMayo··on Mario Meets Pareto
I'm sorry, this is by design colorful and interactive. If you still want to read about this topic in a less "juicy" way, you can can take a look at this other article: https://hinnefe2.github.io/python/tools/2015/09/21/mario-kar...
superMayo··on Mario Meets Pareto
Can you tell me what’s going on? I tried my best to make it work on every device, but handling mobile is hard, and especially when you’re messing with interactivity and 3D.
superMayo··on Mario Meets Pareto
Author here. The source code is available at https://github.com/SuperMayo/mayerowitz.io.

It’s called scrollytelling. For this particular project, I borrowed a lot from https://mlu-explain.github.io/. For the 3D elements, I used Threejs and a custom vertex shader for the 3D plot.

superMayo··on Mario meets Pareto
Yes, I could have been using THREE.OrthographicCamera(), however, it makes the effect way less cinematic, and most importantly, it makes the depth harder to see (particularly for a scatter plot).
superMayo··on Mario meets Pareto
So sorry I've disappointed you, but don't fuck your life plz
superMayo··on Mario meets Pareto
It's the latest version, stats are from https://www.mariowiki.com/Mario_Kart_8_Deluxe_in-game_statis...
superMayo··on Mario meets Pareto
I hope your character is not Koopa
superMayo··on Mario meets Pareto
Thank's for the info, will fix asap !
superMayo··on Mario meets Pareto
Thanks a lot! That was my goal. It's a trick I learned: if you zoom in from a distance, everything appears flat. The effect is achieved by zooming out while simultaneously moving the camera closer to the subject!
superMayo··on Mario meets Pareto
Author here. I'm using Svelte, which is great for interactive applications. For the event handling I'm very influenced by what https://mlu-explain.github.io/ does. The 3d plot is made with Threejs through the Threlte wrapper. One challenge was animating the 20k points in the 3d plot, which is handled by a custom vertex shader.
superMayo··on Interactive intro to shaders
That's strange, what browser are you using?
superMayo··on Interactive intro to shaders
Didn't know that, thanks for the tip!
superMayo··on Interactive intro to shaders
That's really nice to hear and it gives motivation to continue! Next article will probably go 3D, but it adds a lot of difficulties. I still need to find out a good small-scale but playful shader project to cover!
superMayo··on Interactive intro to shaders
Inigo Quilez is a wizard, the shader community owes so much to him!
superMayo··on Interactive intro to shaders
Indeed it's a simplification! You can use buffers to keep information from previous states or share state between pixels (for both fragment and compute shaders). Though it can greatly reduce the performance sometimes. For an intro however, I think it's simpler to assume no memory nor shared state.
superMayo··on Interactive intro to shaders
Fixed-it, thanks ;)
superMayo··on Interactive intro to shaders
I finally found the courage to write and expose myself to the internet. I've always wanted to learn shaders so I thought it would be nice to document my learning and share it with others.
superMayo··on Causality for Machine Learning (2020)
Causality has been the objective of econometrics for many years. I always wonder why people in machine learning overlook it's contributions. They almost never discuss it (even to criticize it) and prefer reinventing the wheel.
superMayo··on How does the economy work? A new Fed paper suggests nobody really knows
> Economists definitely claim to know how things work.

Some do, most don't. Most economists are just trying to publish their work in peer reviewed journals. The one that have time to talk on mass media every weeks are not regular economist. Krugman had some great papers, but he is definitely not considered as a researcher anymore by the profession.

> Allowing completely free trade will be great he said. Prices will be lowered and the economy will run more efficiently. Maybe that’s true, but it also hollowed out the U.S. manufacturing base and consequently the middle class. You don’t see articles like that anymore.

The HOS model, commonly accepted in the trade literature that Krugman knows well, is very clear about the effect of free trade (even if the model could be regared as too simplistic): it lowers the prices and increases total production, however, it creates unequal gains (or even loss) within countries. The standard policy recommandation among trade economists is public polices should be aimed to losers using a fraction of gains from trade.

superMayo··on Hobbyists beat professional designers in creating novel board games
There may be a huge selection bias in their study: insiders are more likely to publish their game, weather they are bad or good. In comparison, hobbyist have to propose better games in order to have the chance to be visible and then published. This would bias the study into thinking that hobbyist are more innovative than professionals.
superMayo··on An ant colony has memories its individual members don’t have (2019)
But are ants Turing complete ?
superMayo··on Why I use R
As an applied economist, I can assure you that R is wayyy better in terms of statistics than Python. Doing causal models in Python is a real pain because its data science community is mostly focused on machine learning. Even a robust linear model with IV or fixed effect (which is standard in causal models) is really hard to achieve in Python. Of course this argument is about the libraries and note the core language, but it's a strong argument to stay with R. This argument is also valid outside academics, as more and more data scientists try to adress causality.