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 |
---|---|---|---|---|
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) |
— | almost 2 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) |
— | over 2 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) |
— | over 2 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) |
— | over 2 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) |
— | almost 3 years ago |