« first day (1693 days earlier)      last day (3343 days later) » 

Pip
12:00 AM
@Hjorthenify lol
 
oh wait, that link only gives an extremely basic example...
well it'll get you started hopefully
I mostly learned from that guy's tutorials, but since then he moved most of them into an ebook that he's selling now
only $6 though so that's not bad
 
Really?
Thats two days worth of food for me xD
 
Pip
wow, really? That's like..... a cheap meal here
 
Yeah... But I'm poor so :(
 
$6 is what I'd spend on a meal in my school's cafeteria. I only do that like one or two times a week. Eating at home is a lot cheaper.
 
12:06 AM
What would be a cool (non-op) weapon to add to a service robot?
Yeah I stop by my parents as often as I can too haha
Ahh an iron bar..
 
Pip
1:04 AM
eyyy I have most of it rewritten
now to fix the last few bugs
Unity's input axes are really smooth
Impressed
 
Joe
uh oh pips using unity?
 
Pip
yeah, for a while now
 
Joe
1:22 AM
I personally love it
bit of a learning curve but I've got nothing to compare it too
 
Pip
The one bad thing I've found about it is that I can't actually use IEnumerables :/
Had to change all of them to Lists instead
 
what's the main difference between them?
I've never used an IEnumerable
 
Pip
you can supply the next object in a loop customly
 
Joe
interesting
 
but that's not much different from doing it a different way eh
can still traverse if you please
 
Pip
1:28 AM
    public IEnumerable<T> Neighbors(T current)
    {
        foreach (var dir in DIRS)
        {
            Vector2 pos = AdjustPos(current.Pos);
            Debug.Log(pos);
            if (InBounds(new Vector2(pos.x + dir.x, pos.y + dir.y) + dir))
            {
                Debug.Log("In Bounds!");
                T next = nodes[(int)pos.x + (int)dir.x, (int)pos.y + (int)dir.y];
                if (next.isPassable)
                {
                    yield return next;
                }
            }
you can literally do whatever you want is the thing
:D
 
right
 
Pip
argh.... this seems to be just falling out of scope for some reason :/
why
Figured it out.... apparently I had a case where control would fall through to the next statement
 
1:43 AM
@Chris IEnumerable is closer to an iterator than a container. Or at least, it's better to be thought of that way. Say you have a list of objects, and you do listVar.Where(x => x.Value == 5). If Where() returned a new list, you'd be copying a bunch of objects. But linq's Where() returns an IEnumerable, which doesn't do that copy, but still allows you to iterate through the result.
 
cool
 
Pip
Icy says it better
 
the best part is you can chain a bunch of functions together that return IEnumerables, and none of them actually get executed until you start looping through them. and if you only loop through 5 objects in the result, it'll only do the work required to get those 5 objects, and no more than that.
 
Pip
Anyhow, I think I almost have this fixed. Gotta head to bed, but I will definitely finish this tomorrow
Oh, nice. That actually sounds awesome
night
 
aye, yeah that sounds like it has its uses.
bye pip
 
1:45 AM
it's mostly awesome. sometimes it backfires when you try to do multiple queries at once. (damn EntityFramework)
 
haha
 
2:01 AM
@Wardy A patch for league will be released tomorrow morning that should fix the Win10 crash we were talking about earlier. euw.leagueoflegends.com/en/news/game-updates/patch/…
 
2:18 AM
if you're in canada, the game is available
rest of the world soon (maybe a week or so)
just checking to make sure it's going to work
 
sweet
got a screenshot?
page doesn't wanna show (since I'm not in Canada I'm sure)
 
hang on
exciting! :D
 
hehe cool
 
:)
well i better go try to sleep
might be hard though
one thing scared me bad though
I had the dev version, and downloaded the retail one
couldn't see contests
uninstalling reinstalling fixed it
must have been some saved data issue
 
probably! hopefully!
hate that feeling lol
 
2:29 AM
:)
 
