« first day (891 days earlier)      last day (4283 days later) » 

23:00
looks like lib.exe does it, regrettably.
made me chuckle
@EtiennedeMartel code 0x00000001 - srsly? :)
Amyways, I'm off to bed. I'm falling asleep already
@Rapptz why? it's not funny.
Does anybody here critique web design aesthetics?
@TomKerr: Well, Visual Studio has the LIB.exe tool. I guess it should be able to extract one .lib and add all .obj files from that into another.
23:04
@LightnessRacesinOrbit I would be offensive but I'm too tired today.
Oh, you have already found out.
@Rapptz ok
@Pawnguy7 frequently
@LightnessRacesinOrbit I see. I wanted to take to blogging. Anyway, I don't think this is to much self-promotion, as.. there is only one post, to test how it looks. Anyway, before I actually write anything, though, I hope to perfect the visuals. Personally, I think it looks great as it, but it is not to me it matters, but to, in this case, you. Want to try?
@EtiennedeMartel You flip tables at work? Awesome!
user1182183
hey guys does one of you know if it's possible (and how) to sort mail in gmail by aliases? like [email protected] and [email protected] and then I can sort them in my inbox or something?
23:10
I'm trying to come up with a nice 2d function for a water shader this
is a bit too regular :(
Is stringstream the way to go if I just want to do string + integer? Seems like overkill to me
user1182183
add some random values to it with a specific range?
@LightnessRacesinOrbit Due to self promotion?
@GamErix READ THE NAME OF THE ROOM
@Pawnguy7 due to why should I
user142019
23:12
My precious hand-written machine code is borked.
user1182183
@LightnessRacesinOrbit In this room happens everything except C++
@Zoidberg I could have told you that before you wrote it
@LightnessRacesinOrbit Because you said you critique such things, and I am in need of such critical analysis, if possible. If not, though, do you know of a community/website built upon such a concept where I may be able to find a reviewer?
user1182183
@kbok formatting a char string is less "overkill" ?
formatting a char string sucks
user1182183
23:13
@kbok then stringstream it is
user1182183
or go more overkill and use boost xD
@Pawnguy7 Sometimes I critique websites. Doesn't mean I want to do it for you for free at 23:14 as I'm about to go to bed
Ell
Ell
@kbok toString maybe? Or boost lexical cast? Otherwise sstream is easiest
@Pawnguy7 Don't know where to suggest
@Ell what is "toString"?
Yeah boost.format is the answer I think.
23:16
Ok then. I will look around for something. Also, I didn't know what timezone you were in :D
Ell
Ell
std::to_string I forgot if its standard or not
it starts with std::.
Ell
Ell
XD
Good point :P I thought it was just Gcc. And I don't see anyone using it ever
also potato
@DeadMG [Science 90] It starts with std::.
Ell
Ell
23:29
Hey bartek. With response to earlier, I still don't know how to use git properly
So ill just keep contributing teeny little bits here and there until I'm good enough to do something significant
@Ell It's much easier when you realize that the git branches are just homeomorphic endofunctors mapping on submanifolds of Hilbert space. But, branches form basically what could be said is a discrete space and the prior idea fails to materialize since it requires continuity.
3
@DeadMG a lot of nonstandard things begin with std::
@Ell umm
I meant PR = pull request
It's "proposed change"
If you want, we can try some trivial change
and verify it's smooth.
Also Minecraft just launched on GeForce 9600
so yay.
minecraft or minicraft?
Minicraft. Damn typo.
Ell
Ell
23:38
Yeah I don't know how to do pull requests
That is a git thing isn't It? O.o
Also I am in bed currently :3 but I can try another time
ah
You have to fork the repository
Commit the changes
And push them onto your fork.
Then submit PR from GH, I believe
I wish someone would give me a hand with Wide
@DeadMG Do you trust me that much?
(The answer is no)
eh
I'd review your changes, so
That's probably shithard code
23:40
@DeadMG first you'd have to understand the intent, then do a total rewrite. faster to do it yourself most likely
I tend to be quite bad with names and comments and whitespace and such
lol
user142019
Hurray.
user142019
I got mmap to work in C#.
Ell
Ell
Right okay ill have a go another time, though my repo is quite messy
I am not forcing you or anything
But if you really want to contribute, that's the best way
sending emails with code quite doesn't cut it.
23:44
@DeadMG in this code of mine I count 27 comments that aren't code, and it's 952 lines long, so that's a comment per 36 lines. And it's not simple code, so....
Ell
Ell
Right okay, Ill give it a go sometime
I don't have many comments in my code
oh curses my class/file explanation comment is Engrish :( "This container matches the same interface with the following exceptions"
@DeadMG I usually regret the lack of comments 6 months later.
@MooingDuck Well, you are from the US, right? Washington, the state. Not District of Columbia.
Ell
Ell
I do t see what is wrong with that sentence
23:48
Heye party people
.clear() isn't emptying my vector for later usage in my program. What is the correct way to well and truly empty a vector for re-usage?
we are totally partying
@Chucky you are doing it wrong
also don't reuse.
push it out of scope.
I'm not strictly reusing it
so what are you doing to the poor vector?
I'm just not clearing it correctly every time I construct my class that it is a field in.
It retains values from before?
if it is a field in the class, it will be empty when constructed.
23:51
show some code.
@Chucky as in if you iterator over it it still has values?
unless you're doing some seriously illegal shit like memcpying it around.
Show actual code.
Tank::Tank(Vector2D pos, Vector2D speed):
tank_pos(pos),
tank_speed(speed),
bullets()
{
bullets.clear(); //Why doesn't this work?
}
firstly
use a pastebin like, well, pastebin.
secondly, you need to show a lot more than that, especially the declaration of Tank.
23:54
I would but it's only 7 lines
need to see it
wtf bullets()
explicit default construction
ah, I see now.
I can't see code because of stupid DNSes
23:56
@Chucky There's nothing here. bullets should always be empty when the constructor is entered, even if you don't clear() it.
use debugger
0
Q: C++ Errors for no reason, while using a struct in class

Business BusinessI'm in C++, IDE is Visual Studio 2012. I have no idea why I can't do this, it makes no sense at all. I'm trying to put a struct inside of a class, as title says, but it simply will not let me do it. I've tried putting it in public, private, protected, and then tried putting it in global scope, an...

How and when do you observe the vector not being empty?
^^ C++ does not like his ass.
you have probably done some illegal shit like memcpy the class around.
23:57
I have used debugger. It's where I realised the vector was getting strange values.
the debugger can show strange values in the vector even if it is empty.
maybe the debugger is showing some borked values
but also, as I previously stated, it's more likely you are simply doing some stack corruption or something like that.
Error is on line 42.
23:59
man
I should stop playing Nexus Squadron Strike
it really has an annoying habit of turning into a 2hour game

« first day (891 days earlier)      last day (4283 days later) »