Need uncheck filter lists in options to porn backlinks?

I didn’t find my question on the forum: I want to know if I need to uncheck sites in the options / filters tab to generate porn links. Unchecked: https://github….pi_blocklist_porn_all.list
Thank you

Is there a pattern for choosing one of a set of options at random when their selection criteria are equal?

I want to choose between several options, and if the criteria I’m using for selection happen to be equal, I want one at random (reasonably so, so it’s equal-chance each time, rather than arbitrary). This is easily done with nested ifs, but it gets pretty ugly and ends up duplicating code.

A simplified example case, in case that’s not clear.

extern crate rand;

fn main() {
    let a = 5;
    let b = 5;

    if a > b {
        println!("Do the thing where a is bigger");
    } else if b < a {
        println!("Do the thing where b is bigger");
    } else { 
        if rand::random::<bool>() {
            // I don't want to duplicate the code here!
            println!("Do the thing where a is bigger");
        } else {
            // Or here!
            println!("Do the thing where b is bigger");
        }
    }

}

(rust playground)

Is there a better way to do this which doesn’t require duplicating code? In this simplified example I’m only choosing between two possibilities, but it could actually be a longer list. (What about acting based on the highest of a, b, c, d, where it’s possible that there’s a two, three, or four-way tie?)

I happen to be learning Rust so if there’s any clever language features that’d be cool, but I’m also interested in the general case if possible.

Bitcoin's advantages over other payment options

Not just for recent price growth but I see bitcoin has a lot of benefits over other payment options:

1. No amount limitations on wallet.

2. No need to verify wallet with phone, address or credit card.

3. Stay anonymous.

4. Unlimited addresses to take payment.

5. No refund.

6. Almost zero chance of a transaction failure.

7. With received bitcoin anyone can trade cryptos.

8. A global free payment system which works even if a country bans bitcoin.

I like to know additional advantages…

Bitcoin’s advantages over other payment options

checkboxes – How to indicate the ternary options for turning a feature on, turning it off, or leaving it as it was?

There is a remotely operated device / toy / drone, which has a number of “functions”: various lights, sound effects and so on. There is a remote control with a number of physical buttons. This remote control can be configured with a GUI so the user can set which button operates which functions. By the press of a button, the remote control sends a command containing the states of all the functions.

It seems simple at first: if we have 4 functions to be controlled for a specific button, we could just have a list of checkboxes:

mockup

download bmml source – Wireframes created with Balsamiq Mockups

This will turn functions 2 and 3 on, and functions 1 and 4 off, on the press of the button.

However, we would like to have a possibility to not touch a specific function. For example, we want the user to be able to specify the following: “turn on function 1, turn off function 2, and leave the others as they were” (because they might have been activated by another button and we don’t want to undo that).

I fear that an undetermined (tri-state) checkbox won’t be clear enough:

enter image description here

We want to clearly indicate that it’s a “turn on” command, a “turn off” command, or there is no command.

Another straightforward way would be to use drop-down lists:

enter image description here

The problem with this is that the vast majority of the userbase is not computer-savvy at all, and might get confused. Checkboxes in the first example were so simple…

But having two checkboxes per row (one for “affect this function?” and the next for the actual command, which is greyed out if the first is unchecked), would be even more confusing.

Fake reports are shutting down my website, what are my options


I am currently with Hostgator and Hostgator sent me a notice that someone has reported my website for copyright and for scamming. The reported requested I take down my entire site. The reporter pretended to be a big company that exists in real life (lets call the big company “CompanyA”). However, instead of the report’s email domain being legal@CompanyA(.)com it was legal@randomwebsite(.)com. If you visited randomwebsite. com it would take you to a godaddy landing page. Clearly a fake report, probably from my competitors.

I told this to Hostgator, and they told me, the report was submitted correctly and if its submitted correctly they are required by US law to take action (in this case suspending my account).

I then went to hostgator and asked the process of reporting a website. You weren’t required to prove that you owned the content, you can just report the content, no questions asked: hostgator(.)com/dmca (Remove brackets)

Currently my website is suspended. I do not even live in USA but most of my customers are from USA. I paid ~$3,000 (which is a lot of money for a small business like mine) for my VPS which would last me 3 years of hosting. I am only a few months into the contract.

What are my options and are there any better hosts?

What I need my VPS to do:
– Host my website in PHP
– Have MySQL without connection limits
– Support 10,000,000 requests a month.
– Let me run python 3 and install python packages

PS: CompanyA and randomwebsite are made up names for the story

customs and immigration – My pregnant wife with Green card status is stuck in India due to COVID-19, What are my options as she cannot come until she gives birth?

My wife is stuck in India since Feb 24, she’s supposed to come on April 30th. But, all flights were cancelled including ours. There are repatriation flights, but, she is 32.5 weeks pregnant when the repatriation flights start running from India to U.S during next phase.

I am thinking my wife will come back to U.S before August 18th (she’ll be outside for 177 days) after she gives birth at the end of July.

Can she go back to India after 2 months of staying in U.S to take care of our baby? (Meantime, my parents will be taking care of the baby). Will she face any more questions?

(I am a U.S. citizen and not worried about my kid as I can apply for CRBA)

Please be nice as we are going through a tough time staying apart like so many others.

terminology – Determining correct term for a button with options and Vue JS example

I am familiar with some UI terms but certainly not all. I remember smiling when I figured out what people meant by the term “snackbar” (and have now designed one myself).

