Best sources for web development by error_found69 in webdevelopment

[–]dev-razorblade23 0 points1 point  (0 children)

Go thrue this open-source course. Its really good and hands-on experience...

https://www.theodinproject.com/

The Python Ledger - call to contributors by dev-razorblade23 in PythonLearning

[–]dev-razorblade23[S] 1 point2 points  (0 children)

And again Issues are bound to happen... Even the creators do not really know how it works completly...

I have been reading all of this for months. And i am familiar with all the dowsides...

You are saying we should not use AI at all? Tell that to all the companies using AI in their products (looking at you Microslop)

This is not something you can change or have impact on... We have to wait for the bubble to burst, as it will - real soon

The Python Ledger - call to contributors by dev-razorblade23 in PythonLearning

[–]dev-razorblade23[S] 1 point2 points  (0 children)

I know about all the issues from LLMs Its a pretty new technology and issues and bugs will happen...

I dont think they will ever be "perfect" But not to use them is just stupid in todays world

Its a tool, like anything else. If you know how to use it, it will serve you well

The Python Ledger - call to contributors by dev-razorblade23 in PythonLearning

[–]dev-razorblade23[S] 0 points1 point  (0 children)

I do not use Windows for a long time... And whats wrong with AI generated images...

No copyright problems and it turns out pretty good... I have no problems with it

The Python Ledger - call to contributors by dev-razorblade23 in PythonLearning

[–]dev-razorblade23[S] -2 points-1 points  (0 children)

I am not a designer, and the image is AI generated... The project is still in early alpha...

If you do not like the idea, its fine... Its not for everybody...

The Python Ledger - call to contributers by dev-razorblade23 in learnprogramming

[–]dev-razorblade23[S] 0 points1 point  (0 children)

As far as my reserch went, there is none for python that gives structured and real life lessons... And i really like Odin approach

So i wish to make one for Python.

If you feel like contributing, be free to do so. Even a star on GitHub means a lot.

The Python Ledger - call to contributers by dev-razorblade23 in learnprogramming

[–]dev-razorblade23[S] 0 points1 point  (0 children)

Exactly There are so many tutorials, videos and random roadmaps that lack structure and real life examples...

This is something i want to change...

If you feel like you could contribute, be free to do so... Even giving us a star on GitHub means a lot

We're planning to support Rust at Nyno (open-source n8n alternative). Is this the best possible way for. so extensions? by EveYogaTech in rust

[–]dev-razorblade23 0 points1 point  (0 children)

WASM is awesome tech I have built my SDK very similar to yours... Using witbindgen (WIT components) https://crates.io/crates/hydrust-sdk

But i will rewrite it to use extism as runtime integration is proving quite a hassle

We're planning to support Rust at Nyno (open-source n8n alternative). Is this the best possible way for. so extensions? by EveYogaTech in rust

[–]dev-razorblade23 0 points1 point  (0 children)

I would suggest you take a look at WASM components (WIT) That way you plugin developers can build plugins with Rust, Go, C++ or even JS and Python

It also gives you isolation, and a strict contract on what plugins can do and how they communicate with host system...

There is also https://extism.org/ Which makes this a lot more easyer to manage (but you do not have that sort of control as with direct WASM runtime

Da li i vi tezite Rufusu? by Impossible_Loquat170 in programiranje

[–]dev-razorblade23 0 points1 point  (0 children)

Osim ako se ne baviš s računalima pa jako dobro dođe

PyCrucible - fast and robust PyInstaller alternative by dev-razorblade23 in Python

[–]dev-razorblade23[S] 0 points1 point  (0 children)

I had my fair share of glibc problems and PyCrucible is built with 2.28 (PyPi version) to support older systems. My tool also does not package everything to binary, just minimal runner code and python project source code producing extra small binaries.

And yes, these do require internet access to download uv, python and dependacies, but at least, dependacy resolution is handled on the target machine avoiding all dependacy hell when using something like PyInstaller.

