0
votes
0answers
11 views

What's good about statement coverage?

When it comes to code coverage, you often hear about the flaws of statement coverage criteria. We're told that statement does not take into account control structures and branches thereof, and is ...
0
votes
0answers
9 views

On planning and implementing classes and their properties

When writing applications in an object oriented manner, I often have hard times deciding how to implement my classes. I fail to decide which properties should belong to a certain class and often end ...
-1
votes
0answers
9 views

can someone explain me what does a <enum class>.values() functions actually do?

I used a values() method in an enhanced for loop to traverse all values in my enum class. But what does this method actually do?
-2
votes
0answers
11 views

Custom code folding in Eclipse

For those who use Eclipse and are working primarily in Java, there is a custom folding plugin. It is old but still works. However, C/C++ users are left without code folding customization. A request to ...
1
vote
2answers
36 views

Is using multiple static classes with maximum one public method is a good idea

I'm writing a structural detailing (CAD) software for concrete buildings in C#. I have defined like hundreds of static classes each with one public method and if needed some private methods. Each one ...
-1
votes
0answers
16 views

Java 1.6 on Eclipse: What does ERROR “annotation must be explicitly requested,” mean when creating new classes?

I've copied code from a YouTube tutorial and for some reason the program terminates but it never renders the window. I've included Eclipse in firewall exceptions on Mac, I'm sure my system currently ...
-6
votes
1answer
35 views

Any advice on blogging?

Well, if you prefer to website, wp might be the best as it really is specialized. But in the event that you'd like more of a web site structure with increased flexibility and choices, Joomla! is not ...
-1
votes
1answer
27 views

Term to describe pre-canned objects for use in testing

There's a common term to describe a collection of pre-created objects that can be used in testing. It's on the tip of my tongue but I can't think of it, nor does google help. e.g. If I'm testing a ...
0
votes
1answer
38 views

Better way than scrolling a long list

I have a mobile app that allows you to browse lists of songs: [a][b][c][d][e] Elvis - Song 1 Elvis - Song 2 Elvis - Song 3 Ernie Wood - Song 4 You can jump to the letter to filter based on the ...
3
votes
1answer
46 views

Log to file or to SQL?

I'm developing a web application which uses MS SQL for various data: including users, user accounts, user licenses, license prices, invoices. I need to log users' real-time usage of the system, and ...
-1
votes
1answer
22 views

Django vs Rails for SaaS Startup

Several friends and I have a SaaS idea we want to flush out and build a prototype. We have already decided on AngularJS for the front-end, so we need to find a framework that plays well with ...
0
votes
1answer
21 views

How early does a hashable type need to become immutable?

Suppose I have a class that looks vaguely like this: class Foo(object): _value = None # XXX: see below def __init__(self, value): self._value = value @property def ...
-6
votes
0answers
16 views

Link's massive in webdriver [on hold]

I want create script where the 1st step is to open a website and the 4th step is to click on a button. The button I want to take is from massive. I'm getting an exception. Can you help me or give me ...
6
votes
2answers
135 views

How detailed should QA aim to be?

When QA discovers an issue during testing should they... Log the bug with the test case and scenario information and move on testing? Try investigating to determine why the bug is happening? I ...
-4
votes
0answers
34 views

What's the significance of the URL links in a gmail address? [on hold]

What does the u and 0 and sometimes ca mean on the end of a gmail address?
-6
votes
0answers
21 views

What things you take into consideration while developing a java web application? [on hold]

While developing a new java web application , what are the things we consider?
4
votes
3answers
79 views

Test Driven Development when the specifications change

These days, it's fairly common for me to be tasked to make a change that actually breaks the prior spec. I know that one of the major ideas behind TDD is to have a suite that verifies all your changes ...
-4
votes
0answers
25 views

Mock interview help in Oslo Norway [on hold]

I am basically from India but I have moved to Norway a year ago. I am looking for a job here as a .net developer. The most basic requirement is Fluent Norwegian. I can communicate very well in ...
-5
votes
0answers
24 views

