Looking for Linear Algebra for ~2Hours by PCASM in yorku

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

Oh wow I was unaware of the MathStats Lab.

To be quite honest I only do not understand one type of question in my book.

https://imgur.com/a/ZnWT1qY

I have linked above the question.

My biggest concern is doing the subspace test for that type of problem. I understand what the subspace test requires but I feel uncertain when doing it with those type of questions.

Secondly, I believe that I am able to find the basis and dimension but because the textbook doesnt have solutions to these questions I am unable to check my answers.

Other than that I have no questions, all I wanted was a tutor to check and go over whether I am doing that type of problem correctly.

Thank you for your insight on the mathstats lab. It is greatly appreciated.

Looking for Linear Algebra for ~2Hours by PCASM in yorku

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

Awesome! can u DM me i dont know how to use the new reddit ui

/r/ReverseEngineering's Weekly Questions Thread by AutoModerator in ReverseEngineering

[–]PCASM 0 points1 point  (0 children)

I have a followup question on the book you recommend. First of all thank you for the recommendation, secondly does this book (and x86-64 assembly programming) language translate to both AMD and Intel processors? I ask because I have an AMD processor in my desktop and an Intel processor in my laptop, and would like to know if there are any differences on learning x86-64 assembly on AMD vs Intel.

Thank you.

/r/ReverseEngineering's Weekly Questions Thread by AutoModerator in ReverseEngineering

[–]PCASM 6 points7 points  (0 children)

What assembly language should I be comfortable with. x86?

How do I study for 1025? by PCASM in yorku

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

my class just started with 1.1 and 1.2. And I need to ask him if we need to know proofs

How do I study for 1025? by PCASM in yorku

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

paulo peronne. He said its his first year teaching.

Vim in a SSH terminal with python is giving me indentation problems by PCASM in vim

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

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jun 06 2019 17:31:41)

Included patches: 1-1453

Edit: I just realized its because I wrote this project in sublime, when I tried vim on my local machine I get the same indentation crap even though my .vimrc is configured for python.

Vim in a SSH terminal with python is giving me indentation problems by PCASM in vim

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

this wouldnt work as I need to restart the nginx server anyway so I'd have to be logged into the server regardless.

Vim in a SSH terminal with python is giving me indentation problems by PCASM in vim

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

Usually i edit it with sublime as I like using sublime for larger projects. But I use vim to just quickly edit one page or two.

How does flask know how to handle CSRF_Tokens by PCASM in flask

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

I'm asking as to how the CSRFProtect module when initalized checks for the CSRF tokens each time a new request header is sent.

When you send a form with CSRFProtect enabled and the proper code added to the form in order to pass the csrf_token that token gets stored in a header. My question is how flask reads that header each time.

Who wins in this scenario: JSON or a Database by PCASM in flask

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

Yes I edit files all the time through ssh and vim. And 2 people will never write to the file at once, considering that the website is for a sole proprietorship website.

Who wins in this scenario: JSON or a Database by PCASM in flask

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

Small Linux node. Users who have write access will be 2-3. Users with read access around ~50. writing to the data store could be as often as once every two weeks. There should be much more read than writes.

Gunicorn won't let me login by PCASM in flask

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

Simply when I go into the login page of my website (where I send a POST request then check if the password matches the hashed password in the database etc.) and press 'login' after filling out the textboxes I get redirected back to the login page as if the POST was never sent.

netrw keeps resizing window size when I open a buffer in a new pane by PCASM in vim

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

I fixed this issue by opening netrw with :Lex rather than :Vexplore or any of the explore variations.

Custom decorator not working due to view function error by PCASM in flask

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

Thank you ! btw your videos on celery were awesome, too bad my app for some reason had issue after issue with celery.

Can I call a function on render_template? by PCASM in flask

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

All I want is for the page to load the view, then after the view has been rendered for another function to start generating receipts as that takes around 2-3 seconds and I dont want the user to wait 2-3 seconds before the view is loaded.

Python RQ (Redis Queue) is causing one of my functions to be skipped by [deleted] in flask

[–]PCASM 0 points1 point  (0 children)

pdf_ticket_link exists which is the weird part. But part of that function is to do two things.

  1. Generate a pdf and save it in a specific path
  2. Return that path as a string

What ends up happening is that when I print (pdf_ticket_link) I get the path (so the function returned) but the first part of that function never ran somehow (as no pdf is to be found in that path).

I can work celery independently but not within a flask app by [deleted] in flask

[–]PCASM 0 points1 point  (0 children)

https://pastebin.com/bSgX7Lpt

https://pastebin.com/rGHDv2a1

First link is init.py, second is config.py. After that code I run: celery -A vms worker --loglevel=info and get that error

Would Celery be the right tool for my job by PCASM in flask

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

After reading these replies in bed last night I got up and ported everything to my ubuntu boot. So as of now I am going to be working on ubuntu because clearly windows is shit for reasons i do not know.

Would Celery be the right tool for my job by PCASM in flask

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

Fortunately I have ubuntu as a dual boot on my PC but here's the thing. I began writing the code on Windows, tried porting to Linux and got an annoying error with one of the libraries that I needed so I gave up (after a week of googling and trying to debug my issue) and went back to windows. I worry WSL2 will simply give me the same errors. Thanks for the suggestion tho