Daniel
banner
krsriq.bsky.social
Daniel
@krsriq.bsky.social
#webdev
#laravel
The reflection glare on the monitor looks brutal..
December 4, 2024 at 10:04 PM
418 I'm a teapot
December 2, 2024 at 9:01 PM
At first I gave up because I thought the 'glitch' was on my side - 'it s rea pre, i d al, he ee ee.' didn't make any sense.
Glad I came back here and re-tried, now I can sleep well tonight 🫠
November 28, 2024 at 1:20 PM
Cool! Noticed that you named your Post model 'Posts' - plural.
I found that it's best to stick to the conventions (models being singular).
Here's a nice naming convention guide:
github.com/alexeymezeni...
November 23, 2024 at 9:40 PM
Cool idea!
Little typo here - this should say 'This note *has* either been...'
November 22, 2024 at 2:03 PM
This too good to not be a film soon. I suggest Bradley Cooper for the lead.
November 17, 2024 at 10:20 PM
Reposted by Daniel
someone should make a thing that detects outages by monitoring the firehose
November 17, 2024 at 5:25 AM
Reposted by Daniel
Bluesky downdetector!!
November 17, 2024 at 5:47 AM
Reposted by Daniel
11/The company should try to address this by publishing a clear and convincing "trust story" that offers assurances about its funders and their motives, similar to an S-1 prior to an IPO. Creators deserve to have a clear picture so they can decide whether and how to invest. Basic transparency.
November 13, 2024 at 5:11 PM
Reposted by Daniel
I've made it my life's professional goal to make people I work with aware of their propensity to engage others with variants of the XY Problem.

It does seem to help if you make people aware that they are often asking for X when what they actually want is for Y to be addressed and X may not be that.
XY problem - Wikipedia
en.wikipedia.org
November 14, 2024 at 10:07 PM
As for how to call them: Laravel has great Enum integration, e.g. attribute casting, route binding and validation:
laravel.com/docs/11.x/el...
laravel.com/docs/11.x/ro...
laravel.com/docs/11.x/va...
November 13, 2024 at 8:37 AM
I usually put 'em in an app/Enums directory, or for larger apps in module-specific subdirectories.
November 13, 2024 at 8:37 AM