What can be done with Credit or debit card informations asked by websites?

Many websites ask for payment by entering information from Credit card such as VISA card/ Mastercard etc. Now, till date I knew that I should never tell anybody about these numbers. Then why these websites ask for credit card details and if (suppose) any of them have a malicious intent, then what can they do with these numbers?

Basically my question is, how it is being ensured that they will take the specific amount of money/ cost upon my consent; and without my consent they will not take money? Will the bank send me some verification code to my phone?

I never yet used online transactions and I am very confused to understand its steps, do’s and don’ts etc. I have searched Google and Quora but I didn’t find anything helpful.

I would be thankful if anyone can explain how this specific online transaction mode (by entering credit/debit card number) works and how an without-consent-transaction is prevented, preferably via a flow chart.

Many thanks in advance.

I’ve been asked to change this statements into predicate form by using standard form but I’m stuck

I studied Artificial intelligence a long time ago and I’ve had no interest in it. I studied Artificial intelligence a long time ago and I’ve had no interest in it. But recently one of my friends asked me to change the following states into predicate form by using a standard form. Can someone help me?

• Marin is married to Sylvia who has a daughter Joy. • Harry is the son of Amos who is married to Joy. • The parent of one’s parent is his/her grandparent.
• If a person is married to another person who has a child then the first person is also a parent of the child.
• If a person is married to another person then the latter person is married to the former.

Change these sentences to predicate form, by using the standard form of logic and the following predicates: parent(X, Y), grandparent(X, Y), and married_to (X, Y).

I know it may look simple for some of you. But I recently went to another field about 2 years ago. Thank you.

Some one asked “What Game system to convert Rift’s too

Why would anyone wish to convert Palladium’s Rifts to another system? I have found that the Palladium system to be one of my favorite systems next to the original AD&D, West End Games: D6 Star Wars, Shadow Run and Vampire the Masquerade. In the Palladium Rift’s System a player can be just about any Character Class (OCC) or Specialized Race (RCC) that they can think of with the help of the Palladium Rift’s Conversion Guide. Have any of you ever thought of running a Lycanthrope ( Were Being) Rogue that travels the world in a modified Hover Tank? You can do this in Palladium’s Rift’s Game setting. do understand that some player’s find the 2 hour character creation process to be a bit over the top but when that is over and it is time to play all you need is the ability to add the already determined bonuses and subtract the damage received

Merging individual files from two folders sequentially (never asked question)

I need to merge the contents of two folders sequentially into individual destinations. Here is what i have. A,B,C,D,E,F are individual files.

Folder 1: A B C ...  Folder 2: D E F ... 

At the output i need merged files sequentially. So they should be merged like this:

Output: AD BE CF ... 

In other words, first file from the Folder 1 with the first file from the Folder 2. Second file from the Folder 1 with the second file from the Folder 2. In our case AD is consisting of the content of files A and D, BE consisting of files B and E, etc.

Both folders have the same number of files. Output can go anywhere. For the sake of simplicity let’s call it Output folder and locate it in the same root as Folder 1 and 2.

Been looking for the solution for two days now. Yikes!

Asked to Not Use Transactions and to Use A Workaround to Simulate One

I’ve been developing T-SQL for several years and am always digging in further, continuing to learn all I can about all aspects of the language. I recently started working at a new company and have received what I think is an odd suggestion regarding transactions. Don’t ever use them. Instead, use a workaround that simulates a transaction. This is coming from our DBA who works in one database with a lot of transactions and subsequently, a lot of blocking. The database I primarily work in does not suffer from this issue and I see transactions have been used in the past.

I understand that blocking is expected with transactions as it’s in their nature to do so and if you can get away without using one, by all means do it. But I have many occasions where each statement MUST execute successfully. If one fails they all must fail to commit.

I’ve always kept the scope of my transactions as narrow as possible, always used in conjunction with SET XACT_ABORT ON and always within a TRY/CATCH.


