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
28
votes
6 answers

Incompatible magic value 1008813135

I am writing a Java applet and embedding it in a web page. It used to run Mac and Windows in different browsers without problem. I was using NetBeans on the Mac to build the .jar file the applet used. For some reason or another I decided to load the…
Warlax
  • 2,459
  • 5
  • 30
  • 41
28
votes
1 answer

Nested arguments not compiling

I'm trying to compile my code into a Python 3 module. It runs fine when I choose "Run module" in IDLE, but receive the following syntax error when I try to create a distribution: File "/usr/local/lib/python3.2/dist-packages/simpletriple.py", line 9 …
MonkeyD
  • 356
  • 4
  • 10
27
votes
2 answers

Eval scope in Python 2 vs. 3

I came across bizarre eval behavior in Python 3 - local variables aren't picked up when eval is called in a list comprehension. def apply_op(): x, y, z = [0.5, 0.25, 0.75] op = "x,y,z" return [eval(o) for o in…
PattimusPrime
  • 867
  • 8
  • 21
27
votes
2 answers

Main web page in standard mode, iframe in compatibility mode: any issues?

We have some legacy HTML content which we must render in compatibility mode. The requirement comes from our customers who want their HTML-based reports (some of which were created back in IE6 days) to look and print exactly the same, regardless of…
noseratio
  • 59,932
  • 34
  • 208
  • 486
27
votes
4 answers

How to make Internet Explorer 8 to support nth child() CSS element?

I want to give a zebra stripe effect to my table rows. In all other browsers it can be done using CSS nth child element. But i want to do it IE 8 also. SO how can i do it?
26
votes
4 answers

Creating Library with backward compatible ABI that uses Boost

I'm working on a certain C++ library (or more framework). I want to make it backward compatible with previous versions preserving not only API compatibility but also ABI (like the great job Qt does). I use lots of functionality of Boost and it seems…
Artyom
  • 31,019
  • 21
  • 127
  • 215
26
votes
8 answers

Use Selenium with Chromium Browser

In the Selenium options (on Firefox) I can find Custom browser. Is it possible to use this option to run a Selenium test in Chromium Browser (not Chrome)?
RusAlex
  • 8,245
  • 6
  • 36
  • 44
26
votes
3 answers

how to run python script with os.fork on windows?

os.fork() command is not supported under windows, and gives the following error: AttributeError: 'module' object has no attribute 'fork' So the general question is How to run a script that contain a call to os.fork() under Windows?. I don't mind…
zenpoy
  • 19,490
  • 9
  • 60
  • 87
25
votes
5 answers

Which functionality/feature in Scala only exists as a concession to the underlying platform and should be removed if targeting something else?

A while ago I read about Scala for LLVM and I kept wondering which things in the Scala language/specification/library) only exist to make the JVM happy or improve interop with Java. Considering that running Scala on the LLVM provides much more…
soc
  • 27,983
  • 20
  • 111
  • 215
25
votes
1 answer

Android Support Library ActionBar not Working in 2.3 Device

Hello friends i implemented ActionBar support Library with v7 Appcompact . I extend my Activity class with ActionBarActivity . Below is my Main Class import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import…
25
votes
1 answer

How to mock PowerShell V3 attributes in V2

Being one who likes to document thoroughly, I was glad to discover the SupportsWildcards attribute, among others, added in PowerShell V3. I have decorated parameters in my library with that attribute as appropriate. In the long run there is no…
Michael Sorens
  • 35,361
  • 26
  • 116
  • 172
25
votes
2 answers

Where can I find a definitive Selenium WebDriver to Firefox Compatibility Matrix?

I have worked on a number of projects using Selenium Java and the Firefox Web Driver, on a variety of platforms. Time and again, I come across incompatibilities between the version of the Selenium WebDriver we use and the version of Firefox…
Vihung
  • 12,947
  • 16
  • 64
  • 90
24
votes
17 answers

Why do we need other JVM languages

I see here that there are a load of languages aside from Java that run on the JVM. I'm a bit confused about the whole concept of other languages running in the JVM. So: What is the advantage in having other languages for the JVM? What is required…
Lehane
  • 47,588
  • 14
  • 53
  • 53
24
votes
4 answers

How to use libraries compiled with MingW in MSVC?

I have compiled several libraries with MingW/MSYS... the generated static libraries are always .a files. When I try to link the library with a MSVC project, Visual Studio throws 'unresolved external symbols' ... It means that the .a static library…
NumberFour
  • 3,551
  • 8
  • 48
  • 72
23
votes
1 answer

What is the difference between Python's unittest and unittest2 modules?

I currently work on some code that uses unittest2 module. I suspect this code was meant for the python2. Can one use python3 unittest as a drop in replacement for unittest2? What is the difference between the two?