If you are in 3rd or 4th year and not getting internships/placement hear me out :-
Yes you can blame luck, situations, interviewer was having fight with her wife the last night and I am with you totally. I am not saying these things don't happen. This had happen to me multiple times
But
Are you 100% prepared
Are you expert on CF
Are you good at CS fundamentals
Do you know the basics of system design
Do you know everything you have written on your resume
Do you have good CGPA
Do you have a good college
Are you applying to all the jobs openings
If any one of above is not true then the problem is you more than your luck. This is harsh but true.
Last year i wasn't getting any good intern, I was specialist at codeforces at that time but I lacked cgpa, i lacked cs fundamentals skills.
I was seeing a lots of zero knowledge girls getting placed into orgs like Microsoft, Salesforce of my college and it was very disheartening but I asked myself
" Kya unka microsoft, Salesforce me ho jaane kaa matlab hai Mera bhi ho jaana chahiye" and the answer was NO
I was not having 9+ gpa, i wasn't applying to every opportunity.i fucked up in OA alot of times
Instead of cribbing,crying, blaming luck, blaming universe, I chose to grind
In the next 6 months I solved around 500+ hard problems on codeforces (hard means rated 1600 - 2100) reached 1850+ on codeforces, 5* on codechef.
I took my cgpa from 8.65 to 9.02
I worked on my cs fundamentals part
I studied system design
I went to IICPC FINALS ( this was a big plus point during Tower Research interview)
But still in my first interview (sprinklr) this year I failed in last round coz I wasn't totally prepared on projects, (i was asked to design google docs) i thought they won't ask in this much depth but they asked and I failed
I studied that later. In the second interview( meesho), I did everything right but I still got rejected after HR round. I was asked to design an API which I couldn't ( i thought they won't judge me on this thing but they did)
In the third interview (patronus HFT) i again went till last round and get rejection again ( being unlucky as I was literally asked a lot of tough problems like TCP handshaking speed, internals of TLB but it was HFT so I should have studied in depth) I studied them later
Lastly I got interview (tower Research Capital) again in 2 days and I got that clear comfortably.
Bottom line is if you are good enough you will get opportunities and you won't be unlucky everytime.
But everytime I was confident on myself that I just need one not unlucky day.
Work hard on yourself for 6 months atleast before crying over luck and everything. Ek n ek din luck tumhare saath aayega hi.
Remember if you are not selected then everything is an excuse.
Grind Grind Grind
Be honest here, How many of you actually went past 'stochastic vs batch GD' in your ML study,
and really dug into Adam’s math?
Most folks stop at 'Adam is better, trust me bro'.
She dumped me last night.
Not because I don't listen.
Not because I'm always on my phone.
Not even because I forgot our anniversary (twice).
But because,
in her exact words:
"You only pay attention to the parts of what I say that you think are important."
I stared at her for a moment and realized...
She just perfectly described the attention mechanism in transformers.
Turns out I wasn't being a bad boyfriend. I was being mathematically optimal.
See, in conversations (and transformers), you don't give equal weight to every word. Some words matter more for understanding context. Attention figures out exactly HOW important each word should be.
Here's the beautiful math:
Attention(Q, K, V) = softmax(QK^T / √d_k)V
Breaking it down:
Q (Query): "What am I looking for?"
K (Key): "What info is available?"
V (Value): "What is that info?"
d_k: Key dimension (for scaling)
Think library analogy:
You have a question (Query). Books have titles (Keys) and content (Values). Attention finds which books are most relevant.
Step-by-step with "The cat sat on the mat":
Step 1: Create Q, K, VEach word → three vectors via learned matrices W_Q, W_K, W_V
For "cat":
Query: "What should I attend to when processing 'cat'?"
Key: "I am 'cat'"
Value: "Here's cat info"
Step 2: Calculate scoresQK^T = how much each word should attend to others
Processing "sat"? High similarity with "cat" (cats sit) and "mat" (where sitting happens).
Step 3: Scale by √d_kPrevents dot products from getting too large, keeps softmax balanced.
Step 4: SoftmaxConverts scores to probabilities:
"cat": 0.4 (subject)
"sat": 0.3 (action)
"mat": 0.2 (location)
"on": 0.1 (preposition)
"the": 0.1 (article)
Step 5: Weight valuesMultiply each word's value by attention weight, sum up. Now "sat" knows it's most related to "cat" and "mat".
Multi-Head Magic:Transformers do this multiple times in parallel:
Head 1: Subject-verb relationships
Head 2: Spatial ("on", "in", "under")
Head 3: Temporal ("before", "after")
Head 4: Semantic similarity
Each head learns different relationship types.
Why This Changed Everything:
Before: RNNs = reading with flashlight (one word at a time, forget the beginning)
After: Attention = floodlights on entire sentence with dimmer switches
This is why ChatGPT can:
Remember 50 messages ago
Know "it" refers to something specific
Understand "bank" = money vs river based on context
The Kicker:Models learn these patterns from data alone. Nobody programmed grammar rules. It figured out language structure just by predicting next words.
Attention is how AI learned to read between the lines.
Just like my therapist helped me understand my focus patterns, maybe understanding transformers helps us see how we decide what matters.
Now if only I could implement multi-head attention in dating... 🤖
Still waiting for "scaled dot-product listening" to be invented.
@nibbletonbuilds Yeah I mean sometimes he just dry runs the solution instead of explaining the intuition, but I understand why he does it as majority of his viewers just wants an easy way out.
Then came ReLU: f(x)=max(0,x).
For x>0, slope = 1, multiplying by 1 doesn’t shrink the gradient.
That simple trick let signals flow, made deeper nets trainable, and solved the vanishing gradients problem.
Vanishing gradients are one of the biggest reasons deep nets used to fail. During backprop, each layer passes gradients backward by multiplying derivatives.
If those derivatives are small, the signal keeps shrinking… until it’s almost zero.
Lol , the professor took a quiz today out of nowhere. Everyone thought that he apparently 'forgot' yesterday turns out he intentionally didn't take the quiz as everybody was present😂.btw around 50 guys were absent today.
@Resorcinolworks This same question was asked in our AI midsem paper.
Lol was thinking about all the possibilites during exam for straight 15 mins , eventually the logic clicked. Didn't expect our professor to put such type of question on the paper:)