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 Someoneā
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #286411 |
AFAIK winged edge just helps with traversing in an efficient manner. The implementations that I saw specifically added handling holes in faces. (more) |
— | over 2 years ago |
Comment | Post #286411 |
I think your question approaches this from the wrong angle. Why do you want to have a watertight mesh in the first place? The reason might give better guidance to the answers.
To throw something else into the fray: A good solid modelling abstraction that I have used, relies on binary space partiti... (more) |
— | over 2 years ago |
Comment | Post #283558 |
Another caveat with the loop is trailing lines without newline. read will exit because it hit EOF, so you have to check if `$line` is empty after the loop. A simple demonstrator: `echo -n $'a\nb' | (while read -r line; do echo $line; done; echo "After: $line")` (more) |
— | over 3 years ago |
Edit | Post #281057 |
Post edited: |
— | almost 4 years ago |
Edit | Post #281057 | Initial revision | — | almost 4 years ago |
Answer | — |
A: How to prompt a user for an expanded variable in Bash? How about this for bash: ``` #!/bin/bash echo "What is your web application root?" read webapplicationroot webapplicationroot="$(envsubst <<< "$webapplicationroot")" echo webapplicationroot=$webapplicationroot ``` `envsubst` does the environment variable expansion for you. For examp... (more) |
— | almost 4 years ago |
Comment | Post #281055 |
Also: When `${some_medium_directory}` is not an env var, where does it come from? (more) |
— | almost 4 years ago |
Comment | Post #281055 |
How would you want to take input from the user without using `read` in bash? What is so bad about `IFS='' read ...` that you would like to use another language instead?
Is there more to your solution than simply setting one variable from the values of another? Why is `web_application_root="${HOME}"`... (more) |
— | almost 4 years ago |
Edit | Post #280536 |
Post edited: Simplified code, using Lundin's comment; added limitations |
— | almost 4 years ago |
Comment | Post #280536 |
@Lundin Should have thought about this a bit longer. This gets rid of the whole ifdef switching. (more) |
— | almost 4 years ago |
Edit | Post #280536 |
Post edited: |
— | almost 4 years ago |
Edit | Post #280536 |
Post edited: Added compiler output |
— | almost 4 years ago |
Edit | Post #280536 | Initial revision | — | almost 4 years ago |
Answer | — |
A: Scheme for cross-platform warning control? Since C++11 the standard mandates the `Pragma` operator which is intended for use inside macros. With this you can improve the situation by wrapping all this compiler switching into a central macro definition (MSVC is untested!): ``` // see https://stackoverflow.com/a/45783809 #define DOPRAGM... (more) |
— | almost 4 years ago |
Comment | Post #279715 |
Thanks for the comment @canina, I think thats it on my end too. (more) |
— | about 4 years ago |
Comment | Post #279715 |
Hm, something is very special about my question over there. I cannot open my notification inbox on that page but I can on every other one. ~~Maybe that also 500s?~~ The debugger console says: `GET https://software.codidact.com/assets/community/software.js
[HTTP/2 404 Not Found 42ms]`
(more) |
— | about 4 years ago |
Comment | Post #279712 |
Huh, could you elaborate? (more) |
— | about 4 years ago |
Comment | Post #279714 |
So you're saying this is by design? I find that a bit confusing since your name was nowhere to be found in the actual question pages. (more) |
— | about 4 years ago |
Edit | Post #279713 |
Post edited: |
— | about 4 years ago |
Edit | Post #279713 | Initial revision | — | about 4 years ago |
Question | — |
Allow filtering search for only Meta (or any other category) When I open the search, I can only search across all categories of this site. I'd like to filter down the search results to only Meta (or Code review). (more) |
— | about 4 years ago |
Edit | Post #279712 | Initial revision | — | about 4 years ago |
Question | — |
Posts list shows luap42 instead of actual author The current two top questions at https://software.codidact.com/ ( https://software.codidact.com/q/279699 and https://software.codidact.com/q/278674) are marked as coming from luap42: Screenshot of top of question list However, when clicking on them, they are actually by other authors. What is g... (more) |
— | about 4 years ago |
Comment | Post #278809 |
One point that seems to be missing: Command line parameters have a platformdependent limit on their length. You can nearly read unlimited input. This becomes very important when you need to handle many files and cannot rely on xarg or need to work in one run. (more) |
— | about 4 years ago |
Comment | Post #277306 |
@Monica Those are either some large files or millions of files. If it is the former, did you look into `git lfs`? (more) |
— | about 4 years ago |
Comment | Post #278646 |
Looks like this could be broken due to an unsupported workflow: https://github.com/CocoaPods/CocoaPods/issues/2672#issuecomment-176998564 The dev team basically said: We don't need this feature so you don't too. (more) |
— | about 4 years ago |
Edit | Post #278646 |
Post edited: |
— | about 4 years ago |
Edit | Post #278646 |
Post edited: |
— | about 4 years ago |
Edit | Post #278646 |
Post edited: |
— | about 4 years ago |
Edit | Post #278646 |
Post edited: |
— | about 4 years ago |
Edit | Post #278646 |
Post edited: |
— | about 4 years ago |
Edit | Post #278646 |
Post edited: |
— | about 4 years ago |
Edit | Post #278646 | Initial revision | — | about 4 years ago |
Question | — |
pod 0.1.0-dev not accepted for required version 0.1.0 (without -dev suffix) I have following setup: 1. flutter plugin with an example app 2. the plugin depends on a native library (`flutterplugin.podspec` contains `s.dependency 'native-lib', '0.1.0'`) 3. for local development I pull in the native library in the example app `Podfile` via `pod 'native-lib', :path => '../... (more) |
— | about 4 years ago |