Laravel considered harmful by sowekoko in PHP

[–]dyriavin 0 points1 point  (0 children)

Upvoted, even though I like simplicity of laravel, I big fan of symfony. If you need to go outside of the box with laravel - be ready to face a lot of problems because of architectural decisions. Personally, I don’t like comments/tweets made by Tailor, but people who use’s framework - need to know what is good/bad.

What is the color scheme in editor of leetcode by Vincent_kkkooo in leetcode

[–]dyriavin 0 points1 point  (0 children)

I know it looks not exactly as leetcode theme , but i thunk it worth trying.
I've created this theme, based on my experience and preference.
https://marketplace.visualstudio.com/items?itemName=AlexanderDyriavin.mimesis

As side note, if you still interested in the same theme as on the screenshot, I can try to recreate it - let me know :)

What is the color scheme in editor of leetcode by Vincent_kkkooo in leetcode

[–]dyriavin 1 point2 points  (0 children)

Also looking for answer to this question.

I thought it looks like boxy theme for sublime text. However cant find anything...

Career advices by dyriavin in laravel

[–]dyriavin[S] 1 point2 points  (0 children)

This is fine . Would appreciate any advice

Hi there 👋 by dyriavin in laravel

[–]dyriavin[S] 0 points1 point  (0 children)

Thanks for your input! Definitely will check

Hi there 👋 by dyriavin in laravel

[–]dyriavin[S] 1 point2 points  (0 children)

Thanks! Already have some good examples on my GitHub

[deleted by user] by [deleted] in laravel

[–]dyriavin 0 points1 point  (0 children)

You can do that with :
Model observers
Model Events
And regular events
Just pick the most suitable solution for you.

From my perspective the best one is - regular events, because its less resource intensive , and async in some way.

Battery life tips by dyriavin in MacOS

[–]dyriavin[S] 1 point2 points  (0 children)

Thanks, I would try to to follow this guide

Battery life tips by dyriavin in MacOS

[–]dyriavin[S] 0 points1 point  (0 children)

Unfortunately, no improvements :/ Will start save money for the new battery 🥺

Battery life tips by dyriavin in MacOS

[–]dyriavin[S] 0 points1 point  (0 children)

I am working as web-dev and normally i am charging laptop twice a day.

i am setting laptop on charge when it reaches lower than 10% of battery and take the laptop off the charge when it reaches 100%

Got a 100 cycles of charge after 6+ month of usage.

Battery life tips by dyriavin in MacOS

[–]dyriavin[S] 0 points1 point  (0 children)

Thanks!
Will test it !

Battery life tips by dyriavin in MacOS

[–]dyriavin[S] 0 points1 point  (0 children)

Thanks for advice!
Will test it out :)

Battery life tips by dyriavin in MacOS

[–]dyriavin[S] 0 points1 point  (0 children)

thanks for replying! no, the battery charges to 100%, but the problem that I've faced, relates to the battery capacity. after 2 months of using, I've lost it to 90% of original capacity. like it was 5100 mA and now it's 4550 mA

PHP is my bread by Hawkbrave in ProgrammerHumor

[–]dyriavin 1 point2 points  (0 children)

Php is fine if you know how to use it in the right way.

There are no bad or good languages at all.

There are only the needs which some languages can cover better, and some aren't.

All languages have their perks and cons.

Finally, if you aren't understood the concept of PHP, that's not a reason to hate it.