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

12 posts
80%
+6 −0
Q&A Is it correct to run code inside a method whose object has been destroyed?

Yes, it's correct. An object's methods aren't things that exist in memory with the object. They're in a completely separate section of memory, and a method exists exactly once regardless of whethe...

posted 4y ago by Hyperlynx‭

Answer
80%
+6 −0
Q&A Continuously read from piped input using Vim

In Vim, it's possible to tell it to read from stdin instead of a file, by using vim -. This is so that you can pipe the output of one command into Vim, to view/edit it there. The problem I'm facin...

2 answers  ·  posted 3y ago by Hyperlynx‭  ·  last activity 3y ago by deleted user

Question console vim pipe
75%
+4 −0
Q&A List what file(s) an identifier was declared in?

I'm using Doxygen to help me figure out some library code. There's an enum I know I need to use, but I don't know which file it's declared in. Searching for that identifier in Doxygen yields the p...

1 answer  ·  posted 4y ago by Hyperlynx‭  ·  last activity 4y ago by summea‭

Question doxygen
71%
+3 −0
Q&A What are the disadvantages of using static methods in Java?

I think I can access the static method without caring of class, isn't it? No. A static method is still a class method, and you still care about the class. The difference is that static methods...

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

Answer
71%
+3 −0
Q&A How can I get the same "not all control paths return a value" behaviour across Clang and MSVC?

I've recently discovered that it's not actually an error to have control reach the end of a non-void function without returning anything, it's merely undefined behaviour. I want to promote the rele...

2 answers  ·  posted 3mo ago by Hyperlynx‭  ·  last activity 2mo ago by celtschk‭

Question c++ clang msvc
70%
+5 −1
Q&A Freeing sub-process resources?

I'm using Python to invoke another program in a sub-process. I've noticed my memory sometimes gets so large as to crash the system, and I'm wondering if I'm not correctly cleaning up the memory som...

0 answers  ·  posted 3y ago by Hyperlynx‭  ·  edited 3y ago by Patol75‭

66%
+2 −0
Q&A Is it a good idea to have a permanent branch for a feature?

I wouldn't. Not unless you intend to keep developing on every branch independently! Presumably you're not doing that. In that case, I think it makes your intent clearer to just use a tag to mark t...

posted 3y ago by Hyperlynx‭

Answer
66%
+2 −0
Q&A Can I conditionally include class members without using #ifdef?

#ifdef sections can, of course, be used to include or exclude chunks of code based on some criteria known at compile time. One big problem is that when the condition is evaluated to false, the chun...

1 answer  ·  posted 7mo ago by Hyperlynx‭  ·  last activity 7mo ago by Angew‭

Question c++
62%
+3 −1
Q&A Having trouble adding include directories

Ah. There's a good reason the compiler says it can't find the file: it's not there. In my particular case, BeepBoop.hpp actually gets automatically generated from other files by the ordinary build ...

posted 4y ago by Hyperlynx‭

Answer
62%
+3 −1
Q&A How to do "out-of-source" build properly with cmake?

Whenever I've worked with CMake-based projects, the structure has been something like this: project src <-------- typically this is a source control working directory CMakeLists.txt ...

posted 4y ago by Hyperlynx‭  ·  edited 4y ago by Hyperlynx‭

Answer
54%
+4 −3
Q&A How can I make --reset-author the default?

I do a lot of rebasing and amending of my topic branches. I don't think it's especially useful for me or my colleagues to see in the logs what date it was when I first started working on the partic...

3 answers  ·  posted 4y ago by Hyperlynx‭  ·  last activity 4y ago by Charlie Brumbaugh‭

Question git
50%
+2 −2
Q&A Having trouble adding include directories

I'm trying to set up a simple test project, to unit test a change I'm working on. The change is to a file inside some existing project. I've tried to set up the includes as the original has it, but...

1 answer  ·  posted 4y ago by Hyperlynx‭  ·  last activity 4y ago by Hyperlynx‭

Question c++ cmake