2:49 AM
whoo I can compile without errors again. still just a blank window, drawing doesn't work yet, but hey... i.imgur.com/zLgg0l0.png
 
3:49 AM
I wish apple would stop calling Windows "PC". Macs are PCs.
 
 
2 hours later…
6:04 AM
:/
 
6:15 AM
needs googly eyes
 
@Mutch95 A dog?
 
cat
 
So I figured out why videos that you have no clue how anyone could dislike have dislikes, are disliked. It's because there are people out there who think that the world is too good, and that they should make it a bit more negative.
@Mutch95 Is it supposed to look like that?
(I am guessing no because of the ":/")
 
@AidanMueller some people don't like certain things, it's okay :)
 
@Chris I know, but I mean things that literally no one has a reason to dislike.
 
6:19 AM
or maybe a cat clicked the downvote button, who knows!
 
well
low poly yes
 
I saw someone say "they thought that the dislike button said \"dis i like\""
 
but from your response I assume you do not agree with it lol
 
@AidanMueller lol
 
@Mutch95 Haha. Well to be constructive, I would recommend trying your hand at sculpting. It's actually pretty easy. You could then re-topologize.
 
6:22 AM
retopo'ing is challenging but fun
take a high-poly model and make a low-poly out of it
 
I need to become paralyzed and unconscious of anything that may be trying to kill me for a few hours so that my brain decides that I am not tired. Good night.
 
fox
 
Nice.
You make that? I like it.
 
yes
 
Little weird around the ears.
You using this for a game?
 
6:24 AM
i want to use them for i am technician
 
Not sure what that is but OK.
 
my game
i made for game jam
 
Well as I said.
OK, have to play it sometime maybe.
2 mins ago, by Aidan Mueller
I need to become paralyzed and unconscious of anything that may be trying to kill me for a few hours so that my brain decides that I am not tired. Good night.
 
6:25 AM
night
 
 
3 hours later…
user92578
9:26 AM
Finally some time to dev
 
user92578
so ill probably spend the day gaming
 
Aah
Make games! It's fun
 
lol
 
Jon
10:09 AM
its fun when you are not working on some ridiculous bug
 
lol
 
Pip
@Jon yes
 
Jon
10:30 AM
No
 
user92578
Why isn't std::map::operator[] const?
 
Jon
isn't that like a dictionary?
 
user92578
yeah
 
Jon
10:45 AM
why would a collection be const?
 
user92578
it has something to do with using that as a combination with assignment, right?
 
user92578
@Jon not the collection, the method
 
user92578
because I can't do this: void Class::GetValue(const std::string& key) const { return m_Dictionary[key]; }
 
user92578
because the operator [] isn't const
 
Jon
I dunno
 
10:49 AM
Isn't there a const overload?
Yeah there should be
 
user92578
 
user92578
like I can use at() no problem
 
user92578
I was just wondering why?
 
Huh, use the find function then
There's just no overload for it
Which is weird but eh
 
user92578
Like I can't use map[key]; in a const method
 
10:51 AM
You could try explicitly telling it to do const operations by casting the map to (const std::map<whatever>)
 
Jon
34
Q: Why isn't the [] operator const for STL maps?

RuncibleContrived example, for the sake of the question: void MyClass::MyFunction( int x ) const { std::cout << m_map[x] << std::endl } This won't compile, since the [] operator is non-const. This is unfortunate, since the [] syntax looks very clean. Instead, I have to do something like this: v...

first answer
 
user92578
thanks
 
user92578
I should've done more research
 
user92578
Sometimes I dream about using Python's eval in my data-loading code from XML files...
 
user92578
that'd be so cool
 
user92578
10:57 AM
but I use C++
 
user92578
so instead of Enum e = eval(enumNameAsString); I get a ton of ifs
 
...
Do not use eval for things that can come from outside sources
In fact: Preferably do not use eval at all
 
user92578
Will I ever ever need an input device that is not a keyboard or a controller?
 
user92578
actually nvm
 
Pip
mouse
 
user92578
11:02 AM
:D
 
