Proving that a problem is coNP-complete

Let $le^{p}_{T}$ be the Turing or the Cook reduction and $le_{m}^{p}$ the Karp-Levin reduction.

I know that to prove a problem $P_1$ is coNP-complete I just need to show that $P_1 in coNP$ and that form some coNP-complete problem $P_2$, $P_2 le_{m}^{p} P_1$.

Does it remain correct if the $le_{m}^{p}$ reduction is replaced by $le_{T}^{p}$ ?

All topic

How to complete CLA on github

I have submitted a pull request on GitHub and the organization asked me to sign the CLA before they can merge the pull request, who currently has the red label ‘cla-required’.

How can I do this ? There is a lot of information about the contributor licence agreement on the web but no one is concerned how to complete CLA.

I found the link of the CLA on github but there is no explanations about how to agree them : https://cla.github.com/agreement

PS: the developer who asked me to complete CLA to can merge my pull request gave me the link of this tool : https://pandoc.org

EDIT
[I complete this question with the different answers]

  • Microsoft CLA : https://cla2.dotnetfoundation.org/
  • jQuery CLA : https://cla.js.foundation/jquery/
  • Google CLA : https://cla.developers.google.com/

All topic

What is the best way to sell complete used LEGO sets?

I have some used Star Wars LEGO sets (one is discontinued and has been for a while), some Marvel/DC LEGO sets, and some miscellaneous sets. What is the best way to sell these?

All topic

Complete all-in rules of fixed-limit hold-em

I have been having a hard time finding the full rules of fixed-limit poker pertaining to all-ins.

For example,

Scenario #1:

Fixed bet size of $20, capped at 4 bets.

Player 1 bets all-in for $5.

Player 2 raises all in to $10.

Player 3 has a full stack and wishes to raise. What size is the raise? $20? $30?

Scenario #2:

Fixed bet size of $20, capped at 4 bets.

Player 1 bets all-in for $5.

Player 2 raises all in to $10.

Player 3 re-raises all-in to $15.

Player 4 re-raises all-in to $20.

Is player 5 allowed to re-raise? Technically there has already been a bet and three raises, for a total of 4 bets so is the action capped?

I understand these scenarios are extremely rare but I have not been able to find the exact rules for these situations.

Also, I understand the rules may vary from card room to card room, but I’d assume they are uniform across online poker software.

All topic

Complete list of sites to @include / @match into my script?

This question aims to serve as a reference list of all current Stack Exchange sites for use in scripts.

All topic

Complete guide to cross-language grammar

Wondering what the best (free) resources are for learning about grammar generically across languages. I have seen a lot of “Guide to the X grammar”, but not “Guide to grammar in general”. Would like to find a resource that describes grammar cross-linguistically.

All topic

Woocommerce order complete email logic

Can someone helps me to understand the logic of Wooommerce for sending email on a completed order?

If I’m not wrong, the mail is send when the order is marked complete, but I’m not able to find the code that actually do it.
All I can see is the action hook woocommerce_order_status_completed_notification that trigger the sending mechanism inside WC_Email_Customer_Completed_Order, but I don’t know how that hook is used inside Woocommerce plugin…
When and where is it trigger?

Thanks!

All topic

Why don’t contributions (for membership) paid using PayPal, complete and send receipts?

Using Joomla 3.8.5 and CiviCRM 4.7.29.
a membership transaction is entered in CiviCRM and paid via PayPal. The transaction completes in PayPal and an IPN is sent to CiviCRM. CiviCRM displays the thank-you page with transaction details, but in CiviCRM the payment remains in Pending status. The user gets a PayPal payment message, but no CiviCRM receipt.
Note Paypal IPN log shows 200.

Checking the CiviCRM log file in the ConfigAndLog folder shows this sequence of events (identifying elements overwritten with XXX):

/home/XXX/public_html/libraries/src/Application/CMSApplication.php(303): JoomlaCMSApplicationSiteApplication->doExecute()
#16 /home/XXX/public_html/index.php(49): JoomlaCMSApplicationCMSApplication->execute()
#17 {main}


Feb 25 10:51:54  [info] $IDS Detector Details = Array
(
    [0] => Array
        (
            [name] => cm
            [value] => {"module":"contribute","contactID":"321","contributionID":70,"membershipID":"10","contributionPageID":"1"}
            [page] => /index.php?option=com_civicrm&task=civicrm/contribute/transact&Itemid=527&_qf_ThankYou_display=1&qfKey=ec4624b8d9deeeba55b37c86128bc24d_9754&amt=497.32&cc=CAD&cm=%7B%22module%22%3A%22contribute%22%2C%22contactID%22%3A%22321%22%2C%22contributionID%22%3A70%2C%22membershipID%22%3A%2210%22%2C%22contributionPageID%22%3A%221%22%7D&item_name=321-70-Individual%20Adult%20Registration&st=Completed&tx=4VC971156C5483419
            [userid] => XXX
            [session] => XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX            [ip] => XX.XX.XXX.48
            [reaction] => 0
            [impact] => 43
        )

    [1] => Array
        (
            [name] => IDS_request_uri
            [value] => /index.php?option=com_civicrm&task=civicrm/contribute/transact&Itemid=527&_qf_ThankYou_display=1&qfKey=ec4624b8d9deeeba55b37c86128bc24d_9754&amt=497.32&cc=CAD&cm=%7B%22module%22%3A%22contribute%22%2C%22contactID%22%3A%22321%22%2C%22contributionID%22%3A70%2C%22membershipID%22%3A%2210%22%2C%22contributionPageID%22%3A%221%22%7D&item_name=321-70-Individual%20Adult%20Registration&st=Completed&tx=4VC971156C5483419
            [page] => /index.php?option=com_civicrm&task=civicrm/contribute/transact&Itemid=527&_qf_ThankYou_display=1&qfKey=ec4624b8d9deeeba55b37c86128bc24d_9754&amt=497.32&cc=CAD&cm=%7B%22module%22%3A%22contribute%22%2C%22contactID%22%3A%22321%22%2C%22contributionID%22%3A70%2C%22membershipID%22%3A%2210%22%2C%22contributionPageID%22%3A%221%22%7D&item_name=321-70-Individual%20Adult%20Registration&st=Completed&tx=4VC971156C5483419
            [userid] => XXX
            [session] => XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
            [ip] => XX.XX.XXX.48
            [reaction] => 0
            [impact] => 43
        )

)

All topic

Get complete dataset for Kaggle competition

I am new to Kaggle. I was trying to run this kernel for an old competition: https://www.kaggle.com/kmader/inceptionv3-for-retinopathy-gpu-hr

I noticed that there is only 1000 images in ../input/diabetic-retinopathy-detection folder. The competition has 35000 images for the dataset.

How can I get all 35000 image dataset for my notebook/kernel?

Thanks.

All topic

Complete guide to cross-language grammar

Wondering what the best (free) resources are for learning about grammar generically across languages. I have seen a lot of “Guide to the X grammar”, but not “Guide to grammar in general”. Would like to find a resource that describes grammar cross-linguistically.

All topic