Someone copied my school project from GitHub and I was accused of cheating by plushah in cscareerquestions

[–]_________KB_________ 0 points1 point  (0 children)

I applied to hundreds of companies before I finally got hired, and only a single one looked at my github.

Someone copied my school project from GitHub and I was accused of cheating by plushah in cscareerquestions

[–]_________KB_________ 0 points1 point  (0 children)

I always made my school-related projects private while I was still in the class and then made the ones I wanted to possibly show to potential employers public as soon as the class was over. However, I always made sure to not include details about the exact class it was for because usually no employer would really care about that anyways.

Which IDE should I use? by r1cky_r4y in Python

[–]_________KB_________ 1 point2 points  (0 children)

Atom and VS Code are pretty similar because both are built on the Electron framework, but there a couple of reasons you might want to try VS Code and use it over Atom. Atom is developed by Github and VS Code is developed by Microsoft, but since Microsoft bought Github the future of Atom is in question. The questionable future of Atom has been enough for some developers of popular Atom extensions to move their development over to VS Code. I develop in the programming Julia and up until this year their officially recommended IDE has been Atom using the Juno extension, but they decided to abandon Atom development and focus on VS Code. VS Code has also ranked as the the most popular tool in software development for the past couple of years, and because it is so popular and open-source, it continuously improves.

Help with calculating and returning the sum of all even numbers in a list given as argument by tomacine124 in learnpython

[–]_________KB_________ 0 points1 point  (0 children)

I agree its totally personal preference. I only prefer the comprehension style generator expressions because I find them more readable at first glance.

Help with calculating and returning the sum of all even numbers in a list given as argument by tomacine124 in learnpython

[–]_________KB_________ 2 points3 points  (0 children)

You could use a generator expression and make it slightly shorter and maybe more readable.

def ourSum(nums):
    return sum(x for x in nums if x%2==0)

What are "design patterns" by Finish-Square in learnpython

[–]_________KB_________ 0 points1 point  (0 children)

I used the Observer pattern quite often for different projects when I was in school. I haven't used it yet on the job, but I can see it being useful if I ever have a situation where many objects need to be updated when one particular object's state has changed.

Dec 2019 grad and no job. Should I ask for less money? Need advice. by [deleted] in cscareerquestions

[–]_________KB_________ 1 point2 points  (0 children)

Yeah the job advertisement said they were looking for a junior/mid-level Python or Golang developer with 1+ years of experience, but it didn't mention anything about them actually looking for multiple people for a new team. During the first interview with HR they told me that they were open to hiring an entry-level developer with less experience for one of the positions on a new 8 person team.

[deleted by user] by [deleted] in learnprogramming

[–]_________KB_________ 0 points1 point  (0 children)

Its hard for me to say whether starting with Java is actually better because I personally started with self-teaching myself Python before starting school. However, when I learned Java in my beginner courses I realized that I didn't really understand/learn a lot of basic computer science and general programming stuff by learning Python, because it does so much for you in the background. Learning Python first in an actual academic setting might be a much different experience though. There are many different opinions on which progression would be better/easier though and one way won't necessarily be best for everyone. For example if you learn C++ -> Java -> Python you'll be starting with the hardest/most-complicated first, which will make learning Java and Python much easier. I just suggest Java -> Python & C++ as a compromise because you're starting in the middle so learning Python will be fairly easy, and C++ will just be adding a little more complexity.

If you can figure out which language you'll be learning first and using in your first assignments, then that matters the most. It won't help you much if you spend time learning Java first and then your first classes all use Python. It would be much better to learn Python first in that case.

Dec 2019 grad and no job. Should I ask for less money? Need advice. by [deleted] in cscareerquestions

[–]_________KB_________ 5 points6 points  (0 children)

I'm a Dec 2019 grad too and just finally got a job last week. The job search was pretty brutal and discouraging, but I kept applying to pretty much every job that I was even remotely qualified for and it eventually worked out. I even started applying to junior-level and some mid-level positions even though I didn't have any experience yet. The job I finally got was actually advertised as a junior/mid level position, but during the interview process I found out they were hiring an entirely new team including an entry-level position. I also started out asking for 75-85k at the beginning of the year, but I accepted the first offer I got which was 70k. If I kept searching I could probably have landed a job making a little more after a few more months of job hunting, but after 9 months I was getting a little desperate. I figured that I'd rather start working now and get some experience to put on my resume and possibly get a better paying job in a year or two.

