jacobfogg

jacobfogg

Member Since 4 Years Ago

Experience Points 30,020
Experience Level 7

4,980 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 298
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.

12 Jun
2 months ago

jacobfogg left a reply on Working With Postgres JSONB In Laravel 5.5

Found it!!!

@phpguru ... really @anyone_else_trying_to_figure_this_out:

Contact::whereJsonContains('data->info->groups', 202)->get();

jacobfogg left a reply on Working With Postgres JSONB In Laravel 5.5

Old, I know, but if I found this, others will too =)

@phpguru, in postgresql you would use the following syntax:

SELECT * FROM contacts WHERE data->'info'->groups @> '[202]'::jsonb;

I'm trying to work this out in eloquent still myself... but now with that syntax, we'll see if I can get there. I've already written a helper class to add support for Postgresql's DistinctOn functionality: https://packagist.org/packages/datajoe/postgresql-distinct-on

If I cannot find pre-built functionality, I'll work on a jsonb extension as well... hoping I don't have to though!

25 Nov
2 years ago

jacobfogg left a reply on Why It Takes So Much Memory For Eloquent Models?

What is the size of the 60k rows in your database? There is a chance that the data could be close to that. Add to that the overhead of the php model objects, and there you go...

It's not typically considered best practice to select all records like that. You would be better off selecting only the records you need. Not only will it take less memory, it will respond much faster.

26 Jul
3 years ago

jacobfogg left a reply on Issue With Deploying A Laravel 5 App On Forge

I had the same issue with Centos7 ... I tried EVERYTHING. Finally, I found a post on stackoverflow suggesting it could be selinux. I disabled selinux and it worked!

jacobfogg left a reply on Log File Permission Problem

I had the same issue with Centos7 ... I tried EVERYTHING. Finally, I found a post on stackoverflow suggesting it could be selinux. I disabled selinux and it worked!

jacobfogg left a reply on Laravel5 Gives Blank Page With 500 Status Code On Apache Fedora22

I had the same issue with Centos7 ... I tried EVERYTHING. Finally, I found a post on stackoverflow suggesting it could be selinux. I disabled selinux and it worked!

13 Jun
3 years ago

jacobfogg left a reply on Sqlite Pdoexception Connection Refused

Ok, so for me, I had to make three code changes to get sqlite to work:

../config/database.php ln 29: 'default' => 'sqlite' ../config/database.php ln 51: 'database' => databae_path('database.sqlite'), ../.env ln 7: DB_CONNECTION = sqlite