I'm going to go out and take nine pictures of different Wendy's restaurants at dusk from different angles and then I'm going to post them online and say "Hey guys, I just made this amazing new AI-powered image generator! Here are the images it created when I told it to generate images of Wendy's at dusk! Ask me something else for it to generate!" And then when someone responds I'll go out and take nine photos of whatever they asked for and post those and be like "Wow, I'm an AI expert!"
Surprising (IMO) PHP behavior: https://3v4l.org/uXNp7#v7.4.30
`array_unshift($array, 'foo'); array_unshift($array, 'bar');` does not cause the same result as `array_unshift($array, 'foo', 'bar');`.
Desktop Safari seems to currently have a bug where if you try to access two sites using HTTP authentication at the same time, it keeps prompting for the credentials; I think it's trying to use site A's credentials on site B and then showing the prompt when they fail and vice versa. Might be happening because (in my case) both sites are on the same domain but with different subdomains. Anyone else seeing something like that? #webdev #safari
Why it's a terrible idea to use flags or country names on your language selector, #88,248,324. Seriously, explain this to me.
Apparently, if you're a customer in China, they want you to use the English site rather than the Traditional Chinese site. But that's okay, because clicking on "English" next to the Chinese flag takes you to a page in simplified Chinese anyway.
https://www.liqui-moly.com/en/pt/ (yep, that's the URL)
When they do this shit where they cover up the article with a pop-up, enabling reader mode will sometimes let you see the whole article. It didn't work in this case, though - the article was truncated.
…by JS, but the full article is still in the HTML.
If you're going to do this anti-user shit on your news site, at least have the sense to crop the article server-side. It's a lost cause, though. I have never responded to a content-hiding pop-up like this and I never will.
This is what's wrong with the tech industry. The expectation that one should give their free time *EVERY DAY* or you're somehow "not passionate".
My response to that would be fuck you and your shitty fucking culture.
My kids and family are FAR more important to me than your ridiculous expectations.
Apparently #Drupalcon is happening right now in (drama sigh) Portland. Seeing some of the tweets about it is like meeting up with people you knew from high school who grew up to be junkies - the "junk" in this case being corporate-focused Silicon Valley techno-gobbledy-gook.
A wistful thread from Earl "merlinofchaos" Miles: https://twitter.com/merlinofchaos/status/1519058194089144320
Look at these nightmarish build instructions. How horrifying.
And yet… I'll try them. At some point.
GMR Magazine - January 2004
On Stripe's very large and somewhat incomprehensible API pages, they've hijacked Command-F (and presumably the non-Mac equivalents) to show whatever the hell this is rather than using my browser's normal "find on page" function (though fortunately I've found hitting Command-F again lets me use it).
Whoever came up with this will burn in the deepest pit of web design hell. Who the hell would want this? It's really hard to fathom a more unwanted feature that isn't an outright virus or something.
@reykjalin I tried submitting a patch for your PHPCS Nova extension via `git send-email` since I guess that's what you have to do with Sourcehut. I've never done that before - hopefully it got to you. Please let me know here or via email if something screwed up.
Really, Composer is written in #PHP, and it does everything. If you're a PHP dev and you're going to write a tool to be used by other PHP devs, why would you ever use a tool other than PHP?
Symfony's routes are defined in YAML files, and its CLI tool is written in Go.
Okay, moving right along. #php
Professional web developer since 2007, using mostly PHP. Currently freelancing and totally hireable. ウェブ開発者。PHPを大体使えます。フリーランス中。
Open source. Open community. We are dedicated to building and enriching the PHP community.