• Breaking News

    Saturday, August 24, 2019

    What have you been working on recently? [August 24, 2019] learn programming

    What have you been working on recently? [August 24, 2019] learn programming


    What have you been working on recently? [August 24, 2019]

    Posted: 24 Aug 2019 09:13 AM PDT

    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]

    University of Helsinki publishes a free course on ReactJS, NodeJS and GraphQL!

    Posted: 24 Aug 2019 06:30 PM PDT

    The university of Helsinki just published a intro course on modern web development, using ReactJS, Redux, NodeJS and GraphQL!

    I think this is a nice oportunity for people who want to get started with web development!

    Here is an article on it:

    https://wptavern.com/university-of-helsinki-publishes-free-intro-course-on-modern-javascript-based-web-development

    Good luck guys!

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

    Finished my first C# application!

    Posted: 24 Aug 2019 09:17 AM PDT

    For awhile, I've been just working on small console C# applications, from printing hello world, to being able to play rock paper scissors. I finally decided that I wanted to do something a little different and work on a winforms application. It took some time to design and create it, but it's finally finished!

    My application is a password generator. You can select from a dropdown box how many digits you want your password to be. The password includes numbers, as well as capital and lowercase letters. I've also included an option for if you want other special characters in your password "!@#$%^&*". Once you have your preferences done, you can click the "Generate Password" button, and it will generate a password for you in the textbox. I also added a button that you can use to highlight and copy the password.

    Here is a picture of the app: https://imgur.com/a/VqVohTJ

    (It's not the best UI but it works :D)

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

    Should I learn Java or stick to Python?

    Posted: 24 Aug 2019 04:35 AM PDT

    I have been studying programming for the last six months. For the first four months I studied Python, and then I started studying studying data structures and algorithms. For data structures and algorithms, I picked the books where the code was written in Python. Now that I am about to finish that, I have decided to pick Algorithms by Robert Sedgewick. In this book all the code is written in Java.

    I want to learn both Java and Python, and I will learn Java at some point. My question is whether I should start learning it right now or not? I know it's not necessary, but I think it will be much easier to follow the book if I have some understanding of Java.

    Why am I confused?

    Well, I have watched videos, read blogs about people recommending to stick to one language when starting out. So, I am scared to start a new language thinking I might forget Python or get into a situation where I don't understand either of these languages.

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

    Free JSON Book

    Posted: 24 Aug 2019 06:22 AM PDT

    The book 'JSON For Beginners' is currently free on Google Play Books.

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

    Important bash script manual

    Posted: 24 Aug 2019 10:25 PM PDT

    How to get started?

    Posted: 24 Aug 2019 04:45 PM PDT

    I want to become a hardware engineer but I don't know how to get started. what is the best language to learn to begin my career path?

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

    If Python is so easy to learn, why am I getting nowhere?

    Posted: 24 Aug 2019 07:31 PM PDT

    Every video or tutorial I sit through seems to go from kindergarten level to advanced level without any hand-holding to get through the middle ground. For instance, while working through the book 'Automate the Boring Stuff...', I do fine until I get to chapter 7 - "Pattern matching with Regular Expression", at which point I get totally lost. And it's not just this book, but rather every video/tutorial I sit through....I run into the same problem. It makes me think I'm stupid....if other people are 'getting it' at this point, but I'm not! Has anyone else dealt with this issue? And if so, what did you do to understand the middle ground that gets left out in these tutorials?

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

    I have a problem, and it's not in the code

    Posted: 24 Aug 2019 03:55 PM PDT

    I'd like to discuss a certain kind of mental block I've slowly begun noticing about myself. I hope I can explain it well for everyone, and that other's perhaps can relate and discuss how they've dealt with similar issues.
    I've been slowly realizing that I have a terrible habit when it comes to debugging when I hit a wall, especially when I'm looking at a new codebase for the first time. Basically, as I try to figure the problem out, my view becomes very narrow, I'll basically do a kind of "depth-first" search and when that doesn't work I'll quickly turn to others for help. So if it's not mentioned in the error message or in the same file I'm working on, I won't even give myself a chance look at it in an attempt to fix my problem.

    Example: In an open source project I'm just starting to work on, I was trying to set up a bot in my dev environment. It didn't work, I tried a few things, then gave up and spilled all my trials and errors in the dev chat. Someone said "did you try a different bot?" Of course another bot worked. I hadn't even checked the docs of the bot I was trying.

    This has been a repeated issue for me. It even cost me a job offer at the end of an internship I had last year, they said I wasn't learning fast enough. I'm trying to contribute to open source projects now to regain my footing and get a job, but I'm making the same mistakes. Perhaps I'm too used to being a student and always being able to turn to my professors for help, and I can't seem to adjust to the real world.

    I'd love to hear from anyone who understands what I'm dealing with.

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

    Best way to get started with C++?

    Posted: 24 Aug 2019 08:41 PM PDT

    Been programming for about 2 years, mainly in Python. I love programming and have made various solo projects in Python. But I'm trying to learn C++ and a lot changes. What are some good free resources? Best IDE?

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

    Have been taking a peek at the HTML of Reddit.. why are the classnames gibberish?

    Posted: 24 Aug 2019 08:24 PM PDT

    For example, some of the CSS class names are hkuLyb, frWeGW, cCRaTF, fMQRSl, etc.... Why are they named this way?

    submitted by /u/IAmA-RedditUser-AMA
    [link] [comments]

    From where and how do I start learning algorithms(An online source preferably)

    Posted: 24 Aug 2019 11:46 PM PDT

    I'm in the process of learning data structures.

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

    Some advice on learning to web design or stack develop.

    Posted: 24 Aug 2019 11:36 PM PDT

    I'm not sure what the right terms are, essentially I learn better when I try to do it hands on, as opposed to following some tutorial.

    So I enclose a screenshot of something I made with Python and Tkinter, basically just a GUI with alot of rows and columns, displaying different kinds of information, adjusting the foreground and back ground colors accordingly based on what the information is.

    Screenshot

    Basically I want to replicate this GUI on my own website as much as is possible.

    My question is what tools make doing things like this easiest?

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

    First project ideas

    Posted: 24 Aug 2019 11:04 PM PDT

    Hello! Novice programmer here looking for a good first project to apply some of my Java/python knowledge (I've been told this is the best way to actually learn). Thanks!

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

    Java have to create a flashcard app that teaches addition, multiplication and mixed problems. I don't know how to do the mixed and would appreciate some help.

    Posted: 24 Aug 2019 10:36 PM PDT

    How program is supposed to look: https://imgur.com/a/E7q0dlZ

    Here is my code so far

    public class March22MathTutorStartClass { public static void main(String[] args) { Scanner sc = new Scanner(System.in); Random rnd = new Random(); System.out.println("Heading"); int choice, num1, num2, response, ans, numOfProblems, maxOp; int correct = 0; double average; do { System.out.println("Here are your options: "); System.out.println("1. Addition"); System.out.println("2. Multiplication"); System.out.println("3. Exit"); System.out.print("Enter your choice: "); choice = sc.nextInt(); System.out.print("Enter your number of problems: "); numOfProblems = sc.nextInt(); System.out.print("Max operand? "); maxOp = sc.nextInt(); // in hw, you have to ask for the number of problems and the max operand // assume here that we are to show 3 problems with max operand of 10 for (int i = 0; i < numOfProblems; i++) { num1 = rnd.nextInt(maxOp); num2 = rnd.nextInt(maxOp); if (choice == 1) { System.out.printf("%d + %d = ? ", num1, num2); response = sc.nextInt(); ans = num1 + num2; if (response == ans) { System.out.println("Correct!"); correct += 1; } else { System.out.printf("Incorrect!, the answer is %d\n",ans); } } if (choice == 2) { System.out.printf("%d * %d = ?", num1,num2); response = sc.nextInt(); ans = num1 * num2; if (response == ans) { System.out.println("Correct!"); correct += 1; } else { System.out.printf("Incorrect!, the answer is %d\n",ans); } } if (choice == 3) { System.out.println(); } } } while (choice != 4); } } 

    For the third problem I'm supposed to do mixed. Mixed addition and multiplication. And I have no idea how to do that.

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

    Can anyone recommend a C# course?

    Posted: 24 Aug 2019 08:08 AM PDT

    Codeacademy, Udemy, Coursera, Pluralsight, Edx, Lynda????

    I have programming experience, but not OOP. I'm looking for a beginners course that is interactive and still goes somewhat deep. Id like to be able to build a full project when I'm done (maybe something related to databases?)

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

    Programming for architects

    Posted: 24 Aug 2019 10:16 PM PDT

    Hi,

    I'm an architect/urban designer and was wondering what languages would be most useful in my career?

    I'm familiar with python, having used it to write a program to do road network analysis understanding intersection density, walking distances etc. Pretty much all of this is done using shortest paths and I've really enjoyed learning this and want to expand my knowledge in this area. I hope to share that program soon.

    I'm also familiar with grasshopper for rhino and dynamo for revit (visual scripting for those less familiar with architecure specific programs). Those allow the ability to write scripts in python, vb net and c#.

    I would love to get peoples opinion on if I should consider learning c# as it could help in other applications outside of grasshopper or if c++ is an option, knowing that I could do the network analysis much quicker in a c based language. I'm also super interested in data analysis and how that could impact my field of work, hence why I started learning Python so if there is something that works well across all these things, I'd love to know about it.

    Appreciate any responses.

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

    Getting started with hackathon

    Posted: 24 Aug 2019 10:12 PM PDT

    I am average competitive programmer ,now I wanted to participate in hackathon,I know hackathon are conducted on many topics, technologies.Can any one suggest how to get started to prepare for hackathon,

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

    Redditor's book on C programming getting great reviews!

    Posted: 24 Aug 2019 06:00 PM PDT

    A friend of mine, he's also a Redditor, was approached by a publisher and asked to write a book about programming in C.

    The title is -Hands-on Network Programming With C

    5.0 out of 5 starsOutstanding book if you want to learn from a real top programmer of C

    June 27, 2019

    Format: Kindle Edition

    Well, I must say that I have started reading the book, and it is really well written. Even with vast knowledge, the author has taken into consideration level of all users. Not only he has given initial preliminary explanation to build foundation, he has even broken large complex approaches into smaller programs so that readers can understand the fundamental building blocks before they build more complex programs using those fundamentals

    I think this is one of the best C programming books, where it shows that the author has not only good real world knowledge but also has excellent teaching skills
    This book, not only teaches you step by step good Network Programming in C but also improves upon your C programming skills. I would say a must have book, whether you want to be neat in C or learn Network programming in C

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

    Consistently confused when writing CSS from scratch

    Posted: 24 Aug 2019 05:55 PM PDT

    I've been learning ClSS from tutorials for the past few weeks and decided to start building websites on my own with pure CSS. But every time I'm writing CSS I'm mostly confused and spend hours researching on how to do something.

    Is this normal?

    Honestly I feel like I'm better off using a framework and only using pure CSS when I need it instead of building it out from scratch.

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

    Issue displaying correct number of item on keyup search input (pagination)

    Posted: 24 Aug 2019 09:40 PM PDT

    Here is a link to my question on StackOverflow.

    https://stackoverflow.com/questions/57643161/issue-displaying-correct-number-of-item-on-keyup-search-input-pagination

    The whole goal is to display pagination links based on how many search results are returned (I checked for the number of searches using the filter function). For example: if 10 or fewer results are returned, 0 or 1 pagination links are displayed. If 22 search results are returned, 3 pagination links are displayed.

    I tried to implement this functionality in the else if clause of the search event handler, but the displayPage and addEventListener function seem not to be working the way they should when there's a match. Only the replaceLinks(array).

    Am I doing something totally wrong here? How can I fix this to get the desired result I want?

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

    Sample App for recurring subscription plans using Braintree.

    Posted: 24 Aug 2019 09:31 PM PDT

    I recently set up a subscription based website and I used Braintree as my credit card processor.

    I found the lack of code samples and their documentation unhelpful.

    So I created a sample app that allows you to:

    • Register a user which starts a subscription
    • cancel subscription
    • update payment method on file
    • change password
    • email recovery password link

    I hope you guys find this useful.

    https://github.com/jigglytep/Braintree-recurring-subscription-django

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

    RegEx pattern - Letters followed by Numbers

    Posted: 24 Aug 2019 09:27 PM PDT

    Is it possible to create a RegEx pattern that is any number of letters only (uppercase and lowercase) followed by any number of numeric values (0-9) only? If so how?

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

    What language should I start if I want to do ML, AI and Robotics in the future?

    Posted: 24 Aug 2019 02:27 PM PDT

    So I recently started learning C++ and in the future I want to start pursuing a Machine Learning (and some AI) and robotics career (I'm only 17 currently so I don't have the maths for that just yet).

    Robotics: I'm just not sure what language will be the most useful in using a Raspberry Pi or Arduino (is it C? C++? C# I have no idea)

    ML and AI: I saw websites that mention that in machine learning how it's better to use Python, Java and not C++ so yea I'm not really sure if I should learn Python or Java and how does one learn more than two languages at once (is that even possible?) without getting confused?

    Thanks.

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

    Need starting out advice regarding a SE course project

    Posted: 24 Aug 2019 08:17 PM PDT

    Hello guys!

    I'm a CS B tech student studying in an Indian University. One of our courses, 'Software Engineering' requires us to choose a project to do during our semester and essentially experience the steps of how a software is made in the professional world. We're mainly graded upon the UML diagrams and whatnot...

    However, I just realized how overwhelming it all is. I've never actually worked on a project (Other than making a tic tac toe game, which took me like 3 hours to make). It feels crazy big. For programming languages, all I know is C, C++ and learning a bit of Python since it's required in my Machine Learning course.

    I've ended up choosing a web based hotel booking/management project. I just need a bit of help understanding what languages I should learn. Basically I need some starting out advice. I feel super duper scared cause this is the first time I'm the smartest in the group, and I should not be the smartest in the group.

    Just feel free to dump any links you might feel would be important for me, I'll read through everything. No need for any custom posts, I'm not worth it. Thanks for your time :)

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

    No comments:

    Post a Comment