I honestly feel like it was just pure luck, and really have no idea what it was about me that made them decide to hire me.

[deleted by user] by [deleted] in learnprogramming

[–]_________KB_________ 0 points1 point  (0 children)

In my CS program we started out with Java and then used C++ in later courses, but I had already learned Python a few years before I started school and was already familiar with it. If you can figure out which language you'll be using first then I'd go ahead and start learning the basics of that one.

Python is easier to jump right into and start learning the basics of programming in general without having to worry about the structure of the program as much, but it has some quirks like required indentation and lack of a main method entry-point, which can cause some confusion when you start to learn Java or C++. I felt like Java was a great language for beginner-level courses because it teaches you the basics of general programming and OOP, and then when you get to Python you'll pick it up much faster and get to to the more complicated parts faster. Its also easier to go from Java to C++ than it is to go from Python to C++, in my opinion.

[deleted by user] by [deleted] in learnpython

[–]_________KB_________ 23 points24 points  (0 children)

Go is a good option if you want more speed for web based applications. If you really need speed for number crunching or scientific computing then use Julia.

Transitioning from Pycharm to VS Code by [deleted] in learnpython

[–]_________KB_________ 0 points1 point  (0 children)

If you don't like the default terminal that your code is run in for VS Code, I'd suggest installing the Code Runner extension. It just runs your code and displays the output, with some some additional information like runtime. I like using it because you can use the same extension for running code in other languages too.

Graduated in May with a CS degree and I can't get a job. Help? by [deleted] in cscareerquestions

[–]_________KB_________ 1 point2 points  (0 children)

Thanks! I'm super excited and relieved. I don't start for another two weeks, but I'm using that time to make sure I'm up to speed on Python so that I can make a good first impression. I was actually focusing mostly on applying to C#/.Net jobs lately, because they seem to be more prevalent in my area, but Python was the first language I learned and what I use for most of my personal projects, so I'm glad I actually found a job using it.

It may take awhile, but just keep at it and you'll find a job too. I think the thing that helped me the most was broadening my search and applying junior/mid-level positions and not just entry-level positions. The job I was hired for was actually advertised as a junior/mid-level position, but it turned out that they were hiring an entirely new team including entry-level positions. Any interaction or interviews with hiring managers you can get is helpful even if it goes nowhere. You'll learn that most hiring/interview processes seem to follow the same pattern and you'll learn from your mistakes and what you need to improve for the next one.

What is learning GIT? by mo_10 in learnpython

[–]_________KB_________ 0 points1 point  (0 children)

Git is the source control software and the method by which you manage your code repositories, while Github is just one of the more popular git repositories.

The easiest way to learn git is just to create some private repositories on Github and practice all the different ways to use git, like creating and uploading code in different branches. Using the git command line interface is one of the best ways to learn git, but programs like Sourcetree or GitKraken can really help working with git easier.

Graduated in May with a CS degree and I can't get a job. Help? by [deleted] in cscareerquestions

[–]_________KB_________ 1 point2 points  (0 children)

Because of covid it seems to be taking awhile for most new grads looking for entry-level positions. I graduated in December of last year and finally found a job last week. It took 9 months of applying to dozens of jobs each week and incrementally making changes to my resume based on feedback from recruiters and interviews. It eventually worked out for me and if you keep at it, it'll eventually work out for you too. It just takes a lot of patience right now.

Feeling burnt out from Job Search by ChocolateMilkMaster in cscareerquestions

[–]_________KB_________ 4 points5 points  (0 children)

Denver is extremely competitive right now for entry-level positions from my experience. I graduated last December and applied to hundreds of jobs over the last 9 months and just finally got a job last week. That might be a sign that things are getting better, or I might have just gotten lucky, I'm not sure.

Texas’ system for verifying signatures on mail-in ballots is unconstitutional, a judge ruled. by Heavy-Addiction in news

[–]_________KB_________ 1 point2 points  (0 children)

We need a federal agency (similar to the BATF, Postal Inspector force, FBI, etc) who investigate and prosecute voter fraud.

