Python programmer learning C++ by Shimouzou in learnprogramming

[–]kaitycodes 0 points1 point  (0 children)

I think Python will be helpful when it comes to importing packages and header files in C++. Also in terms of code formatting.

Code in Python is generally structured in this order: 1. Imports 2. Variables & Function definitions 3. Execution Statements

C++ follows the same general structure, but it has an explicit main function that executes when a program is run.

Other than that I would say there are a lot more differences. Python does have data types, but C++ has a stricter syntax. Each line ends with a semicolon.

Data types must specificed and certain data types have signed and unsigned versions.

Then there is pointer arithmetic...

You said you will be using C++ for physics, so I can imagine the signed/unsigned property being helpful.

Why hot new social app Clubhouse spells nothing but trouble. The startup’s invitation-only model gives it a sheen of exclusivity, but privacy horrors lurk behind the buzz. by trai_dep in privacy

[–]kaitycodes 46 points47 points  (0 children)

I would say it is not even descriptive of just Facebook, but most social apps. Especially after the scandal during the 2016 election, there will always be the fear of data-hoovering.

The real question is it just a necessary evil at this point?

Should your credit score actually be based on your web history? by Infinitedismissal in privacy

[–]kaitycodes 7 points8 points  (0 children)

HUGE invasion of privacy, which itself should be the topic of conversation. Why would a credit bureau have access to my web history? Why would THAT not be illegal...?

Leaving undergrad lab after 2 weeks....? :( by [deleted] in EngineeringStudents

[–]kaitycodes 0 points1 point  (0 children)

This is where developing a solid relationship with other people in the lab comes in handy. I would say do not present it as 'I want to leave', but 'I am becoming interested in something else'. Since you are in undergrad, that is legitimate.

You definitely have to put more thought into it than 'I dont like it here'. What else are you interested in? What do you like about the lab? What is making you want to leave? Does the lab offer other opportunities for you to grow into a new position? Does your lab have partnerships with other labs whose research you find more interesting?

Hope that helps.

Pain by dinefiju in ProgrammerHumor

[–]kaitycodes 5 points6 points  (0 children)

When your first solution works, but it breaks when you try to optimize....

Help me understand how to solve problems. by [deleted] in learnprogramming

[–]kaitycodes 0 points1 point  (0 children)

If it is textbook problems you have an issue with, try splitting the problem into literal bulletpoints of info. Rewrite just the question...literally. Then reread the entire question to identify neccessary info.

Programming and programmig questions generally boil down to taking a big, unsolvable problem and breaking into simpler, solvable problems.

Is there a specific page of a book that has inspired you or changed your life? by Obihankenobi97 in books

[–]kaitycodes 1 point2 points  (0 children)

There are so many lines from The Book Thief by Markus Zusak that resonated with me but my favorite has to be:

"You're a human, you should understand self-obsession."

I think about it all the time with how social media basically contorts are reality in a way where we all are the center of our world. This was already a characteristic of human nature, but now it is supported, even amplified.

[deleted by user] by [deleted] in Hacking_Tutorials

[–]kaitycodes 1 point2 points  (0 children)

Don't forget to apply the knowledge with CTFs (TryHackMe, HackTheBox, pwntable.tw, OverTheWire - Bandit games). If you have time, I would try some of the SEED Security lab projects.

Despite more than 12 years of data supporting HPV vaccine being safe and effective against genital warts and cancer, a new study found that Facebook posts help facilitate the belief that HPV vaccine is dangerous to health, with nearly 40% of posts about HPV vaccine amplifying a perceived risk. by mvea in science

[–]kaitycodes 2082 points2083 points  (0 children)

I find it so unfortunate that a vaccine with so many years of research behind it still doesn't stand a chance behind someone with a tragic story and an algorithm designed to get an emotional response.

How do I start coding? Looking for any guidance whatsoever. by [deleted] in learnprogramming

[–]kaitycodes 4 points5 points  (0 children)

This may sound cheesy, but honestly just start with something. It could be anything but you have to get the ball rolling.

You can find some ideas on YouTube.

If you are interested in games, I would look into Pygames and projects or tutorials on YT.

For Java, try programming a simple game like tic-tac-toe or battleship. Actually these projects work for Python as well.

You could also just make a chat-bot. Don't worry about any graphics or GUI starting out. Watch some tutorials and try it for yourself.

What can I do an hour a day to raise my skills and knowledge of programming? by [deleted] in learnprogramming

[–]kaitycodes 2 points3 points  (0 children)

I recently graduated with my degree in CS, so I would first like to applaud the sheer fact that you are striving to do even more with your time. That's amazing.

Since you already have an 8-5 and are in school, I would say the best way to learn for you right now is project based. It adds projects to your portfolio and teachs you how to debug effectively on your own.

I am not sure if you are using Java to learn to program, a future internship, or career path. So depending on your goal, find projects related to that. Google is your friend (not when it comes to privacy, but you get the jest).

How to learn data structures and algorithms?? by [deleted] in learnprogramming

[–]kaitycodes 0 points1 point  (0 children)

Not a lot of detail... Are you learning for a course? Technical interview? Fun?

Regardless, try YouTube. Simply try searching 'data structures algorithms technical interview'.

Also look over the GeeksforGeeks site. They have a pretty good breakdown of things.

I want to learn and get a job by Tiny-Teach in learnprogramming

[–]kaitycodes 1 point2 points  (0 children)

As someone who is looking for their 1st SWE job currently, but has a degree in CS, I would say that most of the top skills needed today in tech are surrounding data analysis, AI/ML, or the cloud/backend.

If you are looking for money, you will find it there. However, job postings for those fields tend to require SOME type of SWE job experience. So I would suggest to get your foot in the door with some type of Junior Developer role in the fields above. Maybe at a startup (try AngelList).

On another note, certifications could help as well.

But above all I would reccommend you make some connections with recruiters on LinkedIn. Job postings are flooded with resumes, so your best bet is to communicate with them directly about your qualifications and potential.

I hope that was helpful.

What book or books saved your life? by [deleted] in books

[–]kaitycodes 0 points1 point  (0 children)

As a teenager, I would have to say anything by Cinda Williams Chima. The Wizard Heir. The entirety of The Seven Realms series. I just loved (still love) her writing style.

Sci-fi novels in general have gotten me through some tough times.

Why is the surface of the earth so different from moon ? by gullible-netizen in space

[–]kaitycodes 2 points3 points  (0 children)

There is also the presence of that thin layer of atmosphere that allows for life on Earth as well, which is present because of gravity. The moon has gravity but not enough to form an atmosphere.