1
vote
0answers
5 views

How to measure the quality of a web crawler algorithm

I developed a new web crawler algorithm as a part of my thesis using java. Now i should compare my work with previous developed crawler algorithms. Since every developed algorithm has its own web ...
-3
votes
0answers
7 views

insert photo in mysql database [on hold]

I am using mysql database.I am using mysql work bench for the user interface.I also connect libre base for the user interface.now my question is how to insert photo in the server.what are the ways to ...
-4
votes
0answers
12 views

Getting wrong answer on online judges [on hold]

I have written the following code for the http://www.spoj.com/problems/LASTDIG/, which I have tested thoroughly. I have tried running it on all the corner cases and also on some very typical inputs ...
-5
votes
0answers
10 views

software shows contact system administrator suddenly [on hold]

I am using point of sale software for my business. the software has been installed my system.the shortcut and some of the files has been implemented in my usb drive.i am using ms sql for ...
1
vote
1answer
11 views

What is really a resource?

I'm starting to study about web api's and REST and I'm having a hard time to understand what is really a resource. Basically the book I'm reading says that a resource is a conceptual mapping to one or ...
-1
votes
0answers
13 views

Using actionBar items within a method to navigate the app [on hold]

How can i use actionbar menu items from within a method. *Somthing like public boolean page2() { WebView webView1 = (webView) findViewById(R.Id.webview1); ...
1
vote
1answer
30 views

What does stubbing mean in programming?

I often hear the term stub, stub out somethings, stubs, ...etc. What does stubbing mean in programming, where the word come from? and in what contexts it can be used?(just examples)
0
votes
1answer
36 views

Statistics about the usage of programming paradigms

I hear very often that the object-oriented programming paradigm is the most widespread. But are there any scientific statistics about how often other programming paradigms like procedural programming ...
1
vote
1answer
29 views

Transpose a matrix without a buffering one

How is it possible to transpose a MxN matrix without using a "buffering" matrix? In the latter case it's easy and quite the "classic" approach... Given a matrix[M][N], I would like to put it into a ...
2
votes
2answers
49 views

Finding a Pre-Written Software License

I've been researching licenses for a few days for a software project I've been working on that I'd like to apply a license to. I couldn't find anything on Stack Exchange, but I apologize if a very ...
0
votes
0answers
19 views

Injecting a javascript code to all requested web pages by a desktop application

I work in a community school and I have been requested to censor some words in all requested web pages (page content-html level). If I could inject a javascript code I can do that with a simple ...
-1
votes
0answers
14 views

Where is the Elasticsearch topology/architecture diagram?

Where's the Elasticsearch topology/architecture diagram? I've heard many good things about Elasticsearch and it seems to be widely used for some time now, but what boggles me is that there is no ...
3
votes
1answer
42 views

Forcing Opengl 2.0 and above in c++

I am a student learning c++ and opengl for 5 months now and we have touched some advanced topics over the course of time starting from basic opengl like glBegin/glEnd to VA to VBO to shaders etc. Our ...
-3
votes
0answers
9 views

AdMob singleton class method import [on hold]

For iAd i coded my own singleton iAd class however, for AdMob I found a tutorial from Google developers... http://googleadsdeveloper.blogspot.de/2012/04/creating-gadbannerview-singleton-in.html I ...
0
votes
0answers
4 views

Return message to Android client from java Server via tcp sockets [migrated]

I am a beginner in Android with intermediate Java programming skills. I am also just learning socket communication. I am trying to make a very simple client/server connection. I have Android app as a ...
2
votes
4answers
169 views

YAGNI principle put to practice

I recently came across to this principle and so far it is clear the fact that doing things that you don't need at the moment is not feasible as they might not be used or might be changed. That being ...
1
vote
2answers
39 views

What is a better design a light weight user or a heavy weight heavy user model?

This is a design question and I am confused about how to design my user object. As in most systems, user is the central part of my application and a lot of information scattered around my database ...
0
votes
0answers
7 views

Specflow or BDDfy or other [on hold]

I am looking to start using BDD in my next .NET project and I was wondering if anyone has experience using Specflow, BDDfy or another similar tool and which of them would be recommended for a team ...
0
votes
2answers
42 views

Define Interface Simplicity vs Implementation Simplicity

In Richard Gabriel's The Rise of "Worse is Better", he talks about the simplicity of interface vs the simplicity of implementation in a design. I've never been able to quite grasp what he means and ...
1
vote
1answer
22 views

How to organize remote Git branches when team does single change releases?

I am a member of a project team with somewhat unusual (or at least from my perspective) release methodology and team dynamic. The way we have been doing releases is rolling out a single functional ...
-2
votes
0answers
14 views

android API version distribution info in the US [on hold]

the android developers page has a pie chart showing the percentages of each platform (API version) currently running android across the world: ...
-6
votes
1answer
43 views

About to have my first interview in less than 12 hours [on hold]

I'm about to have my first interview related to programming. It is an internship so I don't think they'll ask advanced questions but I don't want to take any chances. What can I expect from this type ...
1
vote
2answers
74 views

Why can we use the same name for local variable in different scopes?

I was wondering why is it possible that we can use the same name for local variable in different scopes? Like we can have two methods which both can have variable with the same name. What makes ...
-4
votes
0answers
14 views

I have a forum application that i need a customized css code to expand the replies in my forum [on hold]

Hey I am new to this thing but have dabled in BASIC coding for what it is worth. I am putting together a website for the first time through WIX. There is a forum application( Social Forum ) that I am ...
0
votes
1answer
22 views

Repository Pattern and custom queries/REST API. Is it the right approach?

I'm in the early stages of working on an application that is using the Repository Pattern to provide a data access abstraction. This application will have some form of a simple REST API but I'm not ...
0
votes
0answers
5 views

Database integration of Rails and Laravel apps

I have some very small apps on a VPS running ruby on rails and a co-worker also have some of his own apps running on laravel at another VPS. So far we dont needed to share any data among the apps, but ...
3
votes
3answers
335 views

Is my boss's preference for Latin1 over UTF-8 when it comes to database configuration justified?

We are using MySQL at the company I work for, and we build both client-facing and internal applications using Rails. When I started working here, I ran into a problem what I had never encountered ...
-3
votes
0answers
23 views

need help with C# gataGrid selection [on hold]

I new to programming and need help with selecting dataGridView and checking first column. When I click on "checkBox1" (select all) want to select all cells (rows) and to check all checkBox in dataGrid ...
2
votes
3answers
36 views

Java logging dependency for a low-level library

I inherited a lower-level open source Java network library. The library is intended to be used by higher-level application protocol libraries which are in turn used by application code. My library, ...
4
votes
3answers
63 views

Making a sequence strictly increasing by joining neighboring numbers using the smallest number of moves

I've got a following problem to solve: You are given a list of positive integers [x_1;x_2;...;x_n]. You are allowed to change 2 integers standing next to each other to one equal to their sum. (So ...
0
votes
1answer
41 views

Use JSON objects or POJOs in back end service?

I'm building a back end service for mobile clients. The requirement is that the mobile clients will pass me a token, I'll use that token to talk to other systems (behind the company firewall) in my ...
-5
votes
0answers
32 views

Working remotely: choosing a technology [on hold]

Is this true that C++ programming is not the best option to find a remote job? If so, which technologies would you recommend for studying to accoplish this (java? ruby?) given now I'm specializing in ...
0
votes
0answers
30 views

Determining Use Cases Correctly

I have a project this semester to basically do everything but code a complete system; which obviously involves finding and creating use cases, and I'm having trouble figuring out a few things... Can ...
-4
votes
0answers
31 views

Portable, syntax highlighted source code editor [on hold]

I'm building a minimalistic Python IDE for a type of simulation platform. The simulator is completed, but to go with that I want a simple, built-in, syntax highlighted Python source code editor for ...
-1
votes
0answers
23 views

When rebuilding an package from an updated repository, is there a way to skip compilation on files that haven't changed?

I know this is a bit of a shot in the dark, but when I update a repository (c, c++, and so forth) and know that only a few files have changed, it's aggrivating to have to have everything recompile on ...
0
votes
1answer
46 views

When passing dates/datetimes as url parameters in an API, which format is better - unix timestamp or date string (ISO 8601)

Interesting question came up at work in regards to the better format of passing a date/datetime as a url parameter in an API: Is it better to pass as a unix timestamp, or as a plaintext date string ...
0
votes
1answer
63 views

Is this the template method pattern?

Could someone tell me whether the following is A) a good solution to the problem of repeating code and B) an example of the template method? Let's say I have one table, named VEHICLES, which I use to ...
1
vote
3answers
86 views

