RoboRobok

RoboRobok

Member Since 4 Years Ago

Experience Points
27,880
Total
Experience

2,120 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
16
Lessons
Completed
Best Reply Awards
31
Best Reply
Awards
  • start your 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-in-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 Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist 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 6
27,880 XP
Jun
29
1 week ago
Activity icon

Replied to "Some Applications Built In Laravel Might Be Heavier For Faster Loading On Mobile."

@automica when you update Laravel, there's that little creature crawling out from your screen, which eats all vowels and inserts poop emoji into your code. This creature drives me nuts.

Activity icon

Replied to "Some Applications Built In Laravel Might Be Heavier For Faster Loading On Mobile."

@snapey I skipped the part about Symfony, but damn - you're right, it doesn't make any sense :D

Jun
28
1 week ago
Activity icon

Replied to Translation In Laravel

I mean in case of the client want to add a new language , I don't want to manually add the extra fields for the new language on the different interfaces...

What do you mean by that? What interfaces are you talking about?

Activity icon

Started a new Conversation "Some Applications Built In Laravel Might Be Heavier For Faster Loading On Mobile."

Hi guys,

I found the article called "Laravel vs Symfony in 2020 – which framework choose for your project?". Among other things, it lists pros and cons of Laravel and Symfony. There are just two cons of Laravel listed, one of them is:

Some applications built in Laravel might be heavier for faster loading on mobile.

What the heck does that mean? How does mobile care what happens on the server? Am I missing something, or does the author seem to misunderstand the basics of web development?

Jun
24
2 weeks ago
Activity icon

Awarded Best Reply on Laravel User/views Tracking

Google Analytics is the most obvious choice.

Activity icon

Replied to Laravel User/views Tracking

Of course. Analytics can track separate pages.

Activity icon

Replied to Laravel User/views Tracking

Google Analytics is the most obvious choice.

Activity icon

Replied to Is Homestead 10.0 Beta Broken?

If anyone experiences the same problem, I just installed the latest stable version of Homestead, which is 9.5.1 and everything works fine:

vagrant box add laravel/homestead --box-version '~> 9'

I don't think this has anything to do with Sequel Pro itself. It's rather some misconfigured MySQL. Or maybe, just maybe it's some new format that abandoned Sequel Pro doesn't handle?

Jun
19
3 weeks ago
Activity icon

Replied to How To Use Laravel For Just API ?

You probably still want routes with your API.

Jun
18
3 weeks ago
Activity icon

Replied to Is Homestead 10.0 Beta Broken?

@braunson @gavmrz are you guys using Homestead 10.0 beta? I used previous version without problem and utf8mb4 used to work just fine.

Activity icon

Started a new Conversation Is Homestead 10.0 Beta Broken?

I just updated my Homestead to 10.0 beta. My database causes Sequel Pro crashing on launch. I also don't understand what happened to the encoding. When I try to create a new database, here's what I get:

Sequel Pro

As you can see, all utf8mb4 are missing and there are lots of bizarre duplicates.

What happened? And how can I install stable version of Homestead? I don't understand why vagrant box update installs beta by default, it's ridiculous.

Feb
05
5 months ago
Activity icon

Replied to How To Get The Input Value Of A Dynamic Field?

Why won't you just see what's in your input with dd($request->all())?

Feb
03
5 months ago
Activity icon

Replied to How To Add Parameter Mass Validate Update

Oh, I think I understand what you mean. You can just add the arrays with a + operator, so ['a' => 1, 'b' => -1, 'c' => 3] + ['b' => 2, 'd' => 4] becomes ['a' => 1, 'b' => 2, 'c' => 3, 'd' => 4].

Does it help?

Activity icon

Replied to How To Add Parameter Mass Validate Update

Try that:

User::whereSlug(Str::slug($request->name))
    ->whereStatus($request->status === 'on')
    ->update($this->getValidate($request));
Activity icon

Replied to Add/removing Dynamic Select Box Using JQuery With PHP Ajax

Do you get any error in the console?

Activity icon

Replied to Robots.txt And SEO

It will crawl it. You will need robots.txt if your profiles are not linked anywhere. Are they?

Activity icon

Replied to Refactoring Custom Validation Rule

Since it's a validation rule, your string-based code also makes sense. It's just not perfect performance-wise, I personally prefer to pass the rules as instances instead of strings.

So do you have any other questions?

Activity icon

Replied to Refactoring Custom Validation Rule

A few ideas to start with:

  1. Passing $startedAt as a DateTime instance instead of string.
  2. Making passes($attribute, $value) get a $player instance instead of his ID (by the way, ambiguously called $value). You will then have control over fetching the player from the database in case you call that method on the same player multiple times.
  3. Removing else from passes() method - if no return happened at this point, we know it's else. You save one indentation level and I think it's more logical to avoid else when you just return.
Activity icon

Replied to OnEachRow

