Sabitlenmiş Tweet
Kunal Ladhani
2.2K posts

Kunal Ladhani
@KunalLadhani
Software Engineer | @BitsPilaniGoa '21
Bengaluru, India Katılım Temmuz 2010
2.3K Takip Edilen197 Takipçiler
Kunal Ladhani retweetledi
Kunal Ladhani retweetledi

Understanding glibc malloc by sploitfun
sploitfun.wordpress.com/2015/02/10/und…
* How is heap memory obtained from the kernel?
* How efficiently is memory managed?
* Is it managed by the kernel, by the library, or by the application itself?
* Can heap memory be exploited?
Get those answers.

Vivek Galatage@vivekgalatage
glibc malloc internals sourceware.org/glibc/wiki/Mal… #MemoryManagement
English
Kunal Ladhani retweetledi
Kunal Ladhani retweetledi

@arpit_bhayani What if the 5/5 DB guy finds a better job, wants to go out, etc. and you get some production issue or outage.
Don't you think this will create extreme dependencies ?
English

I feel the tech industry will have spiky teams in the future, i.e., teams with candidates who are 5/5 in some areas rather than 3/5 across everything.
A candidate who holds 5/5 in databases and 2/5 in low-level design is more valuable than someone who is a solid 3/5 across the board. The 3/5 person seems to be a safe bet, but it would be nearly impossible to drive outsized impact with a fully balanced individual.
The thesis is simple - extreme strengths are rare and hard to develop. A 2/5 weakness can often be coached up to a 3/5 with time. But you cannot coach someone into being exceptional at something.
So, as the world becomes more aggressive and cutthroat, well-rounded candidates will create an impedance mismatch. They fit everywhere but excel nowhere. A team of 3/5 generalists will be competent (no doubt), but highly unlikely to be remarkable.
The better bet would be to hire people with sharp edges, pair them with teammates whose spikes complement their gaps, and coach up the soft spots over time to become average.
Exceptional ones have never looked balanced on paper.
English

I had an offer from an incredibly well-funded startup in early 2020 ($150M+ raised). I was supposed to join their ML team in April. I had already resigned and was serving my notice when COVID hit.
HR called and said they were deferring my offer. Assured me the offer was safe and that they just wanted me to join once offices reopened.
For the next couple of months we stayed in touch. Every conversation repeated the same thing: the offer is safe. The market was dead, so I spent the time doing research with an ex-advisor.
We finally set my joining date: June 1st.
In the last two weeks of May I had multiple calls with my future manager. We discussed MacBook configs, projects I’d work on, brainstormed approaches. I even shared my shipping address for the laptop.
Two days before joining they rescinded the offer.
That day I learned something important:
Your employer will not hesitate to rescind an offer or lay you off if it benefits them.
You shouldn’t feel guilty about optimizing for yourself either.
Everyone is optimizing for their own interests. It’s a ruthless market.
An employer has 100 / 1000 / 10000 employees.
You only have one job.
Jasveer Singh@jasveer10
Interviewed a backend developer. Guy was at 21 LPA. We offered 28 LPA, roughly a 33 percent hike. He agreed and confirmed joining. Yesterday he emailed saying he got a 32 LPA offer elsewhere and now wants 36 LPA from us. Nonsense. Why agree in the first place. If you are still shopping offers just say it upfront. We stopped interviewing other candidates and waited through the notice period for the joining date. Now two days before joining, he came back with a new price tag.
English

Day 8 of the relationship ❤️
- I was busy all day because of an office deadline.
- She told her mom about us. Her mom said, “Always stay happy and together.” She said it with so much emotion and happiness. (Am I cooked? 😭)
- We are both starting to care for each other very deeply.
- BTW, I didn’t code at home today.
- She sent me a bunch of reels (couple ones) and told me to watch every single one.
- Honestly, life feels a little different these days.
omkaar@codexomkaar
Life update: Got a new girlfriend! Let’s see how long it lasts.
English

@Kritikaaaa_10 What are you doing about the post acne marks. I'm also Struggling since years
English

The 'no sugar' life is officially paying off! 🍭🚫
I am 3kg down in a month and my skin is finally healing.
I was in a dark place for a while watching my weight go up and dealing with chronic acne that just wouldn't quit. After two years of constant struggle, I finally have clear skin.
Just left with post acne marks - that’ll be gone soon too 🧿
Your girl is getting her charm back! 💅

English

