Questions tagged [concept]

Concept programming is a programming paradigm focusing on how concepts that live in the programmer's head translate into representations that are found in the code space. This approach was introduced in 2001 by Christophe de Dinechin with the XL Programming Language.

Concept programming is a programming paradigm focusing on how concepts that live in the programmer's head translate into representations that are found in the code space. This approach was introduced in 2001 by Christophe de Dinechin with the XL Programming Language.

For more, see Wikipedia.

300 questions
2
votes
5 answers

How can we estimate the time needed for program to complete and reflect that to progress bar?

This is not programming language specific. I just need to understand how can I estimate the time needed for a process to complete ? Such as unzipping file for example or burning a CD ? What are the factors that enhance the accuracy of this…
taabouzeid
  • 939
  • 8
  • 17
  • 26
2
votes
0 answers

Repartition a big partition and distribute over the network in Spark

Currently I have a problem where some certain partitions need to do more operations locally than the others. This problem leads to unbalance work over the network (some workers are idling because they finish the tasks way earlier). So, I decide to…
Tim
  • 1,029
  • 2
  • 14
  • 23
2
votes
2 answers

delegation vs aggregation vs consultation

What is the difference between these terms, can you give please small examples?
rookie
  • 7,723
  • 15
  • 49
  • 59
2
votes
4 answers

Conducting timed tasks in a web-site - best practice?

What might be the best way to implement timed-task in a web-site (asp.net) environment ? Say clicking a button locks it for 4 hours, or a day. How would I go about implementing the process of counting those 4 hours, (or 1 day) and then unlocking…
Иво Недев
  • 1,570
  • 1
  • 20
  • 33
2
votes
2 answers

general concept-java code and cycle clocks

I am just curious how can we know how many cycle clocks CPU needs by looking through certain java code. ex: public class Factorial { public static void main(String[] args) { final int NUM_FACTS = 100; for(int i = 0; i <…
dunnopro
  • 47
  • 1
  • 7
2
votes
1 answer

Token ring protocol Efficiency and Cycle time?

I read Token ring protocol from a book Forouzon. According to book, Let N be the number of stations in the ring, THT the token holding time, Tt be the transmission time of packet, Tp be the propagation time of packet on Channel/ Link. Then Cycle…
sachinmanit
  • 89
  • 10
2
votes
1 answer

concept of simple c++ project with 2 classes for input and results of calculation

is there anybody who could give me some basic ideas about planning a concept of my c++ project? I have a GUI with 2 line-edits , a button and a result-field. ( Later I want to have many line-edits for input and result but for now I want to keep it…
user3443063
  • 1,455
  • 4
  • 23
  • 37
2
votes
1 answer

Can you clarify this referencing issue in Python?

I'm used to pointers and references, but I need some clarification on this point: I have this method in my Node class: def createNewNode(graph): #Create New Node Dictionary newNode = {} # Fill in Details for that Node newNode['NAME']…
2
votes
1 answer

Dependencies and Library(JAR) Download,Concept

I have developed a tutorial of RESTFUL web services long ago.Now i have imported the same project in my eclipse,but i do not remember anything how I made this project run earlier.And i would like to know little more information about the…
NeverGiveUp161
  • 824
  • 12
  • 33
2
votes
3 answers

Concept for product upgrade in a productline without inapp payment

I have a "Base", "Normal" and a "Deluxe" App. "Base" is free, "Normal" costs 1$ and "Deluxe" costs 2$. The "Base" app holds the entire logic for all content and shows the trial content at the same time. The "Normal" and "Deluxe" are only unlocker…
mcfly soft
  • 11,289
  • 26
  • 98
  • 202
2
votes
2 answers

The validation concept understanding in Struts 2

I don't understand conception of Struts2 validation in next case : My application consists of 2 actions: login.action drive.action I can run drive.action from browser command line without filling user and password in login.action How can I…
evgenii ershenko
  • 489
  • 1
  • 5
  • 14
2
votes
1 answer

Creating concept for member template function for use with boost::any in c++

I am trying to create a concept for use with boost::any. This concept should say that a class has ha member function with signatur void templateFunction(T t). I have gotten this to compile and working fine, but only for one type at a time. Is…
Håkon
  • 190
  • 3
  • 11
2
votes
2 answers

Hibernate on hypersonic in production?

Developers of hypersonic promise increase of performance? But I'm afraid problems with administrating and other aspects of using hsqlDB. Are anybody using this in production? Is it good idea?
Max
  • 2,293
  • 5
  • 32
  • 48
2
votes
1 answer

Nested mixins in LESS behaviour

Would it be possible in LESS to have a mixin nested inside another one so that the former gets called only when the element is child of an element with the latter mixin? I know, confusing, here is a simple example (not working code, just…
Sunyatasattva
  • 5,619
  • 3
  • 27
  • 37
2
votes
1 answer

Generic programming with concepts clashing with copy constructor

I'm trying to use a generic coding style to wrap a restricted concept API over generic stacks. The problem I'm running into is that one of my constructors, the most important one that takes a templatised stack, is overriding my copy constructor. I…
biot023
  • 163
  • 2
  • 9