• Breaking News

    Sunday, July 19, 2020

    What have you been working on recently? [July 18, 2020] learn programming

    What have you been working on recently? [July 18, 2020] learn programming


    What have you been working on recently? [July 18, 2020]

    Posted: 18 Jul 2020 09:04 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]

    Where do the millions of posts get stored in Reddit?

    Posted: 18 Jul 2020 09:34 AM PDT

    And how does it work. I'm trying to learn and understand web dev. Scrolling through the learn programming thread home page, I notice I can limitlessly scroll down through the posts which start with most recent and descend in the time and date posted. I'm sure there's at least a few million posts. So what is the basic structure and steps to achieve those kinds of pages?

    1. There's a user database that when they create a post links their post to their profile.
    2. There is a reddit topics database that contains all the posts for learn programming.
    3. Then when users and general traffic visits the learn programming thread, their is an algorithm that posts all the recent posts until the end ordered by date/time.
    4. The page only loads what the user sees, and if they keep scrolling down, the algorithm will load more and more posts that are stored in a database.
    submitted by /u/ThisSoFrustrating
    [link] [comments]

    Things I didn't expect to do every day while learning web development

    Posted: 18 Jul 2020 07:29 AM PDT

    1) Googling. A lot. (MDN is my go-to)

    2) copy + paste

    3) being frustrated for 15 minutes over code not working only to find there was a tiny spelling error/missing semi-colon/missing bracket/a div auto-closed itself and I didn't notice

    4) looking back at tiny projects that I did a month ago and wondering wtf was I thinking

    5) enjoying that moment when all your code actually works right

    Anyone else care to add to the list? ^

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

    How likely is it a 49-year-old would get hired for an entry-level job?

    Posted: 18 Jul 2020 07:54 AM PDT

    I'm a former stay home dad of 20 years without a lot of professional experience looking to break out into the job market finally. I have self-taught HTML, CSS, JS, and learning React, etc. how likely is it a company will hire me? Will my age likely rule me out realistically? Will an office find it odd that a nearly 50-year-old man is working alongside 20 somethings?

    submitted by /u/Only-Witness
    [link] [comments]

    Relearning python for the 3rd time and i still don't understand while or for loops at all.

    Posted: 18 Jul 2020 03:12 PM PDT

    Could someone help me and is there a place that breaks them down literally like for a child, for a 5-year-old?

    This is the one aspect of coding I do not ever understand and find it so difficult to get my head around. It just doesn't make sense.

    I don't know all the secret rules and conditions for using a break, how to use a if or else state in a while loop properly, how to properly format a loops.

    None of it makes sense to me.

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

    Python 2 or 3?

    Posted: 18 Jul 2020 04:53 PM PDT

    I'm interesting in learning python but I can't find a resource that has a similar learning style as codeacademy. However codeacademy only had python 2 free. should I just go to python 2 now through code academy or is there a better spot I can learn python 3 with a similar teaching type? thanks!

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

    Any good programming bootcamps?

    Posted: 18 Jul 2020 07:08 PM PDT

    I just heard about bootcamps to learn programming and wanted to know if they're good programs and where do you even find them. I'm looking at app development, but no limited to that.

    Thanks!

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

    Which language to use to solve coding interview problems?

    Posted: 18 Jul 2020 10:45 PM PDT

    I am not into competitive programming, I just want to practise for coding interviews

    I referred many articles which said to use C++ because it is fast and it has an STL library.

    I am interested in building my career in Web Development or Android App Development. But thinking about it, where in my life am I gonna use C++?

    Python is too slow. Even Java is now slowly fading away, because of Kotlin and other android languages. Which is why is was thinking of keeping JavaScript as my primary language in solving coding interview problems.

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

    One of my first projects in python. i created a simple password generator. please give advice.

    Posted: 18 Jul 2020 10:30 PM PDT

    Here is the code:

    import random

    import time

    print("Today we will genorate you a password")

    time.sleep(1)

    pLenght = input("How long would you like the password? 1-20 ")

    pLenghtInt = int(pLenght)

    possibleDigits = "1234567890qwertyuioplkjhgfdsazxcvbnm!#@"

    password = ""

    for x in range(0, pLenghtInt):

    randomThing = random.choice(possibleDigits)

    password = password + randomThing

    x += 1

    print("Your brand new password is " + password)

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

    What should my first project in python be?

    Posted: 18 Jul 2020 07:22 PM PDT

    I am almost done learning all of python 2 in code academy and I want to try making a project or two on my own, but I have no idea where to start. I do want my project in python 3 and I did learn some syntax for python 3 from edabit, so I feel confident in learning some of the python 3 syntax on the fly. What are some good projects to start on as a beginner?

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

    [Python] I made a password generator, would love some input

    Posted: 18 Jul 2020 03:48 PM PDT

    Hello! I'm fairly new to programming, especially python. As a first step to learn python I made a password generator. I would love to get some comments on how to improve my code!

    https://github.com/SJosefsson/passwordgenerator

    Sorry if this is not the correct subreddit, and thank you in advance!

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

    Should I use two different GitHub account for personal and work related projects, or should I use one account for both?

    Posted: 18 Jul 2020 11:14 PM PDT

    Hello, I'm new to GitHub and Git in general, and recently I'm trying to "upload" (I still don't know the correct terminology) this project that basically messy and I don't know wether I should my existing account, or create another one specifically for personal project that probably will never complete or just messy. What should I do?

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

    Where the variables kept in memory in Java?

    Posted: 18 Jul 2020 10:21 PM PDT

    I understand if the variable contains a reference to an object, the object itself will be on the heap, and the the reference to primitive value will be on the stack, but where will the variable itself be in the memory? Does it matter if the variable contains a reference to primitive or non primitive types to figure out where the variable itself will be kept?

    submitted by /u/Instance-Famous
    [link] [comments]

    How to organize projects in eclipse for java ?

    Posted: 18 Jul 2020 10:06 PM PDT

    How should I organize projects for good practice in a class ? Like I have a java project in the package explorer named "this class" And I separate each program by using different package named like "program1." Should I make a new java project for each program instead or make a new package for each program ? What's good practice ?

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

    Anyone here ever done device driver development? How is it done?

    Posted: 18 Jul 2020 03:53 PM PDT

    I understand that driver development is difficult, but I am asking this out of curiosity. Please correct me if I am wrong about anything.

    So for example I have read that Linux drivers are loaded by the kernel in 'modules' so they can work in parallel with the kernel. But how exactly does the driver/developer know what data to send to the device so it can work properly? Is there a standardized format for this? Is it like a file read/write in C syntax that sends the binary data to the device?

    Legitimately curious how this works.

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

    Intermediate Python course suggestions

    Posted: 18 Jul 2020 09:15 PM PDT

    I'm nearing the end of the Python for Everybody specialization on Coursera. I'm in the middle of the Capstone class, which is the last one. I'm not sure what to do after this. This class provided a very basic overview of lots of programming concepts. I think a higher level Python class would be a good next step.

    I'm platform agnostic. I'm open to any course on any platform. I'd prefer a project based course, since I've done most of my learning while building projects for this class.

    Any suggestions would be much appreciated. Thanks!

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

    Learning C++. How do I get access to other libraries and how do I use Visual Studio to put out something like a graph?

    Posted: 19 Jul 2020 12:10 AM PDT

    Hey, I'm learning C++. If I want to use another library - for this case let's say one that would help me do some sort of data visualizations, how would I get access or download a library? Also how would I do it Visual Studio puts out an actual visual product and not just a terminal?

    Thanks!

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

    Is 2 months a reasonable deadline for this course?

    Posted: 18 Jul 2020 08:17 PM PDT

    Hi all,

    I've purchased a Udemy course to learn python. I set a 2 month deadline to finish this course. What do you think about my deadline? Is it too less time or too much time or is it reasonable?

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

    What is a good project to show experience in data structures for my resume applying to technical positions as a college student?

    Posted: 18 Jul 2020 11:47 PM PDT

    I just completed a data structures and algorithms course and have completed quite a few leetcode problems on various data structures and algorithms. Right now I want to start a project that I can put on my resume to show expertise with data structures and algorithms. Any suggestions that stand out? And won't take months to complete?

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

    What Language? Assembly Line Programming

    Posted: 18 Jul 2020 11:47 PM PDT

    Im working on something that would require a computer to communicate directly to one of these machines ...Its an automatic powder by weight dropper.

    Where the computer will give the machine a specific weight that changes with each one. What would i be looking at in terms of programming language and/or component training (for the hardwiring of the controller to the computer)

    I Appreciate You! 🙏🏽

    On second thought, would i be better finding a way to build my own machine? Perhaps enlisting the help of some engineer friends?

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

    Populating a table evenly

    Posted: 18 Jul 2020 11:44 PM PDT

    Hey guys. So I have a question here, maybe someone can help or put a link for a video explaining.

    I'm fairly new, and trying to complete a test. At the page that I'm trying to create, there is a section, where they list cities, where they are located. I get the list of those cities by doing an AJAX request, then getting the cities info out of the objects and then creating an array of those cities.

    Now, I need to put them on the page, in five columns, and I need to spread them evenly across the table. In theory, they could add another 100 objects into the AJAX response and they still need to spread evenly across those five columns. So there needs to be some sort of an algorithm, and I just can't figure it out. I've created a table with 5 rows, and then I've reversed the table direction, so I got my 5 columns strictly.

    Stack used: HTML, SCSS, JS.

    Can someone give me a hint on populating the table further, using the array I have? Appreciate it, thank you!

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

    Java on Android: Webview with messed up css on website

    Posted: 18 Jul 2020 11:43 PM PDT

    Learning project and I assume the problem is css. The body of the website has a white bar if you scroll right. I added code to disable horizontal scrolling, but when you go from portrait to landscape and back again, the website margins shrink and the white bar is on the right in the view. Here is the simplest code I can show to see it, but you can also visit the website on an android phone's browser to see it as well.

    package com.frontpagelinux; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.webkit.WebSettings; import android.webkit.WebView; import android.webkit.WebViewClient; public class MainActivity extends AppCompatActivity { private WebView mywebView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); mywebView = (WebView) findViewById(R.id.webview); WebSettings webSettings= mywebView.getSettings(); webSettings.setJavaScriptEnabled(true); mywebView.loadUrl("https://frontpagelinux.com/"); mywebView.setWebViewClient(new WebViewClient()); } } 

    Thanks for any help getting rid of the white bar in my webview

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

    [Learning] How do as much as possible remove the need to re-read previous material due to holes in knowledge to tackle more complex problems and exercises?

    Posted: 18 Jul 2020 11:42 PM PDT

    https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/use-recursion-to-create-a-countdown

    Currently im on a freecodecamp chapter on making a countdown function utilizing recursion code structure

    Basic JavaScript: Use Recursion to Create a Countdown

    That said, despite solving previous problems leading up to this problem (nested arrays and recursion) I feel like my knowledge vaporized.

    Is it just a matter of redoing previous problems or is it safe to look at hints and answers on this problem?

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

    How do I publish my visual studio code as a stand alone executable? VS 19

    Posted: 18 Jul 2020 11:39 PM PDT

    How do I publish my visual studio project as a stand alone executable

    How do I publish my project as a stand alone executable? Right now I have a fairly large project that involves reading in from a number of Files. I'm trying to send a copy to a few friends to help me run through the program as many times as possible and alert me to possible errors but they're not tech savvy and don't have visual studio installed. How do I turn my project into a stand alone executable?

    Note: I tried building solution but the .exe file in my debug folder always gives me the error "Cannot open file" when I try to open it(the error is in the command prompt). The vcxproj file just opens my code in visual studio. How can I make a file that runs my program by just a single click?

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

    Looking for online web dev course

    Posted: 18 Jul 2020 11:24 PM PDT

    In your opinion, what would be the best web development course available online at the moment, a course that starts from the basics: HTML, CSS, JS all the way to React, Vue, MongoDB, etc. Preferably one that up to date.

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

    No comments:

    Post a Comment