Emma De Silva
emmadesilva.bsky.social
Emma De Silva
@emmadesilva.bsky.social
Fullstack Laravel/PHP developer focused on backend cybersecurity. Building Laravel-based static site generator @HydePHP in public. Occasionally funny.
Stuff like this is so extra, but I think it's really fun to work with. And #PHP and #Laravel makes it so easy!
December 26, 2024 at 9:37 AM
Tip: When using ternary expressions, at least temporarily split them to multiple lines so you can see if your test is covering all code paths! If they're all in a single line, that line is green even if only one path is tested. #php #phpc
December 25, 2024 at 6:28 PM
Just learned that it's possible to create custom Git commands!
December 22, 2024 at 1:29 PM
Okay so it looks like I wasn’t kidding when I said my passion is open source
December 17, 2024 at 7:12 AM
HydePHP v2 will make use of Laravel Prompts! Look at this gorgeous thing! #Laravel #PHP
December 10, 2024 at 2:19 PM
Well this Google card is really nice! Is it autogenerated, or did someone write this?
December 10, 2024 at 11:08 AM
Gemini 1.5 Pro with 2M context window is really really good for analyzing changes across massive diffs. Wanted to double check my release notes were up to date for a parent PR with around 10 sub-PRs, and totalling 20 000 line changes over almost 500 commits. Looks to be really accurate!
December 8, 2024 at 12:07 PM
Which style do people prefer?

$extraAttributes is an array that may or may not be empty, and may or may not contain a class key.

In my opinion the first one is more readable, but it's annoying me that there is so much repetition. The second doesn't look as readable to me though
December 5, 2024 at 9:54 AM
What do people think about adding a fluent cache helper method to #Laravel Eloquent? #php #phpc
December 3, 2024 at 9:50 PM
This is a map of the Internet. And it is beautiful.

Source and details: en.wikipedia.org/wiki/Compute...
December 1, 2024 at 1:46 PM
Thanks to Claude and Cursor I could finally figure out the @cloudflare.social GraphQL API, and could download all my analytics data for the past year. So now the HydePHP analytics site is nicely updated with long-time traffic!
November 25, 2024 at 6:35 PM
#Gemini seems to be the best online chatbot for making image alt texts. This is just the free Gemini version and I love that it gives several options.
November 25, 2024 at 9:52 AM
Noticed on Fathom that HydePHP is getting some traffic from AI services, so decided to test what various services suggest when asking for #PHP static site generators. Found this quite interesting, and amazing, that many models list Hyde as the number one result!
November 25, 2024 at 9:49 AM
Okay gotta dogfood a bit more, but I just think it's so cool that HydePHP can parse #PHP directives in Blade and use them as front matter. In this example, the page is indeed hidden from navigation menus!
November 23, 2024 at 9:44 AM