• Breaking News

    Friday, August 16, 2019

    I think the best way to learn JavaScript promises is building your own implementation! Here's a video tutorial and some coding exercises I put together that can help you do just that. learn programming

    I think the best way to learn JavaScript promises is building your own implementation! Here's a video tutorial and some coding exercises I put together that can help you do just that. learn programming


    I think the best way to learn JavaScript promises is building your own implementation! Here's a video tutorial and some coding exercises I put together that can help you do just that.

    Posted: 15 Aug 2019 04:25 PM PDT

    Hey all! If you've ever struggled with JavaScript promises or are curious about how they work underneath the hood, I suggest you take a shot at building an implementation of one! I've put together a video here which is part of a larger 2 hour class on how to build a JavaScript promise library.

    If you'd like to try out the code exercises by yourself on your own time they are available here as coding tutorials all within the web browser!

    I'll also be hosting the 2 hour class so you can take part it in like the student perspective in the video above. Still trying to figure out what time works best. If you're interested you can PM me or keep an eye on our classes schedule!

    submitted by /u/dan-nolan
    [link] [comments]

    I’m cripplingly stupid, so be ready for some dumb.

    Posted: 15 Aug 2019 05:15 PM PDT

    So, I was learning Python on CodeAcademy after recommendation from a friend, and was going at it for a while in the site. At one point, it shows you a way to record keyboard inputs and uses it to make a madlibs game. I thought "Hey, finally some kind of program instead of raw logic. I'll remake this outside of the app."

    This is where the stupid kicks in. I downloaded Python, and then realized I had no idea what I was doing with it. I then downloaded Notepad++ to type into, and after copying everything from the site into Notepad I was greeted with nothing. I tried running it, nothing happened. I quadruple checked to make sure it was identical, and still nothing. I tried pasting it into the Python console, nothing happened. CodeAcademy skips a crucial step in explaining input and output, by failing to mention that a language doesn't have an input window and an output window that you can look at like how it's presented in CodeAcademy.

    Where I'm confused is, what's the point of downloading Python? Is that the output window? It accepts inputs, and then kinda outputs, but then the program I wrote that I pasted into the console didn't do anything. Are you supposed to go through a text editor like Notepad++ as the input, and then run it as a Python program to see the output? Did I just run it wrong? How the hell do you guys run your programs?

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

    How can 2 programming languages interact with each other within one project?

    Posted: 15 Aug 2019 05:21 AM PDT

    Hi, /r/learnprogramming! I have been wondering for a while and I decided to ask this here as I couldn't find any satisfying answers on the internet regarding this topic.

    How can 2 programming languages interact with each other within one piece of software. I am not talking about web languages, but, for example, how can a game's engine be written in C and another language make use of that engine in order to program the game's logic.

    Can you implement functions within one language that executes code from another, or how can you go about using 2 languages in the same project?

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

    Beginners guide to using the Gmail API and understanding its documentation

    Posted: 15 Aug 2019 05:40 AM PDT

    I have always had an interest in programming, but when I first learned to use different APIs I understod how powerful it can actually be.

    I know that, for beginners, the documentation of different APIs can look daunting. That's why I created this guide for the Gmail API. The best part is that most Google APIs works the same.

    By trying to help people understand the documentation, I think they might have an easier time migrating to new APIs and creating fun applications and scripts.

    Hope you like it!

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

    Remote devs with kids, how do you stay sharp?

    Posted: 15 Aug 2019 08:30 PM PDT

    As somebody looking to get into freelancing, I'm trying to see how others have approached keeping their work and home life separated, while still keeping your skills honed. Thanks in advance for your input!

    submitted by /u/_the-dark-knight_
    [link] [comments]

    Broke and inexperienced.

    Posted: 15 Aug 2019 08:25 PM PDT

    I'm unable to go back to college because of the status of my debts and I have zero experience in programming.

    Currently I'm living in a city outside of Seattle, but I'm willing to put in the time and work. I just can't get back into college like I would prefer.

    Are there opportunities for me to learn something useful and turn it into a viable career?

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

    How to convert the fractional part of a number to binary?

    Posted: 15 Aug 2019 10:20 PM PDT

    I've searched in several places but all I found were tricks, actually only one, which would be to multiply the fractional part by 2. Could someone help and answer me the real reason behind the multiplication by 2? There is an example on geeksforgeeks in step B

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

    How do you implement the "save as" feature in VB.Net?

    Posted: 15 Aug 2019 09:48 PM PDT

    An application in windows, like notepad, excel, etc. has a button called "save as". You can use that to save the file in the directory/location you want. How can I implement that in my program so that the user can save to his/her desired location in windows. I'm using VB.net

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

    I want to get better at backend development, help me!

    Posted: 15 Aug 2019 04:42 AM PDT

    So, I've been capable of getting by somehow with creating a expressJS backend and getting what I wanted done but I don't feel like I know enough. The past few months I've been extensively learning React, Redux, React-Native and Rust but now that I feel a little bit more confident with my frontend development skillset I feel I know so little when it comes to backend development.

    I want to build production-level applications, that are flexible to changes, secure above most and scalable easily and I believe that my current level of knowledge is not enough. I gave myself a target, to basically polish up and enhance my already existing knowledge and also grab new knowledge.

    To really see that I've grown, while I'm learning on the side I'm going to touch on a big project like a social media website or a project management tool.

    I struggle with imposter syndrome and I almost always feel overwhelmed by the amount of things out there to learn, my lecturers say I'm one of the best students they've met, I get good grades and all but I don't feel like it, which is why I've taken it upon myself to ask you guys for advice and more rather videos, udemy courses or books I could read in order to better myself in terms of backend development. I'd preferably like materials that don't just touch the basics, I want to go beyond that to the advanced level. I've mainly done front and backend in javascript, and I want to stick to it till I feel I've done enough to move on.

    TL:DR; Looking for books, udemy courses or videos I could take up in order to improve my backend development skills with the language being JS.

    Thank you very much for reading and any help is appreciated.

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

    I contacted a company and they privately created API for me to use for a personal CS project

    Posted: 15 Aug 2019 11:50 PM PDT

    Should I briefly mention this on my resume beneath that project in an attempt to brag about my resourcefulness? Or is this unnoteworthy?

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

    I feel like I am learning nothing

    Posted: 15 Aug 2019 11:14 PM PDT

    So at the moment I am learning Django through a Udemy course and I feel so dumb. I feel like I am learning nothing and it's going straight through me. I am able to set up the project, the apps and then templates and static, and views.

    But I feel like a lot of the stuff like models and forms go right through me

    Did/does this happen to you?

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

    How can I run a reddit bot continuously?

    Posted: 15 Aug 2019 11:06 PM PDT

    How can I run a reddit bot continuously? It's three python scripts and a .exe file.

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

    How can I go about learning hacking?

    Posted: 15 Aug 2019 10:40 PM PDT

    I am about to start college as a CS major and have become interested in cyber security, cryptography, and hacking. I realize that there will be classes that cover general aspects of this, but what resources can I use to learn about more specific things such as techniques and processes? Thanks for the help.

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

    Vetting CSS: webdev course; Float property?

    Posted: 15 Aug 2019 06:13 PM PDT

    I'm taking a course and am in the beginning html/css section.They have a big section covering the CSS float property and clear method for creating layouts. I'm a beginner but a quick google tells me floats have long been surpassed by CSS Grid- which is not anywhere in the upcoming curriculum- not even pertaining to responsive development. They briefly cover flexbox. I'm thinking this is a red flag and that the rest of the course may be very irrelevant and outdated? I don't want to waste anymore time or money if so. Opinions appreciated!

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

    Harvard CS50's "valgrind Help50" tool. How to install?

    Posted: 15 Aug 2019 09:20 PM PDT

    I've come across this really intriguing tool developed by someone from Harvard's CS50 class:

    https://github.com/cs50/help50

    It's some kind of text visualizer that simplifies valgrind's UI into something more readable and less intimidating.

    Tried doing "pip install help50" but can't do it.

    I have Windows 10 and Mac OS, but am unsure on how to go about installing it.

    Can anyone help? Unfamiliar with how to install tools like this from github.

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

    PLS Help me make a decision?!?!?!?!

    Posted: 15 Aug 2019 09:19 PM PDT

    Background: Okay, I recently graduated in June from a pretty decent state school in California with a BS in Pure Mathematics. After finishing school I immediately went back home to take a machine learning course at Berkeley. You see I have been taking CS courses during most of my free summers because I can live rent free and take cool classes. I have taken Structures and Interpretations of CP (CS61A), Data Structures (CS61b), Discrete Math and Probability (CS 70), and Intro to Machine Learning (CS 189). I just finished my Machine learning course. Know python the best! some java

    Question: I have some CS experience as you can see but I feel like I have alot of holes because I wouldn't code at all during the actual school year and instead each summer I basically had to relearn how to code for a specific class. I want to get a job as a software dev or data scientist, but I think I am unqualified and dont know enough. I have been considering doing app academy bootcamp or something but not sure if I could just try to learn it myself with my background?

    tldr: have decent coding experience taking lower division CS summer classes at Berkeley and have a BS in Math, should I do a app academy bootcamp if i want to get a job as a software dev or data scientist?

    submitted by /u/1729letmargotout
    [link] [comments]

    Been trying for quite a few years now, can't seem to get it to stick...

    Posted: 15 Aug 2019 08:57 PM PDT

    Pretty much the subject title, but... I'll go into more detail, here!

    I'm 19, now. I've been trying to get into software development since I was about 13 or 14, and I've never been able to get it to stick.

    By that, I mean I've never been able to really retain any of the knowledge that I've been trying to pick up from various courses, tutorials, and even just good ol' tinkering and practice. Whenever I look at a page full of code, my brain seems to just shut down, and it feels like trudging through quicksand just to get to the point where I can understand any of it, let alone apply it to whatever project I'm trying to put together.

    And because of that, my motivation comes crashing. I figure my brain goes 'oogh, this hard, me go play Minecraft', and it ultimately leaves me unmotivated to keep going.
    Despite that, though, I do truly want to become a capital P Programmer. I just hit another one of these funks a month ago, and I'm planning on picking it up again in the morning to give it another try, but... I dunno, I feel like there's some mysterious trick to getting my metaphorical foot in the door, and I'm not sure what that is.

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

    Time Limit Exceeded - should I switch language?

    Posted: 15 Aug 2019 02:57 PM PDT

    I am getting TLE errors in competitive coding sites quite often now and it is very frustrating. I know the solution is more efficient code, but just wondering--will switching from C++ to Python generally help? I heard that python's time constraints are much relaxed in these sites. Is that true?

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

    Has anyone taken this ML online course?

    Posted: 15 Aug 2019 05:09 PM PDT

    Found this one on educative.io: https://www.educative.io/courses/machine-learning-for-software-engineers

    I am a SWE interested in ML application in SWE. I wanted to know more about this course but there are no reviews. Anyone?

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

    C language...should be pretty easy, I'm just a noob.

    Posted: 15 Aug 2019 06:20 AM PDT

    Here is my code...why do I keep getting change is 0.00 when I enter in a value > 0?

     do { float change = get_float("change: "); } while (change < 0); printf("change is %.2f \n", change); { printf("change is %.2f \n", change); } 
    submitted by /u/R1ckJamesBitch
    [link] [comments]

    What are the best resources to learn mobile app development?

    Posted: 15 Aug 2019 02:28 PM PDT

    I'm trying to learn mobile app development. I'm thinking about learning Flutter, since it allows for building both iOS and Android apps natively. Are there other softwares or development kits that are better and are more commonly used.

    Is Flutter being professionally used in the development world?

    Any resources would be appreciated!

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

    Where to start with automating 3rd party windows applications (COM and .NET Interop)

    Posted: 15 Aug 2019 08:00 PM PDT

    Hey everyone,

    I am very much in need of guidance in my quest. I am very much a beginner in programming and trained civil engineer but am very determined gain the skills to move into DevOps in my field. My ultimate goal at the moment is to create a python based plug in for a program called QGIS where I do much of my pre-processing work. However, I use several windows based applications to do the raw engineering computations. They also have some pre-processing tools but they leave much to be desired.

    Diving into programming with windows has been crazy. I know I am in over my head so I am just asking for some help finding a few places to start so I can figure out what I am trying to accomplish.

    Currently, I am trying to find a way to automate one of these programs. I don't want to mention it just yet because I am not sure if what I am doing is completely legal. Please let me know! It is free but not open source and made by a government agency.

    This program has been rewritten and updated several times over the years so it seems to be slapped together with different windows frameworks. Pretty sure it started out on punch cards. Here is what I do know:

    1. It has a COM API that can be accessed via VBA and even has some documentation for various functions.
    2. Newer parts of the program pointing to separate .EXE and .dll files seem to be written in the .NET framework (not sure how to tell if it is .net core or other versions)
    3. There is a pipe server client (not sure how it works but does seem relevant perhaps for interoperability)
    4. There is a .dll that has API in its name which shares the name of the .EXE that I want to tap
    5. There are also some C#, VB, wraper, win32 primitives and VB power packs .dlls in the install folder as well (conveniently named).
    6. The program is also multi threaded and 64 bit

    I want to be able to tap various functions in the program from the outside so I can eventually get to an automated workflow. I was thinking about making a console program in Visual Studio that could interface with this program and later maybe others and connect that to python. Not sure what the easiest way to go about this is though.

    If anyone could help point me in the right direction I would be very grateful! Please let me know if I need to add more detail. Thanks!

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

    Why do databases have a port number?

    Posted: 15 Aug 2019 07:53 PM PDT

    Is this how program on the server interact with said database? Do the components or libraries that interact with the database use the port number?

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

    API for web development vs API in documentation of class

    Posted: 15 Aug 2019 07:46 PM PDT

    Sorry if the title is not clear. I will try to explain my confusion here.

    As far as I know, API is some code hosted in a server that take request and sends some response back to the client. But when I go through some official documentation of some language, I feel that they are using term 'API' differently then I understood. For example, I was going through documentation of Scaffold class in flutter and it said ' This class provides APIs for showing drawers, snack bars, and bottom sheets. ' . How does concept of API comes here and what is it trying to imply? What is difference between API mentioned here and the API that is used in back end of a website?

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

    No comments:

    Post a Comment