ESP32 FreeRTOS multitasking tutorial: Reading sensors without blocking WiFi
If you call `delay(1000)` inside `loop()`, your ESP32 drops incoming WebSocket packets and freezes HTTP server tasks. Instead, pin sensor polling to Core 0 with `xTaskCreatePinnedToCore()` and let the network stack handle incoming requests on Core 1. Dual-core microcontrollers should be treated like concurrent systems!
LiPo battery safety tips for college robotics teams
Never charge LiPo batteries unattended in your hostel room! Always use a balanced charger, set the correct cell count (3S/4S), and charge inside a fireproof LiPo safety bag. A swollen battery is a chemical hazard — discharge it properly with a salt water bath before disposal.
Demystifying pointers: Think of memory as a row of numbered lockers
Variables are what is inside the locker. A pointer is simply a slip of paper with the locker number written on it. The `&` operator gives you the locker number. The `*` operator opens the locker and reads what is inside. That's literally the whole concept. Don't let your first C programming textbook intimidate you.
Three things that matter 100x more than your GPA when you graduate
1. The 3-5 close friends who will pick up your call at 3 AM ten years from now.
2. The ability to learn a completely new domain from scratch in two weeks without getting overwhelmed.
3. Your health, emotional resilience, and communication skills.
Keep your GPA above the eligibility cutoff (usually 7.5 or 8.0), but don't sacrifice your youth and friendships chasing a 9.8.
Interactive WebGL Particle Sphere built for Tech Fest
Built this interactive 3D particle demo in pure WebGL/Three.js for our college tech fest website showcase. Click and drag inside the embed below to distort the particle field:
https://codepen.io/shaswatraj/pen/vYN...
Let me know what you think of the spring physics!
Server Actions vs API Routes in Next.js App Router: When to use which?
For everyone building fullstack apps on Next.js 15/16: When do you prefer using Server Actions directly inside form components versus creating a dedicated `/api/route.ts` endpoint? My rule of thumb is: Server Actions for transactional mutations tied to a specific UI form, and API routes for public Webhooks, pagination fetchers, and external integrations. What is your team's pattern?
Boys Hostel Night Life vs Girls Hostel Night Life:
Girls Hostel at 9:01 PM:
• Gate locked with 3 padlocks
• Biometric scanner beeping
• Guard checking roll numbers with a torchlight
• Automated SMS sent to parents
Boys Hostel at 2:45 AM:
• Main gate wide open swinging in the wind
• Security guard fast asleep on a folding chair
• 4 guys riding a single Honda Activa inside the corridor delivering Maggi
• Stray golden retriever attending wing meeting
Girls hostel gate vs Boys hostel gate security protocols:
Girls Hostel:
- Biometric scan
- Iris recognition
- OTP sent to parents, grandfather, and ancestral village sarpanch
Boys Hostel:
- Security guard asleep on a plastic chair
- Stray golden retriever acting as acting hall warden
Campus lore: The legend of the phantom printer in the CSE department lab
Legend has it that if you send a print job to Network Printer 3 at 2:00 AM, it will spontaneously print out three blank pages followed by a single page saying 'Syntax Error on Line 42' even if your computer is completely turned off. Every campus has that one possessed piece of equipment.
Reviewing Arman's Canteen special paneer roll (Unbiased ₹60 critique)
Rating breakdown:
1. Flavour & Seasoning: 9/10 (rich roasted paneer with tangy green chutney)
2. Crispiness of Paratha: 8.5/10 (flaky without being an oil slick)
3. Portion size: 9/10 (fills you up after a 4-hour lab)
4. Value for Money: 10/10.
Conclusion: Undisputed top 3 comfort meal on campus. Always ask bhaiya for extra onions.
Guesstimate framework for APM interviews: Step-by-step breakdown
Question: 'Estimate the number of cups of tea consumed daily on your university campus.'
1. State clarifying assumptions (campus student population = 6,000; hosteler vs day scholar split = 80/20).
2. Segment by user personas (non-tea drinkers = 30%, light drinkers = 1 cup/day, heavy exam grinders = 3 cups/day).
3. Add faculty and canteen footfall.
4. Sanity check with canteen vendor batch sizes. Interviewers care about structured logic, not the exact number.
Restoring an abandoned oscilloscope from the department basement
Found a 1994 dual-trace analog cathode-ray oscilloscope in the corner of the measurement lab gathering cobwebs. Replaced two blown electrolytic capacitors and cleaned the potentiometers with isopropyl alcohol. The green phosphor trace lit up like magic! Testing audio waveforms with it right now.
The final match between Room 214 and Room 218 lasted 45 minutes with spectators hanging off the balcony railings. Score ended 21-19 in the third set. Trophy was an empty 2-litre Sprite bottle signed with permanent markers. Peak college hostel sports.
FOUND: Casio scientific calculator (FX-991CW) in Room 214
Left on the 3rd bench after the 11:30 AM Electrical Machines lecture. Has a small blue sticker on the back cover. Handed it over to the lab attendant in Room 212. Identify the serial number or the sticker design to claim it.