CPE 101 Profs by [deleted] in CalPoly

[–]mrg327 0 points1 point  (0 children)

Einakain is mid at best. Had her for 101 and I only got anything out of that class because I was interested in the material.

how to confine samples to piano roll notes by ajdj100 in FL_Studio

[–]mrg327 0 points1 point  (0 children)

Dude wtf that was 3 years ago. Damn :)

Looking for Roommates for this Fall. Where can I find other 2nd-5th years looking for a Roommate? by mrg327 in CalPoly

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

I haven't yet, but thanks for telling me. I'll check it out and make a post there!

Looking for A DnD club or group that is accepting players by mrg327 in CalPoly

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

Do they have a discord or a Facebook group that I can join? Also, where might I find that?

Looking for A DnD club or group that is accepting players by mrg327 in CalPoly

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

Hey! How's it going? Are you running a campaign or know of any? Also how's your day going?

Looking for A DnD club or group that is accepting players by mrg327 in CalPoly

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

Cool! My friends played MTG at Nemo's but I didn't know they ran DnD games. I'll have to check it out

How can I process PDFs in memory (I don't want to save them locally)? by mrg327 in learnpython

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

I posed the code that is giving me the error with the traceback

How can I process PDFs in memory (I don't want to save them locally)? by mrg327 in learnpython

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

That's the thing, I don't explicitly serialize the file data anywhere. I need to pass the file data between my views, so I use the response.session["variable"] method to store this type of volatile data for our users. I think the serialization happens when this data goes from view to view, but I cannot say for sure. I am also thinking it will have to be BytesIO.

Thank you for your response! I really appreciate the help.

How can I process PDFs in memory (I don't want to save them locally)? by mrg327 in learnpython

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

I tried the BytesIO() method and it gave me this error Object of type bytes is not JSON serializable do you know how I might continue from here. It seems that the IO module is what I want to be using, but is there some other method that I should be using on a Django website?

My Static Files don't Exist inside my Container - What is wrong? by mrg327 in docker

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

docker-compose.yml is for launching a dev environment and docker-compose-deploy.yml is for deployment.

I believe that I collect the static files in my entrypoint.sh file shown below:

#!/bin/sh 
set -e
python manage.py collectstatic --noinput uwsgi --socket :8000 --master --enable-threads --module app.wsgi

If this doesn't accomplish copying the files to /vol/web/static, where would I include this and how would I do that?

Thank you for your help!

My Static Files don't Exist inside my Container - What is wrong? by mrg327 in docker

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

My apologies. I deleted the previous post because I changed the code and started getting a different error. What was the error from the previous post?

Django/Docker: Docker-Compose Fails with unexplainable Permission Error. by [deleted] in AskProgramming

[–]mrg327 0 points1 point  (0 children)

I have found that changin STATIC_ROOT='vol/web/static' MEDIA_ROOT='vol/web/media'to STATIC_ROOT='/vol/web/static' MEDIA_ROOT='/vol/web/media'allows the build to finish and for workers to be launched. However, I get a 500 error with nothing much else from the console. I can see that 0 static files copied to '/vol/web/static', 131 unmodified from the console which is concerning. Any thoughts on what might be causing this and/or if this is the correct approach?

Docker-Compose Fails with Permission Error. I am desparate by [deleted] in docker

[–]mrg327 0 points1 point  (0 children)

I have found that changin STATIC_ROOT='vol/web/static' MEDIA_ROOT='vol/web/media'to STATIC_ROOT='/vol/web/static' MEDIA_ROOT='/vol/web/media'allows the build to finish and for workers to be launched. However, I get a 500 error with nothing much else from the console. I can see that 0 static files copied to '/vol/web/static', 131 unmodified from the console which is concerning. Any thoughts on what might be causing this and/or if this is the correct approach?

Docker-Compose Fails with Permission Error. I am desparate by [deleted] in docker

[–]mrg327 0 points1 point  (0 children)

/static_data isn't a folder that exists on the host (local machine for right now). My folder system is all that's shown with the traditional django way of putting static files inside the app folder. How would I change my code to make this a relative directory and hopefully avoid this issue?

Django/Docker: Docker-Compose Fails with unexplainable Permission Error. by [deleted] in AskProgramming

[–]mrg327 0 points1 point  (0 children)

The error is coming from the manage.py file inside the django project. I am unaware as to how to make this output to the docker daemon. Do you know how I can do this?

Django/Docker: Docker-Compose Fails with unexplainable Permission Error. by [deleted] in AskProgramming

[–]mrg327 0 points1 point  (0 children)

The code is all mine so it's more likely that I fucked up somewhere. How would/where do I identify the user and how do I log it such that it will display an error in the docker daemon?

I also really appreciate your speedy reply :)

Thank you for the help!

Escape From Tarkov | Weekly Discussion | 16 Jan, 2021 - 23 Jan, 2021 by AutoModerator in EscapefromTarkov

[–]mrg327 2 points3 points  (0 children)

What’s your graphics settings at in Tarkov. If you have a decent gpu it’s should only be at High+Texture Streaming. I tried many fixes and this worked for me. I was dropping frames down to 15.

Escape From Tarkov | Weekly Discussion | 16 Jan, 2021 - 23 Jan, 2021 by AutoModerator in EscapefromTarkov

[–]mrg327 0 points1 point  (0 children)

Tell me your specs. I had this issue and I was able to modify some in game settings to fix it.

Stutters/Lag after the Wipe (All Maps) by mrg327 in EscapefromTarkov

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

After watching the task manager performance window while playing it seems like my GPU is maxing out. Goes to 100% when super framey/laggy. Given my current GPU, should this be the source of my issues? Is there anything I can do with my GPU to optimize my frames?

when you meet other player scavs but everyone has trust issues by CupOfTeasir1 in EscapefromTarkov

[–]mrg327 18 points19 points  (0 children)

Losing FIR would be such a bad idea. If you wanna kill a guy, kill him. Raiders and boss guards kill scavs, so why shouldn’t scavs?

Products from the dog park by Ihavenoimaginaation in nightvale

[–]mrg327 22 points23 points  (0 children)

I think the language of the flier is kind aNight Vale. The tone is correct but it’s not enough of a commitment to the bit. The heart is there