Been hemming and hawing over a hobby project idea since April, and finally made some progress on it today thanks to Miro (mapping out my ideas) and Auth0 (handling signup and login). One detail I need to fill in is how to create a local database record for users that sign up via auth0, so I guess that's my next avenue of inquisition. And then I can get started on the visual design.
@Crell Hey, quick thought on your data provider blog post (which was a great summation of my favourite parts of data providers): a fifth advantage of `yield` over `array` is that if you accidentally give two data provider entries the same name, a `yield` will result in both being tested, but an `array` will result in the second occurrence clobbering the first. It's silly, but for large providers, it could conceivably one day save someone's butt.
"THE" moon landing was in 1969, which was 27 years before Independence Day, which is only 25 years old.
However, the final apollo landing was in 1972, and that was 24 years before Independence Day.
One thing's for sure: We need to get back to the moon! World cheese supplies are at historic lows.
Reading GitHub comments on one coworker's PR, another coworker compliments his coding style and advocates for that method of avoiding nested if statements. And I'm like "Yeah. Preach it."
And then I lurch forward, remembering that I wrote one earlier today & have suddenly realized a way to refactor it to remove the nesting.
Do I code now, or do I wait until tomorrow?
Installing PHP 8 on Raspbian is a lot easier when you have a decent guide for it. Found this one tonight: https://lindevs.com/install-php-8-0-on-raspberry-pi/
I finally got my underwater drone back in the water after a long winter hiatus, and I found something neat! https://youtu.be/KT-g50Rq-2o
@pollita if you could `composer install whoever/println`, then have a `use Whoever\println;` in your file that talks to the console, problem solved.
@pollita I like it! Looks super handy for my typical PHP usage. Of course, your point is also 100% correct (if a bit blunt).
But if we could just make functions "first class" (no pun intended), it wouldn't need to exist at the language level.
Went for a walk today & took a photo of an old rusted car wreck. I'd taken a photo of the same wreck 10 years ago, and thought it would be fun to try again. https://www.flickr.com/photos/beryllium/51030546331/in/dateposted/