Update wallet to multi tokens

I don’t know if here, I have to ask, but if not, please direct me.
How can I make a wallet accept more coins.
More exactly: I have a wallet BEP2, native currecncies is BNB (Binance). What needs to be done for this wallet to accept other BEP2 tokens.
I didn’t try anything because I don’t know where to start.
Thank you.

html – Localization of multi style text element in Vue

After following up this question, I’m thinking if there’s a better/shorter way to write this text element that has part with different style, while allowing localizations:

<p>
    <span class="has-text-grey">{{ $store.releaseList != null ? $store.releaseList.length : 0 }}</span>
    <span> versions released</span>
</p>  

With vue-i18n:

<p v-html="$t('downloads.releases.table.versions-total')
    .replace('{0}', '<span class=has-text-grey>{1}</span>')
    .replace('{1}', $store.releaseList != null ? $store.releaseList.length : 0)">
</p>  

The localizable text would be {0} versions released.

I could set the localizable text to <span class=has-text-grey>{0}</span> versions released, but that would make the life of the translators (usually people without knowledge about HTML) a bit more difficult.

Is there any better built in way to add support for localizations in a multi-styled text?

postgresql – How to aggregate over a “multi source” with recursive, in postgres?

Imagine I have a table “departments” like this:

name TEXT
parent_department TEXT (nullable)

I also have a “budgets” table like this:

department_name TEXT
budget INTEGER

I need to “traverse” this departments table from “leaf to root”, following the parent department column. The end result is that I need to sum up the budgets of each department, but the twist is that the “budgets” table that I’ll be using at any given time is very sparse (10s to 100s of rows), while departments is very dense (100m rows).

Normally, I would approach this by creating a “with recursive” CTE that “flattens” the department relationship into a temporary table of just “root department”, “leaf department”. Then I would join that table on leaf department to budgets, and group by root. The problem is that the “department” table is FAR too big now (the analogy to departments breaks down here a little bit I admit, no company has >100m departments).

Concretely, if I had departments like this (child -> parent):

C -> B
B -> A
A -> NULL
E -> D
D -> NULL
F -> G
G -> NULL

And budgets like this:

A 1
C 3
E 5

I would want to get as output:

A 4
D 5

And ideally, F and G, for example, would never be touched, because there are hundreds of millions of rows like F and G that shouldn’t come up. But in my current query, they do. How can I fix this so that I only “traverse” the departments that I actually need to?

multi processor – Is there a version of enblend supporting more than one CPU core / thread?

The task manager ksysguard tells me that only one core is being occupied fully with enblend. Sometimes enblend hops between cores, but it is apparently not developed to distribute its work among more than one core (and I’ve got 8 cores resp. 16 threads):

enter image description here

So: Is there a multi-CPU version (or patch) of enblend? My current version is 4.2 (on an OpenSUSE Leap 15.1 system). Thank you.

gui design – How to display “Select all” in multi select auto complete pattern?

Existing Design:

enter image description here

Scenarios:

In the default state, we don’t show the entire list to the user. Once user starts typing, we show the predictive matches

enter image description here

We don’t use a checkbox pattern for the element. Once user clicks on any suggested items, we use a tooltip to show this.

enter image description here

Problem:

  1. How to show “Select all” option
  2. Once user selects all, how to communicate all items are selected in dropdown field + in the input area as well?

Basically, this is all about adding “Select all” option to this https://ej2.syncfusion.com/demos/?_ga=2.256054221.719160238.1590220025-1863879226.1587444869#/material/multi-select/default.html

Screenshot:

enter image description here

multishipping – Payment options for multi shipping checkout process

We’re in the process of upgrading to Magento 2.3.3. We’re discovering that multi shipping payments are being deprecated because of the EU Payment Service Directive (PSD2).

Does anybody have experience with a payment service that works with Magento 2.3.3 and forward that works for multi shipping? What did it take to make it work?

Any info would be greatly appreciated.

cancellations – Passenger rights for canceled multi cities flight

I booked a multi-cities flight back in Jan 2019 for a travel plan at the end of July 2020. It was all in one itinerary but with 3 airline companies and total 4 cities, 10 flights. I purchased 3 such tickets for me and my family. I booked through Kayak but was lead to kiwi.com. So it is Kiwi who handled the tickets for me. Now I was told one of the flight got canceled. According to kiwi, I will need to ask for refund and they will try to get the most refund back for me. I wonder what is the chance of getting all money refunded? What is my right here?

nvidia – Multi GPU XY coordinate problem

