To be honest, they're pretty much arbitrary, and depend entirely on the whims of the developers. However, there are several common conventions that are followed by developers, with the most popular being in the form major.minor[.build[.revision]], such the Minecraft 1.2.5 example. This convention can be used to communicate the significance...
ruby,amazon-web-services,version,aws-opsworks
Ah ha, I picked up tips from some old doco I think. By reading the aws/opsworks code I corrected my custom json to this: "ruby": { "version": "2.1.2" } and it worked! Actually, this is only partially a correct answer. I have one stack that responded to this and downgraded...
c++,multithreading,c++11,g++,version
Based on common predefined macros link, kindly provided by Joachim, I did: int p; #if __GNUC__ >= 5 || __GNUC_MINOR__ >= 8 // 4.8 for example const int P = std::thread::hardware_concurrency(); p = (trees_no < P) ? trees_no : P; std::cout << P << " concurrent threads are supported.\n"; #else...
sql,sql-server,version,sqlexception
The SQL Server error codes don't change - once defined they stay the same, new error codes might be added with each version, but existing ones stay the same. See this link for a list of all SQL Server error codes as of version 2008 R2. Those messages (or message...
Have you looked at GetVersionEx() function and OSVERSIONINFOEX structure? Possible usage: void print_os_info() { OSVERSIONINFOEX info; ZeroMemory(&info, sizeof(OSVERSIONINFOEX)); info.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX); GetVersionEx(&info); printf("Windows version: %u.%u\n", info.dwMajorVersion, info.dwMinorVersion); } I don't understand, what do you mean by NT. According to MSDN: Since Windows XP, all versions are implicitly NT versions. If...
java,spring,maven,dependencies,version
So the problem was that in my parent pom, which was used (0.10) was the C project defined as 1.0.2. The A project had B, which was referencing C in 1.0.5, so transitively A should have C in 1.0.5, however, A took C version 1.0.2 from R (from Parent/Root). Obviously,...
>>> import sys >>> sys.version_info sys.version_info(major=2, minor=7, micro=6, releaselevel='final', serial=0) >>> sys.version_info[0] 2 For details see https://docs.python.org/2/library/sys.html ....
You need to change the uses a little from the answer that you link to. I think that instead of: uses Androidapi.JNI.JavaTypes, FMX.Helpers.Android, Androidapi.JNI.GraphicsContentViewText; the code will work with: uses Androidapi.JNI.JavaTypes, Androidapi.Helpers, Androidapi.JNI.App, Androidapi.JNI.GraphicsContentViewText; ...
selenium,xpath,phantomjs,version,ghostdriver
You can directly check whether specific functions are supported or not. For example, boolean() is provided by XPath 1.0, but abs() is only provided by XPath 2.0. PhantomJS 1.x & 2.0 only supports XPath 1.0. Full script: var page = require('webpage').create(); console.log(JSON.stringify(page.evaluate(function(){ var b = -1, body = -1, abs...
javascript,backbone.js,underscore.js,version
<script src="http://ajax.cdnjs.com/ajax/libs/underscore.js/1.7.0/underscore-min.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.1.0/backbone-min.js"></script> simply your underscore version is too old, use the version 1.7.0. The backbone version u're using trying to use _.has which is only introduced in underscore version 1.3.1...
According to spring docs so: Spring Security builds against Spring Framework 4.1.3.RELEASE. And to get it work, your pom.xml should be like this one: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.test</groupId> <artifactId>test</artifactId> <packaging>war</packaging>...
git,version,windows-server-2008,msysgit
I tested all 3 versions, and found that: git version 1.9.4.msysgit.0 is Git-1.9.4-preview20140611 git version 1.9.4.msysgit.1 is Git-1.9.4-preview20140815 git version 1.9.4.msysgit.2 is Git-1.9.4-preview20140929...
java,eclipse,configuration,version
Try cleaning your project by going to the following menu item: Project > Clean... If that doesn't work: Try removing the jars from the build path and adding them again. Double-check the jars being really on the build path (with no errors). Make sure there is nothing in the "Problems"...
ios,build,upload,version,itunesconnect
You cannot 'delete' the rejected version, but can edit and change the version number. Goto 'General App Information' part of 'Version Information' page of the previous version (1.6.1), change Version from 1.6.1 to 2.0.0. ...
In order to get that information you should type the commands: gcc -v or gcc --version. For more details see the man pages for gcc http://linux.die.net/man/1/gcc
In this case, you cant increase the file assembly version, but you can track the version by using other attribute of assembly file, for instance you can use the "AssemblyTrademark" attribute to track the version. In each release you can increase the version. Eg- [assembly: AssemblyTrademark("1.1.1.7")] ...
Regular Expression may help you. import re file=["Cat_Setup_v91.mb", "Cat_Setup_v01.mb", "Cat_Setup_v119.mb"] print sorted(file, key=lambda x: int(re.findall("(?<=v)\d+", x)[0])) give the output: ['Cat_Setup_v01.mb', 'Cat_Setup_v91.mb', 'Cat_Setup_v119.mb'] Updated: change "(?<=v)\w*" to "(?<=v)\d+" according to @Rawing comment...
angularjs,version,abbreviation
rc is release candidate. This means no new feature will be introduced just a bugfix releases before final release.
The official version, from the GO FAQ: If you're using an externally supplied package and worry that it might change in unexpected ways, the simplest solution is to copy it to your local repository. (This is the approach Google takes internally.) Store the copy under a new import path that...
sql,sql-server,sql-server-2008,sql-server-2005,version
Using the compatibility level of your database, you can create a database in SQL Server 2008, but then make it look, feel and act like SQL Server 2005. Steps: Create your database - either visually or with CREATE DATABASE MySampleDB This creates a database on your server, in the default...
mysql,jdbc,jar,version,wildfly
Yes, of course. Connector/J 5.1.34 is latest version the official JDBC driver for MySQL. See docs http://dev.mysql.com/doc/connector-j/en/connector-j-versions.html Connector/J 5.1 is a Type 4 pure Java JDBC driver, which conforms to the JDBC 3.0 and JDBC 4.0 specifications. It provides compatibility with all the functionality of MySQL, including 4.1, 5.0, 5.1,...
javascript,php,regex,version,extract
You could use the below regex to match the version number. \b\d+(?:\.\d+)*\b \b word boundary which matches between a word character and a non-word character. \d+ Matches one or more digits. (?:...) Called non-capturing group. (?:\.\d+) Matches a dot and the following one or more digits. (?:\.\d+)* , matches a...
sql,database,configuration,version,h2
I think this is a good solution, if you just need to persist the database version. Sometimes you need to persist more than one such 'global' settings, for example if your application consists of multiple modules, and each module has its own version. Or other things, like the location of...
You are trying to run/reference a class compiled with JDK 8 using a runtime/compiler JRE/JDK 6. The Java being used by the command line is probably a different version than the one used by NetBeans. See Java class file for a list of what the numbers mean. Download JDK8, or...
MySQL Workbench is a client tool that uses an existing server. Both have their own version numbers. The current GA (generally available) version of MySQL Workbench is 6.2.5. For the server there are obviously different versions. You don't need to consider WB when upgrading. Just upgrade your server and WB...
android,service,notifications,version,android-4.4-kitkat
I just figured out, how to do this. The key is the "enabled" flag, you can provide to the service in your manifest-file. Then you can do it like this http://stackoverflow.com/a/23845884/1894572. Created a "normal" bool.xml and one bool.xml for v-21 (Lollipop). This is the normal: <resources> <bool name="remoteControllerService_enabled">true</bool> <bool name="mediaControllerService_enabled">false</bool>...
scala,sbt,version,overriding,subproject
Scala 2.10 and 2.11 aren't binary compatible (see https://typesafe.com/blog/scala-211-has-arrived). So it isn't possible for a 2.11 project to depend on a 2.10 project. See also Cross-Building in SBT documentation.
I'm not sure if this is the best way but using the version_compare() I just ensured that it was at least 0.0.1: version_compare( $given_version, '0.0.1', '>=' ) Which filters out 'non-version' strings. For example: if( version_compare( $_POST['_iq_plugin_vers'], '0.0.1', '>=' ) >= 0 ) { echo 'Valid Version'; } else {...
I struggled with this extensively when i started out. These days i start every project with a boiler-plate build.sbt with just scalaVersion and whatever sbt is currently on my machine: organization := "foo" version := "0.1" scalaVersion := "2.10.4" Pick the latest 2.10 or 2.11, dependening on your need. Most...
Look at the file properties of EntityFramework.dll in Windows Explorer, and you will see a product version of 6.1.2 - the 6.0.0.0 version is the assembly version
version-control,version,semantic-versioning
Version does not depend on how many functions you have written in that particular release. If your current version is 1.0.0 ,then it should be 1.0.1 or 1.1 depend upon your naming rule that you have put for your product and dependencies.
tl;dr Have a look at this answer. explanation It means that among dependencies there are conflicted - with same group and artifactId. They are often transitively downloaded with dependencies specified. Gradle tries to resolve it automatically - by picking the latest version (signed with ->). Conflicting dependencies can be excluded....
Click on Help > About. You will see the version number and the update you have installed.
c++,qt,windows-xp,version,pentium
Since QT 5.3, Qt5Core library on Windows (Visual Studio 2012 or newer) depends on ICU version 52 which is not supported on Windows XP. You have some options : Using Qt 5.2.1 Using Qt 5.3.* MinGW binaries Rebuilding QT 5.3 with -no-icu option (but with -no-webkit too because you can’t...
c++,opengl,version,shader,compatibility
Writing portable OpenGL code isn't as straightforward as you might like. nVidia drivers are permissive. You can get away with a lot of things on nVidia drivers that you can't get away with on other systems. It's easy to accidentally use extra features. For example, I wrote a program targeting...
2.0.0-dev is the ruby_2_0_0 SVN branch. The development (mostly merging fixed issues from trunk) of future 2.0.0 releases is done there. 2.0.0-previewX are preview releases that may contain some serious issues or features that'll never be a part of the first stable release (2.0.0-p0). For example, 2.1.0-preview1 had frozen string...
java,windows,version,disable-app
The solution I found for THIS program (ATLauncher) was to download a little jar-file called LegacyJavaFixer (specific for only ATLauncher though) and place it in each modpack folder. It doesn't seem to be possible to do it from batch? I'll mark this answer as correct as long as noone else...
If you want to detect version at run-time, you can use curl_version_info() in a style like this: curl_version_info_data *d = curl_version_info(CURLVERSION_NOW); /* compare with the 24 bit hex number in 8 bit fields */ if(d->version_num >= 0x072100) { /* this is libcurl 7.33.0 or later */ printf("Succcess\n"); } else {...
I'm assuming the problem with that code is that it uses LINQ. You can still use WMI to check it, just don't use LINQ. I also think it's better to check the ProductType rather than Caption. using (ManagementObjectSearcher searcher = new ManagementObjectSearcher("SELECT * FROM Win32_OperatingSystem")) { foreach (ManagementObject managementObject in...
android,version,apk,intel-xdk,android-install-apk
Do you have the apk downloaded in your 2.3 version android device? If not, you could install it sending the apk in an email to the account in your android device, allow installations of apps from unknown sources in your settings in case that you didn't set that option before...
erlang,package,version,release,rebar
Versions exist at several levels in Erlang: Erlang modules can be versioned using the -vsn attribute. For example, the top of a mymodule.erl file might be written as shown below: -module(mymodule). -vsn(1.0). ... If you don't specify -vsn the Erlang compiler generates one for you using the MD5 checksum of...
Lua 5.3 builds by default with compatibility with Lua 5.2. If you aren't using the Makefile from lua.org, make sure to build Lua 5.3 with LUA_COMPAT_5_2 defined. If you want to revert to Lua 5.2, just uninstall Lua 5.3 (make uninstall) and install whatever version you want....
Basing on Antony D'Andrea link I've modified slightly phpinfo_array function so you can use it like phpinfo_array("Build Date"); I've also created phpdate($format) function that handles it. function phpinfo_array($info=false){ /* Andale! Andale! Yee-Hah! */ ob_start(); phpinfo(-1); $pi = preg_replace( array('#^.*<body>(.*)</body>.*$#ms', '#<h2>PHP License</h2>.*$#ms', '#<h1>Configuration</h1>#', "#\r?\n#", "#</(h1|h2|h3|tr)>#", '# +<#', "#[ \t]+#", '# #', '#...
If you are writing about Java Standard Edition, then the correct notation will be: Java SE 8, the same rule applies for Enterprise Edition (Java EE 7).
From within R: R.version.string ## [1] "R version 3.1.0 (2014-04-10)" From the command-line you can grep it out: > R --version| grep -Eo 'R version [0-9.]+ \([0-9]{4}-[0-9]{2}-[0-9]{2}\)'; ## R version 3.1.0 (2014-04-10) ...
If you are using gradle build system versionCode and versionName fields from the manifest will be overridden with values from build.gradle. So, go to module's build.gradle, change versionCode/versionName, it must looks like android { ... defaultConfig { ... versionCode 23 versionName '0.70b' } ... } You may check it using...
functional-programming,logic,version
There is not a specific standard - anybody can follow any scheme (or lack of scheme). It's up to corporate policy, development standards, or whatever guidelines you are under. There are some popular standards out there. We try to follow the Semantic Versioning standard. The basic tenants include (quoted): Given...
There is no need to run composer update when you update your own version number. Only run it when you want to update dependencies: In order to get the latest versions of the dependencies and to update the composer.lock file, you should use the update command. php composer.phar update This...
ruby-on-rails,migration,rake,version
rake db:migrate:status will show all the migrations, along with whether they have been applied or not. `...
After some fiddling I came up with this: function my_version_compare($new_version, $old_version, $operator, $only_minor = false){ $pos = 1; //position to indicate what's a major version (x.[x].x.x = 1) if($only_minor){ //get parts as array and remove trailing zeros $new = explode(".", rtrim($new_version, ".0")); $old = explode(".", rtrim($old_version, ".0")); //check if it's...
For some reason java 7 doesn't like this path: \tools\groovy\bin\..\..\..\ when investigating further I found out that JSHOMEDIR is being set to [SOME-PATH-TO-GS-HOME]\tools\groovy\bin\..\..\..\ so in setenv.bat, I placed a set JSHOMEDIR=%~dp0\.. before the line: if "%JSHOMEDIR%" == "" set JSHOMEDIR=%~dp0\.. For some reason setting an (system/user) environment variable didn't change...
visual-studio-2012,tfs,version
TFS isn't installed client-side. On the client you use Team Explorer, which is part of Visual Studio. So the only version on the client-side that is important is the Visual Studio version which you get from Help->About.
You'll want the latest available release of v1 or v2. If you need to support IE8 or earlier, use v1 (at the moment, v1.11.2). If you don't, use v2 (at the moment, v2.1.3). For development, you may want the uncompressed version of jQuery (although many people just use the compressed...
CVS really doesn't understand 'snapshots' of the repository; it works at a file level. So your best solution would be to get up to date and use something like Git with the "git describe" command. Assuming you can't do the obvious you might try the "cvsps" command. This does a...
This was introduced in 1.1.4. Here's a link to Angular's change log: https://github.com/angular/angular.js/blob/master/CHANGELOG.md#features-46 And the change itself: https://github.com/angular/angular.js/commit/ac899d0da59157fa1c6429510791b6c3103d9401...
android,version,android-5.0-lollipop,playback
I have fix it. just add: maxSdkVersion 21 in the gradle.build nearby minSdkVersion....
jquery,asp.net,sharepoint-2010,.net-3.5,version
No. They are not connected in any way. You can use whichever version of jQuery you desire. Update As correctly pointed out in the comments below, SP2010 renders in IE8 mode and jQuery 2.x.x is not supported by IE8....
Unfortunately there doesn't exist a command to get the DM version. (Well, there exists one in later GMS versions now, but that is of no help.) One "trick" how to work around this is shown in the tutorials on this page: One can use the command DoesFunctionExist() to query if...
linux,kernel,version,fedora,uname
At the top of the top-level Makefile, there are four lines VERSION = 3 PATCHLEVEL = 18 SUBLEVEL = 7 EXTRAVERSION = The values are different for different kernel versions, of course. These are used to construct the version string, so changing them before building the kernel changes the version...
Our recommendation is usually to upgrade both at the same time. In general, we very rarely have breaking changes on the server. ( None in recent memory). But we do occasionally on the client and these are called out in the release notes ( available on the website here: http://www.getbreezenow.com/documentation/release-notes.)...
From a JSP In a jsp file you can print out the version like this: Tomcat Version : <%= application.getServerInfo() %> Output: Tomcat Version : Apache Tomcat/8.0.14 Outside of JSP (Any Java Code) If you want it outside of a JSP (e.g. in a Servlet or listener or w/e) take...
Normally, for major and minor version numbers (as in, 1.2, 1 is major and 2 is minor), they are most often written in the code directly, usually as a #define (because you might need them for conditional compilations, i.e., #if blocks). You would typically have a separate header that contains...
I have been looking at something similar but am yet to implement it so can't provide full guidance, but to answer your question on #3... I have messages which have a flag to re-queue the message to run again, e.g. to get a process to run every 5 minutes. So...
Answering my own question. Actually, gcc 4.5.1 seems have a bug because the following simple code (correct according to the official doc : https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html) prints 4.5.0 when compiled with gcc 4.5.1 on my workstation. #include <iostream> int main(int argc, char** argv) { std::cout << __GNUC__ << "." << __GNUC_MINOR__ <<...
For python version 3. First: for i in range(4): for j in range(i+1): print(j, end="") print() Second: x=10 for i in range(1,5): for j in range(x,i+x): print(str(j)+" ", end="") x+=i print() Third: for i in range(3): print((str(i)+" ")*9) ...
when you run knife cookbook upload it will update whatever version is listed in your local metadata.rb file. (unless it is frozen). If you use Berks, you'll need to add the --force option to overwrite an existing version. deleting a specific version is as easy as knife cookbook delete mycookbook...
Your configured path for your jre7: /Library/Java/Home is actually pointing to your jdk6 installation. Change /Library/Java/Home to whatever the output of this command is: /usr/libexec/java_home.
.net,version,decompiling,reflexil
This bug was fixed in Reflexil v1.9. It was related to an improper corlib type import.
linux,linker,version,rsync,shared-objects
Actually there were two libraries (popt library) being generated in the same location with same version number. This is how the sequence flow happened in my case. 1) first popt library (libpopt.so.0) is built. 2) rsync is built using the first libpopt.so.0 generated in step(1). 3) Another modified popt library...
doctrine2,zend-framework2,version,dbconnection,apigility
The following section of your config: [ 'db'=>[ 'adapters' => [ 'DB\\myproject_v1' => [], 'DB\\myproject_v2' => [], ] ] ] configures an abstract factory that registers the service names DB\\myproject_v1 and DB\\myproject_v2 with db adapter instances. It is the part of the configuration below that actually assigns the adapter to...
If you replace $(expr with $((, it starts to work: TIMES=30 for (( n=0; n < $(shuf -i $TIMES-$((TIMES + 20)) -n 1); n++ )) ; do echo $n done ...
javascript,node.js,module,version,require
I don't think there's a built-in function that does this. Instead, you can get the version from the package.json file: var packageJson = require('./package.json'); console.log(packageJson.version); ...
android,version,android-4.3-jelly-bean
Your logcat says that you must use permission "android.permission.GET_TASKS". Put it to your AndroidManifest.xml before <application> tag: <uses-permission android:name="android.permission.GET_TASKS" /> ...
For backwards compatibility reasons, it's not available by default. You could use CORE::say(...); but it's probably better to add one of the following: use feature qw( say ); # Requires Perl 5.10. use v5.10; # All 5.10 features including "say". use 5.010; # Same as previous. use v5.14; # All...
android,gradle,version,build-tools
We experienced the same issue. If you change your repository to mavenCentral() from jcenter(), it should resolve the issue. Its also possible to have both repositories.
Okay so turns out that my verion of gcc (or the linux kernel or whatever software component I was using) automatically creates the key file at ftok (note that "key" did not exist on my system). The college server however did not. So key_t key = ftok("argv[0]", 1); or key_t...
cbproj files are evidence of a newer version, definitely not C++Builder 6 or older. You can check the version within the cbproj file, the first lines include a ProjectVersion field that will tell you more or less what version was used. For instance: C++Builder XE5: 15.3. C++Builder 2010: 12.0. C++Builder...
php,function,passwords,version,password-hash
I found this library that someone created which appears to be exactly that (PHP 5.5 password functions for lower PHP versions) https://github.com/Antnee/phpPasswordHashingLib...
maven,plugins,version,maven-release-plugin
There are two ways to accomplish your needs. Either you use the maven-release-plugin which means in other words to create a relealse including creation of tag in your version control which might not be what you like to do. Or go via the versions-maven-plugin by which it can be simply...
For my application, I have an "About" dialog that the user can access via a menu. The "About" dialog displays the current version number and the short git commit hash. I store my version information in my .env file in two values: APP_VERSION and APP_HASH. These values are rendered into...
java,version,versioning,product
There is no problem skipping version numbers (or having complex version numbering) as long as you have internal logic that your whole company understands and abides by. (If things don't change... Microsoft is going to be skipping version 9 of it's windows systems.) [major].[minor].[release].[build] is used quite a bit by...
java,maven,version,multi-module,strategy
Personally I will go absolutely for your strategy 1. That's the strategy is used in a company I work for. Your side effect that you mention as HDD space or upgrading module versions which are not required to be upgraded are minor issues compares to "versions zoo". Only I will...
winapi,character-encoding,version
Since you are using TCHAR, use std:::basic_string<TCHAR> instead of std::wstring to match. Otherwise, drop TCHAR and use WCHAR for everything.
Presumably your goal is to have a modal 'choice' of multiple actions. A code which would do that would be class CThreeButtonDialog:UIFrame { TagGroup DLG,DLGitems TagGroup radio,radioItems object Init( object self, string title, string prompt, string s1, string s2, string s3 ) { DLG = DLGCreateDialog(title,DLGitems) DLGitems.DLGAddElement( DLGCreateLabel(prompt) ) radio...
objective-c,app-store,apple,version
You can submit 1.0. Build version in xcode != Version of you app. You specify it in itunesconnect. Deleting app. You need to submit it for review once it is reviewed than you can delete it. Below is apple's documentation for deleting app. For redundant binary just submit a new...
Following the maven version number rules is fundamental when you want to use any maven functionality that requires version "sorting", for example, ranges. If you follow the format <MajorVersion [> . <MinorVersion [> . <IncrementalVersion ] ] [> - <BuildNumber | Qualifier ]> Then maven will sort MajorVersion as a...
android,google-play,version,publish
Yes. Version Codes are unique identifiers to the different versions of your application and they must be different. Version Codes must be whole numbers too. On the other hand, Version Name is what is shown in the Google Play Store to the users and it can be the same.
i think your answer is here: http://gis.stackexchange.com/questions/78618/loading-a-multipoint-shapefile-in-r It's a fact, that readOGR does not handle multipoints (for whatever reasons). You may insist on your file not being multipoint, but that doesn't help, cause readOGR identifies it as such ("Incompatible geometry: 4"). 4 is the index number for multipoint in OGR....
That's right. You must be compiling on Java 8 while your friend is on Java 7. In Java 7, the type of of the List returned by Arrays.asList(new C(), new D()); would be inferred as List<B> and a List<B> cannot be assigned to a List<A>. In Java 8, with some...
The Windows kernel stores its version as a global variable. On creation of a new process, the OS version is copied into the process' Process Environment Block (which is accessible from user mode). The process gets the version by calling the WINAPI GetVersion(), which retrieves the version simply by reading...
ios,objective-c,version,string-comparison,info.plist
You can compare numeric version numbers using natural sort order (which will consider 1.10 to come after 1.1, unlike lexicographic sort order) as follows: BOOL isNewer = ([currentVersion compare:oldVersion options:NSNumericSearch] == NSOrderedDescending) ...
AFAIK: there is no simple way of getting the GWT version from a deployed GWT app. However you can have a look at the Chrome Extension "Library Detector" which supports GWT (also the version). I tested it and at least for normal deployed GWT apps it works. The code for...
In plugins.sbt: addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.8") My version is 2.3.8....