migration – how to migrate multiple taxonomy terms with entity lookup plugin

The field that you’re migrating has multiple values and you’re trying to run entity_lookup as though it has only one. I think you just need to make sure you’re iterating over the values with the sub_process plugin.

Using this issue post as a reference, along with the docs for entity_lookup:

    plugin: sub_process
    source: field_farbe
        plugin: entity_generate
        source: value
        value_key: name
        bundle_key: vid
        bundle: alle_farben
        entity_type: taxonomy_term
        ignore_case: true

…I think you’d want to do something like

      plugin: sub_process
      source: field_states_operating_in
          plugin: entity_lookup
          source: target_id
          entity_type: taxonomy_term
          bundle: states_operating
          bundle_key: vid
          value_key: target_id

I’m not entirely sure that the source and value_key are correct but I think this should get you most of the way there.

dnd 5e – In terms of RAW what stops a wish manipulating the deck of many things

From the text of Wish (emphasis mine)

You might be able to achieve something beyond the scope of the above examples. State your wish to the DM as precisely as possible. The DM has great latitude in ruling what occurs in such an instance; the greater the wish, the greater the likelihood that something goes wrong. This spell might simply fail, the effect you desire might only be partly achieved, or you might suffer some unforeseen consequence as a result of how you worded the wish.

Best case scenario is that the GM will simply rule that the wish fails. Worst case scenario, the GM is feeling creative.

ag.algebraic geometry – Toric resolution in terms of polytopes

Let $P,Qsubsetmathbb{R}^n$ lattice polytopes such that $P$ and $P’=P+Q$ are smooth polytopes. We obtain the birational morphism $f:X_{P’}to X_Q$ and I am interested in a criterion when this is a resolution of singularities. Since $X_{P’}$ is smooth, we only need to check whether $f$ is an isomorphism away from the singularieties of $X_Q$. Can we phrase this nicely in terms of the lattice polytopes $P$ and $Q$?

List of terms in alphabetical order under the respective initial letter and within columns

I am trying to print a listing of “brands” names in alphabetical order under the respective initial letter of the alphabet within columns. The problem is that I want to print three columns with three brands inside as seen in the attached image.


