• Breaking News

    Saturday, January 5, 2019

    I created a site that makes it easier to discover and watch free tutorials learn programming

    I created a site that makes it easier to discover and watch free tutorials learn programming


    I created a site that makes it easier to discover and watch free tutorials

    Posted: 04 Jan 2019 04:28 AM PST

    Just got my github student developer pack, any cool stuff that I might miss out on?

    Posted: 04 Jan 2019 05:30 PM PST

    I mostly got it for the AWS and digital ocean credits and don't really have use for anyting else(except maybe the free IDEs). What cool stuff should I look into and/or would be useful to a current student that I might potentially miss out on?

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

    What are your essential programming tools?

    Posted: 04 Jan 2019 08:06 PM PST

    First of all, I'm not talking about language-specific tools so much (but you are welcome to list them if you want to) I'm just curious what tools help you programming no matter what you are doing.

    For me, Docker is pretty useful. Git is essential, and Visual Studio Code is pretty cool. I also use VMWare Workstation Pro 15 for running Linux virtual machines for development. I also use Remote Desktop Connection and SSH for accessing remote servers.

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

    Looking for some advice and reassurance

    Posted: 04 Jan 2019 09:51 PM PST

    Hi all,

    I am currently a 4th year at UCSD majoring in Cognitive Science with a Specialization in HCI. I want to be a front-end web developer and have taken up programming and have dedicated my winter break to learning Javascript. I visited many resources such as FCC, TOP, Coding with Mosh and have learned and built a lot however, I wouldn't say I'm the best programmer yet. Recently, I've been quite worried about my future post-grad and if I'll be able to fit the demands of being a front-end web developer with the knowledge I currently have. I guess what I'm looking for is for some advice on how to pursue this field and my dream and for some reassurance for what's ahead. I'm constantly learning and growing but I never seem to think it's enough and I'm really worried I won't find a job with the skills I have. What can I do to help myself and my future from here and how can I grow my programming experience to be hire-able?

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

    Hi folks! It’s here! We are excited to let you know that Scratch 3.0 has launched!

    Posted: 04 Jan 2019 12:06 PM PST

    [Homework] C# challenge

    Posted: 04 Jan 2019 07:22 PM PST

    I have been given a challenge, my task is:

    This code will not compile because the Separate method does not exist. Can you write it? The Separate method should take an integer array and swap the element in that array until it contains the even numbers sorted followed by the odd number sorted. For example an array containing 3, 4, 2, 1, 5 should end up as 2, 4, 1, 3, 5.

    Code given:

    static void Main(string[] args)

    {

    int[] numbers = {3, 4, 2, 1, 5};

    Separate(numbers);

    Console.WriteLine(GetArrayAsString(numbers));

    }

    But the argument isn't passed as a reference type so i'm not sure how I could go about changing it from within the method.

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

    Worried that I'm learning the tooling without really grasping underlying concepts

    Posted: 04 Jan 2019 04:13 PM PST

    I'm a couple months into my first full-time programming job after having been mostly self-taught (total ~1 year off and on learning). I've been able to dive in fairly quickly, closing multiple tickets and even building out a couple full-fledged features.

    Since I'm working with an established/high-quality codebase, most of my work involves looking for code that does something similar to what I want to do - and modifying it as necessary to fit my needs. I've always been comfortable with pattern-recognition and iterating quickly until I get things right, and I think this is the only reason I've been able to stay afloat until now.

    But I'm starting to worry that I'm learning the tooling (i.e. how to do things) without really understanding how something works. Here're a couple examples of what I mean:

    • I can work with Redux/Mobx, but only if I have similar-ish examples to work from. Also, if you were to ask me how Redux/Mobx actually works, I'd be hard-pressed to give an answer beyond a cursory one-liner of what it is ("it's used to manage state" or "everything that can be derived from state should be"). This is true even if I have the flowcharts/cycles in front of me.
    • When setting up a new feature, I recognized that I had to include the new modules in webpack. But it's not like that was intuitive - I just remember being confused as to why my routes weren't working, tinkering with webpack, and voila it worked! I don't know even know what webpack is beyond "it takes all your js files and makes one big one for the browser," which for all I know may not even be accurate.

    There're countless more examples of this, but my general sense is that I can get things to work properly - without really understanding why or how.

    So my question: Is this normal for someone just starting out? If I just keep reading/emulating what I see, will things click eventually? Or should I take concrete steps now to make sure I'm actually understanding what I am doing?

    I try to pause and research completely new things when I run into them (e.g., Immutable.js, Amazon S3, etc.), but the fast-paced nature of our work makes it hard to sit down and fully understand something before having to move on.

    submitted by /u/phillip-price
    [link] [comments]

    How do you test a mobile app with features that cannot be emulated in the computer?

    Posted: 04 Jan 2019 11:53 PM PST

    Apps with messaging, calling, internet etc. How do you test those? What if you need to test a network of devices?

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

    Bunch of books on learning Python are now on sale for $15

    Posted: 04 Jan 2019 12:10 PM PST

    It's all within one bundle and it consists of 22 books in total. They combined worth is $1300 and there are books for beginners and for advanced developers. To not make it longer, see more here

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

    Should I learn C or C++

    Posted: 04 Jan 2019 11:27 PM PST

    I plan on self teaching myself either C or C++, and I am wondering whether it is even worth my time to learn C. I hear C++ is much more practical and it is essentially just a step up to C++. I have learned html and python so far. I plan on pursuing computer engineering as a major.

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

    Second Programming language to learn?

    Posted: 04 Jan 2019 10:53 PM PST

    I've been messing around with python 3 for about 3 months now... I feel pretty solid, and want to continue learning, but I want a second language to learn that will help me build out into other subjects, and strengthen my prior understanding of python. Preferably a well documented language that I can find books, tutorials, and plenty of stack-overflow articles to read up on.

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

    Extracting Time Durations From Strings (Python)

    Posted: 04 Jan 2019 10:48 PM PST

    Hey all,

    First time poster on this sub looking for some guidance on a personal learning project of mine. For some background, I'm trying to teach myself the path of the data scientist and consider myself fairly new to programming in general.

    The project is one that's been done before to some extent, however I'm trying to write most of it myself so I know how it all works. I am attempting to mine the National UFO Reporting Center's report "database" and see if I can scrub the data and produce some kind of predictive models in Python (v3.7).

    So far I've successfully pulled every report via a Scrapy Spider into a json file of about 117,000 raw entries and am moving on to scrubbing the reports. I think I've worked out most of the basic cleanup (standardizing state abbreviations and cities, text dates to UTC date-time format, consolidating UFO shapes) and geocoding for each report. My struggle at the moment is in transforming the event duration text into a uniform time duration (currently using the datetime.timedelta class to output in seconds but I'm open to suggestions). I've been writing a function that uses regular expressions to attempt to pull out hours, minutes, and/or seconds from the text to feed to the timedelta class. However, there is legitimately no enforced structure for this entry field so the strings are all over the place. I can extract quite a bit with my current method, but before I write the upteenth regular expression I figured it would be worth a shot to see if there is a better (or smarter) way?

    Some entry examples to get an idea.

    Any help would be greatly appreciated!

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

    The CS50 challenges are too difficult for me. Any alternate suggestions for someone who's not very clever?

    Posted: 04 Jan 2019 06:17 PM PST

    I've been really trying so hard to do the CS50 course, I've been going at the week one problem set for a few weeks now, and it's just been very, very frustrating. I take notes during the lectures, and I find I can understand them and the reference guides, but when it comes to tackling the problems they set I'm at an absolute loss for what to do. It doesn't feel very productive, like I'm re-watching the videos and just getting endless bugs which I don't understand and it feels like I'm getting nowhere fast. I think I'm either not intelligent enough to do this course, or that this means of learning isn't working well for me, so I would really, really appreciate any suggestions for alternate programs that take you through the concepts of programming at a slower pace that I can keep up with.

    Ideally I would love a course where I can learn something that I need to know in programming, like do while expressions for example, and then have the chance immediately to put it into practice so I can see for myself how it works with a structured example. If anyone could suggest anything that helped them I would be so grateful as I really want to learn. My preferred language would be C#, but I'm open to learning another language like python if the course is clear enough for me to understand. Thank you to anyone who gives me any suggestions.

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

    How to master recursion?

    Posted: 04 Jan 2019 06:13 PM PST

    I just can't seem to get the hang of recursion. When I look at a CodingBat problem (https://codingbat.com/java/Recursion-1) I either immediately get it or I have no idea how to go about it. It seems like there's no middle ground.

    Ones that I can do are like the bunnyEars problems which to me are similar to the Fibonacci/factorial examples that begin almost every recursion lesson.

    Ones that stump me, like parenBit and strDist, are those which I think require you to do recursion on two parts of the given input. Mergesort would be another example. I can look at the solution to these problems and understand it, but can't seem to reach the solution myself.

    If recursion is a muscle you can train, it feels like I only have a 1 pound dumbbell and a 500 pound dumbbell to work with.

    What did you guys do to make recursion completely click?

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

    Does one actually need to tweet about their progress when doing the #100DaysofCode challenge?

    Posted: 04 Jan 2019 05:35 PM PST

    I've been doing the challenge for about a month now as I am definitely making a concerted effort to learning how to code. But I am finding the process of tweeting a little tedious. I often forget or I just don't feel like I have anything to share.

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

    Actual good resources on Elasticsearch with Rails?

    Posted: 04 Jan 2019 05:27 PM PST

    Iv never had as much trouble getting comfortable with a technology as iv had with elasticsearch.

    Iv been working with it for quite a while now and i understand it on some level but i definitely still don't feel comfortable with it.

    I find the docs are awful and every tutorial/blog/whatever gives inconsistent information.

    Any good resources out there, preferably about using it with Rails?

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

    Improving problem solving skills: just practice or building a stronger foundation through books/content?

    Posted: 04 Jan 2019 09:05 PM PST

    Sometimes i feel really dumb with my foresight and lack of intuition when solving some problems. For example, I was trying to write a binary search in python today and choked hard on various parts of the implementation, like knowing what the condition of my while loop should be, how to handle conditions of my target being less than or greater than my middle value, and having high and low values that change throughout the search. I knew the basic premise, especially why the runtime is O(logn) but when actually trying to solve it I ran into some big issues.

    Do i just need to push through and practice deliberately, or are there resources on problem solving and logic I should explore if I'm struggling like this? I'd prefer just grinding but I don't want to be inefficient and learn stupidly either.

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

    Code Blocks error with { }.

    Posted: 04 Jan 2019 08:55 PM PST

    I had this error while doing a lesson on SoloLearn. I used their Code Playground thing and it turned out just fine, but there's an error in CodeBlocks. I would try to look it up but I don't know how.

    Error screenshot.

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

    Creating boxing game sim in Visual Basic. Best to use databases or other method?

    Posted: 04 Jan 2019 08:29 PM PST

    Hello,

    I have decided to start learning VB.net.

    What i would like to achieve is to create a text based sim boxing game. Basically you run your own boxing federation, hire and fire boxers etc.

    What i am pulling out my hair over is just how to do the roster part of the game. Would it be easier to use text files? (to write, read and modify data) or a database? And if databases would be the best option, how do these work exactly? What i mean is if i downloaded and used Microsoft Access to create a database will whoever downloads the game also need Access?

    Any help would be so much appreciated!

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

    C++ books for intermediate programmer

    Posted: 04 Jan 2019 08:28 PM PST

    So my main focus in programming is to program games and the language that I started out with is c++ and I have only gotten to advanced c++ class at my college which went up to pointers and linked lists. I am looking for a c++ book to learn a few things gaming replayed or not during break. Any suggestions?

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

    concatenate tuple in python difficulty on a tutorial.

    Posted: 04 Jan 2019 08:08 PM PST

    Write a function named concatenate_name. The function should take a tuple of strings (firstname, lastname) as its only parameter. The function should concatenate the firstname and lastname with a space in the middle.

    For example:

    concatenate_name(("Bob", "Hanson")) == "Bob Hanson"

    def concatenate_name(firstname, lastname): full_name = firstname + ' ' + lastname return full_name print(concatenate_name('hello', 'world')) #result: hello world #error on tutorial website, but not pycharm #TypeError: not enough arguments for format string 

    so the question or exercise is on top. I don't get what I am doing wrong, the results that come out on pycharm seems like it should be right.

    It gives me an error on website only. Where am I going wrong?

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

    What is/are the most used libraries of these parent languages?

    Posted: 04 Jan 2019 07:41 PM PST

    Hi Redditors,

    I'm sorry but i'm not sure if it's called libraries/frameworks? For example, ReactJS under the parent language JS. And my question might seem misleading or kind of vague, general.

    I'm interested in improve my skillset further in these languages below,

    1. JS (which has also JQuery) - I know ReactJS, NodeJS are stuff that i can learn, which are more advanced from onwards JS.
    2. Android - I did Java Android in school. I know there's Kotlin too.
    3. Python - Relatively new to it other than its syntax.
    4. Java
    5. C# - Maybe like MVC?

    Looking forward to hear from anyone!

    Thank you and cheers!

    EDIT: Title should be 'What is/are the most used/needed(workforce) libraries/frameworks of these parent languages?

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

    Video streaming (Explain it to me like I'm 5)

    Posted: 04 Jan 2019 09:06 AM PST

    Here is what I've been trying to do for the past few days:

    Drone Video Feed ---> UDP ----> Node.js server -----> UDP ------> HTML client video element

    I thought it would be relatively easy to achieve. Man did I not know what I was getting into! Protocols, Transport Containers, Codecs, H.264, MP4, WebRTC, VP8, WebM, HLS, MPEG-DASH... Oh my! Can I just say that when it comes to explaining how a video gets from a raw source to a computer screen, the internet utterly sucks. It sucks even more when the raw source and the computer screen are not tied to the same machine.

    So here's your challenge for today: explain it to me like I'm 5 (but know computer programming). If you could walk me through the steps needed to get my drone's raw H.264 stream (whatever the @$%# that is) coming in through UDP/Datagrams on my Node.js server and send that up to an HTML client to be diplayed in a video element, I would be eternally grateful.

    A few details on what I've done so far and what (I think) I've figured out:

    • I've got my Node.js server setup and am receiving UDP packets (using the dgram module) from the drone. These packets, I am told, contain a raw H.264 video stream.
    • I've figured that I should probably use a transport communication protocol like UDP to send the video from the server, rather than TCP.
    • I've figured that pretty much the only way (I think) to communicate using UDP between a browser and a Node.js server is to use WebRTC's data channels.
    • Using the node-webrtc package I've managed to setup a data channel between my client and the server. I've tested that this works by sending simple string messages.
    • I've learned that HTML video elements are unable to read raw H.264 video streams.

    What I need to figure out and where I hope you can help:

    1. On the server, what do I need to do with the raw H.264 video stream UDP packets before passing them along to the web client using the WebRTC data channel? And here I'm hoping for more than just download library X and do Y... I'm really trying to understand how all this video stuff actually works.
    2. On the client, how do I take the messages coming in through the WebRTC data channel and feed them to my video element?

    Thanks in advance for whatever time you'll invest and providing me with some guidance.

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

    Do you recommend using a mechanical keyboard for coding?

    Posted: 04 Jan 2019 07:22 PM PST

    Those last few months I've been coding a lot, and I started to feel my hands are getting tired faster. One solution I thought, apart from resting more, is using a mechanical keyboard, because from what I read they are better ergonomically.
    For those who uses or used mechanical keyboards, do you recommend them? What your experiences about it?

    submitted by /u/riot-nerf-red-buff
    [link] [comments]

    No comments:

    Post a Comment