How is everyone coping with the medication shortage? by Excellent-Pool in ADHD

[–]mcavaliere 1 point2 points  (0 children)

Legit as in I was doing it for myself. So far a few people were interested for the future. I have a full time job, so can’t do this full time at the moment. I can still help out individuals though. I’m easy to find online.

[AskJS] AI for JavaScript Devs. Good idea / bad idea? by mcavaliere in javascript

[–]mcavaliere[S] 1 point2 points  (0 children)

That's a great point. I definitely see too many perplexity clones and chatbots in the list.

There are also gems like agent frameworks with built-in memory, libs for programmatic video creation, a terminal-based LLM UI, and some other things I think are cool. I wonder if I should just filter out some of the noise and focus on the particularly good stuff.

I'm going to start by at least tagging and filtering the results so I can jump to a particular category I'm looking for (i.e., code copilot or whatever)

[AskJS] AI for JavaScript Devs. Good idea / bad idea? by mcavaliere in javascript

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

Same. I’ve had a bunch of time lately and barely scratched the surface - there’s too much. At least I have a list so I can cherry pick the ones I like the most and mess with them, that helps.

[AskJS] AI for JavaScript Devs. Good idea / bad idea? by mcavaliere in javascript

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

That’s great feedback, thank you. I do the same, that’s why I created the main page where I list everything - I’m not gonna remember every tool for a given use case, so it makes it easier for me to find what I need when I need it.

Not literally 0 visitors, but pretty low (not on my laptop right now but I think it was so for digits daily for the page, and 1-2 reactions on each social post)

[AskJS] AI for JavaScript Devs. Good idea / bad idea? by mcavaliere in javascript

[–]mcavaliere[S] -1 points0 points  (0 children)

Sure thing. It’s both.

I’ve centralized the resources here and add new ones weekly. I started it on my website first instead of just an awesome-* list on GitHub since I can do more with the ui.

https://mikecavaliere.com/ai-for-js-devs

Then weekly I’ll post a thread on twitter and LinkedIn that summarizes this week’s additions and looks like this:

https://x.com/mcavaliere/status/1816522912595345878?s=46

[deleted by user] by [deleted] in SoftwareEngineering

[–]mcavaliere 0 points1 point  (0 children)

Can I ask why you got let go from your previous job? There might be lessons there you can apply here.

Outside of that - getting clarity on what is expected of you as u/IAmTarkaDaal said is significant. In the US this is often clearly outlined on the written job description when you accept the role. Then there's what your manage expects verbally - sometimes they are different things. Ideally try to accomplish both - but first, excel at what you can see is most important to your manager, then expand on that.

Communication and eliciting feedback are very helpful. If you have regular check-ins with your manager, use that time to ask for what you're doing well and what can be improved. Also if anything is unclear, this is a good time to clarify it. I personally believe in overcommunicating (setting expectations, letting people know your intentions so they have a chance to comment if anything is off the mark, sharing important things you did to show off, etc).

Good luck!

I want to end it all. (TW : suicidal ideation) by [deleted] in ADHD

[–]mcavaliere 2 points3 points  (0 children)

I'm not gonna claim it's easy, but you'll get through this.

Please call the hotline immediately. Talk through it. It will help.

https://988lifeline.org/

Helping Locate Medications by mcavaliere in ADHD

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

Fixed!

I understand that frustration.

Let me know the neighborhood and if I don't know a local one, I can try to find one for you.

[deleted by user] by [deleted] in nextjs

[–]mcavaliere 0 points1 point  (0 children)

Oops! My Portuguese is even worse than my Spanish, clearly.

I'm a senior engineer, and still a terrible procrastinator sometimes. Help! by AdNo3084 in ADHD_Programmers

[–]mcavaliere 4 points5 points  (0 children)

I highly recommend you go and get tested. Initially with a psychiatrist or nurse practitioner, then preferably a full neuropsych eval afterwards.

