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

Type On... Excerpt Status Date
Edit Post #279762 Post edited:
Fix punctuation typo
about 4 years ago
Edit Post #279762 Post edited:
Add update with code and results
about 4 years ago
Edit Post #279762 Post edited:
Update PTY file descriptors with new run results in attempt to make sure I don't have typos
about 4 years ago
Edit Post #279762 Post edited:
Add one remark for the sake of being more explicit
about 4 years ago
Edit Post #279762 Initial revision about 4 years ago
Question 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 Python services into "believing" they're talking to the hardware they expect, I create some PTYs, where the...
(more)
about 4 years ago
Edit Post #279649 Post edited:
Updated title to be more specific and fix a typo
about 4 years ago
Edit Post #279649 Post edited:
about 4 years ago
Edit Post #279650 Post edited:
Add version updates note
about 4 years ago
Edit Post #279650 Initial revision about 4 years ago
Answer 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, where speed is the goal. Finally, `JSON` is just the top-level module itself, i.e. the one you actually...
(more)
about 4 years ago
Edit Post #279649 Initial revision about 4 years ago
Question 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`. 1. What do these suffixes mean? 2. Which one should I use and why?
(more)
about 4 years ago
Edit Post #279483 Initial revision about 4 years ago
Answer 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 to download the file, then it follows that the task will fail to delete the (non-existent) file(s). ...
(more)
about 4 years ago
Edit Post #279364 Post edited:
Fix another typo
about 4 years ago
Edit Post #279364 Post edited:
Fix typo
about 4 years ago
Edit Post #279364 Initial revision about 4 years ago
Answer 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 objects, which means that they're only ever loaded once and will not be re-imported or re-loaded aga...
(more)
about 4 years ago
Edit Post #279363 Initial revision about 4 years ago
Question 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: - have the imports at the top of a module; - place the imports inside the functions where they'r...
(more)
about 4 years ago
Suggested Edit Post #277511 Suggested edit:
Fix typo in title. Insecure = no confidence; Unsecure = no security
(more)
helpful about 4 years ago
Comment Post #278207 @CharlieBrumbaugh The "doubled" dev time is not true. First, yes, it does take some time to setup an isolated dev environment, but that is a one-time thing. Second, you shouldn't be using your production database to do any dev work. That's what dev environments are for. Third, if you screw up, you'll...
(more)
about 4 years ago
Edit Post #279081 Post edited about 4 years ago
Comment Post #279304 This is really the way to go, IMHO. Just alias the command and done. This is also done in the `oh-my-zsh` project for `zsh` itself, with `gc` = `git commit`, `gst` = `git status`, and so on.
(more)
about 4 years ago
Suggested Edit Post #279081 Suggested edit:
Minor typo fix.
(more)
helpful about 4 years ago
Edit Post #279262 Initial revision about 4 years ago
Answer 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 email with Ubuntu/LXD developer, Stéphane Graber, with him saying, in part, that: > overlay doesn...
(more)
about 4 years ago
Comment Post #279102 @Canina I saw it. In MySQL, if you use InnoDB as the storage engine, then the only things getting locked during write operations are the rows being updated, not the tables themselves as a whole like MyISAM does. (And no one should be using MyISAM as the storage engine nowadays, since it's not even AC...
(more)
about 4 years ago
Comment Post #279102 Another alternative is to try and set up all the SQL statements as a single transaction. Did you look into this?
(more)
about 4 years ago
Edit Post #279053 Initial revision about 4 years ago
Answer A: 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 user to arbitrarily change the size of the box. That would be very useful not only for the main text box...
(more)
about 4 years ago
Edit Post #279037 Post edited:
Add a few more `dmesg` entries from today.
about 4 years ago
Comment Post #279037 Also, the LXC configs already had `security.nested` set to `true`.
(more)
about 4 years ago
Comment Post #279037 `docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \"process_linux.go:415: setting cgroup config for procHooks process caused \\\"failed to write \\\\\\\"a *:* rwm\\\\\\\" to \\\\\\\"/s...
(more)
about 4 years ago
Comment Post #279037 If I set LXC's `security.privileged = true`, launching a `--privileged` docker container results in this error:
(more)
about 4 years ago
Edit Post #279038 Initial revision about 4 years ago
Answer 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 record in the A table must have a relationship to at least one record in the B table Since you alre...
(more)
about 4 years ago
Comment Post #279034 It'd probably be more helpful if you include the SQL you used to create the table, its columns, and then the SQL used to drop the columns, along with the version of MySQL you're using, and so on. It'd also help in clearing up ambiguities.
(more)
about 4 years ago
Edit Post #279037 Initial revision about 4 years ago
Question 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, etc. We use Yocto to build embedded Linux distributions for specialized hardware and we have a Docker...
(more)
about 4 years ago
Comment Post #278847 Will that include up-voting comments? 🤔
(more)
about 4 years ago
Comment Post #278292 @Alexei: Did you consider logging in the app, so that you can better correlate what the app is doing and when? That'd be my approach.
(more)
about 4 years ago
Comment Post #278896 *"the single-most expensive software bug ever written"* I think the Mars Climate Orbiter is up there, too (no pun intended).
(more)
about 4 years ago