theming – Changing the layout of a Taxonomy Term Page

By default my taxonomy term page lists all articles using this term in 2-columns. I would like to change it to a 1-column layout.

(1) I have created a custom display layout for the taxonomy group:

enter image description here

(2) And selected the one column layout:

enter image description here

Still it doesn’t work. Any other changes, like adding a field, do work though. What am I missing?

7 – Filter Content and Files using the same Taxonomy term filter in Search API

I have several File (File Entity) and Content (nodes) types both referencing the same Topic taxonomy using the same field (one field, reused). The contents of these files/content are indexed in the same index using Search API (multi-type index). I also have a view that lists down the contents of that index, showing a mixed list of files and content.

Now what I’d like to do is filter the results by the Topic taxonomy using only one dropdown filter, e.g. If I want to find files and content related to “Science”, I would just select “Science” from the Topic filter, and the view will show all the files and content related to “Science”.

The problem is that when I add a filter to the view, Drupal presents two filter options for Topic, one for the Topic field on the File entity and another for the Topic field on the Content entity – not just one filter. I’ve already tried Combined Filters, but that doesn’t give me a dropdown of Topics. Also hit a dead end on Search API aggregated fields.

How does one filter a view of both files and content by just one taxonomy filter?

terminology – Specifying resources through dynamic attribute access: Term for this technique?

In languages like Python where it’s possible for an instance to resolve instance.foo by applying a function to the string "foo", some libraries take advantage of this feature to let the programmer specify a multi-level resource through chained attribute access, without defining the attributes ahead of time.

Some examples:

  • The xmlrpc.client.ServerProxy class in Python’s standard library lets one call an XML-RPC method foo.bar on a client instance by writing client.foo.bar(). The client.foo attribute is not hardcoded into the client; rather, it is created “on demand” when it is accessed, and likewise for client.foo.bar.

  • The agithub and slumber Python HTTP libraries both provide an API in which the URL path and HTTP method for a request are specified via chained attributes. For example, to make a POST request to /foo/bar, one writes client.foo.bar.post(). The client object has no knowledge of the valid URL routes.

Is there a name for this technique or feature?

search – SharePoint Online: Term Sets split to multiple refiners?

I have a Term Set named “Level1”. In that term set, I have a term that is called “Level2” and under that, I have several other terms – “Level3”. In my SharePoint libraries, I’m using a column that is called “level3field” and is linked to the above term set.

Each of those terms has a corresponding id. With the SharePoint search, I figured that with the following queries I can get exactly the search results I’m looking for. E.g.:

  • GP0|#termid – Returns all items tagged with that term
  • GPP|#term id – Returns all items tagged with all child of the term
  • GP0|#0term id – Returns all items tagged with that term, but without the child terms
  • GTSet|#term set id – Returns all items tagged with a term from the term set

(source)

This is perfect if I know what to look out for. However, I would like to have those different levels show up as an individual refiner for each level. E.g.:

  • A Refiner that shows all “Level1” terms
  • A Refiner that shows all “Level2” terms
  • A Refiner that shows all “Level3” terms

Do you know if that is possible with the current setup? If not, what would I need to change? I would like to avoid to create 3 columns in my libraries, each with the same term set assigned even though the relation from parent-child of those terms would already exist and can be replicated in 1 column.

