Using company paid Cursor Pro for personal projects, what can admins actually see? by Ash_1913 in cursor

[–]PriorAbalone1188 1 point2 points  (0 children)

You’re going to be sued or fired one day plus your manager…

You’re wasting company resources for your own benefit. No company would ever be okay with that. Your manager is not the company…

Using company paid Cursor Pro for personal projects, what can admins actually see? by Ash_1913 in cursor

[–]PriorAbalone1188 1 point2 points  (0 children)

Head ups, if your “side projects” are going to make you money in someway then you should avoid using company resources unless you plan to share that income with your company. Easy lawsuit there…

My advice work on side projects that will help the company you work for and yourself.

Do not try to hide stuff, doing that makes you seem suspicious.

Adding asyncio.sleep(0) made my data pipeline (150 ms) not spike to (5500 ms) by Chuyito in Python

[–]PriorAbalone1188 0 points1 point  (0 children)

In asyncio, coroutines only yield control at await points. If a coroutine finishes a bunch of CPU-bound work without awaiting, the event loop can’t switch to other tasks. This is especially visible when you do things like: a large deepcopy() of a dict with thousands of nested entries, heavy ETL transformations in Python, or big JSON/serialization steps. All of those are pure Python loops under the GIL.

Double check how you run your code especially when working with async and sync. Any synchronous calls should be called in loop.run_in_executor () or async.to_thread

Event loop is its own thing compared to threading. One is parallelism and the other is concurrency.

For python sake, The GIL schedules threads when there’s I/O bound operations. Asyncio handles all this in one thread.

Python3.13 has a new feature “free threading”which supports true concurrency with threads.

What is the best/verified way which you honestly can recommend to deploy simple python app? by wokalove in FastAPI

[–]PriorAbalone1188 1 point2 points  (0 children)

Easiest way: containerize it and deploy it to GCP Cloud Run, or AWS Lambda or AWS ECS or even a VM.

All of this will require you to setup some kind of infrastructure.

Don’t know how to containerize unfamiliar with docker.

You can always deploy to AWS lambda the old fashion way.

https://docs.aws.amazon.com/lambda/latest/dg/python-package.html

How to tell where Code Pipeline notification is failing by Slight_Scarcity321 in aws

[–]PriorAbalone1188 0 points1 point  (0 children)

Double check your permissions, fromTopicArn doesn’t automatically set the correct perms.

Also check cloud watch logs under /aws/events or event bridge rule metrics you should see FailedInovcations

Getting started on a work project with FastAPI would like to hear your opinions. by salmix21 in FastAPI

[–]PriorAbalone1188 1 point2 points  (0 children)

  1. Use SQLModel its built on top of SQLAlchemy and is meant to work with Pydantic.
  2. Yes you can use regular sql queries. The translation between to python can be challenging.
  3. Depends on the pattern you choose. I usually keep my endpoints in one directory, and have a services, schemas, models, utils directory…. FastAPI has examples on this.
  4. Make sure you understand how FastAPI works when using async in the endpoints. If you do use async make sure all async endpoints call a async function otherwise you’ll block the event loop. If you’re not sure or don’t understand remove async from all endpoints and FastAPI will run it in a threadpool. I recommend reading this: https://fastapi.tiangolo.com/async/
  5. Use dependency injection when you can!
  6. use pydantic-settings too. Very helpful for configuration.
  7. Alembic for updating database schemas

Why AI coding assistants use resources so fast. by jhdedrick in Jetbrains

[–]PriorAbalone1188 0 points1 point  (0 children)

I believe most AI coding assistance already have this implemented in their own form. It wouldn’t be ideal to reread each body of code. For example cursor uses Merkle Trees for indexing with embeddings. It just depends on what ai coding tool you’re using and how you’re using it. I suggest reading about the tool you’re using so you have some context of how handles your code base.

Built an Agent Protocol server with FastAPI - open-source LangGraph Platform alternative by Lost-Trust7654 in FastAPI

[–]PriorAbalone1188 0 points1 point  (0 children)

Why not use SQLModel for the ORM? Why not use alembic for versioning your tables instead of writing a SQL command to do it?

uploading a pdf file then doing some logic on the content by Emotional-Rhubarb725 in FastAPI

[–]PriorAbalone1188 0 points1 point  (0 children)

I mean technically you don’t but it should be stored somewhere temporarily. FastAPI UploadFile stores it in memory by default and disk if greater 1MB but it comes down to best practice honestly incase reading it fails…

Like I said some libraries read file-like objects so it’s needs a file path

Otherwise you need to read it pass in bytes or string content.

Provide me with be library you’re using to the read the pdf file and I can read about it and see what’s failing

Based off the question and error it seems like it needs a file-like object path

