Skip to main content
1 vote
1 answer
68 views

From this answer and similar blog posts I've used the decorator method to do data validation when creating a class. But now I need to validate one attribute relative to another. E.g.: class Planet: ...
thosphor's user avatar
  • 2,823
Advice
0 votes
3 replies
65 views

Just started learning JSON with C# and i was wondering how many objects you could nestle into another object? My best guess would be 255. Also, is this a common practice in actual websites? I have not ...
Cary Sayer's user avatar
-3 votes
2 answers
96 views

I'm collecting an array of data, saving it as array of custom objects, then trying to map it to a table. I have a constructor for my object type: function cellData(x, value, y){ this.x = x; ...
Ryan Tanner's user avatar
4 votes
2 answers
143 views

I am working on a Tic_Tac_Toe project. I have an object (gameBoard) that contains an array, then I have another object that i want to create a player from to play on the board, then I have a function ...
Blazing Jas's user avatar
Advice
0 votes
1 replies
81 views

To start, here is an example: When a messenger app wants you to share your contact information, they assign you a random 4-6 word combination (e.g. TIGER-TRUCK-FIRES-GHOST-TILES) that acts as a human ...
jakeprime's user avatar
-2 votes
1 answer
143 views

I have the following code that contains an array of different book titles in subsequent objects. The code I have that filters the array is fine and returns the right information. However is there a ...
FA_Cup_Winner's user avatar
Best practices
0 votes
3 replies
69 views

Does const obj = Object.create(null) create less overhead than just const obj = {} ? Maybe Object.create(null) even worse for performance? If i don't need to have properties like hasOwnProperty from ...
marigold's user avatar
Advice
0 votes
0 replies
58 views

Refer to object-relational-developers-guide/Nested Table Locators ‘For large child sets, the parent row and a locator to the child set can be returned so that the child rows can be accessed on demand; ...
titi zarif's user avatar
Advice
0 votes
3 replies
96 views

Please see following statements and let me know is it possible to have ref rowid same as other fields in mentioned select without adding table object join which is t_tab_object here because ref is ...
titi zarif's user avatar
Best practices
0 votes
5 replies
106 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
1 vote
1 answer
66 views

I am having problems getting the php 'foreach' to work with a Stripe object. i can run the following command which gives me expected results: error_log(gettype($event->data->object->metadata))...
edwardsmarkf's user avatar
  • 1,443
7 votes
5 answers
910 views

I have an object with nested properties. I want to update those nested properties by using an array of elements that reflect the nested sequence of the object. Also if a property does not exist, then ...
a6e b0a's user avatar
  • 91
0 votes
0 answers
52 views

Currently I am working on Object Detection model. I have trained a model, want to convert to ONNX format for real time inference and deploy in the field but I am unable to determine how to convert to ...
Jiwan Rai's user avatar
1 vote
1 answer
73 views

I already know that that keyof TCreate produces literal union of its keys in the type TCreate. But I’m confused about what TCreate[keyof TCreate] represents. Why do we write it this way? How does it ...
Ayush Mishra's user avatar
1 vote
2 answers
231 views

nfc_manager was recently updraded to 4.0.2. In the update, data types changed for NfcTag, as it previously was a Map<String,dynamic>, but is now an Object. I am now unable to obtain the ...
user30926822's user avatar

15 30 50 per page
1
2 3 4 5
4334