Latest Questions tagged Compatibility

Browse all latest questions tagged Compatibility

94
Votes
Published 26 Oct, 2022
Java - Is java byte-code always forward compatible?

I understand that the byte code generated by version JDK X is guaranteed to work on JVM Y, provided Y >= X. Does this hold good for all versions of JDK/JVM? i.e Is it fair to expect class files gener...

69
Votes
Published 12 Jul, 2022
Jquery - jQuery .prop() compatibility

I'm trying to test if the .prop() method exists on the current jQuery included (for compatibility reason) via: if(typeof $.prop === 'function') I would expect that the condition above is true for j...

63
Votes
Published 30 Aug, 2022
Java - What is the Compatible version of Spring-security with spring-4.3.0-release?

Which version of spring security is compatible with Spring-4.3.0-release. my jars are as follows spring-aop-4.3.0.RELEASE.jar spring-beans-4.3.0.RELEASE.jar spring-context-4.3.0.RELEASE.jar spring-...

112
Votes
Published 26 Aug, 2022
Python - Best way to write Python 2 and 3 compatible code using nothing but the standard library

I am trying to make some of my code Python 2 and 3 compatible. At the moment I am struggling with functions like range/xrange and methods like dict.items/dict.iteritems. Ideally I would like my code...

8
Votes
Published 19 Aug, 2022
Java - Java x86 compatible with Java ARM?

Can any given Java program written targeting an x86 platform also run on an ARM platform, or will there need to be OS-dependent code written to handle OS-specific functionality?

30
Votes
Published 07 Aug, 2022
Python - python 2.7 equivalent of built-in method int.from_bytes

I'm trying to make my project python2.7 and 3 compatible and python 3 has the built in method int.from_bytes. Does the equivalent exist in python 2.7 or rather what would be the best way to make this...

79
Votes
Published 25 Jul, 2022
Python - Python 2 vs. Python 3 - urllib formats

I'm getting really tired of trying to figure out why this code works in Python 2 and not in Python 3. I'm just trying to grab a page of json and then parse it. Here's the code in Python 2: import u...

185
Votes
Published 26 Apr, 2022
Python - 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...

71
Votes
Published 24 Jun, 2022
Python - Tensorflow compatibility with Keras

I am using Python 3.6 and Tensorflow 2.0, and have some Keras codes: import keras from keras.models import Sequential from keras.layers import Dense model = Sequential() model.add(Dense(1)) model.com...

70
Votes
Published 11 Jun, 2022
Python - socket.error: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions

I'm trying to create a custom TCP stack using Python 2.6.5 on Windows 7 to serve valid http page requests on port 80 locally. But, I've run into a snag with what seems like Windows 7 tightened up sec...

16
Votes
Published 10 Jun, 2022
Jquery - Cross-browser compatible way to bind events on page load

Using jQuery, I can use the following function to execute code as soon as the DOM has loaded: $(function() { // do stuff here }); Or equivalently: $(document).ready(function() { // do stu...

81
Votes
Published 01 Sep, 2022
Java - How to make gradle generate a valid pom.xml file at the root of a project for maven users?

While only for two days now, I am definitely sold on using gradle for all of my Java projects, and drop pom.xml from the root of all my projects. However, I would like to remain maven-compatible, in...

157
Votes
Published 25 Aug, 2022
Java - Gradle sourceCompatibility has no effect to subprojects

I have Java 6 and 7 installed on my machine. Gradle uses 1.7 (checked using gradle -v). But I need to compile my code to be compatible with Java 1.6. As far as I understand the documentation I can use...

97
Votes
Published 16 Aug, 2022
Java - 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.l...

16
Votes
Published 03 Aug, 2022
Jquery - Incompatible jquery mobile and ui

Although I have a ton of people referencing to similar compatibility issues, 50% their problems are solved on StackOverflow. I am hoping my question will make it 51-49 :) Consider this code: <htm...