user92578
 
Pip
@KevinvanderVelden @TreDubZedd alright, trying to work out the segfault I'm having again. It looks like it can open the image file fine
 
What line are you crashing on?
 
user92578
also what column?
 
Pip
Uh, looks like inside of SFML in Texture::create()
I can post a core dump if needed
 
11:09 AM
No
Step through it, see what it is doing
 
Pip
Alright
 
(And not bloody printf debugging! =p)
 
user92578
I still do that
 
Don't do that
It is the worst
 
user92578
not as much as I used to though
 
user92578
11:11 AM
like when I programmed in Python I only did print() debugging
 
user92578
now I put in a breakpoint or two
 
user92578
and recently I've started on watches
 
Pip
not useful :/
 
user92578
Eclipse?
 
Pip
11:12 AM
yeah
It looks like it's failing on this internally:
recvmsg(3, 0x7ffc9a05b4c0, 0)           = -1 EAGAIN (Resource temporarily unavailable)
 
Wait, you don't have the debug symbols for SFML?
Go fix that
 
Pip
how?
 
I don't know how your IDE works
 
Pip
So, compile with -ggdb?
 
Pip
11:26 AM
That seems to have done nothing, I think
 
Look up how your IDE works, I have no clue
 
Pip
kk
 
Jon
yeah man, you gotta look under the skirt of your ide
get intimate with it
 
Pip
Looks like I did everything fine... stackoverflow.com/questions/8663313/…
 
Jon
HAH
So unity5 / VS2013 needs special setup
To properly open your scripts from Unity, you need to change the External Editor to our file opener.
C:\Program Files (x86)\Microsoft Visual Studio Tools for Unity\2013\UnityVS.OpenFile.exe
you guy sknow about that?
 
Pip
11:31 AM
nope
not using U5 yet
this is what the gdb got me
[New Thread 0x7fffec327700 (LWP 1534)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7bc9649 in sf::Texture::create(unsigned int, unsigned int) () from /usr/lib/libsfml-graphics.so.2.2.0
hmmm
 
@Jon don't use unity =p
 
Jon
why not?
 
@Pip did you compile sfml yourself? If not, did you install the debug packages
 
Pip
I did not, but I think I figured it out
 
@Jon I dunno, I tried 4 but I didn't like it, I just felt that I constantly had to struggle against it to get it to do what I want
 
Jon
11:36 AM
Yeah you do
It is because they put up regulations on how you need to do things in order for it to run smoothly
 
Yeah
I don't like it so I use other stuff
 
Pip
Mar 5 at 18:23, by Pip
UNITY. YOU MUST CONFORM TO MY STANDARDS
:D
 
Not really, I just found it unpleasant to work with so I use something else
 
Pip
coolcool
 
hiii
 
Jon
11:40 AM
yay, i have VS working with unity again
 
Pip
I have no real bias. With Unity I'm very productive, which is nice, but I like other frameworks/engines
ey Mutch
 
Jon
took me a little bit to get productive with unity
took me a little bit to get productive with xna too
but the xna curve was more because I didn't know anything about gamedev
 
hey pip
 
@Jon yeah, with XNA you can decide everything yourself, which I like
 
Jon
I still love monogame
nothing wrong with it
and you have to realize that it was created by random people like you and me, for free
If only someone could do the mobile open source as well
 
11:43 AM
I generally prefer libraries over engines. Let me write my own god damn gameloop
At least I can see what is happening then
 
Jon
Yeah, my biggest peave, is the draw call hijacking
as far as I know, there is no way to override the rendering engine in unity
 
Pip
@Mutch95 yes?
 
huh?
 
12:15 PM
@JoshPetrie recommendations?
 
'Morning, All
 
Pip
morning
 
@Pip any luck with your C++ issues?
 
Pip
I think so
working on it now
Turns out I was being an idiot
never actually instantiated the object..... can't believe that too me so long to find out
 
It won't be the last time.
 
Pip
12:23 PM
I believe it
At least I got to spend time on my actual game yesterday as well, got most of that code rewritten that I lost.
Oh man, I can do actual things with my framework now
 
Yay!
LPT: You can make a symbolic link from your various important directories into your dropbox (or google drive or amazon cloud or whatever) for constant up-to-date backups.
 
I really like SFML
 
It's a nice little framework
 
Use in conjunction with SVN/Git/etc. for an even better experience.
 
12:27 PM
@KevinvanderVelden I'm afraid I'm not using the archaic usage of the acronym...
 
@TreDubZedd The archaic usage of that acronym is the better one
 
"Life Pro Tip" is the more colloquial
 
pff I think I am going to take a break from game development
too unmotivated
 
@KevinvanderVelden Fair enough
@Veritas browse Steam Greenlight or something..?
 
Pip
@TreDubZedd interesting, I might do that. I'd have to figure out that for windows, though
Using Unity for that project, was an idiot with git
 
12:29 PM
google "mklink"
 
Pip
turns out I never added like a third of my scripts and assets to git, so I never committed them
yeah, already did. It's pretty clear
thanks for the help @TreDubZedd @KevinvanderVelden
:)
 
