Mihail Tirdea's Avatar

Mihail Tirdea

@melcus

Passionate about building innovative solutions to real-world problems

508
Followers
226
Following
14
Posts
31.10.2024
Joined
Posts Following

Latest posts by Mihail Tirdea @melcus

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

29.11.2024 00:48 πŸ‘ 7 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

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?

27.11.2024 13:45 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

πŸ‘‹

21.11.2024 11:56 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

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...

21.11.2024 08:54 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

weekend vibes

15.11.2024 18:30 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

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...

08.11.2024 09:58 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image Post image

Do you need to generate complex(or not) PDFs in #laravel ?

Of course @spatie.be got your back spatie.be/docs/laravel...

05.11.2024 10:58 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

Cool trick to invade private functions in #php

05.11.2024 10:39 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I'm building a starter pack for indie hackers

Who wants to join?

go.bsky.app/KSNgkbQ

04.11.2024 08:44 πŸ‘ 91 πŸ” 12 πŸ’¬ 105 πŸ“Œ 8

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

04.11.2024 18:56 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Yes please

04.11.2024 18:44 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Persistent pop-out windows, native in-browser, made easy with Chrome's DocumentPictureInPicture
Persistent pop-out windows, native in-browser, made easy with Chrome's DocumentPictureInPicture YouTube video by Matt Stauffer

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)

21.10.2024 14:44 πŸ‘ 20 πŸ” 3 πŸ’¬ 2 πŸ“Œ 0

- Raycast
- AltTab
- Warp
- Hidden Bar
- Arc
- Notion
- Todoist
- Magnet ($)
- Jetbrains IDEs ($)
- PasteApp ($)
- CleanshotX ($)
- TablePlus ($)

01.11.2024 09:14 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

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.

31.10.2024 22:19 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image Post image Post image Post image

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

31.10.2024 22:17 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

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

31.10.2024 22:14 πŸ‘ 3 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0