There's always confusion about writing dates, especially between Britain and the United States. Month day year, or day month year? Slash, period, or hyphen as the separator? I wish all countries would adopt the obviously superior year-month-day format. It's unambiguous, save to use in file names (slashes aren't), and, if leading zeros are included, sorts by date even if sorted as string values. Happy 2023-11-06, everyone.
Notices by Alex Hall (alexhall@mastodon.social), page 3
-
Embed this notice
Alex Hall (alexhall@mastodon.social)'s status on Tuesday, 07-Nov-2023 00:38:44 JST Alex Hall
-
Embed this notice
Alex Hall (alexhall@mastodon.social)'s status on Saturday, 04-Nov-2023 01:18:47 JST Alex Hall
Did NOT sleep well or long. Chair is comfortable. Room is perfect temperature. House is quiet. Working from home. Keep almost drifting off to sleep. Long day ahead. Body has always been unaffected by caffein. Is today over?
-
Embed this notice
Alex Hall (alexhall@mastodon.social)'s status on Saturday, 04-Nov-2023 01:18:46 JST Alex Hall
I was just reading a query. I half drifted into a daydream, imagining the text of the query grabbing the data out of the tables and tossing it off to its left, where the data bounced on the ground. You guys, I don't know if I'm gonna make it through today.
-
Embed this notice
Alex Hall (alexhall@mastodon.social)'s status on Monday, 30-Oct-2023 23:43:04 JST Alex Hall
I want to have VSCode use PHP in a Docker container as its executable. I'm also using Debian 10 in WSL. My setup:
* In VSCode, php.executablePath is set to "\\\\wsl.localhost\\debian\\usr\\local\\bin\\php".
* That file is a simple bash script:```
#!/bin/bash
docker exec -t php-dev php $@
```* If I run `php --version` in WSL, I get a valid response. My script and container seem to work.
* VSCode says the path isn't a valid PHP executable.
* My script has 777 permissions.Any ideas?
-
Embed this notice
Alex Hall (alexhall@mastodon.social)'s status on Monday, 30-Oct-2023 23:43:03 JST Alex Hall
I just realized something. I'm so used to working in Debian that I forgot VSCode is running from Windows, so of course it doesn't know how to work with my bash script. I'll try turning this into a bat file instead.