meta_query order by date present -> future then show null

Thanks for taking the time to read this. I’ve been struggling with a meta_query for an events site I’m working on.

I have used ACF to create a field for date start and date end, but not all events will have a date.

What I’m trying to achieve, is when you go to the archive or tax view, the first thing you see are the posts that have a date assigned, in order from today’s date into the future. Then after those dated events have been output, to cycle through all empty date posts.

So far I have the below in my functions.php file. This kind of works, but in the wrong order. So the correct events that are dated are output and in the right order. But only after the null valued items have output. I thought that may be because of the ordering in the arrays themselves, so moved the date ordered array to the end. That had no effect.

$  query->set( 'post_type', 'courses' ); $  query->set( 'meta_query', array(     'relation' => 'OR',     array(         'key'        => '_course_date_from',         'compare'    => '=',         'value'      => '',     ),     array(         'key'     => '_course_date_from',         'compare' => '>=',         'value'   => date('Ymd'),     ) ) ); $  query->set( 'orderby', 'meta_value title' ); $  query->set( 'order', 'ASC' ); 

Thanks for your time. Ben.

Is UTF-8 the final character encoding for all future time?

It seems to me that Unicode is the “final” character encoding. I cannot imagine anything else replacing it at this point. I’m frankly confused about why UTF-16 and UTF-32 etc. exist at all, not to mention all the non-Unicode character encodings (unless for legacy purposes).

In my system, I’ve hardcoded UTF-8 as the one and only supported character encoding for my database, my source code files, and any data I create or import to my system. My system internally works solely in UTF-8. I cannot imagine ever needing to change this, for any reason.

Is there a reason I should expect this to change at some point? Will UTF-8 ever become “obsolete” and replaced by “UniversalCode-128” or something, which also includes the alphabets of later discovered nearby galaxies’ civilizations?

Making Your Future a Success

Why are you selling this site? https://wiebank.com/
wie is a german word for like, as (like a bank, as a bank), perfect domain name for the german speaking world (Germany, Austria, Switzerland, Luxembourg, Lichtenstein)

How is it monetized?
https://wiebank.com/

Does this site come with any social media accounts?

How much time does this site take to run?

What challenges are there with running this site?

Will using Convergent Future give you a critical success if the minimum number you need to hit is 20?

Convergent Future (p185 EGtW) States:

When you or a creature you can see within 60 feet of you makes an attack roll, an ability check, or a saving throw, you can use your reaction to ignore the die roll and decide whether the number rolled is the minimum needed to succeed…

If that number is a “20” does it meet the requirements of a critical success? (p194 PHB)

gpg key size of 4096 and “the future is ECC”

My boss wants to sign our binary. I need to tell him how he can create the signing key.

Most if not all sites I have seen about signing binaries say “use gpg”.

OK, so gpg per default has 2048. Their FAQ https://www.gnupg.org/faq/gnupg-faq.html#sec-11-4 has several arguments why 3072 or even 4096 does not offer higher security but “costs a lot” (I assume they refer to computing resources).

Does this still apply 2020? Can I safely recommend to my boss to use 2048 key size?

What puzzles me even more though, is that on their FAQ they say:

Probably not. The future is elliptical-curve cryptography, which will bring a level of safety comparable to RSA-16384. Every minute we spend arguing about whether we should change the defaults to RSA-3072 or more is one minute the shift to ECC is delayed. Frankly, we think ECC is a really good idea and we’d like to see it deployed as soon as humanly possible.

Is it possible to use ECC for signing binaries? Are there any tutorials for that? Or is the current state-of-the-art to still use gpg with 2048 key size?

Can Convergent Future result in a die roll above 20?

In the new Explorer’s Guide to Wildemount, we are introduced to a new wizard Arcane Tradition called Chronurgy whose capstone ability is:

Convergent Future
14th-level Chronurgy Magic feature

You can peer through possible futures and magically pull one of them into events around you, ensuring a particular outcome. When you or a creature you can see within 60 feet of you makes an attack roll, an ability check, or a saving throw, you can use your reaction to ignore the die roll and decide whether the number rolled is the minimum needed to succeed or one less than that number (your choice).

Say the DC for a Strength ability check is 25, and I have a +2 Strength modifier.
Does Convergent Future allow the die roll to be either 23 (“the minimum needed to succeed”) or 22 (“one less than that number”) even though the maximum possible on a d20 is 20?

Add URL to sitemap to be available in the future

I generate automatically the sitemap.xml on publish of content on my website, however some of the content will be publish starting from an specific date and time.

Is there any tag that I can add to a sitemap or any other way to cater for this? so that the google/bing… bots would know to only index the content if the date is greater than ‘now’.

I know that I could use a task scheduler to update the sitemap file when the content publish date is reached but I was trying to avoid that solution.