• Breaking News

    Wednesday, January 17, 2018

    How to efficiently build a portfolio on Github? learn programming

    How to efficiently build a portfolio on Github? learn programming


    How to efficiently build a portfolio on Github?

    Posted: 17 Jan 2018 11:18 AM PST

    I am a Computer Engineering student and pretty soon I will have to aggressively apply for internships. On my resume, under the "Projects" section, I have links to two portfolios (although I don't know if I should call it that just yet) that contains all the important projects I have worked on.

    The first link is a link to codepen.io and has all my javaScript/html/css projects that I have worked on my own time outside of school. The second link I have included on my resume is a link to my Github account and I want it to have all my projects I have built using C.

    My Github page does not have any projects yet, but I was wondering what is the most efficient way to build a portfolio on Github? I googled this and it seems there are two options: "start a project" and "add a repository". Before I upload all my C files, I want to make sure I know what I am doing and don't make my Github account look too "newby" or look like shit. Even from researching, I am a little confused on if I should upload my C files using "add a repository" or "create a new project". I don't have actual work experience in programming so it is very important to me that I know exactly how to build a professional portfolio on Github. Any advice or links are appreciated.

    I also have another question: All my javascript/html/CSS code is on codepen.io and I feel like it is redundant to transfer all this code to my Github account. Is it ok if I leave all this code on codepen.io and just put all of my C projects on Github?

    I really appreciate all the advice. This sub is really helpful. Thanks in advanced!

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

    An update on my progress - studying Python with no prior programming experience.

    Posted: 17 Jan 2018 12:15 PM PST

    Here is an update on my progress!

    Here is my first post; I just started self-learning Python with no prior programming experience.

    The first week I was averaging around a chapter a day but Chapter 6 (Functions) got pretty heavy and it's taking about a week to get through a chapter now. The exercises took more than a few minutes but they were manageable.

    Chapter 7 (selection, boolean values, conditional execution) was also fairly heavy and the exercises took even longer. But this is where the culmination of fundamentals really gets put to the test.

    In a previous chapter we had a turtle create a bar graph. In this chapter we had the following exercise:

    Modify the turtle bar chart program from the previous chapter so that the bar for any value of 200 or more is filled with red, values between [100 and 200) are filled yellow, and bars representing values less than 100 are filled green.

    This elementary exercise took me about an hour. I started from scratch and typed out every line, avoiding copying and pasting from previous scripts the learning resource had provided. The book taught us to build in increments and test often so I did that. I added a few lines, tested for errors, then continued building. I also had to refer to the Python Module Index a few times since I wasn't too familiar with how to change the fill color for the turtle module.

    I worked on it for about an hour and took a break when I got really stuck. I had some coffee, talked about the weekend with some friends and came back to my broken script. I spent another hour trying a different approach and fixing errors. I was surprised when I didn't see a bunch of red text in the interpreter and the turtle drew the colored bar graph. I just sat back in my seat and smiled. I did it!

    Thank you for your support as I continue on this exciting journey. I hope your journey is as exciting as mine, or even more!

    The following script was written by me, a person who started learning programming two weeks ago, all from scratch!

    import turtle def drawBar(t, height): fillColor(height) t.begin_fill() t.left(90) t.forward(height) t.write(str(height)) t.right(90) t.forward(40) t.right(90) t.forward(height) t.left(90) t.end_fill() def fillColor(height): if height > 200: c = "red" elif height < 100: c = "green" else: c = "yellow" tess.fillcolor(c) xs = [48, 117, 200, 240, 160, 260, 220] maxheight = max(xs) numbars = len(xs) border = 10 wn= turtle.Screen() wn.setworldcoordinates(0-border, 0-border, numbars*40+border, maxheight+border) wn.bgcolor("lightgreen") tess = turtle.Turtle() tess.color("blue") tess.pensize(3) tess.speed(0) for n in xs: drawBar(tess, n) wn.exitonclick() 
    submitted by /u/coffee-9
    [link] [comments]

    How do I even start learning about Neural Networks?

    Posted: 17 Jan 2018 06:03 AM PST

    And what language is optimal to code in? I'm comfortable with C# but does it do the job?

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

    I finally have a software idea that I'd like to develop. Can someone point me in the right direction?

    Posted: 17 Jan 2018 05:19 AM PST

    I work with an event planning company that uses Filemaker Pro to manage their sales leads as well as closed clients and their event details. I'd like to bring this system online, but they are REALLY married to their current workflow and not willing to change too much in order to make it happen.

    What would be the best place to start for building something that replicates their Filemaker Pro workflow, but stores everything (privately) online? Thank you.

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

    I made a community where people motivate each other to build good habits! You check-in once a day! I thought r/learnprogramming would like it!

    Posted: 17 Jan 2018 07:32 PM PST

    Examples to give you an idea about what people can check-in:

    • day 30, solved an interview question from leetcode
    • day 21, github commit for open source project
    • day 5, 101 push ups
    • day 6, didn't eat out
    • day 65, sticked to the budget
    • day 6, didnt smoke
    • day 7, ate less than 2k calories
    • day 3, ran for a mile
    • day 8, did 8 pomodoros
    • day 12, meditated

    Please join only if you are willing to check-in every day! (Discord is available on browsers and mobile.) High activity helps everyone to stay committed! We also want to build a tight community! You can start small, as nobody is competing about habits, and we all have different strengths and weaknesses.

    Here are the invitations: (we will close to the public soon)

    A copy-paste from the discord server:

    TLDR: Define your habit (e.g. wake up at 6am every day). Check-in every day in #general, whether you succeeded or not for the day. Join the discussion. Make acquaintances and friends. Get motivated and motivate people.

    Why 2 servers? We made the decision to split our group based on age to give a better opportunity for community for those of us heading to or still in college to those exiting college and in the working world.


    Edit: Yeah, it is called Spacestation :D

    Edit 2: Here is a gif of bird taking shower, because why not :D https://i.imgur.com/O1SdCfD.gifv the community is supposed to be chill, so you can share whatever you like with others, as long as it is not offensive

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

    Fog of War JS Video Tutorial

    Posted: 17 Jan 2018 02:54 PM PST

    https://youtu.be/8GQTIOJ3KT0 I created a 30 minute tutorial on how to implement fog of war.

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

    Difference between `` and '' in JS

    Posted: 17 Jan 2018 08:27 PM PST

    Is there any practical difference between the following declarations:

    const galaxy = 'The Milky Way'

    and

    const galaxy = `The Milky Way`

    I know that they're not the same, but Codecacademy refused the 2nd one, is it straight out wrong?

    submitted by /u/-Xichael
    [link] [comments]

    Git Push

    Posted: 17 Jan 2018 07:26 PM PST

    When you're pushing from the command line, how much should you write in the comments? One or two sentences, a paragraph, or a couple of paragraphs?

    I wrote one or two functions my first push and like 20 for the second one.

    Thanks :)

    Edit: Grammar

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

    What is the purpose of defining an operator class when defining index in postgres?

    Posted: 17 Jan 2018 11:10 PM PST

    For example

     CREATE INDEX my_index_name ON public.my_table USING btree (my_column int8_ops) TABLESPACE pg_default; 

    vs

     CREATE INDEX my_index_name ON public.my_table USING btree (my_column) TABLESPACE pg_default; 
    submitted by /u/multishotkey
    [link] [comments]

    Tips on how to study a large program's source code.

    Posted: 17 Jan 2018 07:59 AM PST

    I discovered star control 2 a couple of days ago, and holy shit it is fun to play. While playing I was often to surprise that a game like that, with so many complexities, awesome game mechanics and all, appeared for the first time in 92!

    I've been messing around with code for a while, and have been taught some C++ by a friend. I am just a smelly beginner in every possible way. But, but, the thought of understanding the underlining mechanics and code of this game is really tempting. Maybe even change something, or add something. And as a consequence learn a lot about programming and projects on the way.

    So, first of all, is this a reasonable idea? If so, how can I dive into the code and really grasp it?

    I know it is a somewhat dumb question, but still, I can't help it.

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

    How to hide my website to the public so only I can see it?

    Posted: 17 Jan 2018 06:16 PM PST

    Creating a Django website with Digital Ocean (Nginx, Guncorn) - and would like to know how to show a blank page until I've finished development.

    So when someone other than myself visits my website, I want them to see a page saying "Site under construction" or something. Advice appreciated.

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

    [Help] Develop a live file-change monitor extension in JavaScript

    Posted: 17 Jan 2018 09:22 PM PST

    I am trying to develop a file-change monitor extension in Mozilla. For this I have used HTML5 file input to access the file <input type = "file" name ="my-file"> and for the monitoring I have used JavaScript File API. Form this I am able to get the last modified date-time. But the problem is that when I select a file form the input, an instance of that file is placed to the browser as a result every time I get the same last modified time even after the file is changed. I have to again select the file to see 'recently' modified time. I want to make it real time with no multiple selection.

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

    Any good resources on authentication and authorization?

    Posted: 17 Jan 2018 09:22 PM PST

    Working on my first project that isn't using some prebuilt auth somewhere (i.e. firebase) and there's a lot of components to it. Web app. Android app. Then another Android app that needs to hit my server but it doesn't have a login but I don't want anyone to hit that backend. So basically all of your typical authentication and authorization type of stuff but I never had good experience in it. Was curious if there was a good book on this that someone from the community has read. Thanks

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

    Was trying to finally watch the cs50 course videos fully on YouTube but discovered there's a 2017 version. Which one of the two is better and I should watch?

    Posted: 17 Jan 2018 09:12 PM PST

    Did the newer version make some improvements or is it better to stick with the OG?

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

    Why is a command pattern better than a large switch statement? What is the point?

    Posted: 17 Jan 2018 08:46 PM PST

    I am having a hard time understanding the point of putting all your behaviors into objects, and then, going through all the trouble of calling new classes.

    switch(action) {

    case action1: foo.doSomething(); break;

    case action2: foo.doSomethingElse(); break;

    default: foo.whatever(); }

    seems a whole lot more straight-forward. Let's say you implement the command pattern. When you are done, my impression is that you've essentially made a big oop switch statement anyway so why bother? The more I learn about oop, the more annoyed I get with the whole thing.

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

    Why is nobody talking about SoloLearn?

    Posted: 17 Jan 2018 06:13 PM PST

    It feels like I always hear about CodeAcadmey and other websites that offer coding lessons for a price. SoloLearn is free, and I've used it to learn Python. It features some of the main beginner languages (C, C++, Java, PHP), so I'm wondering if there's a red flag that I'm missing or if there is something wrong with using SoloLearn to learn different programming languages for free that I'm missing?

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

    [C] Malloc, realloc, and arrays...

    Posted: 17 Jan 2018 07:36 AM PST

    Hello sub,

    I'm getting into C's dynamic memory allocation. I'm trying to build an integer array, fill it, then reallocate a larger memory size to it, and fill it it some more. The first part works, as does the reallocation, but sadly it seems to go into an infinite loop when I try to fill the array after the realloc. Any idea why this happens?

    Thanks!

    #include <stdio.h> #include <stdlib.h> #include <string.h> #include <limits.h> int main() { int *array,*temp; array=malloc(100*sizeof(int)); if(array==NULL){ printf("original memory allocation error\n"); } char i=0; for(i=0;i<100;i++){ array[i]=i; } temp=realloc(array,200*sizeof(int)); if(temp==NULL){ printf("new memory allocation error\n"); } else{ printf("\nmemory allocatedd\n"); array=temp; } for(i=100;i<200;i++){ array[i]=i; } for(i=0;i<200;i++){ printf("%d ",array[i]); } /**/ return 0; } 
    submitted by /u/emergenthoughts
    [link] [comments]

    Just started learning Java, is a decimal-fraction program a good accomplishment

    Posted: 17 Jan 2018 11:51 PM PST

    I just started learning java around a week ago. I made a program that converts any decimal to a fraction (you can also specify the accuracy of the fraction). I think this is a step in the right direction, but my friends say it's "very basic shit anyone could do".

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

    I hit a progress wall and dont know how to break through

    Posted: 17 Jan 2018 11:44 PM PST

    A little backstory of my self, i started becoming interested in programming when i was about 13 or 14 (i am 18 now). As i didnt really know anything prior to that point i decided to start with the c++ for whatever reason, then after learning the syntax and such i didnt know how to really start doing a real project so again for whatever reason i started learning python. After that point all i did was create small console programs with both languages since i didnt know how to create gui applications. I took a long pause from programming for external purposes and then came back learning c# because i saw it being heavily used in unity ,unreal engine(i wanted to make a game), and to get used to it i created simple apps in visual studio(wpf , winforms etc.).

    Fast forward to a few months before, after all this progress i found about web development and how it is actually developed and at that time i had a great idea about a project. So i learnt html ,css ,js for the front end and python for backend(django) because i didnt like php. After very little progress i quickly realised i was still at a very low programming level. Most of the times i would become overwhelmed about how code was written in python and js libraries, i basically didnt understand what i was reading. So i started looking up public repos in github in order to understand how people write code and how a complete project should look like. Again i didnt understand nothing. I have no idea how to reach that level of skill where i dont need to literally google everything and to just improve on my own.

    I dont need suggestions like "keep on practising", its not like that i dont write code, just that i am not good at it and i really dont know how to improve, maybe i am not cut out for this. Any help is appreciated.

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

    Graphic design but no coding

    Posted: 17 Jan 2018 11:31 PM PST

    So, I recently graduated with a bfa in visual arts. I focused in photography/graphic design but the program I was in used adobe muse to build websites. But I just feel like I could create way better and cleaner designs for website using code. Now I know there's a ton of different languages to learn and I've gone through html and most of css on w3schools. But I felt as though it just skims the surface. Am I over thinking this or is there a better place to start? I just want to make sure I'm getting the most out of it ya know?

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

    A question about repeatedly updating the screen in tkinter

    Posted: 17 Jan 2018 10:50 PM PST

    I want to bind a function to an <Enter>for event that will continuosly check the mouse position and place an item accordingly on the canvas while its in the canvas.

    I've been able to bind a function which does it but only once, meaning I have to move the mouse out of the canvas and back in, in order for the function to work again.

    Is there a way to make it update continuously while the mouse is hovering over the canvas?

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

    I'm a JS guy trying to move into 2d game development. Should I learn Python or C++?

    Posted: 17 Jan 2018 07:01 PM PST

    I mainly do front-end web work and I'd say I'm pretty comfortable with JS, but I wanna move into 2d game development. I've made a few game with JavaScript and HTML5 canvas and even directly with the DOM (although the optimization sucked for that) but I just don't like using the browser when making games and I always have too many performance issues. I wanna move into a compiled language. I was thinking either...

    • Python + Pygame... pros would be that I could also use Python for back-end and expand my web dev experience, but I heard some people say that Python might not be the best option for making games in general since the performance is not all that good with Pygame and that it doesn't pork to mobile browsers

    • C++ ... I'm thinking C++ might be a good choice since I'm gonna be taking a class soon where we'd mostly work with Unreal Engine so might as well start learning C++, but also I'm worried it might be too big of a leap from JS.

    I don't know, I'm really conflicted. Any suggestions guys?

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

    I will be attending a college with a small CS program (few companies that recruit, only around 20 people graduate per year, etc). What are some things I can personally do to maximize my chances of success in college to land those "high-profile" CS internships and jobs?

    Posted: 17 Jan 2018 06:35 AM PST

    If theres a better subreddit for this, pls let me know!

    next year, i'll be a freshman at Indiana State University, which has a relatively small CS program, where few companies high from, few people graduate, etc. i'll be attending there because i'll graduate with barely any debt if i play my cards right, which is a huge plus for me.

    i've always been passionate about CS, and have self taught myself my whole life, which is something i'm decent at. my life goal is to have a software engineering job at a respectable company (which is subjective to most people at who's respectable) but ya get my point.

    my question is, what can i personally do to maximize my chances of success with internships and companies when i'm competing against guys who come from more developed CS programs? this can be resources to study, tips for portfolio/resume, extra curricular stuff to do, etc. i was even thinking of becoming a TA in a class because i have such a passion for CS. anyways, thanks in advance for reading over, any and all feedback is appreciated.

    TL;DR: what are some great ways to maximize my success in landing internships and jobs coming from a small CS program?

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

    [Competitive Coding] Programming Intermediate and Advanced topics

    Posted: 17 Jan 2018 04:49 AM PST

    So I have been stuck here for a while in this phase. I have a degree in computer science and hence know data structures and algorithms as part of the coursework. Worked on quite a few projects as well. With regard to competitive coding on platforms like Codechef or HackerRank or SPOJ, I am able to solve the easy questions very swiftly, but the more difficult problems take time, and most of time I am not even able to solve them.

    There are lots of resources online to learn programming, and on basic stuff to learn it, but are there any good places/tutorials that teach how to think and solve the more difficult questions on competitive coding? Things like Dynamic programming and advanced structures like Segment Trees baffle me, and I'm only able to solve them if I've seen similar questions before. Of course practice is key, but sometimes a little help would be nice too.

    submitted by /u/7lazy7
    [link] [comments]

    Templates and related patterns (C++)

    Posted: 17 Jan 2018 05:21 PM PST

    This feature briefly outlines the use of templates in C++ for those unfamiliar and goes on to showcase some more interesting uses of them, mainly the curiously recurring template pattern (CRTP) and factories/registrars. http://www.computist.xyz/2018/01/using-templates.html

    I hope people find it useful!

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

    No comments:

    Post a Comment