• Breaking News

    Sunday, February 23, 2020

    What have you been working on recently? [February 22, 2020] learn programming

    What have you been working on recently? [February 22, 2020] learn programming


    What have you been working on recently? [February 22, 2020]

    Posted: 22 Feb 2020 08:04 AM PST

    What have you been working on recently? Feel free to share updates on projects you're working on, brag about any major milestones you've hit, grouse about a challenge you've ran into recently... Any sort of "progress report" is fair game!

    A few requests:

    1. If possible, include a link to your source code when sharing a project update. That way, others can learn from your work!

    2. If you've shared something, try commenting on at least one other update -- ask a question, give feedback, compliment something cool... We encourage discussion!

    3. If you don't consider yourself to be a beginner, include about how many years of experience you have.

    This thread will remained stickied over the weekend. Link to past threads here.

    submitted by /u/AutoModerator
    [link] [comments]

    How do you *actually* use python on your computer?

    Posted: 22 Feb 2020 01:19 PM PST

    I took an intro to python class, and I don't understand even just the basics of this. Like, do you open a window, type in the code, and then press a button? Like, if I want to write a program, what applications am I using?

    Thanks 🙏

    submitted by /u/clyde-shelton
    [link] [comments]

    Any good resources to learn about networking more in depth?

    Posted: 22 Feb 2020 12:00 PM PST

    I already know the basics of how UDP/TCP sockets or HTTP requests work, but I'd like to learn about specific client-server architectures, how to handle the connections on a MMO, turn-based game, co-op game, how to interpolate the movement of characters in a real-time game, how to create scalable projects involving networking and stuff like that. I'm honestly having troubles programming the logic between the client and the server.

    It was all nice and fun when all I had to do was a console chat or a Tic Tac Toe game, but I'm starting to feel the need of some design patterns.

    Any form of help is highly appreciated! Thanks in advance!

    submitted by /u/nullptr002
    [link] [comments]

    What's the difference between a "framework" and a "programming language"

    Posted: 22 Feb 2020 11:38 AM PST

    Completely new to programming and I only have about a month of programming experience in Python under my belt. I'm interested in changing careers to becoming a full stack developer (currently work in retail).

    I hear people talking a lot about "frameworks". What exactly is a framework, how are they used, and how are they different from programming languages?

    submitted by /u/Visual-Salamander
    [link] [comments]

    Why do you recommend python?

    Posted: 22 Feb 2020 10:37 AM PST

    I don't get why python is popular. The only reason I heard is that it's easy to learn for beginners and is a multipurpose language. But so is java, c, and several other languages. Not to mention that python is EXTREMELY slow.

    EDIT: It's surprising how many people got butt-hurt because of what I said. To address some points, the speed of typing rarely ever matters in programming as most of the time you are thinking about what to write, not actually typing. Also, just because Python is easy to learn doesn't explain why the employers are looking for more python developers.

    EDIT: From what I gathered from kind strangers and if you don't wanna read through the mess of comments down below is that python is an interpreted scripting language which means it can run without being compiled. This allows the developer to test and debug the program faster. The ease of learning the syntax allows newer programmers to learn without putting as much effort as they would if they were to learn, for example, java.

    That's all I can say. I'm iffy on how that gives a comparatively better advantage in the workforce where timing is rarely an issue. But what do I know?

    submitted by /u/LatterSpaces
    [link] [comments]

    Where is the money these days, web or phone app development ?

    Posted: 22 Feb 2020 01:05 PM PST

    Assume one becomes fairly proficient at it.

    submitted by /u/the_clit_whisperer69
    [link] [comments]

    What does an “algorithm” codebase look like

    Posted: 22 Feb 2020 09:39 AM PST

    For context I'm a mobile developer and I've been in the field for a few years.

    Me and my roommate were talking (he's also an SWE) and we were both wondering. When you hear about "google algorithm" or "instagrams algorithm" does so and so, what do these algorithms actually look like in code. What language are they written in, what sort of patterns are they using, how are structured etc.

    If anyone knows of an open source algorithm that will give a glimpse into what something that would look like that's really all I'm looking for.

    submitted by /u/_fat_santa
    [link] [comments]

    Google Summer of Code 2020 mentoring orgs announced!

    Posted: 22 Feb 2020 07:52 AM PST

    For those of you enrolled in an accredited degree program, Google Summer of Code 2020 announced the 200 organizations that will be participating as mentors this year.

    They begin accepting student applications on Monday, March 16, 2020 at 18:00 UTC and the deadline to apply is Tuesday, March 31, 2020 at 18:00 UTC.

    submitted by /u/CompSciSelfLearning
    [link] [comments]

    How were the first programming tools created if there were no tools to create them with?

    Posted: 22 Feb 2020 06:56 PM PST

    This is kind of a "hits blunt" type of question but I hope some of you know the answer to this. How do you program programming languages in the first place? This has bothered me since day one, but it's pretty much the "if god created us then who created god?" dilemma for me. How did people program the initial programming platforms and tools? I'm not hoping for a long paragraph from any of you but I would appreciate a link or something that would help me understand this. Much love and please excuse my total newbieness.

    submitted by /u/ZeusBabylonski
    [link] [comments]

    Where can I learn about command shells and interpreters?

    Posted: 22 Feb 2020 08:34 PM PST

    I have to program a deeplearning algorithm for school and ive been trying to to work this out for the past 7 hours today. I did install miniconda for python and I did 2 programs that worked well with tensorflow but I did it following google instructions.. I still dont know why I have to install miniconda to use tensorflow and how to install packages on my own. Its very overwhelming and I know i cant learn everything in a day but everything I had to do just to setup the "packages" and "environments" seemed so complicated. I was wondering if any of you knew where I could probably learn how to use conda/terminals/environments and why we use them, etc.

    submitted by /u/RUFL101
    [link] [comments]

    How do I stop my program from re-running when output is printed. Like when it prints the counter out the program re-runs.

    Posted: 22 Feb 2020 08:11 PM PST

    def main(): num=(input("Enter a positive integer")) #user enters number that wants the digit to be searched in counter=0 #counter will add by +1 everytime integer in variable digit is matched with an integer in variable num. It has to start from 0. if num.isdigit()==True: num=int(num) if num>=0: digit=(input("Enter a single digit 0-9 to be searched in the number")) if digit.isdigit()==True: digit=int(digit) if 0<=digit<=9: list=[int(d) for d in str(num)] #coverting input into a list for number in list: if number == digit: counter+=1 if counter != 0: print(counter) else: print("No same values") else: print("Try again and enter a POSITIVE SINGLE WHOLE digit 0-9") main() else: print("Try again and enter a POSITIVE SINGLE WHOLE digit 0-9") main() else: print("Try again and enter a POSITIVE and Whole number") main() else: print("Try again and enter a POSITIVE and Whole number") main() main() 
    submitted by /u/friendlymolestor
    [link] [comments]

    Need help deciding technology

    Posted: 22 Feb 2020 09:58 AM PST

    I am new to programing world,wanted suggestions with respect to product development wherein i wanted to know which platform to use qt++ vs c# .net. The application must be visually good looking and also quick to develop. I have worked quite a lot with c# and made many projects but never tried qt. My project involves making automation tools for Windows.Basically helping client to reduce wastage of time in tedious work like mail etc. Also my apologies if i am breaking any rules as i joined Reddit properly 3 days ago. Thank you for your help.

    submitted by /u/prathameshbhat
    [link] [comments]

    Within the next week I'll be finished with codecademy and freecodecamp HTML and CSS content. Before I move on to JS, do you have any recommendations for projects using only HTML/CSS? Preferably with guidance if I need it.

    Posted: 22 Feb 2020 10:47 PM PST

    I searched the sub and didn't find anything.

    I'm looking to do about 10 projects to reinforce the skills before moving on to JS. Maybe 5 easy ones, 4 moderate, and one advanced-ish.

    Obviously I can just go around and find pages to try to clone, but my main interest in asking is to find resources with guidance that I can reference if/when I need to.

    I'm willing to pay but would really prefer free options.

    Thank you!

    submitted by /u/EzekielGoldman
    [link] [comments]

    What's the best tutorial to learn programming concepts from scratch?

    Posted: 22 Feb 2020 08:18 AM PST

    Hello, I was looking for a tutorial that teaches all the programming concepts Classes, Scopes, Functions so I can be confident when switching between other languages. And would be nice to have that tutorial in visual representation for example, what happens in each step of a For Loop, so I could be sure what is evaluated first, condition, incrementation end so on. I hope you know what I mean :-)

    Do you know any resources?

    submitted by /u/trybik3
    [link] [comments]

    Should I learn programming and try to switch careers?

    Posted: 22 Feb 2020 06:47 PM PST

    Just wanting some input. I am interested in switching into a programming field, but I'm not sure if it's a reasonable aspiration.

    I'm in my late 20's, and I don't really know much about programming. The extent of my knowledge has been using the unity engine to make some very simple games with extensive help from google and probably way more hours than it should have taken.

    What are the areas in the field that pay well/ have most jobs?

    Going back to college for another degree in CS isn't really an option for me, and I can't help but feel like I've missed my chance to be a programmer.

    What do you guys think?

    submitted by /u/Mannyga75
    [link] [comments]

    When subtracting binary numbers where the top digit is less than the bottom, why do we carry over two 1’s (looking for a fundamental understanding)?

    Posted: 22 Feb 2020 10:25 PM PST

    Hey guy so actually doing out the math it's clear why we need to carry over two 1s. I.e. 10-01 is just 2-1 and the only way the math works is carrying over two ones for binary. What I'm struggling with is why this works fundamentally. Part of my problem is that I might just be too stuck on it wanting it to be like base 10 carry rules (which I'm most likely also not fully understanding or utilizing) Any help would be greatly appreciated

    submitted by /u/pythonftw44
    [link] [comments]

    How do I retain what I've learned?

    Posted: 22 Feb 2020 10:08 PM PST

    First of all, pardon me for my English.

    I started programming(C++) in 2014 I was not consistent, it was always like I would code for some months or maybe weeks and then sit back and relax this happened for the next 2 years and then I totally left coding for the period 2016-2018.

    I started coding again in January of 2018, it was C# this time. I learned C# from scratch(followed the Yellow Book) and then built some GUI using WPF, the codes I wrote for the GUIs were not totally mine because I didn't know how to load a directory in C#, etc, but I also read the documentation for the codes that I used. After building 3-4 applications in C#, in April I decided to move on to HackerRank.

    I solved hackerrank and leetcode for the next 3 months and became a 5 star on hackerrank and solved around 90 questions on leetcode then, I joined a college in July and stopped solving the problem. (Learned C in first semester)

    In January of 2019, I and my friend developed a game using Python and Tkinter for an event. The code we wrote for the game wasn't totally ours, we had to look for how to make a button in Tkinter, how to use click event, etc.

    In March of 2019, I started learning about computer vision and I did 2 courses on image processing on Coursera (Course by University at Buffalo), the courses were not up to the mark, but I had nothing else to do so, I followed the courses and completed them. From May to June I contributed to a Github repository that was related to computer vision.

    In August of 2019, I found that competitive coding is very much important so, I got back to hackerrank and leetcode and solved some questions. Then, I joined Codechef and did 2 long challenges (September and October) and became a 3 star. Since I had to maintain a good GPA I left competitive coding as my mind was always busy with the problem statements throughout the day. In December of 2019, I completed AndrewNG's ML course (in 10 days).

    Since January of 2020, I have been learning Python from scratch. Yesterday I had an exam related to a job and I had to write 2 programs in C++. Since I didn't code anything in past 3-4 months in C++ I was able to solve only one question (the question was easy) the other question was related to : https://www.cs.bu.edu/teaching/alg/maze/ , I was very much near to the solution, but succumbed to the pressure of time (75 minutes to solve two questions).

    Even after coding this much it hurts to see that I was not able to do the questions. I was just thinking about Machine Learning and Computer Vision (procrastinating) that I failed to realize that I have spent so much time in something that is of no use for now because in my country (India) people with mostly post-graduation or PhD are preferred for the positions related to Machine Learning and Computer Vision. So, now I am finding something new that I can work upon and apply for internships. (Maybe Python+SQL?)

    While applying for internships I mention the projects(the GUIs) that I have done and the courses that I have pursued. Since I did everything a long time ago now, I don't remember much that is the same case with competitive programming, I knew DFS and BFS, but now I don't remember them properly. I even forgot STL of C++ that I knew before. What should I do? and whatever I am learning now how to remember it until the next interview? Do you guys revise everything that you've learned after a certain period of time?

    Any kind of help will be appreciated. Thank you!

    (If there is any grammar mistake please let me know.)

    submitted by /u/Kaori4Kousei
    [link] [comments]

    Problems when reading from a file C

    Posted: 22 Feb 2020 10:06 PM PST

    I'm trying to read from a file I have previously written to. The code and the file are indeed in the same folder. Also I can write but not read from it. Any help will be appreciated. Code

    submitted by /u/Tinch334
    [link] [comments]

    C++ book suggestions

    Posted: 22 Feb 2020 09:52 PM PST

    I'm a second semester Computer Science major and the language that is being used for a majority of our classes is C++. I am wanting to do some learning on my own outside of class and am wondering if anyone has any recommendations for books on C++. Thanks!

    submitted by /u/Demise5
    [link] [comments]

    With basic programming knowledge already, can I learn enough in 6 months to be hire worthy somewhere in the tech sector?

    Posted: 22 Feb 2020 02:08 PM PST

    I have 6 months to spare, can learn realistically 30-40 hours a week. I've got basic knowledge of programming, familiarity with Java, Python, Javascript, and SQL. Took CS 101 and 102 (Java) in university, as well as an intro to data sciences class that focused on databases and SQL, along with connecting databases to/with websites. With this base, can I learn enough to be employable somewhere in 6 months? If so, what avenue should/can I persue? I'm interested in data science and business analysis, but I'm uncertain how far away I am from being hirable in a position like that.

    submitted by /u/throwaway654735
    [link] [comments]

    What's the problem here?

    Posted: 22 Feb 2020 09:38 PM PST

    class Student:

    def __init__(self, name, surname, score): self.name = name self.surname = surname self.score = score self.email = name + '.' + surname + '@school.net.au' def all_details(self): return f'{self.name} {self.surname}' def tot_score(self): self.score = int(self.score + 20) 

    std1 = Student('MyName', 'MySurname', 200) print(std1.tot_score())

    submitted by /u/letsgetitnah
    [link] [comments]

    Learning machine learning lol

    Posted: 22 Feb 2020 03:38 PM PST

    Have been coding for 3 years and currently in college, all the programming classes have been extremely easy so far because it's just basic java and python. I want more of a challenge and miss the feeling of working on something for a while to finally get it to work how intended. What's the best way to learn machine learning? Any YouTube videos anyone has used or other methods?

    submitted by /u/krenzar18
    [link] [comments]

    Is CSS always this annoying?

    Posted: 22 Feb 2020 09:28 PM PST

    I'm trying to position a search icon inside an input box so when you click on the icon it acts as the submit button, but I can't figure out how to do it despite spending close to 2 hours on this problem alone. Desired outcome vs. current situation. The green and red borders are just my 3px solid color borders I'm using to debug. If I switch it to inline-block, it centers... but it moves to two lines: https://i.imgur.com/viu6yG1.png

    Seriously CSS is annoying. I have no problem making actual programs and what not in Python, PHP, and other similar languages... but once there's CSS involved I want to just quit. It's not even a programming language and doesn't do any logic, yet it's the most frustrating and annoying thing to use. I don't even want to be frontend, but I need to get my personal hobby project at least presentable with Bootstrap

    SQL? I'm fine. It's easy to understand and makes logical sense. Python? Cool. I didn't like the lack of brackets and what not at first, but now I feels natural. Django and Flask? More complicated, but makes sense and MVC frameworks now make a lot of sense. I can read PHP and write code in it despite just learning Python and Java. But CSS? Despite taking multiple online Lynda.com classes on CSS, I can't even get something centered without everything flying all over the place. Seriously I change it from display: inline-block to something else and everything falls apart. But oh wait, there's also position: relative and padding and margin and yada yada yada

    And the front end frameworks constantly keep changing. I thought Bootstrap included Glyphicons by default, but no, that was only Bootstrap 3 and Bootstrap 4 doesn't do that anymore.

    I think I'll just stick to backend stuff whenever possible, but for those of you who have learned CSS - how? How do you even keep up with the ever constant changes in frontend world?

    submitted by /u/lithopone
    [link] [comments]

    Where can I learn to use the key tools for Python like Jupyter Notebooks, NumPy, Anaconda, Pandas, and Matplotlib ?

    Posted: 22 Feb 2020 09:23 PM PST

    I dont really know where to start

    submitted by /u/RUFL101
    [link] [comments]

    I am learning python from John M Zelle's 'Intro to Python' and couldn't understand the specification of one of the programming exercises as it was quite vague. So, I did the exercise based on my own understanding. I request someone to review my code.

    Posted: 22 Feb 2020 07:26 AM PST

    The program specification and the code are in the following github repo:

    https://github.com/smcommits/CodeReview

    Any help is really appreciated. Thank you!

    submitted by /u/mmddev
    [link] [comments]

    No comments:

    Post a Comment