« first day (1093 days earlier)      last day (4080 days later) » 

23:00
but since the programmer didn't do that, we assume, then he doesn't have that information.
therefore, he cannot have imparted it into the NN.
"Information Science" at it's very best
@DeadMG analogical argument: the programmer also doesn't know what will the binary form of the compiled program look like.
well, that's not really true.
@DeadMG He could come up with it - in a few months, but he uses a compiler
and in exactly the same manner, you can find an optimal hyperplane separating your data in 100 dimensions
It turns out I was completely misremembering the self-aware REPL thing:
New #scala trick: try pasting a REPL session into your REPL. "Detected repl transcript paste." It knows what I want and does it! +1!
23:04
"compilated analytically" => "complicated analytically" lol, I totally can't spell correctly
It's scala and it only recognizes when REPL transcript (output) is being pasted verbatim. Meh.
wow, that would involve another discussion about what does it mean that it "knows" :)))
Definitions. What is information. Is the training data part of the information the programmer has? Etc.
Please define what do you mean by "Definitions"? ;0
No.
23:07
All right, time to get some sleep. Thanks for interesting conversation @sehe @DeadMG. And also @DeadMG get well, and good luck with your doctor visit tomorrow!
See, writing from /dev/zero is substantially faster than /dev/urandom
@BartoszKP See you next time on the muppet show :)
Ell
Ell
@sehe that is expected right? O.o
23:11
@CatPlusPlus What the hell are you linking to.
Internet
Oh, that's what it is. I was confused for a li'll bit
Also Newgrounds
I don't know how else to describe that
Joe
Joe
why are all these rooms dead?
Because you're blind
Ell
Ell
23:15
Also ugh I need to change my parser design again :/
Joe
Joe
I'm setting up django :D
Go away, satan
Just kidding
Ell
Ell
Atm all the functions assume data is uncompressed, and just takes an input iterator
@Ell Spirit for radid prototyping. I know, I'll keep my mouth shut
Ell
Ell
but in the parse_header function the data goes from uncompressed to compressed half way through
23:16
@Ell Use Boost IOstreams, I believe it has GzipStream support. You know, with input iterators
@Ell Oh. Joy
SWF is a shitty format? WHO KNEW
Ell
Ell
Yeah. I'm not sure how to deal with it.
Well. It's optimized for different things than programmer friendliness, for starters
Ell
Ell
Unless I go back to my original design of having member functions instead of free functions
@Ell Just deal with it as a binary protocol? So, read until you have the block size/offsets and deal with the blocks on an adhoc basis... It's clumsy but no surprises
23:18
Flash is making my Firefox act weird
@Ell That's very much irrelevant
@CatPlusPlus How come? You didn't install it, right?
@Jefffrey any closer to a circle?
Ell
Ell
I'm not sure what you mean about the blocks. My main problem at the minute is I have no way of propagating the fact that the data is compressed
@Pawnguy7 Much more actually.
@Jefffrey I wish I could say the same.
23:20
YT's HTML5 thing doesn't work for me with my userscript stuff
@Ell You'd need a parsing layer that does know when to switch to a deflating stream
@CatPlusPlus Ah, not for me either. I only ever use Chrome for YT videos that refuse to play on Opera. That hardly happens, but it sucks when it does
@Ell That's what you get by not writing a quick-and-dirty prototype before designing shit
Ell
Ell
Well I guess this is the quick and dirty at the minute. My quick is just a lot slower and dirtier than your quick :P
I'm not sure what the parsing layer would look like. You mean I should parse until I get to the compressed bit, uncompress it the parse it?
@Pawnguy7, is that because you are busy?
@Ell No, delegate to a parser that knows how to parse the compressed bit, explicitely interposing a gzip/deflate stream
23:25
@Pawnguy7, lol, take a look at this code just to remember never to do anything like that.
It's just recursive descent that knows how to temporarily switch the input stream out, in a way
Ell
Ell
Ah right
This is where I think them being free functions is relevant because
indeed
Ell
Ell
they all look like this at the minute Something parse_something(i, eof)
i being an iterator, I hope?
Ell
Ell
23:28
correct
and eof being the end iterator too
Oh, that's surprising. (f,l), (b,e) would be slightly more idiomatic
Or, maybe, (fpos, eof) if you insisted :/
Ell
Ell
Hmm, I assume (begin, end) but what is (f, l)?
But either way the problem is now that a free function can't change the state of a "sibling" call to a parse function
which is why I think I might need a parser class after all
which is a shame, free functions seem so much easier to test :P
23:44
ZOMG I upgraded by drivers and a bug in my code that I was working on for the last 8 hours went away. FML
Fuck you NVIDIA
@Jefffrey A bit. Not entirely though.
@Jefffrey what is a Vector?
A vector maybe
Just a hunch
Well.
It isn't an std one.
I was guessing SFML, but that is Vector2.
So I suppose this is Vector2 called Vector, homemade :D
@Jefffrey paste.ubuntu.com/6233806 just some turd polish (didn't you need mutable with those lambdas?)
@Jefffrey curious what that does
23:50
@Pawnguy7 correct.
@Mikhail Yeah, FUCK those bastards for fixing their bugs!
@Jefffrey I was told to do that by Bartek. Might not be a bad idea if I make it have implicit casts to the SFML types.
@sehe How can you do { x, y } like that? :O
@Jefffrey lol, there's some break statements that are quite redundant
@Jefffrey Uniform initiliazation. Even MSVC has it in most recent incarnation(s?)
GCC/Clang have had it for ages now
@sehe I didn't knew you could use it like that. But it makes sense. That's... fucking amazing. Thanks :)
23:52
@Jefffrey BTW assumes your ctors aren't explicit (but 99% says they aren't... )
It is not.
@Jefffrey Note the only thing I did was eliminate code duplication
I think you'd actually wanted a bit-mask telling which directions are active and a lookup rather than a summing loop to get the effective direction.
Also, I have a hunch a simple std::bind would beat the lambdas but I'm too lazy to think about it
@sehe I was thinking of having a single vector, actually. And then you just add or substract the direction vectors. But apparently that doesn't work.
But yeah, that code is beautiful. ;)
Is the anonymous namespace for restricting the scope of the function to that file?
paste.ubuntu.com/6233827 seems I was a little quick before, 4 less lines, 167 fewer chars
@Jefffrey yes
@Jefffrey so, what does this do?
23:57
@Pawnguy7 moves the player.
@Jefffrey it does as long as you do check that the direction is not active (or you will get the effect of accelerating, which might be nice anyways)
@Pawnguy7 Actually, maps the WASD keys to the player movement.
So moving
This must be the most complex circle game ever :D
@sehe What do you mean by active? The movement component has a speed field which is the one that you set on map_state (which means "run this function when the key is pressed") which is subtracted by the physic system to simulate friction.

« first day (1093 days earlier)      last day (4080 days later) »