« first day (635 days earlier)      last day (4314 days later) » 

6:00 PM
@SamDeHaan If the other players don't have fun, they won't come back and you'll have nobody to play with.
 
@SamDeHaan Well, if they're not having fun, it's only a matter of time before you stop having fun as well.
 
There's always people on public servers.
Being evil is fun.
 
Lies. There's always more public servers
 
besides
from the developers perspective, they don't care about if you have fun, they only care about getting the maximum average amount of fun
 
There's an endless supply of chumps.
 
6:01 PM
And if sniping was such an issue, I bet you could find public servers where certain levels prevented the use of sniper rifles.
 
I can and did.
 
It's silly. Let the enemy team be all snipers.
 
So what is the problem then? Everybody wins...
 
Isn't BF3 CQ an anti-sniper manifesto?
 
It'll be glorious victory.
 
6:02 PM
@EtiennedeMartel It is, actually. I'm buying it as soon as I get back to university.
 
I play Sniper on TF2... with the Huntsman. High K/D ratios are for nolifes.
 
I wish they had more destructibles, though
 
All this talk has motivated me to get back into FPS games..
 
like Cold War for BFBC2
although I haven't played that much CQ
 
meh, games
 
6:03 PM
Just so we're clear: I was joking about hiring more devs. You don't make a better soup by throwing chefs at it.
 
Valve needs to hire more fucking developers and actually develop games
sick of waiting for Half-Life 3.
 
So I like how g++ provides more pedantic warning messages than the C compiler.
 
Also Space Pirates and Zombies -50%.
@DeadMG Your mistake is waiting for HL3.
 
eh
it's been eight years since HL2, they'd need something big to make it a true successor
 
@EtiennedeMartel I play sniper poorly on TF2. I miss UT2004 Lightning gun. I was actually decent at that.
 
6:06 PM
@JimNorton C++ is less lenient on some aspects.
 
The only way to play UT2004 is Onslaught.
 
int i;
for( i = 0; i < ( sizeof( NumberImages ) / sizeof( ImageInfo ) ) && ret == TRUE; i++ )
is fine using gcc

but for g++ i must be unsigned because sizeof returns unsigned
 
@CatPlusPlus Eh, I liked all the modes in moderation.
 
The only way to play UT2004 is to play UT1999 instead.
 
I like more warning messages...
 
6:07 PM
My college's CS labs had UT99 installed for "community building".
 
On high school, we cracked the network admin password so we could drop UT99 everywhere.
 
Orbital strikes and vehicles FTW.
 
The sysadmin is the guy who installed it at my college. He didn't drop by to play very often though.
 
So where does one get the latest Counter Strike? valve.com?
 
In college, we played mostly COD4. When we had a class, our teachers would wait for us to finish our match to begin.
 
6:09 PM
or wherever valve steam is?
 
@JimNorton The warning is quite correct. Signed/unsigned comparison isn't fun
 
@DeadMG Yep... Odd that even using -Wall gcc doesn't complain about it..
 
It's on -50%.
@JimNorton Different rules.
Contrary to popular belief, not all of C is the same as C++.
 
also
y u no declare i in the for?
even C99 allows that
 
Ell
6:11 PM
does static_cast<unsigned>(my_signed) do a proper conversion?
 
