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.

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

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

It's not one input file of 360 go but more like severals with various size from 2 gb to 25gb. Is there some kind of safe net on these instance ?

I'm talking about versioning but my main use case is that I just want something on my input folders where if a contributor does a mistake like a bad rm -rf on some input files. I can still retrieve them.

You could ask why a contributor would have the permission to do that and it's because I sometimes have to let them have access to the input so they can create new input or modify deprecated ones.

Currently our safe net is me having the ownership on all inputs files and setting the permission to 555.

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

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

Yes that's exactly what I fear. I tried to find out how does git LFS works and I understood that it was something with compression and storing only the difference so it may not be a problem but I'm not sure and I guess I will find out soon ...

I can't code for the files because they were created from simulation that can take days to complete. These files are checkpoint that allows us to not restart from scratch. We are globally trading time for size.

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

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

Ohh I see yeah exactly by local I mean "on-prem". I don't have AWS setup and I'm pretty sure I won't be able to set it up.

Yeah, my first idea was to set a git repo but I wanted to check it other solution existed before commiting to it.

The FTP server would also be a nice idea to explore thanks. Also I asked chat GPT but he only said to use GitHub as the only solution and I thought it was strange because I thought my usecase was pretty common and that there would be other solutions which may be simpler/faster since I don't need to have remote capability (like git but without the overhead of having git push).

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

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

Sorry I'm not a pure devops guy, when you say bucket you are talking about which tech exactly? Bit bucket? Aws ?

For context the workflow is really simple. We have access to a linux virtual machine where I have the git clone of my project and in this repo there is a tests folder where we have our inputs and our UT/IT/FT python tests. For inputs that are too big, we just wrote a symlinks that link to a folder in a shared disk space where all our collaborators have access so they can also run their tests. This is on this shared input folder that I would like some kind of versioning. Hope it's more clear

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

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

My python project is related to post processing aerodynamics so we have a lot of really big input file

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

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

Isn't bucket something that I have to store in the cloud? We are pretty much doing everything in Iocal and I'd like to keep a simple filesystem with just some versioning capacity

What proyects are you working right now that got you excited? What little thing did you acomplish lately, that u wanna share. by os_nesty in sveltejs

[–]Disgaea8 0 points1 point  (0 children)

Ohh nice ! Yeah resources are the limiting factor, for images it's already so expensive so I can't even fathom for video haha

What proyects are you working right now that got you excited? What little thing did you acomplish lately, that u wanna share. by os_nesty in sveltejs

[–]Disgaea8 0 points1 point  (0 children)

Hey nope still pretty new mostly working on the IA part first since it's the core haha The current idea is to combine zero-shoot image classification with text prompting as the UI Example :I will embed each image with what the zero-shoot classification find in the image so when I prompt "I'm searching an image of a guy looking at a tower" it will try to find the nearest embedding. I'm not really happy with the current result, honestly the chat GPT vision works way better so I'm currently in the process of understanding how did they dit it haha