Categories
Mastering Development

Django + React Able to create new user in database, but token-auth returns 400 bad request

So I have an app that I’m writing. It’s working, for the most part, so far. I only currently have a login and signup setup, with a ‘homepage’ that just has a logout button and some text on it so I can test. When I do signup, it posts the user to the database, but […]

Categories
Apple User Help

Repair APFS partition with damaged / zeroed-out header

This incident occurred a few months ago, so you will have to forgive my poor memory. Please let me know if anything needs clarification. I had a Dell Latitiude E6410 that I was using as a hackintosh (read: I installed macOS on non-Apple hardware). It was booting macOS 10.15.3 Catalina off of an APFS volume […]

Categories
Mastering Development

React.js dialog component disappears yet remains in DOM

I’m using a Dialog component from Material-UI which, for the most part, is working correctly. However, if I click away from the Dialog, the Dialog will disappear (as expected) but sometimes, it remains in the DOM with its opacity set to 0, and I can’t click anything else since the Dialog is in the way. […]

Categories
Ask Biology

Randomly woke up with ear ringing, what are some causes? [closed]

I got a typical cold, (runny nose, sore throat), but this time randomly during the night, I woke up with a ringing in my ear. This ringing has lasted for 2 years now. About 6 months after I was over my sickness I decided to see an ear specialist, he tested my hearing and said […]

Categories
Mastering Development Software

Refactoring a memory numbers game in ReactJS

I’ve been learning ReactJS by doing simple games. I’m doing a memory game which is, for the most part, finished and I’m not sure how I should refactor the code to be better. The user task is basically to remember the numbers flashed, and then click them, until the user can’t hold them in memory […]

Categories
Linux Mastering Development

Why does CTRL-C work in one user account but not another?

I have a bash script which is supposed to run a command every X seconds, until the operator interrupts it. Like this: test.sh #!/bin/bash while true; do echo Doing a thing… sleep 3 & wait done This, for the most part, works as expected. However, on one particular user account (which is of course the […]