Skip to main content
Filter by
Sorted by
Tagged with
1925 votes
17 answers
708k views

When looking at most sites (including SO), most of them use: <input type="button" /> instead of: <button></button> What are the main differences between the two, if any? Are there ...
Aron Rotteveel's user avatar
28 votes
1 answer
6k views

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 "/...
MonkeyD's user avatar
  • 356
170 votes
5 answers
74k views

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 ...
Nicola Ambrosetti's user avatar
239 votes
19 answers
252k views

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 ...
dln385's user avatar
  • 12.2k
98 votes
9 answers
115k views

Will Java code built and compiled against a 32-bit JDK into 32-bit byte code work in a 64-bit JVM? Or does a 64-bit JVM require 64-bit byte code? To give a little more detail, I have code that was ...
mshafrir's user avatar
  • 5,280
4 votes
1 answer
4k views

After Oracle donated Java EE to the Eclipse Foundation, it was renamed to Jakarta EE. With that, the javax namespace was changed to jakarta. What does one need to take care about in order to avoid ...
dan1st's user avatar
  • 17.1k
27 votes
7 answers
88k views

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. ...
Warlax's user avatar
  • 2,539
154 votes
8 answers
39k views

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 ...
James's user avatar
  • 3,769
238 votes
11 answers
116k views

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::...
Sokmesa Khiev's user avatar
77 votes
5 answers
48k views

I have to use an OnGlobalLayoutListener object and then to remove the listener, I had a problem with deprecated methods that I resolve with following code. protected void onCreate(Bundle ...
crbin1's user avatar
  • 2,229
103 votes
10 answers
165k views

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 ...
Pricey's user avatar
  • 5,949
25 votes
2 answers
21k views

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 ...
Vihung's user avatar
  • 13.5k
88 votes
6 answers
140k views

First, I have read the following: Connect case VS case and especially this channel9 post So, from the last bullet, I really think there is no way around this, but I had to see if I could get a ...
Justin Pihony's user avatar
72 votes
4 answers
78k views

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 ...
Joachim Kurz's user avatar
  • 3,100
54 votes
5 answers
62k views

There is a maximum length for the text in the &body section of a mailto: link. According to one of my co-workers, the W3C publish the limit as 256 (I don't have a link to back this up, though). ...
Brian Beckett's user avatar
31 votes
4 answers
32k views

I am getting back to work on an app I worked on a while ago, when I had everything built around Android 2.2 Froyo. I have updated my SDK for the latest APIs and noticed that the ClipboardManager ...
HXCaine's user avatar
  • 4,268
527 votes
15 answers
466k views

How can I check if a Python object is a string (either regular or Unicode)?
Matt S.'s user avatar
  • 7,961
66 votes
8 answers
206k views

I have Internet Explorer installed on my computer but needed to test compatibility mode of IE 7. After changing the document mode to IE 7, it set it as default and now I can't change it. The default ...
Pomster's user avatar
  • 15.3k
48 votes
3 answers
21k views

I started research to find an alternative to the sun.misc.Signal class, because it could be unsupported in upcoming JDKs (we're currently working on 1.6). When I build the project I get: warning: ...
plancys's user avatar
  • 3,933
52 votes
8 answers
42k views

I'm trying to tint an image prior to Android API level 21. I've successfully tinted items using: <android:tint="@color/red"/> However, I can't seem to figure out how to do this through code on ...
Hippopatimus's user avatar
26 votes
4 answers
9k views

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). ...
Artyom's user avatar
  • 31.5k
22 votes
5 answers
36k views

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 ...
Fabian Barkhau's user avatar
19 votes
4 answers
35k views

My website is broken in IE11. We all know that HTML tags allow developer to force IE compatibility mode; in example <meta http-equiv="X-UA-Compatible" content="IE=8, IE=9" /> worked great and ...
Emanuele Greco's user avatar
66 votes
16 answers
73k views

Is enabling Safe Area Layout Guides compatible to iOS below 11?
Ted's user avatar
  • 23.9k
15 votes
2 answers
8k views

very straight forward question. My company has developed a windows phone 7 app and have been testing it on a windows phone 7 device. Can we safely assume that the same app will be backwards compatible ...
user avatar

1
2 3 4 5
8