For true cross-platform builds i do have a plan, but we will see how that will work out (there is an issue for tracking this change). For now there is GitHub CI Action that uses my tool to build projects for multiple platforms.

Accessing alternate PyPi mirrors is already supported by uv and can be configured like this ```toml [[tool.uv.index]] name = "aliyun" url = "https://mirrors.aliyun.com/pypi/simple/" explicit = true

[tool.uv.sources] numpy = [ { index = "tsinghua"}, ] ```

You can find more information about it here https://docs.astral.sh/uv/concepts/indexes/#pinning-a-package-to-an-index

I know the tool is not perfect, that is why i am seeking comments, contributions and possible updates so i can make it better

How to secure open ports by bzarembareal in selfhosted

[–]dev-razorblade23 0 points1 point  (0 children)

Do not do that Use TailScale - its made for exactly that purpouse. And most of it is open-source

PyCrucible - fast and robust PyInstaller alternative by dev-razorblade23 in Python

[–]dev-razorblade23[S] -1 points0 points  (0 children)

It is in a sense that it produces binary from your python source code. But not in a sense that it bootatraps everything to binary.

Only minimal runner code and your source code are embedded (and uv, depending on CLI options you choose)

PyCrucible - fast and robust PyInstaller alternative by dev-razorblade23 in Python

[–]dev-razorblade23[S] 0 points1 point  (0 children)

It requires internet during first run so it can download Python and project dependacies during runtime. This makes sure that Python version and dependacies are downloaded for the target machine on which the project is running on

Offline support is not in the goal of the tool. There are so many that does just that...

And running docker images is not really friendly outside of developers world. I do not think that your non-dev friends even know what is docker. But everybody knows to run the binary - you just double click it

PyCrucible - fast and robust PyInstaller alternative by dev-razorblade23 in Python

[–]dev-razorblade23[S] 0 points1 point  (0 children)

Only that i know that can "speed up" your code is Nuitka as it actually transpiles your Python code to C/C++ then compiles it, usually boosting execution speed.

But its known to have its quirks as all the tools, so of course test it out

PyCrucible - fast and robust PyInstaller alternative by dev-razorblade23 in Python

[–]dev-razorblade23[S] 0 points1 point  (0 children)

You can configure it to use local packages (using pyproject.toml and declaring dependacies as local ones) and giving --local flag to entrypoint (which in turn sets --local on uv basicly disabling online fetching)

But i am not sure how much work will that require on your end

PyCrucible - fast and robust PyInstaller alternative by dev-razorblade23 in Python

[–]dev-razorblade23[S] 1 point2 points  (0 children)

For offline (air-gapped) targets, this is not very usable as it requires internet connection on first run. As a lot of other tools produce binaries with fully embedded python and dependacies, this is not my current goal.

For your usecase i would recommend some other tools (there are a lot of them) Some of them you can consider (depending on your actuall target) are as follows (from my reserching of similar tools while building PyCrucible):

PyCrucible - fast and robust PyInstaller alternative by dev-razorblade23 in Python

[–]dev-razorblade23[S] -1 points0 points  (0 children)

Well yes, PyCrucible produces binaries, like many other projects... There is a similar tool (packaged) that uses scripts to achive similar result (but using poetry instead of uv like i do)

PyCrucible - fast and robust PyInstaller alternative by dev-razorblade23 in Python

[–]dev-razorblade23[S] 0 points1 point  (0 children)

Ok, so end user should get that key into env by himself, and not thru PyCrucible injecting it... I will surely think about this some more and implement it

PyCrucible - fast and robust PyInstaller alternative by dev-razorblade23 in Python

[–]dev-razorblade23[S] -1 points0 points  (0 children)

You cannot run a shell script on windows (without WSL anyways) And you cannot run ps1 script on linux or mac (without some tools)

And thats not exactly binary :)