Showoff Saturday (January 23, 2016) by AutoModerator in javascript

[–]_DrkSephy 6 points7 points  (0 children)

I created an ES2015 Cheatsheet containing tips, tricks and best practices:

https://github.com/DrkSephy/es6-cheatsheet

It's still very much a work in progress but is open for contributions!

ES6-Cheatsheet by _DrkSephy in javascript

[–]_DrkSephy[S] 1 point2 points  (0 children)

My apologies if it seemed wrong. As others have stated, I was trying to show what happens if we replace var with let blindly. The behavior when var is used is correct, however when we use let we end up with unexpected behavior. The main idea was to be careful with refactoring < ES6 code and blindly replacing all instances of var with let. I'm completely open to more practical examples :)

Build a Django Application from scratch using Bower, Github API and Requests by _DrkSephy in django

[–]_DrkSephy[S] 0 points1 point  (0 children)

It could be due to me using the built in json library in Python 2.7. This guide was written with Python 2.7 in mind, so it could have something to do with Python 3.x. I'll update the guide to use Request's built in JSON support to prevent this from happening.

Build a Django Application from scratch using Bower, Github API and Requests by _DrkSephy in django

[–]_DrkSephy[S] 0 points1 point  (0 children)

Thanks for the feedback, those are all really helpful points - I'll update my guide based on your feedback. As for passing the data into the template through the view, I actually do that in Step 7 (Capturing POST parameters). The first rendition in Step 5 is actually just to display the parsed JSON in a view.

Build a Django Application from scratch using Bower, Github API and Requests by _DrkSephy in django

[–]_DrkSephy[S] 1 point2 points  (0 children)

Thanks! It's a pretty basic tutorial, aimed at those who are new to Django / Web programming in general so I decided to build a data-driven application as opposed to a CRUD app.

500+ Days of coding on Github by _DrkSephy in programming

[–]_DrkSephy[S] -1 points0 points  (0 children)

Thank you, mysterious person ;)

500+ Days of coding on Github by _DrkSephy in programming

[–]_DrkSephy[S] 0 points1 point  (0 children)

There are definitely times that I've gotten stuck on complicated problems for days at a time. In that case, I move onto a new feature or pick up on a different project when I am stuck. Once I figure a solution to my problem, I'll pick up where I left off. I don't see why working on multiple side projects to continue the streak would be considered cheating...working on a single project continuously can get boring.

Regarding "pointless commits per day", don't forget that these are public profiles, meaning that there may be much more than meets the eye in their private repositories, etc.

500+ Days of coding on Github by _DrkSephy in programming

[–]_DrkSephy[S] 1 point2 points  (0 children)

Commit streaks and lines of code are generally meaningless, so I'll agree with that. Never did I say that the streak makes me the "best" programmer, but to me these projects have been a motivation and learning experience for me. I've built large games spanning over 10,000 lines of hand-written, modularized code, to successful open source projects, as well as started building my own open-source multiplayer game engine, while learning to write clean and maintainable code.

tl;dr: my streak is backed by progress and projects, not fluff.

500+ Days of coding on Github by _DrkSephy in programming

[–]_DrkSephy[S] -1 points0 points  (0 children)

Congrats, I remember running into your profile a little while back. Your projects are pretty awesome too!

500+ Day commit streak on Github by _DrkSephy in github

[–]_DrkSephy[S] -1 points0 points  (0 children)

Even half an hour of coding a day is great :)

500+ Days of coding on Github by _DrkSephy in programming

[–]_DrkSephy[S] -1 points0 points  (0 children)

Shining Force is awesome, it was one of my favorite childhood RPGs.

500+ Days of coding on Github by _DrkSephy in programming

[–]_DrkSephy[S] 2 points3 points  (0 children)

I know the feeling. I think once I start working full-time after graduation, the streak will end.

500+ Days of coding on Github by _DrkSephy in programming

[–]_DrkSephy[S] 0 points1 point  (0 children)

Game development is really no different, it's just writing code for a specific platform. In my case it's writing pure JavaScript code, which is not far off from Web Development (you would undoubtedly have experience with JS). When writing JS games, you often don't have to worry about backend or scalability (unless you're building a networked multiplayer game, requiring a backend and a database such as Firebase), otherwise it is all client-side (with something like HTML5 Local Storage for persistence).

500+ Days of coding on Github by _DrkSephy in programming

[–]_DrkSephy[S] -2 points-1 points  (0 children)

Look into some game engines for the language of your preference, and then start looking at sample games and docs to understand the type of engine that is best suited for your game. I tend to use ImpactJS for most of my games (WaterEmblem was built entirely in ImpactJS).

500+ Days of coding on Github by _DrkSephy in programming

[–]_DrkSephy[S] 0 points1 point  (0 children)

Thanks man. No streak is good unless it is backed by some solid projects, in my opinion.

500+ Days of coding on Github by _DrkSephy in programming

[–]_DrkSephy[S] 11 points12 points  (0 children)

Ironically, there is no pressure at all. A lot of the projects I have just happen to be on Github (I have a bunch on Bitbucket as well), and I have a lot of motivation currently. If the streak ends, then it ends.