« first day (1748 days earlier)      last day (3183 days later) » 

12:00 AM
...and the answer is, "yes they have to be"
> Given f, a value of type T or const T, args, suitable argument list, which may be empty
> The following expressions must be valid: f(args) - performs a function call
 
what does making a const operator even do?
you can't modify the operator? xD
 
This should be explained in your C++ book
 
my c++ book is ancient
 
Go read The International Standard -- the best C++ book around
 
stop trolling nabijacz
I'm gonna call you "nabijacz w butelkę" from now on
 
12:04 AM
dammit, buggy
kekek
 
oh, so const functions can operate on const vars
can they operate on regular vars too?
 
sure
 
so its only that regular functions cant operate on const vars
 
No
It's strictly prohibited by federal law
 
so making a function const, assures that the args will not be modified?
 
Ell
12:07 AM
No
 
explain further
 
Ell
It means that the object itsself must be const
 
It means that ketchup might or might not be better than mustard
 
so why not make every function const and thats it
 
Ell
12:07 AM
Because that would make const entirely point less
 
@Ell s/must/is/ because automatic constification, I think
 
Because you can't make every member function const
 
so having const functions is only useful to work with const vars
 
Because it's inherently impossible
 
Ell
Why would you want push_back to be const, for example?
@ChemiCalChems yes
 
12:09 AM
@Ell Because immutable collections!
Leskakk
 
Ell
@nabijaczleweli automatic constificsiton? Can I see an example?
 
@Ell it would be able to manage non const vars too, so whats the problem?
 
Ell
@ChemiCalChems can you rephrase? I don't understand what is "managing" what
 
I have never written a unit test in my life, does anybody know of a book or something that covers unit testing for MSVC?
 
@Ell As in: non-const instances are treated as const when needed
 
12:10 AM
@Ell It could take non const vars as arguments too
 
Ell
@nabijaczleweli why doyou think that is the case?
 
@Mikhail Use bandit, read the README, done
 
Ell
@ChemiCalChems marking a function as const has nothing to do with the argument
 
@Ell So what does the const identifier mean exactly?
 
Ell
Making the function as const basically says that the object pointed to by this must be const
 
12:11 AM
@Mikhail Was going to call you a terrible programmer before I realized I haven't either
 
@Ell class f00{void m00() const;}; f00 inst; inst.m00();
 
@ʞɔᴉN Well, I'm not a programmer, its just the people I work with suck
 
Ell
@nabijaczleweli oh sorry I thought you meant the other way round
 
@Ell Mind broke, but thanks for the info
 
std::vector::size() is const because you want be able to get the size of both const and non-const vectors, but you don't want std::vector::push_back() to be const because that would imply others can modify a const vector.
 
Ell
12:12 AM
Wait no
@nabijaczleweli that ain't right
 
@Ell Why?
 
Ell
You can't call m00 because that requires const
Try on coliru
Oh wait
 
derp
 
Ell
Ah feck sorry I'm getting confused, you're right :P
 
privateness, but that's it
 
12:13 AM
@milleniumbug So it does have something to do with the arguments it can take huh?
 
huh what
 
Ell
@ChemiCalChems noo
Let me try again
 
forget about arguments
 
I can't believe you're still feeding this lame trell
 
Ell
Marking a function const says "this function does not modify the object"
That's it
(Kinda)
 
12:14 AM
Yeah, I forgot why I had you plonked for a while
Goodbye again
 
@Ell The object that it's given, or the object of which the method is part of?
 
@ScottW He left like 80 mins ago
 
Ell
The object of which the method is part of
The object which you are calling the method on
 
@Ell Unless a member is mutable
 
@Ell Ell plz
Stop feeding the trell
 
Ell
12:15 AM
I will now
@ScottW I'm in bed
;(
 
@Ell lennyface
 
Ell
Sorry. Another time
 
@Ell You're always in bed
 
( ͡ ͡° ͡° ʖ ͡° ͡°)
 
Ell
@jaggedSpire :(
 
12:16 AM
@Ell That's the opposite of a problem, though
 
@Ell It's almost like we live in different time zones, or something.
 
is this room active?:)
 
@Ell I think I get it now. So for example, to compare 2 member vars, you would use a const method, cause they are not gonna get modified
 
guess it it:)
 
