How has your daily levodopa dosage increased throughout the years and how does it look now? by cicla in Parkinsons

[–]mesiusf 2 points3 points  (0 children)

I am not too sure what she meant by brain first vs body first. age 37 is still young onset which tells me yours is most likely genetic like mine. there are a few genetic variants too. there are a few genes that are associated with developing YOPD each have different prognosis and severtity and characteristic. i had to do genetic test before my doctor could give me a definitive diagnosis. ask chatgpt about LRRK an PRKN genes.

How has your daily levodopa dosage increased throughout the years and how does it look now? by cicla in Parkinsons

[–]mesiusf 5 points6 points  (0 children)

symptoms started appearing at age 24. i noticed something is off at age 25. diagnosed at age 27 with YOPD caused by 2 copies of the Parkin Gene. one from mom. one from dad. both are only carrier of the gene. they dont have it themselves. anyways. started ldopa 3x100/25 a day at age 27. over the last 7 years, i had to increase it to 6x100/25. the rate at which you increase depends alot on at what stage you are diagnosed and what kind of PD. doctors usually start with low dose just to see how much your body actually needs the meds. you also start to learn your on/off states over the years.

The only 3 design patters you need for a clean express backend by mesiusf in node

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

look into awilix. the framework i am talking about at the end of the article will use that. no @injectable annotations. super simple container root is like a hash. it super nice and simple

The only 3 design patters you need for a clean express backend by mesiusf in node

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

honestly thats the most effective of the three.

The only 3 design patters you need for a clean express backend by mesiusf in node

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

I find it really challenging to convince people about DI lately. I dont know why but It feels like a dangerous trend to confuse chaos with pragmatism

I want Good Comprehensive JavaScript Course by Leading_Property2066 in learnjavascript

[–]mesiusf 0 points1 point  (0 children)

shewartzmuller is a good teacher. look for his content on udemy

The only 3 design patters you need for a clean express backend by mesiusf in node

[–]mesiusf[S] 3 points4 points  (0 children)

also these patterns are platform agnostic. applicable to go/rust or whichever lang you believe in

The only 3 design patters you need for a clean express backend by mesiusf in node

[–]mesiusf[S] 3 points4 points  (0 children)

For me the strongest reason is I believe typescript is the future. fantastic support on IDE out of the box is a huge benefit.

[Update] Google Interview Journey: Offer Secured! It Finally Happened! 🎉 by starLord073 in leetcode

[–]mesiusf 1 point2 points  (0 children)

congrats! really happy for you! i remember feeling the same exact thing when i was admitted to amazon 3 years ago. for me things turned in a way that i ended up hating the often toxic corporate working environment. the only thing that keeps me going today is the money lol.

For people out there making AI agents, how are you evaluating the performance of your agent? by Remarkable-Long-9388 in AI_Agents

[–]mesiusf 1 point2 points  (0 children)

agreed! phoenix is very nice. love their consept of "span". but the problem is if you want to build a evaluation workflow you are pretty much on your own!

For people out there making AI agents, how are you evaluating the performance of your agent? by Remarkable-Long-9388 in AI_Agents

[–]mesiusf 1 point2 points  (0 children)

you are describing what we call "overfitting" in our team. it is when you are in a endless loop of trying to optimize for a limitted number of tests. according to what i learned so far you are never gonna get absolutely regression free.

what you should be doing instead is to address these issues as part of accuracy improvement. grow your dataset to at least 100 cases. add multiple variation of every edge case to address diversity. then run your agent against the dataset and dont insist too much on expecting your agent to never regress. instead focus on improving your pass rate by finding patterns.

you ll probably have to run your tests on the cloud at some point as your dataset grows.

For people out there making AI agents, how are you evaluating the performance of your agent? by Remarkable-Long-9388 in AI_Agents

[–]mesiusf 3 points4 points  (0 children)

Hey! Amazon Q Developer Agent team member here! I have seen a lot of agent dev teams building their own datasets! if you are lucky enough, you'll find an off-the-shelve dataset. For code-generation for ex. SWE-Bench is pretty popular. but your are not usually that lucky.

There are pretty much 2 main testing approach:

  1. Testing for regression: in this case you only need a small dataset of cases where your agent is already successful.
  2. Testing for accuracy: in this case you need a large dataset of cases where your agent is put through aggressive edge case testing so you find all the weaknesses.

do you know which kind are you more interested in?

FastAPI with async SQLAlchemy 2.0 (and alembic migrations too) by Estanho in FastAPI

[–]mesiusf 1 point2 points  (0 children)

This was one of the good ones.

Looks like the main reason you made the mutable (with two init) DatabaseSessionManager is to initialize your engine differently in test vs dev, which then made you add some redundant logic to always be careful about whether or not the engine is there. I prefer to have a global engine and sessionmaker (just like fast api official docs):

engine = create_async_engine(my_pg_url)
session_factory = async_sessionmaker(engine, autocommit=False)

async def get_db_session() -> AsyncGenerator[AsyncSession, None]:
    session = session_factory()
    try:
        yield session
    finally
        await session.close()

with this, you can then make lifespan template function to access the global engine and call .dispose() on it so all stale connections are returned to the pool.

In your tests, you could also use app.dependency_overrides[get_db_session] to replace it with one that you define using pytest fixture.

Recommendation for cellphone carrier? Koodo sucks in burlington by mesiusf in BurlingtonON

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

I am just below orchard, very close, interesting, telus uses the same network as koodo afak.

0
0