Skip to main content
Filter by
Sorted by
Tagged with
4 votes
2 answers
132 views

For background, I am working to create a version of minesweeper that runs in the terminal to become more familiar with coding bigger projects in c. I am coding in VScode, to run on a Linux server (...
Librarian of Stars's user avatar
4 votes
2 answers
77 views

I have a search function on my site that takes a text input and searches "documents" for a matching string of text, then displays the matching items in a list. This works perfectly. I just ...
dead-in-a-damn-ditch's user avatar
0 votes
2 answers
124 views

I have a table with data structured like this. Each product ID has a list of element IDs--for each element, there is a dictionary including a list of elements and their assigned IDs. Not every element ...
Tyler Moore's user avatar
-4 votes
2 answers
97 views

I am trying to produce a multi-colored cube in perspective, a Minecraft logo, on an HTML canvas. This is part of my code for producing the top face of that cube: for (let i = 0; i < 16; ++i) { ...
Ignacy's user avatar
  • 17
Best practices
0 votes
5 replies
91 views

I have an object db that has one field containing SKU's that correspond to another object that contains different venues. db.SKU = [1002,1005,1001,1008,1007]; I then have another object listing the ...
Powl_London's user avatar
0 votes
1 answer
83 views

The operation: operation.recordMatchedBlock = {recordID, result in switch result { case .success(let record): print("RecordID: \(recordID), record: \(record)") let ...
valentine's user avatar
1 vote
1 answer
51 views

I am doing an assignment on matrices and gradients, where the final answer must be expressed as a row vector. vr = np.array([1, 2, 3]) vrr = np.array([[1, 2, 3]]) Mathematically, a row vector should ...
Louis Chua's user avatar
-8 votes
0 answers
113 views

I need to create an arraylist, that contains an array of objects to act as the rows of a table, like this: ArrayList<Object[]> rows = new ArrayList<>(); each of these Object[] arrays will ...
Luna's user avatar
  • 1
-2 votes
0 answers
82 views

I have this part of my code where I have an array and want to compare it with other constant arrays, to find a match. As I am working with Multi-dimensional arrays, I decided to store these constants ...
grdj's user avatar
  • 1
Advice
0 votes
1 replies
63 views

I have this json data which I need to convert into an object. The json has a parent/child relationship instead of actual children object in the parent object. { "queryType": "tree&...
ads's user avatar
  • 1,743
-3 votes
0 answers
47 views

I have two arrays (one going from 0-49 listing every US state, and another one going from 0-49 listing the US capitals.) and I need to binary search the second array to match a selected US state to ...
Waluigi Apparition's user avatar
Best practices
0 votes
2 replies
33 views

I've been researching this for a day and I've found a lot of conflicting information on multiple websites. I'm writing a simple test that will allocate and initialize a char** (array of strings, char*...
Maryann's user avatar
  • 39
0 votes
2 answers
27 views

I am attempting to use a single element of an array, when creating a string message, but it is using both elements, concatenated by a space, whether I use $myArray[0] or $myArray[1]... # Multiple ...
Todd Powers's user avatar
Advice
0 votes
1 replies
58 views

So in iOS 26, the search field changed a bit where it can be at the bottom. While other apps have the search in the nav bar, wallet has it in the toolbar, so when it's pressed it changes to a ...
Chefski's user avatar
  • 43