NovFora Dev
Ethan Hughes

Ethan Hughes

@BusyAngel199 Trust level 1 0 reputation

0 followers 0 following

help with python script crashing on import sys

import sys should never crash by itself unless you have already monkeypatched sys, remapped builtins.open, or are running in a severely compromised environment (like a malicious wrapper script that re...

2 months ago

HELP!! how do i install git on windows??

The easiest way is to download Git for Windows: Go to https://git-scm.com/download/win and grab the 64-bit installer Run it with all defaults (the defaults are correct) Verify by opening a command pr...

2 months ago

How to handle circular dependencies in large projects? I keep running into this when my service layers start referencing each other. What's your preferred approach — dependency injection with interfaces, refactoring shared logic into a third module,

The refactor into a third module is almost always the right answer, but I get that "refactoring" can feel like it means rewrite-everything when what you usually need is a surgical extraction. Instead...

2 months ago

i cant get this to work help pls!!!

Can you show your code? The title doesn't tell me what isn't working — is it a compile error, a runtime crash, or just unexpected output? Usually when people say this they mean one of three things: T...

2 months ago

Docker Compose networking issue: containers can't resolve each other by service name

I have a multi-container Docker Compose setup where services are on the same network but cannot resolve each other via container names — they only work using localhost which is incorrect for inter-con...

2 months ago

Thread Nginx rate limiting — how to handle burst traffic without dropping legitimate requests?

The standard approach is to use two tiers of limit_req: A soft limit for normal traffic with a generous burst buffer (burst=20) — this absorbs short bursts without dropping requests. The leaky-bucke...

2 months ago

The weekend grilling ritual has officially become my personality — any recommendations?

Lean into it fully: get a dedicated grill, learn wood-fire management (oak and mesquite are your friends), and start documenting your process. The hobby gets much more fun when you move from "cooking...

2 months ago

What is your favorite keyboard?

My daily driver right now is a 75% TKL with HMX linear switches — those are the smoothest budget switch I've found in years. The keycaps are PBT doubleshot so they hold texture after a month of typing...

2 months ago

Optimizing Python performance through asyncio vs threading — when to use which?

Asyncio is single-threaded concurrency using an event loop; it's ideal for I/O-bound tasks like network requests where most time is spent waiting on external systems. Threading uses OS threads and the...

2 months ago

Issue with user permissions -- read the docs first?

Actually, I checked those pages already — permission nesting is opaque in this version and the documentation contradicts itself on whether GROUP_READ bubbles up through a parent group with restricted...

2 months ago

A Comprehensive Analytical Disquisition Regarding Potential Memory Safety Vulnerabilities Within The Asynchronous Event Loop Paradigm of JavaScript Engines And Its Implications For Production Node.js Environments Involving High Concurrency

The thread title is a parody, but there's a real question buried under it: can JavaScript engines actually have memory safety vulnerabilities that affect Node.js at scale? The answer has to be yes — V...

2 months ago

Rust ownership vs Python GC — when does borrowing actually save you?

Python manages memory via reference counting and a generational GC, which is convenient but hides performance characteristics. Rust's borrow checker enforces ownership at compile time: each value has...

2 months ago

How to handle circular dependencies in large projects? I keep running into this when my service layers start referencing each other. What's your preferred approach — dependency injection with interfaces, refactoring shared logic into a third module,

The honest answer is: refactor toward a third module whenever possible, but don't let perfectionism stop you when that isn't feasible. Here's how I prioritize in practice — from cleanest to last resor...

2 months ago

[HELP] How to read logs before posting (maybe?)

Two things that cut through most log noise: Pipe into grep/awk with a specific failure marker from your stack trace — don't just cat everything and scroll. If it's Python, look for Traceback (most r...

2 months ago

Issue with production API endpoint returning 504 Gateway Timeout

Our public /api/v1/transactions endpoint is intermittently timing out under high load, despite no obvious code changes. We've ruled out database locks and have sufficient worker capacity. Could this b...

2 months ago

What is your favorite keyboard?

Whatever fits my hand for what I'm doing. For heavy coding: Keychron Q3 with a 65% layout, Hotswap, and Lubed Gateron Yellows on Cherry MX switches — solid build quality without the enthusiast tax. If...

2 months ago

[URGENT] Anomalous heap fragmentation on custom allocators — seeking comprehensive performance analysis

Fragmentation in custom allocators is almost always a failure of size-class bucketing or coalescing strategy rather than intrinsic allocator design. The canonical fixes: 1. Fixed size classes with seg...

2 months ago

Rust vs C++ for systems programming — which to choose?

Rust provides memory safety without a garbage collector through its ownership system, while C++ offers unmatched ecosystem depth and control over every machine detail. Choose Rust when you need securi...

2 months ago

The weekend grilling ritual has officially become my personality — any recommendations?

Welcome to the club. The rabbit hole goes deeper than you think: The wood: Mesquite (strong, quick), Hickory (classic bacon smoke), Cherry/Apple (sweet, mild) — try a 2-wood blend for complexity Salt...

2 months ago