• Breaking News

    Wednesday, December 30, 2020

    Web development tech stack makes no sense to me - not sure where to start learn programming

    Web development tech stack makes no sense to me - not sure where to start learn programming


    Web development tech stack makes no sense to me - not sure where to start

    Posted: 30 Dec 2020 09:17 AM PST

    I'm an intermediate programmer mostly skilled with desktop stuff. However, desktop isn't exactly the future anymore. So, I'm trying to pick up web development for my personal projects going forward. The problem I'm having is that there are so many different technologies that seem to overlap and I have no idea where to start.

    As best I can tell, the web runs on Javascript (*dry heave*). Javascript, on its own, is client-side. For the project I'm looking to start, I will need to communicate with a DB in real time and update the UI accordingly. But it's not clear where in the myriad of web technologies I can find that. I'm pretty sure Javascript doesn't do that, so I'm just lost. Looking for recommendations here.

    I've done some Web development in college, but could never get a good grasp of it. It's all so awkward and isn't as easy to me as desktop stuff. So, a tech/language that's a bit friendly to desktop developers would be most fantastic.

    EDIT: Thanks for all of the info, everyone! I got frustrated with Web dev in college and gave up on it. This is basically my way of trying to learn it once and for all. After reading these responses, it seems I understand even less about web development than I thought. It's time to hit the books!

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

    What did your resume that got you an internship look like?

    Posted: 30 Dec 2020 11:39 AM PST

    I really need to start looking into internships (I have about 2 years left in college) and I know I just need to start applying for a bunch, but the wall I always run into is not having a resume, and not knowing what to put on it. I mean, it's for an internship, what kind of stuff are they expecting?

    As far as projects go, all I really have is two Python GUIs that I made and actually use consistently, but they're not very impressive, and I'm sure the repos for them are low quality by professional standards (are you supposed to link repos for projects listed in your resume??)

    What did you have on your resume that you used to apply for internships?

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

    Wanting to create a Machine Learning Algorithm for my League of Legends games and don't know how to "start"

    Posted: 30 Dec 2020 08:12 AM PST

    I want to make an algorith that wil determine whether I won or lost a game of league of legends based off the following parameters

    Kills

    Death

    Assists

    Total Gold

    Time of Game

    I have the data available, and I have been learning the concept on Coursera for the past couple of weeks, I wanted to reverse engineer some of the assignments I was given but they seem very complicated.

    My first question is how do I structure something like this? I have made a project on GitHub but I don't have the faintest clue if it accepts projects from Octave, the program I intend to use for this. Just need a starting point honestly.

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

    Java related books that helps you to deepen your knowledge and it can serves as a reference as well

    Posted: 30 Dec 2020 08:11 AM PST

    It's been 2 months and a half since I started learning java and I'm doing fine , I'm not giving that much time to it cause I'm 2nd year highschool student and I don't have a lot of spare time anyway I learned most of the basics and I do understand what OOP is and made a bunch of different projects I finished my last project 2 days ago although it took too much time but I felt overjoyed when I finshed and everything was working as I wanted.. so here comes the point I want some free books to deepen my knowledge and use them as a reference is there any recommendations

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

    New Introduction to Computer Science / Programming video series

    Posted: 30 Dec 2020 02:43 PM PST

    Disclaimer: This video is my own, I am a CS Professor that has made a ton of videos this year due to this year being what it was. Since I do not teach introduction to programming, I was not able to get to what I really wanted to do until winter break, creating an introduction to CS and programming video series that is designed for the web.

    I started programming in middle school and while I was fortunate to have one BASIC course offered in High School, I started my journey in Computer Science largely self taught. I examined code available to me (Anyone remember the GORILLAS.BAS QBASIC game?), read books and worked with friends to improve my craft. I know that there are potentially many in this forum that are doing that today, and while the community here is far larger than the BBS driven ones I was using, I know from reading the posts here that some of the challenges of being self taught have not changed in all these years.

    So it is with this perspective that I am trying to create content that helps this group. I ended up going to school to get my CS degree (and later grad school as well), because I knew I was nowhere near where I wanted to be when it came to understanding CS theory. I am hoping that by combining theory and practice from lesson one, never saying "Don't worry about how this works for now, we will come back to it", and doing my best to help students directly and by pointing them in the right direction to find community that a better way to teach CS over the web can be found.

    It is discussed in much more detail in the video, but I intend to incorporate important topics like computer architecture, data structures and algorithms as I am going through the standard learning to code components.

    Prerequisites: Ability to use / navigate the web, no software is required other then a modem browser, the video uses an online code editor and JS for this video

    So, this is the very first video, it talks about my approach and includes the following topics:

    Theory / Topics:

    • Computer Science
    • Programming
    • Algorithms
    • Algorithm Efficiency / Big O Notation
    • Pseudocode
    • Statements
    • Variables
    • Conditionals

    Practice:

    • Build a thermostat algorithm (Hello, thermostat?) :P

    If you are not just starting out, and you are willing to take the time to watch, I would absolutely love to get your feedback. My goal really is to find the best approach to teaching this material, and to achieve that requires me to listen.

    PS: I promise not to spam this forum with additional posts every-time I release a video, this is the first of the series. I hope it can help some here.

    https://www.youtube.com/watch?v=TwiClHSgLiM

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

    Powershell

    Posted: 30 Dec 2020 08:52 AM PST

    Hello, I have been learning python for about 2 months now and wanted to automate all the things I do at the start of the day. I was told I should use PowerShell for this but I am having trouble locating tutorials.

    Basically what I want to do is :

    1. Open my time tracker
      1. login
      2. start timer subprogram
      3. open and edit timer
      4. start timer
    2. open chrome
      1. login into our project tracking site
    3. move from desktop 1 to desktop 2
    4. open virtual desktop software
      1. login to virtual desktop

    I have figured out how to start a process and that's it. I know how to do things like click and type using python but not sure how in Powershell. Moreover, can Powershell work with 3 monitors? I know pyautogui can only work on the primary monitor. And lastly, I will need to learn how to start this process once I login into my account.

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

    Is it necessary to have "visual" projects on your resume?

    Posted: 30 Dec 2020 06:57 PM PST

    It's probably a stupid question, but I'm a complete beginner when it comes to creating a project on my own and don't know where to start.

    I would like to begin with a Data Science project where I do some analysis on a specific dataset: basically applying some basic data science concepts to answer some questions related to that data. All the code and graphs will be written in a Jupyter notebook probably.

    Would it be redundant to include this project on my resume for my first internship (internship which will not necessarily be on a data science position, because there are only a few in my area)? Should I stick to something more visual, like a simple game, basic mobile/web application, etc. as I see everywhere?

    It's nice to go to an interview and show the recruiter a game that does X or Y, but my biggest fear is that it's not that impressive to show the recruiter some random graphs about a dataset.

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

    prime numbers logic

    Posted: 30 Dec 2020 09:19 PM PST

    hey yall, I'm trying to learn programming and am having trouble figuring out the logic behind this one to output prime numbers. Can someone pls explain the logic in psuedocode?

    Also are there any resources to understand code on a logical level or is that something a coder has to figure out intuitively?

    def prime_numbers(n):

    counter = 0

    x = 2

    while (counter < n):

    i = 1

    while (i < x):

     if (x%i == 0 and i != 1): break elif (i == x-1): print(x) 

    counter += 1

    i += 1

    x+= 1

    prime_numbers(7)

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

    Database structure (SQL) and DAO's - what's the go.

    Posted: 30 Dec 2020 09:18 PM PST

    I'm working on a platform designed by someone else which has an API that talks to a Postgres db. For simplicity's sake, let's say we are storing inventory items for a store.

    In the current setup, there are a whole bunch of dao's and models in the code (.net based) and in the database, if you were writing an inventory item, the row contains a json field where the item particulars are written and a field to record under which data model this data conforms and another for version.

    There are several things I don't like about this

    • The code is full of abstractions and interfaces and is difficult to follow

    • If another module/microservice needs to be created, all of this DAO code needs to be replicated. Obviously a complex task and easily spirals out of control

    • Other devs creating other services that write to the same db have to adhere strictly to the DAO rules in their code and it has to match the current version.

    • Someone not following the rules properly can insert malformed data into the database

    The only advantage I can see of this method at all is that the database itself is more flexible to changes in the data model, like if we want to add or remove a recorded attribute of a product.

    What makes more sense to me though is to have the database be strictly defined with specific fields, types, not nullable, cross referencing etc so that the database schema is the ONLY source of truth and it doesn't matter what anyone does in the code because the db will simply not accept malformed data. You can let your intern have a go at it all they want and they just won't be able to add bad data to it. You can do away with ALL the code overhead and just have a simple insert statement. More services can be added which use the same db without any extra technical debt. But again, the flaw I see with this method is what do you do when you want to change the db? If you want to add a field, then fine and you can set that to some default on old records without it. If you want to remove a field, then you don't have a legacy record of that old data.

    So I am quite clearly in favour of the latter implementation. Are there compelling reasons for/against each method and if I do use the latter, how are changes to the data model handeled under such implementations?

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

    Where can I really learn how computers work?

    Posted: 30 Dec 2020 11:01 PM PST

    I've taken an introductory Java course at my college and used some online resources to learn how to code. However it feels like I'm not actually learning anything. Resources like Codecademy and MOOC.fi feel like a game rather than a learning tool. "Press the right sequence of buttons and you'll get these imaginary points" maybe I'm just too early on in my endeavor to see the bigger picture, but I don't actually feel like I'm understanding computers any better. I can make loops and import classes and write methods but do I really understand the inner workings of them? No. Can I make a basic app or game? No. All I can really do is take whatever simple problem those sites give me and solve it and it's not even really me solving it since they hold your hand half the time. I want to continue with programming but it's discouraging when I feel like I'm not actually doing anything. Any ideas?

    Tl;dr: classes and tutorials teach me how java works but not why it works or the applications. Need help getting to a point where it all makes sense.

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

    Any tips someone starting to learn on their own ?

    Posted: 30 Dec 2020 05:58 PM PST

    I'm gonna be graduating high school after this semester and starting college in August, and I'm planning on teaching myself as much as I can. From around September to early December with the help of youtube I taught myself the basics of html and css, I'm gonna try to learn python first and go from there. I enjoy coding and learning about programs and I was wondering/hoping if there are any pieces of advice you would have for a beginner.

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

    My Software Development school teaches us mainly outdated/less used ways to program. What to do?

    Posted: 30 Dec 2020 02:40 PM PST

    I started my first year at a Software Development school end of August. Throughout the last few months we have been taught both C# (using the .NET framework) and front-end web-dev (JS, CSS, HTML5). The time has been enjoyable, although the pacing is really slow and the methods are quite outdated. For starters, the school still recommends us to use floats all the time. We have not been taught responsive design other than media queries. My new semester starts at the start of 2021, but I still don't feel like I have learned anything new since I first started. We have also barely used functions both in JS and in C#. This has led to stagnation and not learning anything new. I don't really have any time to learn anything on my own time, except for breaks.

    Any ideas on what to do with my little free time? I can't really put anything I learn outside of school into school projects since they expect for us to use the same methods they use, however bad they may be.

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

    How do fluid grids work in responsive web design?

    Posted: 30 Dec 2020 11:19 PM PST

    Hello all, I'm trying to learn programming and am having trouble figuring out the logic behind How do fluid grids work in responsive web design?

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

    what should be the ipv4_address when deploying docker compose cluster on azure vm?

    Posted: 30 Dec 2020 10:46 PM PST

    I have the following docker compose file that I want to deploy to a Azure Viurtual Machine. I am new to deployment and cloud. I am really confused as to what to right in place of ipv4_address? In the following connection if I try to connect from within the VM it connects as the ipv4_address is 192.168.98.10.

    But, it fails to connect from outside the vm over the global ip that azure provides.

    ```

    Source: tendisplus/templates/tendisplus.yaml

    version: '3' services: tendisplus-master-0: image: tencentdbforkv/tendisplus:latest container_name: tendisplus-master-0 ports: - "30000:51002" networks: tendisplus-net: ipv4_address: 192.168.98.10 environment: - REDIS_PASSWORD=password - CLUSTER=yes volumes: - "/data/tmp/tendisplus/30000:/data1/tendis/51002" restart: on-failure:3 tendisplus-slave-0: image: tencentdbforkv/tendisplus:latest container_name: tendisplus-slave-0 ports: - "50000:51002" networks: tendisplus-net: ipv4_address: 192.168.98.20 depends_on: - tendisplus-master-0 environment: - REDIS_PASSWORD=password - CLUSTER=yes volumes: - "/data/tmp/tendisplus/50000:/data1/tendis/51002" restart: on-failure:3 networks: tendisplus-net: driver: bridge ipam: config: - subnet: 192.168.98.0/24 I also tried adding my global ip in place of the 192.168.98.10 but it sends this error ERROR: for tendisplus-master-2 Cannot start service tendisplus-master-2: Invalid address 13.92.1.119: It does not belong to any of this network's subnets

    ERROR: for tendisplus-master-2 Cannot start service tendisplus-master-2: Invalid address 13.92.1.119: It does not belong to any of this network's subnets

    ERROR: for tendisplus-master-0 Cannot start service tendisplus-master-0: Invalid address 13.92.1.119: It does not belong to any of this network's subnets

    ERROR: for tendisplus-master-1 Cannot start service tendisplus-master-1: Invalid address 13.92.1.119: It does not belong to any of this network's subnet ```

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

    ARM Assembly Programming

    Posted: 30 Dec 2020 10:45 PM PST

    Hi, can you guys please help me by suggesting a project for an assignment for COVID situations that requires me to use ARM Assembly Program

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

    Not sure what to do at this point of learning web

    Posted: 30 Dec 2020 07:23 AM PST

    I've learnt basic HTML CSS JS and cloned one or two pages by following online courses.

    After that I didn't know what to do and decided to try and clone a non interactive (only little bits of animation with css) page by myself. I've managed to get the looks pretty similar but the code is not interactive nor can it cope with media queries. It's only centered around on making the looks look the same.

    I was initially planning on cloning one or two static sites, move on to clone some interactive sites with more JS and then learn frameworks and backend if possible. But my first try got me questioning the plan.

    Should I keep on cloning sites even though my code seems inefficient and only centered on making the looks correct? I'm not sure if it will make me better or just make bad habits.

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

    i am working on a GUI that will feed input to a google spreadsheet, i had foolishly thought that it would be easier than learning SQL. But setting the API is a nightmare i cant get out of, the modules downloaded into the python2.7 path. And some seem to be missing.

    Posted: 30 Dec 2020 10:19 PM PST

    at first i was missing the entire googleapiclient module from the quickstart.py file from the official quickstart guide. Then i went down a rabbit hole trying to download the api client manually.

    Eventually i decided to erase the clients which i hoped were somewhere in my system. Which led me to hunt them down across my hidden files .local files. after realizing that they were there in the system

    And after finding them in the system-packages directory of python2.7 i decided to somehow move them to the 3.7 version of python. That took care of most of the missing API clients

    Now though i have this issue, it seems...

    Traceback (most recent call last): File "/home/luisyglion/test_api/quickstart.py", line 4, in <module> from googleapiclient.discovery import build File "/home/luisyglion/.local/lib/python3.7/site-packages/googleapiclient/discovery.py", line 48, in <module> import httplib2 File "/home/luisyglion/.local/lib/python3.7/site-packages/httplib2/__init__.py", line 28, in <module> import email.FeedParser ModuleNotFoundError: No module named 'email.FeedParser 

    this is the script that i want to run

    from __future__ import print_function import pickle import os.path from googleapiclient.discovery import build from google_auth_oauthlib.flow import InstalledAppFlow from google.auth.transport.requests import Request # If modifying these scopes, delete the file token.pickle. SCOPES = ['https://www.googleapis.com/auth/spreadsheets.readonly'] # The ID and range of a sample spreadsheet. SAMPLE_SPREADSHEET_ID = '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms' SAMPLE_RANGE_NAME = 'Class Data!A2:E' def main(): """Shows basic usage of the Sheets API. Prints values from a sample spreadsheet. """ creds = None # The file token.pickle stores the user's access and refresh tokens, and is # created automatically when the authorization flow completes for the first # time. if os.path.exists('token.pickle'): with open('token.pickle', 'rb') as token: creds = pickle.load(token) # If there are no (valid) credentials available, let the user log in. if not creds or not creds.valid: if creds and creds.expired and creds.refresh_token: creds.refresh(Request()) else: flow = InstalledAppFlow.from_client_secrets_file( 'Credentials2.json', SCOPES) creds = flow.run_local_server(port=0) # Save the credentials for the next run with open('token.pickle', 'wb') as token: pickle.dump(creds, token) service = build('sheets', 'v4', credentials=creds) # Call the Sheets API sheet = service.spreadsheets() result = sheet.values().get(spreadsheetId=SAMPLE_SPREADSHEET_ID, range=SAMPLE_RANGE_NAME).execute() values = result.get('values', []) if not values: print('No data found.') else: print('Name, Major:') for row in values: # Print columns A and E, which correspond to indices 0 and 4. print('%s, %s' % (row[0], row[4])) if __name__ == '__main__': main() 

    these are the files in my Python3.7 system-packages dir

    astroid google_auth_httplib2-0.0.4.dist-info pkg_resources six.pyc astroid-2.4.2.dist-info google_auth_httplib2.py __pycache__ termcolor-1.1.0.dist-info autopep8-1.5.4.dist-info google_auth_httplib2.pyc pycodestyle-2.6.0.dist-info termcolor.py autopep8.py google_auth_oauthlib pycodestyle.py toml certifi httplib2 pyfiglet toml-0.10.1.dist-info certifi-2020.6.20.dist-info httplib2-0.18.1.dist-info pyfiglet-0.8.post1.dist-info typed_ast chardet idna pylint typed_ast-1.4.1.dist-info chardet-3.0.4.dist-info idna-2.10.dist-info pylint-2.5.3.dist-info uritemplate _distutils_hack isort requests uritemplate-3.0.1.dist-info distutils-precedence.pth isort-4.3.21.dist-info requests-2.24.0.dist-info urllib3 easy_install.py lazy_object_proxy setuptools urllib3-1.25.10.dist-info google lazy_object_proxy-1.4.3.dist-info setuptools-49.6.0.dist-info wrapt googleapiclient mccabe-0.6.1.dist-info six-1.15.0.dist-info wrapt-1.12.1.dist-info google_api_core-1.24.1.dist-info mccabe.py six.py 
    submitted by /u/Lion_TheAssassin
    [link] [comments]

    Is there a rationale for why deleting a character (when computing minimum edit distances) is represented by traversing columns?

    Posted: 30 Dec 2020 09:40 AM PST

    Same for adding characters (why is it represented by traversing columns) and substitution (why is it diagonal)?

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

    Help with programming

    Posted: 30 Dec 2020 06:52 AM PST

    I just recently started leaning python and I have problems applying things i know to my code. When I read other code or the code from my lectures, I can easily understand it and why its being used, but when it comes to actually solving problems by myself, I either forget the code or can't apply it in a logical way. What i wanted to ask is, does practice make perfect and do projects help? Or do you have to be really talented to succeed?

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

    Can I program online multiplayer games on code.org

    Posted: 30 Dec 2020 09:12 PM PST

    Hi, I've been using https://code.org to program games, but is it possible to make a game I can play with a friend online, two separate devices. Is there any similar website with block code to do that? If not, I'm okay with text based Java and can probably do JavaScript. Prefer block code

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

    Chess Game and Engine From Scratch

    Posted: 30 Dec 2020 02:54 PM PST

    This is a chess game and engine built from scratch in javascript with a UI in react. It is hosted entirely on github for free! I built it 2 years ago when I was transitioning work and learning to code. I stumbled across it again the other day and thought I would post it here. It took about 2 weeks to build and it was some of the most fun I have ever had programming. I must have been putting in 10 hours a day. I am still learning to code although I sometimes need some help finding that passion and energy that used to come so easily.

    React UI to play against it!: https://cman6397.github.io/Deploy-React-Chess/

    Github Repository: https://github.com/cman6397/React-Chess

    p.s. you can inspect the console to see how many positions it searched and the depth it reached in the game tree.

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

    Collapsing navbar not showing links when button clicked

    Posted: 30 Dec 2020 10:02 AM PST

    Im practicing making a responsive webpage using react and react-bootstrap. I have it hosted here: https://yummy275.github.io/the-quilting-quilter/

    Im running into issues when the navbar is collapsed though. Collapsing and expanding seems to work correctly, however when its collapsed the button when clicked should bring up the links (home, store, fabrics, etc.). I want to recreate this: https://www.w3schools.com/bootstrap4/tryit.asp?filename=trybs_navbar_collapse

    Here is the github for my navbar: https://github.com/Yummy275/the-quilting-quilter/blob/master/src/components/NavBar.js

    I tried my best to follow along the guide however I think im missing something? Thank you for looking.

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

    Learning the fundamentals of software engineering via audiobooks/podcasts.

    Posted: 30 Dec 2020 01:03 PM PST

    I want to gain a broader, more fundamental understanding of software engineering / programming in general. I recently got my first programming job and most of my knowledge is hyper-focused on web development. I'm trying to gain a better understanding of the basic fundamentals of software engineering / computer science (e.g how modern high level languages are compiled into lower level languages, the basics of devOps, penetration testing, what is the Agile methodology, application security... etc).

    Basically high-level summaries of various topics related to software engineering / computer science. Right now I'm listening to the book, "Pragmatic Programmer", which I'm finding to be very helpful. What are some of your favorite audio-based resources to learn programming?

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

    Best sources online for learning web development???

    Posted: 30 Dec 2020 02:33 PM PST

    I am new to programming and I am interested in doing web development as a career. Is it possible that anybody can share any type of source that they used to learn web development? I am just really interested in trying to build web apps. I just wanted to know what is the best ONLINE resource to learn web development and web apps? Can you also share your experience with this??

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

    No comments:

    Post a Comment