I created a mapped property for the column “level3field” and assigned it to the corresponding crawled property to get it as a refiner, but then I only see “Level3” terms (as this is the one that is filled as metadata into that column “level3field”. There might be a case where I have to add the “Level2” metadata to the “level3field”, but then again, everything would be beneath 1 refiner, instead of 3.

I would really appreciate your help.

Thanks and kind regards,

soft question – Motivations for the term “jet” in the context of vicosity solutions for fully nonlinear PDE

My question is very direct:

What are the motivations for the name “jet”(subjet, superjet) in the context of viscosity solutions for second order fully nonlinear elliptic PDE?

(the definition of which can be seen in Crandall, Ishii, Lions: https://arxiv.org/pdf/math/9207212.pdf).

Thanks in advance

Applying again to visit UK, long term visit visa

I had a UK 6 month visit visa last year which was expired on February 2020.
On my previous application I mentioned that I wanted to visit London but after getting the visa I travelled to Manchester 2 times.
First was for 10 days and second one for 3 days.

Now I want to apply for a long time 2 years visit visa. My friend recently moved to the UK with his Europian passport so on my visit I will meet him but I will pay all my costs I am working and my monthly income is more than 1500£ everything is OK with my bank statement.

I want to know that should my friend have to send me a inviation letter or should I attach it because I will stay at hotel and will visit tourist places together. My plan is to apply on January for going to UK for 6-7 days in February.

My nationality is Bangladeshi and I’m living in Spain as a residence. I have never have been denied any visas. My last visa application was successful. I want to make new appication as my last visa expired.

How to identify parent term for child term in Sharepoint Online Search query using user profile property tied to a term store?

I am new to the Sharepoint world and Sharepoint Online Search. As a beginner, I am attempting to learn and achieve the following task.
I have a Geography term store that has

Global (Root)

Region1
    United States
    Canada
Region2
    Country3
    Country4

and so forth…

Content in Sharepoint could be tagged with values from this term store at any level. (Global, region or country)

Users in the system have user profiles and there is a custom property called “Country” that derives values from this Term store. Only countries (the leaf nodes) get assigned on this property as users select the country in their profiles.

When a user searches, I want to boost the results that are tagged with the user’s country OR with the corresponding Region OR the root.
I tried the XRANK query to achieve this.

{searchTerms} XRANK(cb=1.00 stdb=1.00) tags:{User.Country}

This works, but only when the content’s tag has a Country value. But I want to identify the parent of the country (the region and the root) and include it as the matching condition to boost. That is, if I am in Country3, both Region2 and the root are relevant to me as well. What properties should I create to capture the geography parents on the user profile and how? How should I modify the XRANK query? Appreciate your answers!

finding the last term for this sequence $ 8-3-9-4-16-7-?$

I saw a question in my textbook , it is asked the find the last term for the sequence $ 8-3-9-4-16-7-?$

but i could not find it. The possible solutions are $12,14,18$

Can you help me to find it..

nt.number theory – Order of growth of the error term of the log-exponent of the average prime gap

Disclaimer: I might have already asked this question or a very similar one but couldn’t find it if it is so. Hope it will be judged somehow interesting anyway.

Assuming Goldbach’s conjecture, let’s write once again $r_{0}(n):=inf{r>0,(n-r,n+r)inmathbb{P}^{2}}$ for every large enough composite natural number $n$ and $k_{0}(n):=pi(n+r_{0}(n))-pi(n-r_{0}(n))$.

The prime number theorem implies that the limit as $k_{0}(n)$ tends to $infty$ of $a(n):=frac{log frac{2r_{0}(n)}{k_{0}(n)}}{loglog n}$ exists and equals $1$. Of course, letting $k_{0}(n)$ tend to $infty$ implies that $n$ also tends to $infty$. Under Cramer’s conjecture, $displaystyle{limsup_{substack{k_{0}(n)=1\ntoinfty}}a(n)=2}$, so writing $a(n)=1+f(k_{0}(n))$ entails, under those two conjectures, that $f(1)lesssim 1$ while $displaystyle {lim_{k_{0}(n)toinfty}f(k_{0}(n))=0}$.

So my question is: which order of growth of $f(k_{0}(n))$ in terms of $k_{0}(n)$ can be obtained “as unconditionnally as possible”? A discussion of the consequences of, say, the Hardy-Littlewood $k$-tuple conjecture alone provided $r_{0}(n)$ exists would be also interesting.

8 – Hide taxonomy term from a view filter where the filter results are empty

I have several nodes and several taxonomies, but only some nodes have taxonomy relationships.

enter image description here

My problem is that the taxonomy filter shows those terms too which don’t have any node relationships at all, example:

enter image description here

So even if I don’t have any nodes in “Category 1”, the term will show up in the filter.

Is there a way to remove those taxonomy terms from the filter which have no content associated to them?