Questions tagged [conceptual]

Conceptual questions involve programming problems which are not related to program code itself, but with algorithm logic and program architecture.

364 questions
0
votes
1 answer

Is this a feasible idea for auto-updates of a CLI through npm?

I'm writing a cli to run on node. I'm going to distribute it using npm. I really like Chrome/Firefox's model of automatic updates. Would it be a bad idea to simply call the following on startup, or right before the process…
Kevin Chavez
  • 949
  • 1
  • 11
  • 27
0
votes
2 answers

Getting a permission denied error when I have permission

I'm writing an excel spreadsheet file (.xls) to a directory to which I have permission, xlsOutput is a directory I made at the root of my project with full permission (right click directory>properties>resource?rwx for all three groups (owner, group,…
mosawi
  • 1,283
  • 5
  • 25
  • 48
0
votes
1 answer

Conceptual Modelling - Is my drawing correct ?

I have a exam tomorrow and we have gotten a sample exam, but since there are no answers to this sample exam, Id thought Id ask here. So here we go, this is one of the questions Im not sure if ive done correctly: Q: Draw a conceptual model describing…
0
votes
4 answers

Java Flow Control Problem

I am programming a simple 2d game engine. I've decided how I'd like the engine to function: it will be composed of objects containing "events" that my main game loop will trigger when appropriate. A little more about the structure: Every GameObject…
KyleSolo
  • 55
  • 1
  • 7
0
votes
1 answer

Synchronizing clock over a network with maximum accuracy

Let's say we've got a server with ticking clock (just an integer variable that holds a number of milliseconds from epoch and being updated every time when the system time is changed). Each client should be able to synchronize its own clock (not the…
Michael Miriti
  • 301
  • 3
  • 14
0
votes
1 answer

R: Clustering customers based on similar product interests for an event

I have a dataset with a list of customers and their product preferences. Basically, it is a simple CSV with a column called "CUSTOMER" and 5 other columns called "PRODUCT_WANTED_A", "PRODUCT_WANTED_B" and so on. I asked these customers if they were…
0
votes
2 answers

How to structure flexible model add/removes within a backbone model

This question is conceptual, hopefully it doesn't cause a fuss. I'm fairly new to Backbone, especially when it comes to deciding what should be a model and what shouldn't. I'm trying to do something similar to Trello's behavior, where a single card…
Tey
  • 51
  • 1
  • 1
  • 8
0
votes
3 answers

Event-based Game engine based on polymorphism of Entities

I would like to create a simple framework for throwing and catching events in a game. Events could be things like a Collision which (according to the type) can take several arguments (note that every Event type may take another amount of arguments,…
Evert Heylen
  • 960
  • 9
  • 28
0
votes
1 answer

Use classes from a library's library?

Let's say I have a LibImplementationA that includes a LibInterfaces. LibImplementationA contains the implementations of LibInterfaces's java interfaces . My application uses the interfaces from LibInterfaces and the implementations from…
lmo
  • 497
  • 5
  • 23
0
votes
1 answer

Resize openGL PBO's or recreate OGL context

I am creating a video player application and I was wondering what would be the optimize way to handle the media changing action. For now I am using 2xPBOs as explain here: OpenGL Pixel Buffer Object (very awesome website by the way) and some…
Nox
  • 932
  • 1
  • 9
  • 27
0
votes
1 answer

Maths Concept: Draw line to follow mouse, with a radius limit

This is not a question specific to one programming language, more of a mathematically conceptual, though just in case, I'm using C++ on Visual Studio. Basically, my current code draws a line, that starts at the centre (of the window), and ends at my…
user2895102
  • 59
  • 1
  • 4
0
votes
4 answers

Understanding classes in java

So I'm a little confused about the concept of Instance methods of a class being called without first instantiating an object How does that work in java? Would I have to instantiate an object so I can invoke a method on the object. For example,…
Quinty
  • 189
  • 1
  • 1
  • 12
0
votes
1 answer

MySQL help figuring out structure of databases

I am a java programmer trying to make the jump to web development and database management. I am trying to figure out the structure of web services in general and I will try to ask some questions that lead to definite non-abstract answers, but I…
0
votes
1 answer

ER-Model for Borrowing-Lending-Network?

I plan on creating my first database so this is going to be a newbie question. My database is supposed to be for a Borrowing-Lending-Network where users can borrow products from other users. Creating one user account should be sufficient for being…
lioli
  • 191
  • 1
  • 13
0
votes
1 answer

Entity Framework v4 examples and tutorials of conceptual model mapping

In an application I'm writing I have a fairly complicated Database model. I'd like to use EF4 to map this to a whole lot nicer conceptual model. However all the tutorials I've read are with samples of 2 or 3 tables which all map 1 on 1 to the…
Rody
  • 2,675
  • 1
  • 22
  • 40