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
2 answers

Searching depending on the category with filters

What is the best practice to do a searching form with filters, where the filters are depending on the category? e.g.:If you go to visit the ebay and select a category then the filters are different on the left hand side in the cell phones (filters:…
Gery
  • 147
  • 2
  • 10
2
votes
1 answer

Hadoop for the Wikipedia pagecount dataset

I want to build a Hadoop-Job that basically takes the wikipedia pagecount-statistic as input and creates a list like en-Articlename: en:count de:count fr:count For that I need the different articlenames related to each language - i.e.…
MVO
  • 58
  • 7
2
votes
3 answers

I have a parser to make, i'd like to learn proper parsing

I want to parse text with javascript. The syntax i want to parse is a markup language. this language has 2 main kind of markup: $f56 mean the following characters will be of color #F56. Until the following $ with 3 hex char it is using this…
Syl
  • 3,719
  • 6
  • 35
  • 59
2
votes
2 answers

Accessing objects in a client server setup

I am wondering if an idea i have in mind is possible in object oriented programming.Let us say i have a client (A) on a certain ip address i.e 192.168.1.105 and a server (B) on ip address 192.168.1.101. Would it be possible to access objects in…
Gandalf
  • 1
  • 29
  • 94
  • 165
1
vote
3 answers

Concept: Is mongo right for applying schemas?

I am currently in charge of checking wether it is valuable for one of our upcoming products to be developed on mongo. Without going too much into detail, I'll try to explain, what the app does. The app simply has "entities". These entities are…
Jannick
  • 2,094
  • 3
  • 17
  • 21
1
vote
1 answer

jquery grouping concept in asp.net

Hi i have two tables in a form it need to validate them individually in jquery.When i click on submit1 it should validate only table1, when i click on submit2 it should validate only table 2. right now it validating both at same time i need…
Phanindra Kumar
  • 171
  • 3
  • 16
1
vote
1 answer

How to build API handle Concurrency Request

I have been develop API using asp.net with C# back-end code. i would like to understand more concept how to make the API support more client to call, It's because i want to have experience the same that able to like twitter. Do you guys have any…
Herman
  • 2,832
  • 6
  • 25
  • 37
1
vote
1 answer

Why do we use two different loop variables while sorting an array using merge sort?

I was learning to merge sort an integer array, when I noticed that while copying the sorted array elements to the original array, we need two separate loop variables to run simultaneously, while the values at those indices are copied to the original…
1
vote
1 answer

test class type without specifying template argument in c++20

I would like to select instance by type while iterating via std::apply in a std::tuple. Since I have multiple times the same class in my tuple I can not just use std::get Is there a way to express that I want all the variant of A instead of…
Deub
  • 23
  • 4
1
vote
1 answer

Trouble defining a Nim concept with an auto type inside

I'm having trouble defining a concept with an auto type inside. It looks like Nim is complaining that type T = auto becomes untyped. Here is a minimal example (run it online here) taken basically from from the docs): import sugar, typetraits type …
schneiderfelipe
  • 375
  • 1
  • 8
  • 19
1
vote
0 answers

Specify output_iterator concept as function argument within a concept

I am trying to write some example of a concept that requires implementing a "read" method. This "read" method would take a number of bytes to read and an output iterator to write the data. So far it looks like this: template concept…
domtop
  • 41
  • 4
1
vote
1 answer

Writing Asp.net web forms Application URL Like Asp.net MVC (that uses Razor ) URL

Greeting, pardon my maybe non important question, I am just trying to redecorate URLS that I am using in my Asp.net Web Forms application to be like Asp.net MVC apps that uses razor , the first step I've done is to remove the aspx successor and I am…
Khalid
  • 343
  • 3
  • 16
1
vote
1 answer

Clean static interface with C++20 concepts

I was trying to create a static interface using C++20 concepts, and the following code seems to do the job: template concept FooConcept = requires { static_cast(&FOO::operator()); static_cast
fdev
  • 127
  • 12
1
vote
0 answers

Flutter: The argument type 'LayoutGrid' can't be assigned to the parameter type 'Widget?'.dartargument_type_not_assignable

How to assign LayoutGrid which is from the flutter package Flutter_layout_grid to Widget? I think this error is due to null safety and cant figure out how to make conversions for that. Widget? layout = LayoutGrid( columnGap: 12, …
Shubham D
  • 21
  • 3
1
vote
2 answers

Can't figure out MPS error: "Child in the role X.Y does not belong to the concept X"

I'm new to MPS, so this may be a stupid question, but I can't find a solution anywhere. I'm defining two DSLs, where the first one is going to depend on the second. I've defined a portion of the first language and so far so good. I have a bunch of…
Noah
  • 47
  • 6