What are the basics of building internet radio? [on hold]

All i want is a simple demonstration of how internet radios work. for example, we have A which is a person who wants to transmit a live hour every day to B and C over the internet. now how can A do ...
-3
votes
1answer
31 views

Explanation of the code to read a file (File IO)

In the code: in_file = open("test.txt", "r") text = in_file.read() in_file.close() What is the role of the text in the 2nd line ?
0
votes
0answers
76 views

If a webpage invokes a javascript function on a click from a browser, why can't I invoke it programatically?

So I'm a complete javascript and web development noob, and this question might be betray a fundamental lack of understanding somewhere. I'm on a webpage with a button that invokes a javascript ...
0
votes
1answer
45 views

Strongly typed views, ViewModel and MVC

I'm learning MVC and the book I'm using favors strongly-typed views. Some of these concepts are new to me and I'm trying to better understand the design philosophy. Strongly typed views typically ...
-2
votes
0answers
43 views

transitioning from C# to Java. [on hold]

I have spent the last five years programming in C#/.net and have been transferred to a Java team. What are some of the things I need to watch out for? What are some of the more enjoyable things I ...
0
votes
1answer
37 views

Architecture for monitoring lots of mini-games

In my project, I'm going to create lots of mini games. Those mini games can last 30 seconds to 1 week (the duration of the game is decided when it is created and is fixed). The number of concurrent ...
-4
votes
0answers
20 views

Tools and for software feature inventory? [on hold]

We have a software that grew out of an internal project into a complex tool with various features and we would like to compile a feature inventory with the idea of computing some metrics for feature ...
0
votes
1answer
86 views

Developer Branch vs. Feature Branch [duplicate]

I saw around that development teams usually use source control in one of 2 schemes: Either "Feature Branch", where each feature is developed in a new branch, or "Developer Branch", where each ...
-1
votes
0answers
16 views

Using a push notification to trigger a fetch/pull for realtime updates?

I have a mobile app idea that I am still developing (the idea and how I would implement it, not the app). The current plan is to have data on a service like Parse, and the app would load data from ...
-4
votes
0answers
23 views

How to make an live online/internet radio? [on hold]

I need to make a website where it's all functionality is to stream a live radio station. Like the BBC for example. to do the following: 1- Stream the voice from a microphone to the internet. 2- Make ...
2
votes
3answers
48 views

How do I deal with imported modules in GPL?

I wish to release a non-commercial python application under GPL3 in both source and (PyInstaller) executable form. I'm struggling to find a consistent answer to the problem of imported modules. Can I ...
-8
votes
0answers
29 views

I want to convert the entered avlue to other units but i am getting my output of all units as 0.0. Plz help me . Here is my code - [on hold]

package course.example.bighacalc; import android.support.v7.app.ActionBarActivity; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; ...
1
vote
0answers
17 views

Recommend an approach to decouple Product and Access code constructs, in order to simplify Product testing

I have some code that tightly couples Product specific code and Product-Access code. I am not sure how to untangle it. So for example, for testing Product, I have to mock up Access objects. And ...
-5
votes
0answers
13 views

Problems while implementing RTMPT server [on hold]

I'm working on the RTMPT server. Seems, that all done correctly, tcpdump's logs shows no difference with Red5. Flash Flowplayer successfully passes handshake, creates and starts stream, initializes ...
-4
votes
0answers
91 views

How to use my holidays productively? [on hold]

I currently work in Financial IT after having graduated a year ago. Whilst at university I felt like I was starting to learn concepts of how to structure a program 'well' and focus on analysis, ...
0
votes
0answers
50 views

Correct name for expression tree merging

Suppose some n-ary tree, representing some expression: A and (B and (C or D)) or (B and (C or E)) A / \ B B / \ / \ C D C E And consider ...
2
votes
1answer
149 views

