-2
votes
0answers
9 views

What creates more creative opportunities? [on hold]

I am a fresh graduate. I am not asking a career advice here. But, I think that being web developer gives more opportunities to CREATE something rather than managing. I would like to know if network ...
-1
votes
0answers
17 views

Learn how to write/design code in a “organic” way?

I'm an average programmer, I have not issue accomplish the most of daily task and figure out solution, instead my issue is how to design code. let me try to explain: I don't need to learn OO ...
-2
votes
0answers
15 views

Java Programing Question

I am beginner of Java learner, I found this question on the website but I don't know how to solve this. following are the question: Build a simple game will allow a player to attempt to guess a ...
0
votes
1answer
15 views

Creating a generic framework for application loading

I have multiple applications that use a generic framework for creating a graphical user interface. All run with a certain gui.cpp (600 lines) and gui.h (150 lines) containing the int main() function, ...
0
votes
3answers
23 views

What is the rule for simplicity over complexity?

We have a site which is hugely complex in its implementation. Conceptually, it is simple - a web-based catalog. But the implementation has become a multi-layered nightmare. Can anyone indicate a ...
0
votes
1answer
46 views

Is there a particular coding standard with comments between function name and body?

I'm integrating with a shipping API built in php. They have a strange coding standard where the comments are between the function name and the first curly bracket.. which - subjectively - makes the ...
0
votes
3answers
25 views

TDD: how to test file outputs?

I'm really new to TDD, so I guess this question is pretty basic. We're building a website, and part of the functionality is generating some files (binary files: Excel, PDF, whatever). How should I ...
0
votes
1answer
10 views

JavaFX with or without Rich Client Platform

I'm starting to delve into JavaFX and have heard that one of the cons of java fx is that there isn't a mature rich client platform or application framework ala eclipse rcp or netbeats platform for it. ...
1
vote
1answer
26 views

Move semantics in C++ - Move-return of local variables

My understanding is that in C++11, when you return a local variable from a function by value, the compiler is allowed to treat that variable as an r-value reference and 'move' it out of the function ...
-2
votes
1answer
35 views

Best Java solution to communicating via applications on Unix/Linux platform without socket communication [on hold]

Hello I have an application written in Java on a Linux platform. My application will work the following way: User A will open application. User B will open application. User A will need to send ...
2
votes
3answers
98 views

Best approach for an online store which changes its product’s price over time? [Designing the DB Table]

I am currently creating a website which will allow people to buy consumer products (deodorant, shampoo, toothpastes, etc…) from a store. Those products tend to change price and other details twice per ...
-4
votes
0answers
35 views

How can you determine the relative position of each screen, i.e which is on the left, middle or right? [on hold]

Given your application is running on multiple screens (dual or more) how can you determine the relative position of each screen, i.e which is on the left, middle or right in WPF? The screen class ...
2
votes
0answers
23 views

In domain driven design, how do I convert a database table with a primary key into a Value Object?

Lets suppose there's a database schema defined like this: Person.mail_address_key ----- Address.address_key Person.billing_address_key ----- Address.address_key A Person has a mailing address and a ...
2
votes
2answers
237 views

Are there any OO languages without inheritance?

During a code review today, a colleague of mine said something interesting: prototype is only useful when you need inheritance - and when's inheritance ever a good idea? I thought about this and ...
0
votes
0answers
72 views

How many functions called by other functions are too many?

I posted a question about a week ago about using PHPExcel with multiple cases of use and how to simplify it. Since then my process has simplified as we've agreed to work with a single lay out with ...
0
votes
0answers
22 views

How to set-up security roles and permissions for a dynamic web applications?

I am currently migrating from a Web framework (Struts) to another (Spring MVC), so I will take the opportunity to review my security strategy at the same time. My applications are Web based, and ...
-2
votes
0answers
15 views

How to run selenium IDE generated tests periodically?

I have a project where I need to write some code that will navigate to a website and sign in. Then depending on the state of the website I need to perform some business logic and subsequent ...
-1
votes
0answers
20 views

