• Breaking News

    Saturday, August 8, 2020

    How to understand big GitHub repositories learn programming

    How to understand big GitHub repositories learn programming


    How to understand big GitHub repositories

    Posted: 07 Aug 2020 08:24 AM PDT

    Whenever I take a look at a repo of some big project, for example TensorFlow, there are so many files and folder I don't understand. In the TF repo (https://github.com/tensorflow/tensorflow) for example, I don't understand/don't know what any of the files do, except for some of the .py (not setup.py) and other "regular" programming language modules. How can one learn how to create and understand all those files and folders? All online courses I took on Python never went over such things, and I can't find any that do.

    So, how can one learn how to create and understand all the files and folders inside such a huge GitHub repo?

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

    Can Udemy replace Odin Project?

    Posted: 07 Aug 2020 06:30 PM PDT

    Hi,

    I came across "The Odin Project", which is highly recommended. But I like the video format of Udemy.

    What Udemy courses can someone take (and in which order) to replicate the JavaScript track of "The Odin Project"?

    Thanks for any guidance.

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

    What to learn for entry-level job prospects?

    Posted: 07 Aug 2020 07:45 AM PDT

    Edit: completely forgot entry-level work is and FAQ topic. However, that says about how to get the job, not what aspect of programming ought to be studied for it.

    I'm currently a python user, I can write pretty much anything short of networking and interactions between live session programs. I also know VBA better than in-cell Excel functions, so no worries with .xlsm's I might have to work with.

    But I'm not great at it by any means. I think I should focus on something but I need a little help deciding. The scope is just way to broad for me to fully process and understand currently. It wouldn't be much help for anyone if I just asked, so here are a few bits of info about me that could narrow it down.

    My strong points and preferences:

    Data compilation and analysis with requests, BS4, LXML, URLlib, and built-in read/write of files

    Machine learning/ Neural networks

    GUI development with tkinter

    CLI with subprocess

    Small scale automation and quality of living programs

    My weakest and least favored parts are:

    Web applications

    Handling networking and incoming users (I absolutely understand the importance, however)

    Game development (I could go for some small and simple things, such as a flappy bird clone, tetris, etc)

    My job type criteria are:

    Team based development

    Partially or largely remote working (even post-covid)

    Less direct interaction with clients (I prefer to receive a criteria and timeframe and meet or beat it)

    A lot of you are professionals, so you'll know the industry better than me.

    TL;DR: I like working with data, GUIs, and AI, but I'm no better than Junior level in any of them, especially AI. What application of python should I work on to get the best job prospects while not straying too far from my interests?

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

    Which is better C++ or Java?

    Posted: 07 Aug 2020 09:53 PM PDT

    So, my college is providing special courses on unix shell, R- programming, C++ and Java. I'm a beginner in computer science and do not which course to pick. I don't really have any knowledge in any of these topics. I do know C and python. I don't have a specific interest such as web designing or app development, I just want to choose a programming language that is more widely used in the industry and a must-learn. Could you guys tell me what course you think I should pick?

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

    Don't really understand how branches work in git

    Posted: 07 Aug 2020 08:32 PM PDT

    So I'm working on a pretty basic project with a friend just for fun and as a way to learn how to collaborate on a project since that's what you do at an actual job.

    So I was working on part of the code we wrote so far, and before starting I made a branch. I added some code to an existing file, then used git add [file] and git commit -m, all of this still in the branch. Then I did git checkout master and then git status, and the changes were there in the main staging area. I thought it worked a different way. Why were the changes that I made in a branch ready to go in master???

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

    Podcasts that teach programming independently of specific languages?

    Posted: 07 Aug 2020 09:26 AM PDT

    I hope this is okay, I am in the process of teaching myself full stack web development, and I'm driving deliveries for Uber and Postmates right now so I spend a lot of time in the car not able to be at a keyboard. I'm hoping to find podcasts that discuss programming theory and logic things like that that are independent of specific languages, because the books and things that I found have generally just been recitations of syntax and tags and things of that nature, which is really hard to glean anything from while driving. I'd like to get a broader scope of programming and help programming works to support and bolster the times that I get to be in front of a keyboard.

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

    Need help setting up a Web API application with Entity Framework connected to a MS Azure SQL Database

    Posted: 07 Aug 2020 07:32 PM PDT

    First of all, I'm a noob when it comes to some of this so apologizes if I'm being dumb or obtuse. Anyway, I have a simple mobile application I need to build. I want the "back-end" for the mobile app to be a RESTful Web Api made with ASP.NET. I want the database for this project to be a Azure SQL database on Microsoft Azure.

    I think this architecture is logical and should be possible. I'm running into trouble setting it up however. I followed this tutorial: "Tutorial: Create a web API with ASP.NET Core" to create a web api that does everything I want except it uses an "in-memory" database, and doesn't connect to any SQL azure database. Separately, I followed this tutorial: "Create And Publish ASP.NET WEB API In Azure" which shows how to create a full web application with the website and views and everything, that also connects through Entity Framework to a MS Azure SQL Database.

    I thought that I could take the web api part of the first tutorial and combine it with the entity framework MS Azure SQL database part of the second tutorial to get what I want but I've been stuck on this all day and I can't seem to figure it out.

    The first tutorial uses the "ASP.Net Core Web Application" template in visual studio and the second tutorial uses the "ASP.Net Web Application" template in visual studio. I can only do the Entity framework stuff in the later not the former. I have imgur screenshots below to explain what I mean.
    I can only create the ADO.NET Entity Data Model in the Web Application. It's not an option in the Web API application:

    https://imgur.com/a/ejZokTH

    Last note, I had assumed there was a nuget package difference between the two templates, so I've added the nuget packages that seemed different between the projects and yet adding a Entity Framework data model to my Web API Application is still not an option.

    TLDR: How do I connect a MS Azure SQL database to a web api application, (preferably using database-first approach through Entity Framework)? I can get a web api application running but it doesn't connect to Azure SQL database through Entity. And I can get a full website application running that does connect to Azure SQL database through Entity but it isn't the simple Web API I want. How do I do both?

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

    Any resource on building very large scale applications or websites like facbook or instagram ?

    Posted: 07 Aug 2020 09:45 PM PDT

    i want to understand how is instagram able to serve billions of users. How are photos stored and served to millions ata time ?How are they able to sync . Any resource available on these topics ?

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

    Simple global vs local values/manipulation in functions C vs Python

    Posted: 07 Aug 2020 08:00 PM PDT

    Hello, so I'm trying to wrap my head around functions more in C, as I've been pretty weak on them in learning about global/local scope.

    #include <stdio.h> void addOne(int *x); int main(void) { int a = 0; // assigns value of 0 to variable a int *b = &a; // points to what is located at memory position of a printf("%i, value of a\n", a); printf("%i, value of b referencing what is stored at location a\n", *b); addOne(&a); // why must you use & vs * printf("%i, new value of a\n", a); printf("%i, value of b without updating value of b\n", *b); } // void addOne(int *x) { *x = *x + 1; } returns: _________________________________________ 0, value of a 0, value of b referening what is stored at location a 1, new value of a 1, value of b without updating value of b 

    Now, I had to play around with this for a while before I got it to work. But, my main question is, why must you pass addOne(&a) vs addOne(*a). The * is what is referenced in the actual function.

    I understand pointers are just memory addresses. So, for example, &a is a memory address. *x in the function is essentially saying, "go to where x(really a) is located". I think. So is that why the function must have &a?

    And a more stupid question. Are there any functions that you pass * as arguments, for example addOne(*x) vs addOne(&x)? Or would the function call always be addOne(&x)?

    ------

    Now, using a global value of a, I am able to update the value of it. But only by declaring it a global variable.

    Does this mean that if you want to update a variable that isn't global, you generally use pointers in C?

    #include <stdio.h> void addOne(); int a = 0; int main(void) { printf("%i value of a before function\n", a); addOne(); printf("%i value of a after function\n", a); } // void addOne() { a = a + 1; } returns: _________________________________________ 0 value of a before function 1 value of a after function 

    I think I may be getting in a little over my head here but I was reviewing global vs local variables in python and javascript and then trying to remember how they work in C.

    In python, it seems easy, as in the function you just say "global a" I believe, but you cannot change the value of b like in C.

    a = 0 b = a def addOne(): global a a += 1 print(str(a) + " value of a") print(str(b) + " value of b") addOne() print(str(a) + " value of a after function") print(str(b) + " value of b after function") ## does not change value of b returns: _________________________________________ 0 value of a 0 value of b 1 value of a after function 0 value of b after function 
    submitted by /u/inline_five
    [link] [comments]

    How to code more efficiently?

    Posted: 07 Aug 2020 09:24 PM PDT

    I'm new to programming (2+ hrs ). I write basic python codes but sometimes i feel my codes are lengthy or inefficient. How can i work on that?

    I wrote a code that takes a 10 digit number as string, for example 1234567890, and then returns it in the form (123) 456-7890. Its a small code that works but i feel i can make it better. Any tips?

    the code:

    #Input number
    val = input("Enter a 10 digit number ")

    #Convert number to list
    array = [char for char in val]
    p1 = ''
    p2 = ''
    p3 = ''
    for num in array[0:3]:
    p1 += num
    for num in array[3:6]:
    p2 += num
    for num in array[6:10]:
    p3 += num

    print(f"your phone number is ({p1}) {p2}-{p3}")

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

    Having trouble with pip for python

    Posted: 07 Aug 2020 07:06 PM PDT

    Hello, I am currently learning python and I got to a tutorial that talks about 3rd part modules for python and how to install them using pip. The tutorial mentioned that the newer version of python should come built-in with pip and if you have an older version of python to just install the newest version. The version of python I have is python 3.8 for windows and I don't have pip installed. I tried to google ways to fix this but I haven't found any. I tied to check on the windows command prompt following a tutorial tp check if either pip was installed and if python was installed and I can't verify that either is installed. Python does not show any information when I try to find it on the command prompt and pip -- version shows "pip' is not recognized as an internal or external command, operable program or batch file." on the command prompt. I was wondering if anyone knows what to do to help install pip for python 3.8 on windows.

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

    If you are looking for a more fun way to learn to program. Unity 3D is fairly easy and designed for less technical people.

    Posted: 07 Aug 2020 09:06 PM PDT

    It's how I learned to program and I'm pretty far in my career now.

    Here is an example on what you can do in a week once you are good.

    https://youtu.be/_JAUmIoRn-k

    For me seeing what I made move around was much more rewarding then solving math problems or implementing random design patterns.

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

    Focussed developer community to discuss GDPR or privacy compliance related issues?

    Posted: 07 Aug 2020 08:23 PM PDT

    Do you know of any developer only communities related to GDPR or privacy compliance related issues. Something on Slack or Discord maybe? To deep dive into integration issues, software reviews, open source tools etc.

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

    Taking: COP 2071 Database Programming and SQL

    Posted: 07 Aug 2020 05:55 PM PDT

    The description is : This course covers key concepts related to database design and Structured Query Language (SQL). Students learn how to read and write simple and complex SQL statements. Students learn to create and maintain database objects and to store, retrieve and manipulate data. Classroom lecture and hands-on lab assignments reinforce the fundamental concepts. Lab fee required.

    I'm going to have a heavy class load this semester, so I was any tips from anyone who has taken something similar to this class or has knowledge?

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

    What code editor is the best

    Posted: 07 Aug 2020 11:50 PM PDT

    I'm starting to learn python and was wondering what code editor I should use.

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

    Structured learning recommendations?

    Posted: 07 Aug 2020 07:39 PM PDT

    I want to make web apps and I think I would work best with a code Bootcamp but I'm planning on going to community college right now so don't want to go that route yet. Do any of you guys know of a free or cheap full stack Bootcamp style course? Language doesn't matter but python is preferred. I like having a structured plan seeing how I'll get from zero to knowledgeable. So far I've been jumping from tutorial to tutorial and course to course because none of them seem to include it all, except boot camps.

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

    I never feel safe with css

    Posted: 07 Aug 2020 04:00 AM PDT

    I started programming 2 years ago, and my main focus is data science. Nevertheless i enjoy web development a lot. I am far from good or experienced but i enjoy doing my own projects. When i start creating a web site css is my main fear. I usually end up looking at tutorials and copy paste thing that apply to my case. How can i really understand css? Cause it not about colors or alingment. There are tons of thing that you have to consider like, different browsers, will it be responsive? etc. Is there a book, tutorial ( i have seen quite a lot) or something that will make me understand its philosophy ?

    Thank you in advance

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

    Help with balancing AVLTrees in Java

    Posted: 07 Aug 2020 07:31 PM PDT

    I've been stuck on this assignment for days now and I have no idea where to even begin. I understand the concept I just need to be steered in the right direction. I don't want a solution just some advice. Below I have the .zip project. In AVLTree.Java I'm supposed to finish the restructure method to balance the tree. Any help will be appreciated.

    https://drive.google.com/file/d/1QhygKFfxHUZDASs_MLBLV8UO9NUC6kau/view?usp=sharing

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

    Learning SQL and Microsoft technology in 2 weeks

    Posted: 07 Aug 2020 11:10 PM PDT

    Hi there, I need to learn SQL and Microsoft technologies (in particular VB. NET) in few days. I ask if in addition to the official documentation there is also resources or tutorial about these languages. Thanks for the help

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

    Where to start with learning software architecture?

    Posted: 07 Aug 2020 05:23 AM PDT

    For a while now I've struggled with designing architecture for my own projects and, therefore, I'd like to learn about software architecture. Are there good introductory/comprehensive books on the topic that you could recommend starting with?

    I checked the book The Architecture of Open Source Applications mentioned in the FAQ, but it didn't seem too structured on the topic and instead it's just providing examples from different projects. I'd like to know more about the theory, methods and principles of software architecture.

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

    Are StreamSockets the best thing to use for Rfcomm chats? (classic bluetooth)

    Posted: 07 Aug 2020 07:01 PM PDT

    I have a streamsocket thats created from a bluetoothDevice that i then use datawriters and datareaders to create a "chat".

    I learned about all of this while doing it, streams, datareader, datawriter, etc. so i could be doing a hacky way of it thus the slowness. Takes 1-3 seconds to get the data start to finish. I need it to be a helluva lot faster. I can post the code if you think my method of doing it could be trash, currently the internet at my house is down and typing code on mobile sounds awful.

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

    How are these types of sites built?

    Posted: 07 Aug 2020 10:37 PM PDT

    Sorry if this is against any rules. Not trying to promote any services. I'm newer to programming and trying to work out the technology stack in how these websites make their posters. Like is nearly everything happening on the back end? I assume they a star api or have created the calculations. My biggest question is How are they generating a high resolution image or pdf on the backend to be able to send to a printer? Vector; and if so how would they generate it? I found a few companies that offer .pdf apis to create images but I am trying to wrap my mind around every step of the process of these sites below: https://www.underluckystars.com/designer or https://create.thenightsky.com

    All feedback is much appreciated for a newer programmer.

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

    What are some programming habits I should avoid?

    Posted: 07 Aug 2020 11:56 AM PDT

    I was looking into yanderedev and a lot of comments were on his extreme use of if else statements, which make the game run slower/less optimized. I know this is something that I would do if I didn't know it was bad. What other common things do people do that ruin code that I should avoid?

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

    How do I add a border using images around the whole page using HTML and CSS?

    Posted: 07 Aug 2020 06:35 PM PDT

    I tried looking for tutorials on this, how do I add a border using images that repeat? and what size do the images have to be for the border?

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

    No comments:

    Post a Comment