Those are some bold claims.
 
"Shadow is able to compress a 7 gigabyte movie into a mere kilobyte."
 
"10^55000 bits per second"
Uhm
I don't think there is that much information in the universe
 
12:40 PM
best troll website
i like how everything is well designed
 
I figured it for an attempt at viral marketing for a movie or something
 
Also, I like how his wireless is better than his fiber
If his spectrocable is "by a factor of several billion, the fastest technology on the market" then I would love to have the second best
 
Pip
> Introducing Spectre Vault, the first unbreakable encryption algorithm.
 
That would still be 10^53990 bits per second
 
Pip
Wow
 
12:43 PM
If anyone here is in CA and has an iOS device, I'd appreciate if you'd play a few rounds of LowDown. Making sure things are working before we click "WORLDWIDE"
2
 
Pip
Nice
(I'm in DC, and don't have an iOS device, but.... :D)
 
You can give it a star just over there ->
2
you got a droid device?
there will be a droid version "soon"
my partner is working on it
I expect it in a few weeks.
 
Pip
cool
 
@Veritas I'm skeptical that any of this is true...
 
@Soapy damn, you're skeptical?
3
The claims are physically impossible, that's way beyond skepticism
You're not skeptical of my claim that I have a perfectly spherical cube are you?
 
Joe
12:46 PM
But they aren't spiritually impossible
So...maybe
 
@KevinvanderVelden That's totally possible...just requires bending Space-Time a little.
 
@TreDubZedd and requires a object that by definition has 0 edges to have edges
 
Pshh. That's so short-sighted :)
There's no reason, in today's Quantum world, that an object can't have both properties at the same time
(ok, I've clearly been reading too much hpmor)
 
@KevinvanderVelden No :)
 
Jon
1:14 PM
man... there is this radio station i like, so I keep trying to tune in... for the past hour, I swear, 1 hour I have been trying to listen to music from their station, and everytime I tune in, they are fucken blabbing their asses off
How do you talk for so long, and think people give a shit
Well Jim looks like we are down to two listeners, Lets put on some great tunes so we can get a bigger audience before we talk our asses off again
 
user92578
Currently I'm translating code like this into XML files: m_PlayerKeyMap["MovementGameControllerX"] = std::vector<SDL_Keycode>{SDL_CONTROLLER_AXIS_LEFTX, SDL_CONTROLLER_AXIS_RIGHTX};. How would I put those enum values in a XML file? copy their int values? use a string and then a ton of ifs while loading? Something else?
 
Int val
 
Definitely not an if-chain at least, I'm looking for the name of what I'm doing, can't find it right now
Basically I have a file "Keys.inl" which has lines of KEY( *name*, *val*, *description)
Then I can do this pastebinning:
 
user92578
so you don't want me to cut your message chain?
 
