Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Activity for Josh Hyatt‭

Type On... Excerpt Status Date
Comment Post #286411 @#8046 Thank you for the feedback. I've updated with additional relevant tags.
(more)
over 2 years ago
Edit Post #286411 Post edited:
over 2 years ago
Comment Post #286411 Interesting. I feel this applies more specifically to isosurfaces than generalized meshes, but it's an interesting idea that could possibly extend to my use case.
(more)
over 2 years ago
Comment Post #286411 I don't know the Codidact policy for comment response delays, and I haven't found any useful info after searching the site. I've started a meta thread [here](https://meta.codidact.com/posts/286436). If you'd like to comment or answer, I'd be interested to hear your thoughts!
(more)
over 2 years ago
Comment Post #286411 "Watertight mesh" is a well-known (standard) term for what I'm describing in various CAD programs. Unfortunately there doesn't seem to be a dedicated computer graphics or CAD Codidact subsite where those familiar with the term might see this. Indeed, a closed polyhedron also fits this description (an...
(more)
over 2 years ago
Edit Post #286411 Initial revision over 2 years ago
Question Watertight Mesh Representation
A watertight mesh is one which does not have holes, and for which each face has a designated inside and outside. Such a mesh can be "tetrahedralized", has a defined volume, and can be an operand in a polyhedral boolean operation. I'm looking for a method to represent such watertight meshes that re...
(more)
over 2 years ago
Comment Post #285744 Very detailed, useful answer to each part of the question. I appreciate that you pointed out that an unsized iterable can't be used to create a fixed-size array without an intermediate variable-length list.
(more)
almost 3 years ago
Edit Post #285742 Initial revision almost 3 years ago
Question Kotlin FloatArray from Iterable<Float>
Suppose I am using a Java API from Kotlin and I want to call a function that takes a `FloatArray` (represented as `float[]` in Java), and I have an `Iterable` as my input data type. To be more precise, I have a `MutableList>`, and I'm feeding it to the function like this: ```kotlin val myList: Mu...
(more)
almost 3 years ago
Comment Post #285579 @#53305 I did forget about memory-mapped I/O. In that case, am I correct in assuming that C must be informed that these memory locations should be considered `volatile` to avoid implementations potentially optimizing away reads or writes from them? And is memory-mapped I/O the only way to perform I/O...
(more)
almost 3 years ago
Comment Post #285580 @#8056 Thank you for the insight. I've updated the question to try and better reflect the intent accordingly.
(more)
almost 3 years ago
Edit Post #285579 Post edited:
Clarify question intent and provide further examples
almost 3 years ago
Comment Post #285580 My question indeed is not concerned with calling conventions unless I am misunderstanding the term. I understand calling convention to be a protocol specific to a particular build environment that ensures proper communication across function calls. Let me try to clarify: It says [here](https://en.cp...
(more)
almost 3 years ago
Comment Post #285580 This is certainly a good answer and packed with useful information, and I'm hoping to get more theoretical information than practical. For example, with that `extern` function declaration, from the standard's perspective, what happens when I make a call to `foo`? If the standard is unconcerned with t...
(more)
almost 3 years ago
Edit Post #285579 Initial revision almost 3 years ago
Question C Language Standard Linking Specifications
What (if anything) does the C standard have to say about linking objects? My guess is that, because C only defines language->behavior rules, it completely ignores any potential intermediate form the code may take. Obviously, C doesn't guarantee anything about the executable itself because it may well...
(more)
almost 3 years ago
Edit Post #285225 Initial revision almost 3 years ago
Question Behavior of Pointer Arithmetic on the Stack
Consider the following code: ``` #include int main() { int a = 5; int b; ++(&b + 1); printf("%d\n", a); return 0; } ``` The output is as expected: ``` 6 ``` By creating and incrementing a pointer to `b`, I'm able to access `a`, since `b` is below `a` on the sta...
(more)
almost 3 years ago
Comment Post #282155 Well-written answer. Thank you for adding the additional example for identifier validation, it's an extremely relevant addition.
(more)
over 3 years ago
Comment Post #282143 @elgonzo I've verified your idea. I've defined a regex that I want to match all identifiers that could be used to identify assets within the json, and from there I can specify a schema that I want asset descriptions to match. If you post this as an answer, I'll accept it. Thanks!
(more)
over 3 years ago
Comment Post #282143 @elgonzo Would you go ahead and post this as an answer while I verify it? This looks like exactly what I was asking for.
(more)
over 3 years ago
Edit Post #282143 Initial revision over 3 years ago
Question Validate All Object Properties with JSON Schema
I'm writing a JSON schema to validate asset files for a program. The JSON I need to parse is structured so: ```json { "jobs": { "software-developer": { "job-description": "sw-dev.md:0", "pay": 80000 }, "sales-bro": { "job-description": "sales-bro", "pay": 190000 } }, "people": ...
(more)
over 3 years ago