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 Lundin‭

Type On... Excerpt Status Date
Comment Post #281475 @Istiak‭ The latest version, since it auto updates.
(more)
about 4 years ago
Comment Post #281784 @Monica Cellio‭ No but they will be plenty and risk to drown out all the other content because of it. Just look at Power Users right now, someone dropped 10 or so questions about MS Word there. The same will happen when we migrate all office suite-related questions from here to there.
(more)
about 4 years ago
Comment Post #281784 Better wait until their scope has settled. If we are not launching an office suite community then it would make lots of sense for Power Users to create a category for it.
(more)
about 4 years ago
Comment Post #281640 This post regarding scope is still open for community suggestions [Community feedback: What type of questions can I ask here?](https://software.codidact.com/posts/278648) Or we could start new ones. I suppose it might be easier to overview (and archive) if we post one question per issue instead of th...
(more)
about 4 years ago
Comment Post #281640 Also, I still think the scope of this site is still too vague for anyone to moderate it. There's a lot of corner cases which the community has yet to come up with a consensus about: tool/software recommendations, asking "where to find documentation" questions, homework dump policy, "how is x designed...
(more)
about 4 years ago
Comment Post #281640 What about the discussion about the "curate" privilege from meta [here](https://meta.codidact.com/posts/281579)? If it is something similar to "20k+" on SE rather than full moderator duties, then it might be easier to get volunteers. For example, I probably don't mind chewing through edit/close revie...
(more)
about 4 years ago
Comment Post #281655 Generally, we shouldn't use the worst cases of cursing such as the F word because those collide with the "be nice" [code of conduct](https://software.codidact.com/policy/code-of-conduct). But in some cases the name of programming languages _are_ curses such and then we need to be able to refer to the...
(more)
about 4 years ago
Comment Post #281606 You simply can't discuss proper program design in vague and abstract terms - that's nothing but a source of pointless & badly designed abstraction layers. _What_ is the data that's being passed around and _why_ does it need to be passed around? Does each node know the destination or is it the server ...
(more)
about 4 years ago
Comment Post #281520 @dmckee‭ Hmm yeah I just realized I'm not quite up to date with C++. I was thinking `auto_ptr` but forgot there's a better alternative nowadays. Anyway, plain old manual allocation would do the trick too.
(more)
about 4 years ago
Edit Post #281565 Initial revision about 4 years ago
Answer A: Etiquette for posting comments
Regarding "snark" - it is very hard and subjective to define. Our overall code of conduct says "be nice", but where do you draw the line. On SO, general gruff attitude tends to be treated very differently from moderator to moderator. That's obviously far from ideal. We would have to be smarter abo...
(more)
about 4 years ago
Comment Post #281528 @luap42 Ok so I found one of the old posts I wrote at those forums. I've updated it a bit and posted a proposal on meta.codidact here: [Giving question feedback in private - a moderating system to reduce conflicts](https://meta.codidact.com/posts/281546)
(more)
about 4 years ago
Comment Post #281539 "I can see that what needs to be said has been, and there's no need to join in" We could also move all feedback to a special tab which you only visit in case you are actually interested in helping the OP.
(more)
about 4 years ago
Comment Post #281539 There's yet another aspect to keeping comments in private. A whole lot of users _don't_ want to be moderators. They don't want to teach random people on the Internet how to spell, how communicate with other humans, how to use the site and so on. They just want the crappy post gone from "their" site. ...
(more)
about 4 years ago
Comment Post #281539 "or being dog-piled privately by six" The way SO does it: get down votes, wait a few minutes, get the first public comment, wait a few minutes, more negative comments, wait a few minutes, close/down votes keep coming, wait a few minutes, lots of negative comments half of them repeating what's already...
(more)
about 4 years ago
Comment Post #281528 @luap42 There were many such discussions on the old forums, though I'm not sure if we came up with any consensus.
(more)
about 4 years ago
Comment Post #281305 I get it every single time I do an edit now. It seems to be getting worse. Can we just disable this whole crap until it gets fixed? This is going to scale incredibly poorly when the sites grow. Then you'll have hundred posts like this per day.
(more)
about 4 years ago
Edit Post #281519 Post edited:
about 4 years ago
Comment Post #281528 Also related, what happened to the [Arbitration & Review Panel](https://meta.codidact.com/posts/277346)? I guess it is meant to handle more serious issues than deleted comments, but similarly to my idea above, criticism against moderator decisions needn't necessarily be posted on public meta. It cou...
(more)
about 4 years ago
Comment Post #281528 Related to this - in them early discussion stages of Codidact, I proposed that all feedback about bad questions should be given privately, rather than using the public comment field, since it is a well-known source of anger and drama. People are prone to respond bad to criticism in general, but espec...
(more)
about 4 years ago
Edit Post #281519 Post edited:
about 4 years ago
Comment Post #281520 @dmckee Smart pointers aren't necessarily smart in a multi-threaded context though. Because that makes heap allocated objects behave as if they have local scope. Not what you want - suppose you create a thread from another thread, then the creator finishes and goes out of scope. The smart pointer wil...
(more)
about 4 years ago
Edit Post #281520 Post edited:
about 4 years ago
Edit Post #281520 Initial revision about 4 years ago
Answer A: Write to same file from multiple threads
Writing to the file on the HD is your massive bottleneck no matter how many threads you throw around. The limit is the physical memory access speed, not processing power. And since it is such a bottleneck, you should have a thread solely focusing on this job, similar to what @dmckee‭ suggested. N...
(more)
about 4 years ago
Comment Post #281305 It's still there, more frequent than ever it seems. Just got it again after posting [this answer](https://software.codidact.com/posts/281518). Maybe it's related to formatting or how long you spend typing the answer? That one was very long, so I kept the browser upon for a wee while. By the way, may ...
(more)
about 4 years ago
Edit Post #281519 Initial revision about 4 years ago
Answer A: Is strcpy dangerous and what should be used instead?
Summary (TL;DR) - Using `strcpy` directly on non-sanitized user input is bad, otherwise it's fine. - `strncpy` is a dangerous function that should be avoided. Its presence in your source is a much greater danger than buffer overruns. - If portability and backwards-compatibility are no concer...
(more)
about 4 years ago
Edit Post #281518 Initial revision about 4 years ago
Question Is strcpy dangerous and what should be used instead?
I heard rumours that the `strcpy` function is dangerous and shouldn't be used. Supposedly it can be exploited to create buffer overflows somehow. And indeed when I compile my C code in the admittedly non-conforming Visual Studio C compiler, it warns me about using `strcpy` among other functions, ...
(more)
about 4 years ago
Comment Post #281511 What's the question? Is there a software development problem you are trying to solve? Are you designing a web browser? Are you reverse-engineering one?
(more)
about 4 years ago
Comment Post #281484 I guess they mean that you didn't have to declare the type because you are handed a default size integer. This was at least the case of B, BCPL and very early pre-standard C.
(more)
about 4 years ago
Comment Post #281474 @qsmodo‭ Indeed there are lots of applications where the primitive types are never used and it is common to ban their use in coding standards. Proper introduction courses will address stdint.h. Alternatively you could use the peculiar rules from _Modern C/Gustedt_, where the recommended types to use ...
(more)
about 4 years ago
Edit Post #281474 Post edited:
about 4 years ago
Comment Post #281255 Seems like it is more prone to happen when you edit your own answers. I just got it too while logged and have to do it twice as well.
(more)
about 4 years ago
Comment Post #281475 (Using Firefox).
(more)
about 4 years ago
Edit Post #281475 Post edited:
about 4 years ago
Edit Post #281475 Post edited:
about 4 years ago
Edit Post #281475 Initial revision about 4 years ago
Question Code formatting of previews
I just noticed that I'm not getting code formatting in the preview window when I write an answer or make an edit. This is very useful to have. Not sure if it's a bug so I'm posting this as a feature request. I'm not getting code formatting when I use language-specific formatting tags: ```c++ t...
(more)
about 4 years ago
Edit Post #281474 Post edited:
about 4 years ago
Comment Post #281305 Link to the post that prompted for Captcha before I could post the answer: https://software.codidact.com/posts/281464#answer-281474. This contained code, but C (with C code formatting tags), not PHP. I'm always logged in to Codidact. Using Firefox.
(more)
about 4 years ago
Comment Post #281305 This keeps happening, it is very annoying. I just got this after a post where I was writing an answer, then went to edit the question post using the same browser window. Since I didn't trust the site to save the draft I was writing, I made a copy/paste of it first. When I returned to the answer, the ...
(more)
about 4 years ago
Edit Post #281474 Initial revision about 4 years ago
Answer A: Warn of implicit cast in a function's arguments with GCC?
You can use `-Wconversion` but you should be aware that it is very prone to false positives. It's a good flag to turn on during code review etc to shake out a few minor issues, but it's not a flag you should leave on permanently. gcc isn't very good at so-called static analysis in the first place....
(more)
about 4 years ago
Edit Post #281464 Post edited:
about 4 years ago
Comment Post #281464 Please note that there is no such thing as "implicit casting". There are implicit and explicit _conversions_. A cast is always an explicit conversion done by the programmer, by using the cast operator (). There is no casting present in your example.
(more)
about 4 years ago
Comment Post #281434 Your question is about gaming terminology, not software development. If I'm writing a microcontroller program for a dishwasher, then that doesn't mean that it's suddenly ok for me to start asking questions about dishwashers here. Such questions are about the functionality of the specific application ...
(more)
about 4 years ago
Comment Post #281434 This has absolutely nothing to do with software development. Kindly stop asking blatantly off-topic questions.
(more)
about 4 years ago
Edit Post #281434 Question closed about 4 years ago