• Breaking News

    Tuesday, April 30, 2019

    Programming courses are teaching me NOTHING - what am I doing wrong? learn programming

    Programming courses are teaching me NOTHING - what am I doing wrong? learn programming


    Programming courses are teaching me NOTHING - what am I doing wrong?

    Posted: 29 Apr 2019 12:41 PM PDT

    I've been working my way up with little programming courses from CodeAcademy and Udemy. I've got my associates in CompSci from a local community college, making Deans List nearly every semester. And I possess ZERO skills to help me out in the professional world.

    It seems like all I'm learning is how to write loops and functions in ten different languages, not how to write functional programs that might be used in the real world and how they operate. I'm currently working tech support for an accounting software company, and looking at this source code is like trying to decipher eroded hieroglyphics. I can't build a program, I can't debug a program, I can't tie a program to a SQL database, etc etc. If I ever wanted to work with the devs here, I wouldn't even know how to get my foot in the door. Our software is written in primarily C#, but my C# courses haven't taught me anything that is used here.

    This is discouraging me from applying for any junior software dev jobs because I feel like I know absolutely nothing. And I'd just sit at my desk with my head in my hands, spending hours digging through StackOverflow trying to make sense of whatever is going on. I literally can't seem to get my foot in the door and I do not know what I am doing wrong.

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

    What's the best way to make a GUI?

    Posted: 29 Apr 2019 07:53 PM PDT

    I want to make a GUI for my own dungeons and dragons character sheet, spell keeping and other general dnd stuff. So I was wondering what would be the best way to make a GUI?

    Does anyone have any good tutorials on making a GUI?

    Thanks.

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

    Why are algorithms and data structures important and are they applicable to my goals?

    Posted: 29 Apr 2019 07:32 PM PDT

    I am not a CS major nor do I see myself in IT building complicated databases. I come from a business background and have been learning Python for automating the boring stuff and simple data analysis using pandas and numpy. And maybe the next step is to learn to fetch data from SQL databases.

    I know algorithms are logical ways to solve problems but do I need to learn them for what I'm doing? I've been looking at some algorithm books such as Erickson and CLRS but I would have to take an exponential amount of time to learn the math. I've only done intro to calc and that was 10 years ago in 1st year university.

    I am not trying to sound lazy, just efficient for my goals.

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

    how would I search for a specific token with in the strings of a list in python

    Posted: 29 Apr 2019 10:48 PM PDT

    I know java has a contains method, i have been trying to research if python has one, but I have only found re.search()... what would be the best method that I can use

     for N in StreamerList: if bool(re.search(reference,reference,StreamerList)) == True: found = true await message.channel.send(StreamerList[N]) 

    This is what I have, I know its wrong...

    submitted by /u/19Riften99
    [link] [comments]

    Is there a good WebRTC app or lib for voice/video calls (either or both)?

    Posted: 29 Apr 2019 10:49 PM PDT

    I have a site my friends and I use and I'd like a simple button next to our names so we can call eachother (voice) when we're online. I'm not oppose to video calls either. My server is in C# but I have a page that requires node to run so I have an express instance up. C#/Node both fine if the lib/app requires it.

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

    Which of the following paths would you recommend an absolute beginner to learn Web Development?

    Posted: 29 Apr 2019 11:58 AM PDT

    • Path A: Start with HTML5, CSS3, and JavaScript, Learn PHP and MySQL, then Wordpress -> Then and only Then move onto React and Node

    • Path B: Start with HTML5, CSS3, and JavaScript, directly jump into React and Node, skipping PHP and MySQL

    • Path C: Start with HTML5, CSS3, and JavaScript, then learn Python, Django/Flask.

    Assuming our end goal is to work for a Big N / Unicorn / Trendy Tech Company, which path should we take to optimize our time the most?

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

    How many bits to replay a match of 3x3 tic tac toe?

    Posted: 29 Apr 2019 08:11 PM PDT

    This should be playbackable, a list of ttt Moves

    0100 111 110 001 001 11 00 1 0 

    The idea is that the first move needs to choose from 9 squares so it has to be 8 bits. But then the next few moves use 3 bits for 8 or less possible moves, the 6-7th use 2 bits to represent 4-3 possible moves, and the last two moves use one bit

    Can this be compressed further? I'm not sure how you would go about it at this point, maybe it's too simple - or maybe i just don't know anything about compression.

    Of course while the compressed data can be small, now you need some way to get information out - I would say that 0th tile represents the top left corner, the 3rd the top right and the 9th representing the bottom right

    Also since the file is so small, I guess even a single bit being corrupted could be the end of this being replayable? I don't even know how that works

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

    Humble Bundle Python Book Bundle

    Posted: 29 Apr 2019 02:26 PM PDT

    HB is selling a bundle of python books. Not sure, how outdated some of the books may be, but altogether they are fairly comprehensive. O'Reilly is a high quality publisher, generally. The $8 bundle looks to be the best value. Introducing Python and Think Python look to be the main books here for beginners.

    https://www.humblebundle.com/books/python-oreilly-books

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

    2 Key value pairs have the same value in a hashmap. Which gets removed.

    Posted: 29 Apr 2019 09:28 PM PDT

    Say for example you have a pair of (2,E) and (2,C). If you simply said remove 2 would it remove all pairs that have the value 2 or would it remove just one and if it removes just one which one?

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

    Problem with if/else

    Posted: 30 Apr 2019 12:24 AM PDT

    My friend is using a program to download videos

    He's using it from the terminal

    Sometimes his Internet connection goes down and the terminal says "ERROR connection"

    I'm trying to write a phyton program for him because he told me to do this to automate the download process.

    His internet connection sometimes goes down (off line).

    When this happens a window opens that tells him to re-connect ... so if he doen't click 'connect' on the window that appears, the connection is interrupted (and the program can't do its job)

    OPerative sistem Ubuntu

    I need 2 things:

    1. A command to tell the system: '' when the connection is interrupted, click on '' connect '' in this window so as to restore the connection lost
    2. When the connection is interrupted, youtube-dll stops the download. So the program should re-paste the specific command on the terminal to continue downloading that video (which was interrupted when the connection was dropped). Suppose we have a series of cascaded videos to download I have a series of videos in '' cascade '' (one behind the other) to download.

    The code to download videos is written from the terminal and is composed of a part of code that is always the same for all videos + URL of the video to download (which changes according to the video to download .. if I put a URL of an already downloaded video, it will download again the same video)

    Considering that this '' connection breack down '' occurs very frequently (8 times in two hours time frame) and that every time that the connection goes down (besides clicking '' connect '' button in the windows prompt that shows up) I need also to go to the terminal and write the code to download the video (which with the fall of connection was blocked)

    How can I make the program understand that it must continue to download the youtube video that has been interrupted?

    I think I have to check the system logs to see what it is like when I click the "connect" button for the connection

    This is relatively easy ... the point is how to make it clear that it must continue to download just the video that was blocked due to the interruption of the connection? Connection interruption is a random thing that can happen three times in a minute or once in an hour and if I don't click 'connect' the connection is not restored

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

    Learning Web Development but not enjoying it. Need some inputs.

    Posted: 30 Apr 2019 12:23 AM PDT

    I am unemployed right now, but I'm using my time to search for jobs and learn web development on Udemy with the plan to get a dev job around the beginning of next year. The instructor is great. I'm learning Bootstrap and responsive design now. However, I'm not liking it, but I'm well aware that responsive design is extremely important especially more people are browsing the web from their phones. I kinda know that I want to do more of back end programming (maybe full stack) because I'm more interested in how something functions rather than how it looks/presentation. I'm learning web development because it's the easiest way to show potential employers my projects and the abundant of jobs (even though there are a lot of competition). My ideal job would be something like writing functions to accept data from some databases/user inputs and have the functions spit out some results. Last month I wrote two Python programs https://i.imgur.com/zcshv70.gifv https://i.imgur.com/Ci2Iq6w.gifv that take user input (range of poker hands) put it into functions (evaluate poker hands) and output results (equity). I really enjoy doing that, and that's the kind of work I want to do. I don't want design html/css containers that would best fit into whatever devices the users are using. Obviously I still have a lot to learn, but would front end be good for me?

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

    Topics in Advanced Data Structures

    Posted: 30 Apr 2019 12:20 AM PDT

    Why is the argument in this python function in single quotes?

    Posted: 29 Apr 2019 08:23 PM PDT

    Here is a solution to a leetcode problem:

    """ # Definition for a Node. class Node: def __init__(self, val, children): self.val = val self.children = children """ class Solution: def maxDepth(self, root: 'Node') -> int: if not root: return 0 depth = 0 for child in root.children: depth = max(depth, self.maxDepth(child)) return depth + 1 """ hi """ 
    submitted by /u/alivt21
    [link] [comments]

    What language suits my beginner project?

    Posted: 29 Apr 2019 11:27 PM PDT

    TLDR: If I write something in HTML using JavaScript, will it still work on Android / PC? If not, what other language would suit my project?

    I want to make a basic workout timer I can use on my phone (Android) or PC.

    I would have a CSV file or similar with the exercises and times, ie: Press Ups, 45; Rest, 15; Star Jumps, 45;

    And on the screen it would show a countdown of how long I have to go on the current exercise, how far I am through the overall routine etc.

    It doesn't seem too complex and I'm sure I could throw it together in anything with a bit of google-fu, but I would love some feedback on what to do it in.

    I have done a lot of VBA as my job requires spreadsheet automation from time to time. I've also done some basic Python and a touch of HTML and Basic when I was a kid. Going forward I would love to make the jump to "real" stand alone apps for Android in particular, hence why I'm being a bit careful about what language to start out in.

    I had intended on doing it in HTML5, because I understood from some googling that HTML5 suits something you want to work on different platforms. And the first page of "how to create a countdown in HTML5" looked really hopeful at first glance, but when I looked into them they were all using JavaScript or something else in HTML5.

    Is that going to break the app from being able to work on say a phone that doesn't have Java installed? If so, should I just use something like phonegap or unity or Corona, and running an Android emulator or something on my PC?

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

    Trouble with a Python Problem. Please Help!

    Posted: 29 Apr 2019 07:36 PM PDT

    So the textbook says the following:

    All adjacent duplicates. For example, if the input is 1 3 3 4 5 5 6 6 6 2, the program should print 3 5 6.

    My Program is set up like this:

    old = input("Please enter a number: ") new = input("Please enter another number: ") while old != "" and new != "": if old == new: print(new, "is a duplicate") old = input("Please enter a number: ") 

    It outputs this:

    Please enter a number: 1 Please enter another number: 3 Please enter a number: 3 3 is a duplicate Please enter a number: 4 Please enter a number: 5 Please enter a number: 5 Please enter a number: 6 Please enter a number: 6 Please enter a number: 6 Please enter a number: 2 Please enter a number: 

    I need it to print out that 5 is a duplicate and 6 is a duplicate. How do I do this?

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

    What are some projects I can do to apply what I've learned?

    Posted: 29 Apr 2019 07:32 PM PDT

    I recently graduated college with a bachelor's in computer science. Since graduating I've been teaching myself different programming languages, frameworks, etc. I want to build applications or projects to apply what I've learned and to have something to put on Github/my resume.

    I've been doing a lot of work with HTML, CSS, JavaScript, SQL, Java, and Python and I'd like to use them to build something.

    What are some simple to complicated projects I can do to help showcase what I've learned?

    What are some projects you guys have done that you feel employers were impressed by?

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

    C++ or Java

    Posted: 29 Apr 2019 10:40 PM PDT

    Hello,

    I'm 17 year-old student. I love programming. So I can't choose between C++ or Java for developing desktop softwares. Can you help me to choose? I want to become a professional software developer in the future.

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

    Freecodecamp, which curriculum to follow to become a junior front-end developer

    Posted: 29 Apr 2019 09:08 AM PDT

    I recently started to learn about programming and started the first curriculum of FCC which is ''Responsive Web Design ''. After my research about the topic I've come to realize I really liked the concept of front end developing and would like to make a living off of it since it's more interesting than my now major. My question is that when should I start the Front end libraries certification? or which curriculums to follow to get a job as a junior front end developer. I'm currently halfway thru responsive web design certificiation. I'm really confused about how I should progress about this. Finish the first curriculum and then go on to the second one?(js algorithms) and then the front end libraries, what other things I should learn that are not on FCC? Thanks in advance for your help

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

    From Business to Programming, which path should I follow?

    Posted: 29 Apr 2019 03:10 PM PDT

    I would like to write a few words about why I would like to learn programming in order to better understand which path I should follow best.

    I work in accounting and my profession, like many others, will be practically replaced by some software. I don't want to complain about it, it's the progress and it's unstoppable. I just want to not find myself in a decade without work and without knowing what to do.
    For this reason, I was thinking of giving a boost to my career and learning programming.
    I have seen career opportunities such as data scientists, data management and many others, the programming knowledge was a requisite.
    So considering I would like to keep a job in the business field since I love it, what would be the best language to learn and start with?
    I saw in the attached file that it would be indicated to start with python, in this which is the most suitable? The 3.0 or other?
    I have also seen that there are other languages ​​such as "R" and "SQL" is it better to learn those instead of python?

    I would like to add another small note that may help to get advice. I like to do the game dev in my spare time. I haven't started "seriously" yet, but I've started doing some things in my spare time like designing the story, doing some little drawing or stuff like that.
    I don't think this will become my profession but I add these details because maybe they could help in understanding the whole thing better. By my spare time, I mean that I do a little bit about GameMaker, RPGmaker and I was thinking of learning a little bit about Unity just to spend the time.
    as long as I work on a project I am happy.

    Thanks in advance to anyone who wants to give me advice.

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

    Is it possible to solve this problem using recursion?

    Posted: 29 Apr 2019 08:44 PM PDT

    Without performing any imports, is it possible to solve this problem using recursion rather than interation? I am used to seeing recursion problems with an int parameter for the method (the starting index). How could I (if possible) solve this using recursion?

    The question (Java):

    Given an array of scores sorted in increasing order, return true if the array contains 3 adjacent scores that differ from each other by at most 2, such as with {3, 4, 5} or {3, 5, 5}.

    scoresClump([3, 4, 5]) → truescoresClump([3, 4, 6]) → falsescoresClump([1, 3, 5, 5]) → true

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

    Awesome interactive SQL tutorials

    Posted: 29 Apr 2019 08:38 PM PDT

    I just wanted to share a couple really nice interactive SQL tutorials I found.

    1. SQLBolt
    2. PostgreSQL Exercises

    Both are completely free and don't even ask you to make an account.

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

    Help! Am having trouble with a section of my python code!

    Posted: 29 Apr 2019 08:11 PM PDT

    This is a sample of my code:

    while room == 2: if room == 2: separator() print("You step into a dimly lit hallway. There door to the flightdeck is to the left, a door to the cafeteria in front of you, and 3 more doors down the hallway.") user_input = input(">") if user_input.lower() == "go down hallway": print("You go down the hallway.") room = 2.5 elif user_input.lower() == "quit": quit() elif user_input.lower() == "open flightdeck door" or user_input.lower() == "open door to flightdeck": print("The door is shut.") elif user_input.lower() == "open cafeteria door" or user_input.lower() == "open door to cafeteria": print("You open the door.") room = 3 else: invalid_input() while room == 3: if room == 3: separator() print("The cafeteria is a mess.") print("It seems the supplies were ruined in the crash.") if blue_button == True: print("The lights illuminate the ruined machines") user_input = input(">") if user_input.lower() == "exit room" or user_input.lower() == "exit cafeteria": print("You step outside of the room.") room = 2 elif user_input.lower() == "quit": quit() else: invalid_input() 

    When room == 3 and the user inputs that he wants to exit the cafeteria, it prints out 'You step outside of the room.' and then terminates the program. This only happens if I set the value of 'room' to less than the current value. What is causing this?

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

    What is your opinion of the App SoloLearn? Especially for C++

    Posted: 29 Apr 2019 08:09 PM PDT

    Is it effective?

    I want to learn programming but I live in a small town in the middle of nowhere so no there are no professional classes I could attend here, and no one I know to teach me. So it's going to be self taught.

    I have a completely beginner, with some basic knowledge in HTML (<b>LOL</b>).


    I don't expect to be a master coder in no time, but I just want to get a good foundation.

    If you know any other app that is more effective to teach the basics, that would be nice.

    Desktop software is ok too.

    Thanks

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

    I have an idea, but do not know where to start.

    Posted: 29 Apr 2019 08:06 PM PDT

    First off, I apologize in advance if this is not the best sub-reddit to post a question like this. If you know another please let me know.

    I recently completed my first year in college as a CS major. Over the course of the year I have been doing very simple projects to help build my knowledge and understanding of different programming techniques and understanding flow of logic. I now think its time for me to start some larger scale projects.

    One of the projects that I had in mind starting with is a news following page (Don't know if that is a good name for it yet lol). Essentially, the idea is that it is a web app that displays recent news and information for topics or trends the user is interested in or following (Sports teams, upcoming games or movies, etc etc). I guess it kind of like google's news feed function on android phones. It also stores the users preferences locally in web storage, to avoid doing searches over again.

    What I was wondering is what i may need in order to get started. I thought of using Django Python but idk much about it yet (nor general python). The idea i had was that upon opening the web app, it automatically lists out recent news for the topics you follow with google searches. I don't know if this is the way to go or not though lol.

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

    No comments:

    Post a Comment