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
8
votes
2 answers

KahaDB and LevelDB - What's the real difference?

I'm trying to use ActiveMQ 5.8.0 in my project. There are two different storage configurations, KahaDB and LevelDB. Depending on the problem, Kaha can be faster than Level or Level can be faster than Kaha. What's the real difference between them?
R. Karlus
  • 2,094
  • 3
  • 24
  • 48
8
votes
3 answers

Calculate time difference using Python

I am wondering if there is a way or builtin library available to find the difference in time from two string input. What I mean is, if I have 2 input strings: '2013-10-05T01:21:07Z' '2013-10-05T01:21:16Z' how can I can calculate the difference in…
Prince Sharma
  • 83
  • 1
  • 1
  • 3
8
votes
1 answer

MySQL SUM values of difference between two columns

I have two columns in one of my tables called TIME_OUT and TIME_IN. These are both decimal values. I basically want to sum the difference of these columns. I have the query below that outputs the difference with no issue, but I'd like to then SUM…
Jason
  • 1,105
  • 3
  • 16
  • 30
8
votes
1 answer

What are the differences between APNG and MNG?

I know that APNG is an extension of PNG, while MNG is more of its own format (albeit developed by the original PNG developers). MNG is barely supported in any browser at all, while APNG almost only has native support in Firefox (for various backward…
obskyr
  • 1,380
  • 1
  • 9
  • 25
8
votes
2 answers

Build difference between groups with dplyr in r

I am using dplyr and I am wondering whether it is possible to compute differences between groups in one line. As in the small example below, the task is to compute the difference between groups A and Bs standardized "cent" variables.…
Manuel
  • 265
  • 3
  • 11
8
votes
2 answers

Calculate date difference in weeks (Javascript)

I have two strings: 1387050870 and 2012-12-15 How can i calculate the difference between these two dates in weeks (52)? I tried Math.round(1387050870-(Math.round(new Date('2012-12-15').getTime()/1000))/604800), but that doesn't seem to work.
user2368182
8
votes
2 answers

What is the difference between an algorithm and a programming model?

What is the difference between an algorithm and a programming model (or paradigm)?
boffin
  • 639
  • 2
  • 13
  • 26
7
votes
0 answers

Dark Mode getting messed up with intersectionObserver

I've been working on a site and I decided to add a dark mode feature to it, I used the darkmode.js library to implement it , the library works on the principle of mix-blend-mode: difference. However, when I add a scroll animation to it using…
7
votes
2 answers

Difference between classes and namespaces in TypeScript

What is exactly the difference between classes and namespaces in TypeScript? I know that if you create a class with static methods you can access them without instantiating the class and that is exactly one of the points of namespaces I guess. I…
7
votes
1 answer

What is the relation between NEAT and reinforcement learning?

As far as I know, NEAT (NeuroEvolution of Augmenting Topologies) is an algorithm that uses the concept of evolution to train a neural network. On the other hand, reinforcement learning is a type of machine learning with the concept of "rewarding"…
7
votes
1 answer

Difference between SSL and JWT

I've been reading and trying to comprehend the differences in browser side security. From what I gather, SSL is used to keep people from sniffing the traffic you send to the server. This allows you to send a password to a server in clear…
Post Impatica
  • 14,999
  • 9
  • 67
  • 78
7
votes
1 answer

Modify pandas group

I have a DataFrame, which I group. I would like to add another column to the data frame, that is a result of function diff, per group. Something like: df = pd.DataFrame({'A' : ['foo', 'bar', 'foo', 'bar', 'foo', 'bar',…
matlabit
  • 838
  • 2
  • 13
  • 31
7
votes
2 answers

Python find difference between file paths

I have a bunch of file paths, such as: path1 = "./base/folder1/subfolder" path2 = "./base/folder2/" I am trying to write a function that can give me the relative difference between the paths. Using the paths above: >>> get_path_difference(path1,…
sdfgeoff
  • 854
  • 9
  • 16
7
votes
1 answer

What is the difference between Eclipse and Myeclipse

I want to develop java dynamic web application that make use of struts2 and hibernate. I am familiar with Eclipse but new to MyEclipse. Both IDEs looks same if compared with UI. What are the features of Myeclipse ? Which IDE will be better option…
Parth Pithadia
  • 276
  • 1
  • 3
  • 18
7
votes
2 answers

Can UDP packets be partially sent like TCP ones?

I've created some type of client/server application that has its own data ACK system. It was originally written in TCP because of some limitations, but the base was written thinking about UDP. The packets that I sent to the server had their own…
Jorge Fuentes González
  • 11,568
  • 4
  • 44
  • 64