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 Estela
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #281344 |
Post edited: |
— | over 3 years ago |
Edit | Post #281347 | Initial revision | — | over 3 years ago |
Question | — |
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 auto link generation? I'd like to display it just like normal non-link text. If it is already possible ... (more) |
— | over 3 years ago |
Edit | Post #281344 |
Post edited: |
— | over 3 years ago |
Edit | Post #281344 | Initial revision | — | over 3 years ago |
Answer | — |
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. chat, master and tags are the branches. master is to be kept. tags is to be kept because Pink is w... (more) |
— | over 3 years ago |
Comment | Post #281168 |
@Alexei Displaying is not enough. I also need to read local time from users and insert them in the table. From users at different time zones. And I'd prefer to reuse time zone conversion code rather than having to write it myself. From hkotsubo's answer I've come to the conclusion that PostgreSQL is ... (more) |
— | over 3 years ago |
Edit | Post #281168 |
Post edited: |
— | over 3 years ago |
Edit | Post #281168 |
Post edited: |
— | over 3 years ago |
Edit | Post #281168 |
Post edited: |
— | over 3 years ago |
Edit | Post #281168 | Initial revision | — | over 3 years ago |
Question | — |
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 AM CEDT and 02:30 AM CET. And, more confusing, 1 hour separation between 02:30 AM Europe/Berlin (s... (more) |
— | over 3 years ago |
Comment | Post #281020 |
Yes, the question is about exceptions which are not related by inheritance and which require almost identical code. @Lundin I agree with you regarding global macros. Do you have the same stance regarding local macros (a macro which is defined, used and immediately undefined)? (more) |
— | almost 4 years ago |
Edit | Post #281015 | Initial revision | — | almost 4 years ago |
Question | — |
Multiple catches with almost the same code. I find myself often writing code like this. ```C++ try { // code } catch( FailedReadException const & ex) { file.close(); std::cerr lock(mutexFile); errorState = true; } catch( std::runtimeerror const & ex) { file.close(); std::cerr lock(mutexFile); errorState = true; } ... (more) |
— | almost 4 years ago |
Comment | Post #280767 |
@ghost-in-the-zsh Do you mean lines A, B, C or something else? B is undefined behaviour. After Hyperlinx's answer I see no problem with A and C, self-synchronized objects are common practice. Or maybe you mean method mutex() which returns a reference to a private? Sure, not good practice. This is ju... (more) |
— | almost 4 years ago |
Comment | Post #280778 |
That's an interesting topic so there goes my upvote. I would suggest to edit the tittle to "What is the latest and efficient way to create a login page in Java?" (more) |
— | almost 4 years ago |
Comment | Post #278172 |
I use C++ so I find the information in this Q&A very useful if it applies to C++. Which I think it does even with a verbatim copy. Should I post another question and answer tagged with C++ which is a verbatim copy? Should I ask in meta instead? (more) |
— | almost 4 years ago |
Edit | Post #280767 | Initial revision | — | almost 4 years ago |
Question | — |
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 safe to destroy such object in another thread after being sure the method has gone beyond such point e... (more) |
— | almost 4 years ago |
Edit | Post #280667 |
Post edited: |
— | almost 4 years ago |
Edit | Post #280667 | Initial revision | — | almost 4 years ago |
Question | — |
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 uniquelock as in this code? ```c++ { std::uniqueptr mutex = std::makeunique(); std::uniquelock lock(mutex); lock.unlock(); mutex.reset(); } // Here lock is destroyed while holding an invalid reference to mutex ... (more) |
— | almost 4 years ago |
Edit | Post #279277 |
Post edited: |
— | about 4 years ago |
Edit | Post #279277 | Initial revision | — | about 4 years ago |
Question | — |
Static and thread_local initialization order Is there any guarantee regarding initialization of static and threadlocal objects? In example, is there any guarantee about the value printed by the following program? #include static int a=3; []() int b=a; int main(void) { std::cout << b << std::endl; } For thr... (more) |
— | about 4 years ago |
Comment | Post #277906 |
best-practices seems like an easier to recognize term than software-practices. I've seen the former plenty of times but the later only here. (more) |
— | over 4 years ago |
Comment | Post #277265 |
When you write that it is generally a good practice instead of writing always, do you mean there are specific cases where it is not a good practice? (more) |
— | over 4 years ago |
Edit | Post #277575 |
Post edited: |
— | over 4 years ago |
Comment | Post #277576 |
This has worked fine. Thanks. (more) |
— | over 4 years ago |
Edit | Post #277575 |
Post edited: |
— | over 4 years ago |
Edit | Post #277575 |
Post edited: |
— | over 4 years ago |
Edit | Post #277575 | Initial revision | — | over 4 years ago |
Question | — |
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 code I am using is: int p = nullptr; p = 0; Which works fine but is undefined behaviour.... (more) |
— | over 4 years ago |
- ← Previous
- 1
- 2
- Next →