## Javascript – How can I use vuex-map fields in a single JS file?

For a variety of reasons, I can not use either the ES6 module import or the VUE-CLI compiler for a project I'm working on. Therefore, I use both Vue and Vuex via CDN tags on a static HTML web page.

Vue and Vuex are working fine, but I'm having a problem trying to get Vuex map boxes to work with Vuex.

I tried to copy the functions from the module, i. H. To insert it directly into my JS script:

``````function arrayToObject(fields = ()) { ... }
function normalizeNamspace(fn) { ... }
function getField(state) { ... }
function updateField(state, { path, value }) { ... }
const mapFields = normalizeNamespace((namespace, fields, getterType, mutationType) => { ... }
const mapMultiRowFields = normalizeNamespace((namespace, paths, getterType, mutationType,) => { ... }
const createHelpers = ({ getterType, mutationType }) => ({ ... }
``````

Then for my shop:

``````const store = new Vuex.Store({
strict: true,
state: {
data: {}
},
getters: {
getField
},
mutations: {
updateField
}
})
``````

And my component:

``````computed: {
...mapFields((
'data.item1',
'data.item2',
'data.item3',
'data.item4'
))
}
``````

Unfortunately, I only get one mistake

``````(Vue warn): Failed to generate render function:
ReferenceError: Invalid left-hand side in assignment in
with(this){return _c( ... and here's the entirety of my Vue app object notation ... )
``````

Is that repairable?

## Integration – double integral with csch or single integral with polylogarithms

Really $$a + b geq 2$$What is the integral of

$$I (a, b) = int_0 ^ infty int_0 ^ infty dxdy frac {x ^ ay ^ b} {x + y} frac {1} { sinh ^ 2 {x}} frac { 1} { sinh ^ 2 {y}}$$

With the trick, I can reduce this double integral to a single integral of a product of polylogarithms

$$frac {1} {x + y} = int_0 ^ infty e ^ {- t (x + y)} dt$$

and the integral

$$int_0 ^ infty dxe ^ {- xt} frac {x ^ a} { sinh ^ 2x} = (- 1) ^ a2 ^ {- a} (2a text {Li} _ {a-1} (t / 2) + t text {Li} _ {a} (t / 2))$$

to get

$$I (a, b) = int_0 ^ infty dt (-1) ^ {a + b} 2 ^ {- ab} (2a text {Li} _ {a-1} (t / 2) + t text {Li} _ {a} (t / 2)) (2b text {Li} _ {b-1} (t / 2) + t text {Li} _ {b} (t / 2))$$

but then not sure how to integrate that.

## Performance Tuning – Possibly more than 1 core when using a SINGLE iterative procedure?

Sorry, if the title is a bit unclear. I hope to clarify below.
Suppose I have a function

``````myNextNumber[n]:= xxxxxxxx
``````

That calculates the next reviewer I want to try. And I hope to find something with a while statement

``````z=iniNumber
While[ myfun[z] < 100, z=myNextNumber[z] ]
``````

Well, this loop works fine and slow for a single process `myfun[]` is pretty complicated.

Is there a way to somehow Fully exploit multi-core / parallelization here? Suppose I have 4 cores to use. So every time I try the next four numbers with 4?

I think maybe I should just do it rewrite `myNextNumber[n]`so that there is the next one FOUR pay, then I pass on `ParallelDo`, or something similar. But is it really the best way?

## SQL Server query! doubt in SQL Server how to join columns of the same data type into a single one

Good day I start to program on vb.net and have found a problem.

I'm doing a program in which I simulate that I have 3 operations that generate revenue for me.

In the same database I created 3 tables (`tabla1, tabla2, tabla3`) and all 3 have the same columns: `SERIE , OPERACION Y MONTO`,
SERIES as IdKey. BUSINESS These are fixed data that are different for each operation: OP1, OP2 and OP3 and the AMOUNT what is a decimal (10,2), Everyone has the same configuration

Now my question is after I tried the program and added data. I expected that when I was consulting in SQL (I'm currently using the Visual Studio Query Generator) I would throw a kind of 3-column table with all the values ​​and at the end the sum of the sums.

Instead, he throws me 9 columns, the 3 from each table.
and I do not know how to search this question directly on Google.

I hope you can help me, sorry if it's something simple, just learn! Many thanks

## Can I control the power and group of a single flash with a manual trigger?

… that the YN 560 IV can control and group other wireless flashes, since it is now connected to a wireless receiver?

No, I can not; You can only trigger the flash synchronously.

When the RF-603 II C is used as the receiver, it can not take power or group control. Therefore, there is no way to communicate this to the flash. An RF-605 transceiver can provide group on / off control but not remote power control.

In addition, the Neewer TT560 (which, like the Amazon Basics flash, is probably a renamed Godox TT560) is a single-pole flash with no built-in radio trigger. Everything attached to his foot can only communicate synchronization (fire). The flash can not receive any other signals because it does not have the appropriate pins. Your YN-560IV would behave the same way on an RF-603 II. The group / power can only be controlled via the internal radio transceiver.

If you want a remote control for groups / power supply, you must comply with the models YN-560III / IV / -660 / -560Li, which also have a compatible built-in transceiver.

## How can I delete a SINGLE item in my pocket?

I have scanned dozens of pages from Google for the answer to this question and EVERY one article deals with the MASS DELETE of all articles. I just want to delete ONE! Help!

## Single Boot to Ubuntu I want my PC back

On my PC I have the original operating system Windows 10 and perform a single start to switch to Ubuntu. And I do not change anything in this regard. I simply return to my original Windows 10 operating system. Is this possible without losing data?

## Topics – How do I set the recommended image size for a single post?

You can set the recommended image size in the second parameter based on this document

``````// without parameter -> Post Thumbnail (as set by theme using set_post_thumbnail_size())
get_the_post_thumbnail( \$post_id );

get_the_post_thumbnail( \$post_id, 'thumbnail' );      // Thumbnail (Note: different to Post Thumbnail)
get_the_post_thumbnail( \$post_id, 'medium' );         // Medium resolution
get_the_post_thumbnail( \$post_id, 'large' );          // Large resolution
get_the_post_thumbnail( \$post_id, 'full' );           // Original resolution

get_the_post_thumbnail( \$post_id, array( 100, 100) ); // Other resolutions
``````

In fact, PHP can not verify the responsiveness of the screen. However, if you want to check whether the user is mobile or not, you can use this feature.

``````if ( wp_is_mobile() ) {
echo get_the_post_thumbnail( \$post_id, 'large' );
} else {
echo get_the_post_thumbnail( \$post_id, 'thumbnail' );
}
``````

## mysql – Count two different columns from two different tables and throw them into a single variable

I have two tables in my project: "Cats" and "Items". Each item in the Items table has the value "item_cat" (column), which represents the ID of the actual category to which this item is assigned. And every single category in the "cats" table has a unique ID.

When I add a new article, I can choose the category ID, which can only be one of the categories from the "cats" table: "Music" (ID = 1), "Books" (ID = 2) or "Movies" (ID = 3). Article saved: "Pulp fiction" (id = 1), "My fight" (id = 2), "Gone with the wind" (id = 3), "Les miserables" (id = 4), "The Holy Bible" ( id = 5) and "The Best of Tina Turner" (id = 6). Points 1, 3 and 4 belong to category 3, points 2 and 5 belong to category 2 and point 6 belongs to category 1 (I hope I am still understandable;)).

Now I want to count how many items are associated with each category. Is it possible to use "SELECT COUNT" in a combination to get such a result as output: cat1 = 1 (element), cat2 = 2 (elements), cat3 = 3 (elements)? How do you do that?