1
vote
1answer
55 views

Is it possible to get probabilities from a support vector machine?

From what I understand, SVM's take a discrete number of x and y values from which to learn from, then when given new x values map it to one y value (category). Is it possible to use SVM's or something ...
-3
votes
0answers
24 views

How to periodically wake and check status in iOS? [on hold]

I want my app to periodically wake and check a status, but burn minimal cycles between wake ups. Is the a Core call for this or an accepted design pattern?
-1
votes
0answers
13 views

code time out at some value of n [closed]

let us consider following code function [aic_matrix,bic_matrix]=ARMA_model(y,n); %n possible order of each model LOGL = zeros(n,n); %Initialize PQ = zeros(n,n); for p = 1:n for q = 1:p ...
0
votes
0answers
20 views

Compare data in a unknown size input file [on hold]

I'm writing a time sheet calculator program to go with a time clock program I wrote. I've got the inputs coded into arrays, but I'm a bit rusty and can't figure the best way to compare the data. The ...
0
votes
0answers
35 views

How to put sensor into my deployment diagram

I am just working on a project which asked me to draw a deployment diagram, here I am confused about how to put sensor into deployment diagram. Project said, there are 6 buildings has 6 computers to ...
-1
votes
2answers
38 views

Naming convention for classes that represents different versions of the same thing [on hold]

Let's imagine I have an abstract class named ProtocolA that represents the basic operations to work with the protocol A. Such protocol is in version 1, but new revisions are expected in the future. ...
-1
votes
0answers
27 views

How do I set 'makehome' in Javascript as an automatic process instead of a voluntary choice? [migrated]

Instead of using makehome() to create a button for users to change their homepage/startpage, how can I use makehome as an automatic function that is a part of the registration process instead of ...
1
vote
1answer
104 views

How can I create a set of random numbers based on a total and number of objects?

For example with: Total population = 400000 Number of villages = 800 The average population is 500 How can I randomize the amount of people in each village using a specified deviation (eg +-50) so ...
1
vote
4answers
333 views

DRY code, DRY tests?

At some point I had to create some class "Class1" and that class needs a method "method". So I have the following: Class1MethodTest: A total of N tests that check the behavior of Class1.method Class1 ...
0
votes
2answers
49 views

Is byte stuffing required when using a packet field length

I'm involved in a project which involves implementing a binary protocol that will be transmitted over TCP. During our early discussions we have hit a brief snag on deciding whether byte stuffing is ...
-2
votes
0answers
39 views

Mongo DB schema creation

I am creating a chat app. What I will have is A set of users who will chat with customerCare. A company holding different departments. A department holding different agents. Agents from various ...
0
votes
0answers
5 views

Arraylist - Resort Rental [migrated]

