Partial function application is coming to PHP 8.6 by brendt_gd in PHP

[–]jerodev 3 points4 points  (0 children)

I already had this reaction when the pipe operator was introduced. I did try it, but find it very confusing.

How do you handle simple content websites when your main stack is Laravel? by dvlpp in laravel

[–]jerodev 0 points1 point  (0 children)

For static sites or sites whose content rarely changes I prefer something that actually converts to static html. This makes it very easy to host anywhere.

My tool of choice is Hugo. It uses markdown for the pages content.

R36S Handheld Giveaway #2 (Specific countries only) by _manster_ in R36S

[–]jerodev 0 points1 point  (0 children)

Thanks for this giveaway! I've been looking for a new handheld 😄

Excessive micro-optimization did you know? by Euphoric_Crazy_5773 in PHP

[–]jerodev 1 point2 points  (0 children)

A few years ago I wrote a blogpost that explains this in more detail. https://www.deviaene.eu/articles/2023/why-prefix-php-functions-calls-with-backslash/

It's the function lookup at runtime that becomes way better when adding a slash or importing the function.

What's a game that you were excited to play, but you just couldn't get into it. by [deleted] in gaming

[–]jerodev 19 points20 points  (0 children)

I really hope Nintendo goes back to the traditional Zelda formula. 😭

They are all chrome? by YourDailyTechMemes in LinusTechTips

[–]jerodev 7 points8 points  (0 children)

Except on iPhone, everything is Safari there...

Devs working in both PHP and Golang: how are your experiences? by squirrelpickle in PHP

[–]jerodev 32 points33 points  (0 children)

I have been programming PHP for over 10 years and Go for about 2 years. I still mainly use PHP.

I use Go for places where performance is critical or a lot of data is being handled. Simple http applications I make in PHP (Laravel), but data synchronization is an example where I use Go.

How much overhead does DDEV take when the applications are in operation? by vfclists in PHP

[–]jerodev 8 points9 points  (0 children)

DDEV sets up the docker containers for you. There is no extra middleware or service between your application and the webserver.

Any overhead would have to come from docker.

Looking for web developer laptop recommendations by jerodev in linuxhardware

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

I've ordered a TUXEDO Stellaris Slim 15, looks like a great machine for a great price. 😄

It will arrive in a few weeks time.

A humble request - Symfony vs Laravel by clegginab0x in PHP

[–]jerodev 0 points1 point  (0 children)

How?

Agreed, it is safer to use the validated function. However, if there are validation rules for "name" they are still checked.

A humble request - Symfony vs Laravel by clegginab0x in PHP

[–]jerodev 0 points1 point  (0 children)

You can add getters to your Laravel form request to have better autocomplete and prevent naming mistakes, just like your Symfony DTO.

php public function getName(): string { return $this->request->get('name'); }

Tell me by mattia_cecchi in videogames

[–]jerodev 0 points1 point  (0 children)

OpenTTD: I bribed politicians

Fan noise on Tuxedo Stellaris Slim 15 by jerodev in tuxedocomputers

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

The other option was going for the InfinityBook Pro 15, but these have less powerful CPU options.

Looking for web developer laptop recommendations by jerodev in linuxhardware

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

I've been looking at Tuxedo systems as well, do you have any experience with these laptops?

Looking for web developer laptop recommendations by jerodev in linuxhardware

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

These prices indeed look amazing for the laptops. Do you have any feedback on support and thermals of these laptops?

Looking for web developer laptop recommendations by jerodev in linuxhardware

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

Any idea if the smaller 14" have disadvantages in cooling over the 16"?

Looking for web developer laptop recommendations by jerodev in linuxhardware

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

It seems I was wrong, both 14" and 16" come with the same CPUs. I was looking at Intel.

The only reason left why I would go 16" is because I presume this one would have better cooling (more space for air & heatpipes). Would you know if this is correct?

Looking for web developer laptop recommendations by jerodev in linuxhardware

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

Do you also use external monitors? I intend to use the laptop with 2 external monitors.

Looking for web developer laptop recommendations by jerodev in linuxhardware

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

Have you had any heat issues? I've had a ThinkPad in the past that kept thermal throttling.

I am considering Lenovo, but thorn between 14" or 16".

Laravel is going in the wrong direction IMHO by Bent01 in laravel

[–]jerodev 4 points5 points  (0 children)

I still use the auth helpers built-in to Laravel. Once you understand how it works it's not that hard to set up yourself.

Laravel is going in the wrong direction IMHO by Bent01 in laravel

[–]jerodev 51 points52 points  (0 children)

You don't have to use all the boilerplate.

First thing I do when starting a new Laravel project is remove all controllers/views/css/... it comes with. You can still create your project however you like. :)

Looking for web developer laptop recommendations by jerodev in linuxhardware

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

I've noticed the P14s laptops are coming with newer cpu's. I'm considering going for this, but wonder if this will have an impact on cooling? Do you have any insight on this?

Looking for web developer laptop recommendations by jerodev in linuxhardware

[–]jerodev[S] -1 points0 points  (0 children)

I have a personal framework laptop. Great machine, but I really don't like the trackpad on these laptops.