@mehmetanbaki maybe try to ask a more specific question, because it looks like you are green in Laravel.

Also, can you please make sure your code is displayed correctly?

Activity icon

Awarded Best Reply on Someone Needs To Explain Laravel's Passport To Me

I think Laravel Passport documentation misses the point of what Laravel Passport really is, which leads to people using it in wrong use cases.

Laravel Passport is supposed to be used as a login platform for either 3rd party or for your ecosystem containing multiple apps. In other words, whenever you need another app use your users data, Laravel Passport is the way to go. It's the same model as Login with Facebook, Login with Google etc.. There is just one source of users' data and authentication relies entirely on the platform having user data. In case of using Laravel Passport, that platform belongs to you.

If you just want to authenticate your single app, Laravel Passport is an overhead.

Feb
02
5 months ago
Activity icon

Replied to OnEachRow

It means that there is an abstraction layer on going row-by-row. This particular class, implementing that row-by-row behavior, decides to insert records to the database for each row. Another class implementing that OnEachRow interface, could do something else - displaying the row, convert it to some other format etc.

Activity icon

Replied to OnEachRow

It's an iterator that puts groups and users to your database for each row.

Activity icon

Replied to Robots.txt And SEO

You don't need robots.txt if the profiles are properly secured. I would just return 403 (Forbidden) status on private profiles - Google will take care of not indexing your Forbidden pages. Doing it that way will also make sure your profiles are in and out of the index depending of their current public/private state.

Activity icon

Replied to How To Get The Input Value Of A Dynamic Field?

Everything you need to know is in the Many to Many documentation

Activity icon

Replied to Someone Needs To Explain Laravel's Passport To Me

I think Laravel Passport documentation misses the point of what Laravel Passport really is, which leads to people using it in wrong use cases.

Laravel Passport is supposed to be used as a login platform for either 3rd party or for your ecosystem containing multiple apps. In other words, whenever you need another app use your users data, Laravel Passport is the way to go. It's the same model as Login with Facebook, Login with Google etc.. There is just one source of users' data and authentication relies entirely on the platform having user data. In case of using Laravel Passport, that platform belongs to you.

If you just want to authenticate your single app, Laravel Passport is an overhead.

Activity icon

Replied to Admin LTE Not Working

Take look at Package Development - Public Assets in the Documentation.

Jan
31
5 months ago
Activity icon

Replied to Opinion: Front-end Development Sucks These Days

Some people are just more accepting than others. I don't know if you don't see the pathology in today's web dev or you just accept it as it is, but if you don't see it then I feel jealous and sorry for you at the same time. Just know that there are people with idealist's soul and they will make rants when they feel like something needs to be complained about. I want to share my feelings, if all you do is being practical then go for it, but there are also people being humans out there.

Jan
30
5 months ago
Activity icon

Replied to Opinion: Front-end Development Sucks These Days

I made it clear by the title of this topic that it's a rant. And it's not about the choice of framework. It is about the web dev state in general.

Don't feel offended about my question if you have ever worked on anything large. I asked that, because I meet people on the forums who feel like they know it all, while working on tiny things only. Tiny web dev is fun and full of possibilities. Web dev on corporate level is not and doesn't allow as much of a choice. Saying that you can use vanilla JS or whatever framework makes sense on a tiny scale. I don't know where you got your impression that I feel like my projects use wrong stack. There is no fun stack on the large scale projects, period. Web dev is a ton of clusterf%ck to cover up the legacy sh%t.

Activity icon

Replied to Opinion: Front-end Development Sucks These Days

I'm not a new dev after more than dozen years of experience, I suppose. In reality, please tell me how often you work in groups where you had anything to say about the stack to use? Usually you join the project, not start it over. Development gets advanced enough that even updating the version becomes a struggle, let alone changing the technology.

Master the craft? I thought I did, before it became so fast. Nobody will ever master web development as it is today. Your little something becomes obsolete before you master it, or at least changes lots of stuff in the newest version. Have you ever worked on a big project?

Activity icon

Replied to Why Do Modern Web Tools Eat So Much Battery?

Handled it like a champ in 90 seconds? :) gotta have different definition of a champ. Compiling a few text files in 90 seconds is like eternity. But I feel you, I was on a project that made me wait 5 minutes on each save. How ridiculous that is?

Activity icon

Replied to Why Do Modern Web Tools Eat So Much Battery?

It drives me nuts that we are fed up with all that crap how fast the MacBooks are etc. They are really not. People tend to blame the software for being slow, but it doesn't make sense. It's not that software creators calculate pi in the loop to slow down their products. If there is no performance MARGIN, then it's not fast.

I wish there was a trend of simplifying local environments as much as possible. If all I need is mocks, give me - a front-end guy, mocks. I don't need Docker and other crap. My previous project was even worse. The fan worked 100% of time when I worked on that project, my MacBook was literally hot all the time. And that's a 2018 MacBook.

Activity icon

