• Breaking News

    Sunday, March 31, 2019

    My full stack web development programming notes (GitHub) learn programming

    My full stack web development programming notes (GitHub) learn programming


    My full stack web development programming notes (GitHub)

    Posted: 31 Mar 2019 07:20 AM PDT

    Hello again! I'm back with even more programming notes.

    https://github.com/8483/notes

    They depict my learning journey and they are written in a "human" way for easy understanding.

    My old notes can be found here (2016) and here (2017) as a PDF file.

    Here's a phenomenal video describing the whole web development ecosystem.

    Below is the content of the notes to see if you find anything useful.


    Programming

    Javascript

    • Javascript
    • ES6
    • OOP
    • DOM
    • Async
    • FP

    Frontend

    • CSS
    • React
    • Electron
    • Virtual DOM
    • Elm

    Backend

    • Node
      • Express
    • MySQL
    • nginx
    • C#

    Version Control

    • Git

    Tooling

    • Babel
    • Webpack
    • Typescript
    • Caching

    Architecture

    • Architecture
    • Use Cases
    • RESTful

    Concepts

    • File Organization
    • Authentication
    • Security
    • Testing
    • Binary base

    Useful

    • Algorithms
    • Excel

    Mobile

    • Overview

    IDE

    • VS Code

    Linux

    Administration

    • basics
    • filesystem
    • users
    • config
    • systemd

    Tools

    • bash
    • tmux
    • vim
    • ssh
    • compression

    DevOps

    Virtualization

    • VM
    • Vagrant

    Containerization

    • Docker

    Configuration Management

    • Ansible

    Networking

    • Networking

    Electronics

    Gadgets

    • Raspberry Pi
    • Arduino
    • NodeMCU

    Theory

    • Electronics
    • Electricity

    Hope you will find something helpful and please ask anything that might interest you. Also, any feedback is welcomed.

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

    How do I find an open-source project that I can work with?

    Posted: 31 Mar 2019 06:45 PM PDT

    Long story short, I feel like my university, despite being on par with UC Berkeley academically, doesn't really prepare one for software development and I feel like this is why I have yet to get an internship. So anyways, I feel like I need to learn how to program using git (learning that language now as we speak) and do some open source projects. Question is this -- how do I find a group to work with?

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

    People who have been programming since they were kids, what language popped your cherry?

    Posted: 31 Mar 2019 01:00 AM PDT

    Mine was GML. Although I had my first orgasm with Perl. What's yours?

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

    I created a programmer-oriented resource list of free and open tools and resources

    Posted: 31 Mar 2019 01:30 PM PDT

    You can check it out here. It's basically my resource list except it's built with a pretty looking (probably) website around it. It contains a bunch of free and/or open resources for different subjects such as general programming, music, design, and game development.

    EDIT: Forgot to mention that it's also open source. You can visit the repo here so you can see it for yourself.

    If you want to visit only with the text and don't want to navigate around the site, you could just go to the "database" (it's just a markdown file).

    I've compiled these resources for almost a year now. I'm thinking of converting what I've gathered into a website (only replaced it with the context of only containing free and open resources) just because I want to make it look pretty and be useful to other people.

    I also want to give back to the communities that helped me in my programming journey by giving to those who are looking potentially a good place to look for resources and stuff.

    I hope you find it useful.

    April FOoOoOoOoOLS!! but srsly it's real

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

    Non-recursive function to check palindrome in c++?

    Posted: 31 Mar 2019 10:12 PM PDT

    Hello!

    Essentially asking what the title says, I am working on a homework assignment that wants a recursive and non-recursive function using bool to figure out if something is a palindrome or not. I have searched all throughout google for anything involving non-recursive palindromes but have found no help. Thank you!!

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

    Lost my job. Want to learn what I’m missing to build my idea.

    Posted: 31 Mar 2019 08:12 AM PDT

    Hi. Throwaway because I'm not feeling that great at getting fired. Won't go into the details into the why and how.

    The good part is that it forces me to work towards a project I've been toying with in my head for the last few months. I'll have unemployment which will support me while learn what I'm missing to build my project.

    I'm an R programmer. I learned R to be able to complete data science projects at school (Masters in Marketing) and at work. I'd say I'm at an intermediate level: I can import, wrangle and clean most data sets that fit in memory with dplyr and friends, then create descriptive/explanatory/predictive statistics/models with various libraries (personal favorite is forecast), and present them with nice Dataviz using ggplot2.

    I also have a basic, high-level understanding of web technologies. I know what's an API, I understand the difference between big data and in-memory data, I know what different web services such as Google Compute Engine, BigQuery and such can do, etc. I know R can be used in a production environment using plumbr, but I've never used it. Actually, I've never programmed anything for a production environment, so I have a big gap in knowledge in how the nuts and bolts of these different technologies actually connect together.

    My project implies creating and maintaining a DAM such as Pimcore, and connecting it to other API driven web services for analysis of the media inside it. Then, second step would be connecting this DAM to upload to websites that don't have an upload API, so it would need to create the requests a regular user would do. It wouldn't be customer facing, so front-end is not a priority.

    An example of what I'd like to do is upload a set of local images to Pimcore, then run a machine learning analysis on it that will create metadata for each file. This is step 1. I already know how to do the analysis, but it would require several steps back and forth. For example, first step is categorizing image resolution. Then, from a subset of specific resolutions, categorize the main colors. Then, from a subset of resolutions and colors, specify a sharpness score. And so on and so forth.

    Then, step 2 is to output this file including the newly created metadata to another website that doesn't have API upload access. If step 2 isn't possible, then I'll hire someone to do data entry, but I'd like to avoid that.

    This project is obviously out of my current skillset, but I have time to learn. Since Pimcore is built with PHP and uses MySQL, and I already paid for Datacamp for the year, I was thinking of starting by doing the SQL courses on there first. Then, I'm wondering how useful learning PHP would be? Would it be better to learn this, or to find a course on APIs? Then, I have no idea how to upload to websites that don't have an API. I know it's possible, when I look at all the apps that popped up around 2015-2016 to schedule posts on Instagram, when there was no upload API access.

    What would you learn first in my situation? Which courses would you recommend?

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

    Wanting to Learn

    Posted: 31 Mar 2019 05:18 PM PDT

    Hello everyone I'm new to this subreddit and coding in general and I want to start learning by making a text based adventure game. I have a LOT of questions, but I will simplify them into 3 more general questions.

    1. What type of program do I use to make the game?
    2. What language should I use?
    3. What is a good (free if possible) source to help me learn all of these things more in depth?
    submitted by /u/nowereddit
    [link] [comments]

    Can you save Gmail emails?

    Posted: 31 Mar 2019 11:39 PM PDT

    Hey guys, i have found the way how to save Gmail mails to PDF, but i also want to know if there is any way to automatize that process.

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

    What would be the first steps in creating a social media app? lets say planning is done with, where would one start

    Posted: 31 Mar 2019 11:25 PM PDT

    To make a big social media app like lets say Instagram where would one start with the programming?

    submitted by /u/cs-stud
    [link] [comments]

    JS - why does my code always return an undefined as the last item in console

    Posted: 31 Mar 2019 11:01 PM PDT

    Code (not to be confused with the normal undefined (there are 2):

    function FizzBuzzTernary (ceiling) {for (let i = 1; i <= ceiling; i++) {console.log (i % 15 === 0 ? 'FizzBuzz' : i % 5 === 0 ? 'Buzz' : i % 3 === 0 ? 'Fizz' : i)}} console.log(FizzBuzzTernary(25))

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

    Studying for Java test

    Posted: 31 Mar 2019 10:59 PM PDT

    As the title says I am currently studying for a Java test and wanted to know if you have any activities to try or videos I can watch to learn more. This was the email my teacher sent on what to study.

    I will also test inheritance (generalisation and specialisation).

    Remind yourself how to write a main method.

    Remind yourself how to write a class with properties and methods.

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

    I am so stuck on trying to do calculations with functions.

    Posted: 31 Mar 2019 10:49 PM PDT

    I have list boxes and combo boxes but I don't know how to make them into functions to do calculations

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

    Serious question about a career change.

    Posted: 31 Mar 2019 07:03 PM PDT

    I am a 27 year old guy in October I will be 28, I work as a security guard and I'm burnt out from this job, I was always talking how I want a career change and actually start doing something that I enjoy but I was always doubting myself too much, specially about the thing that I feel like I might be too old. But yesterday something happened while I was working since I'm working night shifts and have a lot of time, I made an account on "freecodecamp" and started to learn JavaScript, HTML and CSS I know some html and css already but just basics. And I just said to myself I want to do something with myself and would like to learn programming/coding and make a career out of it . So my question is am I too old at 27 to get in this field and get a career out of it, or you guys think it's possible ? I would like to know what you guys think, specially if there is someone that started at my age and actually made it ? And of course any advice would be appreciated .

    Thank you !!!!!!

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

    Having a problem with classes

    Posted: 31 Mar 2019 10:46 PM PDT

    Good morning fellow programmers!

    I've been trying to fix this problem for the whole weekend and I just can't seem to spot it.

    I'm currently learning classes on CodeCademy, and as you see it's giving me an error saying that I didn't define isCheckedOut, even though I clearly have.

    Would you guys mind helping me out?

    Thanks a lot

    -------------------------------------------------

    The code: https://codesandbox.io/s/vy03o559w5

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

    Raspberry Pi Camera control using C

    Posted: 31 Mar 2019 10:02 PM PDT

    In order to control the camera of a raspberry pi using C programming (not interested in doing the project in Python), I have been advised to modify the code found https://github.com/raspberrypi/userland. Even though I have undergrad level experience of programming in C, Java and Python, I don't quite know how to go on about this. Can someone please get me started with just how to record a short video with raspberry pi's camera, using C?

    Thanks in advance!

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

    Language/Framework for personal projects but with high performance?

    Posted: 31 Mar 2019 10:00 PM PDT

    Searching the net for the answer to this has yielded little since it seems not many use coding for their own personal projects only? I do, and currently use php in an offline environment with MAMP, which is probably not ideal since php is designed for websites and I'm creating regular apps. I create my own programs for various tasks but my latest project requires high performance since it needs to compute thousands of iterations and even php 7 doesn't give the speed I need. At the moment it takes about 1.5 seconds to do 30,000 iterations even after many optimisations but I really need at least a quarter that time.

    I really don't like Java or C and it seems python is slower than php 7 so wouldn't be worth looking at that either. I'm wondering what might be a good choice of language/framework for this kind of offline app? What I like most about php is that the program simply opens in a browser and any code changes can be instantly viewed by just reloading the browser. Plus any styling is easily made with css and such.

    Looking for something similar but in a compiled language....or in a scripting language if there are any faster than php 7 for this kind of thing.

    Oh, also I'm using Mac. Thanks.

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

    Create a dedicated twitter account for iOS career change?

    Posted: 31 Mar 2019 09:52 PM PDT

    I'm starting hackingwithswift.com's 100 Days of Swift challenge. It involves doing the exercises/projects and posting about your daily progress on social media. I'm now on Day 9. I post progress from my personal Twitter. It's neat when somebody out there likes a non-programming post of mine, but I worry that other personal posts (while always respectful and clean) might annoy Swift people who start following me.

    Should I create a separate Twitter account? Is it a pain to juggle? My purpose is to get a job as an iOS programmer, so this challenge is important to me.

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

    Learning on your own to get a "dream web dev job?" Don't give up! (and, in some cases, give up)

    Posted: 31 Mar 2019 05:45 PM PDT

    Why post this?

    Heyo everyone!

    [if this doesn't meet the rules, feel free to remove this, apologies!]

    I thought I'd take a moment today to talk about what it takes to make it as a lowly web developer :)

    Disclaimer

    First thing I should mention may be hard to hear, but if you find you have to force yourself to code month after month and nothing clicks: it may not be for you. I've worked with many people who were natural programmers, they get a huge kick out of solving little problems, and if you don't have this I want to encourage you to look elsewhere. If you aren't losing sleep dreaming about code and fantasizing about some cool architecture, odds are it's not for you.

    However bad this sounds, this is also just as beautiful: you don't need anything but passion and hours invested to succeed. Your natural talent will put you ahead of thousands, unwilling to lose sleep over some problem, vying for these high income jobs.

    How do I get a gig?

    A lot of people, I believe, feel like they need some certifications or other kind of approval from someone else to code or do their own project. Just. start. doing. it! You love some song? Make a website about it and learn about positioning elements on a page.

    You have to do project after project, solving as many problems as you can with code. Put those projects on github. Host them via Heroku or some-such.

    Show people the awesome stuff you're making. Go to meet ups. Make presentations about them. Get good at talking about things, it's OK to be passionate. Make beautiful things. Make something take 100s of requests per second. Make a really nice landing page. Learn what you're good at and do more of that, stay away from things you hate doing -- to a point.

    You only get ahead by doing things right

    One pitfall people fall into is making every project as quickly as possible. I've found it helped me pickup necessary skills to force myself to apply them one-by-one to each new project. The skills you need to do web dev may be:

    • Git
    • Logging
    • *nix command line (how do find a file? how do I tell which binary is running when I run some command? where am I?)
    • HTML/CSS
    • JS
    • Python
    • Regex
    • Testing frontend (no idea what libs to use now, mocha? karma?)
    • Testing backend (pytest, pytest-xdist)
    • Asynchronously handling something
    • Persisting information (database, file storage)
    • Docker containers
    • Docker swarm to manage it
    • It is nucking futs how many things you have to learn...! Keep adding as often as you can.

    People will notice you

    At my company all it takes to get in the door is passion and hours. If you have a github full of web dev projects, python automation tools, etc. we're going to fit together nicely, for the most part. We may have to fine tune some things like CI/CD, code style, etc. minutia -- but we'll gladly do this for the right people.

    Don't give up!

    It might take 50 tries to find a company with the right mindset to fit in a greenhorn, but with Upwork-and-friends it's a global market place and only a matter of time for someone to recognize your talent. Take some shit salaries to get your foot in the door, if you have to. $15/hr is great to start at, I did.

    In conclusion...

    This was brief but tldr anyway: work hard, put your work out there, talk to lots of folks, and force yourself to pickup valuable skills that are annoying to learn.

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

    Python - os.path.exists returning True when it shouldn't

    Posted: 31 Mar 2019 09:18 PM PDT

    Hello - any reason why the below would return true even though the file path I provide in testing is bogus?

    Worked fine on MacOS. Windows 10 I'm getting True regardless of the user input. Maybe I have something wrong or something isn't valid with Windows OS?

    Python 3.7.3

    def CheckPath(input): try: os.path.exists(input) print(input + " is valid!") return True except OSError: print("ERROR: " + "File path is invalid.") return False 

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

    I am a 17 year old high school student who is just beginning to code, and I’ve spent hours watching Python tutorials and trying a few small projects, but my lack of creativity is getting to me.

    Posted: 31 Mar 2019 12:24 PM PDT

    Of course, I'm new to programming, so every small thing I do still requires me to really think about it. I still need to touch up on how variables and loops work together and such (for loops kind of confuse me, to be honest), but I'm definitely more informed than I was a week ago.

    I want to finally get a grasp on such concepts, and one of the tutorials I watched suggested practicing for 1-2 hours every day. Thing is, I don't know what to practice.

    Yes, I know one way to practice is thinking of a small issue I have and finding a way to program a solution. However, I'm having a hard time thinking of what kind of issues that I CAN fix, especially as a beginner to this world of programming.

    So, I guess my question is what should I do to practice every day? And if I complete a small goal, what do I do next? Finding something that will take hours to complete seems like a big task.

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

    Are the C++ tutorials on cplusplus.com enough (to begin )?

    Posted: 31 Mar 2019 04:34 AM PDT

    I know the base basics of programming but I really want to get started building stuff with C++.I have used it , but that was a long time ago. So essentially , although I knew just about everything the tutorial covers, I have forgot most of it.

    Is learning from there going to be enough to start learning from tutorials like lazyfoo (for SDL) or moving onto some cool projects/tutorials?

    If it isn't , please do suggest a resource from which I could get started as quickly as possible.

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

    If I have an application that only makes calls to an external API, can I call it "RESTful"?

    Posted: 31 Mar 2019 08:31 PM PDT

    Hi,

    So I am making a simple online weather application (using Spring). Basically, my application makes a call to RESTCountries.eu to retrieve a country's ISO code (through a user form) and then parses that ISO code into openweather API request for a city's weather forecast.

    I am only making requests. I am not sending out my own data. Would this be considered "restful" or whatever its called or am I just making api calls? How should I describe this application if I were to put it on git?

    Thanks

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

    Linux C getting terminal arguments to write into File?

    Posted: 31 Mar 2019 08:14 PM PDT

    So say I do ./myprogram file.txt, then I want to in the terminal write a command add to add strings to the file like "add dog <hit enter> add cat <hit enter> etc. Then eventually I want to type "list" as a command so it lists the strings in the file. How would i simply go about making those terminal arguments write to the file as well as read it ?

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

    One of these things is not like the other (am i even using the right program?)

    Posted: 31 Mar 2019 08:07 PM PDT

    On the left, the "Hello World" tutorial for C#

    On the right, what Microsoft Visual Studio looks like when I've actually gotten to that point.

    I feel like this happens a lot. I've started trying to learn a bit of coding several times for various reasons. Usually along the lines of game modding or game design.

    Inevitably I come to a point where I've followed all the instructions, and something looks wayyyy different. It's usually a "not getting expected outcome." But this time, the environment itself doesn't even look like this tutorial claims it's supposed to.

    https://imgur.com/a/DQmOCeI

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

    No comments:

    Post a Comment