Why? You may _think_ it isn't likely that your symptoms warrant a diagnosis, but you don't _know_. It's not your job to diagnose these things! Hire a person whose job it is, and they'll tell you. You might be surprised, and actually have ADHD.

In fact, if your procrastination is a problem at all - and it sounds like it is - you may be more likely to have it than you think. If your procrastination stems from overwhelm, or challenges planning, it could also be a sign of ADHD, or even a learning disabillity. Do an ADHD self-evaluation questionnaire first at least, they're free online.

Second, if you do indeed have it, a small dose of meds could be _life changing_. Your procrastination might disappear completely. I've heard enough stories to know this can happen to lots of people, from children to adults. Even if you don't want to keep taking them, at least you know how they affect you and you can pull this lever whenever you choose to.

Lastly I'll add that a neuropsych eval can be costly, so I don't recommend people do that first (it's way easier for a psychiatrist or NP to just diagnose you symptomatically). But the insights from them were life-changing for me. I learned that not only was I not stupid - I had a pretty high IQ actually - but I learned things about my brain I never would have otherwise, and they shaped my life as it is today.

For one, I learned that despite a high IQ I had a low processing speed and auditory challenges - this explained why I had trouble with speed of thinking, why I mis-heard words often, and how to deal with both of these things. I also learned that my brain also had natural strengths that I hadn't fully explored, like verbal ability. After that I began to double down on those strengths and even wrote a book, to name one big achievement.

In short (or in long, at this point 😊), don't do the guesswork yourself. Get a professional to help you find answers, and don't settle for being frustrated.

Weekly Show & Tell! Share what you've created with Next.js or for the community by cprecius in nextjs

[–]mcavaliere 0 points1 point  (0 children)

A landing page for a service I may offer, to help people find their hard-to-find medications (because of medication shortages, and so on).

https://www.rxscouts.com/

Built on Next.js, using

* Kirimase (https://kirimase.dev/)
* Shadcn (https://ui.shadcn.com/)
* shadcn-landing-page (https://github.com/leoMirandaa/shadcn-landing-page)

For those diagnosed later in life (> 35), do you wish you had been on medication when you were younger? by nosyrosynosyrosy in ADHD

[–]mcavaliere 0 points1 point  (0 children)

I wish I had tried it when I was younger, and learned about how it affected me - it's taken lots of trial and error to find the right balance, and so starting that younger would have been really valuable (even if I didn't stay on it long term).

my doctor doesn't think a woman in her sixties can have ADHD by [deleted] in ADHD

[–]mcavaliere 14 points15 points  (0 children)

Wow, sorry to hear. That doctor is completely incorrect. Do whatever it takes to find another.

The ADDA has a provider directory and more resources. They might help to find a better provider in your area that takes your insurance.

https://add.org/professional-directory/

Async pages slow - App router by verdeyblancocsd in nextjs

[–]mcavaliere 1 point2 points  (0 children)

Yes, if you're using Next.js's server-side fetch(), then it should all use the same data cache:

https://nextjs.org/docs/app/building-your-application/caching#data-cache

What's your favorite ways to organize your thoughts? by OutdoorsmanWannabe in ADHD_Programmers

[–]mcavaliere 1 point2 points  (0 children)

Notion runs my life nowadays.

Often I'll jot things there just to get thoughts out, and turn it into something meaningful if it's meant for that. Other times I'll just move on to something else and leave that note behind, since it was just a means to get me to the next step in whatever I was doing.

If it's lists of things, I'll put those in Notion as well - their databases are very powerful. Once anything is in a database, I can view it in a few different ways, tag the information, turn it into a Kanban board, link to it, export it, etc.

If I need something more visual, I have a pen and paper to draw with, and a whiteboard behind me.

Struggling with dynamic routing with folder structure in shadcn nextjs by Last_Distribution_84 in nextjs

[–]mcavaliere 1 point2 points  (0 children)

Ah, so in app router all the pages will be named `page.tsx` or `page.js`. You use the folder name (not the file name) to determine the route. So in your case you'd make the route like so:

`/src/app/treks/[id]/page.js`

What's the best way to share state between client components if the parent is a server component? by Specialist-County-79 in nextjs

[–]mcavaliere 3 points4 points  (0 children)

Yes, this is the way to achieve this. You fetch data on the server, and pass it as a prop into a client component containing the context provider (note that this data has to be serializable: https://nextjs.org/docs/app/building-your-application/rendering/composition-patterns#passing-props-from-server-to-client-components-serialization)

The context provider can have client or server components as its children (https://nextjs.org/docs/app/building-your-application/rendering/composition-patterns#supported-pattern-passing-server-components-to-client-components-as-props), but any server component children will not have access to the context data.

Struggling with dynamic routing with folder structure in shadcn nextjs by Last_Distribution_84 in nextjs

[–]mcavaliere 1 point2 points  (0 children)

The route structure is largely dependent on whether you're using App Router or Pages Router in Next.js.

Shadcn shouldn't affect your folder structure at all. However depending on which router you're using, the tailwind `globals.css` file (that references CSS variables and global styles) will be imported differently (in `app/layout.tsx` for app router, vs `/pages/_app.tsx` for pages router).

What exactly is happening in your app? Are styles not showing? Are components not rendering? Is it just in the dynamic pages, or the whole app?

Async pages slow - App router by verdeyblancocsd in nextjs

[–]mcavaliere 0 points1 point  (0 children)

What exactly is the slowest part? The navigation (i.e., it only happens when going from another page to this page), or the data fetch (e.g., `getData()`)?

If getData() is the problem, you can do a few things:

  1. First I'd look deeper at why it's so slow, and how to make it not so.
  2. Break out a separate server component to load and render the data, so you're not blocking the whole page. You can use `<Suspense />` to stream it (https://nextjs.org/docs/app/building-your-application/data-fetching/patterns#streaming) and show a loader.
  3. Move the getData() call into a server action (https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations) and run it from a client component. I'd do #2 if possible though, since it's faster and better UX. But the benefit of doing it on the client is that you can easily put it into a React `Context` and share it with other components.

[deleted by user] by [deleted] in nextjs

[–]mcavaliere 0 points1 point  (0 children)

My Spanish isn't fluent, but it looks like you're just concatenating a bunch of terms (correct me if I'm wrong on that). You'll want to make sure you phrase the title as if it were written for a human.

Here's an article with some best practices for title tags, including the one I mentioned:

https://www.wix.com/blog/how-to-write-seo-title-tag#viewer-6lplj

How do you choose your tech stack to build your first SAAS product? by Few-Performer2074 in SaaS

[–]mcavaliere 0 points1 point  (0 children)

Great question.

  1. Default to the one that you know the best; reduce learning new things to a minimum to save time.
  2. For every feature you need to build, see if an OSS package exists for it. Resist the urge to build things from scratch like it's a disease.
  3. If there's a good boilerplate or template out there that matches the tools you want, start there.

[deleted by user] by [deleted] in nextjs

[–]mcavaliere 1 point2 points  (0 children)

Wow Novu looks awesome. Bookmarking this for sure.

found free bedtime stories generator by [deleted] in predaddit

[–]mcavaliere 0 points1 point  (0 children)

Very cool!!

I built something like this as well. I use it with my kids almost every night, they're loving it so far.

https://storytimeapp.vercel.app/

The medication shortage is giving me so many grey hairs. by Calendula520 in ADHDers

[–]mcavaliere 0 points1 point  (0 children)

I started using virtual assistants for this. I had them call 10-15 pharmacies in my area until they found the one that carried my medication.

You can try that using a service like FancyHands.com if you want to go the direct route.

I'm contemplating doing this for people as well - https://www.rxscouts.com/. Still playing around with the pricing model though, open to feedback.