Cheat Sheet on the Basics of Python learn programming |
- Cheat Sheet on the Basics of Python
- How to efficiently practice and study coding?
- I'm trying to learn Python but I just get lost after watching tutorials and going through free courses
- What does Load Diff, This File was Deleted mean when uploading your code from Eclipse to GitHub?
- In Strassen's algorithm for matrix multiplication are we always are we always dividing the matrix into n/2 by n/2 matrices?
- Static Analysis of ELF File
- The Golden Guide to Landing a Developer Position
- Need help with program
- Cannot figure out why I'm getting this memory error in C problem
- JAVA - Do we need to override every method of an implemented interface?
- Threading question
- Holy shitballs I got an assignment - need help with setup!
- No cs degree. Interested in replacement of doctor or pharmacist. What should i do?
- Bulk image processing.
- Any advice on getting back my motivation to learn?
- Can someone explain how this is possible
- Do you think coding will become oversaturated very soon?
- Project Planning Software
- default constructor overriding other constructors?? wtf!??
- (CS50) Did I legitimately solve this or just get lucky
- How often do you re-read the same paragraph or line in an API doc?
- Projects that explain how to build applications
- [C++] How do I store this padded number as an int?
- printf and return appropriate usage when dealing with functions
Cheat Sheet on the Basics of Python Posted: 23 Sep 2020 12:41 PM PDT I created this free Python cheat sheet - hopefully useful as a reference guide for beginners to the language. [link] [comments] |
How to efficiently practice and study coding? Posted: 23 Sep 2020 02:32 PM PDT Hello, I'm studying to graduate in CS, how do you actually practice coding? I don't really understand how to practice something like coding. I've only taken 2 classes (C++) and it's been okay but I feel like I can do way better and I get stuck on what feels like stupid problems I should have already learned how to deal with and it makes me feel bad. [link] [comments] |
Posted: 23 Sep 2020 03:19 PM PDT I go through several youtube videos that teach basic concepts of syntax of Python and do the same with courses on freecodecamp, khan academy, etc but I always end up getting lost and losing motivation. I just follow the directions and try to commit the syntax to memory but it doesn't work out. I feel the issue is because I want to actually get started on some simple projects and learn the syntax and concepts as I go but I have no idea how to start that. I don't really know what kind of projects I can do or how. Does anyone know of any sites that would be a good starting point for me? [link] [comments] |
What does Load Diff, This File was Deleted mean when uploading your code from Eclipse to GitHub? Posted: 24 Sep 2020 12:58 AM PDT I was able to commit and push from Eclipse to Github. I look into my project repository and it says Load Diff, This File was Deleted and has multiple deletions? [link] [comments] |
Posted: 23 Sep 2020 09:25 PM PDT So the famous CLRS book deals with 2 by 2 sized matrices as examples when teaching Strassen's algorithm and you are doing recursive multiplications with n/2 by n/2 sized matrices when subdividing the matrices, which makes sense. If my matrices were 3 by 3 or 8 by 8, then would I need to do recursive multiplications with n/3 by n/3 or n/8 by n/8 when doing the recursive multiplication operations? I wanted to make sure I understood it correctly. [link] [comments] |
Posted: 23 Sep 2020 11:36 PM PDT Hey guys, Not sure if this is the right place for this but here ya go... I'm very new to this kind of thing, and I need to be pointed in the right direction for finding an encryption key within an ELF ransomware file. I've tried analysing it using objdump/readelf, but it's pretty much unreadable this way. I know I might be able to read a memdump if I run the code, but I'd rather not encrypt all my files, even though I'm using a VM. Thanks! Like I said, just a first step or two is all I need, since I'd like to try and learn as much as I can from this. Thanks again! [link] [comments] |
The Golden Guide to Landing a Developer Position Posted: 23 Sep 2020 09:03 PM PDT For anyone that's looking for software engineering role this season, this guide will come in handy. [link] [comments] |
Posted: 23 Sep 2020 09:59 PM PDT Hi everyone, I was wondering if anyone knows how I can make the bolded part (below) into an actual working function, for now, it just says "Variable 'apple' is uninitialized when used here". Thanks! //The program was coded in C. #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> #include <time.h> void main() { int a, b, c, bonus, earning; float bet; char apple, orange, cherry, lemon; printf("Please input your bet: $"); scanf("%f",&bet); time_t t; srand((unsigned)time(&t)); a = rand()%4+1; //1-4 b = rand()%4+1; c = rand()%4+1; if (a==1||b==1||c==1) { a = apple; //concept b = apple; c = apple; } else if (a == 2||b==2||c==2) { a = orange; b = orange; c = orange; } else if (a == 3||b==3||c==3) { a = cherry; b = cherry; c = cherry; } else if (a == 4||b==4||c==4) { a = lemon; b = lemon; c = lemon; } printf("\nYour three items are %d %d %d\n\n",a,b,c); if (a ==b && b==c) { bonus = 8; printf("Jackpot!\n\n"); } else if (a==b || b==c) { bonus = 3; printf("Winner!\n\n"); } else { bonus = 0; printf("Better luck next time\n\n"); } earning = bet * bonus; printf("You win $ %d\n\n",earning); system("PAUSE"); } [link] [comments] |
Cannot figure out why I'm getting this memory error in C problem Posted: 23 Sep 2020 05:54 PM PDT I'm working on this problem in Codewars in C. It feels either I'm making it a LOT harder than it needs to be, or it's just my approach. But anyway, I've passed the initial tests and a few random ones, but on the random ones I get either of these two errors: Admittingly I'm really weak on this stuff (I'm trying!) but I can't for the life of me see what I'm missing, especially since I am unable to print out the inbound arr[] elements to see what the problem is. Here is the code: What am I missing here? [link] [comments] |
JAVA - Do we need to override every method of an implemented interface? Posted: 23 Sep 2020 09:34 PM PDT I'm doing GUI and when I implement MouseListener apparently i have to override all its methods. Is this always applicable? [link] [comments] |
Posted: 24 Sep 2020 12:53 AM PDT Hi, i have an exam tomorrow and there were a few questions the professor did that i noticed i couldnt answer, i havent studied much since i did put 100% of my time on math. "Consider an archive server running as a one thread process in a computer where other process are executing. In order to improve performance we want to add the said process multithread support to take every archive petition separately. It is decided to take threads on user level, however the performance has no positive change. Why(s)?" I believe this might be because the server is running as one thread process therefore is a bottleneck in the top, right? I mean like having thousands of people doing as secretary of one single doctor, everyone gets their turn in time however there is still only 1 doctor. I could be wrong thought so i wanted some advice. Thanks [link] [comments] |
Holy shitballs I got an assignment - need help with setup! Posted: 24 Sep 2020 12:48 AM PDT So based on some work I have been doing for a community I am active in, somebody asked me to make a webapp! It's a paid gig, which is awesome, and it's something I am pretty sure I can build. It's a simple service that requires users to create an account, and use a service based on a balance they can top up using credit card.The problem is - now that it's "for real" I am doubting even the most basics of basic. I will be building a webapp in Vue. I have a lot of experience with Pug (been actively building and maintaining a webapp that gets 1700 views per month and almost 200,000 api requests per month), but have been learning Vue for some time now and I really like how it's more structured and maintainable. I have been using mocha/chai for testing, and I have some crude workflow set up to test everything before pushing anything to a master/production line in Heroku, so I feel (felt) pretty confident in my ability to handle basic webapp. But to get to the point - What is new for me is that there will be a payment part. Now I am reading up on Stripe integration, and while pretty straightforward, it does give me the jitters a bit - how to store users' data safely, how to make sure there are no problems with payments and subscriptions etc.. I can set up a mongodb from scratch , but is there maybe some backend as a service or a library/framework that I can use for now that takes away some of the hard basics for this type of thing? I just want to make sure that useraccounts are stored safely, so with correct password hashing/salting/pepering etc.., maybe the correct way top store and handle payments and acces to features. I can code all this but my mind shifts to all the problems that will occur when this goes wrong. The thing is, I have been learning how to make useraccounts from tutorial 1 I guess, but now that it's for real, each step seems "not professional" enough. Maybe it's just the nerves, but all of a sudden there seems to be so much stuff that can go wrong! [link] [comments] |
No cs degree. Interested in replacement of doctor or pharmacist. What should i do? Posted: 24 Sep 2020 12:44 AM PDT Hello, My background is not cs. I majored in pharmacy in another country (not north america). And i have pharmacist license and master degree in pharmacy. As i metioned in title, i have interest replacement of doctor or pharmacist. Maybe this area are relative with AI, deep learning. To make that goal, what should i do first? Do i need to go to cs undergrad course? Or graduate course? Or take bootcamp then go to startup? What is the best way to accomplish my goal? [link] [comments] |
Posted: 24 Sep 2020 12:28 AM PDT Hi, Suppose I want to upload a folder with 15000 images in it to my server and process them like resize them and then store them on some Blob storage like azure. What do you think is the best approach to handle this huge amount of data? I want to know the whole process how uploading could be made resiliant and manageable and then image processing as well. I'm using .net core. [link] [comments] |
Any advice on getting back my motivation to learn? Posted: 24 Sep 2020 12:27 AM PDT On my first year of university, i was quite motivated to learn and do a lot of coding. It was quite fun. At first it was solving various problems with simple programming and the difficulty just keeps increasing. Nothing practical yet, just training my logic with programming. Then I got into Java and OOP in general and i really liked it. I started studying ahead of class myself and doing dumb projects like make flappy bird from scratch. Most of the time i never really finished these projects to be honest but they were fun to do and i did get a bit of experience. Also, I liked watching youtubers like code bullet mess around with "pointless" projects. I still want to do something like that. As time went on, classes became a bit more theoretical and didn't really interest me all that much. Basically, I got bored. Classes were full of things i didn't really feel like I need or was just simply taught in a boring way. A lot of my lecturers weren't really teaching in a way I enjoyed. Everything just felt like a chore. For some reason, this translated into my personal learning sessions and I kind of stopped learning ahead myself. Recently, i realized my portfolio is basically empty as i never really saved my previous projects since they were mostly just me screwing around and I never really continued anything until i eventually just stopped doing anything. I want to start filling up my portfolio and github with things, both for getting jobs easier and for a better personal learning experience. It's not like i got bored of programming as a whole, I still want to do it. I just can't really find any motivation to start learning anything new or advanced. I want to start getting back into it and learning new things again. Any advice on how to just get my butt up and do it? On a side note, aside from Java development, I'm also interested in machine learning, inspired by people like Code Bullet. Any tips on where to start for this? [link] [comments] |
Can someone explain how this is possible Posted: 24 Sep 2020 12:16 AM PDT I have a little bit of programming experience, but I cannot even remotely understand how this guy played this animation superimposed on everything else running https://www.reddit.com/r/Unexpected/comments/isg1zp/roomates/?utm_medium=android_app&utm_source=share [link] [comments] |
Do you think coding will become oversaturated very soon? Posted: 24 Sep 2020 12:08 AM PDT So many people are trying to avoid their shit jobs by learning to code and get that job in coding that is one of the few well paid jobs out there that can be reachable within few years of practicing instead of ass kissing and climbing the corporate ladder in some company in hopes that you'll be lucky one day and get the supervisor/manager position. But with so many people learning to code, do you think there will be no more places for new coders and many people will stay left behind? I think it is very possible. Even STEM college degrees are becoming saturated now since society pushes on kids to become engineers if they want a good pay. But I think, one day it will collapse. There is just too many people and the simplistic solution by doing stem is not a way to solve working poverty /low pay problem. I feel very discouraged. Because from many people who do programming for money I want to do it because I like it, I always liked computer and tech related stuff but lately I feel like the competition is become way more hardcore than it ever mainly due to unsolved problems in job market which is too few jobs with good pay while coding being the only way for many people to make their lives better without becoming a doctor or a lawyer (6 years of study and huge debt). What are your thoughts on this? [link] [comments] |
Posted: 24 Sep 2020 12:04 AM PDT Can anyone suggestion some goo project planning software, that is free and can help me keep track of my progress as I build my project? I have seen JIRA, Asana, Monday.com, Trello pop up as my top suggested when I did some research but for a team of 3 people the above suggested platforms seem to be a bit too much as they need to be paid for or require a work email. How does everyone here keep track of their projects progress? [link] [comments] |
default constructor overriding other constructors?? wtf!?? Posted: 23 Sep 2020 11:56 PM PDT Hi, I don't know how this is possible, but my default constructor seems to be being called instead of my parameterized constructors. Here's main: here Artist.h
|
No comments:
Post a Comment