$list = '';
$groups = array();
$tags = get_terms('brand',$args);
if( $tags && is_array( $tags ) ) {
foreach( $tags as $tag ) {
  $first_letter = strtoupper( $tag->name(0) );
  $groups( $first_letter )() = $tag;
if( !empty( $groups ) ) {
  foreach( $groups as $letter => $tags ) {
    $list .= '<div><h3>' . $letter . '</h3>';
    $counterCustom = 0; //
    foreach( $tags as $tag ) {
    if ($counterCustom == 0 ) { //
        $list .= '<div class="container"><div class="row"><div class="col-lg-4"><ul><li><a href="http://wordpress.stackexchange.com/brand/'.$tag->slug.'">'.$tag->name.'</a></li>';
    if($counterCustom == 1) { //
        $list .= '<li><a href="http://wordpress.stackexchange.com/brand/'.$tag->slug.'">'.$tag->name.'</a></li>';
    } //
    elseif($counterCustom == 2 ) { //
        $list .= '<li><a href="http://wordpress.stackexchange.com/brand/'.$tag->slug.'">'.$tag->name.'</a></li>';
    } //
    elseif($counterCustom == 3 ) { //
        $list .= '</ul></div><div class="col-lg-4"><ul><li><a href="http://wordpress.stackexchange.com/brand/'.$tag->slug.'">'.$tag->name.'</a></li>';
    } //
    elseif($counterCustom == 4) { //
        $list .= '<li><a href="http://wordpress.stackexchange.com/brand/'.$tag->slug.'">'.$tag->name.'</a></li>';
    } //
    elseif($counterCustom == 5) { //
        $list .= '<li><a href="http://wordpress.stackexchange.com/brand/'.$tag->slug.'">'.$tag->name.'</a></li></ul></div><div class="col-lg-4"><ul>';
    } //
    elseif($counterCustom == 6) { //
        $list .= '<li><a href="http://wordpress.stackexchange.com/brand/'.$tag->slug.'">'.$tag->name.'</a></li>';
    } //
    elseif($counterCustom == 7) { //
        $list .= '<li><a href="http://wordpress.stackexchange.com/brand/'.$tag->slug.'">'.$tag->name.'</a></li>';
    } //
    elseif($counterCustom == 8) { //
        $list .= '<li><a href="http://wordpress.stackexchange.com/brand/'.$tag->slug.'">'.$tag->name.'</a></li></ul></div></div></div>';
    } //
    $list .='';
echo $list;


This is what I want to do:

enter image description here

What is the current status of representation theory of $n$-ary groups in terms of hypermatrices?

An $n$-ary group is a generalization of the usual concept of a group where the binary operation (2-argument operation) is instead an $n$-ary ($n$-argument) operation. More info here on Wikipedia.

I was thinking about how to study $n$-ary groups and realized a lot of our understanding of groups is dependent on the fact that we have a concrete linear representation theory of them. I.E. a group $G$ can be thought of very concretely as collections of matrices, and then abstract questions about the group $G$ become concrete questions in linear algebra/algebraic geometry about the set of matrices, and sometimes that makes the questions tractable.

There is a generalization of the concept of a matrix to a concept called a hyper matrix (it’s an $N$-dimensional array of numbers as opposed to just 2 dimensional). And these hypermatrices support a very natural $N$-ary associative multiplicative operation on them (made by splicing the $N$-dimensional arrays of numbers into $N-1$ dimensional subarrays across each index and the taking dot products) , making them a ripe candidate for generalizing linear representation theory to the $n$-ary world.

It appears people know about this nice multiplication property, at least according to the answerer of this post.

But after digging through google and whatever free resources I have I was not able to find any reference in the literature on using hypermatrices to create a representation theory for $n$-ary groups. Just resources about hypermatrices themselves or $n$-ary groups themselves.

Does anyone know if such a project has been conducted before? and if so what are some papers/humans to get a general idea on the status of the field?

Visualization of the multiplication protocol for three 2x2x2 hypermatrices, to compute the first element of their 3-ary product:

enter image description here

Forex Trading Terms You Need to Know Before Trading in 2020-21 – Forex News & Analysis

The wide world of trading has helped many people buck the trend of their 9-5 job, or at least helped them discover new ways to earn money.    Finding a new source of income is important for building an independent life that can help you retire early, send your kids to college, live comfortably, or just give you some peace of mind in the bank.   

Forex trading is one of these potential income sources that may interest you if you are looking for ways to earn more money and learn new skills.  

First things first though are that you need a refresher on some of the terms and phrases that you need to know before you even commit to a real trade scenario.   

Just like riding a bike, you want to know what it is you are doing before going for a ride, and Forex trading can be intimidating to those that do not know much about it. Check out these must-know terms to help you get started on your Forex trading journey.    

1. Currency Pair   Trading currency means exchanging it on the global market. This global market is full of different types of currency, so currency pairing is the simple term to describe this exchange.   

USD (U.S. Dollar)/EUR (Euro) is a common example of a currency pair, so is something like GBP (Great British Pound)/CAD (Canadian Dollar). Currency pairing is also useful for traders as it allows for analysis for market research.   

Using currency pairs of common currencies, called major pairs, are the most traded, then you have things like cross pairs which are not major pair currencies, then exotics, for lesser currencies.   

As you can see, this is one of the more easy terms to understand as it relates to the actual currency you are trading within a broad sense.   

2. Pip  

Pip, or percentage in point, is the 4th decimal point of a currencies value. So if you looked at a currency that was traded at 0.7842, the 2 is considered the pip.    This value will fluctuate as markets naturally change short and long term, but the pip helps determine the value of trade when converting one currency to the aforementioned currency.   

Pips are a small but useful term to know, and once you get trading regularly you will be able to identify them easily to help you maximize your potential.   

3. Stop-Loss  

Stop-loss is a term that relates to specific trading orders. The stop-loss is the action of setting a signified price to sell in order to prevent any loss.    The stop obviously indicates the point at which you will hold until then sell, and loss speaks for itself in limiting any damage.   

This is one of the best Forex signals to receive, it helps limit any further loss, or keeps you from losing gains on a trade in the first place.    Stop-loss is an important thing to know for beginner traders to help them make logical, not emotional trades.   

4. Bullish/Bearish  

This term applies to financial markets as a whole, and you have likely heard them thrown around numerous times.   

Bullish, or bull market, is a euphemism to indicate that the markets are doing well and that there is expected growth to continue. Bearish and bear markets indicate a slowing down and decline of expected growth.   

The bull is meant to be a forward-moving, aggressive animal, while the bear in this context is an animal that spends a lot of its time sleeping, hibernating. These are useful terms to know what to expect out of trades regarding the general market movement.   

5. Bid and Ask Price   The bid and ask price are two terms that you are going to want to know when it comes to trading. These terms are associated with the price of a trade.   

The bid price is what a trader sets as the amount they will trade a currency pair for, while the asking price is what a trader will buy a pair for.    What is known as the spread is the difference between those prices. Bid and ask price are key terms in understanding how Forex trading works and it is good to familiarize yourself with it quickly.   

6. Trading Platform  

How do you actually start Forex trading? Well, you need a trading platform to do so. Much like using software to do your taxes, you need something to trade on.  

These platforms contain all of the information you need to understand what is happening in the market. Charts, live updates, tickers, as well as connection to your account.   

These platforms, often provided when you sign up with a regulated Forex broker, come in many forms. They range in fees, functionality, and efficiency as one would expect.    Advance tip: if you are a complete beginner then try to use the demo trading account first and later on when you’ll think that you’re ready switch to the live account.  

7. Futures  

This term is thrown around a lot when people talk about markets for Forex and stock alike. Forex futures are the date in which a deal is set, a contract for a specific time.   

The contracts are traded at set values and are intended to be finalized before that expiry date. Some people intentionally buy futures contracts with the sole purpose of selling them well before the expiry date because it is hard to know how the values will fluctuate.   

These speculators sell and attempt to profit before the end of these contracts are realized, or do so to prevent losses.  

Forex trading is a really interesting way that people have used as an alternate source of income, and in many cases, a replacement for their current employment.   

While Forex trading is not easy, and it is not for everyone, it can be something fun to get involved in when you do your research and treat it as a serious business, because it is.   

Before you start making any trades and using any of your money you want to learn as much as you can, and these are some common terms in Forex trading that any trader should know.    


OR/AND in Google Drive search terms?

I can imagine situations where it would be really nice to be able to use complex conditions on Google Drive searches. Is it possible to OR and AND search terms?

Right now, I’d like to search on Google Drive for a document with several possible owners. I have a personal Google account as well as on for work and I sometimes create a document using the “wrong” account. When I do this share the document with my alter ego. However, this means that I can’t do a simple search using owner because my “other self” might be the owner.

So, I’d like to be able to do something like this:

owner:me@work.com OR owner:me@home.com

Is this possible?