-2
votes
1answer
33 views

Approximate string matching algorithms [closed]

I'm looking for some efficient approximate string searching algorithms in huge lists of words/sentences. Most of studies I found are about ranking results. Can somebody give me an advice where can I ...
-2
votes
0answers
15 views

how to make an interactive databaseplatform [closed]

Hi i have a bunch of information on excel spreadsheets, however i want to turn this into an interactive searchable platform online so my clients can easily navigate the infomation, what kind of ...
-3
votes
0answers
22 views

Php form validation with fwrite() and fopen() [closed]

I want that php first validate the form and when the form is validated completely it runs fwrite script and when any field is empty, it returns an error and do not run frwite script. Am i doing right ...
2
votes
2answers
249 views

Unit testing and reality [closed]

I m actually studying Unit testing, reading some articles on the internet and trying to understand how it works exactly, but it's not very clear for me actually. What should I test ? I have seen ...
0
votes
1answer
53 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
1answer
74 views

On planning and implementing classes and their properties [on hold]

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 ...
-4
votes
0answers
33 views

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

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?
-4
votes
0answers
47 views

Custom code folding in Eclipse [on hold]

For those who use Eclipse and are working primarily in Java, there is a custom folding plugin coffee script. It is old but still works. However, C/C++ users are left without code folding ...
1
vote
2answers
209 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 ...
-3
votes
0answers
35 views

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

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 ...
-1
votes
1answer
68 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
0answers
85 views

Better way than scrolling a long list [migrated]

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 ...
5
votes
1answer
164 views

Log to file or to database table?

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 ...
-2
votes
0answers
56 views

Django vs Rails for SaaS Startup [closed]

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
2answers
80 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 ...
0
votes
2answers
178 views

What design pattern for changing interface?

Sorry guys, I should have clarified the fact that the modified method is abstract in Father. Then if the method signature changes, all its implementations in SonX shall also change(at least the ...
-6
votes
0answers
28 views

Link's massive in webdriver [closed]

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 ...
5
votes
2answers
178 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
3answers
126 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
46 views

Mock interview help in Oslo Norway [closed]

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 ...
-4
votes
1answer
57 views

Explanation of the code to read a file (File IO) [on hold]

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
98 views

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

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
61 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
52 views

transitioning from C# to Java. [closed]

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
48 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
25 views

Tools and for software feature inventory? [closed]

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
97 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
22 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 ...
2
votes
3answers
60 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 ...
1
vote
0answers
23 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
16 views

Problems while implementing RTMPT server [closed]

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 ...
-3
votes
0answers
103 views

How to use my holidays productively? [closed]

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
55 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
185 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
300 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
30 views

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

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
34 views

Find the number of increasing Sequence of length K [on hold]

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
187 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
11 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
31 views

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

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
67 views

Material on advanced C++ features [closed]

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
63 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
36 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
35 views

Any birdview article about Web development with Java? [closed]

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
37 views

Wordpress site prevent acces wp-admin of live [closed]

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
18 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
83 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
50 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 ...
2
votes
1answer
136 views

Most efficient/cleanest way to Kill a recursive thread safely

I have a number of worker threads which all perform a flood-fill task on different regions of a bitmap. They all make calls to a recursive sub-routine with different parameters(coordinates). Fyi, I am ...

15 30 50 per page