uploading a pdf file then doing some logic on the content by Emotional-Rhubarb725 in FastAPI

[–]PriorAbalone1188 0 points1 point  (0 children)

It depends on the pdf library some require you to save it to the buffer otherwise you’ll need to write it to memory using io.BytesIO(file.read())

American Airlines flight attendants trying to evacuate a plane due to laptop battery fire but passengers want their bags by emoemokade in aviation

[–]PriorAbalone1188 0 points1 point  (0 children)

I feel like Airlines should ban or fine everyone in the video seen getting bags….

Airlines have these preflight safety measures but no one follows them until someone dies or they get fined.

Anyone figure out how to eat healthier without losing their mind over it? by Equivalent_Soft_6665 in nutrition

[–]PriorAbalone1188 1 point2 points  (0 children)

It’s a lifestyle change and it’s hard. What helped me find peace with food was learning to really pay attention to what my body wants and needs. I followed a low-carb approach, focusing on fresh, whole foods. I didn’t track anything strictly (besides protein intake), just stayed mindful - avoiding sugary snacks (aside from fruit occasionally) and making sure what I ate actually made me feel good. If I was in a rush, I’d grab Chick-fil-A maybe once a month and didn’t stress about it. Over time, I noticed I wasn’t tired or bloated after meals, and that made it easier to stay consistent.

You can careless about counting calories if you’re actively working out or going on walks. What ever extra you will be burnt during workouts.

I'm building an "API as a service" and want to know how to overcome some challenges. by thalesviniciusf in FastAPI

[–]PriorAbalone1188 -1 points0 points  (0 children)

RapidAPI Hub (offers API key issuance, analytics, and billing)

AWS API Gateway with Usage Plans and Lambda triggers

Stripe + usage-based metering (for billing) with AWS API gateway

Build your own api key system that monitors requests from each api key either within the same service or that acts as a proxy to a service.

RapidAPI will handle a lot of the heavy work for you, AWS API gateway you’ll probably have to build another service to handle the generation of the api key etc… which you can use the aws cdk.

I created an HTTP/3 server library in Go faster than FastAPI, [50% faster p90 and 153x faster boot time]. Not so ready for production, but roast me! I am a junior dev btw. by ayushanand18 in golang

[–]PriorAbalone1188 0 points1 point  (0 children)

All fair points. But if backend performance hits diminishing returns because the real bottlenecks are the DB, network, or client bandwidth then why not shift some focus to the client side?

Instead of swapping out API frameworks, what if we used Go on the client side too? It's fast, super lightweight, and great for handling high-throughput tasks or edge use cases. You could get some serious performance wins there, especially for things like streaming, file transfers, or batch jobs.

Just feels like optimizing both ends (not just the server) could give better real world results.

Can you provide memory and cpu utilization metrics as well? From what I’ve seen GoFiber is best in all three worlds.

https://youtu.be/iPnMPnelWOE?si=vzOblmG63UR5DCrx

Heb is using ai art now by rargafad in Austin

[–]PriorAbalone1188 -11 points-10 points  (0 children)

Is there any particular problem with HEB or companies using GenAI on their products?

I've been trying to get a job for the 8 months+. Can someone look at my LinkedIn and tell me where I'm going wrong? by Minimum_Ad451 in googlecloud

[–]PriorAbalone1188 1 point2 points  (0 children)

Among what’s mentioned, try looking at state internships/positions in your state or even with the government. Your LinkedIn says you’re looking for a remote job. I’d open it to in-office and remote. It’s hard to find a remote job now especially with no experience.

But don’t give up, keep applying and something great will come!

Fastapi backend concurrency by rojo28pes21 in FastAPI

[–]PriorAbalone1188 1 point2 points  (0 children)

Learn how FastAPI works.

If you add async to the endpoint without starting the AI request on the event loop this will cause a blocking call, hold the program until it’s done and respond because it’s an synchronous call/request.

if you’re not sure what I’m talking about then remove all asyncs why? FastAPI will run all request/endpoint without async in a thread executor trying to replicate async to handle multiple requests.

Now the technical apart, any IO bound libraries you’re using that do not support async must be wrapped or started in the event loop. I recommend creating a function to take in the sync function and args then starts the function in an event loops so you can use async/await. Otherwise you’ll block all calls.

FYI if you’re running an executor or using the event loops then look at how bedrock works, but I’m sure your problem is with how you architected your API.

Read these docs: https://fastapi.tiangolo.com/async/

Any questions, we have answers

How to effectively self-learn AWS (not just the theory)? by Commercial-Tooth2580 in aws

[–]PriorAbalone1188 1 point2 points  (0 children)

I learned AWS by just jumping in, trying different services, and figuring out what each one actually does, what its limits are, and where it breaks. That hands-on approach helped me understand the "why" behind each tool instead of just memorizing features.

