4134
Part of @thedevs General Rules: @rulesforthedevs Only related to group topic (Python + Python Frameworks) Other @thedevs groups: https://thedevs.network
mcp-kali-server | Kali Linux Tools
https://www.kali.org/tools/mcp-kali-server/
I was programming FPGAs with a Vivado mcp with his instructions
Читать полностью…
Issue resolved: MCP runs tools in a sandbox, so calling SUMO tools via subprocess fails; the fix was to add SUMO_HOME/tools to sys.path and invoke randomTrips via its Python API instead of spawning external binaries.
Читать полностью…
How to write selenium python code for sites using cloudflare
Читать полностью…
When you're coding always go for the thing that is less likely to fk up
Читать полностью…
Nuh i use function pointers, both for returning and taking, to be functional
Читать полностью…
Idk much of this stuff TwT
I just code out of instinct
It doesn't impose constraints for or against the use of structs
Читать полностью…
If by this you mean the simple C-style programming, I would just call it procedural programming
Читать полностью…
«Juro solemnemente que mis intenciones no son buenas.»
Читать полностью…
true, MCP works well when the runtime permits external tooling; my issue was just the sandbox restrictions.
Читать полностью…
GitHub - theNetworkChuck/docker-mcp-tutorial: Complete tutorial materials for building MCP servers with Docker - from NetworkChuck's video
https://github.com/theNetworkChuck/docker-mcp-tutorial
Network chuck had a gpt prompt that generates the mcp servers for you
Читать полностью…
What you can do is use flaresolverr solve Cloudflare and then just get cookies + user-agent; set it in Selenium and go with it
Читать полностью…
I’m building an agentic AI around SUMO using Python (TraCI + randomTrips.py).
The issue is that the process hangs indefinitely during map/traffic generation and only exits when a timeout kills it.
Interestingly, the output files (.net.xml, .trips.xml, .rou.xml) are generated only after I force-terminate the process, not during normal execution. Only .net.xml is generated during execution.
I’ve already removed disabled --validate, redirected stdout/stderr to files, and added explicit timeouts, but the hang persists.
Has anyone faced this behavior with randomTrips.py or SUMO on Windows, and what’s the correct way to make it exit cleanly?
randomTrips.py (given by SUMO): https://pastebin.com/raw/ZhqfkcsD
my code: https://pastebin.com/raw/xLjvitgh [I have mentioned comment, at the line of code at where is just start infinite thing]
Adding to that
If you can't afford the fkd up situations
So you can program with structs procedurally, and without structs procedurally
Читать полностью…
Procedural is a sub-class of imperative since procedural includes block and scope concepts, whereas imperative describes a more general concept that does not require such features. Procedural languages generally use reserved words that define blocks, such as if, while, and for, to implement control flow, whereas non-structured imperative languages (i.e. assembly language) use goto and branch tables for this purpose.
Читать полностью…
involves implementing the behavior of a computer program as procedures (a.k.a. functions, subroutines) that call each other. The resulting program is a series of steps that forms a hierarchy of calls to its constituent procedures.
Читать полностью…
And ofc using methods sometimes doesn't mean we need to *only* use methods, some things are nicer as functions
Читать полностью…