• Breaking News

    Saturday, May 16, 2020

    What have you been working on recently? [May 16, 2020] learn programming

    What have you been working on recently? [May 16, 2020] learn programming


    What have you been working on recently? [May 16, 2020]

    Posted: 16 May 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]

    Do you need a coding buddy?

    Posted: 16 May 2020 02:08 AM PDT

    Hey folks!

    I'm a software engineer. Recently I got a job at Amazon but couldn't join due to the outbreak, they pushed back my start day 3 months from now. I'd like to spend this time helping people prepare for coding interviews, for free (for fun). If you want a coding buddy, pls, let me know. I can teach you "how to leetcode". I'm not an expert but I'll do my best, and you can help me practice English.

    How it might look:

    - I'll give you a set of problems in a Google.Sheets file (or probably you already have one if you're leetcoding)

    - you'll be solving the problems on public GitHub, we discuss everything in the comments, review the code & meet in zoom once a week for a coding session, where we discuss your solutions in details and I suggest mine and try to identify what exactly you're struggling with

    - let's record them & publish on YouTube so other folks can learn and motive themselves to keep grinding Leetcode

    It's FREE! I'm not trying to sell anything (some people might think that), I'm not sure it'll work out. Seriously. I'm Just trying to keep myself sane during the quarantine :-)

    Let me know if you're interested in such an activity (DM is fine). Especially if you're into algorithms & DS and leetcoding on a regular basis trying to get into FAANG (so you can benefit) and if you're a native English speaker (then I'll be learning from you!).

    If you think it's a bad idea and doesn't make any sense, that's also fine :-) Thanks!

    **UPD**

    Wow, that's getting big! I didn't expect that!

    u/mumupori made a discord server https://discord.gg/PAg4Mxk , join if you want, let's keep in touch :-)

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

    Any useful stuff to listen to during spare time?

    Posted: 16 May 2020 10:47 PM PDT

    Are there good programming-related podcasts or video essays that I could listen in my spare time to stay somewhat immersed in the universe of coding, even when doing something else?

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

    Due to COVID-19, Coursera has made free some of their courses for students. Now you can earn now Coursera Certificates for free on some Courses During the Coronavirus Epidemic.

    Posted: 16 May 2020 04:57 AM PDT

    Here are courses:

    Main Article Link:

    https://medium.com/@exploreroftruth/earn-coursera-certificates-for-free-on-some-programming-courses-during-the-coronavirus-epidemic-e5c468c912b7

    He are some courses:

    1. Getting Started with AWS Machine Learning ( offered by Amazon Web Services)

    2. Machine Learning for Business Professionals (offered by Google Cloud)

    3. C++ For C Programmers, Part A (offered by University of California, Santa Cruz)

    4. Build Your First Android App (Project-Centered Course). Offered by CentraleSupélec

    5. Introduction to Programming with MATLAB

    6. Data Science Math Skills (offered by Duke University)

    7. Cloud Computing Basics (Cloud 101). Offered by "LearnQuest"

    8. Google Cloud Platform Fundamentals for AWS Professionals (offered by Google Cloud)

    Happy Learning!

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

    Java Books

    Posted: 16 May 2020 08:39 PM PDT

    What are good books with problem sets to practice java principle like inheritance and polymorphism?

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

    How do you start programming projects?

    Posted: 16 May 2020 04:33 PM PDT

    Hello! I'm still pretty new to programming, I just finished my internship as a data engineer at a start-up tech company. I've been learning Python (a little bit of C++, HTML/CSS) about 10 months or so. I did not study in Computer Science and it was my first internship in IT.

    I'm trying to develop my skills over this summer, I've been taking a few courses in computer science such as data structures and algorithms, mathematics, machine learning, and so on. And I'm planning to do more projects using Python, but I'm stuck.

    So I've done a few projects such as creating recipe finders (using Tkinter, web recipe API.. etc), pretty simple ones but I enjoyed doing them and want to do more. Sometimes, I start from scratch, but most of the time I start with a starter code in the documentation.

    But I don't know how I should really start. For example, I was looking for a project to start, then I saw something like "music player with Tkinter and Python!", and I thought, that sounds like a fun project. But the problem is, I don't know where to start. When I google it to find more info about it, I just find a full code in GitHub or other tutorials with already written out codes. I do not want to see the code because then I feel like it defeats the purpose of learning.

    How do you start a project? Do you just write from scratch? Or do you start based on someone else's project or a starter code?

    Thanks in advance for any advice and tips!

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

    Take Discrete Mathematics Before or After Learning a Programming Language?

    Posted: 16 May 2020 07:48 PM PDT

    Which way would be more preferable. Should I take Discrete Mathematics before or after learning a programming Language?

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

    Are you supposed to cite the source for an API when you use one?

    Posted: 16 May 2020 09:55 PM PDT

    Using goodreads API and it feels like plagarism to not make some note on my website referencing goodreads. Is this common practice?

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

    Excel Sheet Editing

    Posted: 16 May 2020 10:59 PM PDT

    I work for FedEx as a delivery guy but have recently been doing more computer work for my boss. One problem I think I can solve for them is a particular type of paperwork. My boss gets an excel spreadsheet sent to him which he has to copy into a differently formatted spreadsheet by hand. He can get the digital version of the second spreadsheet, so I want to make a self contained program which can go through the first document and generate the proper documents which he can return to the company. I want to make a program I can just give him over a flash drive or whatever and it will just work. What would be the most direct route to making this type of program and what tools would I need? I have some a reasonable knowledge of programming but have never made my own project like this.

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

    (Biopython) I can't seem to convert a FASTA file to a Uniprot file

    Posted: 16 May 2020 08:23 PM PDT

    I'm trying to get an early start before I take a bioinformatics course next semester, and this is just flooring me.

    Every attempt ends with "uniprot-xml format not supported for writing."

    Any suggestions?

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

    Hello! Recently graduated accountant here! Could you help me find a programming language?

    Posted: 16 May 2020 02:24 PM PDT

    Hi! As the title says, I've just graduated as an Accountant in Argentina (5yearslol), and I had been always the IT guy at my previous jobs, but mainly to common stuff.

    I've never programmed (I've build a pc, fix some virus, install windows, commonly stuff when you are a gamer and always had a computer with me), so, now I would like to know what programming language I should study, because I know it's going to make my life easier.

    Here in Argentina, we have a lot of taxes, and we work non-stop, so, I've automated some stuff in previous jobs to make my life easier.

    I'm also a financial adviser, related to the stock market, that's why I need to learn how to code.

    There is a "basic" course of 18 weeks to learn python, "quant for finances", and I talk with the professor and he said that it's really the best to start with Python, and I could applied it to my Accountancy Studio (Or firm, i really don't know how to translate it, I just do taxes lol). According with the post, 20% is theory, 20% is practice, 60% code test and the teacher will support us to fix errors.

    Then I've found this post: https://www.reddit.com/r/learnprogramming/comments/fw4cyy/accountant_here_new_to_programming_in_general/

    Where a comment says that should be: Python, VBA, and SQL; and I found this:

    https://online-learning.harvard.edu/course/cs50-introduction-computer-science
    https://online-learning.harvard.edu/course/cs50s-computer-science-business-professionals

    And that's why I'm so lost, there is a lot of information in my head right now, so I don't know where to start.

    So please help me, I just want to learn how to be more efficient doing my work, learn how to use:

    • Advance excel
    • Data mining with sql and python
    • Advanced revenue analytics
    • Mathematical optimization
    • Analytical segmentation
    • Visualization (for my graphs)
    • Real time financial models
    • And to study the argentinian stock market

    I had found this post and kinda blew my mind: https://www.originworld.com/2020/03/27/7-data-science-skills-that-will-change-accounting-career/

    What should I do? Please help.. my head hurts..

    Thank you.

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

    @font-face vs linking in html ? What are the benefits to both ?

    Posted: 16 May 2020 08:01 PM PDT

    Just getting into type faces for CSS.

    2 methods to import font types

    Is there ever a reason why you would WANT to use "@font-face" as opposed to just linking in html ?

    Especially if you need several weights of font ? What is the benefit to doing it that way?

    It seems like it is just much more work

    Ex:

    HTML:

    |" <link href="https://fonts.googleapis.com/css2?family=**Roboto:ital,wght@0,400;0,700;1,300**&display=swap" rel="stylesheet"> "|

    VS
    CSS STYLE:

    "@font-face { font-family: 'Roboto'; font-style: italic; font-weight: 300; src: local('Roboto Light Italic'), local('Roboto-LightItalic'), url(https://fonts.gstatic.com/s/roboto/v20/KFOjCnqEu92Fr1Mu51TjASc6CsQ.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

    and then THAT SAME CODE AGAIN AND AGAIN for bold, italic etc.

    Sorry if my formatting sucks to try and demonstrate the code.

    Thank you for your assistance.

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

    async help

    Posted: 16 May 2020 07:46 PM PDT

    let keepGoing = true;

    let callback = () => { keepGoing = false; };

    setTimeout(callback, 1000); // Run callback after 1000ms

    while(keepGoing === true) {

    console.log('This is the song that never ends. Yes, it just goes on and on my friends. Some people started singing it, not knowing what it was, and they'll continue singing it forever just because...`) };

    I can't wrap my head around. Please help me explain this code line by line.

    So my thinking process is that.

    first keepGoing is set to 'true'

    then,

    setTimeOut is called after 1 sec where callback() is called which sets the keepGoing = false

    , and at that same time

    while loop runs.

    But why the hell is the loop infinite?

    once the callback() is invoked the value of keepGoing is set to false. Then no matter how many times the setTimeOut executes, the loop shouldn't run because the the first time callback ran, the keepGoing was set to to 'false'. and we know false === true won't let the loop run.

    But why is the loop infinite???????????? *banging my head*

    Can anyone explain me this, Im slowly losing my mind. I'm going crazy.

    Thank you kindly.

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

    What is the point of the <html> tag?

    Posted: 16 May 2020 09:23 PM PDT

    From my understanding the <html> tag represents the so called root of the html document, but it is not the tag that is being represented on the browser visually, that is the body tag instead. Even if css can affect the html tag, body tag is the one showing the actual visual effect in the browser. Other than having valid html syntax and being able to use the html tag as a parent tag to influence its child tags as well, what is the use of html tag? I just got into web dev, so I might not be too familiar with everything yet.

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

    I’m trying to learn C++, but don’t know what to learn first

    Posted: 16 May 2020 03:10 PM PDT

    I don't know what to learn first, or what to do at all. I've been following a very long basics series on YouTube from 2016 but I'm not sure how much of it I'll actually use. Most of it seems very niche. I don't really have any direction at all right now, help!

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

    Internship or Coding Bootcamp

    Posted: 16 May 2020 03:52 PM PDT

    I tried asking this question in csccareerquestions with no answers so maybe I'll have better luck here (Sorry if I'm not supposed to ask here, lmk a better place). For a lil background, I've been self teaching myself the MERN Stack and I've gotten myself an unpaid internship at a startup. There's a lot of work to do here, and I'm actually getting real tasks. It's not shady or anything, I'm doing this for experience (I still live at home, 18YO). During this internship, I've began to feel like I don't know enough and I'm not ready so I've began looking into a coding bootcamp in order to gain more skills. I've gotten accepted into the bootcamp and I'm not sure if I should stay at the startup for experience or start the bootcamp now. Any thoughts or advice is helpful, thanks!

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

    How can I implement long-polling?

    Posted: 16 May 2020 08:44 PM PDT

    I am currently making an application in python that gets a website's data through HTTP requests every 2 seconds to check if it changed, which I believe is considered short polling. I have just recently found out about long polling and I was wondering how I can implement it to my program to replace normal HTTP requests. If anyone could tell me how I can do this, I would appreciate it.

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

    Free C, Perl, and LISP resources?

    Posted: 16 May 2020 04:55 PM PDT

    I am trying to learn these three topics: C, Perl, and LISP. I can't seem to find any beginner resources to learn this material. If anyone knows of any sources it would greatly be appreciated if you can share the source thank you.

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

    Learning the basics of Python for Finance

    Posted: 16 May 2020 06:25 PM PDT

    Hello all,

    I currently work in commercial banking as an underwriter but will begin a job hunt soon. I ideally would like to work in the equities world as an analyst. I noticed that a lot of the jobs require or prefer someone who has an understanding of python, matlab, or programming in general. I would like to start learning python to add it to my resume as a skill. With this in mind, what would you fine people recommend as a good online course where I can learn python (or more realistic probably, a solid understanding of it) within say a month or two? Preferably something with finance/data analysis in mind and that produces a certification in the end. It doesn't matter if its free or not just so long as it's worth it (and not overly expensive).

    Thanks!

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

    At what skill level should I switch from learning python to a new language? And what language should that be?

    Posted: 16 May 2020 07:56 PM PDT

    Should I learn sql, java, javascript, cpp? I know it depends on what you do in life, but I'm a college freshman and I still don't know what to do with my life

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

    Popup close button not closing the popup

    Posted: 16 May 2020 11:35 PM PDT

    Ive been working on this popup that displays upon the webpage loading. It shows up, but for some reason the close button does not work. I'm a little unexperienced with front end, but Ive been reading up on some tutorials and it seems if you wanna make something close you use the class "close." So I tried that, but to no success.

    Im not sure whats going on, but Id really appreciate some guidance.

    Heres what I have.

    My html/javascript

    <html> <head> <link rel="stylesheet" type="text/css" href="tooltipster.bundle.min.css"/> <link rel="stylesheet" type="text/css" href="tooltipster-sideTip-punk.min.css"/> <link rel="stylesheet" type="text/css" href="style.css"/> <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script> <script type="text/javascript" src="tooltipster.bundle.min.js"></script> <script type="text/javascript" src="src.js"></script> <script> function PopUp(){ document.getElementById('ac-wrapper').style.display="block"; } $(document).ready(function() { $('.tooltip').tooltipster({ theme: 'tooltipster-punk', maxWidth: 270, contentAsHTML: true, trigger: 'custom', triggerOpen: { click: true, tap: true, mouseenter: true }, triggerClose: { click: true, scroll: false, tap: true, mouseleave: true } }); }); </script> <div id="ac-wrapper"> <div id="popup"> <center> <h3> welcome to my website!</h3> <a class="close" href="#">&times;</a> </center> </div> </div> (the rest of my html file) 

    My style file

    .tooltipster-sidetip.tooltipster-punk .tooltipster-box{ border-bottom:5px solid #50E3C2; background:#fff } .tooltipster-sidetip.tooltipster-punk.tooltipster-top .tooltipster-arrow-border{border-top-color:#50E3C2} .tooltipster-sidetip.tooltipster-punk.tooltipster-bottom .tooltipster-arrow-border{border-bottom-color:#fff} .tooltipster-sidetip.tooltipster-punk.tooltipster-left .tooltipster-arrow-border{border-left-color:#fff} .tooltipster-sidetip.tooltipster-punk.tooltipster-right .tooltipster-arrow-border{border-right-color:#fff} .tooltipster-sidetip.tooltipster-punk .tooltipster-content{color:#000;padding:8px 16px; font-family:'Arial';font-size: 18;} #ac-wrapper { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,.6); z-index: 1001; } #popup{ display: "none"; width: 555px; height: 375px; background: #FFFFFF; border: 5px solid #000; border-radius: 25px; -moz-border-radius: 25px; -webkit-border-radius: 25px; box-shadow: #64686e 0px 0px 3px 3px; -moz-box-shadow: #64686e 0px 0px 3px 3px; -webkit-box-shadow: #64686e 0px 0px 3px 3px; position: relative; top: 150px; left: 375px; } 
    submitted by /u/Melanie786
    [link] [comments]

    web development

    Posted: 16 May 2020 11:32 PM PDT

    Is web development easiest and fastest option to land a programming job without a degree? I watched some videos about programming jobs on youtube and they talk about the difficulties of the find a job as a python developer or java developer etc. because of every new graduated pragrammer knows these languages more than self-taught programmers due to cirruculum of universities.On the other hand they dont know so much about web development tools and technologies, so the web development career kind of easier to find a job as a self-taught programmer. Is it really true, or a self taught programmer can land a job in fields like data science,devops engineering or any other software engineering branch as easy and fast as web development if he/she works hard?

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

    How to Login into a Website Using Python?

    Posted: 16 May 2020 03:57 PM PDT

    I'm trying to login into this website https://www.multcloud.com/login using Python. I came across a stackoverflow thread that said Twill was a good way to do this. I tried to do this and I Think I filled out the login form correctly but it's not logging me in.

    I also saw that there was another library called requests that I could use but I have no idea to do with that. I don't really have any experience with programming. Here's my code:

    from twill.commands import * go("https://www.multcloud.com/login") formvalue("1", "signInEmail", "autologin@beiop.com") formvalue("1", "signInPsd", "Abcd1234") showforms() submit() showforms() info() 

    This is the output:

    ==> at https://www.multcloud.com/login Form #2 ## __Name__________________ __Type___ __ID________ __Value__________________ 1 email email signInEmail autologin@beiop.com 2 None password signInPsd Abcd1234 3 None text signInCode None 4 None checkbox rememberPsd on 5 email email signUpEmail None 6 None text signUpUser None 7 None password signUpPsd None 8 None password signUpRePsd None 9 None text signUpCode None 10 email email None None 11 None text forgotCode None Form #2 ## __Name__________________ __Type___ __ID________ __Value__________________ 1 email email signInEmail None 2 None password signInPsd None 3 None text signInCode None 4 None checkbox rememberPsd on 5 email email signUpEmail None 6 None text signUpUser None 7 None password signUpPsd None 8 None password signUpRePsd None 9 None text signUpCode None 10 email email None None 11 None text forgotCode None URL: https://www.multcloud.com/login?email=autologin%40beiop.com HTTP code: 200 Content type: text/html (HTML) Page title: Sign In & Sign Up This page contains 1 form(s) 
    submitted by /u/DaveTheMoose
    [link] [comments]

    Are while loops the way to go if you need to compare every single element in an array?

    Posted: 16 May 2020 07:38 PM PDT

    I tried to solve this problem where you must find the the only non-duplicate element in an array. I first tried this:

    #include <iostream> using namespace std; int main() { int nums[] ={1, 5, 3, 7, 9, 7, 3, 5, 1}; int size = sizeof(nums) / sizeof(*nums); int nonDuplicate; for(int i=0; i<size; i++){ for(int j=1; j<size; j++){ if(nums[i] == nums[j]) exit; else nonDuplicate = nums[i]; } } return 0; } 

    I realize this won't work because the first time around it compares 1 to 5 which are not equal storing 1 in the nonDuplicate variable but it is a duplicate it's just that 1 is at the end.

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

    Quickest way to learn syntax?

    Posted: 16 May 2020 11:12 PM PDT

    I'm learning python through an online course and it feels too slow. I just want an accessible source of info that will feed me syntax which I can then churn/practice through.

    Suggestions?

    Note: I am a very beginner

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

    Repl Coding Challenge- Recursion

    Posted: 16 May 2020 11:06 PM PDT

    The problem gives a positive integer number. The challenge requires one to fill in the method sum so that it adds up all positive integers that make up the number and returns the sum.

    Solution:

    def sum(number)

    counter = 0

    arr = []

    number.times do

    counter+= 1

    arr << counter

    end

    total = arr.inject(:+)

    return total

    end

    puts sum(4)

    puts sum(10)

    Video Walkthrough

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

    No comments:

    Post a Comment