When the user enter the id and resort code, how can i search in the arraylist and get the array number that the id and resort code store in? using For-Loop. for(Person pe: guestList) { if ( ...
-1
votes
0answers
42 views

job switch from proramming to testing [closed]

Need help from IT experts ,I am an softwer developer having an 4yr of experience (java) due to hectic life Iam not able to maintain work life balance , now Iam thiking to switch to Testing field may ...
0
votes
2answers
79 views

How to plan for multi-platform application development [on hold]

In my earlier days of programming, I was using Visual Basic for learning. It taught me many concepts, and I was able to make some cool programs (in my opinion, anyways...). I have expanded my horizon ...
0
votes
0answers
36 views

distribution, release and version

Linux is packaged in a format known as a Linux distribution for desktop and server use. Linux distributions include the Linux kernel, supporting utilities and libraries and usually a large amount of ...
-1
votes
1answer
67 views

Creating open source version of employers software [closed]

As an open source project in my spare time I am considering writing from scratch a hopefully improved version of software my current employer uses. Some key points. The software is internally used ...
-5
votes
0answers
63 views

Problem with this program? [closed]

Theatre Square in the capital city of Berland has a rectangular shape with the size n × m meters. On the occasion of the city's anniversary, a decision was taken to pave the Square with square ...
1
vote
2answers
119 views

Using the Decorator pattern to add public methods to an object

The Decorator pattern is usually used to extend the functionality of an object by extending one of it's current methods. To illustrate, please consider an object object and a decorator decorator. ...
-2
votes
0answers
21 views

Extracting visual data from a Program for external use [closed]

I am looking at basically capturing VU Meter data from an audio recording program, preferably the highest resolution possible, and inputting that data into a circuit to power LED's, respectively. I ...
0
votes
0answers
20 views

how to separate the logic of different views when using android viewFlipper?

I use a ViewFlipper in a dialog. I want to fetch the data from the EditText in both of them and also add click listeners to both of them. I can write the whole code in one big file, but i want to ...
-2
votes
3answers
45 views

Method naming advice required [closed]

My question will be about how do you think it would be fit to name some methods in a fluent interface. Let me try to demonstrate the problem. Consider this relation tree: A person can have dogs ...
3
votes
2answers
63 views

How to handle unexpected schema changes to production database

Is it a common or normal practice to encounter schema changes, especially renamed or removed columns, in a production database, without having been notified of the change? If unexpected schema ...
0
votes
0answers
31 views

using parent child windows - is chrome phasing this out?

I use child pop ups extensively in my browser based web application. Examples include using child to search for information which is passed back down to parent form that is updated or I use child to ...
2
votes
1answer
73 views

Persistence frameworks and common sense

I have studied some persistence frameworks mainly Hibernate, DORM, TMS Aurelius and I'm wondering. In a model of type: TOrderFiscal < > ----- > Items < > -------- > TOrderItem ...
-5
votes
0answers
32 views

why Cannot create XmlPullParser? [closed]

I am trying to convert from xml file that i created back to Object. I am using XStream to do that as you see below... XStream xstream = new XStream(); xstream.alias("Model", Model.class); String xml ...
-2
votes
0answers
24 views

What should i call the reference variable that is used in definition statement [closed]

Here is what i mean to ask : var a:SomeClass = new SomeClass(); var b:SomeClass ; var c:SomeClass ; b = a // b is reference to a c = a // c is also a reference to a What should ...
-1
votes
0answers
42 views

Algorithm to generate all reduced latin squares of order 6 without recursion [on hold]

I have looked this up over the internet and i could find methods for generating a balanced latin square or find a randomized instance of a latin square given an order (Sudoku board generator) I need ...
-2
votes
0answers
40 views

Cricket Score Board in C [closed]

I was Coding for my final project submission and there is error that the individual player's score doesn't add up according to the input, have a look and please correct me if I'm in the wrong section. ...
0
votes
0answers
66 views

asp.net mvc vs angular.js model binding

So I've noticed a trend lately of .net web developers using angular.js on the client side of applications and I've become more curious as I play around with angular and compare it to how I would do ...
-1
votes
1answer
79 views

Moving from windows mobile 6 to windows phone [on hold]

I have been working on building applications under windows mobile for pocket Pcs for two years. now I have a large set of applications that is already built. one customer wants the same applications ...
1
vote
1answer
52 views

Differences between Dynamic Dispatch and Dynamic Binding

I've been looking on Google for a clear diffrentiation with examples but couldn't find any. I'm trying to understand the differences between Dynamic Dispatch and Dynamic Binding in Object Oriented ...
-1
votes
0answers
56 views

How to test JavaScript execution time? [closed]

My next project requires high execution speed for JavaScript; I need a way to test how fast the code executes and compare the results to the speed of other ways to do the same thing. If the execution ...
-1
votes
0answers
40 views

Attempting to get all comments of an Youtube video [closed]

So in the last days i've been attempting to get all the comments that have been made on an video. My first attempt was to use the old youtube comment api, but turns out it is broken in a way, where ...
0
votes
1answer
167 views

The problem of dependencies management

Let's consider the next situation: We have a module A which has a class Crt570 intended to interact with a device. We have a module B which uses Crt570 in the class called M100Communicator. We have ...
0
votes
1answer
61 views

A specific problem with architecturing a part of our application

Firstly, I'll try to describe the real world model of what we are trying to express in C# code. We have a device called M100. It's purpose is to read\write data from\into cards (plastic or ULTRALIGHT ...
-1
votes
0answers
57 views

Java: Singleton Event Driven Design [on hold]

I have a singleton class ( I make this as immutable ). This class is present in the base module. It has a static method getInstance() which will initialize a new object based on the data stored in a ...
3
votes
1answer
34 views

Difference in orientation of Sobel mask gives different edge detector result

I am implementing a Canny Edge detector for a class which I have based off the code found here. For the first derivative mask that I will convolve with the image, I am using the Sobel mask, although ...
0
votes
0answers
40 views

Using JavaScript to find the correct offset in bundled files

I am currently making multiple parsers using PEGjs and have implemented my own partial preprocessor which using a RegExp finds and replaces '#include' directives with the desired files, resulting in a ...
-1
votes
0answers
43 views

Real world example of why OOP is helpful in coding for some projects than procedural language? [duplicate]

I'am a newbie in coding.just learned java,understood OOPS well but how is OOP is better than procedural language for solving problems and coding? Please put a real world example code of same code ...
0
votes
5answers
78 views

What conclusion to be drawn from no difference in generated assembly from 2 rather different programs?

I might not have had a counterexample when I got the reply "A pointer is just an address, what's the difficulty?" but I didn't really buy such a simple explanation and at assembly code it's not ...
-2
votes
1answer
99 views

What does language in email indicate about team lead? [closed]

I don't know if I am over reacting but how would you take it if your senior (one who is in the company more years than me) keeps telling in mail more often like "You are still learning", "there is ...
-2
votes
0answers
54 views

What are the benefits of decoupling the View from the Model? [duplicate]

I have recently learned about the MVC design pattern, and have created a small application implementing it. I've been thinking about the MVC concept and it's benefits, and currently I think that ...
-1
votes
1answer
46 views

What would be some ways to make a map app with a sidebar for sampling live music? [closed]

I'm a beginner developer with an idea but unsure the best technology to use to build it. [IF THIS IS THE WRONG PLACE, PLEASE KINDLY COMMENT AND I'LL PULL IT!] I'd like to make a simple app that has a ...
1
vote
4answers
220 views

Why we should (not) develop on a server via RDP

I have a client who is requesting that we develop their fairly small web application directly in their environment by RDP to the server that will host the app. They have had a contractor do this for a ...
-3
votes
0answers
54 views

Very simple sending mail application - exceptions [closed]

I would send an email from my mail adress to other mail adress. I know that here is a lot of topic about it, but I really don't know where I have mistake. What I am doing: MailAddress from = new ...
0
votes
4answers
286 views

Why isn't there an html tag “field”? [on hold]

There is a <fieldset> tag for a set of fields. Why isn't there a hierarchical child for fieldsets? <form> <fieldset> <legend>Thin Sandwich Options</legend> ...
0
votes
0answers
20 views

Executing user configuration settings

For an API I'm building what it does is load an XML file that is passed to it as a string, drill to the correct element, modify values, and return the modified XML. I'm doing something like this in ...
0
votes
0answers
3 views

Connecting to Web Deployment Service - Service not runing error [migrated]

I have just created AWS account and trying free tier services. I have created a Microsoft Windows Server 2008 R2 with SQL Server Express and IIS. I have added my application to iis as usual. Now ...
-3
votes
0answers
99 views

Is the bug that introduced the Heartbleed security flaw really trivial? [closed]

The Heartbleed flaw is a serious security threat that may expose a lot of useful information to hackers and spying agencies (Hello, NSA), I do understand that. So this question is not about the ...
-4
votes
0answers
76 views

python create sqlite db bad formed [closed]

Ok, i found this code that reads a encrypted file and generates a sqlite file, but when i try to read the generated db with sqlite browser or sqlite manager (a firefox plug in) i'm not able to view ...

15 30 50 per page