• Breaking News

    Sunday, June 7, 2020

    What have you been working on recently? [June 06, 2020] learn programming

    What have you been working on recently? [June 06, 2020] learn programming


    What have you been working on recently? [June 06, 2020]

    Posted: 06 Jun 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]

    Wrote a small program and I feel proud for the first time .

    Posted: 06 Jun 2020 07:59 AM PDT

    Finally , Finally i feel like I've used my programming skills for good (my own personal good) .

    Our homework basically consist of single correct multiple choice questions , i made a programme that takes in my answers from a text file and compares them with actual answers that are stored in another text file .

    This required me to understand fstream ( i know c++ until now) , which i had a lot of confusion in even though it is basically like iostream . Even though checking the answers manually only require about 10 mins and making this program took literally hours ( because i was using vectors and did a very stupid mistake that lead to " vector subscript out of range" ) , i had a lot of fun and gruelling agony and now i feel proud .

    All the other programs I've written till now were basically time pass ( I even named them timepass1, timepass2 ....) , but this seems effort worth put in .

    I took data from text file ,stored it in a vector , and compared values .

    Any tips or any other way i could have tackled this problem ?

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

    Sign up for JetBrains Academy before July 1, 2020 to have FREE access until January 1, 2021 :)

    Posted: 06 Jun 2020 09:24 PM PDT

    If you've never heard of it before, it teaches you how to program interactively through projects and right now it seems to have tracks for Java, Kotlin, and Python.

    It actually seems like a pretty decent resource for beginners.

    Plus after the trial ends, you'll get a 50% discount for a year subscription ($24.90 per month).

    You can definitely go though all 3 of the tracks before it ends so you'll learn everything for free.

    Give it a shot, it's a no-brainer :)

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

    MY first contribution to OSS just got merged i'm MAD HAPPY

    Posted: 06 Jun 2020 06:16 PM PDT

    Here is the link for those who wanna check it out !
    https://github.com/pajaydev/ebay-node-api/pull/106

    From here on out, i wouldn't have to feel embarrassed whenever someone asks me if i had contributed to OSS before lmao.

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

    C++ intermediate/advanced project ideas

    Posted: 06 Jun 2020 07:04 PM PDT

    Hello, hope this is a valid question to ask here
    I'm starting work in a week and will need to work with C++ a good amount. Right now I have a strong understanding of Python/Java and have worked a decent bit with C.

    I want to be able to learn C++ and specifically its differences with C in terms of syntax/language features. I tried reimplementing my networking course projects from C to C++ but the code has been pretty much similar so far.

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

    When should I curry a function?

    Posted: 06 Jun 2020 09:02 PM PDT

    I'm going over functional programming concepts, and now I'm familiarizing myself with the concept of currying. What are cases for taking a function with an arity greater than 1, and break it down into a series of functions that takes in a single argument? For any examples provided, it would be easier to learn with either JavaScript or Python syntax.

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

    Is being a python developer a viable career in 2020?

    Posted: 06 Jun 2020 03:05 PM PDT

    Hello, I am quite new to programming and I am currently learning python and I want to study software engineering in collage but I fear that the market for programmers is becoming over saturated especially python (because its very easy to learn) so I thought I'd get your input on the subjects as i have no experience as a software engineer.

    thank you in advance.

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

    Airplane crashes and Software Team Development

    Posted: 06 Jun 2020 07:34 PM PDT

    Bare with me here. What do these have to do with one another? In a speech at a UK software developer conference in 2016, Nickolas Means describes in great detail the commonality.

    The video is here: https://www.youtube.com/watch?v=099cHWSbAL8 Watch to the end where he brings a long and interesting story of an airliner disaster back into the software development world.

    It caught my eye because I'm both a pilot and a retired software engineer. He speaks a lot of wisdom.

    Enjoy!

    Edit:

    More great talks from Nickolas:

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

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

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

    I wish I'd known some of this wisdom 40 years ago when I started my career. Nickolas Means is my hero.

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

    Start learning Java

    Posted: 06 Jun 2020 08:54 PM PDT

    Learning Java from zero: should I start with plain Java IDE or use frameworks like Spring and Maven etc.?

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

    After learning the basic syntax, what can I do with C?

    Posted: 06 Jun 2020 06:03 PM PDT

    I cannot understand any open source code for C, as it doesn't really look much like the basics I learned from sites like tutorialspoint or freecodecamp. Is there something I'm doing wrong? Is there a step I missed? Thank you.

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

    Why not explain the REASON code goes where it goes?

    Posted: 06 Jun 2020 05:43 PM PDT

    So I'm watching this tutorial about creating a tic tac toe game using CSS and Javascript. He starts on the Javascript logic at 23:00.

    Lots of new stuff I'm learning here. Yay.

    But what I don't get, and this is after watching some 50 hours of videos on this tic tac toe logic...is that NOT ONE person showing these videos explain WHY things go where they go.

    All of these videos are things the presenter has already figured out, but it's never presented from an organic thought pattern sort of way.

    And what I mean is...there will be 30-40 lines of code, 10 constants, 4 functions, and he'll just say, "Now what we want to do is add this" but he'll jump to the middle of the code for some, and not for others, but it's not necessarily the order in how the code is run because there didn't seem to be any reason for how he placed the constants, either.

    Some were added on line 2, then 3. Then he pushed those down and added another one to the first line...etc.

    I don't get the rhyme or reason for the order.

    Now I know some will answer that it depends on how the code runs...BUT WHY DOESN"T ANYONE EVER BRING THAT UP?

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

    Awesome list of programming communities (Discord). Great for beginners.

    Posted: 06 Jun 2020 10:35 PM PDT

    Guide to scrape Reddit

    Posted: 07 Jun 2020 12:32 AM PDT

    Hello,

    For past few days, I've been learning web scraping with Scrapy and Python. I scraped many sites. There are some sites which are very easy to scrape i.e which are based on simple HTML and CSS. I've even scraped sites which have lots of pages and even lazy-loading sites. But all these sites which I've scraped were based on HTML (no JS and no API).

    Now, I want to do something big (not so big) like scraping all the post titles of past 10 days of this sub-Reddit. I tried doing it with the methods I know but it's not happening.

    I think using Reddit API will make my work easy. There is something called Reddit API Wrapper (PRAW) which I don't want to use because I believe in doing conventional way so, if I ever need to scrape other site using its API in future then whatever I'll learn here will be useful there.

    I read some posts on Reddit and watched videos and they were mostly based on PRAW. I also searched how to use API but can't catch enough because it is so confusing and all. But somehow I generated my secret id but I don't know how to include those things in Python code.

    Anyone here who has done things like this help me out or anyone who have some tutorials on how to use Reddit API and things like these, then please share with me here.

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

    Where to go next.

    Posted: 06 Jun 2020 05:00 PM PDT

    Hey guys, i will try to keep this short.

    I´m a newbie, being thinking about learning to code for years, decided to pull the trigger about a 2 months ago after being disappointed with my current carrer. I wasted the first month in "planning mode" with little to none actual studying. Decided to start with CS50 introducting to programming, and i´ve honestly been loving it.

    Current situation is the following:

    • Gonna start CS next year in a local university.
    • I am living with my parents at the moment so i don´t need to work, which means i can fully commit to just studying for the next 6-7 months, but I believe working experience will pay off way more than just studying so i would like to get a job in the field ASAP, doesn´t need to pay good as my objetive right now is get my feet wet.
    • I have absolutly no idea what i would like to do in the future (mobile, web, data science, A.I., etc), nor do i have any projects in mind ATM. AKA: I have no inclinations right now.

    Having these factors taken into account... What do you think is my best course of actions?
    I´ve asked a friend who is a data scientist and he told me to start with web development (in the following order: HTML & CSS > JavaScript > GIT > Client-Server) and to always try to create a few simple projects with everything new i learn.

    What do you guys think? Is it a good enough plan? I guess after going through those i will have a better idea about where to go next, plus it would be "easy" to get a entry-level job of some kind. Other people have told me to go Python (very beginner friendly), while others say C# (Harder to understand, but you will end up with a deeper understanding of programming).

    Thanks in advance!

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

    Probability Distribution 101

    Posted: 07 Jun 2020 12:30 AM PDT

    A probability distribution is a function that describes the likelihood of obtaining the possible values that a random variable can assume. In other words, the values of the variable vary based on the underlying probability distribution. https://youtu.be/wCCK3yn1L9E

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

    Is this semester project reasonable??

    Posted: 06 Jun 2020 06:19 AM PDT

    Posting on here as a last resort, I'm exhausted. Throwaway in case any of my classmates see this, because I'm still wondering if it's only me that's so backward.

    I need to know if this project at my college is reasonable, or if I'm being dramatic.

    Second semester of CS, in a module about software development. We were given a semester-long project to be done in groups of 5. The project is to develop a web application as an information management system for some institution of our choosing.

    Prior to this, we have done absolutely no academic work on the topic of databases, login and authentication, or any kind of web development whatsoever. What we're learning in the module's lectures is only about software design patterns, tiered architecture etc. They expect us to incorporate the things we learn in the middle of the module, into the web application we've been working on since the beginning.

    It might still be fine if we weren't being assessed through the whole thing. But we are.

    Let me just repeat: most of us had absolutely zero experience in this field. We knew nothing about what a web application would involve. There are some of us still setting up localhost in our computers. We were never taught even the basics - not even told "you're gonna need languages such as sql, and php for the backend, and you have to set up a database and figure out roles for the users, and so on"

    Just to give you an idea of our course so far, we'd learned operating systems, processor architecture, object-oriented programming(basically an intro to java), electronics, data structures and algorithms, plus electrical and mathematical modules.

    They expected us to make an entire info management system with only Google to help us.

    And set it up properly with design patterns, classes, and tiered architecture, which we learned about only halfway through.

    Is this reasonable?

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

    Is their anyay I can do the learning scrapy: book without docker

    Posted: 07 Jun 2020 12:07 AM PDT

    Hi guys im trying to learn to program scrapy for a Djano project but I am unable to go through the book as I am on windows 10 and the vagrantfile that comes as a download requires docker has anyone foud anyway around this?

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

    Who to hire to make an Android/iPhone app for you?

    Posted: 07 Jun 2020 12:04 AM PDT

    I have an idea I want to make into an application, I have no idea how to create an app, but would love to know how much it would cost, and who to hire to get it made.

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

    Codility's compiler isn't always right

    Posted: 06 Jun 2020 11:56 PM PDT

    Codility gives me 80% score on performance, but a 100% score to the "optimal" code at codesays, I was skeptical so I used timeit

    Using:

    N: 20825 Length of A: 96089 Number of N+1 in A: 3 

    My code:

    def solution(N, A): max_value = 0 result = [0]*N for a in A: if a <= N: tmp_value = result[a-1] = result[a-1] + 1 if tmp_value > max_value: max_value = tmp_value elif a == N + 1: result = [max_value]*N return result 

    Results:

    Iterations: 1000 My Code: 23.39354669 100% code: 42.44906601 
    submitted by /u/mosaicorange
    [link] [comments]

    Using the Google Docs API to add to the end of a document

    Posted: 06 Jun 2020 11:49 PM PDT

    So I'm trying to make a small desktop application which allows me to enter some text and append it to the end of a Google Doc. I have everything set up(the tokens, the GUI, the code, etc) I just can't understand from reading the documentation how I append to the end of a document(i.e. start a new paragraph everytime).

    This is their page on how to add text to a document using their API. How do I edit my code to always append to the end?

    .setLocation(new Location().setIndex(???)))); 

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

    I want to create a video conferencing app with Android Studio. Where should I start?

    Posted: 06 Jun 2020 10:44 PM PDT

    Hi! I have experience with Java Spring Framework (creating web apis). Now I want to create a video conferencing app on android. I'll mostly be doing this for practice. I need to learn about 2 scenarios:

    1. A thousand users. This won't be a big problem, but I want to know the minimum measures I need to take to cater to thousand users.
    2. Millions of users. Not hundred millions, just a few. That's still a lot. What measures should I take to cater to millions of users?
    submitted by /u/imthecapedbaldy
    [link] [comments]

    How do I feel more like a software engineer then I feel now?

    Posted: 06 Jun 2020 03:06 PM PDT

    I am 22 yrs old. I have completed 2 and a half years of Bachelor's degree on computer science and approximately 1.5 yrs to go. I joined in a firm as an junior software engineer to learn how the pipelines works in this sector.

    However, still i find it difficult to understand how an engineer defines himself as a data scientist , a software developer or a software architect. How do someone selects a path to follow like choosing the Field of Ai or ML or Blockchain? Even if they do so How they make sure to develop themselves to be worthy/ knowledge of that particular sector?

    I find alot of things interesting, but i get confused to choose because everytime i double guess whether that would come handy in my career. This is creating difficulties in my studies too. It feels like every part i am being taught , i am not sure how i can incorporate those in my real life works.

    it would be great help if someone could shed some lights on these issies and guide me through.

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

    2nd Year College Student

    Posted: 06 Jun 2020 06:50 PM PDT

    I am looking for ways to improve my programming skills as I feel they are lacking by a lot. I just don't know any place or any books or any videos to watch. Any suggestions?

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

    Little Lost on git

    Posted: 06 Jun 2020 10:35 PM PDT

    I download a GitHub repository onto my computer, but I'm having trouble using the git commands in the terminal. So, when I type in git branches, it only shows me one branch: master. In the repository from the website, they have multiple branches that lead to the master such as the develop branch linked under master. I want to add the develop branch onto my computer, but every time I do, it seems to create a new branch. I'm new to GitHub so I apologize if what I'm saying is not difficult, but I've been stuck on it for a while. I looked up YouTube videos, but many of them just give you details on creating brand new GitHub repositories with no existing branches.

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

    No comments:

    Post a Comment