More efficient management of assets(image, documents) in a large web project

I am beginning to refactor a large, very old, messy project. One of the biggest issues is the lack of a central location on the filesystem for simple things like images, icons, documents, csv, etc. ...
-4
votes
0answers
28 views

Attaching a file using <a> tag instead of file input button [on hold]

I want to attach a file in a feedback form. The form is to be send as mail.In most of the cases, I used a file input button for this purpose. This time, I am thinking about using an tag for ...
1
vote
3answers
445 views

Why was Fortran never used to develop an Operating System?

I'm not a Fortran developer myself, but I'm about to use it a little and found myself wondering why, if it is much older than C but equally as performant as C, was it never used to develop any ...
-3
votes
0answers
33 views

Game programming for the web? Or for extensibility? [on hold]

I have a request from a client that wants to build a new casino game. They want to make a sample available online for freeplay. I'm not up on the current technologies to do this. If I look at a site ...
0
votes
0answers
31 views

How can one tell if IN returned a meaningful zero or there was no data to read [on hold]

This question is rather hypothetical and it's just out of my curiosity, hope you don't mind :) I was wondering, having an assembly code like this: in al, 10 how do we know, if after this operation ...
-4
votes
0answers
12 views

Read File strip whitespace [migrated]

Working through CorePytho I can print a file using code below w/ eachLine, If I remove the comma it is doublespaced. I am trying to strip the whiteaspace w/o using the comma - no looking for an ...
1
vote
3answers
135 views

Java - Is it possible/good idea to reduce chance of crashing by catching Error?

I have a class the implements A which will run a certain method of class B. There is a requirement that this A should never crash when running this operation (which is not possible, right?). To ...
-1
votes
0answers
20 views

CC licensed content in BSD licensed HTML

Let's say we have a directory containing two files, index.html and LICENSE. The license file includes the BSD license text (could be any license really) and the HTML file contains content as well as a ...
0
votes
0answers
14 views

Read specified line from external text file [migrated]

Using C# and writing a Windows Form application for Windows 7 or Windows 8. I need to know how to get my app to read a specific line which should be assigned to a specifict text box or combo box. ...
16
votes
4answers
1k views

On GitHub, etiquette and pull requests [duplicate]

If someone forks your repository and commits some changes, what is the accepted way to proceed if you'd like to ask them whether it's alright to pull those changes in? Can you issue a pull request on ...
2
votes
1answer
89 views

What are classes that produce a result, but are necessarily classes because of the complexity of the task?

What generic name is given to classes that encapsulate a collection of esoteric functions which together perform some larger cohesive but entirely self-contained task useful to the wider application, ...
0
votes
0answers
122 views

I am the customer and have a question [duplicate]

I am not sure I can ask this here but cannot find answer on the web. I have a contract programmer on my payroll that has developed my site. She is self taught with no formal education. When she adds ...
0
votes
0answers
36 views

Is there a pattern for deserialization involving repository access? Or what is wrong with my design?

Let us have case class Money(amount: BigDecimal, currency: Currency) case class Currency(code: String, alpha3: String) Money is a value object and Currency is an entity. When transforming Money to ...
0
votes
2answers
90 views

Algorithm for figuring out the enemy flag's location in Stratego