@JimNorton Jim, why not for(unsigned i = 0; ...?
 
Ell
or error when it can't be done?
 
@DeadMG I sometimes do...
 
It can always be done.
 
6:12 PM
@JimNorton Consistency man.
 
@Drise I sometimes do..
@Drise Yeah, but sometimes my co-workers complain when I do that...
Stupid coding standards
 
@JimNorton Shoot them.
 
Then eat them.
 
@JimNorton Sometimes is a bad thing as a programmer. Choose one way, and only deviate if the qituation requires it. And fuck your coworkers. It leaves stupid temp counter variables laying around.
 
And steal their strength.
 
6:13 PM
Then shit them and shoot them again.
 
You people/robots are in an interesting mood this week.
 
funny to see Arma 2 so high on the Steam sellers
that DayZ mod has been attracting some serious attention
 
So I see I can get CSS for $10, what a deal.
 
@JimNorton It's the Steam Summer Sale.
if you keep coming back, you'll keep seeing so many deals, you'll sell your children.
metaphorically speaking
 
@DeadMG maybe
 
6:15 PM
I'm going to try this out.
@DeadMG Depends on the game. I've actually move away from Steam to the XBox now anyway.
 
OMG Y NO PS3 NOOB
 
@Drise That looks pretty neat... I may try it as well.
 
@EtiennedeMartel Xbox live beats out PS3 crap network thingy anyday
 
@EtiennedeMartel I have a PS3, but sadly I use it mostly as a Blu-Ray player because I can't stand playing FPS games with a controller... I still prefer keyboard and mouse.
 
@Drise Neat thermostat. But what if it gets angry at the amount of energy I'm not saving and punishes me for it?
 
6:18 PM
@SamDeHaan I'll report back if it chooses to do so.
 
@Drise I'm sorry, I can't hear you over the sound of my superior exclusives.
(Well, inFAMOUS and Uncharted anyway)
 
I'm sorry, I can't hear either of you over the sound of not having a locked-in experience with a device that can only do one thing and the games are cock expensive
 
I'm sorry, I can hear you all perfectly well.
 
@DeadMG I still can't hear you over the sound my money makes.
 
well
I do want to play MGS4 :P
 
6:20 PM
Meh, consoles.
 
but apart from that, I don't know of any compelling experiences on console only
Final Fantasy went down the shitter
 
Hey ppl
 
Real people play on PC.
 
i have a very stupid question about C... even though this is C++ chat, i figure you will have an answer (or laugh at me for asking ;) )
 
let fib n = fibs !! n where fibs = 0 : 1 : zipWith (+) fibs (tail fibs)
fibs in Haskell!
 
6:21 PM
@FlorianPeschka No, I will simply bin the question.
 
I keep my promises about binning stuff.
 
> looks like Lisa Simpson performing oral sex.
WTF?
@DeadMG BIN ALL THE THINGS
couldn't even read the question, he was too fast
 
67
Q: What REALLY happens when you don't free after malloc?

ScottThis has been something that has bothered me for ages now. We are all taught in school (at least, I was) that you MUST free every pointer that is allocated. I'm a bit curious, though, about the real cost of not freeing memory. In some obvious cases, like when malloc is called inside a loop or ...

 
hmm what if i say it actuall IS about c++?
 
6:23 PM
I also bin answer begging.
 
Five seconds of search.
Five whole seconds.
 
@FlorianPeschka I'm already laughing. Ha! C
 
@FlorianPeschka Then too late because I already saw that it was not.
 
@FlorianPeschka yes the OS will free after you app exits
 
dang
good
 
6:25 PM
that doesn't excuse leaks though
 
It also doesn't excuse not searching
 
