Questions tagged [difference]

This tag may refer to 1) the difference between two numbers (i.e. the difference between 5 and 10 is 5) or 2) the things that two or more particular objects do not share in common.

Use this tag for questions that deal with either of the following two topics:

  1. The difference between two numbers.
  2. What two or more particular objects do not share in common.

Related tags:

1970 questions
0
votes
1 answer

Git Merge - Branch Sequence

With the master branch checked out. Is there a difference between the order of the branches? git merge origin/master master git merge master origin/master Or with local branches: git merge master exp git merge exp master
Halfacht
  • 924
  • 1
  • 12
  • 22
0
votes
1 answer

Get day difference between 2 strings using javascript

i'm getting 2 strings from php and i'm trying to get the difference between then using javascript. this is my code: this.now = Thu Feb 14 2017 16:38:42 GMT-0200 (BRST) this.expiration = Wed Feb 15 2017 15:29:45 GMT-0200 (BRST) and i want the days…
Ivan Moreira
  • 201
  • 2
  • 7
0
votes
1 answer

SQL Comapare Row Data For One Column Return Like Results As One Row

I have a simple table with the following columns PrinterModel : Model of the printer. PrinterName : Name of printer as it appears on the users computer. PortName : Usually an IP, UNC path or USB. MachName :Computer that printer was found on. I have…
0
votes
2 answers

Oracle: Compare the values between columns between two tables by taking the values of other columns into account

I have two tables, TABLE1 and TABLE2, each containing the total amount of cash bills in a cash register for a given day in a given building. Each table is a data snapshot taken at a certain time during the day. I want to list only the rows on which…
Werner
  • 3,523
  • 1
  • 22
  • 21
0
votes
0 answers

take data difference of .xmf file on Paraview

Hello Computer Science community, I have an .xmf file that I plot on Paraview using Xdmf reader that is available in Paraview. This file is surface topography and has information about X and Y coordinates/ particles inside (it has point arrays I…
0
votes
1 answer

Discern between a cURL POST request and normal POST request in PHP

Is there a way to discern if an incoming POST request has been initiated programmatically via cURL, or is a normal HTML POST request? Can I differentiate between the two in PHP so that I can set a specific condition?
Mirian
  • 9
  • 7
0
votes
1 answer

What are the differences among pagerank, pagerank_numpy and pagerank_scipy in NetworkX?

I checked the descriptions of pagerank, pagerank_numpy and pagerank_scipy from NetworkX documentation. I can't see the difference. pagerank(G, alpha=0.85, personalization=None, max_iter=100, tol=1e-06, nstart=None, weight='weight',…
SparkAndShine
  • 17,001
  • 22
  • 90
  • 134
0
votes
2 answers

Git modified files in master and branches

I've started two weeks ago using Git. For now I do only commit and push. I did a mistake and I've created a branch. Now I have a file, say "main.js" that has important changes in both branches. In general : I have master that is production, then…
Daniele Ravizza
  • 111
  • 1
  • 12
0
votes
1 answer

How could I display a time difference in python in total "hours:minutes:seconds"?

In Python, I retrieved a start time and end time using datetime.datetime.now(). I would like to round any microseconds to the nearest second and convert days into hours. The final displayed format of the time difference should be…
RyanTC
  • 11
  • 2
0
votes
1 answer

Lagged difference between rows in R_ a different take

My question is similar to a few that have been asked before, but I hope different enough to warrant a separate question. See here, and here. I'll pull some of the same example data as these questions. For context to my question- I am looking to see…
Kodiakflds
  • 603
  • 1
  • 4
  • 15
0
votes
2 answers

difference between dates excluding custom periods

Good morning, I need a solution for counting days between specific dates. In addition I need to exclude specific dates (public holidays and weekends), which is easy and there are plenty of instructions on how to do it. But I need to accomplish one…
Gusmar
  • 141
  • 1
  • 8
0
votes
2 answers

C# Method is not executing sequentially

I have the below code: public Dictionary GetNewTickets() { Dictionary output = new Dictionary(); foreach (KeyValuePair item in ticketStore) { if…
J. Galus
  • 1
  • 3
0
votes
1 answer

What is the difference between markup, coding, scripting, shell scripting, and programming languages?

What is the difference between coding, scripting, shell scripting, and programming languages? What is front end, back end and middle ware? Can you not use the same language for front end and back end and middle ware?
J. Doe
  • 5
  • 2
0
votes
2 answers

Pandas: Change between two dataframes

I am trying to find a way to achieve the below: df1 and df2 are 2 example dataframes between which I neeed to find the difference. They have the same columns, but row data can change based on new names added, old removed or data of existing set…
spiff
  • 1,335
  • 3
  • 11
  • 23
0
votes
1 answer

Get the time difference in seconds?

I am having the below outputs and I need to get the time difference in seconds. ------------------------------ Wed Nov 23 15:09:20 2016 ------------------------------ Wed Nov 23 15:27:47 2016 ------------------------------ Generally month…
mshafey
  • 89
  • 1
  • 9