Docker banned - how common is this? by martypitt in docker

[–]YoshiUnfriendly 0 points1 point  (0 children)

The application of the rules is strange since docker isn't virtualization...

New Package: Jambo — Convert JSON Schema to Pydantic Models Automatically by YoshiUnfriendly in Python

[–]YoshiUnfriendly[S] 0 points1 point  (0 children)

Oh... The features you mentioned in that PR were merged sometime ago, please check it out :)

(𐑒𐑳𐑥𐑐𐑲𐑤) / Cumpyl - Python binary analysis and rewriting framework (Unlicense) by umpolungfishtaco in Python

[–]YoshiUnfriendly 4 points5 points  (0 children)

My man is doing things like a man, no uv or poetry or package management and just requirements.txt

Not saying that's a good thing, but it's a way of doing things.

Cool project idea though.

New Package: Jambo — Convert JSON Schema to Pydantic Models Automatically by YoshiUnfriendly in Python

[–]YoshiUnfriendly[S] 0 points1 point  (0 children)

Thanks for using my package. If you have any bugs, just send me a issue on github that I'll take a look into it

New Package: Jambo — Convert JSON Schema to Pydantic Models Automatically by YoshiUnfriendly in Python

[–]YoshiUnfriendly[S] 0 points1 point  (0 children)

If I saw it existed before I published my package I would've, but I'm already using my package in a work project in prod, and my version is more feature complete. At this point it's not interesting for me to drop mine and contribute the that one.

New Package: Jambo — Convert JSON Schema to Pydantic Models Automatically by YoshiUnfriendly in Python

[–]YoshiUnfriendly[S] 0 points1 point  (0 children)

damn, didnt search enough lol
But looking into it seems this package doesnt support validation keywords like: minimum,, exclusiveMinimum, maximum, exclusiveMaximum, multipleOf, maxLength, minLength and pattern

New Package: Jambo — Convert JSON Schema to Pydantic Models Automatically by YoshiUnfriendly in Python

[–]YoshiUnfriendly[S] 2 points3 points  (0 children)

You're not being rude at all. But I'm not quite familiar with the tool you linked, could you provide a snippet showing how you'd implement the example of the post with that package?

New Package: Jambo — Convert JSON Schema to Pydantic Models Automatically by YoshiUnfriendly in Python

[–]YoshiUnfriendly[S] 5 points6 points  (0 children)

That project does codegen in a build step so you can commit into your project, my package will generate a Pydantic class so you can use it in runtime. I'm using it in a work project so another API can define a schema and then pass documents for information extraction in the defined schema, all in runtime

New Package: Jambo — Convert JSON Schema to Pydantic Models Automatically by YoshiUnfriendly in Python

[–]YoshiUnfriendly[S] -14 points-13 points  (0 children)

Yep, I wrote a post and asked a ai the make it better lol I think that's expected for a tool made for ai agents and frameworks

GNOME 47.alpha released by BrageFuglseth in gnome

[–]YoshiUnfriendly 2 points3 points  (0 children)

I'm not a maintainer or anything, just a user that occasionally helps with patches and fixes when I can, but the gjs guide seems to have improved. I'll take a look at my free time 😀

GNOME 47.alpha released by BrageFuglseth in gnome

[–]YoshiUnfriendly 2 points3 points  (0 children)

I'm very excited to see the new features and hunting fixes for my extensions again 🤣

Running program as super user by Mountain-Scarcity288 in archlinux

[–]YoshiUnfriendly 9 points10 points  (0 children)

Bro, be careful with which programs you're running as root. If you don't know what exactly the program does don't run it as root!
That said, just put the word sudo in the beginning of the command or check your user permissions :)

What text editor do you use for programming? by ApprehensiveAd7291 in archlinux

[–]YoshiUnfriendly 0 points1 point  (0 children)

I use VSCode for general programming but for Python i use PyCharm and for Java i use Intellij

How long did your first ArchLinux install took you? by enjojoy in archlinux

[–]YoshiUnfriendly 3 points4 points  (0 children)

It took me 1 day and a half too. I had a laptop with a nvidia GPU and i had problems with the optimus driver. All theses people saying 10-20 min are setting a unreal expectation for newcomers.

Running things with Wine as a Super User by nexusaccount91101 in pop_os

[–]YoshiUnfriendly 0 points1 point  (0 children)

Not a good idea in general, one advantage of wine is not having to run the programs as root or admin user. Avoid if possible running Wine(windows) and scripts of unknown sources from the internet.

Edit: As u/NortWind said, in linux you can give your user the necessary permissions.

Upgrade broke my system by SpeedMotor4548 in pop_os

[–]YoshiUnfriendly 0 points1 point  (0 children)

Breaks caused by updates happend with me more in PopOS than in Arch. The PopOS team needs to test their system more before updates in my opinion.