• Breaking News

    Friday, January 4, 2019

    Beginners that want to use CodeCademy or other CodeSites? Read this. learn programming

    Beginners that want to use CodeCademy or other CodeSites? Read this. learn programming


    Beginners that want to use CodeCademy or other CodeSites? Read this.

    Posted: 03 Jan 2019 10:00 AM PST

    I've used CodeCademy for a long time now, i never really felt like i learned something and didn't take my longer than a month to already give up. Until the last time i started with CodeCademy again. I was so motivated to not give up i actually started to understand everything. How? i read everything. Every, Thing.

    If you're fimiliar with this or already do this then this post isn't for you.

    Usually when something gets explained in CodeCademy you already think you understand it and head to the exercise and boom you got the right answer. 'That was easy' you thought. you're nearly halfway the course and start struggling. Suddenly they ask you stuff you never recall learning or might've forgot. Obviously you think it's their fault.

    I just started reading everything CodeCademy had to offer me i really mean everything. I even read the blue marked links linking to some document explaining some type of code i never heard about. When i'm not sure how something works i just look it up on YouTube or W3Schools or anything. shit i even watched a 1 hour video of a teacher explaining functions in some class filmed by a random student. I'm not even halfway the course but i already understand every single thing CodeCademy learned me because i really wanted to know it and not get passed it thinking ill understand it later. because you wont. believe me I've been there several times.

    Hope this post helped you have a nice day.

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

    Is starting my first language at 30 years old too late?

    Posted: 03 Jan 2019 12:42 AM PST

    Hi all,

    I have been studying Python recently in hopes that I will be able to use it for work in the near future. Unfortunately my anxious mind has been wondering if starting my first language at age 30 is going to be difficult. I have heard stories of seniors retaining basic Python syntax and being able to use it in a basic sense but I haven't heard of any stories of people in their 30's just picking it up and being able to apply it practically in their lives.

    Currently, I am subscribed to Codecademy PRO, which I feel gives me a really good understanding of the fundamentals. I've paired my PRO membership with the book "Automate The Boring Stuff With Python". Both start of with the absolute basics and I am feeling good about them. But like I said earlier, there is always that voice in the back of my mind whispering that it's too late.

    Regardless of answers, I am still going to follow through on my resolve to learn it but I would just like to hear other people who were in my position and any successes they have had ! (Not limited to Python, just any success stories would be nice ! )

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

    Can I learn to program effectively while also not being great at math?

    Posted: 04 Jan 2019 12:16 AM PST

    I've gone as far as pre-calc in high school. One Arts degree later, and I'm taking a stab at Python. Can I ever go into programming as a career even without knowing, say, calculus and higher? I've never been excellent at math, but I'm determined to lear how to program.

    Thanks for the insight!

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

    How would I go about writing a script for an iPhone that accesses other apps?

    Posted: 04 Jan 2019 01:14 AM PST

    First off sorry if this is the wrong sub to ask this in, if there is somewhere I might get better advice just let me know.

    Anyway I have very little experience other than a semester of comp sci for engineers in college that dealt with python. I was wondering if it is possible to write a script for an iphone that could access other apps. For example could I write a script that would open a third party app and then click a button within that app?

    If this is possible could anyone point me in the direction of where I could learn how to write such a script. Thanks in advance!

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

    How do I check my AWS server's host key?

    Posted: 04 Jan 2019 01:03 AM PST

    I am using putty to connect to my AWS server's instance and putty gives me a warning about the RSA fingerprint of the host key. How do I check the host key of my instance to make sure I am not spoofed?

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

    DS and algo practice suggestion

    Posted: 04 Jan 2019 12:58 AM PST

    Hi,

    I am trying to learn DS and Algorithms.

    I already got basic understanding and now currently practicing.

    I am not sure in which order I should practice the topics i.e. dfs, graph theory, dp etc.

    Can someone list me a good order which will help me to benefit from my practice well?

    Language: Python

    Site: HackerRank, CodeForces

    Thanks.

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

    Is there a comprehensive resource on the "miscellaneous" of programming?

    Posted: 04 Jan 2019 12:47 AM PST

    I am taking Rob Percival's course on android on udemy and I am supposed to build an instagram clone. To do that i need to set up an AWS server. And when I did that I encountered a barrage of terms I have no clue about (SSH, AMI, RSA etc) and tools I have no idea how to use or WHAT they are to begin with (Parse AMI, AWS, Putty).

    None of those things are "programming related" essentially, but they nonetheless are a requirement if I want to develop and publish apps. Just googling each of these terms when I encounter them seems inefficient. Is there a resource of all these miscellaneous terms and concepts programmers need to know about?

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

    Is there a text editor that can show the output of my HTML immediately?

    Posted: 03 Jan 2019 05:12 PM PST

    I'm designing my first website and have previously worked on small projects of Khan Academy. On KA I can edit my code on the left of my screen and see the output on the right.

    Right now I am just working on Notepad++ and opening the file as a .html file when I want to see how the code turned out. Since I'm making a lot of mistakes and fiddling with small parameters a lot this constant HTML opening is slowing me down.

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

    React 101: Things every beginner should know -- Part 1

    Posted: 04 Jan 2019 12:19 AM PST

    For all the guys who are into react and have just started with it, these practices can be very useful. Let me know of any issues with any of the practices.

    https://contextneutral.com/story/react-101-things-every-beginner-should-know

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

    How to make an app that would allow the user to login through Twitter?

    Posted: 04 Jan 2019 12:17 AM PST

    I want to make an app that would allow users to login through their Twitter account.

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

    Help with MySQL

    Posted: 04 Jan 2019 12:12 AM PST

    I've been programming for a while (college student rn) and I'm making my first foray into web development. I've been trying to develop a fairly simple web app using Node JS; it would involve logging into an account, and each account would have its own data relating to stocks. My plan was to use mysql with express to do this. I have a few questions:

    1) I've used sqlite before and I know the SQL language somewhat, but the data in those is stored in a local file. Does mysql store data in the cloud or on my machine? If it's in my machine, then how will the database work if I'm hosting the website remotely?

    2) To connect Node with the database involves entering a username and password. Right now the only credentials I have with mysql are root@localhost and the password I associated with that account. Do I use this? Or do I create some remote account?

    3) More fundamentally, can someone explain what mysql does, exactly? What makes it different from SQLite? I've heard it can handle login authentication (as I'd use on my website). How do I do that, exactly?

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

    started learning to code. having trouble.

    Posted: 04 Jan 2019 12:00 AM PST

    i started learning to code in python a week back. i'm following a course in udemy. the problem is, i've reached only till functions, and i cant figure out or make sense out of most of the exercises in the course material. and once i look at the answer key, i feel shitty for not being able to figure out even such a simple problem by myself. is this kind of roadblock normal?

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

    What languages use classes as value types?

    Posted: 03 Jan 2019 08:03 PM PST

    Hi guys,

    So, I'm still pretty new to programming, but my understanding is that most languages have classes as a reference type. If I have an object a and then assign the variable b to a then b will just be referencing a. A change I make to b will be reflected if I check with variable a ( as they point to the same object).

    In Swift, however, structs are value types so assigning a variable to an existing struct will create a copy of that struct.

    Is there any language where classes are implemented as value types? Thanks.

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

    Broken by Ruby/Heroku

    Posted: 03 Jan 2019 10:43 PM PST

    So I've been following The Odin Project (or have tried to start on it), but the installation process or the deployment of the first app has completely ripped my sails to shreds. The past few days have been me retrying the tutorial step-by-step to see if I have missed something or made an error; scouring various forums for advice, trying them out, only to be met with another error that ends in a failure to deploy the app. Considering restarting from the VirtualBox setup to start fresh because I have tried most troubleshooting that google has to offering regarding my error logs.

    "git push heroku master" fails no matter what. Deploying an app to Heroku seems like an impossible task.

    Fixing on error lead to another, and after several patterns of errors the one I am facing right now is "Gem::GemNotFoundException" despite gems bundles being installed and whatnot. It's installed fgs...

    TL&DR: Rant. How to fix Gem::GemNotFoundException even though they are installed, and push to heroku?

    Using Ruby 2.5.3, Bundler 2.0.0

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

    How to continue/practice SQL

    Posted: 03 Jan 2019 12:06 PM PST

    Hi All,

    Longtime lurker here and not sure if this is the right place to post but here goes.

    I started this Data Science Path with code academy and just finished the SQL syllabus as part of that path.

    The introduction/syllabus is decent but random in how it bumps the difficulty (In my opinion). Having finished it I feel I am by far not good/efficient at the basics of SQL and I was hoping that maybe some of you have some suggestions as to where or how I could further play around with SQL?

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

    need help resizing section to fit content

    Posted: 03 Jan 2019 10:32 PM PST

    Hey guys I'm working on the very last section of my website. The section was way to tall relative to the content inside of it. The only thing i could think of was adding a fixed height but this just reveals unwanted white space.

    p.s This is the second time I've made this site. I had to restart because I used position: absolute to position everything which created a similar problem with a lot more white space.

    http://jsfiddle.net/o1nk0udp/

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

    How can I go about reverse engineer the program that programs my mouse?

    Posted: 03 Jan 2019 10:31 PM PST

    Okay. Confusing title.

    My mouse came with a program that sets the keybinds and lighting of my mouse. It's a TeckNet Hypertrak.

    Basically, the UI could use a ton of improvements. For one, it doesn't have a desktop icon. You can't switch to it using alt+tab. And Managing configurations is clunky. And minimizing it puts it in the tray (that's the only place it's located).

    Here's a picture of the UI

    The interesting thing about this mouse compared to ones I've used in the past is this one doesn't seem to need the program open for the bindings to stick. When I exit the program there's no background task (perhaps it's running as a service?).

    I believe the first steps to reverse engineer the mouse would be to analyze the data that the program sends to the mouse. But I have no idea how to do this or if it's even possible. My second guess would be I'd have to decompile the program and that's probably not allowed.

    As an aside my preferred language is Java so if it can be done in via that it'd be best, but if not I can probably figure something out.

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

    Need Help Scraping a Paginated Website (With Pictures)

    Posted: 03 Jan 2019 10:06 PM PST

    Alright guys, to preface this I have no prorgramming knowledge whatsoever but here it goes anyway.

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

    I need to scrape approximately 25,000 links , and extract the data within these links to an excel file and organize the data within 4 columns ( each field would have it's respective column). The problem is there is about 100 pages, which carry exactly 25 links in each page. I'm trying to figure out how to automate this scraping process.I've attached a link to better explain what I'm getting at. In each link, I'm only trying to scrape the school name, license type, and degree date.

    FYI: I want the corresponding data ( school name, license type, and degree date) when you click on each doctors name within each page

    Thank You Greatly in Advance !

    https://www.accesskansas.org/ssrv-ksbhada/results.html

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

    Help using python code to receive user data from a form and send it to a php database

    Posted: 03 Jan 2019 09:34 PM PST

    userid = request.form.get("username")

    pwd = request.form.get("password")

    db = db.execute(" INSERT INTO "users" ("id","username","hash") VALUES (NULL,'userid','pwd') ")

    Would this work to receive user data from a form request and store it into a php database.

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

    Lessons I learned the first year after completing a coding bootcamp.

    Posted: 03 Jan 2019 09:09 AM PST

    Hello!

    I graduated from a coding bootcamp about a year ago. I seen many posts here about these programs, with appropriate positives and criticisms. I recently wrote an article for FreeCodeCamp reflecting on some of the lessons that I've learned in my first year as a professional developer, as well as a bunch of resources that have helped me to level up and get to where I am (Full Stack Dev at an early stage startup).

    The resources would take forever to format so if you want to check some of those out (as well as read more about my background), I will include the Medium link at the bottom, but I thought that maybe sharing some of the highlights here would be helpful!

    Lessons Learned

    Business

    • Learn to value yourself properly. Recognize that whether you like it or not, employment is to some degree a business decision, and just like you want to maximize your worth, companies want to get you as cheap as they can. Be confident in what you can and can not deliver, and research what other people in your market are getting paid for similar skill sets.
    • If it is not in your contract, do not expect it to be true. Promises are free to make and expensive to keep.
    • When applying for jobs, put lots of effort into networking as it is what will most likely get your foot in the door. I've tried spamming applications many times and it never got me anywhere.
    • Use the coding challenges you are given as part of an interview process as opportunities to teach yourself something new. This will allow you to develop your skills and become more valuable in the market even if you don't get the job.
    • Learn to love whiteboarding; it's not going away anytime soon. Getting put on the spot is scary, but if you prepare ahead of time you can leverage this as an opportunity to separate yourself from the pack.

    Development

    • Read the docs.
    • Document your work as you go. Seriously, future-you will love you for it.
    • When you have the resources to do so, try and practice test-driven development at some level. By shortening your feedback loop, you will be able to write better code and ship with more confidence.
    • Prototype, prototype, prototype! When you need to learn a new technology, or are testing technologies to see if they solve your problem, don't just read the docs (notice I said JUST, you should definitely read the docs) but also build small prototypes that mimic your use-case. You will be able to find pain-points this way and can make better-informed decisions.
    • Don't re-solve solved problems when you don't have to. StackOverflow is your friend, but please make sure you understand the code and tailor it to what you're trying to accomplish accordingly.
    • Learn how to use Git. You don't need to know every fancy command, but knowing the basics will get you a huge return on your time investment.

    Personal

    • Failure is inevitable, learn to accept that fact and learn from your mistakes. It's very cliche, I know, but that's because it is true. Every time that I've fallen on my face, I have learned something that has proven useful in the future.
    • Keep in touch with your mentors. I'm still in touch with mentors from my days as a pharmacist, even. These relationships are highly rewarding. I would also encourage you to look for opportunities to mentor others. We always learn from teaching and making a positive impact on somebody else is one of life's biggest pleasures.
    • Find some sort of balance in your life. It's super easy to get caught up trying to improve your skills and climb the career ladder as quickly as possible, but it's important to take a step back sometimes and nurture the other areas of your life that make it worth living. Build your relationships, partake in your favorite hobbies, and get some sleep.
    • Exercise. Doctors everywhere give you this advice for a reason. I can promise you it will make you a better person and a better developer.
    • Money isn't everything. I learned this lesson the hard way and that has gotten me to where I am today. This is true of life in general, but also something to consider when you are looking for your perfect job. Perks such as mentorship, remote work, and PTO are worth their weight in gold.

    These are some of the main takeaways, but if you want some resources I've used to improve, there are course (free and paid), podcast, online communitie, book, programming tool, and interview prep recommendations with links in the full article below.

    If this comes off too self-promoty let me know and I'll take the link off :)

    I love this community and use it as a constant source of fuel, so I hope that this is useful to at least one of you out there!

    Lessons I learned the first year after completing a coding bootcamp.

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

    How to contribute to my first open source project?

    Posted: 03 Jan 2019 10:12 AM PST

    I know html,css and basic JavaScript.

    I want to contribute to an open source project but i don't know how.

    I tried to join the fedora project,it was so confusing. I didn't know what to do.

    Please help me to contribute to some beginner friendly open source projects.

    This is where i need guidance.
    Let's say i go to this website and choose a project.https://firstcontributions.github.io/

    let's say i choose this project: https://github.com/freeCodeCamp/freeCodeCamp/issues?q=is%3Aissue+is%3Aopen

    now what should i do? should i fork it? I need a step by step tutorial on how to do it. I did the first tutorial in here: https://github.com/firstcontributions/first-contributions/blob/master/README.mdbut i what should i do next? That's my problem.

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

    As an electronics major student, C is the program to learn given its verstatility and memory management capabilities, however, C is one of the most challenging programming languages and I HATE doing it but I have to endure it. Is there a way I can learn C by doing Python instead?

    Posted: 03 Jan 2019 08:36 PM PST

    My 2 good friends who are great in programming have told me that when you learn a programming language very well, learning other programming languages is a piece of cake. So I took their advice and started taking Python and Matlab courses on my own in the summer before my semester started. Then things started to go downhill....again.

    You see, I failed introduction to engineering programming with C as many as 3 times (but then passed the supplemental the 3rd time around) with a C+ grade. Not great for the 3rd time doing it. So when last semester started, I had to endure Data Structures and Algorithms in C! I was so bad at it that I passed the course with a narrow margin! It wreaked havok on my total grade and I could not do anything about it because of 2 things:

    1. My program is internship-based and if you drop down to a lower course load, they might remove you from the internship path, permanently

    2. My program is project-based, meaning we take things at an accelerated pace and usually with a bigger course-load than rival universities. Oh, and not to mention, these courses are selected by the institution for the semester and you cannot pick and drop courses without major ramifications on your 4 year schedule. You just pay and study. No customizing.

    Because of this, last semester, I had to endure 8 courses (yes, 8 for one semester) because the projects involved were specialized. And guess what, we are only in year 2!

    Anyways, I talked to my prof about my Python learning in the summer and he told me that it's a waste of time. Why? Because Python does not deal with memory allocation and this particular field of C (pointers and memory allocation) is very helpful in the field that I am studying (embedded systems) even though I did not get into my program for it's software part (I wanted more hardware stuff). Later in the program, I will have to do Embedded Software, Operating Systems, and Software Engineering in either C, ARM, or VHDL.

    Now, here's the thing. I do not want to change my program. I want to learn C because it's just what I have to do. There is no way around it. I personally picked Python because it is a great starter to anything else in programming, just not pointers. This is from the advice of my friends.

    Is learning Python a good way to learn programming so that my transition to C is easier, or should I focus on C from now on instead? If the latter, then how should I go about it?

    To further explain my dilemma, reading books on C is not my cup of tea. I prefer something more visual and dynamic. I took a course over the winter break from edx that focused only on memory allocation of C and it's memory visuals fitted me much better than a lecture, a book or your typical youtube video. However, it is very clear that the mainstream resources available for C programming is not as versatile and plenty as Python. I much prefer Python over C also because of it's versatility and flexibility in the job market as of now. In a career fair that I went to, 7/10 companies I saw needed python programming, but only 3/10 needed C. On top of that, around 7/10 companies needed Javascript or C++, which is both not needed in my program and also not my interest. Anyway, I am sick of being so bad in C and wanting help all the time. It's wreaking havok on my time management, my confidence and my grades. I open to trying new stuff.

    Thanks

    submitted by /u/negativevotes-
    [link] [comments]

    Javascript udemy course question

    Posted: 03 Jan 2019 08:34 PM PST

    Hello, so I signed on with a few other students at my college to be a part of a small team that is going to help build a website with my college. Basically, over winter break we were tasked with getting familiar with html, css, javascript, and PHP and mySQL. the professors in charge of the team knew none of us had web development experience and dont expect us to fully know the language by the time we are back, but have a working knowledge ( we are not building the codebase from the groundup but rather using one provided to us by another college that built a similar site recently as we are currently doing) and be able to read and make some changes. I went through FreeCodeCamps HTML course and briefly went through the css section, and according to the loose schedule provided to us to learn each language, I started javascript a few days ago. I am currently going through watchandcode and I really enjoy the javascript language and after my break I would really like to delve a bit further into it. Now back to my question, I was looking around and I found these two courses on udemy that look very interesting:

    Colt Steeles Web Dev course

    and

    Jonas Schmedtmann's Complete JavaScript Course 2018

    from my research I have seen some comments about how Colt Steeles course is starting to become outdated and was also just wondering if anyone on this sub had any experience with either course and could perhaps tell me your opinions on them?

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

    Planning a search app, how to store/model data?

    Posted: 03 Jan 2019 08:27 PM PST

    I want to create an app that will allow a user to search books, articles, and video/audio transcripts related to a certain subject(s). I was going to start off with just video/audio transcripts and storing them in some type of database.

    What type of database would be best. I've read that since the transcripts are documents some type of document store database might be best(MongoDB?). And since I want to search them, some other reading material recommended using something like ElasticSearch/Lucene/Solr. Do I need something like MongoDB if I am using ElasticSearch? Would I just store the transcript as a big blob of text, even if its hundreds of words long? What if the transcripts contain time stamps that I would like to display do a user so they can quickly go to the time of the video/audio clip to listen? Should I store them in some type of caption format(https://support.google.com/youtube/answer/2734698?hl=en)? What about the books? Do I store the books themselves in a relational database instead and have separate tables for Table of Contents, Chapters, Pages?

    So many questions! I might try my hand at an ERD, but any help on structuring this data and storing it is appreciated. Thank you so much for any replies.

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

    Web Development - Better Learned In Class or Independently Online?

    Posted: 03 Jan 2019 07:27 PM PST

    I am one semester into an associate's degree in Computer Information Systems. As I get more into the field, I find myself mostly interested in web development. Unfortunately, the degree I'm going for is mainly basic scripting and programming languages (Python, C, Java, etc.). There's another degree for web development which I'm considering switching to, but it requires a ton more classes. With the Information Systems degree, I'd only have 4 or 5 more classes to take but if I switched I'd have 12.

    How feasible is it to learn PHP, ASP.NET, SQL, Ruby, Rails, etc. online by myself? Are these better learned in class with a professor? Would I wind up having to pay for online classes/bootcamps or can I take these all for free?

    I work full time so the quicker route is more appealing to me, but I don't want to have a useless degree. Another factor for me is if I'm going to have to pay for online classes to learn the different languages/frameworks regardless then I might as well learn them at the college I'm already attending.

    Are the basic scripting/programming languages (Python, C, Java) enough to land me an internship/job or should I really set my focus on learning PHP, SQL, etc. if my heart is set on web development? Basically do I need to know all of these at once to even be considered for a job?

    Is a degree in Computer Information Systems crap or will it get my foot in the door?

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

    No comments:

    Post a Comment