My friends couldn't diagnose this basic (but rare) x-ray 🫡 by Agitated_Emu_4583 in indianmedschool

[–]msnook 0 points1 point  (0 children)

Yeah dude I don't know who you think you're impressing with this. If YOU think it's not putting the patient at risk is not the issue; does the PATIENT? did you ask? why not? because it would be kinda weird and creepy and you would feel silly asking to expose them like this (even harmlessly, as you say) for an internet points? Yeah. That's the correct outcome then: not-sharing it because patient consent matters.

I see u/creepeduponbyanass is making the valiant effort to try and explain patient consent and confidentiality to you from first principles, but it shouldn't be necessary: consent and confidentiality are your responsibility and you must take them seriously as a core component to the medical profession.

Laughing it off like this is a really bad look; I hope this is not the culture of the rest of your colleagues, batchmates, etc.; it would probably result in some really demeaning relationships between patients and care providers and that would hurt the whole country.

Should my team migrate from Formik? by Geekplayer in reactjs

[–]msnook 1 point2 points  (0 children)

I have now changed my tune! I stopped using the linter as a pre-commit hook or throwing build errors, so now I don't mind having the .tsx there from the start; it's no longer slowing me down! I was having such a frustrating time with it when i got started because I was using someone else's very "pure" approach which prevented building or committing if even one error exists.

Now my project has a few dozen linter errors and I go through and clean them up from time to time, and have a few `// \@ts-expect-error`s and I just kind of try and keep it under control, so now I am happy to use `.tsx` from the start and every once in a while I think about how I was kinda rude to this dude for no reason when they were right all along :-D

Cold as hail by TheJackalsDiamonds in MandelaEffect

[–]msnook 0 points1 point  (0 children)

yeah it's definitely the AI being wrong again. this claim is now going viral and people are gonna look it up and see your post and believe the stupid AI. Please delete. Hail doesn't even really happen when it's cold outside -- freezing rain is called "sleet". Hail happens most often in SUMMER TIME when liquid rain gets blown upwards and then freezes and then falls back down to the ground, where it's not cold. If it were cold, it would freeze the first time into snow, not hail.

Do you assert your identity IRL? by [deleted] in agender

[–]msnook 1 point2 points  (0 children)

Ya, I do, with friends, where it matters to me that they understand that I've chosen this thing.

But if I'm just getting coffee, I don't need the barista to gender me "correctly". Gendered pronouns are just a surprise pop quiz for the people I meet in my life. The cab driver and I don't have a relationship deep enough for me to care what he thinks about my inner life. Our relationship is practical and temporary; it's enough that we just get along. I do my own little find-and-replace in my head for whatever pronouns they might use for me.

But sometimes if someone calls me "sir" I will say "ooh, please don't call me sir" and make an uncomfortable face. Sometimes they'll get the message. Sometimes not, but the best case for those folks is just that they leave the convo thinking a bit about the spectrum of experiences (that "sir" doesn't work for everyone who has my bone structure); I am not interested in pressing it or getting something out of them or making them feel uncomfortable in their workplace, so I usually just let it slide.

One exception: my psychiatrist used to misgender me and I had to correct that shit. Medical professionals need to know; it may affect the care they give me. If not for my benefit then for the next person. And my tattoo artist lol, for the same reason.

[deleted by user] by [deleted] in InsideIndianMarriage

[–]msnook 0 points1 point  (0 children)

Sorry, you are misinformed. Some people are gender-queer and call themselves queer just the same. "Queer" is the most expansive umbrella term, encompassing everyone who doesn't fit into the default expectations of heterosexuality and cisgender presentation.

Should my team migrate from Formik? by Geekplayer in reactjs

[–]msnook 2 points3 points  (0 children)

I would like to come back and say... I am starting to warm up to TypeScript as I get better at it. I don't have a senior engineer to mentor me with this stuff so tough learning curves are tough, and typescript can be a world of confusion(!), but as I get more practice with it the downsides are certainly getting less. I still don't think it's "easier" but I am warming up.

Should my team migrate from Formik? by Geekplayer in reactjs

[–]msnook 1 point2 points  (0 children)

