Basant Mahar (@BasantMahar) profile picture

Software Developer

Uttarakhand, India
Joined December 2012
Photo by Basant Mahar (@BasantMahar)Photo by Basant Mahar (@BasantMahar)Photo by Basant Mahar (@BasantMahar)
Basant Mahar retweeted
Founder gets sad when someone from a tier-1 college refuses to join at 10,000₹ per month. Zamindaari nahi jaayegi is desh se.
344
715
70
11,708
637,612
Monkey adapted to walk like humans after losing his front limbs
1,264
12,395
2,495
122,743
12,258,872
Basant Mahar retweeted
Wishing all Indians a Happy Independence Day! 🇮🇳 Today, we celebrate our freedom and the progress we’re making together towards a bright and exciting future. Jai Hind! #IndependenceDay2024 #India
2
2
89
😂😂
Here's a strange reunion of old students of a school.! There are collectors, police officers, doctors, advocates, principals, teachers, businessmen and owners of schools ! All of them have a desire.... The Principal should beat them with his cane to help them recollect their great school life...... Why because.. they believe that they reached greater heights in their life as a result of the "cane blessing " they got at the hands of the Principal. 😊😊😊🙏🏆
23
Excited to be back at UI5con once again. And this year, both as a presenter and sponsor :) If you're attending #UI5con 2024 , join us right after the keynote as we share about the power of UI5 tooling & help you customise it for your engineering team. #UI5 #Fiori #INTEGRTR
4
9
445
16
468
44
5,847
238,794
Basant Mahar retweeted
engineers will notice a library running 0.2s slower but cant tell if someone is flirting with them
64
1,625
260
15,038
588,978
Basant Mahar retweeted
At this point in my tenure I find that overabstracted code is the hardest to work with. I don’t want to jump around 10 functions to figure out the logic at play. Even with comments. Way too easy to lose the plot.
still thinking abt how the Clean Code guy said he prefers functions to be about 4-6 lines. that's like, comically short
49
61
11
1,012
91,294
Trying to come up with analogy to explain #xzbackdoor to my mom. Best I’ve come up with so far: Imagine a grizzled, tired, old oil pipeline maintainer was approached by a plucky young kid who was new to the small town the oil pipeline passed through. Slowly, over years, the kid gained the old guy’s trust and did more of the critical work of keeping the pipe well maintained, often without the grizzled veteran checking too carefully. Most the work was actually helpful, but unbeknownst to anyone, once he had unfettered access the kid sprinkled nearly undetectable explosives into the flow of oil that would only detonate when they were turned into gasoline that ran in the vehicles that made up the Presidential motorcade. It would have been the perfect way to get away with assassinating the President but a random Prius owner, who hyper optimized his car’s performance, noticed the gas he was getting was slightly less performant so analyzed its makeup and traced the explosive back to the source, foiling the kid’s plan. Don’t love it, and resulted in lots of questions around how such explosives would actually work and survive the refining process, but best I’ve come up with. Any better suggestions?
61
227
15
2,849
505,570
Basant Mahar retweeted
A dude has a meticulous 2 year plan to include a backdoor into almost every system in the world Only to fail because a guy started to notice that his ssh login is 0.5 seconds slow for some reason Study autistic byte-wizards
81
2,503
159
27,452
1,915,979
I'm still in shock the xz backdoor happened. But even more surprising is that it got caught because a dev noticed login in to his machine via ssh was taking 0.8s instead of the usual 0.3s and decided to look into it. And he happened to be familiar with the Valgrind situation
21
345
45
5,295
595,788
The word Culture is often misinterpreted when it comes to working in a company. I’ve heard a lot of people define culture as: “We have a four-day work week” “I can wear shorts at my office” “We get gifts on festivals” “We have unlimited vacation” People confuse CULTURE with HR policies You could have a 4-day work week but also have a manager who micromanages every task. If your company was a person, the Culture of a company would be their behaviour and how they respond to different situations. Every time a new situation comes up, how the senior management/founder tackles it sets a precedent. And next time the same problem arrives, the employees respond similarly. That builds culture. A company that responds to all its users and customers no matter how small the team is or how busy the employees are has a culture of quick response. A company where employees can question decisions made by the management and give critical feedback about the product has a culture of transparency. Next time someone tells you their company has a great culture, you know what to look for.
13
6
2
92
14,953
I wrote this Format dialog back on a rainy Thursday morning at Microsoft in late 1994, I think it was. We were porting the bajillion lines of code from the Windows95 user interface over to NT, and Format was just one of those areas where WindowsNT was different enough from Windows95 that we had to come up with some custom UI. I got out a piece of paper and wrote down all the options and choices you could make with respect to formatting a disk, like filesystem, label, cluster size, compression, encryption, and so on. Then I busted out VC++2.0 and used the Resource Editor to lay out a simple vertical stack of all the choices you had to make, in the approximate order you had to make. It wasn't elegant, but it would do until the elegant UI arrived. That was some 30 years ago, and the dialog is still my temporary one from that Thursday morning, so be careful about checking in "temporary" solutions! I also had to decide how much "cluster slack" would be too much, and that wound up constraining the format size of a FAT volume to 32GB. That limit was also an arbitrary choice that morning, and one that has stuck with us as a permanent side effect. So remember... there are no "temporary" checkins :) Follow me for more random code musings!
572
3,885
517
26,206
2,464,883
Hey if you’re developing an app and disable password field paste, I hope you stub your toe every day for the rest of your life. For real.
55
389
35
3,871
200,410
Basant Mahar retweeted
🎉Celebrating 5 years of INTEGRTR! 🚀Thank you to all our customers, partners, and the incredible team for being a part of HR Innovation! #INTEGRTR5Years #CloudIntegration #SuccessStories
3
1
4
232
Happy Monday
4
29
4
251
33,502
Basant Mahar retweeted
A professional truck driver traversing India prepares authentic desi cuisine in his truck while on the move. He has 1.2mn YT & 0.6mn insta followers. His vids got positive vibes Rajesh single-handedly mogs all travel & food influencers This video alone has 3.5 mn likes on Insta
71
282
27
3,061
278,333
Basant Mahar retweeted
A rich person's understanding of poverty in India still baffles my mind
519
1,020
1,167
7,325
2,318,192
11
117
6
2,740
72,206
Basant Mahar retweeted
Airbnb has a blueprint of their entire customer journey on their office walls. They then map all product, policy, and service updates to it. More companies should do this to avoid shipping the org chart.
95
926
90
8,207
1,528,999