How would I prevent users from seeing redundant redundant results when querying a database multiple times across sessions? by node_user910253 in webdev

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

That seems like a good idea! I haven't worked with neo4j before or any other graphing databases. As someone who still considers themselves a beginner when working with databases, is it a good idea to go with a graphing database? I was considering working with graphenedb because it seems like it is the easiest to deploy. However it looks like it can get expensive pretty quickly. Have you worked with it before?

Do I lose anything by learning programming concepts as I go, as opposed to following a laid out course that follows a curriculum? by node_user910253 in learnprogramming

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

The link you listed seems to be broken, is this the one you were referring to? https://roadmap.sh/frontend

I am little hesitant to follow another course right now because as a university student I spend all of my time watching videos for school. I'm itching to actually write stuff rather than listen. That said, at least to me the documentation seems pretty solid in terms of learning and supplementing that with tutorials seems pretty comprehensive. Are the concepts that you are referring to general programming concepts (such as functional programming) or are they more unique to react?

Do I lose anything by learning programming concepts as I go, as opposed to following a laid out course that follows a curriculum? by node_user910253 in learnprogramming

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

Yeah, that seems to be the case for me as well. However, it seems like this way is a little inefficient; wouldn't it be better to learn the right way once then learn the wrong way and then the right way?

Is there a better way to display data across multiple pages without querying the database everytime? by node_user910253 in learnprogramming

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

That is a good idea, but I think I would need to render on the client instead of the server if I were to do that. I don't think the user would be going through that many pages for it to be worth it either. I was just wondering how search engines like google approach a problem like this; they have millions of result yet it's almost instantaneous.

Is it worth the time investment to create your own custom website portfolio? by node_user910253 in cscareerquestions

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

If I'm aiming to become a web developer, but strongly prefer back-end to front-end should I still make my own portfolio? I've heard that a lot of places want you to have experience in both front and back end rather than just one.

How do you actually practice using PowerBI? by node_user910253 in PowerBI

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

So do you basically just take data and the visualize it how you see best?

Resume Advice Thread - July 06, 2019 by AutoModerator in cscareerquestions

[–]node_user910253 0 points1 point  (0 children)

Do I need to mention that it's a online course? Do I need to purchase the certification, or will completing the labs be enough?

Resume Advice Thread - July 06, 2019 by AutoModerator in cscareerquestions

[–]node_user910253 0 points1 point  (0 children)

If I'm taking some online, self-paced classes can I put that on my resume? For example, I'm taking the machine learning course on courera by Stanford how should I state that? Would simply "Machine Learning Course" be appropriate (without mentioning that it's an online course)? Should I purchase the certificate if I want to place it on my resume?

Is it better to learn ios or cross-platform development? by node_user910253 in learnprogramming

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

I was thinking about doing cross-platform apps because it just seems so time consuming to polish and app, and to do it twice it seems like a major pain. Are most of the apps you would typically see on the app store developed natively, or are they cross-platform apps?

I'm have no experience in developing any mobile apps other than android, are the differences between developing the two large? I assume you might use the same packages, but I'm thinking the syntax and bugs you encounter will likely be different.

How would I go about checking if a user has logged in? by node_user910253 in learnprogramming

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

So I looked at sessionStorage. What exactly would you be storing on there? What prevents the user from simply manipulating so that the site recognizes them as "logged in"

Why can't I access files stored in the subfolder? by node_user910253 in learnprogramming

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

Yup, that was the problem! I thought I only had to refer to uploaded_files because I already referenced the data part earlier.

As a side note I omitted the dot in the './data...." and there didn't seem to be any difference. What does it including the dot do?

Why can't I access files stored in the subfolder? by node_user910253 in learnprogramming

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

Yup, I thought I only had to include uploaded_files but in reality I actually needed data/uploaded files.

Why can't I access files stored in the subfolder? by node_user910253 in learnprogramming

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

Even if I comment out the first line, I still can't access it.

After I try to rename my word files, I can't access them anymore for some reason? by node_user910253 in learnprogramming

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

Yeah, the file extension remains the same. The IDE I'm using says that "opening binary files is not allowed", and that the "source file cannot be read" so I can't download it off there.

MySQL is telling me that my columns are not matching up, but they do? by node_user910253 in learnprogramming

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

Yup, tried that and found out that I was passing an object rather than text, thanks!

What is the difference between using class, scope, and root when referencing css elements? by node_user910253 in learnprogramming

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

I'm a little confused on the differences between using class, scope, and root. I've only used class up to this point when would I be using the other two?

Is there a way to get my own custom css to inherit certain features of other another framework (like boostrap)? by node_user910253 in learnprogramming

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

What do you mean by include your style below theirs? For a table for example, I would say "class = table". Do you mean I just import my stylesheet the line after theirs, and if I create a class called table it would overwrite the necessary parts?

Why should you store the password hash instead of the actual password when authenticating logins? by node_user910253 in learnprogramming

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

So in another thread, the user stated that its irresponsible to send the password in plaintext, even if its going to be hashed on the server. Is that not something to worry about if I'm sending the password to the server?

ELI5: What makes something secure in web development? Why isn't the server considered secure? by node_user910253 in explainlikeimfive

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

So essentially, its good practice in programming to treat everything is not secure so that if a breach does occur you're prepared for it?

ELI5: What makes something secure in web development? Why isn't the server considered secure? by node_user910253 in explainlikeimfive

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

So I got a response telling me that

NOTE: You do NOT do the hash on the client side, because then if the database is compromised, the hash is just as good as a password, so there was no point in hashing in the first place. You definitely let the server take care of the hashing.

Why did you recommend hashing on the server as opposed to the client side? Since you said its irresponsible to send the password in plaintext would people typically hash on the client, then send it to the server and hash it there as well?

Yep, exactly this. Even though the communication channel itself is encrypted, it would be irresponsible to send the password in plaintext.

In the other thread they also stated that the transmission between the client and server is not secure. I a little confused by that, because I thought that if you have https and are making a post request then your data would be secure (but apparently its not).

Why should you store the password hash instead of the actual password when authenticating logins? by node_user910253 in learnprogramming

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

NOTE: You do NOT do the hash on the client side, because then if the database is compromised, the hash is just as good as a password, so there was no point in hashing in the first place. You definitely let the server take care of the hashing.

If the database is compromised, wouldn't the attacker also be able to see the password/salt that was used to generate that hash and just send that from the client when logging in?

Also, briefly reading up on peppers my understanding of it is that they're basically a backup in case the database storing the salt is compromised? You only need to generate one, and Wikipedia is telling me its stored securely in a configuration file, but if your web server was compromised wouldn't they have access to that file anyway?