• Breaking News

    Saturday, April 4, 2020

    [MEGATHREAD] Free Courses learn programming

    [MEGATHREAD] Free Courses learn programming


    [MEGATHREAD] Free Courses

    Posted: 03 Apr 2020 02:10 AM PDT

    In order to coordinate the current offers for free courses during the COVID-19 crisis, I've created this megathread.

    Please, post all your findings in top level comments (directly under this thread).

    No indirect links and check the validity of the coupons before posting, and, if possible, mention the expiry date.

    From now on, all other "Free Courses" threads will be removed. This thread is the only place where listings of free courses are allowed.

    Don't post always free courses.


    Don't fall for Udemy sales. Udemy is the furniture store of e-learning, there are always discounts.

    Also, don't fall for the stacksocial, etc. bundles currently advertised everywhere. They list exaggerated prices for the individual courses and out of the bundle commonly only one or two courses are necessary.

    Humble Book Bundles are generally worth it (with the exception of Packt books as they are known for low quality).


    No requests

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

    Internship while COVID-19 is going on

    Posted: 03 Apr 2020 07:29 PM PDT

    I am a Sophomore Computer Engineering major. I had an internship lined up for this summer, but they canceled it because of the outbreak. I am trying to gain some experience in the field ( computer hardware or software development ). any suggestions on where to apply so I can gain experience while I am quarantined

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

    Explain like i'm 2nd-Year-CS-Undergrad-at-state-college: Javascript. People complain about it alot, but it doesn't seem replaceable.

    Posted: 03 Apr 2020 01:09 PM PDT

    Why do people hate javascript?

    Despite those reason, why does it seem that it can't be replaced?

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

    Beginner Web Dev course - which one to choose

    Posted: 03 Apr 2020 10:15 PM PDT

    Hi there!

    I'm currently looking for a Web Dev course, and after searching for a while I've found 2 courses that have great reviews and apparently updated content.I can afford just one. They are:

    The Complete Web Developer in 2020: Zero to Mastery by Andrei Neagoie

    The Complete 2020 Web Development Bootcamp by Dr Angela Yu

    Appreciate any review/guidance/reccomendation so I can get started! Thanks!

    ps.: Tried to post in the WebDev reddit section, but apparently I can't ...

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

    Converting binary

    Posted: 03 Apr 2020 09:30 PM PDT

    Hi all,

    I have a file format that is in little-endian binary. I'm looking to convert it to readable text. Not really sure where to start. I've learned from a reference website that it has:

    char: 1 byte short: 2 bytes int: 4 bytes float: 4 bytes ubyte: 1 unsigned byte

    So, I tried unpacking a struct using '< c 2h 4i 4f B' to define the variable types, but it didn't convert correctly and to be honest I have no idea if any of this even sounds right or if I'm on the right track.

    Edit: I am using Python 3!

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

    General Advice on Best Approach to run a series of related internet searches from a column of text.

    Posted: 03 Apr 2020 11:00 PM PDT

    I've read the FAQ entry on "If you want to automate MS-Office, use the built-in programming language Visual Basic for Applications (VBA). /r/vba is dedicated for VBA programming." but I'm not sure if this would be a good starting point.

    I've a requirement to take a (list e.g. countries) from an Excel or a .txt file and do the equivalent of looking at the first few search engine results of manually searching on the list items with the same term (e.g. flag), e.g. . Afghanistan + flag, Albania + flag, Algeria + flag ... for all 200 countries so that I can visually inspect the first few search results. This would let me make a table with two columns like this.

    COUNTRY FLAG IS FUN?
    Afghanistan Yes
    Albania No
    Algeria Yes

    The solution doesn't need to decide if the flag is fun or not; I just want to be able to look at the results in one place with one search rather than typing the searches 200 times and then doing it again with I discover that lots of results come in about 'getting tired' or about flags in a database and I want to change the search term to "national flag" or "national flower".

    Because I don't know API programming, and I have only done cut-and-paste tasks in VBA I don't know what would be the best way forward. I don't even know what to ask someone on a piecework site. I'd appreciate any and all suggestions.

    Thanks in advance.

    PS if I've misread the sticky 1) sorry and 2) can you direct me to a better sub-reddit?

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

    What area of the programming is the least saturated?

    Posted: 03 Apr 2020 12:18 PM PDT

    I hoped that somebody could point me in the right direction,on what area of the programming i should focus on if i want to have a kinda decent chance of getting a job. Mobile development,web,something else? Correct me if i'm wrong,but it kinda seems like the market is now full of programmers and there is not such a high need for them anymore.

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

    How to print user inputted number of digits of Pi using printf?

    Posted: 03 Apr 2020 09:38 PM PDT

    For example, let const double PI = 3.14159265358979. The user has to input an int nand I want to print ndigits of PI.

    I can't just use "%.nf". I also tried constructing a string "%" + "0." + to\_string(n) + "f" but that didn't work either.

    The error I got was prog.cpp: In function 'int main()': prog.cpp:8:17: error: invalid operands of types 'const char \[2\]' and 'const char \[3\]' to binary 'operator+' string s = "%" + "0." + to\_string(n) + "f";

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

    Help with While loop logic in Java

    Posted: 03 Apr 2020 09:21 PM PDT

    Hello all,

    I have an old project that was hard for me, and I'm wondering if anyone could give me an idea for how to solve it. This is a program written in Java.

    The specifics of the project aren't important, what I need help in is this logic:

    There's a 2D integer Array (20 rows 10 columns). One of the elements is randomly chosen to be set to the number 1, and all the rest are 0 (when the array is freshly loaded). In this function, you loop through all the elements of array, and call setAdjacent within the loop. This method only changes the elements that touch that first, and only, number 1. The rest stay at 0. The more times you loop through the array, the more numbers become set. This is because every time you call setAdjacent, it puts integers into elements that are next to pre existing integers. So in the second iteration, 1 would be surrounded on 4 sides by new ints greater than 1. And then those ints would be surrounded. And so on...

    setAdjacent returns a Boolean value: TRUE if any of the adjacent elements can be, or will be set to new ints, or FALSE if none of them Can/will be set. It only works if the element has a value already (which is why there had to be at least 1 int in the array to start). It will simply skip the element if it's 0.

    setAdjacent(rowIndex, colIndex) only works on one element at a time. There is no loop in the setAdjacent method.

    Im trying to figure out the logic for a while loop that would loop through this array as many times as it takes for the entire 2D array to be filled with ints, and have no zeros left. The logic would be something like: for all elements in the array, if setAdjacent == TRUE at ANY given element, then perform the setAdjacent method at that element and loop through it again. Is that accurate? I believe the logic is sound, but I'm really struggling with actually writing a while loop that succeeds at doing that.

    Sorry this is long winded, let me know if you guys have any clarification questions.

    TL;DR how to write in Java: for elements in 2D int array, if any element returns true in myMethod, execute myMethod(element) and then loop through the array again until all elements return false in myMethod.

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

    Have no prior experience programming or coding. Want to know where to start. I plan on self teaching the basics and then not sure from there. Would like to hear some advice.

    Posted: 03 Apr 2020 10:51 PM PDT

    I'm not sure where to start(language)... Would like to learn eventually how to develop a social media app like Instagram. Anything helps... would also like to meet people who are also new to this field. Hoping to hear from you guys

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

    [Help] I don't understand APIs, especially in the Java context and it is frustrating the hell out of me.

    Posted: 03 Apr 2020 04:48 PM PDT

    My interpretation of an API is something with endpoints that serve as resources, you can use them with GET, PUT, POST, DELETE, and other REST API verbs.

    Depending on which verb you use with which endpoint and what params, you get some sort of response.

    In the Java SpringBoot context, there are so many output types (ResponseEntity or just String), encoders, decoders, etc etc.

    I look at postman and I see Params, Response Body, the URL etc. Where the hell are the parameters supposed to passed through? The URL string or the request payload? Or both?

    I see Accept and Content in the headers and the only thing that comes to mind is text or json. I don't know what the hell it means besides "metadata for the request".

    If I make a REST API in the Java and I have to call other APIs, then how do I do that? In python there is a requests package but in Java it doesn't seem too straight forward.

    I apologize for all the frustration, I just want to learn this stuff so I know it inside and out. Conceptually it seems simple but it's not.

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

    Recommend me your favorite programming books!

    Posted: 03 Apr 2020 04:22 PM PDT

    Well, I know that I shouldn't ask for a recommendation without giving information about my taste, but the only programming books I've read are Automating The Boring Stuff With Python, Players Guide to C#, and CODE.

    Now that I'm trapped inside, I want to dive into a fun book, but I have no idea which one to pick. I program in Python and C#, and I'm not yet "advanced" in either of them.

    I thought about some Python machine learning, since it's the topic I know nothing about; or maybe C# in Depth, since I heard it's a fun read, and I'm more about fun than useful, right now. Still, recommend me anything you like!

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

    What can I do while completing my CS degree so that when I graduate I will have enough experience to be employable for a software developer job straight away?

    Posted: 03 Apr 2020 04:47 PM PDT

    Well technically it's a "Computing and IT" degree (specialising in software). It's a three year degree and I start in October this year.

    I have a feeling that after I complete the degree, I won't have enough "technical experience" to apply for a software developer job. What can I do while studying, so that I will be employable as soon as (or even before) I graduate?

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

    How Well Should I Know A Programming Language For The Interview?

    Posted: 03 Apr 2020 02:45 PM PDT

    I'm currently learning html/css/js and starting to make apps with those languages. As well, I've previously learned java in school and did a bit of c++ but as of right now, I'm not super fluent with any of the languages above. I'm trying to begin preparing for coding interviews but i'm not sure how fluent I need to be in a language. I'm deciding whether or not I should dive deeper into JS, or to revisit java or c++. My main concern is how much time I need to put in to learning/ relearning the languages. For example, do I just need to know the basics as well as know how to code the general data structures, where I can spend a couple hours on youtube learning or do I need to or should I enroll in a udemy course which has 40+ hours of videos as well as a bunch of practice.

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

    Best way to learn Android Development?

    Posted: 03 Apr 2020 09:06 PM PDT

    I am pretty familiar with Java already. The transition to learning android development has been a bit rough for me. I have tried watching tutorials but don't fully grasp it.

    Just wondering if there are any solid resources out there people recommend?

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

    How do I make a signup/sign in button?

    Posted: 03 Apr 2020 05:11 PM PDT

    You know when you first log onto a website it ask you to sign up or sign in, how do I made one of those?

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

    My lecturer online is not helping me. I have never used a linear programming solver on python. I don't know how to use this. I need help. Please help me.

    Posted: 03 Apr 2020 08:54 PM PDT

    https://imgur.com/a/aphRU73

    I know how to compute the answer by hand. I can code it but it says to use a linear programming solver which I have never used. I don't wha package to use and how to implement it. Please help me someone.

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

    Why is the subset sum problem cannot be solved in polynomial time?

    Posted: 04 Apr 2020 12:35 AM PDT

    I do not know much about NP completeness till now but I heard that this porblem cannot be solved in polynomial time. But I calculated that the Dynamic programming approach to the problem has a comexity O(n*s) where n is the number of elements in the set and s is the sum (provided that the sum and the elements in the set are positive integers).

    So why cannot it be solved in polynomial time?

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

    How to be a pro coder

    Posted: 04 Apr 2020 12:28 AM PDT

    Hey, I just wrote this article about how to be a pro programmer

    Not the actual coding, but the way to learn .

    submitted by /u/NiceGuy-n2
    [link] [comments]

    I want to build a portfolio sharing social media web app. Where should I start?

    Posted: 03 Apr 2020 06:20 PM PDT

    I would like to build a website which would heavily rely on 'social network' elements but is geared towards people being able to share portfolios of artistic work something similar to https://dribbble.com/ for example. I would like there to be a system of a feed of what's 'trending' or what the people you follow have uploaded and have profiles but I don't care about being able to message other users or creating just status updates. I have done some research and been pointed in many different vague directions. from using stuff like WordPress to coding everything in python to building it with react and firebase. I completed a GCSE in computer science where I got taught python, HTML+CSS and JS at a very basic level so I am not a complete beginner when it comes to coding. I would just like to know where I should be focussing my energy in terms of what coding language/framework/platform I should be looking into that could really allow me to build my website?

    (I have also already started creating prototypes within Adobe applications)

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

    In Java why cannot a class instance variable be declared and then initialized in two separate statements?

    Posted: 04 Apr 2020 12:15 AM PDT

    Is there an actual rule or explanation behind this other than that is just how it is done in Java?

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

    Need Help C++

    Posted: 03 Apr 2020 06:12 PM PDT

    I am trying to get this C++ code to print a diamond shape using asterisks. I can't get the bottom half of the diamond to correspond with the top. Any suggestions would be useful. Thanks in advance. Still new to programming so if someone can edit the section that needs to be edited and paste it in the replies. I will greatly appreciate it.

    #include<iostream> #include<cmath> #include<iomanip> using namespace std; int main() { for (int rows = 1; rows <= 5; rows++) { for (int spaces = 5; spaces >= rows + 1; spaces--) cout << " "; for (int stars = 1; stars <= 2 * rows - 1; stars++) cout << "*"; cout << endl; } for (int rows = 1; rows <= 4; rows++) { for (int spaces = 5; spaces >= rows + 1; spaces--) 
    submitted by /u/zzman14
    [link] [comments]

    How to use dependency injection properly with command pattern?

    Posted: 03 Apr 2020 11:40 PM PDT

    I am a bit stuck trying to figure out a proper way to deal with this situation. I have a console application where you input a command, then that command gets mapped to a ICommand implementation which depending on the command itself requires different dependency. For example a ShutdownCommand requires Application as a dependency and a Update command could require like a Game as a dependency. The point is, each Command requires different dependency. And each Command instanced is being mapped by a text input. Like typing /shutdown executes the ShutdownCommand. I thought of using a CommandFactory class that creates and returns and instance of a Command based on the input but how do I resolve each individual command's dependencies? I am 100% I am missing like a simple point. But can't think of it yet.

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

    Help GREATLY apprecitated. Hoping to find a way to record/save/ and send this info weekly (employees hours worked that week)

    Posted: 03 Apr 2020 11:28 PM PDT

    I am unfortunately on partial unemployment now. Each week my boss sends the lady in payroll the info below (I actually copied and pasted from an actual email). The info sent is used for payroll to determine how many hours they pay each employee for and how many hours of unemployment each employee gets.

    Here is what she sent the payroll person last week (as you can tell, it is pretty darn unorganized):

    ----

    Monday 23rd Chris off from 8-12/Everyone regular work day

    Tuesday 22nd – regular work day for everyone

    Wednesday 25th – Rob off / Everyone else regular hours

    Thursday 26th – Rob & Stacy Full Day / Chris worked half day / Rick 8-3

    Friday 27th – Chris & Rob & Stacy Full Day / Rick Off

    ----

    I REALLY want to create something so the info is more organized so there will be less chance of mistakes when it comes to myself and coworkers getting paid for the correct amount of hours. Normally we all work 40 hours a week but we have crazy schedules that change day to day now. Each employee will get unemployment hours paid each week but always different number of hours (if I worked 32 hours, I would get paid 32 hours regular pay and 8 hours unemployment).

    My boss said if I am able to come up with something, they will use it. They would like for it to be on a website. It isn't sensitive data but still obviously wouldn't be up on our website for everyone to see.

    I'd like to learn. Can anyone help me come up with a way to document this info for each employee each week. It would be cool to save the info in case we for some reason need to look up certain weeks info down the road.

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

    I am getting this error in C++.Here it is. I am a beginner.Thank u

    Posted: 03 Apr 2020 11:24 PM PDT

    #include <iostream>

    #include <cstdlib>

    using namespace std;

    int man()

    {int

    cout<<"i am pretty dumb"<< endl;

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

    No comments:

    Post a Comment