Gaurav (@Leapofcode) header
Gaurav (@Leapofcode) profile picture

Shipping code. Sharing lessons. Occasionally funny. Sudoku! DM for Work and Collab.

Joined August 2025
Photo by Gaurav (@Leapofcode)Photo by Gaurav (@Leapofcode)Photo by Gaurav (@Leapofcode)Photo by Gaurav (@Leapofcode)Photo by Gaurav (@Leapofcode)Photo by Gaurav (@Leapofcode)Photo by Gaurav (@Leapofcode)Photo by Gaurav (@Leapofcode)Photo by Gaurav (@Leapofcode)Photo by Gaurav (@Leapofcode)
Genuine question: Linux is open source. Hackers can read every single line of Linux's source code. They can't read Windows'. Yet Linux is widely considered more secure. What am I missing?
296
59
30
3,741
757,488
Guys, give your brain a little workout. Tip: Start with easy mode. sudoku.com
30
33
544
Gaurav retweeted
Major world events till date:
31
1
30
607
Major world events till date:
31
1
30
607
Gaurav retweeted
Introducing learnsystem.design Free forever
102
195
8
1,592
113,771
Genuine question: Half of AI companies spends hundreds of millions training frontier models and locks them behind paid APIs. The other half spends the exact same money and drops the weights online for free (like Amazon just did with Ergo). Both sides can't be right. How does giving away your most expensive product make any business sense?
38
2
34
668
Gaurav retweeted
POV: OpenAI DOT bots on $20 plan
34
4
42
963
POV: OpenAI DOT bots on $20 plan
34
4
42
963
Gaurav retweeted
Wait, hear me out. My Google TV has a short-press power mode that basically just locks the screen like a phone. I pay for YouTube Premium. Why can't I turn the screen off and just use my TV as a speaker for YouTube Music?
32
2
36
659
Wait, hear me out. My Google TV has a short-press power mode that basically just locks the screen like a phone. I pay for YouTube Premium. Why can't I turn the screen off and just use my TV as a speaker for YouTube Music?
32
2
36
659
Gaurav retweeted
Gaurav's codebase chart 😂
1
1
34
Humans have 5 sense organs. AI has zero - and still makes more sense.
33
1
32
655
Gaurav retweeted
Trillion-dollar companies built empires on Linux and Git. Linus Torvalds gave both away for $0, refused to be a CEO, and never became a billionaire. Yet he's still a multi-millionaire. Two questions: 1. How does he make money? 2. Did he get played, or beat the system?
36
4
47
956
Gaurav retweeted
Most savage resignation email ever 😭
44
4
57
1,371
Trillion-dollar companies built empires on Linux and Git. Linus Torvalds gave both away for $0, refused to be a CEO, and never became a billionaire. Yet he's still a multi-millionaire. Two questions: 1. How does he make money? 2. Did he get played, or beat the system?
36
4
47
956
Gaurav retweeted
Common open-source software licenses • MIT – Very permissive. Use, modify, distribute, and sell with attribution. • Apache 2.0 – Similar to MIT, but includes explicit patent protection. • BSD 2-Clause – Permissive license with minimal restrictions. • BSD 3-Clause – Like BSD 2-Clause, but also restricts using contributors' names for endorsement. • GPL v2 – Derivative distributions must remain under GPL v2. • GPL v3 – Like GPL v2, with additional patent and anti-tivoization protections. • LGPL – Allows proprietary applications to use LGPL libraries under certain conditions. • AGPL v3 – Like GPL, but also requires source-code sharing when modified software is offered over a network. • MPL 2.0 – File-level copyleft. Modified MPL-licensed files must remain open source. • EPL 2.0 – Common in enterprise software, with file/module-level copyleft requirements. • Unlicense – Attempts to place software in the public domain with minimal restrictions. • CC0 – Waives copyright-related rights as much as legally possible. More commonly used for data than software.
27
1
31
632
Common open-source software licenses • MIT – Very permissive. Use, modify, distribute, and sell with attribution. • Apache 2.0 – Similar to MIT, but includes explicit patent protection. • BSD 2-Clause – Permissive license with minimal restrictions. • BSD 3-Clause – Like BSD 2-Clause, but also restricts using contributors' names for endorsement. • GPL v2 – Derivative distributions must remain under GPL v2. • GPL v3 – Like GPL v2, with additional patent and anti-tivoization protections. • LGPL – Allows proprietary applications to use LGPL libraries under certain conditions. • AGPL v3 – Like GPL, but also requires source-code sharing when modified software is offered over a network. • MPL 2.0 – File-level copyleft. Modified MPL-licensed files must remain open source. • EPL 2.0 – Common in enterprise software, with file/module-level copyleft requirements. • Unlicense – Attempts to place software in the public domain with minimal restrictions. • CC0 – Waives copyright-related rights as much as legally possible. More commonly used for data than software.
27
1
31
632
Most savage resignation email ever 😭
44
4
57
1,371
I dare you to stay unemployed after this. hiringrightnow.com
🤝 Paid partnership
46
18
1
133
8,106
Gaurav retweeted
Almost 250+ comments later, I went down a rabbit hole on this. Turns out "open source = more eyes = safer" is only half the story, and most people get the Windows side wrong too. Here is what's actually going on: 1. Hiding code doesn't stop real attackers Closed source is mostly "security through obscurity." Skilled hackers don't need Windows' source code. They disassemble binaries, diff monthly patches, and fuzz APIs. Meanwhile, Linux gets audited nonstop by full-time security teams at Google, Red Hat, Meta, and even Microsoft. 2. Architecture & how you install software This is Linux's biggest real edge on desktop: • Regular accounts can't touch system files without sudo • Downloaded files aren't executable by default • Apps come from signed repos (apt, dnf), not random .exe installers from search results 3. Follow the money Windows dominates consumer desktops; Linux sits in the single digits. Mass-market malware simply targets the biggest pool of non-technical users. 4. Where the "Linux is safer" myth breaks down On servers, where Linux actually dominates, it gets hammered daily via misconfigs, kernel bugs, and supply-chain attacks. Even on desktop, malware doesn't need root to wreck you. Your browser cookies, SSH keys, and .env files all sit readable inside /home unless apps are strictly sandboxed. Honest takeaway after reading all of this: If Linux suddenly had 70% desktop market share tomorrow, average users would get wrecked just as fast. It would just happen via shady curl | bash scripts and fake packages instead of .exe files. Change my mind.
Genuine question: Linux is open source. Hackers can read every single line of Linux's source code. They can't read Windows'. Yet Linux is widely considered more secure. What am I missing?
23
3
2
29
1,336
Gaurav retweeted
Google said Gemini 4 Hydrogen has a 96.7% honesty rate. They weren't lying.
35
2
44
1,639