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.

Posts by Estela‭

18 posts
85%
+10 −0
Q&A Destroy std::mutex referenced but not owned by std::unique_lock?

Is it correct to destroy a mutex which is referenced but not owned by an unique_lock as in this code? { std::unique_ptr<std::mutex> mutex = std::make_unique<std::mutex>(); std::u...

1 answer  ·  posted 3y ago by Estela‭  ·  last activity 3y ago by Angew‭

Question c++
83%
+8 −0
Q&A Is it correct to run code inside a method whose object has been destroyed?

Consider an object for which a method is invoked. Beyond certain point the method no longer accesses this at all. No read/writes of non-static members. No invocation of non-static methods. Is it ...

1 answer  ·  posted 3y ago by Estela‭  ·  last activity 3y ago by Hyperlynx‭

Question c++ multithreading
83%
+8 −0
Meta How to inhibit auto link generation?

I have a post where I mention a script named dead.sh Ok... now I have two posts like that. But that is not a website. It is a filename, and not one reachable through an URL. How can I inhibit aut...

1 answer  ·  posted 3y ago by Estela‭  ·  last activity 3y ago by Moshi‭

81%
+7 −0
Q&A Multiple catches with almost the same code.

I find myself often writing code like this. try { // code } catch( FailedReadException const & ex) { file.close(); std::cerr << "Read failure " << ex.readFailure() <&...

2 answers  ·  posted 3y ago by Estela‭  ·  edited 3y ago by Ayxan Haqverdili‭

81%
+7 −0
Q&A SQL timestamp for daylight saving day when clock goes 1 hour back.

On 25th October 2020 in Europe/Berlin clocks where set back from 03:00 AM to 02:00 AM to change from summer time (CEDT) to winter time (CET). Which means there is a 1 hour separation between 02:30...

1 answer  ·  posted 3y ago by Estela‭  ·  last activity 3y ago by hkotsubo‭

80%
+6 −0
Q&A Cast uninitialized variable to (void)

Yes, it is safe unless the variable is volatile. The term used in the C99 standard for the value of an "uninitialized" variable is indeterminate. From C99 standard: Section 6.2.4 Storage duratio...

posted 1y ago by Estela‭  ·  edited 1y ago by Ethan‭

Answer
77%
+5 −0
Q&A How can I find git branches where all branch-local commits are from specific people?

Let's consider the following git graph. The initial commit is 1. The colors identify the authors of each commit. Orange has left the project. Green, Blue and Pink are still active. cha...

posted 3y ago by Estela‭  ·  edited 3y ago by Estela‭

Answer
77%
+5 −0
Q&A Tools for debugging coredumps

For debugging running programs I often use whatever is integrated with the IDE I am using. QtDeveloper right now, but also used Eclipse, Netbeans and others. Most of them just use gdb under the hoo...

0 answers  ·  posted 3y ago by Estela‭  ·  edited 3y ago by Estela‭

75%
+4 −0
Q&A Static and thread_local initialization order

Is there any guarantee regarding initialization of static and thread_local objects? In example, is there any guarantee about the value printed by the following program? #include<iostream> s...

1 answer  ·  posted 3y ago by Estela‭  ·  edited 3y ago by Alexei‭

75%
+4 −0
Meta Do we need more specific up/down vote reasons for Software Development community?

I prefer the current way. Regarding tooltips Experience shows that tooltips can survive a lot of time being obsolete. In SO in meta they have "This answer is useful" and "This answer is not usefu...

posted 3y ago by Estela‭  ·  edited 3y ago by Estela‭

Answer
75%
+4 −0
Q&A Generate SIGSEGV without undefined behaviour.

In order to test that coredumps are generated and that they contain useful information which can be retreived with gdb I need to generate a SIGSEGV. Or anything else which causes a coredump. The co...

1 answer  ·  posted 3y ago by Estela‭  ·  last activity 3y ago by Lundin‭

Question c++ linux gcc
71%
+3 −0
Q&A How to copy a PostgreSQL database to another machine.

I have to debug an error which seems to only happen with some set of data present in our PostgreSQL database. I'd like to copy said database to my local machine so I can perform tests without affe...

1 answer  ·  posted 3y ago by Estela‭  ·  edited 3y ago by Alexei‭

71%
+3 −0
Q&A How to copy a PostgreSQL database to another machine.

On the server I dumped to a file using these commands user@server:~$ sudo -i -u postgres postgres@server:~$ pg_dump databasename > dumpfile Then I copied dumpfile to my machine and executed...

posted 3y ago by Estela‭  ·  edited 3y ago by Estela‭

Answer
71%
+3 −0
Q&A How do I get the error message out of a requests exception?

The documentation for requests.RequestException requests.exceptions This module contains the set of Requests' exceptions. from urllib3.exceptions import HTTPError as BaseHTTPError class...

posted 3y ago by Estela‭  ·  edited 3y ago by Estela‭

Answer
71%
+3 −0
Q&A How to break infinite loop in CTE

I have not managed to make an answer with standard SQL. I've had to resort to using arrays. And I don't have a Microsoft SQL Server RDBMS at hand. So I've done it instead in PostgreSQL. You'll just...

posted 3y ago by Estela‭  ·  edited 3y ago by Estela‭

Answer
71%
+3 −0
Q&A Cast uninitialized variable to (void)

Is it undefined behaviour to cast an uninitialized variable to (void)? Example: int main() { int x; (void)x; return 0; }

4 answers  ·  posted 1y ago by Estela‭  ·  last activity 1y ago by Ethan‭

Question c casting
66%
+2 −0
Meta Etiquette for posting comments

Proposal: Can Include A link to a chat room related to the question or answer. Even if tangentially. I've always found SO to be too dry. Sure, pleasantries are as helpful in a question o...

posted 3y ago by Estela‭

Answer
62%
+3 −1
Meta Is it OK to use abusive content on code?

Yes, that particular post should be marked as abusive and the code replaced by. if(a==b){ print("We have a problem, a is equal to b") } Assuming that indeed the code is dealing with a sit...

posted 3y ago by Estela‭  ·  edited 3y ago by Estela‭

Answer