ya i was just wondering
sorry :(
 
For the record, I used this query: "memory free end of program [c]"
 
@FlorianPeschka You should be.
 
The big problem with not freeing dynamically allocated memory is when a program allocates memory often, doesn't fee it, and runs for a long time. But if the application only allocates a few times and exits without freeing it's not usually a problem... but good taste dictates you should free your memory...
 
6:26 PM
people like us volunteer to come help out other people, and it's not exactly encouraging to have people come into our relaxation room and dump irrelevant question on us.
 
meh, I never volunteered anything
 
You're evil.
 
you people are just using my goodness to answer your questions :P
lol
 
okay. then i don't understand my error at all... well thanks
 
I like cookies.
 
6:28 PM
@FlorianPeschka Stack Overflow
 
@DomagojPandža me too. Too much :P
 
already did
 
you should ask there
@FlorianPeschka link?
 
Oh damn cookies.
 
@DeadMG Speaking of irrelevant questions, why do managed languages seem to use exceptions for control flow so much?
 
6:28 PM
I need to get out now if I want to catch the store open.
Later.
 
@IDWMaster because people writing in managed language don't understand exceptions
 
@IDWMaster NFI. It's probably a completely inaccurate perception.
 
they're for Exceptional circumstances, not flow control
 
Dude, it's not better just because you dump a link instead of say it.
 
:4503152 I suspected it was this question
 
6:30 PM
he asked for the link
 
@DeadMG Blame the perv Tony :S
 
I saw it, you haven't posted all your code, so hard to say were your error is
it's not in the code you posted
or not visibly at least
@RMartinhoFernandes oi, calling me a perv. I'm not a perv, it's all an illusion
 
well thats the part where it ocurrs at the least
 
well, the error isn't there
if you ask for help, but refuse to cooperate then there's nothing I can do
besides add you to my ignore list
 
6:32 PM
i would love to cooperate if i knew how
 
i certainly can't post my whole codebase to SO can I? ^^
 
GRRRRRRRRR, POST YOUR DAMN CODE, ALL OF IT! EVERY DAMN LINE
8
@FlorianPeschka ideone.com
 
sigh brb
 
and then he sighed, cause I tried to help, meh
 
6:34 PM
na it's just so much to post
 
@FlorianPeschka post it anyway to ideone.com
 
i github gist ok? i can create multiple files there
 
@FlorianPeschka You can try to produce a SSCCE by stripping out gigantic parts of the program and each time testing to see if it repros that error. Eventually you may get it down to a simple 10-liner that shows it.
I've done that before with a 100k+ line program. Eventually traced down to a compiler bug that MS confirmed.
 
6:38 PM
well okay, it's not THAT big^^
 
@FlorianPeschka Oh, so I see. My mistake, then.
 
@DeadMG what?
 
@StackedCrooked Did you declare a type in a template specialization?
I didn't even know that was possible.
 
6:41 PM
@DeadMG Yeah, I learned that from Alf a while ago. It's quite handy.
 
@DeadMG Someone call 911, I'm having a heart attack. :-)
 
wy?
 
Because you are wrong about something and informed us of the fact... :-)
 
/shrug it happens
 
So my application compiles with g++, is it now a C++ program? LOL
Seriously, still struggling to figure out what my first class will be in that app though.
Maybe a class built around one of my structures...
 
6:47 PM
dude
don't start by writing a class
start by using the classes provided as Standard
especially resource management
 
I'll call 911 when @LucDanton or Johannes is wrong about something C++.
 
and ask yourself what happens and who should be doing it. If the who is a something that might fit the role of a class, make it a class. Otherwise just wank on templates and RAII.
 
Ell
literally
 
Jun 27 at 15:08, by Etienne de Martel
Well, as we all know, any code written in a .cpp file is C++.
 
Well, the small C app does have a data structure that is largely used throughout the program and I have several functions that manipulate and use the data from the structure... Seems a likely candidate for a class...
And in that class I will surely use the std classes where applicable...
 
6:53 PM
Dang, decent OOP is difficult to explain. (not saying you're doing it wrong, just a general comment)
 
Yep, I'm maybe over thinking this... trying to get the class structure correct ... kind of trying to run before learning how to walk.
 
you might even argue that without some form of encapsulation and/or inheritance going on, there's absolutely no reason to use a class with member functions.
 
So I'll just jump in, create my data structure class with it's methods and see what happens... I will certainly learn some C++ even if it's not perfect OO style.
 
@JimNorton please don't say methods.
They're functions, or member functions.
 
Please don't worry about it.
 
6:56 PM
method is sooo Java.
 
Methods is perfectly clear.
 
When I see method, I see "way of doing stuff".
as in: algorithm.
 
static. I rest my case.
 
@JohannesSchaublitb Go!
 
6:59 PM
@Drise Lua!
 
@JohannesSchaublitb Lua!
 

« first day (635 days earlier)      last day (4314 days later) »