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 ghost-in-the-zsh‭

18 posts
90%
+18 −0
Q&A Does the location of an import statement affect performance in Python?

When writing Python-based apps (e.g. Django, Flask, etc.), it's often the case that import statements can be found all over the place, often more than once for the same module. For example, you can...

1 answer  ·  posted 3y ago by ghost-in-the-zsh‭  ·  last activity 3y ago by ghost-in-the-zsh‭

88%
+14 −0
Q&A Does the location of an import statement affect performance in Python?

Summary The location within a module where an import statement is found by the interpreter is not expected to cause differences in performance such as speed or memory usage. Modules are singleton ...

posted 3y ago by ghost-in-the-zsh‭  ·  edited 3y ago by ghost-in-the-zsh‭

Answer
83%
+8 −0
Meta The size of the code format window is much too small.

I agree. Something that might be more useful is to allow the text boxes to be resizeable by the user. In most places, there's a small tab on the lower-right corner of a text box that allows the use...

posted 3y ago by ghost-in-the-zsh‭

Answer
80%
+6 −0
Q&A Why is this symlink() call returning successfully while apparently failing to create the sym-link?

Summary I'm building an internal system (hardware simulator, using Rust) to help test some Python-based services that talk to hardware. (The services talk to hardware via TTYs.) To trick the Pytho...

1 answer  ·  posted 3y ago by ghost-in-the-zsh‭  ·  last activity 2y ago by ghost-in-the-zsh‭

Question rust linux
75%
+4 −0
Q&A Is it possible in MySQL to require each row in a table have at least one foreign key record in a join table?

If I understand your question correctly, i.e. Is it possible to enforce that constraint at the database level? Then the short answer is: No. In the business logic for the program, every re...

posted 3y ago by ghost-in-the-zsh‭

Answer
75%
+4 −0
Q&A How to programmatically get current wallpaper file path?

I have written a screensaver program that, in part, uses the current wallpaper for some visual effects. However, finding the current wallpaper in different operating systems and environments is les...

1 answer  ·  posted 1y ago by ghost-in-the-zsh‭  ·  last activity 1y ago by ghost-in-the-zsh‭

75%
+4 −0
Q&A PGP sign emails sent with git-send-email(1)

How can we use git-send-email(1) to sign patches (emails) with the gpg(1) keyring? The git-send-email command does not have any CLI options to perform cryptographic operations, so, to the best...

posted 2y ago by ghost-in-the-zsh‭  ·  edited 2y ago by ghost-in-the-zsh‭

Answer
75%
+4 −0
Q&A Unable to `mount` overlayfs in Docker container when inside a LXC with a ZFS pool

Summary/Context I'm currently working to improve performance and throughput of our automation infrastructure, most of which is a combination of Bash/Shell scripts, Python scripts, Docker, Jenkins,...

1 answer  ·  posted 3y ago by ghost-in-the-zsh‭  ·  last activity 3y ago by ghost-in-the-zsh‭

Question linux bash docker lxc zfs
72%
+6 −1
Q&A How do I choose the correct Perl module from these variations?

Perl modules sometimes have different implementations. The ::PP suffix means it's a "Pure Perl" implementation, where portability is the goal. The ::XS suffix is for the C-based implementation, whe...

posted 3y ago by ghost-in-the-zsh‭  ·  edited 3y ago by ghost-in-the-zsh‭

Answer
71%
+3 −0
Q&A Why is this symlink() call returning successfully while apparently failing to create the sym-link?

Summary I've fixed the issue and what follows is the best explanation I have so far. What I had described in the OP were some of the observations, but I'll be including more detail so that it's (h...

posted 3y ago by ghost-in-the-zsh‭  ·  edited 2y ago by ghost-in-the-zsh‭

Answer
71%
+3 −0
Q&A How to correctly daemonize a Rocket-based app?

Summary I'm refactoring a Rust-based service/daemon to move away from gRPC and use a Rocket-based API instead. I'm also using the daemonize crate to turn the foreground process into a background p...

1 answer  ·  posted 2y ago by ghost-in-the-zsh‭  ·  last activity 2y ago by ghost-in-the-zsh‭

Question rust rocket daemon
66%
+2 −0
Q&A Jenkins failed to delete a file - why? How to prevent?

I think you have the answer to your question within your own question, but let me make it a bit more explicit. You said: The problem is, sometimes downloading from Perforce fails If P4 fails ...

posted 3y ago by ghost-in-the-zsh‭

Answer
66%
+2 −0
Q&A How to correctly daemonize a Rocket-based app?

I did not find a way to get Rocket and Daemonize to work together without problems. However, I was able to get a more recent version of start-stop-daemon installed in the system (v1.20.11), and was...

posted 2y ago by ghost-in-the-zsh‭

Answer
66%
+2 −0
Q&A How to programmatically get current wallpaper file path?

This answer will use Python 3 for code examples. I encourage people to post other answers for other languages. I'll continue to update this answer, as I'm able, based on comments with tested/verifi...

posted 1y ago by ghost-in-the-zsh‭  ·  edited 1y ago by ghost-in-the-zsh‭

Answer
62%
+3 −1
Q&A How do I choose the correct Perl module from these variations?

When looking for Perl modules to handle JSON strings and/or documents, I found JSON::PP and JSON::XS. The documentation of JSON::PP says it is compatible with JSON::XS. What do these suffixes me...

1 answer  ·  posted 3y ago by ghost-in-the-zsh‭  ·  edited 3y ago by ghost-in-the-zsh‭

Question perl json perl-module
62%
+3 −1
Q&A Why content delivery networks often require a www. redirect?

Other than their preferred configuration options, nothing really "requires" that a particular resource be behind a particular subdomain. Content Delivery Networks (CDNs) are often just setup as sep...

posted 3y ago by ghost-in-the-zsh‭

Answer
60%
+1 −0
Q&A How to properly manage PGP signing key storage, access, and usage for dev and automation?

I work for an IoT company. We recently got secure boot to work for a customer-visible product. For secure boot to work, the images we generate must be signed. Obviously, we want customer-visible sy...

0 answers  ·  posted 2y ago by ghost-in-the-zsh‭  ·  edited 2y ago by ghost-in-the-zsh‭

50%
+0 −0
Q&A Unable to `mount` overlayfs in Docker container when inside a LXC with a ZFS pool

Summary The TL;DR is that, as long as ZFS is being used as the underlying file system, mount commands on top of that will not work. It's simply not supported. I was also able to confirm this over ...

posted 3y ago by ghost-in-the-zsh‭

Answer