• Breaking News

    Monday, July 2, 2018

    What's the process for creating a real world project? learn programming

    What's the process for creating a real world project? learn programming


    What's the process for creating a real world project?

    Posted: 01 Jul 2018 10:19 AM PDT

    TL;DR: I want to build my first web app, what are the steps I should follow?


    Hello everyone!

    I've spent the last year studying on different resources - Free Code Camp, Colt Steele, Wes Bos, ... - and tried to complete most of the projects in these courses. I work as a business consultant and my goal is to create tools to automate tasks for me and my team; if they work I'd be happy to sell them also to other companies / teams in the future :)

    I learned a lot from these courses and I could never complain; however I feel there is still an important gap between them and the real lifecycle of a software / webapp. Whenever I talk with professional developers, they always mention a number of topics (security, analysis, testing, deployment, ...) that none of the courses covered. This scares me a lot, because I do not know how to create a project from scratch.

    Can you suggest books, courses, articles, videos that teach how to actually manage a project?

    Thanks!

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

    CS50's Web Programming with Python and JavaScript is live

    Posted: 01 Jul 2018 10:26 PM PDT

    What are the best free online certificates / courses you can complete that will actually look good to employers?

    Posted: 01 Jul 2018 08:37 PM PDT

    Similar to this r/AskReddit post, but solely technology, IT, CS, etc related.

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

    Developer Quest - A new podcast for beginner coders, detailing my coding journey!

    Posted: 01 Jul 2018 02:28 PM PDT

    Hey!

    I tried posting this earlier, but I made a few tweaks to Episode 1 and figured I'd give this another post. I just wanted to share with everyone at r/learnprogramming a new podcast I'm working on called Developer Quest.

    DQ is going to be a series of short (around 10 minute) podcasts with episodes airing a couple times a week, focusing on my coding journey - starting right at day one. It's going to be my audio-blog/journal as I learn to code, build my first projects, and tackle a whole new skill set.

    I should mention, this might not be a podcast for everyone, as I'm brand new to programming. But I hope a couple people find this and it helps motivate them to either get started or keep going on their own journeys. So, if you want to join me on my quest to change my life and learn to code, here's the link:

    https://anchor.fm/developerquest

    Thanks everyone and take care!

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

    I'm making chess in cand I can't figure out how to properly determine checkmate.

    Posted: 01 Jul 2018 06:59 AM PDT

    I'm storing my chessboard in a 2d array and piece locations in another one. When a king is in check, I can only show moves that will remove check. I'm checking this by checking if any of the squares the king can move to is under attack by another unit. My current problem is that I can't move another unit to block the attacking piece or attack the unit causing check to remove check condition.

    What would be a better way to approach this problem?

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

    Do other people learning also have a tendency to "get lost" often whenever working on anything? What are ways to help minimize this?

    Posted: 01 Jul 2018 03:55 PM PDT

    I'm somewhat proficient in python and also learning C++. I notice this a lot more with C++ but have also seen it in python if what I'm doing is complex enough. I generally start off pretty strong, with a good idea of what I need to do to get what I want done, done. But as soon as I start implementing specific logic or functionality for the units that perform what I need to do, I start losing sight of the forest for the trees. I feel completely lost inside of these methods and spend an embarrassing amount of time dealing with really specific implementation details (like what's the most efficient or readable way to introduce some nesting conditionals, or what is the ideal way to deal with manipulating a specific type and would it be better to do it differently with other types of data). By the time I finish, sometimes I end up with functions that might not even play well with other functions that utilize them because I've changed data or logic in a way that I didn't design for. With C++ and the complexity of the language, it means I have to end up redesigning things I've already designed so that they can work.

    Is this just a newbie thing? Am I just lacking discipline with design and followthrough? Are there any good ways to get over this, besides obviously experience?

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

    What should i do for my first web app?

    Posted: 01 Jul 2018 09:32 PM PDT

    Hey everyone,

    I've been learning Ruby on Rails and would like to start making my own web app soon. Some questions i have are:

    1) Most tutorials i took were for Blogs. I want to make a Survey app but don't have any experience building one. Should I try to make one anyways? Or make something related to what I've learnt?

    2) If i were to continue on and making a survey app. What resources should i use? Clone a code from Github? Watch a tutorial on how to make a survey app?

    What did you do? Please share. Thanks for your help!

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

    How to Prepare for University Interview?

    Posted: 01 Jul 2018 08:57 AM PDT

    Hey guys, I'd appreciate some advice on how to prepare for a university interview - It's incredibly important for me to pretty much ace it. They say there will be some logical and mathematical problems to solve and an interview for the entry exam. Thanks!

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

    [Portfolio] This should be ridiculously simple, but I'm having trouble aligning an image and paragraph side-by-side using Bootstrap 4.

    Posted: 01 Jul 2018 08:45 PM PDT

    Hey guys,

    I'm currently at the final stages of completing my portfolio as an entry level web developer, however, I've ran into a problem: On my about section, I'm trying to align a picture of myself on the left with an "elevator pitch" paragraph on the right.

    For some reason, when I run it via Chrome Browser, the image and paragraph are aligned vertically on top of each other. How can I fix this?

    If you're interested in helping me, check out the GitHub repo here: https://github.com/10asmock/portfolio/

    More specifically, look at my-portfolio.html and my-portfolio.css stored in the css folder.

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

    Image sliders/carousels arrow placement help

    Posted: 02 Jul 2018 12:24 AM PDT

    You know how almost every carousel has nav arrows centered? How can I move the arrows to the bottom left and right corners of the slider?

    Do i need to create class' for the arrows and set them myself?

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

    Flutter Resources

    Posted: 01 Jul 2018 10:39 AM PDT

    I am very new to Flutter and have been looking for a tutorial which explains the basics thoroughly. The nesting is really messing me up and I've just been following other people's code. I want to be able to understand the framework so that I can make my own projects independently.

    If anyone has any resources be it a documentation, book, website, youtube playlist, it would be greatly appreciated!

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

    [C] How to use fseek properly in my records file

    Posted: 02 Jul 2018 12:00 AM PDT

    My code: https://pastebin.com/jX58KnBs

    What the program does is you can enter a name and a score, and it'll write it to a file called students.txt. Then you can display the records by pressing 2, and then you will be prompted for which record or let's say entry you want. For example, if I have [jackie chan 100 ted bundy 50] in my records (i.e. students.txt), and I choose option 2 in the main menu, it prompts me for another integer. If I enter 1, I should get Chan, Jackie 100 and if I enter 2 I should get Bundy, Ted 50. Basically it auto formats for you (which I think I can do..maybe..not sure..).

    Anyways, my problem is that I need to somehow make each record the same size in bytes (I think). Then somehow get the display records to work. But with what I have right now, my fseek just doesn't jump to anywhere meaningful and I have no clue how to do this. If I were to just display all the entries, I am able to do that with my function void display_record(), but if I want a specific record, I'm using void display() and it's failing miserably. Could someone teach me how to do this? My code at least compiles..

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

    Lessons for creating a full web app with Node JS and not just learning syntax

    Posted: 01 Jul 2018 04:12 PM PDT

    I have some decent experience with Ruby on Rails and deploying to Heroku. But I see JS jobs everywhere and I'd like to learn to set up a full project and deploy it using NodeJS (and probably the rest of the MEAN stack since it seems to be popular). My only current issue is trying to find lessons/tutorials for creating a full web app from start to finish like this, I don't want to just code snippets on Codecademy et al. What are some good resources I can use so I can get meaningful experience that I can bring into a job setting (or more realistically, to show I can work with these tools in a job setting)

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

    Writing first static web page with Brackets - where to save the HTML and CSS, and how to make Live Preview update?

    Posted: 01 Jul 2018 11:43 PM PDT

    I'm learning HTML/CSS on FreeCodeCamp and this is my first mini-project.

    I'm using Brackets because I want to use its Live Preview feature.

    The first thing I want to do is copy the code from here so I can work on it in Brackets.

    Question: Where exactly do I save the HTML code, and where exactly do I save the CSS code?

    I tried saving the HTML code as a .html file and the CSS code in a .css file in the same folder. Then I chose "Open Folder" in Brackets. But that didn't work. The CSS wasn't applied.

    And the Live Preview didn't work. I tried deleting a single letter from a word in the middle of a paragraph and the Live Preview didn't update. When I tried to manually update the Live Preview it threw an error saying "Live preview not updating due to syntax error"

    It seems pretty unlikely the code on CodePen has a syntax error.

    What am I missing here? Thanks!

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

    [c++] should a condition to enter a function be tested pre- or post-entrance?

    Posted: 01 Jul 2018 11:35 PM PDT

    Hi there,

    As in the title, say I have a foo that should only run if x = 1. Should I write: (a) if (x == 1) foo; or (b) run foo(); then test if (x == 1) within foo. With (a) this would save some overhead in entering a function, and with (b) this would conceptually encapsulate all things foo-related within foo. I guess this boils down to whether saving the overhead is worth it? If they are all ref type params does this make these savings negligible, therefore rendering (b) ok? Or any other considerations? Thank you for your time.

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

    Learning this stuff with dyslexia

    Posted: 01 Jul 2018 11:02 PM PDT

    This is the first programming language I'm learning. I'm trying to learn Javascript, and I'm reading "eloquent Javascript" and it's being a really frustrating experience. Being dyslexic, this just throws me back into primary school having to learn to write for the first time. And it's not that I don't get the concept, it's just that I can't write it correctly. Like, grammatically if this is even the right word.

    Would you go read a simpler book? Also, how do you memorize some basic functions? Word cards like when I learned French?

    I don't know, I have been working for the past 12 years and maybe I just forgot how to effectively learn.

    Anyways, thanks a lot for any input!

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

    How did you learn how to think like a programmer?

    Posted: 01 Jul 2018 05:02 PM PDT

    Hi,

    I hear a lot of people saying the part after learning the syntax is the most crucial part of learning how to program and this is where you learn "how to think like a programmer".

    Now having learnt the syntax myself in python and trying to breakthrough that next barrier is really hard and confusing as to how to achieve, I completely understand it when people say this is the hardest bit to learn. There's a huge amount of resources available in learning programming languages and the syntax, but I'm struggling to find anything that can help you or give tips on the problems solving part of it.

    So I was just wondering, how did you learn how to "think like a programmer", after learning the syntax of the language that you learnt?

    Any advice would be much appreciated.

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

    Finding a modulus of 1 when a number is multiplied by another.

    Posted: 01 Jul 2018 10:51 PM PDT

    I am using a python program in order to help me make a "hand" generated rsa public and private key, and was having trouble generating the private one. What I have so far is

    e = 1 q = 47*e % 60 n=1 while n > 0: if q == 1: print(q) elif e = e+1: 

    and I keep getting a syntax error. I expect to get a list of numbers that would work with the parameters. Thanks.

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

    Fun way to teach the concept of inheritance to children.

    Posted: 01 Jul 2018 10:49 PM PDT

    Anyone has any suggestions on how to create an interactive way to learn the concept of inheritance for object-oriented programming?

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

    Need Help Crafting Simple Regex Pattern

    Posted: 01 Jul 2018 10:32 PM PDT

    For a string such as "println(isPalindrome))=>true", I want to get rid of "println(" and the corresponding ")" with Javascript .replace() and a regex pattern. I know with "/(println)/" I can get rid of the println but anybody know how I would craft the regex to get the closing brace?

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

    Many files to download, which should i download?

    Posted: 01 Jul 2018 04:33 PM PDT

    So, i'm started taking java course about a week ago. We have a program called eclipse installed in our university labs.

    My instructor uploaded links on blackboard, so students can download eclipse and we can program at house.

    The problem is that he uploaded too many files, I'm confused. Which one of those should i download for the program to work.

    Since images are not allowed here are the files that are available: ( JDK, Eclipse, Netbeans, IntelliJ IDEA, BlueJ, JGRASP, JCreatorLE)

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

    HTTP confusion

    Posted: 01 Jul 2018 10:11 PM PDT

    I am quite new to programming and have been reading this article about how the internet works. In the article, it says (under the "Application Protocols: HTTP and the World Wide Web" heading) that "HTTP is a connectionless text based protocol." Under the same heading it says that "The web browser connects to the web server and sends an HTTP request (via the protocol stack) for the desired web page."

    On this webpage defining 'connectionless,' it says that "The device at one end of the communication transmits data to the other, without first ensuring that the recipient is available and ready to receive the data." Does this not somewhat contradict the second statement from the paragraph above, where a web browser connects to a web server and then sends an HTTP request?

    Could someone please help to clear my confusion? (Sorry for the noob question.)

    Thanks

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

    Do any of you use C professionally on a daily basis?

    Posted: 01 Jul 2018 10:04 PM PDT

    I want to say I am not specifically looking for a job in C. I am just curious about what professional C programmers do. Other than write other languages with it. (That's the extent of my C knowledge) It is what my language (Python) is mostly based on. I also know it is fast.

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

    Best method to filter content based on tags

    Posted: 01 Jul 2018 07:14 AM PDT

    For instance I have a list of data as below;

    ITEM TAGS
    Harry Potter teenager, fiction, fantasy
    A Song of Ice and Fire adult, fiction, fantasy
    etc.

    What is the best method to exclude the adult result if somebody were to search teenager + fiction?

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

    No comments:

    Post a Comment