I’ve asked this on the driver forums as well as my DE but over time this seems like an XORG problem so I figured I’d spitball here and see if anyone can point me in the right direction.

So I’ve noticed with 2 GPU’s some applications have a serious XY problem which seems to be due to the xorg.conf layout. So for example…and keep in mind this is just one tested set up but more on this later.

GPU 1 – PCIe 1
GPU 2 – PCIe 2
3 XScreens – 3 physical monitors/screens

XScreen 0 => GPU 1 => physical screen -center-
XScreen 1 => GPU 2 => physical screen -left-
XScreen 2 => GPU 2 => physical screen -right-

With this setup if I click on a web browser to move the window it will jump 1920px right from the cursor. Right clicking for a context dialog will pop up 1920px left of the cursor…but wait this gets better!

*Some windows/applications/dialogs will honor the cursor placement. So while the dialog is on another screen moving the mouse will highlight correctly. Other times you have to move the cursor to the dialog to highlight/choose. In some cases if the dialog has another dialog (tree options) it will pop the new one up yet another 1920px away.

Originally I tried this set up with 2 XScreens but because GPU 1 (center screen) is inbetween the flanking screens the single XScreen had a “gap” which “covered” the center screen. It worked but the mouse cursor and other things would vanish when passing through because the blank gap in the one XScreen covered the other. So I simply made 2 XScreens so one didn’t extend over the other. In both cases I get this XY issue.

Jump back a bit I originally had each GPU running 3 screens. This was just for a while because my new screens had huge physical problems and were returned. While I was running 3 screens per GPU I noticed this but vertically. Clicking some windows would jump them 1080px above/below the cursor. Clicking some buttons would require me to click almost the bottom left pixel of the button only.

Eventually I realized this was in part due to physical placement of things. If I inverted the GPU’s PCIe arrangement things behaved. So in a way the fix is everything has to be in sequence and physically placed in the machine a specific way that still breaks my intended use case which was to have the GPU 1 – PCIe 1 card running the bottom screens and the GPU 2 – PCIe 2 card running the top screens.

In short this seems to be an issue where some window/modal/dialog types query cursor placement and are given the wrong XY. So for example somethings are fine while others seem to be given a “per screen” XY. What I mean by “per screen” is that in one instance a Window will query where to be and be given say 40px by 40px. This would be fine if that was the real XY but if that’s on a single screen but I’m on the 3rd screen the XY should be 3880px by 40px or in the 3×3 screen set up 3880px by 1120px.

So with all this said I’m curious about who/where would be best to report this issue? I searched for xorg specific forums and found nothing online. More so I’m not sure if Wayland will solve this (or when Wayland is even being used anymore).

At present I’ve confirmed this problem on both a stock Ubuntu/Unity 18.04 install and XUbuntu 18.04. I tried testing with a POP_OS + nVidia 20.04 install but it just freaks out as soon as Xinerama is enabled so I can’t get anything functional to test with (seemingly) without doing a full install which I wasn’t prepared to do previously.

As a reference with the 6 screen set up:

GPU 1 – PCIe 1
GPU 2 – PCIe 2
2 XScreens – 3 physical monitors/screens per
(Xinerama disabled on the individual XScreens (to group each screen on the GPU into 1) but enabled for the two XScreens)

XScreen 0 => GPU 1 => physical screens Top -left -center -right
XScreen 1 => GPU 2 => physical screens Bottom -left -center -right

Transaction with multi input in concept

As a developer I know how to create a transaction with one input and one or multi outputs.

I know after we created a transaction with some of predefined parameters, we have to hash it and then we have to sign it with private key of the selected input transaction, but I can’t understand what we have to do when we want to use of multi inputs? how to sign each of them with the related private key?

I used this tool to create a transaction with multi inputs:

(https://nubits.com/cointoolkit/#newTransaction)(1)

here we can add multi inputs, but I don’t know what should I put in the scriptSig? I read here that I should put 00, but I can’t understand it, so can we use of any inputs for other persons and add 00 and sign it with our private key?

Anyway, after sign it from here:

(https://nubits.com/cointoolkit/#sign)(1)

when I want to publish the raw, it say:

PUSH TRANSACTION ERROR: 16: MANDATORY-SCRIPT-VERIFY-FLAG-FAILED (SCRIPT FAILED AN OP_EQUALVERIFY OPERATION)

Anybody can explain it to me please?

How do I make a table sortable by a multi value text field?

I have a view with a table that contains a list (text) field that contains unlimited values. I don’t find an option to make the field sortable.

How do I enable a multi-value field to be sortable?