Skip to main content

All Questions

Tagged with or
-1 votes
0 answers
103 views

In my Swift iOS project, I need to send an empty array as parameter in my Alamofire API request. As encoding method, I have to use: encoding: URLEncoding(arrayEncoding: .indexInBrackets) When I check ...
1 vote
0 answers
168 views

With Doctrine ORM I see recommendations to call toArray() on a collection before iterating over it when removing elements. Is this really necessary and why? I have a dossier entity with a One-to-Many ...
Best practices
1 vote
0 replies
51 views

I am working with a dataset where I’ve extracted features from another set of datasets for a classification task. These features are numerical, but some of the features are represented as an array of ...
0 votes
0 answers
79 views

I'm configuring Prestashop 1.7.8.11 and when I click in the checkout for process to payment, I get this error: in 5e15b4d1179cdfd15539bcc9dbefe763da3b3d2b_2.file.cart-summary-totals.tpl.php line 77 at ...
1 vote
0 answers
339 views

I'm looking for a way to display my array results in a grid. This the code I'm currently using to display my results: <div class="container-fluid"> <% for(var i=0; i<path.length; ...
5 votes
0 answers
239 views

I implemented a simple 2D array wrapper using a single contiguous std::vector and, benchmarked it against std::vector<std::vector<>>. Surprisingly, array2d is just slightly faster! #...
1 vote
0 answers
97 views

Premise I have a MultiDatePicker bounded to a closed range of the current month. In addition, I have a datePicker representing a "Start Date" that is the current day. I want the Day of the ...
4 votes
0 answers
713 views

I'm storing arrays of integers as json in a mariadb (10.3.23) table : SELECT tag_list FROM dw.final_document LIMIT 1 ; Result : [903, 1258, 1261, 393] To retrieve entries matching a ...
0 votes
0 answers
125 views

I am implementing an ordered list that automatically inserts elements in the correct sorted position using a Comparator. The list is built from scratch (not using java.util.ArrayList) and uses an ...
0 votes
0 answers
27 views

I am trying to fetch a comma separated list of coordinates from a database and then show them on a Mapbox GL JS map. By using the following FeatureCollection, I am able to show a Line between ...
4 votes
0 answers
425 views

I've been investigating the assembly output for a simple C++ loop involving a const array and const size, and I've encountered peculiar version-specific behavior with GCC on Compiler Explorer. My ...
0 votes
0 answers
78 views

I'm trying to replicate a DFA/NFA machine with printing transitions. And am reaching errors when attempting to access values from my preset array and assign them to the newState variable. So far I've ...
2 votes
0 answers
168 views

For background, I'm building a library (that is allowed to use C++23 in its interface and implementation), and as part of its underlying building blocks, I've defined a bounded integer abstraction ...
1 vote
0 answers
219 views

A BinaryInteger<T> is an integer of some bit-length. I'd like to use it to index an array. Casting to an int isn't possible - I have to use int.CreateTruncating(i) (or similar) at run-time to ...
0 votes
0 answers
121 views

Suppose I have the following functions: static bool fun1(IOPin* obj) { } static bool fun2(IOPin* obj, const bool& arg) { } I want to be able to store pointers pointing to each of these functions ...

15 30 50 per page
1
2 3 4 5
1524