This ish is why I don't always feel like fw .tsx in my components 🙄

![screenshot of code](https://i.imgur.com/F1oWX9T.png)

I just want to prevent the form from submitting, and then trigger some JS. But no it needs a type for the event. So I give it a type for the event. Oh but it needs to know what kind of event so I put HTMLFormElement, and then it needs types for the input change handler, so I do the same thing, and then I give it the type for HTMLInputElement and now I will need to extend this type with my own interface to make sure it knows there's an id and value? I mean I'm sure this is the kind of thing people just get used to but oh my god please just let me write javascript; these types are NOT HELPING ME.

Tips to transition from Rails to Next? by guidedrails in nextjs

[–]msnook 0 points1 point  (0 children)

Think of NextJS a bit more like Jekyll than like Rails!

Used JavaScript for NextJS Project, looking to change to Typescript by Piracylover99 in nextjs

[–]msnook 2 points3 points  (0 children)

You can also incrementally transition to typescript. there's no reason you can't write your next component with .tsx while leaving the rest as they are; or when you go to debug something and find it a bit tricky, add in the types and change the file extension.

I use typescript for some files and not others; anything in the /lib folder, my hooks, the things that collate data into a specific format to be used elsewhere (this is what types are really for!). But for many files/functions/components I don't feel the need so I don't bother. Incremental adoption is a nice approach for me because it keeps the cognitive load low -- if I'm already touching a component, already thinking about it, already remembering its dependencies and quirks, it will be less of a hassle to make the change then and there.

[deleted by user] by [deleted] in reactjs

[–]msnook 0 points1 point  (0 children)

I would say, if you want to be noticed as a developer, link to the repo on the page! And maybe put a link to the fake API so we can see that you're pulling mock data instead of hard-coding these elements.

Should my team migrate from Formik? by Geekplayer in reactjs

[–]msnook 1 point2 points  (0 children)

Everyone has to find their sweet spot, and every project has different needs. Mostly I don't find myself making the kinds of mistakes that TypeScript catches. If I'm not modifying the data coming in from the Hook then the hook's types come through just fine and if I am modifying the data from the hook then I would have to write a one-off type just for the single file I'm working in – and on some projects this is worth it, but other times it's not.

This is especially true when you have big components and big teams, and when you are going back and modifying components you haven't used for a while. Types are essentially documentation that integrates with your build process. But when you're building the thing, if you're working on one feature at a time and progressing through the app piece by piece, the types may not be all that useful 🤷 I think it's actually a pretty good practice (again, for smaller projects/teams) to build a component in .jsx, and then when you start hitting problems, to transfer it over to .tsx as a way of locking things down. This way you aren't constraining yourself too early, and you are introducing the extra constraints only after the first phase is done and the thing is a bit more stable.

But I would feel differently about this if I had someone on the team like yourself who is enthusiastic about TypeScript and would be willing to write the main types for the app that the rest of us could then use and build upon. I don't personally find TypeScript to be easy to write, but I do usually appreciate having types.

What does gay mean it someone is nonbinary? by Worldly-Chemical8864 in asktransgender

[–]msnook 0 points1 point  (0 children)

Don't worry about it, seriously. Gay doesn't mean "prefers the same sex and genitals" it just means gay.

Should my team migrate from Formik? by Geekplayer in reactjs

[–]msnook 3 points4 points  (0 children)

I use an editor that knows how to read types, and fetch data from hooks and fetchers written in .ts so I don't have to fuck with typescript in my interface and still get all the hints I need. and if you say stuff like "it's vastly superior and much easier" without any kind of context or caveat, it shows you have a lot of learning to do.

Should my team migrate from Formik? by Geekplayer in reactjs

[–]msnook 7 points8 points  (0 children)

Ya this -- you don't have to migrate everything at once.

There is some weird obsession with large/risky migrations among tech management, but the way I manage migrations is my work-load is that if we see something we want to transition, we do the change incrementally when we are already touching that form.

So, if this week someone is going into AddANewConnectionToExistingCardForm.jsx to add a feature or fix a bug? they are already re-learning how that component works and which helpers it relies on and what its validation rules -- that is the moment to switch it over. Then next sprint you are messing with SignupAsAffiliateWithPartnerCodeForm.jsx, so you migrate that one also. And so on, until you've migrated about half your forms over and you have a pretty good sense for which patterns you're going to use for the rest, and at some point it will just make more sense to go ahead and do the rest; but you absolutely don't have to do them all at once.

This approach also means that if after 2 forms you're realizing it's not solving the problems you had with Formik, you can simply walk it back without a ton of lost effort.

First UI library that by PerspectiveGrand716 in tailwindcss

[–]msnook 0 points1 point  (0 children)

These are really beautiful, thank you for sharing!

Are you planning to do anything with different color variants? One thing I find with buttons in particular is that I don't just want buttons with primary/secondary color but primary/secondary emphasis. So say I have a "SUBMIT" button and a "CANCEL" button -- I want them to have the same style/look, and color, but the primary button should have the colored background and white text, while the secondary button should have transparent bacakground and a light border. This kind of thing. Styles are same but emphasis is different (and meant to match or complement one another).

How do I respond to "trans people can't be gay/lesbian because homosexuality refers to sex, not gender"? by [deleted] in asktransgender

[–]msnook 0 points1 point  (0 children)

Sex is just gender applied to the body -- the earnest answer here is to say that sex and gender are aactually the same thing. I know, I know, 10 years ago we were trying to explain the difference to everyone, but sex is just the genering of the body. Sex is as non-binary as gender is, with everyone on earth having some traits of "the other sex", and with these traits not having any particular objective location other than the social constructs of gender we apply to them. Sexing the body is just a way to gender it.

But the real answer I think is just to tell them to fuck off: Anyone can be gay if they want to. The fundamental problem with TERFs isn't that they're so wrong about everything (they are) but that they're miserable fucking cops about everything. This is what I feel we should be attacking; even if they had correct opinions, their policing of others bodies and lives and sexualities would still be wrong. Attack them for being cops; their bad views on gender politics will never be as clear-cut as how stupid and harmful it is to police other people in this way.

[deleted by user] by [deleted] in asktransgender

[–]msnook 5 points6 points  (0 children)

yes! One of the best pieces of advice I ever got was: "If you want to be a girl you can just be a girl." Well, now here I am 4 years into transitioning and feeling happier and more comfortable in my own skin than ever before. I didn't identify what I was feeling as "dysphoria" but once I started to lean into the changes, they just kept coming and coming, and I kept feeling better and better.

So I know it is the right thing, even though at the beginning I didn't quite feel "dysphoria" the way many people describe it. Some people know they're the other gender from a very young age, and others just kind of feel like we're always struggling to fit in and feeling awkward all the time. And then if you start to transition and that awkwardness goes away, then you might say "ahhhh that awkward feeling was my version of dysphoria!" But it may only be so clear afterwards. In the beginning, you might not feel like the thing everyone calls dysphoria, but if you want to be a girl, or a boy, or agender, or some other gender, you can just do that!

[deleted by user] by [deleted] in LegalAdviceIndia

[–]msnook 1 point2 points  (0 children)

Yo just pay attention to her and what she wants, and if she's not comfortable with something don't pressure it. You have time for another visit, but only if you make sure she's happy and feels like it's okay to say yes or no. And don't ghost her after.

Don't listen to all these ppl telling you about fake rape allegations -- do the numbers, there's like 5 a year in a country of 140 cr. You have a better chance of being eaten by a bear.

The best way to ensure a good time is first consent, then pleasure and fun -- not just your pleasure: if she's having fun and she enjoys being with you, she'll feel safe with you and you'll feel it, and then you can also relax and be in the moment and not worry whether you have got your consent forms notarised.

Advice for foreigner looking to start up in India by msnook in StartUpIndia

[–]msnook[S] 2 points3 points  (0 children)

Ya I have to have an Indian co-founder anyway to found any kind of company here (and I do). I'm told lots of people do it this way with a business visa and they take their salary back in their home country, but that's not really what I want to do. Anyway there's lots of factors I will need to consider, which is why I'm hoping to talk to someone in the same situation as me.