Why are FLOSS licences applied to files instead of diffs/deltas?

In the case of open source software development, where contributions build on previous work I would find it more sensible for each copyright holder to hold copyrights on the diffs/deltas he/she ...
0
votes
1answer
60 views

Is it ok for a for a View to dismiss itself?

Currently, I'm working on a project in which a view is dismissing itself. While talking to another programmer on the team for this project, he said that it's fine (in that it behaves correctly), but ...
0
votes
2answers
65 views

Should refactored functions go inside the calling function?

I like to divide my functions into small parts; it tends to make the code look cleaner. In most cases, the extracted parts are only used by the 'containing' function. For example in C#: private void ...
1
vote
2answers
78 views

MVC: How dumb should the view be?

creating an MVC structure and pondering this... My view has an Add button. Click it and we send off a request to the controller (using pub/sub so view doesn't really know who its talking to). Having ...
-3
votes
0answers
33 views

A key to hardware education [on hold]

I m 29.I really like to continue master study in computer hardware engineering.is there uni that requirement is not a bachelor in com while I m holdin bach in city planning?
1
vote
2answers
134 views

Avoiding a large amount of overloads

I'm currently writing a mailing interface for our enterprise application. Dependent on the send mode (regular email, bulk email, templates, mailmerge, ...) our Send() method requires a bunch of ...
0
votes
0answers
78 views

Is this a good implementation of the builder pattern?

I'm trying to design an SQL builder in PHP. I'm trying to make it so that the system could work with different database systems (e.g. Oracle, MySQL, MSSQL). Here's what I've got so far. First, I have ...
-4
votes
0answers
24 views

How can I use two or more threads using same run method work on different arrays? [on hold]

I am working on a game that requires the 2 players to control the movement with same run method using multithreading...now i can draw the two different object separately(not overlapping) but cannot ...
-4
votes
0answers
40 views

Why 1 bytes has 8 bits? [duplicate]

Past time Latin language was used in computer for giving command ,Latin language has 256 characters,for represent 256 word 8 bits was used . 2^8=256 8 bits are enough for representing 256 character . ...
0
votes
0answers
14 views

Best style to use multiple custom UserControls in a Grid

I have the following: A MainWindow; with Children on the MainGrid in the MainWindow: ContentControl, displays the main content of the program and has a taskbar at the bottom for user interaction ...
1
vote
3answers
107 views

How to implement the repository pattern for an app that will change its database from sql to nosql on in couple of years?

I have been reading a lot about repository implementation. I am confused about which way to implement it for a project I am sure would change its data layer methods because of db migration from MS Sql ...
0
votes
2answers
53 views

How do I organizing 2 different projects with shared code

I know there have been same question asked multiple times on the programmers stackexchange. I think my question is more specific and hence decided to start a new question. My current a project which ...
0
votes
0answers
38 views

Excel: Vba Copy and paste efficiency with 000's of rows and columns

Hey guys so I'm sure this is probably out there but I can't seem to find it. Updates I have tested some different code, and reduced my time to complete the task from 50/60 seconds to 10 seconds. ...

15 30 50 per page