Mihail Tirdea
melcus.bsky.social
Mihail Tirdea
@melcus.bsky.social
Passionate about building innovative solutions to real-world problems
Great... Woocommerce price schedule was broken in v8. Had to upgrade WordPress to the latest version in order to get v9 Woo(while holding my breath nothing explodes). Happy Black Friday!

Is everyone on shopify now? Don't make me build an e-commerce custom solution
November 29, 2024 at 12:48 AM
Freelancers, what tool(s), if any, do you prefer to use to track the time spent on your tasks?

Founders, what tool(s) do you use to track the time freelancers spend on tasks?
November 27, 2024 at 1:45 PM
Improve your pagination performance on large offsets using deferred joins

I got ~50% improvement in the example below

Article planetscale.com/blog/mysql-p...

#laravel implementation by Aaron Francis github.com/aarondfranci...
November 21, 2024 at 8:54 AM
weekend vibes
November 15, 2024 at 6:30 PM
The order of fields in a #go struct can have a big impact on memory usage. In this example, some padding was added to make up for the size difference between the uint16 and uint8 types. It's done for execution speed, but it can lead to increased memory usage.

More at go101.org/article/memo...
November 8, 2024 at 9:58 AM
Do you need to generate complex(or not) PDFs in #laravel ?

Of course @spatie.be got your back spatie.be/docs/laravel...
November 5, 2024 at 10:58 AM
Cool trick to invade private functions in #php
November 5, 2024 at 10:39 AM
Reposted by Mihail Tirdea
I'm building a starter pack for indie hackers

Who wants to join?

go.bsky.app/KSNgkbQ
November 4, 2024 at 8:44 AM
Why is this the first time I'm hearing about #phpunit Prophecy?

Makes my tests so much cleaner, especially with all the v10 deprecations like withConsecutive or at position
November 4, 2024 at 6:56 PM
Reposted by Mihail Tirdea
I just learned about a new-to-me browser feature: picture-in-picture, but not just for video!

You can create persistent windows with any content you want using DocumentPictureInPicture.

Here’s a quick video demo I made:

www.youtube.com/watch?v=lhfU...

(Chrome + Edge only for now)
Persistent pop-out windows, native in-browser, made easy with Chrome's DocumentPictureInPicture
YouTube video by Matt Stauffer
www.youtube.com
October 21, 2024 at 2:44 PM
Ever heard of PHP's execution operators? You can wrap a command in backticks, and #php will run it as a shell command and give you the output.
October 31, 2024 at 10:19 PM
Minimize the risk of breaking changes and ensure a more user-friendly API with Functional Options and Builder patterns.

Both patterns allow developers to customize only what they need, leaving the rest to sensible defaults.
#go #golang
October 31, 2024 at 10:17 PM
Real project requirement: match users with jobs that haven't been considered yet. Used a CROSS JOIN to create the cartesian product of users and jobs. Filtered the results with a SUBSELECT to identify the combinations that didn’t already exist in the matchmaking table.
#SQL
October 31, 2024 at 10:14 PM