@AyAys728 Mai to khud hi khumi ghumi bf tha uske samne 😂😂😂😂
Filipino

@arpit_bhayani Born to build software, forced to take updates on JIRA tickets and tell ppl to do their own work 😂
English

@striver_79 Simple google search of the qn will lead to the LC link of that qn in most cases. No need for such explanations but honesty dekh ke aacha laga 👍
English

What is the definition of "free" here?
- The sheet is still accessible to you.
- The blogs are still there.
- The YouTube videos are still there.
What's taken down?
- The links to third parties (LC links are still there).
- The links were taken down a year back.
- Reddit is slow this time lol.
- None of the third parties support TUF anyway, so why do we need their links?
What's not allowed?
- Any kind of submission on our platform.
- You get 15 credits to run per day.
Why?
Per run/submit, we do two judge executions on our end. Each judge execution costs us 0.04 INR. Two of them cost 0.08 INR.
15 credits per day that we offer for free costs us 15 × 0.08 = 1.2 INR per person if they use all credits. We have around 75–100K people using the compiler daily. The total cost comes to 1.2 × 75,000 = 90,000 INR per day (worst case). Monthly, that's ~27L.
This is just for the free credits and doesn't include employee costs or server costs. Check the pricing here: #pricing" target="_blank" rel="nofollow noopener">judge0.com/#pricing
Opening unlimited submits would generate numbers that would shut us down, and you wouldn't see TUF ever again.
You or the post author can sign a contract to donate your first month's salary for the cause, I will happily open equivalent submissions for the community.
Our paid plan is not expensive compared to most US companies like LC (they charge ~3000/month), which is why they can offer a free practice portal. Doing the same here in India would not work, you know how the audience reacts. Our paid plan is around 5-6K (we get 4-5K for 2 years as GST is not ours, making it around ~200 INR per month), and we offer your the best support out there, with access to DSA, Unlimited Submits, Core Subjects, OOPs, LLD, SQL, Aptitude. We try to do as much as possible, but financial constraints limit everyone. We do not come from a family like the Ambani's, with stacks of cash to keep funding things.
As a student, you don't think about the backend. The sheet is still free. Removing some third-party platform links doesn't make it paid. Period.
Thrishal@Thrishal_Shetty
Is this true? @striver_79
English

@gargipalaskar How to know if it's just knee pain or something deeper. I ran a 5k and have had pain since a week
English
Kunal Ladhani retweetledi

Most valuable thing I learned from a senior engineer:
How to read a codebase you've never seen.
1. Find where requests come in
2. Follow one path end to end
3. Map the data flow, ignore the logic
4. Only then zoom into the details
Took them 10 minutes to teach. Saved me years of fumbling.
Some skills are so fundamental we forget they need to be taught explicitly.
English

Until you realise they don’t have to make any effort to maintain a friendship with you and that’s the line.
Initiative is powerful, but it’s meant to open doors instead of carry the entire relationship on your back.
Healthy connection meets you halfway, where effort is reciprocated and presence is mutual.
Be the one who reaches out, yes, but also be the one who notices when it’s time to step back and let others show you who they are.
English

major cheat code in life: be the one who reaches out. text first. call first. plan first. initialize first. most people wait to be chosen. be the chooser. connection requires initiative. friendship requires effort. love requires action. stop waiting to be picked. start picking. initiative is attractive.
English

Went to meet a guy and came back home alone at around 10 :30 pm. He didn't even ask if I reached home safely ? So I raise this concern and stop talking to him. He said you need a princess treatment without doing anything. When did basic courtesy become princess treatment ? Bring back masculine man please.
English

@IndiGo6E The customer protection and regulation is a joke in India. Honestly. Heck, corruption so deep rooted, it won't be better even in the next 100 years in India.
English

@IndiGo6E you complete disaster. Been stuck in this plan since 1am and it's 3:30am now. I should have been wt my home by now. But guess what, the landing gear is broken.
This issue could've been caught if you'd just maintain your aircrafts properly, did inspections. (1)

English

@asmah2107 Box them up in one txn that way if 2nd step fails then you rollback
English

Imagine your code does this:
> Save Post to the Database.
>Publish PostCreated event to Kafka.
Scenario: The database save succeeds (Step 1), but right before line 2 executes, the server crashes or the network blips.
Result: You have a "Ghost Post." It exists in the database, but downstream (Search, Feed) never heard about it because the event was never sent.
How do you fix this ?
English








