mooseh

mooseh

Head of Technology - Sharpstream at SharpStream

Member Since 3 Years Ago

Brighton

Experience Points
18,170
Total
Experience

1,830 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
139
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

Level 4
18,170 XP
Nov
26
1 month ago
Activity icon

Replied to Does Laravel Have Queue Bugs With Execs?

bump. I am still looking for a reason as to why this is, if someone has an insight I would love to hear it.

Nov
24
1 month ago
Activity icon

Replied to Does Laravel Have Queue Bugs With Execs?

strangely has resolved this by using symfony process.

Activity icon

Started a new Conversation Does Laravel Have Queue Bugs With Execs?

Hey everyone i have the most annoying bug that is driving me nuts, im running laravel 5.8 and im using horizon with supervisor to manage my queues.

basically im running queue job that uses a method to check to see whether a process i running storing it as a variable.

performing as software update and then if it was detected as running starting it backup once the update is finished, I have to do this is in queues as the updates can sometimes take very long. and i dont want the user to wait.

if i run the job in "sync" all works perfectly but when running in the queue says the process is not running when it clearly is. I just cant work out why this would be, i have cleared cache restarted horizon purged, terminmated everything btu its definitely only happening in queue

here if the method thats used

and here is what a $config["running_command] looks like "running_command" => "ps aux | grep gameserver{id} | grep -v 'grep\\|SCREEN'",

    public function isRunning()
    {
        return Cache::remember("is_running_{$this->id}", 2, function(){
            $command = templator($this->withAttributes(['path']), $this->CallClass()->config['running_command']);
            $res = shell_exec($command);
            Log::info($res);
            return isset($res);
        });

    }
Sep
16
4 months ago
Activity icon

Replied to Escaping Validation Decimal Point?

serious facepalm, just fixed it right after posting this!

i fixed it by escaping the dot, this passes validation with the dot

            'start_parameters.+server\.seed' => 'required',
            'start_parameters.+server\.worldsize' => 'required',
            'start_parameters.+server\.level' => 'required',
Activity icon

Started a new Conversation Escaping Validation Decimal Point?

hey everyone

I have a funky one here, i really need help with this validation as it's a tricky one

I have a post request with the following data

[
"start_parameters" => [
    "+server.tickrate" => 10
    "+server.hostname" => "my test"
]
]

of course my validation is failing for this as the following and i have tried to play around a lot with no such luck

        $request->validate([
            'ip' => 'required',
            'start_parameters.+server.tickrate' => 'required',
            'start_parameters.+server.seed' => 'required',
            'start_parameters.+server.worldsize' => 'required',
            'start_parameters.+server.level' => 'required',
        ]);
Aug
07
5 months ago
Activity icon

Replied to Middleware Except Not Working

hey so i had the same issue and it gave me such a facepalm moment!

the middleware values do not match the values in the controller they match the value in your routes file

for example

Route::get('/test', '[email protected]');

the middleware has to match Show (case sensitive) so if you do this, it will not work due to the lowercase S

$this->middleware('auth')->except('show');