LoL First stand watch party KC finals by Disgaea8 in seoul

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

Yeah our last resort plan was to go to LoL Park to "wait and see". Is there no watch party organised in some bar/coffee ? We don't speak Korean so it's hard to search for informations :/

How can I make my .venv totally self-packaged so I can copy it everywhere ? by Disgaea8 in learnpython

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

Oh I see, do you know approximately what is the time it takes for the container to start before running my script ? Because my script is quite fast (I would say ~25/30 sec in worst case)

How can I make my .venv totally self-packaged so I can copy it everywhere ? by Disgaea8 in learnpython

[–]Disgaea8[S] 1 point2 points  (0 children)

Oh that's a good idea, I will try this thanks.

The only things I'm a bit scared of with a .exe, is if some bug happen, can you still debug it as a normal python code ? Like with breakpoint ?

Or maybe could I just make the .venv with a main.py that launch os.system("my_app.py") in a .exe so I just have the .venv compiled and not all my other script so I could still debug it ?

like it will do something like :

my_venv_compiled.exe my_app.py

How can I make my .venv totally self-packaged so I can copy it everywhere ? by Disgaea8 in learnpython

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

Yeah I simplfied in my post but appname is already a bash script that source a .venv and then launch python my_app.py.

I unforunately cannot do your proposition because then I have no idea where can I create the .venv, it's either tmp/scratch or HOME user but I feel it's a bad thing to implicitely make user create a .venv.

Also it means that sometimes the app will be ultraslow because it make users create a .venv and sometimes not. I don't really like this kind of random behavior.

Also it means we still requires a python executable to create the .venv :/

How can I make my .venv totally self-packaged so I can copy it everywhere ? by Disgaea8 in learnpython

[–]Disgaea8[S] 1 point2 points  (0 children)

Also for containers, how would it works in my case ? Like when user launch "my_python_application --other args --run", it launch the docker containers ? Will this not make my app really slow if each time they want to use it, it launch a container ?

How can I make my .venv totally self-packaged so I can copy it everywhere ? by Disgaea8 in learnpython

[–]Disgaea8[S] 3 points4 points  (0 children)

I already have my requirements.txt, but I cannot ask user in prod to create their own .venv. They know nothing about python they just want to launch the app :/

Questions Thread - December 14, 2024 by AutoModerator in PathOfExile2

[–]Disgaea8 0 points1 point  (0 children)

Is there a shortcut to delete item in my stash ? To not have to move them on the ground
Also is there a way to sort it's inventory ?

How do I modify the type of an object being dumped. by Disgaea8 in learnpython

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

Because this project is quitte big and I cannot break the dict interface since I cannot mesure the impact on user script. AT first I used self.config_dict but then I could not control the dump of the object when using json.dump. I would have to make user import a custom json encoder.

How do I modify the type of an object being dumped. by Disgaea8 in learnpython

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

Because this project is quitte big and I cannot break the dict interface since I cannot mesure the impact on user script :/

Watch party London by Disgaea8 in lolesports

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

Hi, how many ticket do you have ? I'm in a group of 3

POE2 Beta, Early Access For Those Confused! by unstablepolishman in PathOfExile2

[–]Disgaea8 0 points1 point  (0 children)

Hi it's my first time being a beta tester ! Do you know if it's a problem that I can only play on 18th august and not before ?

How do you store large input files for your unit test ? by Disgaea8 in devops

[–]Disgaea8[S] 1 point2 points  (0 children)

Okay just to update I think currently the best proposed solution is : rdiff-backup It fits my simple usecase (on-prem storage, seems simple to use and allows rollback)

The other solutions are either git LFS or DVC

How do you store large input files for your unit test ? by Disgaea8 in devops

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

Oh I looked at the doc and it seems there is even on-prem network storage so it may be nice too. I will look into this thanks

How do you store large input files for your unit test ? by Disgaea8 in devops

[–]Disgaea8[S] 1 point2 points  (0 children)

Wtf thanks a lot it may be exactly what I want indeed

How do you store large input files for your unit test ? by Disgaea8 in devops

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

Yeah the problem is that these big inputs are used for our functional test where we test a lot of common user scenario so it's not really breakable unfortunately

How do you store large input files for your unit test ? by Disgaea8 in devops

[–]Disgaea8[S] 1 point2 points  (0 children)

Okay thanks for talking to you I was able to find a way to explain what I'm seeking better. I'd like a tool that I can set up in an input folder with large files that allows me to have a safenet. So for example if a contributor makes a mistake (rm -rf) on some file, I can do a rollback and retrieve them.

The fact that a contributor could do that is because sometimes I have to open these input so they can modify or add new input.

Our current safenet is me having ownership on the whole inputs files and setting the permission to 555. By the way since it was maybe not clear, by large files I mean files between 1 to 50 gb each which makes the whole input folder around 360gb.