Ahmed Mohi 已转推
Ahmed Mohi
399 posts

Ahmed Mohi
@EngMOhi
Game programmer by day, level designer by night
No where 加入时间 Şubat 2011
166 关注212 粉丝

our little Inside x Little nightmare 2 game "Project-Robot"
reddit.com/r/IndieGaming/…
English
Ahmed Mohi 已转推

@McFunkypants @howieeday yup. this is a fun article on the topic
sebastiansylvan.com/post/the-peril…
English
Ahmed Mohi 已转推

Randomize your objects' positions in Unity with ease! 🎲🌿🗺️
Just type "+=R(-3,3)" in the Inspector to add some randomness 🌟🙂
Hopefully, this tip will save you time and give your layouts a more organic feel! 🌴👍
#UnityTips #unity3d #gamedev
English
Ahmed Mohi 已转推
Ahmed Mohi 已转推

Early in my career I broke Facebook Chat (pre Messenger) for all IE users. Couldn't sleep all night afterwards.
However, one of the most interesting issues I caused was when I removed about 300,000 duplicated files in Facebook's monorepo and pointed everything to the remaining copies. I went to sleep and woke up the next day with angry messages on my phone: I made facebook.com 1.2 seconds slower to load!
How? Facebook's bundler used machine learning to optimize JS bundles. That bundler was relying on paths for JS files, and it didn't track changes like mine. So when I pushed my change, the bundler was under the impression that all those files were new and basically unbundled them and sent them to users as individual files instead of JS bundles!
Given the scale Facebook was operating at, and some issues in the Python based Mercurial client (which have since been replaced), it took about an hour to merge my PR into main. The revert to make facebook.com fast took a three people team 12 hours to complete. Afterwards an intern and I redid the initial work by also patching the bundler's paths correctly.
I caused other large issues, but this one is my best bad one. It worked while testing, could not have been noticed in development since the bundling infrastructure was different, and basically only one person at the company would have known this issue could have been caused.
Aveta👾🇭🇹@Aliafonzy43
I would love to hear stories from senior+ engineers who pushed fuck ups to prod to know I’m not crazy for feeling some type of way to be told my code quality is poor due to code pushed to prod that I quickly fixed when I found the issues . Just wanna know if this is something common . Also PR requires 2 approvals.
English
Ahmed Mohi 已转推
Ahmed Mohi 已转推

While I still have it fresh in my mind, I have collected some notes about some of the things that slow down Unity projects in the editor here: blog.s-schoener.com/2023-08-16-why…
I hope it is of use to someone somewhere!
English
Ahmed Mohi 已转推

Functions are vectors! This perspective lets us apply the tools of linear algebra to computational problems from image and geometry processing to machine learning and light transport—and provides a natural explanation for Fourier series.
Let's explore: thenumb.at/Functions-are-…
English
Ahmed Mohi 已转推
Ahmed Mohi 已转推
Ahmed Mohi 已转推

My new favorite pet function: a tiny generalization of Schlick's "bias" and "gain" functions that gives you a handy way to craft nice curves for easing or annealing on [0,1]->[0,1]. I wrote up a micropaper here: arxiv.org/abs/2010.09714
English
Ahmed Mohi 已转推
Ahmed Mohi 已转推

Unlocking Unity's Hidden Secrets: Fixing Soft Particle Factor and Cut Edges youtu.be/oQzht2dE294 via @YouTube
@ShoutGamers
#gamedev #indiedev #indiegame #alldev #GamersUnite #virtualreality

YouTube
English
Ahmed Mohi 已转推
Ahmed Mohi 已转推
Ahmed Mohi 已转推
Ahmed Mohi 已转推

