I am currently programming a Stratego game in JavaScript, simply because I wanted to learn to use JavaScript while spending some time to keep my programming skills up to par. (My current work ...
0
votes
2answers
58 views

DDD - If an object is saved as a whole to the database, is it per definition an entity, or is it still possible that it is a value object?

I'm learning about Domain Driven Design and struggling with the question if a particular object should be handled as entity or value object. All possible surname prefixes are kept in a database ...
-4
votes
0answers
85 views

what does min <? = G [i] [j] + R [i] - vc [J]; means? [on hold]

I am looking for a solution of hungarian assignment problem,, and I got a solution from kuhn's Algorithm. while doing the implementation part I got a statement min <? = G [i] [j] + R [i] - vc [J]; ...
-2
votes
0answers
24 views

How do decomposition methods relate to different parallelism methods

As I have learned, parallelism can be achieved in three different ways. Instruction Level Parallelism Data Level Parallelism Thread Level Parallelism And also I have come across different ...
-4
votes
0answers
33 views

Audio programming library? [on hold]

I'm looking for a library to convert music files or video files. I did a google search and only see already made programs but I want to make one myself with something. Im strongest at Javascript, C# ...
-1
votes
1answer
90 views

What to Study First [on hold]

I've been programming on and off for years as a hobby and was mainly self taught. Now, I want to take it to a more professional level locally. I realized that there are a lot of holes in my knowledge, ...
-3
votes
0answers
25 views

How can I convert an ANSI encoded text file to UTF-8 in C#? [on hold]

I'm writing a web application in ASP.NET that allows someone to upload a text file to the server. If the text file is ANSI encoded, I've noticed that french accents do not show. Is there a way for ...
0
votes
1answer
84 views

Best practices for communication between Offline Software and Web Application?

The purpose/s of this question is to discover what are some of the most reliable methods of achieving communication between existing offline software and a web application. (Example) Scenario: A ...
-2
votes
0answers
14 views

validate javascript quiz and count answers [on hold]

I was wondering if anyone could help me out. I am having trouble figuring out my Javascript code. I'm still learning all of this (im not the best at it, so dont be harsh). Theres a couple things I ...
-2
votes
0answers
37 views

How can I draw flowchart for “for” in this programme C++ [on hold]

I did programme drawing boxes with width, length and size. like chessboard. how can I draw flowchart for this programme. using namespace std; int main () { //Declare the variables char ...
2
votes
3answers
221 views

What should I do in C++ when implementing a container class: storing objects by value or by reference?

I'm new to C++, coming from Java. In Java, all variables (except for primitives) are essentially pointers. They hold the address of whatever they're 'holding'. So any Java data structure stores it's ...
-8
votes
1answer
45 views

How do simple while loops with int's process? (simple java) [on hold]

The problem is, int i = 1; while ( i < 10 ) { int j = 10; while ( j > i ) j--; i += j; } what will be the value of i after executed? I would end up with getting ...
-2
votes
0answers
27 views

Copy website and figure out framework [duplicate]

There is a very nice personal website that I would like to adapt myself. I know there are all kinds of frameworks for building websites but when you view the contents of the website with "inspect ...
0
votes
0answers
16 views

solving a number theoretical problem [migrated]

In mathematics, the greatest common divisor (gcd), also known as the greatest common factor (gcf), highest common factor (hcf), or greatest common measure (gcm), of two or more integers (at least one ...
0
votes
0answers
6 views

Generating values and keys to fill a map, and which type of map should I use [migrated]

My idea is to generate keys and values inside of a map, but I'm unsure as to what type of map I should use. This would be my very first time ever using a map, and I've heard that HashMaps aren't too ...
0
votes
0answers
6 views

How to get string in a function in Python? [migrated]

I am current writing a game with tkinter GUI Python. import sys from tkinter import* #Functions to handle button click def startgame(): player21abel=Label(text=" Guess a Letter ...
2
votes
1answer
58 views

What's a good way to explain that system configuration at run time should not be changed by code at compile time?

I am programming for a embedded system. When this system boots up it reads from a configuration file some data and execute rules to put the system state according to the configuration read. This ...
0
votes
1answer
42 views

snapshot in git or version control system (vcs)

I recently started learning/working git. I've gone through some materials but still didn't understand what actually is a snapshot.
-1
votes
0answers
80 views

Creating a new CPU architecture [on hold]

This post might be construed as a discussion on a new computer architecture. I've been working in the field of hardware design for the past two years and have experience in C, python, VHDL. However ...
0
votes
1answer
34 views

How to host a web service with dependencies on many APIs/SDKs which expose methods in different languages

A project I'm working on currently depends on several SDKs and APIs that perform identical tasks, but for different external products. For example, in an Internet of Things world we have a common ...

15 30 50 per page