Eraser
Guest
|
|
« Reply #3920 on: February 11, 2013, 11:52:04 AM » |
|
Late last night I spent 2 and a half hours debugging why my code wasn't producing the expected result. It turns out, I have a variable named "nq" and also "nc" and I was using the wrong one.
|
|
|
Logged
|
|
|
|
Belimoth
|
|
« Reply #3921 on: February 11, 2013, 11:56:29 AM » |
|
longAssVariableNamesForLife
|
|
|
Logged
|
|
|
|
ChevyRay
|
|
« Reply #3922 on: February 11, 2013, 01:01:47 PM » |
|
Late last night I spent 2 and a half hours debugging why my code wasn't producing the expected result. It turns out, I have a variable named "nq" and also "nc" and I was using the wrong one. Crappy variable naming practices plagued my early years of game development. var a, b, c, aa, bb, cc, abc, x, xx;
|
|
|
Logged
|
|
|
|
kamac
|
|
« Reply #3923 on: February 11, 2013, 02:22:37 PM » |
|
Late last night I spent 2 and a half hours debugging why my code wasn't producing the expected result. It turns out, I have a variable named "nq" and also "nc" and I was using the wrong one. Crappy variable naming practices plagued my early years of game development. var a, b, c, aa, bb, cc, abc, x, xx; Good that you didn't go for: var _, __, ___, ____, _____, ______, _______, ________, _________;
|
|
|
Logged
|
|
|
|
Quarry
|
|
« Reply #3924 on: February 11, 2013, 03:09:24 PM » |
|
Late last night I spent 2 and a half hours debugging why my code wasn't producing the expected result. It turns out, I have a variable named "nq" and also "nc" and I was using the wrong one. Crappy variable naming practices plagued my early years of game development. var a, b, c, aa, bb, cc, abc, x, xx; My first game was a roguelike and I just named every variable 3 letters, it was useful but I couldn't continue it after giving a one month break
|
|
|
Logged
|
|
|
|
RTLShadow
Level 0
I make the video games.
|
|
« Reply #3925 on: February 12, 2013, 12:46:54 AM » |
|
Dear bajeebus- I _hate_ non-visual UI programming. It's such a pain in the butt to get something so insignificant working.
|
|
|
Logged
|
|
|
|
Geti
|
|
« Reply #3926 on: February 12, 2013, 03:05:18 AM » |
|
write a program to write your program for you spoilers thats what visual editors do.
|
|
|
Logged
|
|
|
|
Crimsontide
|
|
« Reply #3927 on: February 14, 2013, 10:30:55 PM » |
|
C++ woes. A template function didn't compile, so I was told to move it into the header... which revealed some circular dependency issues... that only got worse as I started fixing them. That picture is quite an accurate representation of today. Finished some work on a Tuple type since VS2012 std::tuple support is a joke, and the full std::tuple implementation lacks some key functions/functionality. Its bad enough the mess that is C++ template meta-programming (its like programming in LISP while drunk... with a monkey generating random errors from time to time...), but add in a buggy CTP compiler and holy crap!!! You should've seen the messed up errors that thing was spitting out...
|
|
|
Logged
|
|
|
|
0x1A
|
|
« Reply #3928 on: February 14, 2013, 10:55:46 PM » |
|
longAssVariableNamesForLife
NoErrorReportingAPI *longAssVariableNamesForLife;
|
|
|
Logged
|
Segmentation fault (core dumped)
|
|
|
InfiniteStateMachine
|
|
« Reply #3929 on: February 18, 2013, 05:46:01 PM » |
|
Facial recognition databases are a lot more efficient if the face is not rotated so I wrote some code to detect the eyes in a image of a face then use that to find an angle to rotate the image so that it's as straight as possible. It also does that to incoming data so the comparison can be good on both ends. Thing is every once in a while the image gets rotated to hell. I though my math must have been off or something. Turn on some debug drawing then I realized that every once in a while the detection algorithm identified a nose hole as an eye and completely fucked the rotation :D Made some code that just checks the general difference in the y coordinates of the eye to fix it. I think there's a very low chance we'll have an input that has an eyeball in their nose
|
|
|
Logged
|
|
|
|
cubertron
|
|
« Reply #3930 on: February 19, 2013, 03:05:36 PM » |
|
what do you people do when you aren't working on any game and feel bored. what do you code?
|
|
|
Logged
|
|
|
|
Belimoth
|
|
« Reply #3931 on: February 19, 2013, 06:03:32 PM » |
|
Games. Always games.
|
|
|
Logged
|
|
|
|
Gregg Williams
|
|
« Reply #3932 on: February 19, 2013, 06:31:47 PM » |
|
what do you people do when you aren't working on any game and feel bored. what do you code?
Tools and engine/framework enhancements.
|
|
|
Logged
|
|
|
|
_Tommo_
|
|
« Reply #3933 on: February 19, 2013, 06:41:57 PM » |
|
what do you people do when you aren't working on any game and feel bored. what do you code?
the most random nonfunctional and "might not actually work" stuff I want to crunch on, because usually I end up crunching on "distractions" until the interesting part is gone Or I just refresh my bookmarks ALL day.
|
|
|
Logged
|
|
|
|
cubertron
|
|
« Reply #3934 on: February 19, 2013, 08:14:54 PM » |
|
Games. Always games.
you always make games with unique ideas? Cause for the time being I have no good idea in my mind and don't feel like making a clone of the popular games.
|
|
|
Logged
|
|
|
|
SuperDisk
|
|
« Reply #3935 on: February 19, 2013, 08:35:21 PM » |
|
Games. Always games.
you always make games with unique ideas? Cause for the time being I have no good idea in my mind and don't feel like making a clone of the popular games. Tools, tools, tools, my friend. Come up with some neat tool, like a screen capturer then just keep adding to it until it's a neat thing.
|
|
|
Logged
|
|
|
|
InfiniteStateMachine
|
|
« Reply #3936 on: February 19, 2013, 09:15:14 PM » |
|
I usually do art.
Sometimes I do procedural gen stuff.
|
|
|
Logged
|
|
|
|
s_l_m
|
|
« Reply #3937 on: February 19, 2013, 09:22:37 PM » |
|
I like writing basic math stuff, things like making mandlebrot gens or square root functions or stuff like that. Its good for killing time
edit: Oh, probably should have mentioned all the crappy 8 hour game prototypes that don't lead to anything
|
|
« Last Edit: February 19, 2013, 09:50:00 PM by s_l_m »
|
Logged
|
Think happy thoughts.
|
|
|
Geti
|
|
« Reply #3938 on: February 19, 2013, 09:41:31 PM » |
|
what do you people do when you aren't working on any game and feel bored. what do you code?
obligatory "see friends IRL, demean you all for nolifing" response. If I'm actually recreationally programming, it's usually framework stuff or ludumdare style throwaway games.
|
|
|
Logged
|
|
|
|
Evan Balster
|
|
« Reply #3939 on: February 19, 2013, 10:26:38 PM » |
|
what do you people do when you aren't working on any game and feel bored. what do you code?
Tech and . This might make an interesting thread.
|
|
|
Logged
|
Creativity births expression. Curiosity births exploration. Our work is as soil to these seeds; our art is what grows from them...Wreath, SoundSelf, Infinite Blank, Cave Story+, <plaid/audio>
|
|
|
|