@cc2k no
 
12:17 AM
@cc2k It's ded
 
:P
 
liek so ded
 
Ell
@ChemiCalChems yes
 
@Ell :D Thanks bro
 
@cc2k We're just pretending to be active
 
12:17 AM
@Ell Ell!
 
Ell
No probs
 
i got an algoritme isea , can you guys help me with that?
 
2 days ago, by milleniumbug
@CamelToe Lounge<C++> is currently dead and unreachable, please leave condolences after a beep
 
@jaggedSpire We just pretend all day long
 
@ChemiCalChems It would mean an error message from the compiler (or should, anyway). basic_string has a couple more template parameters, but the next one is the traits class, and trying to pass an int for it should definitely fail.
 
12:18 AM
@ChemiCalChems Were all bots
 
issue*
 
@Borgleader beep boop
 
You can only prove your own existence
 
@JerryCoffin Oh shit, ok.
 
Ell
@jaggedSpire what time zone are you in?
 
12:18 AM
@Ell CST
 
@Ell But a const method could modify mutable members at will right?
 
Ell
Central silly time
 
@jaggedSpire Fewer letters, more numbers plz
 
Ell
@ChemiCalChems yes
 
@nabijaczleweli UTC - 6.
 
12:18 AM
@Ell :D
 
fuck time zones
4
 
@Ell alderaan
 
Ell
Its up to you to decide if it's sensible for it to be const or not
 
make everyone use UTC
 
Ell
I am GBT
Great British Time
 
12:19 AM
@Borgleader RIP Borgleader
 
@milleniumbug Sleeping from 12 pm to 8 pm ftw
 
Gigantic British Terribleness
 
@milleniumbug We should go back to each town setting its own time based on when the sun is directly overhead there.
 
@JerryCoffin That would work.
 
@JerryCoffin That would surely simplify matters
 
12:20 AM
@JerryCoffin Yeah, this is gonna work out well
 
@jaggedSpire colorado?
 
@ʞɔᴉN That's Mountain time, UTC - 7
 
