
Sams retweeted
Rejection is a redirection.
No, that’s only for the top 1% folks. A rejection is a rejection, it should be taken personally most of the times, and it means you’re not capable enough so please work harder, get better and then come back.
Sams retweeted
After what felt like forever... (@buildpeerY) peerY is finally live🚀
As many of you know, I've been working on this for quite a while
Huge shoutout to @anuragdotdev — he built the core of it, while I focused on polishing and refining
It's finally deployed, and I'd genuinely love to hear what you think
Try it out, break it, and let me know your honest feedback👀
peery.vercel.app
Sams retweeted
Recently got a lot of DMs asking how I got a remote job. So here's what worked for me.
→ Pick one niche and go deep. Something you actually like, that you can talk about without running out of things to say.
→ Be consistent. Do what you're doing everyday, even if it's just for an hour. It builds muscle memory.
→ A few places to find these companies: YC jobs, Wellfound, Remote OK, We Work Remotely. Look for the ones that recently raised funding, they're hiring fast.
→ Find the founder or their employees. Get their contact, X, or email, and message them directly.
→ Keep it simple. Who you are, what you do, one line on why this company. Know about the company first, don't message blindly.
→ If you only want remote, say it upfront in the first message. Don't let it come up later.
→ Send proof of work, not just a resume. Make a Notion doc, write a bit about yourself, and drop the links to your best projects. Add a 2-3 minute Loom video walking through them, it shows the actual effort. If you have open source work, add that too.
→ Don't wait to feel qualified. Just start. But have a few good projects ready before you do.
→ Even if someone rejects you, keep the connection. Say thank you, end it well. I actually got referred to another company by a founder who rejected me.
→ Post your work on X. Doesn't matter how much reach you get, it still increases visibility. I was getting clients even without much reach.
→ It's a numbers game. Do cold DMs every day, make it a habit, not something you try when you're desperate.
→ Keep the consistency and the hard work. You don't know when the opportunity will come.
Sams retweeted
I was fortunate to learn coding in the pre-AI era and implement it during the peak AI era.
From my perspective, I can share some insights.
This will be a long post, so I suggest enabling reader mode.
First, I want to talk about my college years and even before that, in 11th and 12th standard.
The narrative at the time was simple.
> Learn to code.
> Get a job.
> Secure a stable career.
> Switch companies.
> Build a net worth of a million dollars.
That was the roadmap everyone was promised.
I was also excited about it but before pursuing any field, I decided to try it first.
Many already know this journey, so I will skip the details. You can read about it on my portfolio linked in my bio.
The plan was straightforward.
Get settled through engineering.
Then the pandemic hit.
We got GPT.
Then Claude.
Opus.
Countless coding models.
Agentic AI.
Then came harnesses for coding, AI tools, and much more beneath the surface.
Now the problem is that many people are entering the economy through coding using no-code tools and building systems.
I am not denying that software engineering was difficult and now it has become comparatively easier, which is true.
But the nuances of the field remain.
A coder can create an app.
An engineer can create an app.
Even a less technical person can create an app.
Previously, only someone proficient in software engineering or with some experience could build apps or websites.
Those who did not know how to code could not create anything.
That was the entry barrier.
Now the barrier is shattered.
So what remains?
Those who do not know how to code, plus those with less knowledge of how code works and less experience, are trying to create meaningful software.
This brings a fundamental issue.
These people do not understand:
> How software works internally
> What tradeoffs they should make
> How security should be handled
> How to deploy to production
Code was not the only hard part.
The other hard parts were:
> Tech Tradeoffs
> Structure of code writing code
> Security
> Computation
I have been through many legacy codebases and I can tell you that even AI does not even write the amount of slop code I have seen in some legacy codebases.
Speed is not the problem.
The problem is context.
We are shipping at light speed and forgetting the context of how things happen.
This has become one of the fundamental issues for security.
Previously, many people worked on software and had enough time to think about:
Tradeoffs
Structure
Security
Many had read programming books and knew what to do and what to avoid.
Now anyone can code and deploy to production but they do not know:
How to preserve user data
How to handle security
How to debug a production bug when AI models are down
Many will say we can hire someone, but the context you need to give to an AI, you also need to give to a human.
Humans are not superhumans who can do many things with just one instruction.
We have fundamentally made one step easier and many think the whole montain is super easy.
No.
If you want to climb the mountain, you need to:
Learn to walk
Then run
Then climb
Then ascend the mountain
Hypothetically, that is engineering.
About layoffs and companies not hiring due to AI, it also makes sense to me.
During the pandemic, many companies overhired because cash was flowing from investors and SaaS and mini software were peaking.
Everyone was working from home and technology was the only thing connecting everyone.
Companies hired many times beyond capacity.
Once the pandemic ended, funds hit the real world.
Everyone realized they had overhired.
They started laying off people.
They did not want to devalue their stock by laying off because usually layoffs cause stocks to drop.
But now that does not happen if they say they are restructuring because of AI.
Internally, everyone knows it is not because of AI but because of the overhiring during the pandemic.
These companies are trying to protect their stock value by naming it AI restructuring.
We are currently in an AI bubble and the bubble will not break.
Once a lion tastes blood, it can never be a vegetarian.
The same happened with software engineering and with everyone around the world.
AI is not going anywhere.
If you think it will, you are really stuck.
I would highly suggest you upskill yourself with the current stack.
There is no stop to learning.
You should learn:
How code works
How to write raw code
What kind of code is good
What kind is bad
The entry to software engineering is harder than ever because low-quality apps and low-quality software are no longer good enough for entry.
Previously, if you knew a language, you were qualified.
Then it became harder.
If you knew a language and could create some projects, you could be hired.
Then it became:
If you knew a language, could build a project, and knew a framework, you would be hired.
Now it has become:
> Do you know the language?
> Can you create a project?
> Do you know a framework?
> Have you created a full stack?
> Have you deployed to production?
> Have you fixed security vulnerabilities?
That is how hard it is nowadays to get a job.
My take is that AI is going to stay here.
Companies will be mass laying off people now and then and calling it AI restructuring.
The entry barrier is shattered but if you are experienced and have gone through the depth of software engineering, no one is going to replace you.
Actual engineers are not replaceable.
There is still a need for good engineers everywhere.
Good engineers are rare.
You should be a good engineer and keep learning because you want to do it.
If you are just doing it for money, you probably will only survive a couple of years.
If you only want to be an engineer, then become an engineer.
Do not become an engineer if you are just here for money.
Since my 11th standard, I started tinkering with Arduino, low-level programming, Java, Kotlin, and building my apps.
I spent four years of college doing the same and now I have a job that pays comparatively well.
This is how long it took me to get to a position where I am confident enough that I can build software, fix any kind of vulnerability, and fix any kind of issue if I just spend enough time doing that.
So the intake is this.
If you are a fresher, do not be demotivated.
Head down and work hard.
You will be successful one day.
Sams retweeted
REST API Basics You Should Know
1. What is a REST API?
REST (Representational State Transfer) is an architectural style for designing APIs that allow systems to communicate over HTTP using standardized methods such as GET, POST, PUT, PATCH, and DELETE.
2. Why Use APIs?
APIs enable the frontend (React, mobile apps, etc.) to communicate with a backend server or third-party services like payments, maps, and notifications.
3. CRUD Operations and HTTP Methods
•Create → POST
•Read → GET
•Update → PUT (replace entire resource)
•Update → PATCH (partial update)
•Delete → DELETE
4. Sample REST API Endpoints
•GET /users → Fetch all users
•GET /users/{id} → Fetch a user by ID
•POST /users → Create a new user
•PUT /users/{id} → Update an existing user
•DELETE /users/{id} → Delete a user
5. Data Format: JSON
Most REST APIs use JSON for request and response payloads.
{
"id": 1,
"name": "Alex"
}
6. Frontend Example Using fetch (JavaScript)
fetch('/api/users')
.then(res => res.json())
.then(data => console.log(data));
7. Common HTTP Status Codes
•200 OK
•201 Created
•400 Bad Request
•401 Unauthorized
•404 Not Found
•500 Internal Server Error
8. REST Principles
•Stateless communication
•Client–server architecture
•Resource-based URLs
•Uniform interface
Sams retweeted
How to contribute to open source :
Step 1:
>Don't overthink it.
>Open source is just people building things together.
Step 2:
>Pick one programming language you’re comfortable with.
>You don’t need to know everything.
Step 3:
> Learn basic Git & GitHub.
> Clone, branch, commit, open a PR ,that's enough.
Step 4 (important) :
>Find a project.
>I use Ossium (link in replies) to find projects by interest.
Step 5:
> Choose small, approachable repos.
>Avoid scary ones at the beginning.
Step 6:
>Set the project up locally.
>Understand how it actually works.
Step 7:
> Look for a small issue.
> Docs, bug fixes, or tiny
improvements are perfect.
Step 8:
> Fix it and open a PR.
> Don't overthink it.
Step 9:
> Learn from reviews.
> Your first merged PR builds confidence fast.
That's how open source really starts.
Sams retweeted
Git & GitHub you should know
What is Git?
Git is a distributed version control system to track changes in source code during development.
What is GitHub?*
GitHub is a cloud-based platform that hosts Git repositories and supports collaboration, issue tracking, and CI/CD.
Git vs GitHub
- Git:Version control tool (local)
- GitHub:Hosting service for Git repositories (cloud-based)
What is a Repository (Repo)?
A storage space where your project’s files and history are saved.
Common Git Commands:
- `git init` → Initialize a repo
- `git clone` → Copy a repo
- `git add` → Stage changes
- `git commit` → Save changes
- `git push` → Upload to remote
- `git pull` → Fetch and merge from remote
- `git status` → Check current state
- `git log` → View commit history
What is a Commit?*
*A:* A snapshot of your changes. Each commit has a unique ID (hash) and message.
What is a Branch?
A separate line of development. The default branch is usually `main` or `master`.
What is Merging?
Combining changes from one branch into another.
What is a Pull Request (PR)?
A GitHub feature to propose changes, request reviews, and merge code into the main branch.
What is Forking?
Creating a personal copy of someone else’s repo to make changes independently.
What is .gitignore?
A file that tells Git which files/folders to ignore (e.g., logs, temp files, env variables).
What is Staging Area?
A space where changes are held before committing.
Difference between Merge and Rebase
- Merge:Keeps all history, creates a merge commit
- Rebase:Rewrites history, makes it linear
What is Git Workflow?
A set of rules like Git Flow, GitHub Flow, etc., for how teams manage branches and releases.
How to Resolve Merge Conflicts?
Manually edit the conflicted files, mark resolved, then commit the changes.
What is a Tag in Git?
A tag marks a specific point in history, often used for releases (e.g., `v1.0`).
Difference between Soft, Mixed, and Hard Reset?
- `git reset --soft` → Moves HEAD, keeps changes staged
- `git reset --mixed` (default) → Moves HEAD, unstages changes
- `git reset --hard` → Removes all changes
What is Git Revert?
Reverts a commit by creating a new one that undoes changes, keeping history intact.
What is Cherry Pick?
Apply a specific commit from one branch to another without merging the whole branch.
What is Git Stash?
Temporarily saves uncommitted changes so you can switch branches safely.
What is HEAD in Git?
A pointer to the current branch reference or latest commit in your working directory.
What is the difference between `origin` and `upstream`?
- origin:Default remote repo you cloned from
- upstream:Original repo you forked from (used in collaboration)
What is Fast-forward Merge?
When no divergence, Git just moves the branch pointer forward — no new commit needed.
Git Fetch vs Git Pull
- Fetch:Downloads changes without merging
- Pull:Fetch + Merge in one step
How to Undo Last Commit?
```bash
git reset --soft HEAD~1 # Keeps changes staged
git reset --hard HEAD~1 # Discards changes completely
```