Replied to How To Validate Telegram Account Link With Laravel Regex?

[\w a-z A-Z 0-9] is literally just [\w ].

Activity icon

Replied to Opinion: Front-end Development Sucks These Days

Laravel is the best thing that ever happened to PHP, seriously.

I like Vue.js too, but I don't agree with many things about JS itself, which Vue.js is unable to fix. But yeah, Vue.js uses that cluster*uck with grace.

Activity icon

Replied to Why Do Modern Web Tools Eat So Much Battery?

I like you complaining, it resonates with my mood so much <3 :P :)

Activity icon

Replied to Opinion: Front-end Development Sucks These Days

I think I'm too neurotic for a programmer. I don't understand when convenience/fun/beauty is not prioritised. I don't understand why people are able to use so complex tools, but the result still sucks. I just don't get it, bro.

Activity icon

Replied to Why Do Modern Web Tools Eat So Much Battery?

I use 16 GB of RAM as well. It doesn't feel like it at all though.

Activity icon

Replied to Opinion: Front-end Development Sucks These Days

I just got a new project to do. These f$ckers use Hasura. And again, I need to learn the model that I already know, but in the box of that sh$t. This crap takes my mental space reserved for more interesting things, like LIFE.

Activity icon

Replied to Opinion: Front-end Development Sucks These Days

It makes perfect sense from business point of view, for sure. But I hate what business values do to humanity, period. We are not conditioned to increase market values. I'm really sick of all this sh*t :(

Activity icon

Replied to Why Do Modern Web Tools Eat So Much Battery?

I use macOS, so that's about it.

Activity icon

Replied to Opinion: Front-end Development Sucks These Days

I would argue with the jQuery thing. Even though the browsers sucked back then, the development itself was much more fun. I remember doing a bunch of really cool, creative things with jQuery. Today, everything has a library. F*ck you, libraries.

Activity icon

Replied to Why Do Modern Web Tools Eat So Much Battery?

I don't understand why DevOps culture doesn't prioritise saving local resources. They do really complicated local envs for what? They are super slow and energy-consuming. It's just a freakin' request-response model. I have a bad day.

Activity icon

Started a new Conversation Why Do Modern Web Tools Eat So Much Battery?

I'm trying to be a digital nomad, but it's barely possible without constant search of places with power outlets. My MacBook advertised as 12 hours of battery dies in 3h max when I do my web dev. The battery % literally goes down when I just look at it. Docker eats a sh*t ton of battery, so does Google Chrome. What is going on? What battery life do you guys manage to get when you do web dev?

Activity icon

Started a new Conversation Opinion: Front-end Development Sucks These Days

I feel more and more like a slave when doing front-end. There's very little creativity in that field these days. Most of your work if to get familiar with hundreds of 3rd party libraries and follow their guidelines. Guess who is the best at following guidelines? Slaves. I'm really sick seeing any new framework or library. I understand they are needed, as web development is too complex to do almost anything on our own these days. But it still makes me sick, I'm sorry. For a programmer, it's usually his creativity that is praised. It front-end development world though, it's how many libraries he or she knows. It's not a quality-measured job anymore. It's quantity-measured.

I'm not a creator anymore. I'm a client. I choose, or am suggested, particular library and my work is to make it work. If I do, it's taken as "cool" to make it work. But I did nothing, I just followed the guides, which I struggled to read anyway, because they were boring. There is no invention on my side and that sucks.

I've always loved to come up with my ideas. These days I am almost never able to do so. Being a web dev in 2020 is more like being a freakin' property buyer, who just does research and evaluates things all day long. My profession cheated on me. It's not what it was when I first started it. I used to be great at this and today I suck, because I'm too lazy to read docs every day. I want to use a language, not libraries.

Jan
17
5 months ago
Activity icon

Replied to FormRequest Not Generating Error Messages

Your protected function prepareForValidation() misses the return - maybe that's why?

Activity icon

Replied to Access Laravel Array

I would say rather:

<td>{{ $totals[0]['CURRENT'] }}</td>
<td>{{ $totals[0]['PRIOR'] }}</td>
<td>{{ $totals[0]['FULL'] }}</td>
Activity icon

Awarded Best Reply on Laravel 5.5 Controller

Make sure that:

  • your controller is in /app/Http/Controllers/Superadmin/CountryController.php
  • the class is in the namespace App\Http\Controllers\Superadmin
  • the class is defined as class CountryController
Activity icon

Replied to FormRequest Not Generating Error Messages

Does your session work correctly?

Activity icon

Replied to Laravel 5.5 Controller

Make sure that:

  • your controller is in /app/Http/Controllers/Superadmin/CountryController.php
  • the class is in the namespace App\Http\Controllers\Superadmin
  • the class is defined as class CountryController
Activity icon

Replied to Phone Formatting Issue

You are simply getting it formatted too many times. You should work on some sort of raw format (digits only) and format it for displaying.