my problem is: i dont know how to make the 2th round in a single eliminiation tournement ( http://www.printyourbrackets.com/pdfbrackets/128teamseeded.pdf )
this is my psuedo code for now(not c++ tho) ( http://pastebin.com/Lb2vURUJ )
 
@jaggedSpire Well, it really does. If you know your longitude, you know exactly what time of day it is.
 
Oh no, not the tournament C++ code
 
12:21 AM
@jaggedSpire i'm very good at geography
 
@ʞɔᴉN geography obliviousness masterrace
 
@ʞɔᴉN eh not everyone has the time zones memorized
 
Using actual UTC offsets would eliminate the need for using weird acronyms that don't mean anything
 
So wait. If everyone had his own timezone depending on the sun being above their head, would latitude also have effect on their time?
 
@nabijaczleweli Worked fine for centuries.
 
12:23 AM
@JerryCoffin Before global microsecond synchronization
 
@JerryCoffin When everything was much less instantaneous.
 
@JerryCoffin That's arbitrary though
The sun is moving itself
 
so could someone help me with my problem?
:)
 
@cc2k yes
Nobody is gonna, though
 
@jaggedSpire Hmm? Electricity travels the same speed now that it did thousands of years ago.
 
12:25 AM
Granted, if we got everyone to agree to "Noon is when the sun is directly overhead, and no other time" things might get simpler for the poor schmucks who have to deal with all those different times
 
Remove timezones, and make people call "noon" different numbers on their watches
 
@JerryCoffin Scheduling and the demands of a world where news no longer travels at the speed of horses.
 
@TonyTheLion This just made my fucking week. It's completely true.
 
So in my timezone when I say "noon" I mean 13:00
 
Yes I call "noon" when it's 666 on my watch why
 
12:26 AM
DST is yet another total retardation
 
@milleniumbug Just get rid of those pesky watches. Do you honestly think people's lives are better for having 10 times as accurate a measurement of how far behind schedule they are?
 
@nabijaczleweli Just get everyone to use UTC and UTC alone. If there are arguments about Eurocentrism, offer to use a 25-hour day instead.
 
What is DST
 
Nuke DST from orbit
5
Daylight Saving Time
 
Ahhhh yes
 
12:27 AM
@milleniumbug Fuck that shit.
 
Kill it with nukes
Why do PDCurses define NULL
 
@jaggedSpire How about if we quit giving in to the demands of the world, and demand what we want instead (starting with a more relaxed attitude toward time)?
 
@Ell, I'm sorry, I'm presently on CDT which is UTC - 5 after all.
 
@JerryCoffin a.k.a. a bunch of cultures
 
@nabijaczleweli I'll have to take your word for that (I was thinking of the Philippines).
 
12:29 AM
Where time isn't as point-perfect as in English
 
@JerryCoffin 'MURICA
 
There's actually a word for that
 
I would say DST is literally Hitler, but that would be the wrong war.
 
@JerryCoffin That would be super nice, but would drive a few segments of the population used to being on time completely up the wall
 
> Starting on 30 April 1916, Germany and its World War I ally Austria-Hungary were the first to use DST (German: Sommerzeit) as a way to conserve coal during wartime.
 
12:30 AM
@milleniumbug That was an intelligent strategy. But it sucks now.
 
@milleniumbug Literally the black hand?
 
@jaggedSpire Yeah. Those guys fucked up. xD
 
As atrocious as the war was, the blame was pretty well shared by 1916, if I'm recalling correctly.
Or the guy who made Mustard gas. I hear he was a jerk
 
I like mustard
 
@jaggedSpire Anybody that anal about time probably deserves to be in an insane asylum anyway.
 
12:33 AM
Probably not mustard gas, though
 
@JerryCoffin :(
...did I just kill the conversation?
 
Think about it, humans are the only creature follows an artificial thing called time. Every other living creature follows a thing called bio-clock ... unless they are trained by humans
 
@jaggedSpire you monster
 
@jaggedSpire no you became sad and we are afraid of making you more sad
 
@jaggedSpire that's how I feel every time I say something
probably because everything I say is cancer
 
12:36 AM
@Borgleader Truly, my evil knows no bounds.
 
@jaggedSpire evil laughter
 
@nabijaczleweli Mock sadness, though.
I've learned to avoid showing weakness on Internet chatrooms.
 
@nabijaczleweli Mix some bleach and ammonia, and breath the result. Not as nasty as mustard gas, but enough to make most people think twice nonetheless. [In case it wasn't clear: no, do not do this. The results really are quite toxic.]
 
The trolls can smell fear.
 
@jaggedSpire we can taste it too
 
12:38 AM
 
@JerryCoffin Hey @ChemiCalChems I have something for you to do on the weekend
 
Heads up: we will be performing a read-only test in our new data center on August 1st (this Saturday). http://stackstatus.net/post/125387022934/read-only-test-august-1-2015
 
@Feeds Nobody cares
 
12:56 AM
Anybody up for some EXTREME PONG?
NOW WITH MUSIC AND SOUND EFFECTS!!!!!!!!!!!!!
 
why so extreme
 
@milleniumbug It's for the if statements.
I kid
 
I did pong too once
 
HERE LET ME SHOWWW YOU
 
12:58 AM
@VermillionAzure Did you do something about them?
 
@VermillionAzure No.
 
@jaggedSpire I did something extra to the mechanics
it features acceleration
here, try it.
 
The passive aggression in the capital N and the full stop. I can taste it
 
The most distinguishing feature was two-mouse support (but the second mouse must use serial port)
 
Also, we have music now!
 
12:59 AM
@VermillionAzure Your if statements are going to rise up and attack
 

« first day (1748 days earlier)      last day (3183 days later) »