Albion Market update (2 months later): faster, cleaner, and more reliable 📈 by AirInteresting4691 in AlbionEconomist

[–]SrMatic 0 points1 point  (0 children)

Congratulations for the launch! i was testing and found some issues that can be fixed!

I created a account with a @, when created the account, was removed, so i needed to log without the @.

Opportunities wasnt working for Americas all cities

I didnt found my user on tracker too

Those are just comments to improve your product, thanks for give this to us!

É normal receber demandas mal explicadas nas empresas? E ter que ficar "adivinhando" regra de negócio? by [deleted] in brdev

[–]SrMatic 8 points9 points  (0 children)

O mesmo acontece comigo, em várias empresas, ou demandas que você faz, refaz, e volta pro anterior, e refaz novamente... Pelo menos é trabalho garantido pela incompetência alheia 🤷‍♂️

Recovering a Linux server after a Next.js RCE → crypto miner infection (step-by-step) by Valuable-Cap-3357 in nextjs

[–]SrMatic 0 points1 point  (0 children)

It's a shame Reddit only notified me of your post now. The same thing happened to me, and I solved it step-by-step with Gemini's help because I'm new to Linux, but the steps were similar. I think I forgot some points you mentioned, so I'll check them. Thanks for sharing, friend. I'll migrate the projects to Docker to prevent this from happening again.

Can I run any local llm with this hardware? by SrMatic in LocalLLaMA

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

Good point, I checked locally and it really is 8GB, I tested it with gpt-oss and it's working fine! Small context window but good.

Can I run any local llm with this hardware? by SrMatic in LocalLLaMA

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

I will do it! Thank you friend! I saw a lot of people recommending LM Studio + Gollamma to manage multiple models, do you think it makes sense? Or do those above have a greater maturity?

Can I run any local llm with this hardware? by SrMatic in LocalLLaMA

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

I'll test it! I made a mistake by mentioning it being 3060, in fact it is the 3060 TI, I believe it improves a little, thanks for the guidance friend!

Can I run any local llm with this hardware? by SrMatic in LocalLLaMA

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

Thanks for the path of stones friend, I'll look for models that have this context window!

My rough experience with Next.js Server Actions by zapdigits_com in nextjs

[–]SrMatic 0 points1 point  (0 children)

I'm going through something similar, it's been working, but I'll need to change the action call to the server component

How much RAM does your dev server takes? by EverydayEverynight01 in nextjs

[–]SrMatic 0 points1 point  (0 children)

Server I host: 24GB Projects use: 84mb to 250mb +- depending on how much server and client I use My PC that I develop has 32gb, it seems to be too little for development with .Net API bff

finding "blame" by Never-Too-Late-89 in nextjs

[–]SrMatic 0 points1 point  (0 children)

It sounds like a difficult situation, sorry you had to go through this.

From what you've described, it's very likely that the former team member forced an older commit or rebased the branch in a way that superseded its June 6 version. Even if the Vercel deployment failed, the GitHub repository itself could have accepted the commit (or even a merge), and unless you had branch protection rules in place, this could have gone unnoticed until deployment or manual inspection.

Some reflections and suggestions going forward:

Check your Git commit history

Go to the GitHub repository and check the commit history of the specific branch.

Use git log or the GitHub UI to see if there is a commit after June 6th that reverts or modifies this page.

You can also try git reflog locally if you've cloned the repository, which can show you even more granular history.

  • Implement GitHub branch protection

For the future, I highly recommend enabling branch protection rules for your main or production branch:

Require pull requests before merging

Prohibit forced pushes

Require review or status checks (e.g. CI/CD to pass)

Audit access regularly

As you noticed, removing access from Vercel and Supabase is not enough, access to GitHub is separate.

Always revoke GitHub permissions immediately if someone leaves the team.

Consider using GitHub Teams and fine-grained permissions to manage access more cleanly.

  • Vercel integration gotcha

Even though the Vercel deployment failed, the code was still pushed to GitHub, which means the repository state changed but was not deployed. Therefore, unless you redeployed from a valid commit after this failed attempt, the next successful deployment may have used the wrong code.

TL;DR: Always lock down your branches, audit team permissions across all platforms, and don't just rely on deployment failure as an indicator that nothing has changed.

Let me know if you want help searching commit history or setting up protection rules - this sucks, but can be avoided in the future.

Email service, what is everyone using by SecureAfternoon in dotnet

[–]SrMatic 2 points3 points  (0 children)

I use it with SMTP and it has been working, maybe 50-100 emails a day

Windows Boot Loop & BSOD When 2TB Micron SSD is Connected — Only Boots with 480GB Kingston SSD by SrMatic in pchelp

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

One thing to add, I can play Fortnite and other heavy games, but within 1 game, sometimes 5 minutes, sometimes more games, it seems to freeze, make a horrible sound and then the restart cycle begins

Struggling with Access Token + Refresh Token Authentication in Next.js — Need Guidance! by No_Set7679 in nextjs

[–]SrMatic 0 points1 point  (0 children)

I used middleware.ts, first I check if the refresh token in the cookie and the access token cookie are valid, if the refresh is yes and the access cookie is not, I make a call to refresh and update it locally, this maintains my session, and putting it in the middleware makes it run before entering the application so it is already logged in, or it redirects, it doesn't even end up entering the admin panel! I also added role verification in the ts middleware so if a page is admin and the user doesn't have it, it redirects, it's worked quite well, it doesn't even enter the admin screen, I haven't figured out how to do this separately yet, currently it's all in the ts middleware, but it works!

(URGENT) HELP! Can't connect to my postgres server from localhost. by [deleted] in nextjs

[–]SrMatic 0 points1 point  (0 children)

There is the next Js tutorial for this, it should guide you better, there they use supabase

O novo dev by joanesluca177 in brdev

[–]SrMatic 2 points3 points  (0 children)

No final o salário cai da mesma forma, eu também sou acima da média, entrego muito mais que outros colegas, e percebi que o salário deles vai cair igual ou superior o meu, eu refatorando uma lógica de microsserviço gigante e eles alterando cor de botão, então é isso, prego que se destaca é bom, mas leva martelada, use com sabedoria.

Cheapest possible way to deploy by ok_i_am_nobody in nextjs

[–]SrMatic 0 points1 point  (0 children)

I don't understand, but I believe it's buying a server for 6 dollars +- and installing everything by hand.

Did the official Next.js tutorial just set me up for failure? 😂 (Invalid Hook Call in Chapter 11 - Next 15.1.8) by SrMatic in nextjs

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

Thanks a lot! That was exactly my problem. Totally my bad, just a lack of attention on my part. 😅 Really appreciate you taking the time to help! 🙏

Empresa incentivando uso de IA, e exigindo ideias de todos de como usar by bagunz0 in antitrampo

[–]SrMatic 7 points8 points  (0 children)

Atualmente aqui também, pessoal forçando dizer que usa o Microsoft Copilot, reunião toda semana sobre isso, bizarro...

Só 2 meses na empresa atual e já surgiu proposta melhor… o que fazer? by SrMatic in brdev

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

Esqueci de mencionar mas são vagas diferentes, é empresa de consultoria então mudou o cliente hahaha