logic
What options do I have when extracting business logic from a Rails app?
I want to extract the business logic from the logistic system coded in the backend of a Rails app, as it is becoming more and more complex. I\'m pretty sure there are better options than hard-coding l[详细]
2023-04-01 22:09 分类:问答Needing help with JSON problems
i\'m with this problem at PHP when i\'m try to convert an array to an json I have an recursive function that build the array to encode it on jSon format.[详细]
2023-04-01 15:07 分类:问答C converting an int to a bitshift operator
I can only use these symbols: ! ~ & ^ | + << >> Here is the table I need to achieve: input | output开发者_JS百科[详细]
2023-04-01 10:52 分类:问答Convert First-Order Logic to CNF
I\'m endeavouring t开发者_Go百科o use MiniSat to solve a constraint satisfaction problem. In first-order logic the problem is easily represented by a few discrete-domain variables and some predicates.[详细]
2023-04-01 08:05 分类:问答2 for 25 problem on Magento
OK I have a shop and would like to use shopping cart rules to add, it 2 products over a certain price are in the basket they are reduced to a set price.[详细]
2023-04-01 07:56 分类:问答help with logic flow for database updates
I have a database table with the following fields... key, db_name, string_ID_in_DB, text1, text2 text1 is full of duplicates and I would like to show开发者_如何学C it once, as the users need to pop[详细]
2023-04-01 06:27 分类:问答Count the number of bits set using only bitwise operations [duplicate]
This question already has answers here: 开发者_开发技巧 Closed 11 years ago. Possible Duplicate: Best algorithm to count the number of set bits in a 32-bit integer?[详细]
2023-04-01 02:16 分类:问答Replacing a substring with another string in C
I am writing a code to replace all MACROS with its value. If my macro MAX has a value 1000, And in the code, it must be replaced with 1000.(I am assuming a case that if the MACROS are the first word i[详细]
2023-03-31 20:18 分类:问答C Using bitwise operators tell if binary number has all evens set to 0 [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: Find if every even bit is set to 0 using bitwise operators[详细]
2023-03-31 19:56 分类:问答Position of a puzzle piece in Flash Jigsaw puzzle
I have a 4*4 grid. I have 16 MovieClipsscattered around the grid. Each MovieClip is 40*40 and they are draggable. The user can drag and drop the MovieClips into the grid. Each clip has a correct posit[详细]
2023-03-31 18:40 分类:问答