Order of Group with Quarternionic Type Representation

If an irreducible complex representation of $$G$$ is of quarternionic type, then it must have even order, and so the group order must be even.

However, is it further true that $$G$$ has order divisible by 4? So $$|G|$$ is never equal to $$2$$ mod $$4$$?

I have checked and this is true for $$|G| leq 200$$.

8 – Change sort order of SOURCE STRING list at User interface translation page to alphabetical instead of date created

At the User interface translation page (/admin/config/regional/translate) the SOURCE STRING list seems to be ordered by creation date/time (it is for strings I add). Is there a “good” (non-hackish) way to change the order to alphabetical? I haven’t found anything in the interface.

For those who wonder why I want this, I use interface translation in an unconventional way. Instead of putting literals like t("Choose your options") in my code, I put in a key like t(‘rsc-string-choose-options’) (rsc is the name of my custom module). Then as the translation, I put in “Choose your options”. This allows me to use “keys” for all strings (literals, messages, titles, email body text, etc.). It’s easy to look up my keys because they all begin with ‘rsc-‘ followed by ‘string’, ‘message’, ’email’, etc. depending on usage. Doing this provide a nice interface for editors to go in and change the text of the strings, since they can look them up either by translation or by key. I also wrote a nice utility that allows me to add, remove, rename, and test keys (i.e. translation strings). It’s working very well, but it would make review much easier if the source strings were alphabetical.

forms – What is a better way to indicate an optional message reminder when food order is ready

I’m designing a mobile website for a food ordering service. There is a feature at the last step of the ordering flow where the user can choose to be messaged once their order is ready. This is optional and the user can ignore it if they want.

How can i improve the following design to let the user know that entering their number is optional. However if they don’t enter their number they will need to check the collection counter display to know when their number shows up.

Magento 1.9 GET Order List via API URL

Magento version: 1.9.4.1

Trying to come up with a SOAP api GET request v1 or v2 to bring all the orders list.
https://devdocs.magento.com/guides/m1x/api/soap/sales/salesOrder/sales_order.list.html

Have already created an apiuser and apikey from the System backend SOAP/XML-RPC with admin permissions.

Tried this with no result.
https://www.magentohost.com/api/soap/?wsdl?apiuser=xxx&apiKey=xxxxxxxxxxxxx

Im trying to come up with a working URL so i can then import the order list into a Google Sheet.
Can’t use Zapier or Integromat for this.

magento2.3 – Magento 2.3.5 – Call extended order model function in email template

i want to know how model functions work in email templates.

In the template original functions are called like

{{var order.getEmailCustomerNote()

I extended the order model, so i added a function getCustomerNameFormal()

When debug the function prepareTemplate in the class Model/Order/Email/Sender/OrderSender.php, the order object is extended and i can call my new function.
\$order->getCustomerNameFormal()
The templateVars order has this function, too.
But when i try to call this in the email template, i dont get a result.
order.getCustomerNameFormal()
although tried
\$order.getCustomerNameFormal()
but nothing works.

Is it possible to get this working? I have a solution with observer, but there i have to add the variable to each email sender. I want to get the function global on the order object.

Can it be that in email templates i can only call the functions specified in the OrderInterface?

Hope someone can help me with this problem.

Best Regards,
Andreas

forms – How is a better way to indicate an optional message reminder when food order is ready

I’m designing a mobile website for a food ordering service. There is a feature at the last step of the ordering flow where the user can choose to be messaged once their order is ready. This is optional and the user can ignore it if they want.

How can i improve the following design to let the user know that entering their number is optional. However if they don’t enter their number they will need to check the collection counter display to know when their number shows up.

linux – Sed: Perform pattern search in reverse order in a certain range and get the line number of each match

I want to search the pattern in a certain range but in reverse order. For example if I give the range say 200,250 then I want that search should be performed in reverse order means search should start from line number 250 and if any line matche the pattern then print the line number

I have tried this command sed -n '!G;h;200,250{|perl: warning:|=}' a.txt but it actually perform the search in ascending order

I have searched on internet and found if we do sed '1!G;h;\$!d' a.txt then it actually print the file in reverse order. Just want to modify this command such that it print the line number in reverse order on each pattern match.

weapons – Order of operations for Aurora property Lasers

Laser weapons cannot do damage to invisible creatures. The Aurora property negates invisibility for 1 minute on a hit. At the moment I am assuming that a) you can still make attacks against an invisible target with a laser and b) it will still apply non-damage effects (correct me if these are incorrect). This would mean that a laser with aurora (such as via a Mechanic’s prototype weapon) would still negate invisibility for future shots.

If I fire a laser weapon with the Aurora property, does the (lack of) damage occur before their invisibility is removed, or after?

Relevant rules text:

Laser weapons emit highly focused beams of light that deal fire damage. These beams can pass through glass and other transparent physical barriers, dealing damage to such barriers as they pass through. Barriers of energy or magical force block lasers. Invisible creatures don’t take damage from lasers, as the beams pass through them harmlessly. Fog, smoke, and other clouds provide both cover and concealment from laser attacks. Lasers can penetrate darkness, but they don’t provide any illumination.

When an aurora weapon strikes a target, the creature glows with a soft luminescence for 1 minute. This negates invisibility effects and makes it impossible for the target to gain concealment from or hide in areas of shadow or darkness.

magento2 – How to calculate the amount based on the number of elements on the checkout. Sidebar order summary

How to calculate the amount based on the number of elements on the checkout, in the Sidebar order summary block.
There is a template of the block responsible for displaying

vendor/magento/module-checkout/view/frontend/web/template/summary/item/details.html

<div class="product-item-details">
<div class="product-item-inner">
<div class="product-item-name-block">
<strong class="product-item-name" data-bind="html: \$parent.name"></strong>
<!-- ko foreach: getRegion('after_details') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
<div class="details-qty">
<span class="label"><!-- ko i18n: 'Qty' --><!-- /ko --></span>
<span class="value" data-bind="text: \$parent.qty"></span>
</div>
</div>
</div>
</div>