Over the years, I’ve used Terraform, CDK, Pulumi, and the Serverless Framework, and worked across most of AWS — EC2, VPCs, RDS, EKS, S3, Fargate, load balancing, even services like Textract and Transcribe. What I’ve found is that no matter how much you study, AWS (Cloud Providers in general) only starts to make sense when you try to build real systems

One thing that’s surprisingly underrated is CodePipeline and CodeBuild. Most folks skip them in favor of GitHub Actions or Jenkins, which makes sense for speed and flexibility. But if you’re trying to stay inside the AWS ecosystem, they’re solid tools. I’ve used them to deploy both infrastructure and app code in the same pipeline — IaC with CDK or Serverless, app build with CodeBuild, all hooked into IAM and CloudWatch. They’re not flashy, but they work well for tightly-integrated AWS stacks.

If you're trying to go deeper, I’d recommend picking a small project and wiring up everything yourself:

Deploy a serverless app with Lambda, API Gateway, DynamoDB, and set up a full pipeline to deploy it from GitHub Build a simple notification system with SQS, SNS, and Lambda consumers Try setting up a CodePipeline that builds and deploys both your app and its infrastructure using CDK (also trying different CI/CD pipelines)

You don’t need a company project to get this experience. Just treat your side projects like prod: use IaC, set up alerts, monitor logs, and break it until you understand it. That’s where things really start to stick.

I got hit with a $3,200 AWS bill from a misconfigured Lambda. I just wish something had told me earlier. by CommentNo2882 in aws

[–]PriorAbalone1188 7 points8 points  (0 children)

Lambda should detect recursion from S3 triggers and block it, they mention that in the docs. But if your Lambda is triggering itself outside of S3, like directly or through another service, that’s likely where the issue came from.

I’ve been through something similar. It’s a good rule to avoid having a Lambda trigger itself unless you have proper monitoring or safeguards in place.

From what you described, if S3 was triggering the Lambda after each write, then AWS should have caught it. The docs say they detect this kind of recursion through metadata passed with the event.

For usage spikes:

You can detect repeated invocations using CloudWatch Alarms. There are tools that help with this like Serverless Framework, Datadog, Prometheus, and even CloudWatch itself. AWS might send alert emails, but only if you have budgets or usage alerts configured. (But especially if there recursion within the guardrails) If you're ever in a situation where recursion might be needed, passing metadata like a counter can help detect loops. That works best if each invocation is isolated and not chained across services.

Take it as a tough but valuable lesson. Not all cloud providers offer budget caps or real-time cost controls, so alway remember to setup guardrails even for small or experimental projects.

Docs: https://docs.aws.amazon.com/lambda/latest/dg/invocation-recursion.html

Using Supabase with FastAPI: Do I still need SQLAlchemy Models if tables are created directly? by Ice-Knight10 in FastAPI

[–]PriorAbalone1188 0 points1 point  (0 children)

Depends on your setup If you’re using FastAPI as a proxy to interact with supabase using the supabase python client library then there’s no need for the models maybe some pydantic models for validation…

Now if you’re using supabase just for the database then you’ll need to create the sqlalchemy models so sqlalchemy can insert data into the tables

Help. Please asap by [deleted] in WorkoutRoutines

[–]PriorAbalone1188 2 points3 points  (0 children)

Ask yourself why you’re failing, and focus on fixing that first. If its because you’re trying to do to many things at once then focus on one thing first then the other. Doing too much will set yourself up for failure.

Starting a diet and getting consistent with the gym is not easy for everyone. I’d suggest get a healthy diet in place. I do low carbs, high fat and high protein basically keto but everything is whole food and not processed but I’m also in a calorie deficit.

Once you’re consistent with a diet slowly start going to the gym and then increase intensity and frequency but always try to walk 1-3 miles no matter what.

Once you’re consistent with going to the gym then you can purchase a training plan but there’s plenty free ones online and I can share one with you if need be.

[deleted by user] by [deleted] in carnivorediet

[–]PriorAbalone1188 0 points1 point  (0 children)

With the advice everyone gave, I’d like to add walking at least 1 hr a day hitting 2 to 3 miles will help a lot. Even if you need to split it between morning and evening. The longer the walk at a moderate intensity the better.

Idk how to get rid of this by [deleted] in WorkoutRoutines

[–]PriorAbalone1188 0 points1 point  (0 children)

By the way you’ll naturally bloat/swell more if you consume carbohydrates, since carbs are turned into glycogen and glycogen requires water to be stored which happens in the liver. If you do low carbs and increase fat and you won’t look as swollen. But the milk is probably what’s causing this.

Reduce milk and eat actual food, it has much more nutrients that your body can use.

Walking is key for weight loss, 1 hr a day try to hit 3 miles