• Breaking News

    Saturday, May 4, 2019

    What have you been working on recently? [May 04, 2019] learn programming

    What have you been working on recently? [May 04, 2019] learn programming


    What have you been working on recently? [May 04, 2019]

    Posted: 04 May 2019 09:10 AM PDT

    What have you been working on recently? Feel free to share updates on projects you're working on, brag about any major milestones you've hit, grouse about a challenge you've ran into recently... Any sort of "progress report" is fair game!

    A few requests:

    1. If possible, include a link to your source code when sharing a project update. That way, others can learn from your work!

    2. If you've shared something, try commenting on at least one other update -- ask a question, give feedback, compliment something cool... We encourage discussion!

    3. If you don't consider yourself to be a beginner, include about how many years of experience you have.

    This thread will remained stickied over the weekend. Link to past threads here.

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

    I wrote an article for anyone struggling writing API with database connection on Node

    Posted: 04 May 2019 08:24 AM PDT

    Hi everyone,

    Given I had quiet a lot of problems getting my head around databases on Node.js and the best way to organize my code I thought it would be useful to share with you what I put together, it may be not the best way but I've found pretty good lately.

    I don't cover how to get started with Node otherwise the article would have become a book :)

    The article can be found here

    And the source code here

    I hope this can be useful to you!

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

    How much is python used commercialy?

    Posted: 04 May 2019 11:07 AM PDT

    I have never seen python being used like that, but I have seen java, and the concept of these two seems pretty similar to me. They can both be run on anything but java needs to be compiled, while python runs like scripting language.

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

    How to go from programming fundamentals to solving more difficult problems?

    Posted: 04 May 2019 11:23 AM PDT

    I have been learning JavaScript for a few months now and feel I have a good grasp on fundamentals (how to write and use loops, arrays, objects, functions). When I go to websites like code wars or do other code challenges, I feel like I don't even know where to start unless it's a super basic problem. I pretty much have to google every single part of the problem and then it seems like I'm not really learning much.

    Same for making actual applications, I have to look up tutorials or guides or it seems impossible (for example making a simple quiz app). How do you go from learning the basics to actually solving problems/making applications?

    Is it helpful to write stuff down maybe while I'm learning?

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

    What is the significance of the number 16777216 in programming/memory?

    Posted: 04 May 2019 09:39 PM PDT

    I used Cheat Engine to peak around some old Game Cube games. One thing I noticed is that for 2 different games, whenever you increase your coin counter by 1, the memory at that address with a "Type" of "4 Bytes" increments by 16777216. So if you have 3 coins, the value at that address is 16777216 x 3 = 503316480, and so on. What is the significance of this number?

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

    Master Degree AI in EUrope? Where and WHy?

    Posted: 04 May 2019 05:35 AM PDT

    Hi guys, I'm at the end of my bachelor's degree in computer science in Italy and I'm looking for a really good master degree in AI in Europe possibly not in UK (cause I can't afford), do u know good Master in english here?

    Thanks for helping me!

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

    Git video course with interactive terminal tasks

    Posted: 04 May 2019 08:22 AM PDT

    We've just finished building a git course which is aimed at beginners. The course has videos and interactive tasks which you do in a real terminal inside the site: https://course.functioncamp.com/course/collaborating/git/intro

    There is a community you can join - we'll be on hand to help anybody with git / coding in general. All feedback welcome!

    Function Camp aims to help people go from complete beginners to coders from start to finish, the git course is one of many we're developing.

    Long term this content won't be free - but redditors who sign up now will keep their access for 6 months after we're fully launched.

    We know how daunting git can be for beginners (it's a beast of a tool!) hopefully this helps some of you!

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

    How can I create models for a game/app

    Posted: 04 May 2019 11:40 PM PDT

    So I'm taking on the challenge of building an iPhone game/app and I've never worked with any kind of designing before, and I would like some help on how I would go about creating a model for an iphone game that would be able to move and have animation to it. Thank you

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

    Web Developer path

    Posted: 04 May 2019 05:09 AM PDT

    So, another post about all the possible paths, a web developer can take. From a front-end developer, to back-end, to the so called "Full-Stack" Web Developer.

    My question is, which is a better option, to specialize in one thing, for example, specialize in back-end, or be someone who can do both, front and back? I know that if you want to know both, takes a lot of hard work and time, but still i know that maybe it's never possible to know all the stuff for both stacks. And i see that a lot of people recommend specializing in one stack, but for some reason that doesn't seem interesting to me, or i just don't know for what to decide, even though i have been learning WebDev for almost 5-6 months.

    What are the actual benefits of focusing on just one stack?? And what are, if there are any, benefits of being able to do both stacks??

    And, can you have a good career if you decide that you want to learn and work on both stacks? Would you be a valuable programmer, if you didn't have that much in depth knowledge, but you still knew how to create a web application from front to back, and had a solid, but not incredible understanding of one stack in particular?

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

    Where can I find BASIC?

    Posted: 04 May 2019 10:51 AM PDT

    Like the title says where could I find/download or use online BASIC(Beginner's All-purpose Symbolic Instruction Code). I haven't been able to find it. Any help would be appreciated!

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

    A couple of questions for someone very, very new to SQL

    Posted: 04 May 2019 07:14 PM PDT

    I see a need to learn and understand the basics of SQL at work and have the following questions:

    • The program we use is PL/SQL Developer. I'm assuming this isn't free, but is there a free alternative that I can download (not trying to pirate) that will allow me to "test" the basics? I'm on a MacBook Pro, if it matters.
    • Is there a sample set of databases I can download to practice on? What I'm trying to get familiar with is how to pull data across multiple tables, so I think it would be helpful to have a sample dataset with which to work.
    • Is Codecademy the best method to learn for someone starting out? My job will never be heavy in coding, I just want to familiarize myself with the basics so I'm not waiting on other areas within the company for relatively simple data requests.

    Thanks in advance!

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

    Is there a resource that walks you through the development of an app?

    Posted: 04 May 2019 09:08 PM PDT

    I'm having a tough time imagining how an app comes together

    Things like connecting different technologies, how to deploy it from it's code form, mostly how to get started.

    Are there any videos that document how a certain app was made that would help me imagine how I'd make my own?

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

    Immutability "with" method?

    Posted: 04 May 2019 08:54 PM PDT

    Hey all,

    I vaguely remember seeing an immutability pattern that used a method called with to return a copy of an object with some properties changed, but I can't for the life of me find anything on that pattern now. I'm thinking it was likely in C# (maybe Unity ECS) or JS but could have been another language entirely too. Google has been woefully unhelpful.

    Anyone know what the heck I'm talking about?

    Cheers

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

    SQL tutorial similar to learncpp?

    Posted: 04 May 2019 10:32 AM PDT

    There are a lot of SQL tutorials online, and I am having trouble finding one that fits. Ideally, I'd like something similar to learncpp.com, such that:

    - No videos (I hate learning from videos)

    - No nonsense, no gamification, no extraneous dialogue / "adult-like" in the old-fashioned sense

    - A total walk-through, starting with setting up an IDE (I'd like a tutorial whereby everything SQL is done locally.)

    Learning SQL has some immediate payoff for me, as I run a small organization where we harness SQL for our website content (in an ASP.NET environment). I am not absolutely new to programming or to computer science. In the 80s, I ran a small BBS, learned some assembly, and so forth. But a lot has changed since then, and I'd like to learn from scratch, like someone from 1984 who jumped in a time machine to 2019 and is trying to learn things anew while simultaneously discovering what happened in the intervening years. So, any tutorial that also includes a bit of history and theory is ideal. I really love learncpp, am half-way through, and once I complete will be happily donating to the author's efforts.

    Thanks in advance!

    (Edit: Books could be a good choice, I realize. I would prefer something online/hypertexed, just for the ease. I have two monitors, and it's great to have a tutorial on one and my work on another.)

    EDIT - Appreciate the suggestions. In honesty, websites with logins, that intentionally prevent me from even looking at the website on the phone, and that resemble "Internet 2019" are no-gos for me. I think the current 2019 incarnation of the Internet is shitty. And I especially want a walk-through, including setting up a local SQL server. I did discover a site called Coffee and Code that seems to fit my bill.

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

    CS Student; Stuck in a Rut

    Posted: 04 May 2019 08:16 PM PDT

    Hello r/learnprogramming!

    I've been studying computer science for around two years now. I've gotten through my introductory classes and have completed some within my focus (Systems Architecture and Networking). I have experience in Java, Scala, Python, C, and assembly. Or, at least I hope I do. That's my problem. I go to a pretty competitive school for the subject, and I think I do well. However I don't feel "confident" in my knowledge. I take class, I do well, I go through the motions and I want a feel competent but I don't know to. It's easy to get Imposter Syndrome in the field, and I've tried to combat it. I guess my question is...

    What should I do?

    Every time I try to get myself on a project, I never know what to make or do and how to find my way. I want to obtain competence in my ability and hopefully be able to contribute back by working on FOSS and helping to teach others. Any input is highly appreciated, I've been mulling this over for a while now. CS gave me an escape to a pretty dead-end situation, and I want to do everything I can to be the best I can be. Thanks again!

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

    Necesito ayuda de programacion movil

    Posted: 04 May 2019 11:52 PM PDT

    Hola, soy nuevo en la programación y me interese sobre una aplicación que se llama melody scanner, para empezar solo quiero editar el texto (ya que la aplicacion esta en ingles) y no tengo idea de como hacerlo, si saben como hacerlo y me ayudan, me harian un gran favor, gracias

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

    App Academy Free online: Anyone progress far in it, how has it been doing it on one's own?

    Posted: 04 May 2019 02:59 PM PDT

    Remember hearing about this not too long ago:

    https://open.appacademy.io/signup/free

    Wondering if anyone here has progressed quite far/finished, and if so, if any feedback on how it was doing it on one's own, be it Free or on their Mentor track or something it seems they have.

    Would be interested to hear.

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

    How to choose a JS

    Posted: 04 May 2019 11:19 PM PDT

    Why would someone choose angular vs react vs any other JS. Is it simply user preference or are certain *.js libraries optimized for certain things?

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

    FINAL YEAR ENGINEERING PROJECT

    Posted: 04 May 2019 10:52 PM PDT

    Hey guys,

    In a month I will be entering the final year of engineering and me along with other two of my classmates as a group are interested in making a project which includes data analytics, machine learning, etc.

    Thus, we are in need of project statements from companies to carry on with this new endeavour.

    Anyone out there who can help us come in contact with such companies? :)

    (Please do DM me)

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

    How do I start this project?

    Posted: 04 May 2019 06:51 PM PDT

    Hey!

    I'm an absolute noob at programming. I've only read a few chapters of Automate the Boring Stuff, so all I'm sure of is that I want to continue learning with Python. My ultimate purpose is learning to program AI.

    In a nutshell, my project consists of taking all of my WhatsApp convos from the last two years (which I haven't deleted) and checking the frequency of periodization (.) in my sentences over time, specifically at the end of each line of text, not within the lines. Obviously I would need to run a program that checks each line I've ever texted and determines whether there's a period at the end or not. It would also need to count and organize the periods based on time and date. How do I do this? What concepts do I need to familiarize myself with? What kind of code is useful for this? How do I extract and manage the files from my phone?

    Sorry if I gave too little information, but I'm just trying to get my feet wet, so if you have any questions, please ask.

    Thanks!

    EDIT: Formatting and phrasing.

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

    Just finished 1st year of Comp Sci degree, almost 5 months until 2nd year starts, what should I study in the meantime?

    Posted: 04 May 2019 06:27 PM PDT

    Title says it all really. I finished my last exam a few days ago. I interviewed recently for a summer internship, it went really well so I'm hopeful, but there aren't many available anywhere near me and if I don't get it I really want to spend my free time between now and next semester improving my knowledge and skills.

    I'm in the UK and at a decent but not big/top university. I feel like I'm doing pretty well compared to my friends, but also feel like I know nothing when I see other first year students post code etc. on here and other sites. My course has modules, so the modules we've done so far are software dev I and II (based in Java), Mathematics, Hardware and OS systems, Systems analysis, and database systems. I did really well in the first 4 I mentioned, but not great on the last 2. I know i'll be doing algorithms and data structures next semester, but don't know for sure what the other 2 modules will be.

    What should I focus on learning between now and then? I've been doing MOOC from University of Helsinki (really good resource imo), currently just getting into the object oriented content content. I sometimes do exercises on codingbat as well, I feel like I'm getting better at these (codingbat) type problems, but I'm nowhere near good enough to start building projects yet.

    Any recommendations for books? Course / tutorials? or anything else I should focus on in the next few months?

    I've read the FAQ btw, I'm just not sure what to focus on learning / practising.

    Thanks in advance!

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

    Not able to assign value to global variable from local scope js

    Posted: 04 May 2019 09:44 PM PDT

    Alright, I am having some problems assigning values from local scope message received from popup.js, and assigning a global var in from that local scope function in the content.js. I will post my code below, and if anyone can help that would be awesome! I have tried wrapping everything inside of the local scope function to get it to work, but then to make the rest of the code run the other functions, I have to continually open popup.html over and over for the script to go through each part. I need to keep the code in the local variable there, but successfully assign the value to the global var. I know that in the content.js is throwing an error at the end, because i'm trying to log the global var before running rest of the code and it says "undefined" every time, so that local function at the top is not assigning the value. Pls help!

    content.js

    chrome.runtime.onMessage.addListener( function(request) { item_name = request.name.toLowerCase(); item_color = request.color.toLowerCase(); item_category = request.category; item_size = request.size; console.log(request.name.toLowerCase()); console.log(request.color.toLowerCase()); console.log(request.category); console.log(request.size); }); var url = window.location.href; var i; var full_name = "John Doe"; var email = "example@email.com"; var phone = "9783254473"; var address = "123 Drive Ln"; var zip_code = "77777"; var city = "The City"; var state = "AL"; var card_num = "4242424242424242"; var card_month = "05"; var card_year = "2019"; var card_cvv = "123"; var item_name; var item_color; var item_category; var item_size; var checkbox = document.querySelectorAll(".icheckbox_minimal")[1]; var checked = document.getElementsByClassName("checked"); console.log(item_category); throw "stop"; 

    popup.js

    const msg = { name: document.getElementById("item_name").value, color: document.getElementById("item_color").value, category: document.getElementById("item_category").value, size: document.getElementById("item_size").value }; chrome.tabs.query({active: true, currentWindow: true}, function(tabs) { chrome.tabs.sendMessage(tabs[0].id, msg, function() { }); }); 

    popup.html

    <p>Item Search Term:</p> <input id="item_name" type="text" placeholder="keyword" /> <p>Item Color:</p> <input id="item_color" type="text" placeholder="keyword" /> <p>Item Category:</p> <select name="category" id="item_category"> <option value="jackets">Jackets</option> <option value="shirts">Shirts</option> <option value="tops_sweaters">Tops/Sweaters</option> <option value="sweatshirts">Sweatshirts</option> <option value="pants">Pants</option> <option value="shorts">Shorts</option> <option value="t-shirts">T-Shirts</option> <option value="hats">Hats</option> <option value="bags">Bags</option> <option value="accessories">Accessories</option> </select> <p>Item Size:</p> <select name="size" id="item_size"> <option value="small">Small</option> <option value="medium">Medium</option> <option value="large">Large</option> <option value="xlarge">XLarge</option> </select> <p>Full Name:</p> <input id="full_name" type="text" /> <button id="save_input">Save</button> <script src="popup.js"></script> 
    submitted by /u/Retaliationist
    [link] [comments]

    what is best framework and language to create an automation software?

    Posted: 04 May 2019 06:04 AM PDT

    Hi,

    I want to make a software for windows and mac that does some automated activities. (example : open browser -> connect gmail -> write content -> send email)

    I don't know if there a framework that helps create softwares of this kind.

    Thank you.

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

    [C#] Mouse scroll wheel input problems

    Posted: 04 May 2019 09:06 PM PDT

    Hi all, having some problems with the Input.GetAxis("Mouse ScrollWheel") thing.

    i have some extending arms and when i click left, it should activate the left arm, and right for the right arm. That works fine and when i scroll up it goes out yet when i scroll down it still goes forward and not backwards. Help?

    using System.Collections; using System.Collections.Generic; using UnityEngine; public class ExtendArmScript : MonoBehaviour { [Header("Right Side")] public Transform rEndPoint; public Transform rHand; public Transform rStartPoint; [Header("Left Side")] public Transform lEndPoint; public Transform lHand; public Transform lStartPoint; public bool left = false; public bool right = false; public GameObject pullHand; // Update is called once per frame void Update() { MouseScrolling(); rHand.position = rEndPoint.position; lHand.position = lEndPoint.position; Vector3 lTemp = lStartPoint.localScale; if (lTemp.z < 0.5f) lTemp.z = 0.5f; if (lTemp.z > 17) lTemp.z = 17; lStartPoint.localScale = lTemp; Vector3 rTemp = rStartPoint.localScale; if (rTemp.z < 0.5f) rTemp.z = 0.5f; if (rTemp.z > 17) rTemp.z = 17; rStartPoint.localScale = rTemp; if (Input.GetKeyDown(KeyCode.Mouse0)) { left = true; right = false; } if (Input.GetKey(KeyCode.Mouse1)) { right = true; left = false; } } void MouseScrolling() { if (left == true) { if (Input.GetAxis("Mouse ScrollWheel") != 0F) lStartPoint.transform.localScale += new Vector3(0, 0, 0.7f); else if (Input.GetAxis("Mouse ScrollWheel") < 0F) lStartPoint.transform.localScale -= new Vector3(0, 0, 0.7F); } if (right == true) { if (Input.GetAxis("Mouse ScrollWheel") != 0F) rStartPoint.transform.localScale += new Vector3(0, 0, 0.7F); else if (Input.GetAxis("Mouse ScrollWheel") < 0F) rStartPoint.transform.localScale -= new Vector3(0, 0, 0.7F); } } } 
    submitted by /u/_CatGang
    [link] [comments]

    How should I code a Sega Genesis Game

    Posted: 04 May 2019 08:43 PM PDT

    Hi,

    I'm a senior computer engineering student. Because of my major, I get a decent exposure to assembly, and my university program is centered around the M68k processor.

    I have an interest in coding a Sega Genesis Game! However, I was wondering, is it better to use an SDK found online and code in C/C++, or dive into the deep end with the M68k programming language.

    Thanks

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

    No comments:

    Post a Comment