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 InfiniteDissentâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #293563 | Initial revision | — | 15 days ago |
Answer | — |
A: Why force designation of a remote main branch? As far as I can see, the GitHub documentation does not refer to a "primary" branch but it does refer to a "default" branch. This may seem like verbal nit-picking but I think it's an important distinction. The default branch isn't necessarily "more important" than other branches, it is just the branch... (more) |
— | 15 days ago |
Edit | Post #293550 |
Post edited: Clarify first paragraphs refer to obvious/off-topic/commercial spam |
— | 15 days ago |
Comment | Post #293550 |
That's more or less what I was aiming for in the final paragraph. Maybe it deserves more prominence though. (more) |
— | 15 days ago |
Edit | Post #293550 | Initial revision | — | 16 days ago |
Answer | — |
A: How to handle correct answers that also include spam? In my opinion, there is a single appropriate response to any incident of obvious, commercial, off-topic spam: an immediate, unconditional, one-strike-and-you're-out, permanent ban of the user and the deletion of all their content. There is no logic in trying to change the user's behaviour with war... (more) |
— | 16 days ago |
Edit | Post #293472 | Initial revision | — | about 1 month ago |
Answer | — |
A: Iterating over pixels in QImage (Qt): which method adapts better for any image size? If your only concern is overflowing the 64-bit `pixelCount` value, you can safely forget about it. By the time you are processing an image with 18 quintillion (`2^64`) pixels, you will have bigger problems than a simple loop counter. The largest images produced so far are approaching 1 terapixel (`10... (more) |
— | about 1 month ago |
Edit | Post #293422 |
Post edited: Add in alternative using `git -c` instead of environment variable |
— | about 1 month ago |
Edit | Post #293422 | Initial revision | — | about 1 month ago |
Answer | — |
A: Get global gitconfig path This works for me in both `bash` and `zsh` on Debian 12. I can't guarantee it will work the same on every platform and shell. ```bash EDITOR=echo git config --global --edit 2>/dev/null ``` or, if you prefer not to rely on environment variables: ```bash git -c "core.editor=echo" config --g... (more) |
— | about 1 month ago |