• Breaking News

    Saturday, June 8, 2019

    What have you been working on recently? [June 08, 2019] learn programming

    learn programming

    What have you been working on recently? [June 08, 2019] learn programming


    What have you been working on recently? [June 08, 2019]

    Posted: 08 Jun 2019 09:11 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]

    Starting a Girls Who Code Club at my High School

    Posted: 08 Jun 2019 08:10 AM PDT

    Hey, I'm an 11th grader wanting to start a Girls Who Code program at my school. I am the head of programming at the Computer Science club and also the only girl in the club. I'm interested in starting a club in where girls can explore programming in an encouraging enviroment. How should I go about this? Till now, I only have the computer teacher who is on board with this. Any advice on how I should I go forward with the club would be appreciated :)

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

    New to programming and looking to build a program I'd be interested in to help me learn.

    Posted: 08 Jun 2019 08:36 PM PDT

    Backstory

    I've been a CS student for 2 semesters now and have only dabbled with pseudocode and something called Raptor. I have a basic understanding of a lot of the concepts and am looking to move to Python. I've been watching YouTube videos, going through a Udemy course and am reading The Pragmatic Programmer (seems a bit more advanced than I was expecting but I'm taking my time with it).

    I'm focusing on learning Python but I'm finding myself forgetting a lot along the way. I'd like to make up a project to keep me working and using what I'm learning. I've picked this project below not because it's easy (I'm guessing it won't be) but I manage a subreddit that I really like and I think the community would benefit from a calendar like this.

    This is the program I'm wanting to write

    I want to write a program that monitors a subreddit for any self post that includes [event] (whether it's lower or uppercase) in the title plus, Event Name | Date | Time | in the body of the post. The format of that would be any string less than x characters | YYYY:MM:DD | 00:00 UTC

    If the post includes one without the other or if the format is wrong, remove the post and add a comment that say's what they did wrong (or maybe a general message of all that could have gone wrong)

    When/if the bot receives a post that includes that information, I want it to send a link of the post including the date, time and event name to the modmail of another subreddit. I would like this information formatted in an easy to read format. Something like:

    +

    Event Name | Date | Time

    Event post

    +

    When/if the moderators of that subreddit respond to that with !approve or !deny, I want the information from that post to be added to a specific subreddit sidebar (in a calendar). I would actually like the bot to add the information to a google calendar and then our google calendar be reflected on the sidebar. This should only show posts that were approved.

    If any posts that makes it to the calendar edits the body of their post, notify modmail.


    Questions

    • I'm not entirely sure where to start in regards to what environment to work in. I've been using Jupyter notebooks and I'm guessing I can't write that code there? If not, what's something that worked for you? Does the type of program I'm trying to write make one environment better than another or is mostly just personal choice and they'll all do the same things?

    • I've heard of PRAW before but I'm not entirely sure what it is. Is it a Python library? Reddit API? I'm still learning the different between libraries and APIs at the moment :/

    • How can i take learn from others who have done this before me? I'm guessing I'm not the first person to try to write something like this. If I find someone elses code and it's not commented well, how can I learn from it?

    • What other suggestions do you have?

    Thanks

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

    What can I expect to be able to do after Andrew Ng's machine learning course?

    Posted: 08 Jun 2019 07:25 PM PDT

    I just started the machine learning course on Coursera and it seems pretty good. However, what can I expect to be able to do after completing the course? I'm in high school so I'm just trying to learn a little of everything, and I think it would be cool to have a computer learn how to play games like pong and snake. After I finish Andrew Ng's course would I be able to do this or would I need to learn more?

    Thanks.

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

    My inputs aren't working, can anyone help me figure out how?

    Posted: 08 Jun 2019 10:15 PM PDT

    I've been working on an update to my game 'The Cave' (written with Python 3) and have run into some trouble. The game is completely ignoring every user input except 'What is your name?' I have other input options for weapon selection, attacking, and running. None of those are working. I can't figure out why, even after several searches. It may be tired eyes, so if you wouldn't mind taking a look here and let me know what you think. It's unfinished, but works enough to play with. I'm sure it's something simple, but could really use the help. Thanks.

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

    Is there a youtube/twitch channel purely consisting of a person writing basic to advanced scripts for "fun"?

    Posted: 08 Jun 2019 09:15 PM PDT

    I'm pretty new to programming, and the tutorials are always very dry and most of it I've found will never be applied to my field of work. Furthermore, I find myself forgetting a lot of the basics because I have nowhere to apply them in my own projects.

    Back in the day, I used to learn starcraft/league of legends/etc. by watching other people play the game. I'm wondering if there are channels out there that basically do this with programming. My logic is that this would call on much of the basic knowledge in the given language so that it gives a bit of reinforcement learning.

    Currently focusing on vim/bash/python/matlab with a mechanical engineering background, if that helps.

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

    i want to get Back Into Programming After a 8 month due to a depression and other mental issues

    Posted: 08 Jun 2019 02:15 PM PDT

    Little Story about myself i used to learn & code before a year almost ( front end developer) i made a simple projects (2) but due to issues and losing my hard drive with all my files and codes i stopped .

    now i'm trying to return but it seems like i forgot what i learned before especially js & react and every time I try to return I find myself doubting my every move instead of just executing my plan .

    I'm curious if any here "returned from the dead" and went back to the programming field professionally, and how you managed to structure it? I

    I want to get my shit together but I'm lost. I would appreciate any kind of help or suggestions from you guys.

    should i learn what i forgot again from zero or what ?

    ps : sorry for my bad english

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

    How to deliver python code as a "black box" solution? What is the best practice?

    Posted: 08 Jun 2019 12:28 PM PDT

    Hi All,

    I have a customer who wants a dockerized black box solution for their problem which I can code in python.

    That is all fine, BUT I do not want to give out the source code, just a part of it where I define the API interfaces.

    What is the best way to do this? Are there any known solutions for this problem?

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

    What are some languages that could be useful for the future?

    Posted: 08 Jun 2019 11:37 PM PDT

    So I'm wondering what are some languages that you guys would recommend learning. I had to learn HTML and CSS for tech class, and I found it really interesting and fun to code. So I'm so wondering what are some languages that you guys would recommend for a 13 year old who wants to learn some more languages? Currently looking at C#, but what do you guys think?

    Also sorry for terrible formatting, I'm on mobile

    Thanks!

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

    Video in Spanish explaining how programming in Matlab relates to your girlfriend

    Posted: 08 Jun 2019 11:37 PM PDT

    Here I leave you the YouTube link: https://youtu.be/EttbNEAm5N4

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

    Where to start?

    Posted: 08 Jun 2019 11:02 PM PDT

    Hello everyone.

    I've been planning to start learning to program again after a gap of almost three years. I used to code in Java in high school but then after joining college I somehow strayed away from it. I saw this course on edX - CS50x, which, according to many, is an excellent starting point. I've come across many articles that say C is a better choice for beginners but I'm interested in learning Python. Furthermore, I'm considering to start a career in either data science or video game development after I get the hang of programming. So as a beginner, which programming language should I start with?

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

    What would be one of the best programs to learn for a complex text game?

    Posted: 08 Jun 2019 06:55 PM PDT

    I'm pretty much an absolute beginner. Right now it is my plan to learn Python, but the more I look into it I don't know if that's the best language for a text game.

    Sorry if this breaks the FAQ rule- I did read the FAQ, but I figured that it didn't because I don't think this is technically a 2d/3d game, or a windows app. Out of the two, I'd guess a text game is a 2d game, but maybe that would change the answer?

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

    Planning out projects and other responsibilities?

    Posted: 08 Jun 2019 10:44 AM PDT

    Hey everyone. I'm a college student and I'm on summer break right now. This summer, I am working part time at a gym, helping a lab with work, and I also have a big list of personal projects that I want to do over the summer. I learn best by doing, so doing these projects will help me become more proficient with multiple computer languages. I am looking for some advice on how to plan these out. If you have any methods I could use to plan out my responsibilities, could you share them in the comments please? Since most of these projects involve programming, are there any planning techniques used in the workplace that I might be able to use to plan out my work and set deadlines to make progress? I think this would be helpful because I would learn about how things are planned in the workplace and could help me in the future. Finally, what are some good books about productivity?

    Sorry for asking all of these questions, I just want to plan out all my responsibilities so I don't come out the summer feeling like I wasted it. If this isn't the right place for this post, please direct me to the right subreddit

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

    Frameworks for building desktop applications

    Posted: 08 Jun 2019 10:39 PM PDT

    What is today's modern framework/stack to build desktop applications?

    Cross platform applications that work on MacOS, Linux and Windows

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

    [C#, Unity] When a function has variables passed as parameters, can I grab those variables to use in a different function without passing them?

    Posted: 08 Jun 2019 10:24 PM PDT

    Or maybe a better way to ask this is, can you grab local variables from a function? I'm not entirely sure if parameter variables are the same as local variables but it seems they would be.

    Okay so in my example, both functions are in the same class, and are called at separate times.

    What is the best way to get squareObjectPosition from the first function to work with the second function?

     public GameObject ballObject; public void FunctionOne(GameObject squareObject, Vector3 squareObjectPosition) { squareObjectPosition = new Vector3(4, 0, 4); } private void FunctionTwo(GameObject anotherNewObject) { //this doesn't work because squareObjectPosition is local to FunctionOne() ballObject= squareObjectPosition; } 

    What I've been doing so far is creating a global variable, and assigning the local variable to that. But this seems to get bloated when you are passing a lot of variables.

     public GameObject ballObject; public Vector3 thisScript_SquareObjectPosition; public void FunctionOne(GameObject squareObject, Vector3 squareObjectPosition) { squareObjectPosition = new Vector3(4, 0, 4); thisScript_SquareObjectPosition = squareObjectPosition; } private void FunctionTwo(GameObject anotherNewObject) { ballObject= thisScript_SquareObjectPosition ; } 

    I also thought about using get/set properties for all of the variables in the first function instead of passing them as parameters, but that seems sloppy? Idk.

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

    What's scalability?

    Posted: 08 Jun 2019 10:22 PM PDT

    I sometimes here that some languages are easy to scale than others. What does this mean?

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

    Anyone know how to hide the top navigation bar in visual studios?

    Posted: 08 Jun 2019 12:36 PM PDT

    trying to use it with half my screen and the top navigation bar just goofs it all up...tried going through option in view but no success?

    heres a ss of what i am describing, thank you for any input!

    http://i64.tinypic.com/330cxkw.jpg

    heres a second better picture

    http://i67.tinypic.com/2vv5i0z.jpg

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

    How to gain improvement on figure things out in order to make progress on problem solving?

    Posted: 08 Jun 2019 09:19 PM PDT

    Hi, I think I know why I'm being stuck on making a progress. I feel that my weakness is to be able to figure things out myself. It's not only programming, but could also happen in general that requires this mentality. I will explain what I mean by figure things out.

    I absolutely understand that I need to break down into small problems, ask questions if I need help, etc in order to do problem solving. But these are not the issues.

    The issue is when it comes to figure it out in context is I always have trouble knowing which ones to use this and that after learning basics until somebody solved them. In addition, I also have trouble asking questions to get direct answers. In other words, I ask a question, but not sure if an answer is what I'm looking for or it. Lastly, whenever I do something, I don't know what I'm doing until I look at a solution. This happens in any other careers/hobbies besides programming.

    I understand that most people would have difficulty of understanding what I wrote because I have trouble making a sentence that makes sense (English is my native language, and I know it's a red flag), but basically, my main problem for figure things out involves being self-reliant on others, not knowing what I'm doing, lack common sense.

    I know that practice is a way, but I'm not great at being creative.

    I know this section is /learnprogramming, but I'm not asking for programming help.

    I'm only asking for help to overcome my inefficient habit. It's a MUST no matter what career i'm in.

    Any suggestions would be appreciated.

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

    Where can I read latest scientific papers?

    Posted: 08 Jun 2019 11:13 AM PDT

    Primarily about Computer science and technology in general, I feel like that news articles is not enough for me.

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

    What is the time complexity of regular expressions?

    Posted: 08 Jun 2019 08:15 PM PDT

    For instance suppose you use a regexp in your coding interview and are asked for the runtime complexity - how would you account for the regexp?

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

    (C++)A declared variable is "not declared in this scope", though I declared it.

    Posted: 08 Jun 2019 08:06 PM PDT

    So basically, I'm trying to create a program that creates a JS server from a few files:

     #include <iostream> #include <string> #include <fstream> #include <direct.h> #include <cstdlib> #include <shlobj.h> #include <sstream> #include <tchar.h> #include <cstring> #ifdef UNICODE `typedef std::string String;` #else `typedef std::wstring String;` 
    

    No comments:

    Post a Comment