Questions tagged [compatibility]

This tag should be used to identify questions regarding compatibility issues, for example between different versions of the same software product or, development kit or library.

2979 questions
1880
votes
17 answers

When looking at most sites (including SO), most of them use: instead of: What are the main differences between the two, if any? Are there valid reasons to use one instead of the other? Are there valid…
Aron Rotteveel
  • 81,193
  • 17
  • 104
  • 128
503
votes
15 answers

How to find out if a Python object is a string?

How can I check if a Python object is a string (either regular or Unicode)?
Matt S.
  • 7,651
  • 3
  • 19
  • 12
321
votes
7 answers

Which TensorFlow and CUDA version combinations are compatible?

I have noticed that some newer TensorFlow versions are incompatible with older CUDA and cuDNN versions. Does an overview of the compatible versions or even a list of officially tested combinations exist? I can't find it in the TensorFlow…
whiletrue
  • 10,500
  • 6
  • 27
  • 47
277
votes
8 answers

I want to get Year, Month, Day, etc from Java Date to compare with Gregorian Calendar date in Java. Is this possible?

I have a Date object in Java stored as Java's Date type. I also have a Gregorian Calendar created date. The gregorian calendar date has no parameters and therefore is an instance of today's date (and time?). With the java date, I want to be able to…
daveb
  • 3,465
  • 6
  • 23
  • 28
249
votes
25 answers

How to run multiple Python versions on Windows

I had two versions of Python installed on my machine (versions 2.6 and 2.5). I want to run 2.6 for one project and 2.5 for another. How can I specify which I want to use? I am working on Windows XP SP2.
Bilal Basharat
  • 3,066
  • 6
  • 21
  • 20
240
votes
19 answers

How to install both Python 2.x and Python 3.x in Windows

I do most of my programming in Python 3.x on Windows 7, but now I need to use the Python Imaging Library (PIL), ImageMagick, and wxPython, all of which require Python 2.x. Can I have both Python 2.x and Python 3.x installed in Windows 7? When I run…
238
votes
11 answers

Uninitialized constant ActiveSupport::Dependencies::Mutex (NameError)

When I want to create a Ruby on Rails project, I get the message below. /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:55: uninitialized constant ActiveSupport::Dependencies::Mutex (NameError) from…
Sokmesa Khiev
  • 2,910
  • 3
  • 19
  • 30
187
votes
20 answers

Can I install Python 3.x and 2.x on the same Windows computer?

I'm running Windows and the shell/OS automatically runs Python based on the registry settings when you run a program on the command line. Will this break if I install a 2.x and 3.x version of Python on the same machine? I want to play with Python 3…
minty
  • 22,235
  • 40
  • 89
  • 106
168
votes
5 answers

Can Java 8 code be compiled to run on Java 7 JVM?

Java 8 introduces important new language features such as lambda expressions. Are these changes in the language accompanied by such significant changes in the compiled bytecode that would prevent it from being run on a Java 7 virtual machine without…
Nicola Ambrosetti
  • 2,567
  • 3
  • 22
  • 38
153
votes
8 answers

Was PreferenceFragment intentionally excluded from the compatibility package?

I'm looking to write preferences that can be applied to both 3.0 and pre-3.0 devices. Discovering that PreferenceActivity contains deprecated methods (although these are used in the accompanying sample code), I looked at PreferenceFragement and the…
James
  • 3,729
  • 3
  • 20
  • 16
110
votes
3 answers

Logging framework incompatibility

I'm building a small Java app and hoping to use logback for logging. My app has a dependency on an older project that does its logging via org.apache.commons | com.springsource.org.apache.commons.logging | 1.1.1 ...so my plan was to use org.slf4j…
Carl Smotricz
  • 66,391
  • 18
  • 125
  • 167
105
votes
12 answers

Fragments onResume from back stack

I'm using the compatibility package to use Fragments with Android 2.2. When using fragments, and adding transitions between them to the backstack, I'd like to achieve the same behavior of onResume of an activity, i.e., whenever a fragment is…
103
votes
10 answers

Internet Explorer 11 disable "display intranet sites in compatibility view" via meta tag not working

I have been working on an intranet website for over 6 months were I have been using the below html5 doctype and edge compatibility meta tag to force Internet Explorer to not emulate an older browser version, and this has worked ok.
Pricey
  • 5,799
  • 12
  • 60
  • 84
101
votes
6 answers

Is there a compatibility matrix of Spring-boot and Spring-cloud?

I am wondering if a compatibility matrix exists between Springboot and Springcloud? I created a simple project on STS and am running into compatibility issues. org.springframework.boot
Manglu
  • 10,744
  • 12
  • 44
  • 57
99
votes
5 answers

IE11 Document mode defaults to IE7. How to reset?

My Internet Explorer 11 on my Windows 8.1 Surface tablet defaults to document mode 7, causing a lot of websites to render wrongly. When I open the Developer tools, it states that it defaults to document mode 7 because of Intranet-compatibility…
jim
  • 1,153
  • 1
  • 7
  • 9
1
2 3
99 100