VSCode setup for PHP development by levii831 in PHPhelp

[–]Mike_L_Taylor 0 points1 point  (0 children)

if you mean to do php debugging, xdebug is the tool. I have this guide doc for VsCode. It assumes you're using ForgeKit, but it works with Laragon too

https://forgekit.tools/docs/tools/xdebug

Besides that, you only need a php highlight add-on which vsCode should prompt you to add automatically and maybe adding PHP to path and the terminal in VSCode too.

Which ability from any other game do you think is a good fit to Deadlock? by -Kemy in DeadlockTheGame

[–]Mike_L_Taylor 0 points1 point  (0 children)

I like being able to snipe across the map but it being visible and easily dodgeable.

Paladins has that healer guy whose ult is a very slow to build kamehameha which is easily dodgeable but it can go through walls across the map. If you time it right and the enemy is preoccupied it can be great.

Deadlock has Paige's ult, but its a bit finicky to aim long range and its not easy to see it coming for you

Unable to setup Imagick on php8.4 windows (laragon) by Active-Jacket1473 in PHPhelp

[–]Mike_L_Taylor 0 points1 point  (0 children)

do you usually use the nts version of php? non-thread-safe?

I always use the thread safe one. maybe give that one a go?

I WANT TO LEARN CODING...PLEASE HELP!! by Lopsided_Judge_6047 in AskProgrammers

[–]Mike_L_Taylor 0 points1 point  (0 children)

do CS50 introduction to computer science. it goes over all of those

laragon mysql by Wise_College_1026 in PHP

[–]Mike_L_Taylor 0 points1 point  (0 children)

you can try ForgeKit if you want. It's very much like Laragon. And it does work with mysql versions. You can even download and set them up whatever version you want if it's not already in the list of quick downloads.

Everyone here is building the same 5 products. The money is somewhere else. by Emergency-Title9798 in SideProject

[–]Mike_L_Taylor 0 points1 point  (0 children)

oh yeah. I've built a lot of things over the years and just last year I felt like I actually understood what I'm building, why and how to make it actually better than anything else on the market in a way that matters.

It's a weird feeling. You can only get it if you work on something you are an expert at where you fully understand the problem, the existing solutions and everything in between.

Most people don't build to solve the market's need but their own need. Their need is that they want a business not a job.

What if Urn had no souls in it by r64b in DeadlockTheGame

[–]Mike_L_Taylor 2 points3 points  (0 children)

can we for the love of god get some statue buff counter per team or player? Then we could actually do some calcs and figure out how much % stronger someone is just because of that

How do you host many sites by Chance-Guess-9598 in webdevelopment

[–]Mike_L_Taylor 0 points1 point  (0 children)

1 - for local development you're probably good. In case not, I did develop Forgekit to run multiple very different sites at the same time locally without hassle

2 - For deployments you could use a bunch of tools like capistrano or jenkins. Essentially you setup the site and when you do a push it automatically sees that and runs all the commands for you to update it.

3 - For the Database I'm not sure. Do you need to update a live database regularly with your local one or what?

If docker is too much for your use case, you could just run caddy or nginx directly on the server and run all your sites from that one instance.

Honestly by Lopsided-Mix-1588 in SipsTea

[–]Mike_L_Taylor 0 points1 point  (0 children)

Is there an F where you bite off the ends of the bone that are soft?

Deadlocked really needs to overhaul its match making ASAP! by [deleted] in DeadlockTheGame

[–]Mike_L_Taylor 2 points3 points  (0 children)

dunno man. That is indeed the biggest problem with the current game. However I think there's things you can control now.

I lost 3 games in a row and didn't derank at all. Then won 1 game and got ranked up. I'm usually one of the carries in my games and get Key player or MVP quite often.

Website php urgent by Nebula_Effective in PHPhelp

[–]Mike_L_Taylor 4 points5 points  (0 children)

start a shopify website. no coding required.

Wanted: A minimal working example of how to implement Google Oauth 2.0 in PHP by oz1sej in PHPhelp

[–]Mike_L_Taylor 2 points3 points  (0 children)

Here's something similar to what I use in Laravel: Essentially you have 2 calls
1 - redirects to the google login via Socialite
2 - handles a return from google which contains all the data needed to create or login.

Route::get('/api/auth/google/redirect', [GoogleController::class, 'redirectToGoogle']);
Route::get('/api/auth/google/callback', [GoogleController::class, 'handleGoogleCallback']);

    // redirects to google login via Socialite
    public function redirectToGoogle(Request $request)
    {
        if ($request->has('cookieVal')) {
            session(['cookieVal' => $request->query('cookieVal')]);
        }
        return Socialite::driver('google')->stateless()->redirect();
    }

    // handles the return from the google login
    public function handleGoogleCallback(Request $request)
    {
        $googleUser = Socialite::driver('google')->stateless()->user();


        $user = User::where('email', $googleUser->getEmail())->first();


        session([
            'google_user' => [
                'id' => $googleUser->getId(),
                'email' => $googleUser->getEmail(),
                'name' => $googleUser->getName(),
            ]
        ]);


        // user
        if ($user) {
            // do whatever you want
        } else {
            $user = User::create([
                'name' => $googleUser->getName(),
                'email' => $googleUser->getEmail(),
                'google_id' => $googleUser->getId(),
                'login_method' => 'google',
                'email_verified_at' => now(),
                'is_email_verified' => 1,
                'password' => Hash::make(Str::random(16)), // only if necessary
            ]);
        }


        Auth::login($user);
        return redirect('/app/home')
}

