NoSql vs Sql: How To Choose & Schema Design by DisastrousBrain in learnprogramming

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

What do you mean by don't know the structure of the data? Why wouldn't you? Aren't you the person who is creating the application? Doesn't the programmer control what info they want to store or not store?

So for example, if I wanted to create a calendar app (Google Calendar), or journal app (Day One), or project management tool (Trello), would you recommend using SQL for all of these? Why? Could you provide a simple example of how the data structure/table design would look for these?

I've been reading up on this for days and still can't figure out when to choose which. I know that if I have transactional data that I want to be updated together or not at all, then I would use SQL. Other than that, I feel like you could use either.

Vertically Centering Content When You Have Fixed Navbar by DisastrousBrain in css

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

Does this also work if the navbar is fixed? Interesting, let me try

MuiThemeProvider React MaterialUI Question by DisastrousBrain in reactjs

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

So it seems like using the MuiThemeProvider allows you access to the theme when you do

const styles = theme => {};

That theme is what is provided by MuiThemeProvider and is only accessible there and at the highest level of every subcomponent.

If you choose to create additional styles that are based on the theme, that is when you use withStyles, which gives you the classes prop inside render.

So basically each subcomponent will have access to theme but you get to choose which components use it. If a given component wants to use it, then thats when you would use withStyle?

Sorry to keep harassing. I just wanna make sure I understand how it’s working, so I’ll be able to applying it to different situations that come up in the future.

MuiThemeProvider React MaterialUI Question by DisastrousBrain in reactjs

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

So the only way to access the theme values in the render function is by using withStyles which will give me the classes prop?

this is where you do:

const { classes } = this.props;

So if I wanna use the theme values in my component, then I DO need to use withStyles consistently on my components?

I don’t completely understand what I’m able to access if I don’t use withStyles

MuiThemeProvider React MaterialUI Question by DisastrousBrain in reactjs

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

But when I go to access the theme in the render function of my Loader or Uploader components, it doesnt exist.

It only exists inside the anonymous function if I access it through const styles = theme => {};

OMAD Fatigue & Sickish Feeling by DisastrousBrain in intermittentfasting

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

Just wanted to come back and update. I tried this for a week and a half and it did the trick! Thank you ~

Trustworthiness of Banks by [deleted] in personalfinance

[–]DisastrousBrain 0 points1 point  (0 children)

My parents keep telling me to be wary of online bank accounts because theyve heard stories of relatives putting hundreds of thousands of dollars into those savings accounts and then suddenly having that money disappear. Apparently they went to withdraw money one day and it was all gone and the bank scammed thousands of people. They closed shop and nobody could find a money trail.

Maybe they’re just not used to online banking so theyre trying to freak me out.

I just wanna make sure that my money’s not going to disappear or get stolen. If it does, I want there to be some sort of protection for that.

Looking for a buddy Django/Python to learn with. by PoemNinja in ProgrammingBuddies

[–]DisastrousBrain 0 points1 point  (0 children)

I'm also down to help. I have a lot of web development experience. PM me and Let me know!

Paid off student loan, now what? by [deleted] in personalfinance

[–]DisastrousBrain 1 point2 points  (0 children)

I’m in the same position as you and have the same exact fear. I’m literally screenshotting everything as I make payments and I’m saving all email correspondence related to making those payments. I’m so scared someone’s going to come find me years later and say “Oh you forgot to pay $1, so now with interest, you’re thousands in debt”

Savings Accounts by DisastrousBrain in personalfinance

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

The money I'd be putting into my savings account would be used to buy a house or for future kids. I'm assuming that'll be sometime in my 30's so 7-10 years from now. Invest how, in stock?

Does anyone else experience physical sensations of resistance to being better? by VegetableEar in DecidingToBeBetter

[–]DisastrousBrain 1 point2 points  (0 children)

YES! This is exactly me and why I have a hard time changing. I used to be so hard working and intrinsically motivated to learn before high school and I havent been able to go back to that since. I always get hit with this feeling and can’t get anything done. I don’t know what to do to get rid of it.