w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML Categories
Do any standards and practices exist for applying acceptance test driven development to non-development tasks?
Take a look at this post in StackExchange: Agile methodologies such as Scrum in non-software development projects Also there is a nice article called "Scrum is not just for software" written by the Agile Alliance (note that this is a PDF download)

Categories : Misc

bias when not using a development set
Yes. By the very definition of bias, using a small set means you will have a higher bias, towards whatever section you decide to train on. If you randomly choose small samples from a larger data set though, this bias will be greatly minimized. If you're just using a small set of data, 10-fold cross-validation doesn't make much sense. The idea of cross validation is to chunk up a large data set into multiple parts, training with alternating parts of them serving as train and test sets, iterating until the best solution across all cross-validation sets is found. If you don't have much time or computational power my first suggest would be to step down your 10-fold CV checking. This will mean you can include a much larger portion of your data set for the same computation time and quickly eva

Categories : Machine Learning

Parallel development in Git
This article is a good place to start for git workflow. Also, Number8 is right. You should be regularly fetching updates when working on the same branch with other developers.

Categories : GIT

Where to start for WSN development
I have uploaded a series of tutorials on YouTube and also my Website that might be helpful for you to get started.

Categories : Misc

manuals for os development?
Here is a basic tutorial on how to make an OS (assuming you mean operating system): http://www.youtube.com/watch?v=6MJUGVFAXKg. It's pretty good, but you need to learn the assembly language first (http://en.wikipedia.org/wiki/Assembly_language). Hope I helped!

Categories : Assembly

