Sign in

Graphic Designer graduate. Full Stack Web Developer. Retired Tech & Gaming Editor.

Search your feelings, you know it to be true

It was almost four years ago when I said that PC Gaming was going to die. The state of the PC Gaming scene, both as an industry but also as users with PC Gaming machines, was in shambles. Once a place where technology drove and pushed forward, a decade and half later it has been leap-frogged by mobile devices and next-generation consoles. What was a platform cheap to be introduced now has a higher entry barrier.

Once mainstream appealing, PC Gaming has become a niche for rich people.

“The end of the PC Gaming” era it’s difficult to understand…


Your favorite IDE will pick them up and make your life easier

Photo by Rémi Walle on Unsplash

When using the Eloquent ORM, you will note there is a lot of magic going around. With that bunch of logic behind the scenes, it’s normal for an IDE to just not understand what’s going on.


Thanks for the fix on the article.

I don't consider nonsense to NOT but a PC exclusively to play games, or as a secondary function:

- There is no AAA exclusive games for PC since 2010 except Half-Life Alyx which requires a VR Set.

- It became a third-place platform, exclusives hit consoles first. Few titles hit the PC platform on launch day, and most are clearly a second thought port (like Horizon: Zero Dawn, Dark Souls, or Nier: Automata).

- The amount to pay for a gaming PC doesn't correlates directly with the amount of exclusives demanding games in…


There was a time where the amount of RAM was super relevant

Photo by dogherine on Unsplash

You all should remember the time where having a PC was becoming mandatory. Emails, documents, and even printing something, it was normal for every household to have a PC plugged to the wall. Hardware forums proliferated as the knowledge of building desktop PCs was becoming a requisite, and if you couldn’t afford one, Internet Café (and their variations) would welcome you with open arms and a few pennies.

As of today, these venues are no more. The old Desktop PC, that one big box that sits in your room or office, barely justifies its existence now. …


It’s the developers who are not

Photo by Duy Pham on Unsplash

I stumbled upon an article in Stitcher.io that, in a few words, declare that developers should be aware that Named Arguments will break things. That’s quite weird when you consider they fix more than what they “break”.


The less code you write, the less you have to maintain

Photo by Aryan Dhiman on Unsplash

PHP 8.1 is just around the corner, around a bunch of RFCs that got approved for the sake of making the developer write less, which is always a good way to accelerate your time writing and reading.

I had a part on a project that was working for PHP 7.3. The class on question is basically a “Delivery Route” handler. The delivery man selects one, is saved in the session, and then is retrieved for every thing that needs to interact with the route: items, detours, chauffeurs, you name it.

Theoretically, using the same code on PHP 8.1 will make…


One method magic

Photo by Jad Limcaco on Unsplash

The Rate Limiter should be one of the most overlooked features in Laravel. For those who are new to the Rate Limiter, the gist of it is simple to understand: to “rate limit” something based on the maximum number of attempts inside a window of time.

The normal and most common procedure to use the Rate Limiter is to, first, check if a key as been attempted too many times. If this key is available, only then we proceed to execute our logic. Finally, we increment the number of attempts along the window of time to “decay”.

This is basically…


Let me tell you a story of multiple processes caching the same thing, over and over again

Photo by Simon Connellan on Unsplash

Some months ago, I created a project for a client that scaled from one to around 5~10 processes at the same time. I’ll save you the details and just get straight to the point: these had to make a complex query based on the result of an external API, which were both slow, and stalled all processes.

As you can guess, I cached the result. The problem? The processes still stalled for several seconds. Did the cache not work?

The problem was not the cache itself, but rather the procedure. Since these processes could start just milliseconds away from each…


Time doesn’t have to be a sin to handle

Photo by Malvestida Magazine on Unsplash

There is also an assumption that handling time can be a pain in the you-know-where, so it’s normal that most applications try to use manage time only if needed, and usually in a very simple manner. UNIX timestamps are the norm, and time formatting is mostly exclusive to presentational aspects.

Your application may never use anything more than start and ending dates, and may be checking the next month from a given moment. While that’s fine, in the age of subscriptions some projects may be forced to handle time in complex manners. …


Everything is, and will, be handled for you

Photo by Ben on Unsplash

PHP 8.1 will land with Fibers support in some months. Supposedly, Fibers are meant to enable more performance on PHP applications, as long these are used instead of just shoving blocking code. It’s a novelty considering the single-threaded foundation of the language itself.

One of the thing that the RFC tells about is that Fibers are not a feature that should be directly exposed to the average developer, the one that actually puts the name on the project. Rather, this is for the code that is way up the call stack.

In other words, you won’t use Fibers directly.

They’re not meant for *you*

Fibers…

Italo Baeza Cabrera

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store