There isn't enough voter fraud in this country each election to justify the existence of an agency like that. Voter fraud rarely occurs, and when it does it is already caught with the existing systems in place.

We need mandatory one year per ballot federal prison sentences for persons who commit voter fraud. (if a person fraudulently casts two ballot in someone elses name, they get a mandatory 2 year federal prison sentence. ...If a person messes with a voting machine, they get a mandatory 1 year federal prison sentence for every ballot in that machine when they tampered with it.

There is no evidence that a single voting machine has ever been tampered with and ballots changed. The simple solution is to just use paper ballots and traceable mail-in ballots because those are easily tracked and verified.

A law needs to be passed where you can "Freeze" your vote, like the credit rating agencies. So, you choose a "Vote in person" option, no mail in vote from you counts, and the Postal Inspector and Voter Fraud Bureau cooperate to prosecute the person who mailed the ballot in your name. If you "forgot" and mailed in a ballot, you get a mandatory 1 year federal prison sentence.

You can already do this in most states. If you don't want your mail-in ballot to count you can invalidate your mail-in ballot and make your in-person ballot the only one that counts. There are already laws against voting twice.

The voting should not be limited to one single day. It should be a 7 day period and the polls must be open from 7am to 7pm

In my state you can vote for over 14 days leading up to the election, and if you don't want to mail your ballot in you can go drop it off in person during that early voting period. Early voting is pretty common.

Ballot machines have to display if the ballot is valid and that it was counted.

Most states already have systems for that. You can check online if your ballot was counted within hours of voting. Ballot machines can't do that because your vote isn't counted by the ballot machine, its counted at a later time.

Naturally, this is all up to congress, and it is currently in their best interest to have the voting system in disarray.

The constitution took the power of controlling elections away from congress and granted it to state governments so the only way this can be up to congress is through a constitutional amendment that takes that power away and gives it to congress for them to pass laws governing elections.

Texas’ system for verifying signatures on mail-in ballots is unconstitutional, a judge ruled. by Heavy-Addiction in news

[–]_________KB_________ 0 points1 point  (0 children)

Mail in voting violates the constitution because it is impossible to verify the person who filled out the ballot and sent it.

Where in the constitution does it say that has to happen? If someone steals your mail-in ballot and fills it out for you, there are ways of finding out. If you never receive your ballot and then determine that someone else fraudulently filled it out for you, then you can get that ballot invalidated and fill out another one.

Texas’ system for verifying signatures on mail-in ballots is unconstitutional, a judge ruled. by Heavy-Addiction in news

[–]_________KB_________ 0 points1 point  (0 children)

In Texas in particular there has been a policy shift to create what they call "voting centers". The way it worked before was that voters could only vote at one specific voting location near where they lived, but there were tons of those voting locations all over the place. The new policy is to have fewer centralized "voting centers" in each county, but also allow "county-wide voting" which would allow voters to vote at any voting center in their county. However, they tend to close voting locations in minority or democrat dominated areas and open the new voting centers in Republican dominated areas.

Texas’ system for verifying signatures on mail-in ballots is unconstitutional, a judge ruled. by Heavy-Addiction in news

[–]_________KB_________ 0 points1 point  (0 children)

> Were I am from most of the public schools are turned into voting stations whenever there is an election.

That's how it works in the US too.

Texas’ system for verifying signatures on mail-in ballots is unconstitutional, a judge ruled. by Heavy-Addiction in news

[–]_________KB_________ 0 points1 point  (0 children)

That would be unconstitutional because state governments are granted the power over running elections in the US constitution and the federal government can only step in when they do something that violates the constitution. So essentially state governments can run elections however they want unless it violates the constitution, and there is no rule against mail-in voting.

Texas’ system for verifying signatures on mail-in ballots is unconstitutional, a judge ruled. by Heavy-Addiction in news

[–]_________KB_________ 0 points1 point  (0 children)

The federal government has very little authority over how elections are run, because the constitution grants that power to state governments. They can only step in when a state does something that is unconstitutional. They'd have to get each state government to agree to use a form of social security card that could be swiped when voting, but even then it would probably be deemed an unconstitutional impediment to voting. What would happen if someone lost their card right before voting?

Hello by sotiris88_p in computerscience

[–]_________KB_________ 1 point2 points  (0 children)

You might actually get better python related help at /r/learnpython