How to apply TDD to web API development
From what you are describing you could easily find yourself writing integration tests. If your aim is to test the logic for processing what is returned from the scraped data (e.g. you know that you are going to get a timetable in a specific format coming in and you now have logic to process that data) you will need to create a SEAM between your web services logic and your processing logic. Once you have done this you should be able to mock the data that is returned from the web service call to always return the same table data and then you can write consistent unit tests against it. public class ScrapingService : IScrapingService { public string Scrape(string url) {// scraping logic} } public interface IScrapingService { string Scrape(string url

Categories : Api

NSStatusItem app development
As you dont have much work with NSWindows and NSViews, you surely dont need NSWindowController or NSViewController. And I think for this kind of app even your AppDelegate class is enough and best place to put all your logic. If you have some models then you can break your code upto that, and use it in the AppDelegate itself. Transition from iOS to OSX. If you are good in Objective-C then you dont have to worry about few more Cocoa-Controls especially GUI levels, you have full support of Documentation. Switching between iOS to OSX, vice-versa is not to difficult, but yes if you end up with system level then you need to interact with OSX too.

Categories : Objective C

IVR Development in java
There is far too little information here to provide a direct answer, but I'll try to give you some basics. The standards for IVR application development is VoiceXML for dialog (caller interaction) and CCXML for call control. The latter is not as commonly available. There are also numerous proprietary solutions. Your choice of an open standard versus a proprietary solution should be more about vendor/solution lock in. Even with the open standards, you'll likely use custom enhancements and have some amount of lock in, but portability will be easier. You can code directly to the telephony boards (challenging and usually poorly documented if you are someone new to telephony) or work with solutions that provide end to end capability. I find very few people porting IVR applications so I w

Categories : Java

When would I use ant for Java web development?
Ant is used as a build system. You do not have to use it--in fact there are quite a few better systems but since ant was one of the first it's still likely to be very common. It generally is used to compile your java files, create wars and often even put the .war files onto the tomcats. Maven is bigger and tries to do a lot more, but it's also rather strict in it's format and quite heavy--but it's quite common these days as well. Maven can gather all your dependencies automatically which is nice, with ant you still have to download everything yourself. There are others, but you get the idea. Response to comment: I don't use visual studio, but I think it is more limited. For instance, Eclipse can build all your java files into a jar or execute them directly (in fact, it uses ant int

Categories : Java

PostgreSQL development workflow
Well, your question is actually quite relevant to any database developer, and, if I understand it correctly, there is another way to get to your desired results. One interesting thing to mention is that your idea of separating different changes into different files is the concept of migrations of Ruby On Rails. You might even be able to use the rake utility to keep track of a workflow like yours. But now to what I think migh be your solution. PostgreSQL, and others to be sincere, have specific utilities to handle data and schemas like what you probably need. The pg_dumpall command-line executable will dump the whole database into a file or the console, in a way that the psql utility can simply "reload" into the same, or into another (virgin) database. So, if you want to keep only the c

Categories : Database

Java development using INTEL SDK
There is a java tutorial out on the Perceptual Computing Download Site. This tutorial is in the SDK Documentation - look under "SDK Tutorials" and "My First Java Application" You will need to install JDK 1.7.0_11 or later. Set the environment variable JAVA_HOME to point to the installation directory for easy reference. 1.Create a directory called Java1. 2.Launch any editor and enter the Java code Java1.java. import intel.pcsdk.*; import java.lang.System.*; public class Java1 { public static void main(String s[]) { PXCUPipeline pp=new PXCUPipeline(); if (!pp.Init(PXCUPipeline.GESTURE)) { System.out.print("Failed to initialize PXCUPipeline "); System.exit(3); } for (;;) { if (!pp.AcquireFrame(true)) break; PXCMGesture.GeoNode[] nodes=new PXCMGest

Categories : Java

Why am I seeing iAd's advertisements, like I did in development, in my production app?
There is a possibility that you've got a development version on the phone and that wasn't overwritten by your app downloaded from app store. So, just try deleting the app from your phone and computer, and then try to re-sync.

Categories : Iphone

iOS Custom Framework Development?
I followed this framework tutorial with a lot of success. My callout from the tutorial is that it doesn't specifically mention (from what I recall) building the target, then the bundle before archiving the bundle. I also found it easier to directly copy the archived bundle from its source directory instead of relying on the script.

Categories : Iphone

Development model for website using SVN
This is how we have it set up: We develop on the trunk. Our dev work is on our local laptops, and when it works well enough, we check in. Then we deploy on the trunk to the Development Server, and do a bit of testing there. We deploy to the Test server also on the trunk, but only after we see it working on the Dev server, and NOT if the code in Test has been approved for prod. So Dev is the most recent checked in, and Test is often that recent too, but sometimes it is an older revision. Both of these are on the Trunk. When the code in Test is approved for Prod, we will create a tag, then deploy the tag to a copied app, make sure that the source code matches what we expect, and then deploy that tag-created application to Prod. If the code in Test which has finally passed QA isn't the ve

Categories : Web Services

TDD aproaches for Development DBAs?
In the past I've used two approaches: Having a very thin Data Access layer in the application and writing tests around that. In other words (assuming your dba uses sprocs), for each new sproc a method to access it is written and a test is created which exercises it appropriately (or better, tests first). This is nice because it integrates easily with test runners. You can use transactions to rollback tests without side effects. Another option is to use native SQL testing frameworks. I've evaluated tsqlt which is a SQL Server framework, so not appropriate in your case, but the approach is solid and there could be appropriate frameworks for DB2.

Categories : Unit Testing

Using Gradle in Android Development
In your top directory file with name build.gradle just put: task assemble {} You can see it in known issues here Get started with gradle here! Edit: Android Studio 0.2.1 solves this error: http://tools.android.com/recent/androidstudio021released

Categories : Java

Multiplayer game development with GWT
You have PlayN, a cross-platform game abstraction library for writing games that compile to different platforms included gwt: https://developers.google.com/playn/overview Its API includes everything needed for the game loop, graphics, physics, assets and network access (websocket). I found this presentation and this one a good starting point (you have to push left/right arrows to change slides). In their site, there are many links to games developed with this library, included Angry-Birds In summary, with PlayN you code your game in java using a common API. Your code will be compiled using either the gwt compiler to produce a HTML5 game, the java compiler to produce a java game, the android SDK to produce a native droid app, or monotouch for iOS. In fact you dont have to know so much o

Categories : Gwt

URLRewriteFilter in Development Environment?
Can you try adding this in BuildConfig.groovy to exclude the dependency? (provided you have not added the jar in lib) grails.project.dependency.resolution = { inherits("global") { if (Environment.current != Environment.PRODUCTION) excludes "urlrewritefilter" } } If that does not work then in my opinion the safest bet will be to fork/clone the plugin (which uses the latest version of urlrewritefilter:4.0.3) and modify UrlRewriteGrailsPlugin.groovy by adding the below elements: def environments = ['prod'] //or 'production' def scopes = [excludes:'run'] //If you normally use run-app in development and use the plugin instead of adding the dependency.

Categories : Grails

2D DirectX 10 Game Development
Well if you are interested in learning DirectX itself, you should try to write your own 2D engine, which with a little experience isn't as hard as it may seem. But if you want to get straight to game developement, you can take a look at some engines that take care of that part. Shaders can really enhance scenes (3D as well as 2D) and if I were you, I would definitely use them, instead of just using simple unprocessed textures. Most engines won't take the shader programming from you, so you will probably need to look into hlsl anyway. Also what I experienced with several engines and librarys: at some point they will come to an end, and if you are enthousiastic about your project, you don't want to live with those limitations. That's why I would recommend writing your own engine which you ca

Categories : C++

Development oriented PostgreSQL IDE
I think the Toad plugin for Eclipse is going to be the closest thing you can find. Unfortunately, having a totally comprehensive IDE with these features is going to be a huge project in part because PostgreSQL can use stored procedures in so many different languages, so syntax highlighting inside the stored procedure requires a vast amount of knowledge (in theory, to be considered complete, not only sql and plpgsql but also C, C++, Java, Python, Perl, TCL, R, Ruby, Lisp, various shells, PHP, Lolcode, and Brainfuck -- there are probably more but those are the ones that come to my mind). Consequently the only hope of doing this is to tie into another IDE. This being said I, and most devs I know, tend to use bash, vim, etc. It is a fundamentally different paradigm but it is more flexible

Categories : Postgresql

Chrome Plugin Development
Google has built a whole site dedicated to Chrome Extension Development: Getting Started: Building a Chrome Extension.

Categories : Google Chrome

Guidelines for the development of web Gis Application
Please see some ideas below set out to answer your questions. I think the way to integrate the most amount of data sources is probably with the the OpenGeo Suit. This is an open source software stack that includes Geoserver as a WMS source and GXP libraries and examples as the front end client. It can be found here http://opengeo.org/ There are a number of Open source projects out there that will help. I have already mentioned OpenGeo. Also check out Openlayers http://openlayers.org/ GeoExt (Can't post link as I don't have enough reputation points yet) Leaflet (Can't post link as I don't have enough reputation points yet) Geoserver is a good one for this but you could also checkout Mapserver (Can't post link as I don't have enough reputation points yet) In summary I would recommend th

Categories : Asp Net

keplerr can't get Web development tools
Standard functionality (i.e. Eclipse projects, functionality available in other bundles) can be installed via Help > Install New Software..., select the appropriate update site ("Kepler").

Categories : Eclipse

Setting up PySide/Qt for GUI development
I'm doing something similar (however I'm in the progress of migrating from PyQt to PySide). You should use pyside-uic to generate the code for the GUI after creating the UI files in QtCreator (If this were PyQt "pyuic gui.ui > gui.py" would produce the desired code, I assume pyside-uic has a similar behaviour). I then subclass this generated code to customise the user interface. Yes, you can use cx_freeze with PyQt/PySide, you'll want to include PySide in the "includes" item in the build options. Yes, you can create a completely self-contained executable - you won't need Python, Qt or anything else. Here's the build I use from my PySide GUI application. __author__ = 'AlexM' import sys from cx_Freeze import setup, Executable import MyPySideGui import PySide, os base = None if sys.pla

Categories : Python

BlackBerry 10 development- TextField
We have 3 parts in this problem First on in Qml your text area and bottom when clicked send text area to function in c++ TextField { id: n2 } Button { id: button text: "send text" onClicked: { app.sendtext(n2.text) } Second part your c++ function in your ApplicationUI to receive this text QString ApplicationUI::sendtext(QString txtarea) { QString text = txtarea; return text; } Third and final part in your ApplicationUI.h u must make this function INVOKABLE to access it in Qml so u will need this line Q_INVOKABLE QString sendtext(QString txtarea);

Categories : C++

Using git to mirror web development environment?
If you're set on managing it this way, you could use symlinks to link into the git project from the actual web-exposed directories. Here's a thorough answer describing that technique.

Categories : GIT

Production and Development in WAMP
There are two php.ini files packaged with WAMP: php.ini-development and php.ini-production. They are preconfigured with common settings for either development or production. Whichever one you rename to php.ini is the one that will be used. If all you want to do is turn on error reporting, you can just edit whichever php.ini file you are currently using by clicking on the WAMP icon in your system tray and choosing PHP > php.ini. This will open the file in a text editor where you can change whatever config you want including: error_reporting = E_ALL & ~E_NOTICE There is lots of documentation online and in the file for possible values for this.

Categories : HTML

Get exif data in mac OS development
This post did it: http://devmacosx.blogspot.com/2011/07/nsimage-exif-metadata.html. I can now read all the exif data that I'm looking for.

Categories : Objective C

Git with separated development and releases
Until you publish your work, it is your private. Just don't push while developing. However, you could set-up a private repo visible to you only (e.g. just for backups or working from different locations such as laptop, desktop, etc). Set up another shared repo (e.g. on github) and push here only when you release. Small demo: [kan@altegom so18334364]$ git init --bare privrepo Initialized empty Git repository in /private/tmp/so18334364/privrepo/ [kan@altegom so18334364]$ git init --bare pubrepo Initialized empty Git repository in /private/tmp/so18334364/pubrepo/ [kan@altegom so18334364]$ git clone privrepo wc Cloning into 'wc'... warning: You appear to have cloned an empty repository. done. Set up public repo in you wc [kan@altegom so18334364]$ cd wc [kan@altegom wc (master)]$ git re

Categories : GIT

Web project development in subfolder
A good way of handling this is to use a constant that holds the path to your project. That way you only have to edit that constant to get your paths right. define('BASEDIR', '/a/'); echo ' <script type="text/javascript" src="'.BASEDIR.'resources/scripts/javascript.js" ></script> <link href="'.BASEDIR.'resources/styles/stylesheet.css" rel="stylesheet" type="text/css" />'; This will turn your paths into <script type="text/javascript" src="./a/resources/scripts/javascript.js" ></script> <link href="./a/resources/styles/stylesheet.css" rel="stylesheet" type="text/css" />'; If you keep that constant in a seperate file you can include it where you'd need it. A php file that handles an AJAX request for instance.

Categories : PHP

Trying to understand the AVAudioPlayer in iOS development
In Object Oriented Programming, there are methods, or functions, called setters and getters. the setters set the data for a certain variable. The getters are essentially the getters of the data. with objective-c, and iOS, you don't have to provide the setters and getters for the variable you are dealing with. The @synthesize keyword is what automatically creates the setters/getters. An example using your code For the @property you have, the compiler is doing this: -(void)setAVAudioPlayer:(AVAudioPlayer *)player {} -(AVAudioPlayer *)getAVAudioPlayer { return AVAudioPlayer var;} This isn't exactly the conventions the compiler would be using, but it is just to show the setters/getters way of showing what @synthesize does. It is like an automatic creation of the getters/setters. In your e

Categories : IOS

Git, and moving between development machines
"I am happy to overwrite these changes, but I'm not sure how to do it." git reset --hard git pull origin master You can use git in your new computer exactly the same way as you do in your old computer. "Ideally I'd like to be able to exclude some files from being tracked..." Create .gitignore in the same directory and put the names of the files to exclude in it. If you're using windows, How to create .gitignore file

Categories : GIT

vba or vsto or .. outlook development
Outlook API is not native .NET framework. To interact it with, .NET relies on marshaling and interrop assembly thus making it much more prone to errors and unstable. From what I've seen so far with my outlook API experience, I would stick with VBA and you should consider retrieving a third party library that exposes outlook extended MAPI if you run in to much of trouble.

Categories : Vba

Front end development: where to start?
I'd suggest AngularJS (http://angularjs.org/). Why? Because it has a pretty good tutorial section, good documentation AND it's backed by a large company (Google). But unfortunately, the learning is still up to you ;-)

Categories : Javascript

What is the use of development.log file in rails
All the informations about your web applications requests are written in it, and it is quite useful. When you start your application with rails s you can see it (it is tailing the development.log) Since its the development.log, you can clean the content, but be sure to leave it there so you can see what your application is doing.

Categories : Ruby On Rails

Development process and API levels
I haven't really explored lint but could that help point out any possible issues. It will. Lint will report to you anything that you use that is newer than your android:minSdkVersion but is acceptable to your build target. Lint will generally report this automatically for Eclipse, though you may want to run Lint manually from time to time, as sometimes it seems to miss some stuff. Lint is also available for command-line builds, and I presume that it is (or will be) integrated into Android Studio. You can read more about Lint in the developer documentation.

Categories : Android

.pro file in BlackBerry 10 development
The PRO file you're looking at is from an earlier version of the IDE than you have currently installed. The functions performed by the mission lines have been moved to a different location, probably for clarity.

Categories : C++

vtiger crm development setup
Choice 1 is appropriate. VC must always track the source code, not the products of any interpreter or processing. I feel your pain. It is so easy to tweak that Vtiger source code, and VC tends to be left by the wayside.

Categories : Misc

Burp Extension Development
The following works from within the Burp Extender Jython Shell. Hope it helps. import jarray callbacks = Burp._callbacks myRequest = Burp.history[0] myHost = myRequest.host myPort = myRequest.port myByteArray= jarray.array(myRequest.raw, 'b') testScan = callbacks.doActiveScan(myHost, myPort, 0, myByteArray) # int showing percentage complete print testScan.percentageComplete

Categories : Misc

iPhone 3G XCode Development for 4.2.1
Yes it is feasible but you will not be able to use xcode the latest xcode 4.5 with it because it supports ios 4.3 and later. You would be able to use lower versions of xcode for 4.2.1 . The latest release notes indicates 4.2.1 and lower will not be supported, we now have to use 2 version of Xcode to develop when supporting older devices. Please go through Old Xcode Xcode 4.5 and iOS 4.2.1 incompatibility XCode 4 and iOS 4.2.1

Categories : Iphone



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.