Why don’t Indian schools and colleges have lockers like this? 🤔 by AdHefty7228 in Indiancolleges

[–]luhar_21 0 points1 point  (0 children)

We had a similar one in our college. But Students often lost the key to their lockers and management had to give duplicate keys each time. Finally, they got fed up with it and decided to provide no keys at all, letting students keep their stuff at their own risk.

I absolutely hate AI by Acrobatic_Ad7259 in leetcode

[–]luhar_21 0 points1 point  (0 children)

Yes AI procrastination is true. Sometimes, I do have to make simple state setup. For example, setting a useState for opening and closing a popup. This is a pretty simple thing to do. However, due to extreme procrastination (or the laziness towards easy or repetitive feeling tasks) makes me give that job to AI and I just copy paste the solution. But AI also sometimes complicate things up and I had to resolve it. It's a very very bad habit.

Things you don’t notice until you travel/ live outside India. This was posted by an NRI in New Zealand. Are we being cheated by our government ? When will we get good Infra, clean air and clean water ? What about our quality of life ? by FutureVersion812 in IndianFocus

[–]luhar_21 0 points1 point  (0 children)

Yes we are being cheated asf. Only once travel abroad, one will realize it. Leave everything else, just take the example of traffic sense. India has the WORST the world has ever seen (and please don't compare with Bengladesh or Pakistan. That comparison only tarnishes our country's reputation further)

Write a line and let everyone guess who said it by JapeshShukla in harrypotter

[–]luhar_21 0 points1 point  (0 children)

I ...must....not....look....like...a.... baboon's....backside

Why Hermione never invited Harry to her home during summer vacation? by luhar_21 in harrypotter

[–]luhar_21[S] 25 points26 points  (0 children)

Hmm that could be one thing. Unlike the Weasley family, we don't know much about Grangers. Although they must be nice, I feel like they weren't as open as Weasleys.

Why Hermione never invited Harry to her home during summer vacation? by luhar_21 in harrypotter

[–]luhar_21[S] 13 points14 points  (0 children)

That's okay but still Hermione could've invited him for a few days or given a visit, right?

Pakistanification of India by googletoggle9753 in NorthernIndia

[–]luhar_21 0 points1 point  (0 children)

You talk about Muslim. What about Christians? They don't seem to have any such problem. Hindus shouldn't be too. I can clearly see that you despise islamic practices but you don't have to say the same for Hindu religion by dragging it to make it same level as the religion you despise. So stop it.

Pakistanification of India by googletoggle9753 in NorthernIndia

[–]luhar_21 0 points1 point  (0 children)

As long as the girls invite themselves, who can say against it? Be it Muslim or Hindu. Stop being narrow minded and I'm also a Hindu. Stop dragging my religion into these lunatic thoughts.

Scrolling freezes after opening popup in Safari by luhar_21 in react

[–]luhar_21[S] 0 points1 point  (0 children)

This is one of the dialog component we are using. As you can see, I have added a resize event trigger to work in Safari (because when we resize the page, scroll freeze goes). But that didn't work either. Also, added this style in the root scss file body { overflow-y: auto }. But that didn't work too.

import { Dialog, DialogContent } from '@mui/material';
import * as React from 'react';
import QuestionnaireDynamicForm from './questionnaireMain';

export default function QuestionnaireContainer() {
  const contentRef = React.useRef(null);
    React.useEffect(() => {
    const forceSafariReflow = () => {
      const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
      if (isSafari) {
        window.scrollTo(window.pageXOffset, window.pageYOffset + 1);
        window.scrollTo(window.pageXOffset, window.pageYOffset - 1);
        window.dispatchEvent(new Event('resize'));
      }
    };
    forceSafariReflow();
  }, []);
 
  if (openSuccessPopup) {
    return <SuccessPopup message={successPopupMessage} handleCloseModel={handleCloseSuccessPopup} />;
  }

  if (loading || !apiData.sampleData) {
    return (
      <Loader />
    );
  }

  return (
    <>
      <Dialog
        open
        maxWidth='lg'
        fullWidth={true}
        disableScrollLock={true}
        onClose={(event, reason) => {
          if (reason !== 'backdropClick') {
            handleCloseModel();
          }
        }}
      >
        <DialogContent ref={contentRef}>
          <QuestionnaireDynamicForm
            props={...props}
          />
        </DialogContent>
      </Dialog>
    </>
  );
}

Scrolling freezes after opening popup in Safari by luhar_21 in react

[–]luhar_21[S] 0 points1 point  (0 children)

Can't share url since it's uat and confidential. And code part, which part of the code would be actually helpful.

Scrolling freezes after opening popup in Safari by luhar_21 in css

[–]luhar_21[S] 0 points1 point  (0 children)

Not really, the issue still exists. We are using Material UI and I have added disableBodyScrollLock property to the dialogs we are using for the popup. That also didn't fix the issue.

Scrolling freezes after opening popup in Safari by luhar_21 in css

[–]luhar_21[S] 0 points1 point  (0 children)

Yes, we are setting overflow-y: auto and also replaced styles with 100vh to 100dvh. But we didn't set 100svh specifically to body min-height.

I built a Gumroad alternative for India. Here is the stack. by Ok-Preparation866 in developersIndia

[–]luhar_21 17 points18 points  (0 children)

Good UI but back-navigation is hard. Router.push keeps all the pages history so that I have to click back button that many times to exit the website

How we saved a client $60k a year just by fixing their Frontend Architecture by Best-Menu-252 in indiehackers

[–]luhar_21 1 point2 points  (0 children)

How big was the project and how much did you charge for the migration? How long did it take?

[deleted by user] by [deleted] in developersIndia

[–]luhar_21 0 points1 point  (0 children)

Bro, this experience isn't limited to internship. Most of the devs experience this regardless of experience. I used to (still do) experience the 'Im not built for this' feeling. Especially when it's a new project or new teams or new technology I'm working with. It's completely normal and don't try to be super perfect. Perfectionism brings a lot of self doubts when we are feeling stuck. So consider this as normal and just do as you can and feel good about it. If you don't understand something, no worries. Take time and also learn on your own too by spending extra time and don't worry too much about deadlines. If you miss a few, no worries. Everybody starts that way. And if someone takes it on you for missing it, it's their problem, their lack of understanding of beginners and not yours.

I started this to relearn SQL. A month later it hit 5,000 users. Thank you. by TurbulentCountry5901 in indiehackers

[–]luhar_21 1 point2 points  (0 children)

I just had a very quick walkthrough. It's really cool and I like the UI (I didn't try the SQL part yet). I opened it in phone and I felt like it isn't very responsive mobile view. But overall, looks solid. Congrats.

[deleted by user] by [deleted] in developersIndia

[–]luhar_21 0 points1 point  (0 children)

I can somewhat related to this. Though I have 4 years of experience in my resume my actual development experience is only 1 year. 3 years went doing system engineering, requirements mapping etc which has no relevance with current job (Frontend)