How can I encrypt or remove readability of source code before publishing it?

I am working on a collaborative project, for which I have to submit source code, which will be used/embedded in the main repository for re-compilation. Is there any way, I can encrypt the source code ...
8
votes
2answers
280 views

Why can't the Scala compiler give pattern matching warning for nonsealed classes/traits?

If I use an unsealed trait or abstract class in Scala and then use pattern matching, I wonder, does the compiler not know at compile time for this particular patternmatch what possible implementations ...
-2
votes
0answers
28 views

How can I protect my add-in application from cracked versions of ArcMap [on hold]

I want to allow only licensed ArcMap to use my Add-in application, and/or prevent a cracked version of ArcMap from using that add-in application.EsriLicenseStatus Constant can't control if the version ...
-2
votes
0answers
27 views

Find the number of increasing Sequence of length K

Let we are giving a Array we have to find the number of increasing sequence of length K. 1 2 3 1 1 For the first window of [1, 2, 3], there are 3 non-decreasing subranges so the answer is 3. For ...
1
vote
2answers
123 views

What's the etiquette on looking at the other person's email when pair programming?

To me - if you're pair programming - then you don't open your email, or you decide you're cool with the other person looking at it. I've worked with a person who looks away, and expects you not to ...
0
votes
1answer
27 views

Is Exploratory testing Context Driven testing?

I do not think so, yet many sources say it is. As I understand it: Context-driven testing means that when planning testing on our project, I choose the methods, practices, etc. in order to fit the ...
0
votes
0answers
10 views

Hosted sharepoint 365 howto design a transaction table with a multiple sell/purchase option

I've got a design question with Sharepoint 365 (hosted at Microsoft). Preferable without adding custom code, or with minimal custom coding. My background I'm a developer who works in a small machinery ...
-2
votes
0answers
22 views

Django Multiple Databases Fallback to Master if Slave is down [on hold]

I have master - slave replication setup for MySQL db backend for Django. Currently I am reading and writing for Master DB only, but my dashboards are quite query intensive. I was searching for an ...
-3
votes
0answers
51 views

Material on advanced C++ features [on hold]

I'm an experienced C programmer currently working on learning C++. Since I'm mainly interested in its advanced features I was looking for the following. Is there any tutorial or similar out there that ...
0
votes
1answer
61 views

Periodically polling an API, are there alternatives?

I'm currently working on a service that is supposed to aggregate data from a number of APIs, unify the data, and offer it through another API to the users. I had a couple of ideas for solving this, ...
1
vote
1answer
33 views

Java Unit testing multiple test cases in one test

Is it good practice to have multiple test cases in one test or should I always create one test for single test case in every situation even if it is redundant? Why?
-4
votes
0answers
30 views

Any birdview article about Web development with Java? [on hold]

I am new to Java Web development. And I am tasked to create a prototype with Java and related technologies in a short time. So I am looking for some birdview article about the Web development ...
-4
votes
0answers
26 views

Wordpress site prevent acces wp-admin of live [on hold]

I have a wordpress site on my production server now the point is i want to stop the user to access the admin panel of the production server www.live.com/wp-admin And to change or access the admin ...
0
votes
0answers
17 views

Is having a parent controller to manage a set of tabbed sections an anti-pattern for an angular application?

A lot of times, I have long forms that I divide into multiple tabbed sections. Each section is managed by it's own controller and there is a parent controller that manages the whole view. I use ...
1
vote
1answer
73 views

How do I Create Automated UI test code for application developed using Domain-Driven-Design with very little concrete UI requirements?

We are developing an application using Domain-Driven-Design(DDD). We have to come up with Automated UI Test code. The customer has used 3rd-party GUI Administration template ...
0
votes
3answers
42 views

What is the hierarchical DB schema for this xml?

As per this link, this is the xml that maintains "BookStore" data. I see that number of occurences of author are varying for any book. xml's hierarchical representation of BookStore looks more ...

15 30 50 per page