CREATE SCHEMA someschema; GO   CREATE TABLE someschema.tableA (id   INT NOT NULL IDENTITY(1, 1) PRIMARY KEY,   ColA VARCHAR(10) NOT NULL ); GO  CREATE TABLE someschema.tableB (id   INT NOT NULL IDENTITY(1, 1) PRIMARY KEY,   ColB VARCHAR(10) NOT NULL );  GO   CREATE PROCEDURE someschema.ProcedureName @ColA VARCHAR(10),                                            @ColB VARCHAR(10) AS SET NOCOUNT, XACT_ABORT ON; BEGIN BEGIN TRY     BEGIN TRANSACTION;      INSERT INTO someschema.tableA(ColA)     VALUES(@ColA);      INSERT INTO someschema.tableB(ColB)     VALUES(@ColB);  --Implement error     SELECT 1/0       COMMIT TRANSACTION; END TRY BEGIN CATCH     IF @@trancount > 0     BEGIN         ROLLBACK TRANSACTION;     END;     THROW;     RETURN; END CATCH; END; GO  

Here is what they suggested that I do.

GO    CREATE PROCEDURE someschema.ProcedureNameNoTransaction @ColA VARCHAR(10),                                                         @ColB VARCHAR(10) AS SET NOCOUNT ON; BEGIN BEGIN TRY     DECLARE @tableAid INT;     DECLARE @tableBid INT;      INSERT INTO someschema.tableA(ColA)     VALUES(@ColA);     SET @tableAid = SCOPE_IDENTITY();      INSERT INTO someschema.tableB(ColB)     VALUES(@ColB);     SET @tableBid = SCOPE_IDENTITY();  --Implement error     SELECT 1/0   END TRY BEGIN CATCH     DELETE FROM someschema.tableA     WHERE id = @tableAid;      DELETE FROM someschema.tableB     WHERE id = @tableBid;      THROW;      RETURN; END CATCH; END; GO 

My question to the community is as follows. Does this make sense as a viable workaround for transactions?

My opinion from what I know about transactions and what the solution is proposing is that no, this isn’t a viable solution and introduces many points of failure.

In the suggested workaround, I see four implicit transactions occurring. The two inserts in the try and then two more transactions for the deletes in the catch. It does “undo” the inserts but without rolling back anything so nothing is actually rolled back.

This is a very basic example to demonstrate the concept they are suggesting. Some of the actual stored procedures I have been doing this in make them exhaustively long and difficult to manage because “rolling back” multiple result sets vs two parameter values in this example becomes quite complicated as you could imagine. Since “rolling back” is being done manually now, the opportunity to miss something because real.

Another issue that I think exists is for timeouts or severed connections. Does this still get rolled back? This is my understanding of why SET XACT_ABORT ON should be used so that in these cases, the transaction will roll back.

Thanks for your feedback in advance!

How come I was asked by a CBP officer why I was in the US?

During my last visit to the USA, just before I was boarding my flight at the gate on the way BACK to the UK via Germany. Right as the gate agent scans your ticket and lets you walk down the jetway to the plane, there was a CBP officer taking everybody’s passports and asking them their purpose of travel to the USA and how long were they there for in a pretty relaxed and casual fashion.

I had an old J1 visa in my passport from two years ago and he quickly stated it was out of date and I should have had an ESTA to travel to the USA. Once I explained the J1 was an old visa and I wasn’t travelling on it, he gave me my passport back and moved along.

Has anybody experienced this sort of thing before? I go to the USA about five or six times a year and this has only happened once on my latest trip – a CBP officer asking me my purpose of travel to the States when I’m leaving the country.

This was at the North Terminal at Detroit airport (DTW), at what I believe was gate D3. I was flying back on Lufthansa A340-600 aircraft.

Android device logged out of all google accounts and asked me to log back in

This happened to me recently and I haven’t seen it before ever. I was wondering what this is caused by, and if this is common.

I have logged into all my accounts so I don’t remember the exact phrasing of the messages, and hence I haven’t been able to search for the exact error message.

I didn’t get logged out anywhere else (e.g. my gmail tabs on my computer)

I’m on android P if that matters. Last time my phone updated was a week ago, so I think that shouldn’t have had any effect on things.

Originally I asked how to delete sound picker I was told how to do it…and I tried

However when I got to clear defaults it was not highlighted so I couldn’t click on it it’s very frustrating because I have a lot of tracks when I play them it’s my voice asking the Google Assistant something or talking to somebody it could be very embarrassing if somebody ever listen to one of these tracks , I I had nothing to clear and every time I talk into Google it says saving to my email address , maybe that is the problem it says” saving audio to my email” address please help me thanks