Just woke up from a nightmare. In it, I built a website with a newsletter popup. Gotta take a shower now and cleanse myself of that filth

@samgai Numbers is Apple's own spreadsheet app which has both macOS and iOS releases. I haven't used it on iOS, but the macOS release is very functional and pleasant to use, so the iOS version would be worth a try at least. And it's free on both platforms.

@dgoosens @Crell Apologies for only reading about the first half of the article, but at least in terms of PHP and not historical legacy/other langs, why is null considered harmful? I feel like I missed that. Is there objection to the idea of a function not returning a value?

@worldsendless I second phptherightway.com/ . Note that WordPress is pretty much "PHP the wrong way" though - the way the whole thing is structured is more in line with what was common in the early 2000s, and it doesn't use fundamental concepts such as routing. I suggest avoiding WordPress whenever possible.

There are three kinds of lies: lies, damned lies, and `window.innerHeight`

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?

@256 Ah, yes, the "screaming lady with short dyed hair" era of advertisement design.

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.

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.

</rant> 🙃

@ramsey Ah, *you* set this place up? Okay, I missed that context. Apologies.

To all the new people who seem to be flooding this instance since Bogeyman du Jour bought Twitter, remember: All users and posts on this server are "on Mastodon." Just like you are always "on Chrome" when using a web browser or "in Ford" while driving.

Also, all video game consoles are Nintendos.

@ramsey I hate Mastodon's UX and I definitely think it would be good if we could be "dogfooding" on this instance. No idea why Friendica wasn't chosen but maybe it just wasn't mature enough at the time. I do want to look into it, though, since I'd like to consider setting up my own private instance at some point.

Apparently 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: twitter.com/merlinofchaos/stat

@climagic

Are there security concerns regarding "printing" a document containing shell escape sequences on my local machine?

@climagic I always mix up `du` and `df`. Whichever one I want to use at any given time, I will invariably type the other one first.

Look at these nightmarish build instructions. How horrifying.

And yet… I'll try them. At some point.

github.com/pkulchenko/wxlua/bl

Show older
PHP Community on Mastodon

Open source. Open community. We are dedicated to building and enriching the PHP community.