litecoin – Buy a small amount of bitcoin with a virtual card

I want to buy mass ads on The total amount is accumulated at $ 1 (excluding transaction fees), but they do not accept cards as direct payment. Now, I know that I obviously can not use Bitcoin to make micro-payments, but I can use Litcoin, but even then, how can I buy such a small amount with a card as if I wanted to spend $ 5? but the minimum is $ 50 on most sites, The only way I think is to buy a very unpopular altcoin, then exchange it for a change of shape, but even to buy Dogecoin, I need $ 50. How are micro-payments by cryptocurrency possible?

problem of optimization to find the maximum amount of sigmoids

I need to find the maximum $ x $ for the continuation:

$ sum_ {n = 1} ^ N frac {1} {1 + e ^ {- alpha ( frac {x} {y_n} -z)}}: : -c x : : $ such as $ : : x leq X $

-Thank you

5th dnd – What is the maximum amount of melee weapon attacks that a character can perform reliably at each turn?

This is what I came up with:

Feat: Ritual Roulette. Use this to obtain Find familiar. This will allow your pet to use the help to give you an advantage during an attack. Choose an owl so you can step back without being hit by an opportunity attack.

Feat: Master of Firearms. You will use it to give you a bonus action attack. In addition, you can continue to move backward so that the target continues to have to move within range and re-trigger a second-hand attack.

Fighter 20 (Samurai). Choosing Samurai gives you a quick hit at level 15. You will convert the benefit conferred by the help action of your pet into an additional attack.

This gives you 5 attacks from your attack action plus a bonus action attack and a potential reaction attack each turn for a total of 6 to 7 melee weapon attacks on each turn without using resources.

reactjs – State not cleared when the amount of component has changed

I loop on some components created according to a number of tables. When I click delete this reduces the array, resulting in fewer components.

import React, { useState } from "react";

const FooList = props => {
  const (number, setNumber) = useState("");

  const deleteArray = () => {
    // Remove the component that was clicked
    props.setArray(prev => prev.filter(a => a !== props.current));

  return (

export default FooList;
import React, { useState } from "react";
import FooList from "./FooList";

const Foos = props => {
  const (array, setArray) = useState(());

  const addToarray = (id: number) => {
    const obj = { id };
    const a: any = array.concat(obj);

  return (
      {, index) => (
))} ); }; export default Foos;

I would wait when I type in a value, have more than one, and when I press on delete this component must be deleted with its value entered.


Total minimum order amount in Commerce?

How to make a minimum total order amount in Drupal 8 Trade? For example, if the order amount is less than $ 100, close the checkout and display the message.

Total minimum order amount in drupal 8 commerce

How to make a minimum total order amount in drupal 8 trade? For example, if the order amount is less than $ 100, close the checkout and display the message. Thank you!

forms – Use of a fixed decimal place when filling in a currency amount entry field

When entering currency amounts in an input field, I discovered two methods:

Decimal entry: The keyboard includes the decimal character and the user enters the decimal place and the numbers. The Chase mobile app uses this approach.

Key  Display
 5       $5
 4      $54
 .     $54.
 6    $54.6
 3   $54.63

Fixed decimal: The keyboard excludes the decimal and the numbers fill around a fixed decimal place. Both PayPal and Square mobile apps use this approach.

Key  Display
 5    $0.05
 4    $0.54
 6    $5.46
 3   $54.63

The entered decimal approach seems simpler to me. It also requires 2 fewer keystrokes when entering non-decimal amounts (for example, $ 10 only requires 1-0 entry, instead of 1-0-0-0). However, users of our payment processing application have accidentally billed amounts such as $ 123,456.00 instead of $ 1,234.56 because they were expecting a fixed decimal interaction instead of $ 1,000,000. a decimal interaction key.

Is it just a question of preference, or are there any other advantages to a fixed decimal approach that I might overlook?

Formulas – How to sum an amount with a criterion separately per day in Google Sheets?

I use Google Sheets to track income and expenses. I have a separate file for each month and a master file to summarize each month.

The monthly account file contains two sheets, each of which includes income from the performance of a service, income from the sale of a product, expenses, and so on.

The service sheet looks like this:

enter the description of the image here

Now, I want to be able to summarize the income of each sheet of this type by date. The simplest and only way to know how to do it is to use = SUMIF formula for adding the amounts in column "C" by entering an entire date in column "A" as a criterion, as follows:


It does the job, but the thing is that every month I should change the date (month and year in particular) in the formula manually and that 's one thing I would like to avoid.
I've tried to work around this problem by changing the formula to:


However, I think that, in doing so, the amount in column "C" would only be added if the date in column "A" ended on a specific day – in this case, it was "03" . However, the sum is always "0". so this solution does not work for me.

Is it possible to work around this problem using the = SUMIF modified formula?

Another solution I thought was to enter all dates in separate cells and use each cell as a selection criterion. = SUMIF formula, but for this to work, I would need a formula that automatically changes the month and year as a result of these reference dates, unless this formula can be placed = SUMIF himself.

I have the feeling that it is a very diverted way to achieve what I am trying to do, but I hope that an example of what I mean will help – say that the fourth column of the image here below is called "D" and that I use it as an interval for a criterion to fill in the formula. In order to calculate the amount earned on 2019-09-03, I would use this formula (where D192 equals 2019-09-03):


enter the description of the image here

But again – for this to work, I should find a way to automatically change the dates in the "D" column, as it is very annoying to redo it every month.

I hope to have everything explained in an understandable way. I have the impression that a matrix formula may be a wanted solution, but every time I try to include it when using Google Sheets, this do not give me the desired results and I'm afraid I do not understand how it works.

I started learning the formulas a few months ago, when it became obvious that I needed a more orderly calculated account. Therefore, consider me as a total beginner and try to make your explanations as simple as possible. 😅

Target amount does not provide good value

I'm trying to resolve the issue of the target amount (

I've been able to get through the basic cases but the case with ((0,1), 1) failed.

Trying to understand what I'm doing wrong and how I can fix it.

var findTargetSumWays = function(nums, total) {
    const res = ();
    let str = nums.join('');
    helper(str, '', 0);

    function helper(str, curStr, sum) {
        if(str.length===0) return;
        if(sum + Number(str) === total) {

        if(sum - Number(str) === total) {

        for(let i=0; i

Try to understand what's wrong with the second entry.

My algorithm is / as follows:

1) Convert the table to a string.

2) Do DFS on the numbers E.g: # 123456 & # 39;

Is the AWS Lambda function a good choice for the case of using the extraction of a large amount of database records at the request of the user? ?

We have a use case where the lambda function is called from the API gateway at the request of the user, from the browser, it retrieves the data from the database and returns to the client. The time required to retrieve the data or the amount of data depends on the filters selected by the user. Do you think that the way lambda function works is perfect for this type of use case?

Additional questions: (If the answer is yes, lambda function can be a good fit)

  • How do we estimate the memory requirements of the lambda function for such a case of use?
  • The lambda function (for the case of use above) waits for the data to be extracted from the database. Is there a better way to be profitable?
    • Having a dedicated EC2 instance hosting your web application is a better way?