• Breaking News

    Monday, August 13, 2018

    Is HackerRank a good way to learn how to program? learn programming

    Is HackerRank a good way to learn how to program? learn programming


    Is HackerRank a good way to learn how to program?

    Posted: 12 Aug 2018 09:45 AM PDT

    I'm aware that HackerRank is generally used by employers to see how skilled a potential employee is. For someone like me who's in high school and coding leisurely (and professionally in the near future), would HackerRank be a good way to learn? It seems like I'd be killing two birds with one stone: learning and strengthening my resume at the same time. What are your thoughts?

    Note about where I am so far: Java is my strength but I am new to the more "advanced" areas like RegEx. I've never used any other language, although I have learned.

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

    Learning without the internet

    Posted: 12 Aug 2018 11:54 PM PDT

    I was asked to put together a few presentations on how incarcerated youth can learn to code while in prison. They will have access to laptops but no internet. My first thought was a custom ubuntu iso with python, free textbooks and a bunch of modules pre-loaded. With man, pydoc, and help(), I would think they could get pretty far. I was also thinking about trying to use GO instead but I am just barely getting familiar with the language. I got a lot of info from this post, but I would love your opinions on programs/pipelines that could work.

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

    I have forgotten how to code, I need someone's guidance getting back on track

    Posted: 12 Aug 2018 01:16 PM PDT

    Sorry this might get long but please bear with me :) Thank you

    Hi, I am a Junior in my CS program, during my early years I was the student that would copy and just get the grade even though the material was interesting, mainly because I would always put it off until the due date, I have always dealt with "debilitating" procrastination. I've failed multiple times between now and my sophomore year, so my basic DS/Algos classes have been completed long ago.

    Now as a Junior I'm struggling to get a foothold as I try to get back into programming. I couldn't code my way out of a paper bag if my life depended on it and it so discouraging.

    I tried to see how far-gone I am and looked up the infamous "FizzBuzz" question to see if I can do it and I think I can.

    FizzBuzz: Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz"

    I didn't do it but I would probably just have a

    for(1-100;i++) { //and then check if(i%5==0 && i%3==0)print fizzbuzz; else if(i%3==0)print fizz; else if(i%5==0)print buzz; } 

    I see all my peers are ahead of me and it is really discouraging. Its gotten to the point where some of my "friends" even poke fun at my lack of programming skills.

    I have recently tried to put together a plan of action:

    • 1.Studying Algos/DS on Coursera because I feel I am EXTREMELY weak in these areas.

    • 2.Leetcode - cant even solve easys not even a brute force solution

    • 3.Read CTCI

    I stick to this everyday I feel like I am getting nowhere, I sit and stare at Leetcode easys without a single clue as to where to begin and when I look at the solution its "Holy shit why couldn't I think of that" moment

    I need advice as to where to begin/what to do, I would like input/criticism/name-calling anything lol.

    I need someone to just flip my car right-side up and pull me back onto the paved road with some kind of similar experience or advice as to what I should do and I'll take care of the dents because I feel very much lost and depressed.

    Thank you, I kind of started ranting so if anything does make sense I can clarify.

    I appreciate your time!!

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

    Best Python learning resources that are up-to-date?

    Posted: 12 Aug 2018 03:26 PM PDT

    I am going to start learning Python for University and want to get a jump start before classes start, anyone care to share their up-to-date resources that they used to learn?

    EDIT: Resources for complete beginnners :)

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

    How do i do this? (Python *VERY* Beginner)

    Posted: 12 Aug 2018 10:57 PM PDT

    This is the task:

    Write a program to read in a sentence and print out just how many i's were dotted and how many t's were crossed.

    Make sure to count:

    • Both upper and lower case t's.
    • Only lower case i's — upper case i's don't have dots!

    Example:

    Line: Talk is cheap. Show me the code.

    1 i's dotted.

    2 t's crossed.

    I wrote:

    line = input('Line: ')

    print (line.count("i") + " i's dotted.")

    print (line.count("t") + " t's dotted.")

    Issue

    It...doesn't work. This error shows: TypeError: unsupported operand type(s) for +: 'int' and 'str'

    How do i do this? I also don't know how to make it recognize both upper and lower case.

    Thanks in Advance, I just started on this.

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

    Learning Graphics Programming

    Posted: 12 Aug 2018 07:09 PM PDT

    Hello everyone, I'm preparing myself for an internship I want at Nvidia the summer after next and am wondering about what would be the correct way to learn graphics programming.

    What they specifically list as a requirement is familiarity with C, C++, OpenGL, and Vulcan (I would also like to dip my feet into DirectX).

    (I'm hoping to apply to something similar to this position.)

    Now, I already have a solid background in C, having completed CS50 and a college-level C course, and I've been making good progress through Bjarne Stroustrup's Programming: Principles and Practice Using C++ (Second Edition) to freshen up (I learned C++ many years ago) on C++.

    The thing I'm most concerned about is learning the graphics APIs. I've done some research and it's not entirely clear to me what would be considered a good starting point.

    The way I would like to learn is by making a small 3D editor (think Blender but with just a hand full of tools) and port it to each API. What sort of math do I need for that? I'll be starting Multi-variable Calculus next week, having completed Calc 1 and 2. The semester after next I'll be taking Linear Algebra.

    Math has always been a strong suit for me, so I'm not concerned about it, but will that be enough of a background to really get my hands dirty with 3D geometry manipulation?

    Also, any good book recommendations would be appreciated, as each of the mainstream books I've considered (such as the OpenGL Superbible) have been quite divisive. Furthermore, the literature on Vulcan seems quite sparse.

    Any advice would be greatly appreciated. Things have been extremely hectic and I'm a bit wired since it's finals week, so I'm sorry if my research wasn't thorough enough to answer this on my own.

    Thank you.

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

    Forgive my lack of knowledge, but is JavaScript considered tacky in programming?

    Posted: 12 Aug 2018 02:37 PM PDT

    I've got a cousin in the software engineer field and a friend of mine who also programs, and they laugh when I mention that I'm learning JavaScript. They say it's not really programming, and that I should learn Python or Java as that's more real programming and not just for web development. Can someone elaborate on this?

    edit: If I were wanting to go into data science or machine learning, would I be better off learning Python or another language?

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

    What steps do I take to create a Wb App with Java and Postgresql? (How do I create a Web App?)

    Posted: 12 Aug 2018 10:38 AM PDT

    Hey im still a noob in the programming world and after learning postgresql I was thinking of creating a Web App with my experience in Java, but I've never made one before so I'm wondering where do I start? What do I need? I heard about all these things like Tomcat and Heroku.

    If Java isn't the right option for a beginner like me, then what would be a better one? I really want to use postgresql but if integration with that is a bit too advanced then I guess I'll pass on that too and get some experience building web apps first in general.

    Anything that you can offer that would give even some sort of direction for me is greatly appreciated.

    submitted by /u/Mr_Perry-Winkle
    [link] [comments]

    What's a good set up for doing machine learning?

    Posted: 12 Aug 2018 11:16 PM PDT

    Hello, I just finished doing research on machine learning and now I'm interested in doing some serious work with it. I used tensorflow for some basic training programs but I want to do bigger projects. I worked a little bit with lung cancer detection and noticed that a of the github readmes say that they used gpus. I was wondering what would be a good set up for doing some pretty hefty projects.

    My current set up is an
    Acer Switch Alpha 12 2 in 1 Laptop/Tablet, 12" Quad HD 2160 x 1440 Touchscreen, Intel Core i7, 8GB Memory, 256GB SSD, Windows 10 Pro

    It has a usb 3.1 port and a buddy of mine said that I can use it for a gpu.

    Thank you in advance.

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

    Is it common for companies to think about i18n (particularly language support) when starting a project?

    Posted: 12 Aug 2018 10:55 PM PDT

    I've worked for a couple startups now from non-native-English countries and they've had English "bare strings" all over their frontend codebase. Therefore if/when they need to set themselves up for multiple language support, it's usually quite a pain to extract and organise the keyword and string pairs.

    It's probably hindsight bias to argue that i18n should have been thought of when starting the project ...

    I have 3 questions therefore if this has happened to you:

    1. How common do you think is this phenomenon?
    2. How have you dealt with it?
    3. What was the approximate $ spent on it on your project?
    submitted by /u/strong-pigeon
    [link] [comments]

    How to learn logic and probelm solving

    Posted: 12 Aug 2018 02:23 PM PDT

    Recently started doing the Project Euler problems and I got stuck to 15 then searched for some tips someone said that it has something to do with Pascal's triangle and that made me think. How was I supposed to know that and how can I know in the future I mean is there any was to think more logical to be able to know that without the use of Google or the answer will just be "practice"?

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

    Any good universities that post their thesis defenses online?

    Posted: 12 Aug 2018 08:32 PM PDT

    I wanted to view a couple PhD thesis defenses on CS to get a better understanding of higher-level computer science. Would any of you guys have some resources in that area?

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

    Complete newbie here.

    Posted: 12 Aug 2018 01:33 PM PDT

    So im starting a bachelor education in IT, without any prior coding knowledge at all.

    However it has always interested me, so now I'm looking for a logical starting point to dug in a bit and learn some basics before the whole show goes off.

    So basically, how to get started with coding, if you know very little about it at the moment.

    I'm going to be doing mainly SQL and Python for the first semester, but I would very much appreciate any good starting books/channels/recommendations and which way you personally found it easiest to learn.

    Thanks a lot in advance!

    Im starting on the sticky right now.

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

    Disabling Page Saving (CTRL+S)

    Posted: 12 Aug 2018 12:04 PM PDT

    On Google Docs, when do accidentally do CTRL+S it doesn't pop open the download page box like it does on many other sites, how could I implement this on my own site?

    (this is not to prevent downloads, it is to prevent accidental saving when typing on a editing page)

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

    HackerEarth or HackerRank for Programming Jobs?

    Posted: 12 Aug 2018 11:45 PM PDT

    Which website should I follow for getting a job in programming? My friends say HackerEarth is better for jobs and HackerRank for practice.

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

    Java Common Library Design - Best Practices?

    Posted: 12 Aug 2018 07:42 PM PDT

    I am wanting to design a common library that many microservices will use (consume).

    The common library will make an API call, map the data to an object and the microservices can call the service to get said data.

    My question is what is a good pattern for calling the API? For instance, a microservice will call a method from the common lib like so:

    Service myService = new Service(); myService.getData() 

    Should the getData method initiate the API call which then maps the data to an object and only gets the data it needs? Or should the common lib itself call the API on construction and the getData method references a map or something that has already been mapped? If that's the case, when would the common lib make another request to get updated data? Or should the microservice make a call to the common lib which makes the request first and then gets the data?

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

    HTML - why does my navbar not appear on the next line?

    Posted: 12 Aug 2018 10:55 PM PDT

    Hello

    I am trying to create a responsive website: when resizing the window, you get the "mobile" view. So a button appears. By pushing on the button you can toggle the navigation bar (make it appear and disappear). This website does this very well: https://blackrockdigital.github.io/startbootstrap-freelancer/

    So I tried replicating this behaviour myself: HTML code, CSS Everything seems ok, yet when pushing the button the navigation bar (Home - Services - Partners - Contact) does not appear on the next line but rather on the same line and everything gets shifted to the left: https://imgur.com/a/8JU2oKT

    Could someone tell me why the navigation bar is not displayed on the next line?

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

    Recommended books/tutorials for intermediate level python

    Posted: 12 Aug 2018 10:52 PM PDT

    I have just completed the EDx Introduction to Computer Science and Programming using Python. What would you recommend me for learning python from here.

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

    Good language and framework for creating an API

    Posted: 12 Aug 2018 03:04 PM PDT

    I'm developing an application and I have the client side ready but I need a backend, I want to build a rest api to interact with the DB, what language/framework should I use.

    I was thinking about using python/Django as I already know python, I also know JS and Java

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

    Python GUI Programming using Tkinter + Pygame - YouTube Playlist

    Posted: 12 Aug 2018 07:25 AM PDT

    I recently did a 30 day challenge in which I sat my ass down daily for 30 minutes and coded something using Tkinter ( a python package )

    I wanted to do an in-depth project and after 30 days I ended up with a beautiful music player. I understand it probably won't be used in real life but this one was for my soul!

    Python Music Player - http://oi67.tinypic.com/i5otbq.jpg

    I also recorded and I taught to teach the concept I learned that day. YouTube playlist - Python GUI Programming using Tkinter + Pygame

    I have already uploaded 26 videos and would be uploading 3 videos every alternate day

    What do you guys think of the videos?

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

    How can I learn procedural and data oriented programming in C as a object-oriented C++ programmer?

    Posted: 12 Aug 2018 10:02 AM PDT

    After spending so much time being really upset with data organization in typical object-oriented design, I looked up design techniques to make my C++ code faster and easier to organize. While there were many different interesting design techniques to make oop more bearable, I stumbled upon a new (or rather very old) design philosophy of data oriented design. Instead of anthropomorphizing my data into objects and trying to fumble them around, I treat them like actual data and use functions to do task, not worrying about "where" I put my "graphics" object. This concept seems to me not only much more efficient but is a direct solution to the unneeded complexity of object oriented programming.

    one problem though. I've been programming using object oriented design my whole programming career!

    Schools and teachers have burned into my mind how to think only in an OO manner and as cool as data oriented design seems I just can't wrap my head around it. Like how could I ever represent an Entity without a class? Many online resources seem to be teaching the exact opposite, how to learn OOP as a procedural programmer. So do any of you know any resources that could almost re-teach me how to think in a procedural way?

    TL;DR - Resources for learning Data oriented Design coming from a strong OO mindset.

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

    CSV Universal Translator

    Posted: 12 Aug 2018 09:52 PM PDT

    Hi All.

    As a personal project, I'm working on making a simple CSV translator to allow CSVs downloaded from google sheets to be accessible across platforms and operating systems.

    One of the current ideas is to use a front-end/multilayer language like JavaScript or Python, but does anyone know enough about the Google Sheets API(s) to convey where to stick in hooks?

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

    Want to create fun/interesting projects for my resume/portfolio. JavaScript or Python a better language for this?

    Posted: 12 Aug 2018 09:46 PM PDT

    I'd like to try making a rogue like or maybe a few other nifty projects that involve gaming or just making an app that can be useful and fun. Is python better for this or JavaScript for a first language?

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

    Questions about versioning and Github.

    Posted: 12 Aug 2018 09:23 PM PDT

    The questions are:

    1. How to define backwards incompatibility in a program

      So I'm making a program in C which let's users press switches to mimic a morse keyer. By default I had the timing of a DIT defined as 80ms. Now I thought of using a command-line arg. to let the user decide the time. So is this feature a minor/mojor change (no core functionality is changed)? What is the rule of thumb here?

      Also previously when the user pressed a DIT switch or DAH switch the program showed ony dots and dashes. Now I have added a functionality which would output the corresponding english character. I think this should be a major change right ?

    2. I read that Github marks releases by tagging the commits. So if I had a version 1.y.z and now the current version is like 2.y`.z`. If I wanted to add a bug fix in the former version how would I do that without losing the latter version.

    submitted by /u/sangar-happy
    [link] [comments]

    No comments:

    Post a Comment