A job is a paid employment position, while a duty is a moral, legal, or general obligation. A job consists of specific tasks done for money, whereas a duty can be an unpaid moral or social expectation.
𝗪𝗵𝘆 𝗱𝗼 𝘄𝗲𝗯𝘀𝗶𝘁𝗲𝘀 𝗿𝗲𝗺𝗲𝗺𝗯𝗲𝗿 𝘆𝗼𝘂 𝗮𝗳𝘁𝗲𝗿 𝗿𝗲𝗳𝗿𝗲𝘀𝗵?
You log in.
Refresh the page.
Still logged in. 👀
How?
.
→ When you log in successfully
→ The server creates a way to identify you
Usually through:
• Session ID
• JWT Token
.
→ This identifier is stored in your browser
Typically as:
• Cookies
• Local Storage
.
→ When you refresh the page
Your browser automatically sends that identifier again.
.
→ The server checks it
→ Recognizes you
→ Returns your data
→ No need to log in again
.
Without this mechanism:
→ Every page refresh
→ Every new request
→ Would require login again 😭
.
𝗦𝗶𝗺𝗽𝗹𝗲 𝗧𝗶𝗽
→ Websites don't remember you
→ Your browser keeps sending proof of who you are
→ That's why you're still logged in after refresh
#Web #Backend #Java
𝗪𝗵𝘆 𝗮𝗿𝗲 𝗽𝗮𝘀𝘀𝘄𝗼𝗿𝗱𝘀 𝗵𝗮𝘀𝗵𝗲𝗱, 𝗻𝗼𝘁 𝗲𝗻𝗰𝗿𝘆𝗽𝘁𝗲𝗱?
If encryption is secure, why don't apps encrypt passwords?
→ Encryption is reversible
Encrypted Data + Key = Original Password
→ Passwords are different
Apps don't need to recover your password.
They only need to verify it.
→ So passwords are hashed:
Password → Hash → Stored in DB
During login:
→ Hash entered password
→ Compare hashes
→ Match = Login
𝗦𝗶𝗺𝗽𝗹𝗲 𝗧𝗶𝗽
→ Encryption = recover data later
→ Hashing = verify data without storing the original value
That's why passwords are hashed, not encrypted.
#Security #Backend
Most people assume .𝗶𝗼 is just another modern tech-focused domain extension.
It isn't.
.𝗶𝗼 is actually a country-code TLD (ccTLD) assigned to the British Indian Ocean Territory.
The tech industry adopted it because 𝗜/𝗢 is a familiar computing term, and the domain is short, memorable, modern & developer-friendly.
Today, many people associate .𝗶𝗼 with tech startups and software products rather than the territory it originally represents.
Interesting how a country-specific domain became one of the internet's most recognizable tech brands.
.𝗶𝗼 may be the most successful unintended rebranding on the internet 😄
Backend has boundaries.
Frontend feels infinite, the boundaries are blurry until someone decides what kind of theme, style, and experience they actually want.
AI can generate layouts, themes, colors, and animations all day long, but someone still has to decide what feels right.
The challenge isn't generating UI anymore.
The hard part is having enough taste and vision to guide it.
Without that, every tool eventually starts producing the same AI-looking designs.
So, I'd pick option 6 :)
Backend has boundaries.
Frontend feels infinite, the boundaries are blurry until someone decides what kind of theme, style, and experience they actually want.
AI can generate layouts, themes, colors, and animations all day long, but someone still has to decide what feels right.
The challenge isn't generating UI anymore.
The hard part is having enough taste and vision to guide it.
Without that, every tool eventually starts producing the same AI-looking designs.
So, I'd pick option 6 :)
𝗪𝗵𝘆 is main() static in Java?
Java program execution starts from:
public static void main(String[] args)
When the JVM loads a class,
→ no object exists yet.
So JVM cannot call:
obj.main();
because no object has been created.
static methods belong to the class itself,
→ not to any object.
That’s why JVM can directly call:
Test.main();
without creating an object first.
If main() were non-static:
class Test {
public void main(String[] args) {
}
}
then JVM would first need:
Test t = new Test();
But who creates this object first? 👀
To avoid this dependency problem,
Java keeps main() static.
𝗦𝗶𝗺𝗽𝗹𝗲 𝗧𝗶𝗽:
→ Program starts before objects exist
→ so the entry point must belong to the class itself
That’s why main() is static.
#Java #Programming #CoreJava
𝗹𝗲𝗻𝗴𝘁𝗵 vs 𝗹𝗲𝗻𝗴𝘁𝗵() in Java
→ 𝗹𝗲𝗻𝗴𝘁𝗵
• Used with Arrays
• Fixed property/field stored internally by JVM
int[] arr = new int[5];
System.out.println(arr.length); // 5
→ No calculation happens
• JVM already knows array size
→ Arrays are special JVM-level objects
• so "length" is a property, not a method
→ 𝗹𝗲𝗻𝗴𝘁𝗵()
• Used with String class ("java.lang.String")
• Provided as a method/behavior
String s = "Hello";
System.out.println(s.length()); // 5
→ Strings are normal Java objects
• behavior is exposed through methods
→ Important Unicode detail:
"😀".length() // 2
→ "String.length()" counts UTF-16 code units
• not actual visible characters
→ Many emojis use 2 UTF-16 code units
• called surrogate pairs
𝗦𝗶𝗺𝗽𝗹𝗲 𝗧𝗶𝗽:
→ Arrays → "length" → property/field
→ Strings → "length()" → method/behavior
#Java #CoreJava
HackerRank built itself as a serious coding platform.
People here expect value too - openings, contests, coding discussions, community challenges etc. not just engagement memes 😅
If nothing else, at least share opportunities or some insightful thing... That would match the HackerRank aura much better.
𝗔𝗜 𝗮𝗴𝗲𝗻𝘁𝘀 are real, and yeah the shift is happening… but not exactly the way social media hype makes it look right now.
AI agents are genuinely improving fast. They already help with:
• 𝗯𝗼𝗶𝗹𝗲𝗿𝗽𝗹𝗮𝘁𝗲 𝗰𝗼𝗱𝗲
• 𝗱𝗲𝗯𝘂𝗴𝗴𝗶𝗻𝗴
• 𝗱𝗼𝗰𝘂𝗺𝗲𝗻𝘁𝗮𝘁𝗶𝗼𝗻
• 𝗳𝗲𝗮𝘁𝘂𝗿𝗲 𝗶𝗺𝗽𝗹𝗲𝗺𝗲𝗻𝘁𝗮𝘁𝗶𝗼𝗻
• 𝗮𝘂𝘁𝗼𝗺𝗮𝘁𝗶𝗼𝗻
• 𝗳𝗮𝘀𝘁𝗲𝗿 𝗱𝗲𝘃𝗲𝗹𝗼𝗽𝗺𝗲𝗻𝘁 𝘄𝗼𝗿𝗸𝗳𝗹𝗼𝘄𝘀
So yeah, the “shift” is real.
But social media exaggerates the timeline a lot. Most companies still need engineers who can:
• 𝘁𝗵𝗶𝗻𝗸 𝗹𝗼𝗴𝗶𝗰𝗮𝗹𝗹𝘆
• 𝗱𝗲𝗯𝘂𝗴 𝗺𝗲𝘀𝘀𝘆 𝘀𝘆𝘀𝘁𝗲𝗺𝘀
• 𝘂𝗻𝗱𝗲𝗿𝘀𝘁𝗮𝗻𝗱 𝗳𝘂𝗻𝗱𝗮𝗺𝗲𝗻𝘁𝗮𝗹𝘀
• 𝘄𝗼𝗿𝗸 𝘄𝗶𝘁𝗵 𝗲𝘅𝗶𝘀𝘁𝗶𝗻𝗴 𝗰𝗼𝗱𝗲𝗯𝗮𝘀𝗲𝘀
• 𝗰𝗼𝗺𝗺𝘂𝗻𝗶𝗰𝗮𝘁𝗲 𝗮𝗻𝗱 𝗺𝗮𝗸𝗲 𝗱𝗲𝗰𝗶𝘀𝗶𝗼𝗻𝘀
haven't received any response from the top 3 yet. most of the responses i got were through company career pages directly.
among platforms, i found indeed relatively better.
naukri sometimes feels overloaded with questionable openings...
and and linkedin is a different cinematic universe ..
If your main goal is competitive programming, then C++ is usually preferred because of STL and speed.
If your goal is placements/backend development, Java is a very solid choice because of its strong ecosystem.
About courses/playlists - honestly, don’t overthink free vs paid too much.
DSA concepts are mostly the same everywhere. What matters more is consistency, problem solving and whether you actually understand the logic yourself.
You can absolutely start with free YouTube playlists or articles. Pick any teacher whose explanation makes sense to you and move topic by topic instead of endlessly searching for the “perfect playlist”.
One important thing: try not to become too dependent on solution videos.
Videos are great for learning concepts, but for DSA I would suggest referring to articles first. Real understanding usually comes when you struggle with problems yourself, read articles/editorials and think through the logic independently.
A polished explanation can sometimes make us feel “I understood everything” - but a small twist in the question can expose gaps in understanding.
So use videos as support, not as the entire learning process because DSA is not about finishing a playlist.
On Twitter: “hey @X”
On LinkedIn: “thrilled to announce that”
nothing wrong with it…
but after seeing it 20 times a day, the feed starts feeling AI-generated 🐢🥲