Olissipo

joined 2 years ago
[–] Olissipo@programming.dev 19 points 1 year ago (8 children)

They started blocking access to the F1TV's website on Firefox...

Funny how everything works like it used to when I use an extension to pretend to be Chrome

Fortunately MultiViewer still works

[–] Olissipo@programming.dev 3 points 1 year ago

The point is evaluating your stack once in a while. Eventually, you may need to switch or it may be worthwhile, even if you can stick with your current stack at a disadvantage.

For an extreme example, WordPress with crap page builders. It may not have been "that bad" when you started with it. But by now its very much worthwhile to switch. You don't "need to", but you should.

Back to this post, maybe they really are at that point that slowly switching is worthwhile. At least partially, where it makes the most sense (they mention using some microservices written in Go).

[–] Olissipo@programming.dev 4 points 1 year ago (1 children)

Personally I doubt I'll ever reach the switching point. But the trend for PHP devs seems to be switching to Go (when they do switch).

[–] Olissipo@programming.dev 1 points 2 years ago

I don't have a favourite new feature, but I'm just learning about the Compound constraint which I'll definitely put to use in the near future.

I do have a favourite deprecation, of Removing the Default Garbage Collector Probability option. I've had weird and spaced out crashes when developing before I knew about this. Apparently this is to remove stale sessions once in a while. According to this comment, Debian based distros already handle it cleanly with a cron job, so I just unset that Symfony setting

[–] Olissipo@programming.dev 2 points 2 years ago

As long as optional parameters are placed last, I don't see why not.

PHP8's named parameters lessen the pain of using a function with optional parameters spread around, but I still stick to that rule.

[–] Olissipo@programming.dev 6 points 2 years ago* (last edited 2 years ago)

This one in South Korea is pretty recent (October 2022).

A special police team conducted an investigation of the disaster within a few days of it occurring, and concluded on 13 January 2023 that the police and governments' failure to adequately prepare for the crowds, despite a number of ignored warnings, was the cause of the incident.

1
submitted 2 years ago* (last edited 2 years ago) by Olissipo@programming.dev to c/wordpress@lemmy.world
 

This might not be new, I hadn't dealt with WordPress/WooCommerce in a while.

Currently (v8.8.2) in a new WooCommerce installation the "Checkout" page is created using blocks, like so:

<!-- wp:woocommerce/checkout-payment-block -->
<div class="wp-block-woocommerce-checkout-payment-block"></div>
<!-- /wp:woocommerce/checkout-payment-block -->

(...)

The problem

This might introduce breaking changes to the plugins and themes you normally use. For example, I couldn't add a new field - programatically or using a plugin.

The fix

Remove the blocks and revert to using the shortcode:

[woocommerce_checkout]

[–] Olissipo@programming.dev 1 points 2 years ago

Not a fan of datalist:

  • Barely works in Firefox (need to click again after initial focus);
  • Doesn't work at all in Firefox mobile (if there is some magic to show the options, I don't know what is);
  • In Chromium and Safari mobile (tested through appetize.io), I don't like how similar it is to a select:

Somewhat liked Chrome's implementation in Android:

view more: ‹ prev next ›