However, there is a button which normally has a small-ish triangle to the right. Normally you click the button and a single action happens, however if you specifically click the “small-ish” triangle, you’ll get a dropdown list of options. The default one is typically the one you’d have gotten had you just clicked the main part of the button.

Again, my question is what the normal term is (if there is one). any additional link to a VueJs example would be over the moon.

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.

Clouvider – E3-1230v2 for only £29/mo in London, UK plus many more options! – Low End Box

Clouvider is on Low End Box for the first time after being a community member on Low End Talk since December 2014. For their first ever Low End Box featured listing they have on offer six different dedicated server options hosted in London, Amsterdam or Germany at absolutely fantastic prices. Not only are the prices great, but the specifications of the servers being offered are also very appealing.

As always, if you purchase from them, please comment below about your experience!

You can find their ToS/Legal Docs on their website and their WHOIS is public. They accept PayPal, Credit/Debit Card, Bank Transfer, AliPay, WeChat and Bitcoin as payment methods.

Here’s what they had to say: 

“Starting in 2013 we have grown from a pair of routers a selection of chassis in a single PoP focusing on an impeccable level of service and network quality over competing on price alone. We now span a 1.6Tbps+ network over 7 European locations, accommodating thousands of happy customers. With 6+ Years in Business, growing year on year. Many of our customers are more than happy with our service and vocal about this on LowEndTalk and other sites. Fully redundant and diverse Juniper Network with brand new Supermicro systems. We operate our own high-quality network over multiple Tier 3 datacentres across Europe.

Reasons to consider Clouvider include: 100% Infrastructure SLA on our Dual Diverse Infrastructure, Free DirectAdmin licensing on our network as a partner, High Benefit but Low Cost Upgrades, Latest Generation Intel Servers.”

Here are the offers: 

E3-1230V2

  • 4 Cores, 8 Threads, 3.30 Ghz

  • 16 GB DDR3 ECC

  • 2x 500 GB

  • Hardware RAID

  • London, UK

  • 30 TB Bandwidth

  • 1 Gbit Port

  • 1 IPv4

  • No IPMI

  • £29 with voucher code
  • Code: LOWENDBOX-APR20
  • (ORDER HERE)

E-2276G

  • E-2276G

  • 6 Cores, 12 Threads, 3.80 Ghz

  • 16 GB DDR4 ECC

  • 1TB HDD

  • London, UK

  • 50 TB Bandwidth

  • 2.5 Gbit Port

  • 1 IPv4

  • VPN Secured IPMI

  • £60 with voucher code
  • LOWENDBOX-APR20
  • (ORDER HERE)

E-2146G

  • 6 Cores, 12 Threads, 3.50 Ghz

  • 64 GB DDR4 ECC

  • 2x 500 GB NVMe

  • Software RAID

  • London, UK

  • 50 TB Bandwidth

  • 2.5 Gbit Port

  • 1 IPv4

  • VPN Secured IPMI

  • £65 with voucher code
  • LOWENDBOX-APR20
  • (ORDER HERE)

E-2276G

  • 6 Cores, 12 Threads, 3.80 Ghz

  • 32 GB DDR4 ECC

  • 1x 512 GB NVMe

  • Amsterdam, NL

  • 50 TB Bandwidth

  • 2.5 Gbit  Port

  • 1 IPv4

  • VPN Secured IPMI

  • £65 with voucher code
  • Code: LOWENDBOX-APR20
  • (ORDER HERE)

E-2276G

  • 6 Cores, 12 Threads, 3.80 Ghz

  • 16 GB DDR4 ECC

  • 1x 512GB NVMe

  • Frankfurt, Germany

  • 50 TB Bandwidth

  • 2.5 Gbit  Port

  • 1 IPv4

  • VPN Secured IPMI

  • £65 with voucher code
  • Code: LOWENDBOX-APR20
  • (ORDER HERE)

All these systems can also be upgraded to 1Gbps Unmetered for £15.

Read more to check out their network information.

NETWORK INFO:

London: Telehouse North 2, Virtus Enfield, Volta, Harbour Exchange & Stockley Park.

185.42.223.63 – London, UK

Amsterdam: Amsterdam Data Tower

194.127.172.33 – Amsterdam, NL

Frankfurt: Equinix FR6

Information on our MPLS network and PoP’s at https://www.clouvider.co.uk/connectivity/

Please let us know if you have any questions/comments and enjoy!

C language: Is there a way to choose options between temperatures from fahrenheit to celsius and celsius to fahrenheit?

C language: Is there a way to choose options between temperatures from fahrenheit to celsius and celsius to fahrenheit ?

#include<stdio.h>

int main()
{    
    //Local declarations
    float fah,cen;
    //statements
    printf("Enter the temp in fah :");
    scanf("%f",&fah);
    cen=(fah-32)*5/9;
    printf("The centigrade temp is %f",&cen);
    printf("nEnter the temp in centigrade:");
    scanf("%f",&cen);
    fah=(cen*9)/5+32;
    printf("The fahrenheit temp is %f",fah);
    return 0;
}

output:

Enter the temp in fah: 300
The Centigrade temp is 148.888885
Enter temp in centigrade : 148.88885 
The Fahrenheit temp is : 300

Help:

Is there any way to modify the code so that user can choose either fahrenheit to celsius or celsius to fahrenheit. If he want to convert celsius to fahrenheit he could choose that?