u/draco_nite - 22 Archived Voat Posts in v/programming
u/draco_nite
  • home
  • search

u/draco_nite

3 posts · 19 comments · 22 total

Active in: v/programming (22)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: Friendly Reminder: foreach keyword in C# allocates memory in Unity

So...just use the good ole (int i; i < whatever; i++) then?

1 19 Jun 2016 06:03 u/draco_nite in v/programming
Comment on: Policheck - Remove the term "whitelist"

Remind me to replace "whitelist" with "aryanlist" and "blacklist" with "niggerlist" just to piss these fucks off.

1 18 Jun 2016 04:29 u/draco_nite in v/programming
Comment on: Why can't programmers... Program?

derp

0 25 May 2016 09:45 u/draco_nite in v/programming
Comment on: Why can't programmers... Program?

Python FizzBuzz

def fizzbuzzer(n):
    if n % 3 == 0 and n % 5 == 0:
        return "FizzBuzz"
    elif n % 3 == 0:
        return "Fizz"
    elif n % 5 == 0:
        return "Buzz"
    else:
        return n
nums = list(range(1, 100))
for i in range(0, len(nums)):
    print(fizzbuzzer(nums[i]))

I have learned Python entirely on my own time. I think this took me about 10 minutes, maybe less, wasn't really counting.

6 25 May 2016 05:36 u/draco_nite in v/programming
Comment on: Bored? Go over this text-based RPG I'm making. Tell me exactly how awful my coding is.

If you can't create a scene that isn't in the global list, then one wonders what the point of the parameter is.

The point of the parameter is that pretty much everyone has told me "global vars are bad, mmkay?"

Seems a bit strange to use exception handling to know whether the command is recognized or not.

Thanks for finding that, I've been trying to get rid of them, I was mostly using them when I didn't really know any other way to fix the problem I was having at the time.

But I wasn't sure if spells were added elsewhere as well.

Unless I've misunderstood you, every single spell in the game (currently one) should be in spells.py

0 26 Apr 2016 05:54 u/draco_nite in v/programming
Comment on: Bored? Go over this text-based RPG I'm making. Tell me exactly how awful my coding is.

Also I do plan on making a simpler drug trading feature at some point

0 26 Apr 2016 05:41 u/draco_nite in v/programming
Comment on: Bored? Go over this text-based RPG I'm making. Tell me exactly how awful my coding is.

Is there an easy way to compile Python 3 to run on a calculator?

0 26 Apr 2016 05:39 u/draco_nite in v/programming
Comment on: Bored? Go over this text-based RPG I'm making. Tell me exactly how awful my coding is.

Just a small nitpick: new doesn't work in Python 3.

0 26 Apr 2016 05:26 u/draco_nite in v/programming
Comment on: Bored? Go over this text-based RPG I'm making. Tell me exactly how awful my coding is.

Oh also XP I need to add that

0 26 Apr 2016 04:57 u/draco_nite in v/programming
Comment on: Bored? Go over this text-based RPG I'm making. Tell me exactly how awful my coding is.

I'm guessing the lambdas somehow make it so I'm not just increasing the value in the dict? I tried it with a dict first, it only increased the dict value.

1 25 Apr 2016 21:16 u/draco_nite in v/programming
Comment on: Bored? Go over this text-based RPG I'm making. Tell me exactly how awful my coding is.

If someone buys me a devkit after I finish this, sure.

0 25 Apr 2016 21:15 u/draco_nite in v/programming
Comment on: Bored? Go over this text-based RPG I'm making. Tell me exactly how awful my coding is.
git bisect

Wow, that's convinced me to change how I use git.

1 25 Apr 2016 11:05 u/draco_nite in v/programming
Bored? Go over this text-based RPG I'm making. Tell me exactly how awful my coding is.
12 20 comments 25 Apr 2016 06:31 u/draco_nite (..) in v/programming
Comment on: I've reached a point in my project where I think I could get my coding skills critiqued. Where (besides here) could I post my project to get feedback?

It's several different files

0 20 Apr 2016 03:22 u/draco_nite in v/programming
Comment on: I've reached a point in my project where I think I could get my coding skills critiqued. Where (besides here) could I post my project to get feedback?

Python, and I want to figure out a way to host it that's not links to multiple pastebins and not a .rar file.

0 19 Apr 2016 23:36 u/draco_nite in v/programming
I've reached a point in my project where I think I could get my coding skills critiqued. Where (besides here) could I post my project to get feedback?
9 12 comments 19 Apr 2016 21:57 u/draco_nite (self.programming) in v/programming
Comment on: Creating an AI that writes and improves programs

I got high once and wrote a program that wrote part of itself. All it did was open a file, write a hello world program, then import itself and call the hello world function, but it was still funny as hell to me.

2 20 Mar 2016 22:23 u/draco_nite in v/programming
Comment on: When I expain to the customer that their SDK is broken

As someone who's been coding in Python using only standard libraries and shit I've made, how do I not become this guy when I learn to use whatever a SDK is?

1 23 Nov 2015 03:05 u/draco_nite in v/programming
Comment on: pyNES | Write NES games in Python

shit

I might just need to figure out how I can turn my text-based rpg into something non-text-based

2 19 Sep 2015 12:29 u/draco_nite in v/programming
Comment on: Sortingh.at is a tool that will guide you to get started making your first game, custom tailored to what you're actually want to create.

A tool by the Quinnspiracy

You...you know what site you're on, right?

3 30 Jul 2015 06:47 u/draco_nite in v/programming
Comment on: New subverse - /v/NoobProgramming

Good point. I guess start using it when this one gets overflowed with noob questions?

1 16 Jul 2015 00:56 u/draco_nite in v/programming
New subverse - /v/NoobProgramming
16 8 comments 15 Jul 2015 23:40 u/draco_nite (..) in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.