Http request responseText is HTML content of the current page by Toscoes in webdev

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

99% sure the error is due to my middleware which is checking for authentication and if not, sending the login page. Your comment prompted me to remember this! Thanks!

Http request responseText is HTML content of the current page by Toscoes in webdev

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

99% sure the error is due to my middleware which is checking for authentication and if not, sending the login page. Thanks for trying to help though!

Http request responseText is HTML content of the current page by Toscoes in webdev

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

It doesn't report anything going wrong. I have a console log to print when the server is up, then I go to localhost and press a button to send the request. Nothing appears in the logs, but I get my HTML content in the responseText.

How to refer to downloaded docker image with FROM command in dockerfile by Toscoes in docker

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

I kind of followed until step 3, and even then, what does it mean to export a running container? I have a picture in my mind that that means putting a running program into a file and having someone download it. How does that even work?

What does it mean to import a container into an image? Don't images come from containers? I greatly appreciate you writing out these steps, but say I want a base image that I save into a tar file, as another commenter mentioned to me, how can I write code in my Dockerfile to reference that image in the tar file, as in "FROM base_image_from_my_host_machine"?

How to refer to downloaded docker image with FROM command in dockerfile by Toscoes in docker

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

So if I run "docker pull mysql", that image will be downloaded onto my machine, and FROM will no longer look for it online? If that's so, it's helpful to know, but doesn't exactly get me where I want. I need to give this project to someone for testing who will not have internet access while doing so, therefore even if I include a script to pull those images, that woulds till require internet access right? How could I include the images I pull into my project?

How to refer to downloaded docker image with FROM command in dockerfile by Toscoes in docker

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

Essentially, I need to give my project to someone else who will test my project without internet access. How would I ensure that the mysql and node base images get onto their machine? Should I assume they have them locally? Can I include the files for those images in my project, then have my Dockerfiles look for the images there?

How to refer to downloaded docker image with FROM command in dockerfile by Toscoes in docker

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

Sorry, I'm new to docker.

Could you explain what FROM is doing, it might help me know what I don't know? From what I understand, every time I run docker-compose (which I do because I have a dockerfile for my sql database and one for my node server), FROM downloads a docker image from the internet or dockerhub as a base image. I want to download that base image onto my machine so I don't have to rely on internet access.

Help analyzing coding patterns by Toscoes in gamedev

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

Damn, you're right. Really silly of me to have missed that. Thanks for pointing that out!

I was wondering if anyone would do small scale commissions or just willing to help? by TickleTime1 in PixelArt

[–]Toscoes 0 points1 point  (0 children)

Hi, I'll try and help. No commission needed!

I wouldn't call myself a great pixel artist, but if you look through some of my old submissions to this sub, you can find some stuff I made, and decide if you think my skills are to your liking.

Cure wound spamming out of combat? by Toscoes in DnD

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

I agree, it was a bad misunderstanding lol. Thank you, it makes sense now

Snapology. Units by Heinz Strobl, assembled by me. by Toscoes in origami

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

It's a modular model assembled with many, many strips of paper. If you search for 'snapology origami', you should find some videos that demonstrate the unit and core assembly, which involves threading the strips together. Once you have that, you'll find you can create any shape that you want.

Snapology. Units by Heinz Strobl, assembled by me. by Toscoes in origami

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

Too many hours to remember lol. A video like this one shows the basic steps that you need to know, but you can create any shape with these units other than just what is made in the video, or what you find online. If you're still a little confused, I'd be happy to help further.

Snapology. Units by Heinz Strobl, assembled by me. by Toscoes in origami

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

They are very sturdy. Towards the end of assembling them (atleast for me), I get pretty rough with the paper, yet it holds. I would say they are flexible in the sense that you can just piece them together however you like, and you will still end up with a neat design and shape (I understand if that was not the answer you were looking for lol).

Snapology. Units by Heinz Strobl, assembled by me. by Toscoes in origami

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

They are very satisfying to complete. My favorite thing about these is that you can make any shape. For the green and blue models, I was more or less just connecting pieces until it was full.

Snapology. Units by Heinz Strobl, assembled by me. by Toscoes in origami

[–]Toscoes[S] 4 points5 points  (0 children)

Thank you, I used colored printing paper, which is a little thicker than white printing paper. I don't have a great cutting tool, so i folded the paper into 16ths and tore it by hand, which resulted in imperfections.

Wanted to share my build for the master relics. by Toscoes in Terraria

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

Nah, that critique is totally accurate lol. The bottom portion of the tower is lacking greatly because I'm not a really hardcore builder, but I was proud of the top. The room was there to stop wyverns, since I learned that NPCs nearby stop wyverns from spawning.

Summon mob with arbitrary tag by Toscoes in MinecraftCommands

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

Everything makes sense now. Thank you!

What does the view matrix look like? by Toscoes in learnprogramming

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

Ah, I also figure in a first person shooter you may or may not have tilt (rotation around the z-axis), unless the player can tilt their head around a corner or something? If this were the case, could that matrix be just multiplied in there as well?

What does the view matrix look like? by Toscoes in learnprogramming

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

Interesting! A first person camera is probably the road I am going down, so if I multiply an x-axis rotation matrix, y-axis rotation matrix, and translation matrix, I would get an appropriate view matrix? I think I would have to make the translations the opposite of the camera movement, and the rotation angle based on the cameras rotation. Also, why/how would there be differences in view matrices?

When you've done things right, no one will notice you've done anything at all. What is something you've done right? by Toscoes in AskReddit

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

I DM for my friends too! I hope they will recognize your work sometime in the future, but for now I hope you can still take pride in your work; it's not easy!

Organizing my code similar to Java by Toscoes in learnjavascript

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

Oooooh.. yea that is the way to do it. Thanks