version

Are pyc files independent of the minor version of python?

Is it possible and safe to load pyc files made with a different minor version of python? For instance 2.5.1 with 2.5.5? My guess is that the magic number does not change with minor versions. If I refer to this file import.c the magic number corresponds to the variable pyc_magic ( equals MAGIC or MAGIC+1 ) The file comments say: Mag...

How to check if current OS is Windows 7?

I'm developing a windows app (it depends on DirectShow, so no Linux, etc). It will run, for now, in XP and Windows 7 (no Vista support). However, there's a piece of code that behaves very differently in XP or Windows 7, so I need to know in which system I am, to make a workaround. As I don't support Vista -and even if I did, I guess th...

easy_install force a version

Mac os x 10.6. Hello I'm trying to install lxml to solve an inkscape message. I've had a look at the website, and version 2.2.8 looked reasonable to me but when I did easy_install lxml it installed version 2.3.beta1 which is not really what I want I presume. What is the best way to fix this and how can I force easy_install with the versi...

I'm checking Ms Office version

Hello I'm currently maintaining an old plugin for Office. Current solution has a method for determining what version of Office is currently installed. It looks into the registration db for PublicKeyToken=71e9bce111e9429c and the Version=. All good and dandy. For Office 2003 the Version=11, for Office 2007 the Version=12. For Office 2010...

How do you include authorship and version info into your MATLAB functions

This question is related to my previous one: MATLAB m-file help formatting. What do you usually write to describe authorship of your own function? Do you put it at the end of the function body or right after the help text before any code? How do you include version information? Is it possible to automatically update version after funct...

Mercurial for Windows - Python version?

What version of Python is needed to run Mercurial? I see that the website says it requires 2.4. Does that mean 2.4, or 2.x? or something higher than 2.4, i.e., could I install 3.x? I've installed Mercurial without reading the requirements and I installed it anyway and hg.exe executes fine. Looking in the directory that hg.exe lives (C:...

Google App Engine version numbers?

How do App Engine numbers work? Are they only integers? Can I use floats? Can I reuse old version numbers? ...

in fluent-nhibernate,saving a many-to-one entity, why i should give a version to the referenced entity.

i have the following entities: public class Worker { public int WorkerID {get;set;} public string Name { get;set;} public int version { get;set;} } public class TransferOrder { public int TransferOrderID { get;set;} public Worker workerTobeTransfered{get;set;} public int version { get;set;} } and i am using the Auto mapp...

Java Applet: Java Version, update

I am making a Java Applet right now. I have compiled with Java 1.5. When I run my applet in Firefox it does not run. When I open the console in the browser (right click on the applet -> view console) it tells me that I am only running Java 1.4.2. In my browser. I am wondering is it safe to develop my app for 1.5 and assume that...

Retrieve android:versionName from Library Project

Hi, I have created a Library Project which I import into another project. In that Library Project at some point I retrieve it's android:versionName To do that you need to supply the package name. The problem arises when that code is executed when the Library Project is included within another project, then it seems that that code throws...

How do I see see version of tcsh that is running?

How do I see the current version of tcsh is running in my unix terminal? ...

RMI - run client code on Eclipse throws MarshalException while execute from console works fine.

I've wrote simple RMI code to learn how it works. While everything works fine compiling java code, rmic it and run rmiregistry and run client code from console works fine, but when I choose to "run as Java application" on the client code from Eclipse, it throws MarshallException. My guess is somewhat Eclipse is compiling with different ...

Version property on jars in Web Start

In a JNLP file, is the version property for a jar resource related to any metadata (e.g. manifest) or is it just arbitrarily set by the user creating the JNLP file? ...

Library version differences between linux distros

I'm debugging a program that runs fine on one machine running (fill in the blank with some linux distro and version) but acts flaky on another machine running (different distro/version). A helpful clue would be to see a side-by-side list of versions of all the major libraries provided by each distro - Qt, boost, libpng, fftw3, etc. in...

Running Different version of Unity.

Is it possible to run different versions of Unity within an app? I m referencing an app which uses an old version of unity and the current version of unity i m using the newest version. I get this warning . I tried what the posts suggested but didnt work out. How to get this working? THanks. ...

In OpenCL 1.1 my call to function min() is ambiguous and I can't figure out why

I just upgraded from OpenCL 1.0 to 1.1. When I make my call to the min() function, I get error output: <program source>:45:44: error: call to 'min' is ambiguous int nFramesThisKernelIngests = min(nFramesToIngest - nAvg*nPP*get_global_id(2), nAvg*nPP); <built-in>:3569:27: note: candidate function double16 __OVERLOADABLE...

iphone app approved but bug found before release

Hi, I just got my app approved....but realised there is a bug that will need a small fix. I do not want to release this app with the bug. I am unsure how to get this fixed. If I submit another binary it will go through the review process again. I will also need to put a new version (1.1). If I still have to submit a new version, can ...

How can I merge two versions of a file in PHP or JavaScript?

I'm trying to code a site that will allow multiple people to be working on a file at the same time. In doing so, the biggest road-block I have come across is merging the new versions of the files, version-control style. I have been unable to find anything in the vein of a built-in JavaScript or PHP function that will help me with this....

How to find version of a static lib *.a ?

Is there a terminal command which I can use to see the version of a static library (*.a) on my Mac? ...

Property to return the assembly version of descendant classes

In one C# project have a base class like this: public abstract class AbstractVersionedBase { public string Version { get { return Assembly.GetExecutingAssembly().GetName().Version.ToString(); }} } This project has a version of 0.0.1.1. In another C# project I have a class that inherits from AbstractVersionedBase lik...