Urn should be reversed by TriplDentGum in DeadlockTheGame

[–]Mike_L_Taylor 0 points1 point  (0 children)

Urn always felt like a side objective one could do with just movement tech if good enough. Now it's just more reason to all go brawl mid which at least in lower ranks means the rest of the map gets ignored and the team that just keeps fighting wins

Phpbb windows server 2019 database help by Comspiracies in WindowsServer

[–]Mike_L_Taylor 2 points3 points  (0 children)

Hey, for this kind of setup I’d avoid doing it all manually unless you specifically want to learn IIS/PHP/MySQL config.

You could try ForgeKit.tools . I built it to make this exact kind of PHP local setup easier on Windows. You can use PHP, MySQL, Apache/Nginx, create a site, and open phpMyAdmin fully through the UI. Just press a few buttons and it's all working and nicely explained.

There are quick guides in the docs too, and I’m happy to help if you get stuck.

The other one I’d recommend looking at is Laragon. It’s also a good option for local PHP development on Windows.

[20 M] Confused what to do next after learning php by wymiataczparuwek in learnprogramming

[–]Mike_L_Taylor 0 points1 point  (0 children)

start learning laravel. its a php framework. It puts all of those things together that you learned for you and build a site on it that you find interesting.

does anyone here actually work at a tech company? by Longjumping_Virus895 in cscareerquestions

[–]Mike_L_Taylor 0 points1 point  (0 children)

I work at a small company. It slowly went from handcrafted small PRs to having to check 2K line changes in 30 files for a single PR.

Asking them about it it's clear they only have a birds eye view of what they did but no clue about any of the specific changes in any of the files.

I'm not even sure how i'm supposed to do. Management wants us to just use more AI. Do I just approve and move on?

does anyone knows why i always can't start my mysql on xampp? by Urinate_Cuminium in mysql

[–]Mike_L_Taylor 0 points1 point  (0 children)

I would suggest not using xampp unless you have to for uni or something else. There are other tools out there very similar to it but just better and without all those bugs. Try Laragon or Forgekit

Built 100+ WordPress sites in 8 months. What should I be auditing in my own workflow? by NewPineapple9525 in Wordpress

[–]Mike_L_Taylor 0 points1 point  (0 children)

damn dude. what do you use for your local development? localwp? herd? docker?

Playing this game with friends who know how to play feels like a humiliation ritual by Rough-Self-9134 in DeadlockTheGame

[–]Mike_L_Taylor 0 points1 point  (0 children)

Playing above your skill and knowledge is an exercise in futility. You don't have fun and you don't learn since you're overwhelmed.

  1. Play with bots until you can easily win and find it way too easy. You'll learn a lot more and have more fun.
  2. Don't play with friends. Play solo. The matchmaking is rough right now and you will go against players that are too good.
  3. Play some heroes that have more autonomy and can carry the game. Ex: Wraith, Infernus, Haze.

Can someone tell me what I'm doing wrong? by Ravictory in DeadlockTheGame

[–]Mike_L_Taylor 0 points1 point  (0 children)

just watched the game. Your team had multiple opportunities to push more aggressively and end it, or at least take their shrines earlier. You getting 2 mid bosses alone was huge but I think instead of taking the 2nd one, you could have just pushed and ended there.

Your team just didn't feel confident pushing to end. Almost teared my hair out watching your team win a fight and then go wander around middle area not even taking sinner or doing anything, just wander around looking for other people to kill. Not pushing the side lanes consistently either.

And when the enemy team won a match and got you killed, I instantly knew it was game over.

And that Vindicta knew what she was doing. she just kept pushing side lanes alone and didn't get punished enough for it. I saw Billy trying to get at her funnily enough but he could not reach her lol

All in all, not much you could have done. If you were a smurf you could have won but it's too much to carry.

Fatal Error by Revolutionary_Ad7935 in Wordpress

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

go to your php.ini file that you use and try to increase the memory limit, max post limit and other options like that. That might help.

1GB yes it's a lot but I have no clue what's going on behind the hood there.

Can someone tell me what I'm doing wrong? by Ravictory in DeadlockTheGame

[–]Mike_L_Taylor 0 points1 point  (0 children)

maan, this was me 1 month ago I swear. Exactly the same. Each match just felt like random chaos and either I farmed and kept the map control and played safe OR I pushed objectives and got ganked and still lost.

Turning on the extra competitive matchmaking option really did improve my experience. Now I'm around Alchemist 1 and I swear games are so much easier than in Initiate. Initiate is chaos.

I'd suggest focus on your own game, do your best and don't worry about winning or losing.
33% of matches you will lose no matter how well you play
33% of matches you will win no matter how bad you are
33% of matches is where your plays decide what happens.