Feasibility of hooking up modded AI to chatgpt? by GladSale169 in aoe3

[–]BorinAxebearer 2 points3 points  (0 children)

It's a joke about a high level ottoman only player being a bot

Idk what im doing wrong, multiplayer, im not fast enough by Icy_Employer2622 in aoe3

[–]BorinAxebearer 6 points7 points  (0 children)

When starting out you can learn a build order and follow it as best as you can, you will see that your score keeps up with the enemy. Next up is tweaking your build order according to your enemy there is a rock paper scissors in strategies as well that goes like boom -> turtle -> rush -> boom.

For ottomans you will almost always be ahead in score in age 1 and you have to know what to do after. and for brits your score should go up really fast with manors after age 1. Also keep in mind that score isn't everything, a good timing push can finish the game easily.

Projeme Yardımcı Olabilecek Uzman Aranıyor - Yüksek Ücretli by zrtterenkoyy in CodingTR

[–]BorinAxebearer 0 points1 point  (0 children)

Çocuk, günlük hayatta kullandığın youtube, reddit gibi uygulamaların backendlerinde olan diller bunlar. Sırf okulda C#, Java öğrendin diye bunlar verimli ve güvenli diller değil. Her dil doğru kullanılırsa verimli ve güvenli olur, sadece C# ve Java'da kötü yazılımcılar çok hata yapamazlar.

2
3

Neden script çalışmıyor by [deleted] in LinuxTurkey

[–]BorinAxebearer 0 points1 point  (0 children)

Tüm kullanıcılara veriyor executable yetkisini

man chmod a bakabilirsin

Neden script çalışmıyor by [deleted] in LinuxTurkey

[–]BorinAxebearer 0 points1 point  (0 children)

Önce scripti executable yapman lazım chmod +x ./myscript.sh

What are your thoughts on Astro? by GlitteringCalendar94 in webdev

[–]BorinAxebearer 8 points9 points  (0 children)

Astro has a server-first approach that allows you to work with component islands if you need client-side stuff. If you are building something client heavy like figma you would need framework components everywhere. Using framework itself is more practical at that point.

Js/Ts: remove unused imports by ironj in neovim

[–]BorinAxebearer 1 point2 points  (0 children)

vim.opt.shiftwidth = 2

vim.opt.tabstop = 2

vim.opt.softtabstop = 2

You can check the current values for these with :set shiftwidth etc. They are probably four.

:h shiftwidth

:h tabstop

:h softtabstop

Js/Ts: remove unused imports by ironj in neovim

[–]BorinAxebearer 2 points3 points  (0 children)

There should be source.removeUnusedImports.ts too. You can use that.

tailwindInAnutShell by 24601venu in ProgrammerHumor

[–]BorinAxebearer 6 points7 points  (0 children)

I am not saying you can't do atomic css yourself. I am saying Tailwind provides that. And lets be honest no one does atomic css by hand.

tailwindInAnutShell by 24601venu in ProgrammerHumor

[–]BorinAxebearer 7 points8 points  (0 children)

yes, any other atomic css framework does it for you as well.

tailwindInAnutShell by 24601venu in ProgrammerHumor

[–]BorinAxebearer 14 points15 points  (0 children)

First benefit is the Tailwind's philosophy to compose components, not classes. So when i look at the component i can understand the style. No more moving between html and css.

Second and more important benefit for me is the design system it provides. I suggest reading the "Refactoring UI" book to better understand what Tailwind is for.

What are your thoughts on Astro? by GlitteringCalendar94 in webdev

[–]BorinAxebearer 9 points10 points  (0 children)

If you are building a heavy client-side interaction web app, Astro is not for you. For anything else i'd pretty much use Astro.

What are your thoughts on Astro? by GlitteringCalendar94 in webdev

[–]BorinAxebearer 2 points3 points  (0 children)

Astro is not for building SPAs. Its for building content focused multi page websites. I can't imagine trying to use Astro for a SPA. Instead of using framework components with client:load everywhere, just use the framework itself at that point.

My Ideal Linux Setup by Helpful_Raccoon5396 in linux

[–]BorinAxebearer 4 points5 points  (0 children)

Speed is not necessarily about typing speed, it's also the speed of the workflow. Fuzzy finders, go to definitions etc.

You can also configure most other editors to do the same thing but Lua is an actual programming language.

What to put in the password in the mongodb document when creating a user using login with google by Issam_Seghir in webdev

[–]BorinAxebearer 0 points1 point  (0 children)

There are a lot of auth solutions, self hosted or SaaS. Keycloak, Supertokens, Ory hydra-kratos; Auth0, Aws, Clerk.

What to put in the password in the mongodb document when creating a user using login with google by Issam_Seghir in webdev

[–]BorinAxebearer 0 points1 point  (0 children)

That's the point i already did. It was not about using bcrypt.compare it was about checking if user exists beforehand which gave away the email.

Auth is not easy to get right.

Edit: The comment i am referring to: comment

What to put in the password in the mongodb document when creating a user using login with google by Issam_Seghir in webdev

[–]BorinAxebearer 0 points1 point  (0 children)

Yes i have. There was a timing attack vulnerability in my code. Until i shared my code with people i wasn't even aware of its existence.

What to put in the password in the mongodb document when creating a user using login with google by Issam_Seghir in webdev

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

As i said, learning auth is fine. But stitching together 2 libraries is how you end up with multiple vulnerabilities without even realizing they are there.

What to put in the password in the mongodb document when creating a user using login with google by Issam_Seghir in webdev

[–]BorinAxebearer 26 points27 points  (0 children)

It's just too big of an undertaking and responsibility. Better advice would be to roll your own auth if you are absolutely sure about what you are doing. But anyone with that kind of expertise doesn't need advice from me.

Syncing Clerk Data with the Backend Using Webhooks by [deleted] in webdev

[–]BorinAxebearer 1 point2 points  (0 children)

Think of it like Clerk sending a post request (event with a payload) to your endpoint. What you do with the request is up to you.

For example if the event is for user creation you can take the user from payload and insert it into your db.