user92578
OH NO I DID IT
 
1:23 PM
Now he's not going to share the answer with you
hope you're happy
 
alright so this guy actually has patents
 
That way you have 1 source of data that generates some maps you can iterate over, an enum you can use, descriptive names, all that stuff
And then you can just store the name of the key in the XML and check if it's in the std::map
 
user92578
I just realized that I probably can't store the name anyways when I start assigning the keys in-game
 
user92578
But that does seem like a nice solution
 
Joe
good morning gdse! even though i was up all night setting up my new machine it was worth it
 
1:26 PM
Sleep well, Joe :P
 
Joe
pfft im at work
 
I doubt that could stop you
 
Joe
ill sleep tonight, maybe... probably not actually I need to learn how to use visual studio w/ Unity
 
pft sleep
 
"Part of this disclosure is the recognition that a Red Green Blue (RGB) spectrum of 255 shades of each main color allows for 16,777,216 colors and that all or a portion of this wide range of colors may be harnessed for use in data transmission. As described in the Detailed Description, this is done by recasting any binary string as RGB code and transmitting the RGB code, in variable frequencies."
 
1:30 PM
@Veritas ... what?
 
Joe
who would give a patent on something so broad
 
The U.S. Federal Government
(of course)
 
That's par for the course
 
erm...did the Savior of mankind just grace us with His presence? Or am I hallucinating again?
 
@KevinvanderVelden google.com/patents/US8941513 this is the guy's from the cyborg website
 
1:33 PM
@TreDubZedd Nope
@Veritas I got the context, it was the quote I was what-ing =p
 
So, given you can encode bytes as elements of RGB...what's the expected resolution? Does the patent give any indication how to measure a difference between, say, #0000FF and #0000FE?
 
@TreDubZedd approximately 3 bytes for each 24 bit RGB value
 
I get that. I'm asking about sensor technology being capable of determining the minute differences with anything approaching correctness.
...on the decoding end, that is
 
He seems to be ignoring that
 
also, there's the issue of timing interval. Presumably, one could encode 24 bits at a time...but how long is "a time"? Turns out colors don't travel down FIOS at the same speed.
(though I could be wrong on that last point)
 
user92578
1:42 PM
XML-based keybindings! Yay!
 
@TreDubZedd refraction is dependent on frequency (see prisms, rainbows) and refraction is dependent on the speed of travel
 
@KevinvanderVelden That was my line of thinking, too...but I wasn't absolutely certain.
If you put three individual lights on the line, you could (in theory) have three individual color-specific sensors on the receiving end--and each sensor would run at the appropriate frequency. The three could (in theory) be synchronized to get a data "packet".
However, that doesn't solve the problem of intensity variations being significant as data.
That is, an intensity which maps to 255 is incredibly difficult to distinguish from that of 254. Especially at any kind of distance, with any amount of noise on the line.
Hm. "Chromatic Dispersion" is likely a serious issue, even in the case of three sources/sensors.
 
Jon
another day, another prototype
 
Of course, there's nothing saying that the 3*8 necessitates RGB--it could be any three independent light frequencies...and then what's to stop you from scaling that up?
Therefore, I'm calling this patent basically useless.
 
You didn't even notice that he also considered CYMK? K being black?
 
1:56 PM
@Jon hey jg I seem to remmeber you said you have an iOS device
my game is live
 
I didn't get that far before running down my tangent lane.
 
in canada
link over there in the starboard
 
Jon
ah yeah, well its my gf/s
so i have to wait for her to get home
 
hehe no hurry man :)
 
Jon
i'll check it out though ;)
 
1:58 PM
thanks :)
hahah someone starred my "give it a star comment" but not the game link
 
Wasn't me
 
Jon
 
Pip
noice, just compiled SFML in debug mode. Should make that a bit easier if I ever need it
@Jon nice
funny that they keep circling :D
 
Jon
lol, they just circle you cuz of the velocity
if they had guns though
 

« first day (1693 days earlier)      last day (3343 days later) »