« first day (473 days earlier)      last day (4460 days later) » 

6:00 AM
The former "additional" 200 points were an illusion. Now you know your true value!
 
You can see your real value without triggering the recalc. It's listed there at the bottom.
** total rep 29515 :)
 
Arg, didn't recalculate tag rep or whatever it's called
 
No difference. :)
 
Well I retagged an old question as gdi+ that I had 6 upvotes for an answer on
 
@SethCarnegie Well, that is updated daily.
 
6:02 AM
There isn't by chance a decalculate button is there?
 
lol
 
6:03 AM
lol
 
\o/
200 rep is only 1 repcapped SO day
 
> Stack Overflow is currently offline for maintenance
 
Just ask an awesome question and you'll be back in no time.
@RMartinhoFernandes not for me...?
 
It was for a second
 
6:05 AM
Hey!
Oh.
It's back on.
 
I might learn Java or C# so I can branch out into another SO tag than C++
 
I find repcaps really hard to hit unless I start answering all the newbie questions...
 
> You may only commit a comment vote every 5 seconds.
Why???
 
That's the most annoying of all silly restrictions.
 
6:06 AM
@Mysticial I do that anyway and I still don't repcap often
Also if you try to delete a comment within 5 seconds of voting, it will tell you you have to wait 5 seconds between comment votes
 
@SethCarnegie Learning Java is a great way of boosting your rep.
 
@SethCarnegie The land is very boring these days.
 
Isn't that where Jon Skeet gets all his rep
C#
 
@RMartinhoFernandes Even with async and stuff?
 
@FredOverflow Yeah, no kidding...
 
6:08 AM
Or is that why it's boring
 
@SethCarnegie mostly
 
@SethCarnegie Yeah, because he snipes all the few good ones.
@FredOverflow That's not out yet, so there aren't many questions about that.
Either Jon or Eric.
 
@SethCarnegie Jon Skeet also does a bit of C++.
 
Never seen him answer a question or anything
 
@RMartinhoFernandes I like reading what Eric Lippert has to say.
 
6:10 AM
@FredOverflow Most of those are cross-posted to or .
 
I see.
 
I still think we should make a "community account" for everyone to use so we can compete with Jon Skeet
 
@FredOverflow Yeah, pity he's not into writing books.
 
since you can be logged into one account from multiple computers at once (IIRC)
 
Let's call it "Lounge<C++> vs. the World"
 
6:11 AM
@SethCarnegie Excellent idea. Welcome "Down With Jon Skeet"!
@RMartinhoFernandes I read that as "Lounge<C++> vs. hello World" first...
 
Anyway, gotta take a shower.
 
@FredOverflow It's a reference to Scott Pilgrim vs. the World.
Also, totally crappy synopsis on IMDB.
 
While everyone else is trying to follow KISS, Microsoft was busy inventing KICK - Keep it Complicated Knucklehead
13 fake options that represent 3 real options
 
What about a tri-state with five options, but only two supported ones?
 
6:17 AM
Needs more unsupported options
 
lol, that's a good one
 
0
Q: Is __Garbage__ a keyword in C++ macro?

Kimstruct __Garbage__MyStruct {}; What is the purpose of this in c++? It always occurs after the declaration. struct MyStruct;

A garbage keyword would be awesome for code reviews.
 
6:33 AM
hehe
 
@RMartinhoFernandes Garbage Java was, I thought.
Ah, another candidate for bullshit benchmarks.
 
dammit, i was just about to answer it, and you, fellas, closed it already!
 
It's meaningless.
 
Even I didn't to answer it...
 
@AzzA It's important to pick your battles.
 
6:43 AM
Well, it's addition + 1 instruction...
 
To be honest, if there is a difference, the shift will be slower.
 
I think, it's just the same.. late night, slow night... James does not want to show assembler... Fred does not want to run my bullshit benchmarking on GCC...
So, I'm sad...
 
@Mysticial But they do different things...
 
I'm surprised by the amount of people that didn't notice that.
 
@KerrekSB That's fine, it's fair to compare the speed of different things. For example, multiplication is faster than division...
 
6:46 AM
What about printf compared to atan2? Which one should I use?
 
@Mysticial If you mean comparing division with multiplication by reciprocal, then those do the same thing.
 
Is switch better than return, or goto better than char?
 
I didn't say a thing about which to use. I'm just saying that you can slap a timer over anything and get a number.
 
Yeah, but the shifting char >> 8... isn't it like xor with Carry flag?
 
Whether or not that number is meaningful is a different story.
@AzzA huh?
 
10 PRINT "YOU ARE A KIKOOLOL"
20 GOTO 10
 
What's a kikoolol?
 
@RMartinhoFernandes I think it's some Japanese fetish.
 
@RMartinhoFernandes Try asking it on english.SE :)
I guess google works too:
> Kikoolol is a word that describes annoying people (generally no older than 12 but older people are sadly known to indulge in this too) who cannot help writting lol in every sentence...
Why didn't quote work?
 
Hehe, Markdown wins again!
@Mysticial Missing space.
 
6:52 AM
You left out a space
 
Ah, there we go! thx
 
Ow.
0
Q: Explicitly deleting destructors and not calling delete

JesseI was reading the C++11 FAQ and noticed this: class X4 { ~X4() = delete; // Disallow destruction } This implicitly also disallows moving of X4s. Copying is allowed, but deprecated. I also found this quote. Deleting the definition of a destructor will require allocation on the free-store...

 
@Mysticial Oh, sorry... I was just saying that char >> 8 = 0 always, if char is unsigned and carry flag will be set (or not)... And if it's signed it'll be either 0 or -1? Am I wrong?
probably, am...
 
@AzzA It's actually undefined if char is only 8 bits.
 
char x = 1000; std::cout << (x >> 8); prints "4" in Hell++.
 
7:03 AM
Really? Wow, I thought something like unsigned char >> 30 will be 0. It's actually undefined behavior? Good to know...
 
The size of char is implementation-defined.
 
Isn't char the one that IS defined to be one byte?
 
Hell++ doesn't exist, so don't worry. But some TI DSPs have 16-bit char.
@AzzA Yeah, but one byte can be more than 8 bits.
 
@RMartinhoFernandes well, you killed me there... I did not see such a low blow coming...
 
You're not likely to run into such an implementation, but they do exist.
 
7:10 AM
Thanks. Yeah, reading about byte now. It does say holding at least 255 diff. values and represented by at least 8-bits. I never knew/payed attention to at least.
 
So you can't assume that 0xFF is the max value of an unsigned char. I think a lot of code is breaking that rule then.
 
@StackedCrooked I doubt any good code would rely on 0xFF being the maximal value.
 
Of course there is. It wouldn't be a rule in C++ if it wasn't broken daily.
 
I don't see the logic behind up-votes...
 
7:17 AM
My teacher told me that I am unique. Does that make me a singleton?
 
You can be cloned.
 
@StackedCrooked I think me meant "simpleton"; perhaps you misheard?
 
Actually, I'm not sure the technology for cloning is ready yet.
 
@StackedCrooked this->clone().
Might throw, I guess.
 
7:18 AM
:)
 
@KerrekSB Lol
Cloning failed, I blew up.
 
Actually, a "simpleton pattern" might be a good idea. Promote classes that don't quite end up doing what they promise, and that get little things wrong.
 
xenomorph<Creature> chest_burst(Creature& c)
 
For that "gritty feel".
 
simpleton<int> i(3 + 4); // might be slightly off
 
8:22 AM
> KerrekSB: Might throw, I guess
> StackedC: Cloning failed, I blew up

We need to amend the specs:

     clone() const blow();
 
fucking hell! I just cycled into work for the first time since October, nearly died I am that out of shape
 
@thecoshman I just cycled the kids into school, nearly froze an eyebrow
(just kidding, Only -5 degrees Celsius around here)
 
it's not that cold here, but my hands felt the chill as I didn't think I would need gloves
 
sbi
9:13 AM
@sehe It's been -12°C at my bedroom window this morning. Bloody hell!
 
that's cold. all of a sudden too, isn't it?
 
sbi
@sehe It started at the weekend, actually, but it's been going down steadily, and they say it will keep going down until Friday, when we are supposed to reach nighttime temperatures of -20°C and below.
And just in December birds were starting to display and buds were blooming, because we had +10°C!
 
@sbi Yeah we had the flowerbeds blooming already, we had +15 even somewhere during last week. But I'm at 35 km from the coast so that softens the climate considerably
It's supposed to get colder here too :) Amazing how the weather services do a good job at 'just saying it' nowadays
I have a feeling that, 10-15yrs ago, the weather service would tentatively say 'It looks like it could be getting colder soon, with a cold front approaching from blabla and the wind finally turning to east'
These days they just say: "Over the weekend we'll dive into frost". And, oh, "expect temperaturs around -10".
Back in the day we used to ridicule the poor weather anchor (who never got yesterdays weather right), but those days are gone
 
sbi
Well, for about two or three days they have become quite good. However, IIRC, at about four days in advance, the prognosis has a probability to be right of about 65%. Add another few days and they're quickly down to 55% — which is barely above drawing straws.
I feel like the weather here rather often "lags" behind a forecast that reaches more than three days. Like, if they announce on Monday how the weather is supposed to turn until Friday, it might not actually turn until Saturday or Sunday, and the turn might not be as dramatic as expected.
 
9:40 AM
on the plus side, your countries are used to it freezing over. In Ireland and UK it's a huge surprise that it gets cold at winter and the entire country (countries) go into panic and can't cope.
 
@thecoshman well we have that sentiment here too. In practice, we do cope. The Dutch just like to moan while doing so :)
Perhaps last year we had a /fail/ in that the government failed to use its supply of road salt (?) wisely; it had been almost depleted when it turned out that, for the first time in many years, we were gonna have a looong period of frost with snow
@sbi: we have a very dry frost since the weekend. Which is good because it means that slippery-ness is limited and no window-scraping in the morning
 
10:08 AM
If you'r going to use Jdoc
Bloody well use it!
(╯°□°)╯︵ ┻━┻
 
sbi
@thecoshman Well, we are not used to temperatures below -10°C. It rarely ever gets this cold around here.
 
yeah, -10 is stupid cold, we had it last winter. The heater in the pump house broke and pipes froze to ages to thaw out
 
frozen pipes is teh bads
 
2
Q: How these typedef equations get solved in C

Amit Singh TomarI have following typedef declarations in c but confused how I read these declarations. typedef char *pc; /* pc is pointer to char */ typedef pc fpc(); /* fpc is function returning pointer to char */ typedef fpc *pfpc; typedef pfpc fpfpc(); typed...

a is an array of function pointers returning a pointer to a function pointer returning a pointer to a char. Did I get that right?
 
sbi
@thecoshman "...they say it will keep going down until Friday, when we are supposed to reach nighttime temperatures of -20°C and below." I just looked at a forecast, though, which claimed nighttime temperature for Berlin "only" at around -14°C.
 
10:23 AM
uhm, stupid question: Do they seriously want to tell me that I have to buy the C++ standard?!?
 
@NikiC yep. as any ISO standard.
 
That's just ... great
 
Or anywhere on the net (google +c++ n3242 filetype:pdf)
 
It's just 500€.
 
@CatPlusPlus trawling like a praw
 
10:35 AM
Hello all
How use crosstool scripts kegel.com/crosstool ?
I have some questions about this
 
@sbi he he he, "only"
 
11:03 AM
@CatPlusPlus €500 FTFTY
money sign goes before the amount
 
11:46 AM
@thecoshman In US, maybe.
 
@CatPlusPlus and for £ and €
though true, it is not a universal rule
 
sbi
No good rule comes without an exception, not even this one.
 
We say "nnn <currency>", so I always put currency symbols after the amount.
 
@CatPlusPlus yeah, but I say fornettically, but that's not how it is spelt
 
It's just unnatural order.
Though it might be easier to parse if you happen to be a robot.
 
sbi
11:54 AM
Spelt (Triticum spelta) is a hexaploid species of wheat. Spelt was an important staple in parts of Europe from the Bronze Age to medieval times; it now survives as a relict crop in Central Europe and northern Spain and has found a new market as a health food. Spelt is sometimes considered a subspecies of the closely related species common wheat (T. aestivum), in which case its botanical name is considered to be Triticum aestivum subsp. spelta. Evolution Spelt has a complex history. It is a wheat species known from genetic evidence to have originated as a hybrid of a domesticated tetra...
 
it puts into context what your number is
 
0
Q: Macro for function and function pointer declarations?

IntermediateHackerI'm trying to create a Macro function for defining function pointers , functions etc. Here's what I'm trying to do: #define PRO_SIGNAL_MAX 5 #define PRO_SIGNAL( func, param ) (*func [ PRO_SIGNAL_MAX ])(param) I want to use this to declare an array of function pointers of size PRO_SIGNAL_MAX. ...

 
@sbi ¬_¬ I deliberately did that to help further my point
 
Plus, our national currency symbol is never prepended to the amount, so I don't care about your rules!
 
@CatPlusPlus what currency is that?
 
11:57 AM
PLN a.k.a. zł.
 
@CatPlusPlus that's a new one on me :P
 
The złoty (pronounced ; sign: zł; code: PLN), which literally means "golden", is the currency of Poland. The modern złoty is subdivided into 100 groszy (singular: grosz, alternative plural forms: grosze; groszy). The recognized English form of the word is zloty, plural zloty or zlotys. The currency sign zł, is composed by + . As a result of inflation in the early 1990s, the currency underwent redenomination. Thus, on January 1, 1995, 10,000 old złotych (PLZ) became one new złoty (PLN). History First złoty Kingdom of Poland and Polish-Lithuanian Commonwealth The złoty (golden) is a...
 
oh, well, nice to know :D
 
@IntermediateHacker did you tried using it as void PRO_SIGNAL( paint, Pro_Window* ); instead of void PRO_SIGNAL( paint, (Pro_Window*) ); ?
 
@John no. but it works now.
 
12:06 PM
and it seems others already suggested that at your answer
 
12:22 PM
fuck
I have an exam which I thought was in three hours and it's actually nearly right now
really not good
 
@DeadMG run
0
Q: What's this unexpected std::vector behavior?

murrekattI found something surprising with std::vector that I thought I'd ask about here to hopefully get some interesting answers. The code below simply copies a string into a char vector and prints the contents of the vector in two ways. #include <vector> #include <string> #include <i...

^ I answered/commented a question, yay!
 
Anyone here use vi or VIM?
0
Q: Save vim settings across launches?

MosheMy professor assigned an ssh account to every student in my programming class and mandated that we use VIM for text editing. I discovered :set nu and :set autoindent. I noticed that those two settings reset after every launch. Is there a way to make them persist on my ssh account? What about on V...

 
12:39 PM
you can write a .vimrc file and place it into your home directory. It gets read on every vim start. And there are tons of examples out there
 
@Moshe There you go.
 
@CatPlusPlus Thanks. I googled it wrong the first time.
@John Thank you.
 
There are also a lot of real vimrcs on the web, that might give you some ideas for your own.
 
Yup, yup.
 
hehe, I can link pure win32 api calling programs without linking to a C runtime lib. Awesomeness
 
sbi
1:07 PM
@AlfPSteinbach That's a dupe. Voted to close.
 
hey guys, any idea why CreateMappingFile() will give a PATH_NOT_FOUND error on file path that worked for CreateFile()?
oh sorry
the question is even greater
hFile = CreateFile(filename, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_DELETE, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
hFileMapping = CreateFileMapping(hFile, NULL, PAGE_READWRITE, 0, sizeInBlocks*SO_BLOCK_SIZE, filename);`
 
@MeLight I am not sure, but the filename in CreateFileMapping may be not right. As far as I understand it, you have to enter a name for the file mapping, not the name of the mapped file
 
1:27 PM
ill rephrase
even better
ill post a q
 
@MeLight Don't think he'll like that, but you can try…
 
Did you tried your code with for example hFileMapping = CreateFileMapping(hFile, NULL, PAGE_READWRITE, 0, sizeInBlocks*SO_BLOCK_SIZE, "testmapping");?
 
@Potatoswatter funneh :)
@John one sec
 
It's the best Q.
 
Damn
that worked
 
1:36 PM
Hi, I'm trying to add elements from a temp vector to a vector called non_active, and then remove from the original vector called active. However it's failing on calling erease Is this the correct way to do it:
non_active.insert(non_active.begin(), temp_list.begin(), temp_list.end());
active.erase(temp_list.begin(), temp_list.end());
 
what's the thing about the Windows Fibers? What's the difference between a thread and a fiber? MSDN isn't really clear on that.
 
@MeLight That's because the last parameter specifies the name for the memory map, and there seems to be some restrictions on it. I don't know any details, but inserting a filename obviously does not work. here is someone who has your exact problem, but the only useful answer is, that the name should not contain backslashes
 
@rubenvb a fiber is just a very lightweight thread of execution that runs on a thread. So it's not a thread, but just a lightweight construct running on it
fibers don't require context switches to run
where threads do
 
ah so it's like gnupth then?
 
@rubenvb msdn says that you can't gain performance by replacing threads with fibers
 
1:39 PM
So now I really don't know wtf the use of a fiber is...
 
they can be useful for reducing lines of code, it's sorta coroutines
 
0
Q: Is imperative Quicksort in situ or not?

FredOverflowQuicksort is often described as an in situ algorithm, despite the fact that it requires O(log n) stack space. So does in situ mean "requires less than O(n) additional space", or does stack space generally not count as space complexity (but why would that be the case?), or is Quicksort actually no...

 
1:57 PM
can you use the erase-remove idiom to delete all elements from collection A that are in collection B?
 
All right, I just coded my first "hello from thread" in pure Win32 API. Awesome
Unfortunately, I had to combat MSVC's C89
 
@rubenvb why not C++ ?
 
@Abyx I'm trying to avoid msvcr* libraries. I only use kernel32.lib for now
I'll check if changing the file extension works
 
Yes, that sounds like a not-waste-of-time-at-all.
 
@rubenvb just use #pragma comment(linker, "/entry:main")
 
2:01 PM
@TonyTheLion std::erase(std::remove_if(begin, end, some_lambda_looking_in_b), end);
 
you still can use C++ features which don't depend on CRT
 
@Abyx yeah, will, I also did /nodefaultlib and a .cc extension makes it magically c++
 
Help me please with this question stackoverflow.com/questions/9096932/…
 
btw, you can use /MT to avoid CRT dlls
 
Als
Hola folks!
Hmm..ok..No Folks around
 
2:06 PM
@TonyTheLion you want std::set_difference, supposing that the ranges are sorted.
 
IMO, saying "hi" in chat is just a spam
 
Als
@Abyx: Why are you here then?
 
@Als huh?
 
Als
Nevermind
 
@John thanks a bunch, I've found it in the function manual.
 
2:10 PM
0
Q: What's wrong with my vector<T>::erase here?

Tony The LionI have two vector<T> in my program, called active and non_active respectively. This refers to the objects it contains, as to whether they are in use or not. I have some code that loops the active vector and checks for any objects that might have gone non active. I add these to a temp_l...

 
@MeLight Well then you can answer your question, so people with a related problem can find help
 
a call to ALL repwhores :P
@FredOverflow not C++11
@Potatoswatter there's no way I can have a valid operator< overload on my objects inside the vectors. Wouldn't know what to use to compare in this way
 
Als
@TonyTheLion: remove_if + erase idiom?
 
@TonyTheLion: You call erase with iterators from another list?
 
Als
uhm thats a UB
 
2:13 PM
that's simply wrong
 
Als
You cannot pass iterators of other container to another
thats a sin, blasphemy, crime
 
@KillianDS yea that's what I'm guilty of
@Als seems like it. First time I run into it. meh. learn the hard way
 
Als
@TonyTheLion: I know, With standard Library one has to learn the hard way. I am sure you must have read this in a book, but hands on is a must for Standard Library containers in my exp.
I too end up mixing up rather lot of things sometimes
 
Xeo
@Tony: Do you need to preserve the relative order of the active container?
 
meh, so I have to create a functor that checks if an element belongs to my temp_list and then remove it from the active list, using erase-remove idiom
 
Xeo
2:20 PM
No, there's a better solution I think
 
@Xeo order of no importance
 
can you not remove_if and then pass that to erase?
 
pfffff
 
Xeo
Nope, he wants to copy the elements after finding the "faulty" ones
std::remove(_if) leaves the items after the returned iterator in an unspecified state
 
basically, yea, I need to remove from active container and add to non_active container
 
Als
2:22 PM
@Xeo: Just a quickie, once you done answering the Lion, For Virtual box with Lubuntu, How much space should i give as setting for virtual hard disk?
 
@Als do it with LVM 2and then you can resize online later if you want
I'm finally free of the silly "how big should this partition be?" guessing game
 
Als
@awoodland: LVM 2 ? I am following virtualbox.org/manual/ch01.html#gui-createvm and I don't see whats LVM 2.
Sorry, I haven't done this before. :(
A bit more detail please
 
Xeo
@Als Whatever you can spare and for what you need the VM for
 
@Als that'd go under the "use existing hard disk" drop down I suspect
LVM exists on top of partition tables, above VMs
 
Als
@Xeo: I have a lot but I don't want to give it too much lol
 
Xeo
2:25 PM
@Als: And I'd recommend a dynamically sized disk
 
it's basically an abstraction on block devices and partition tables
 
Xeo
My debian vbox disk is virtually sized at 64gig, and currently occupies 25gig
 
Als
@awoodland: I don't have any this is a fresh install so that is not available for me then
@Xeo: I see And a stupid doubt but I need to ask
Is it okay to have only a single drive and use space on that for the VM?
If i delete the VM i can reclaim the entire space?
 
Xeo
One for every guest OS
 
Als
@Xeo: I have only a single drive which has my host OS, its 443GB
 
Xeo
2:28 PM
Ooh, you meant that.
The vbox will create a .vdi file that acts as the disk for the guest OS
 
Als
oh sorry You thought drive for the VM i was not clear
Ah okay, cool and Once You remove a VM the file gets deleted and you can reclaim the space?
 
Xeo
So, yes, you're fine. If you don't want the guest anymore, just delete the .vdi disk
No, the disk needs to be manually deleted IIRC
From inside the VirtualBox manager
 
Als
@Xeo: Ah okay, so I can play around creating a VM, I was just a bit hesitant i might screw up things
 
Xeo
It's a sandbox. If you don't attach a shared folder to your main drive, nothing can happen IIRC
 
Als
That's cool thanks a lot I am going to try creating one then
 
2:38 PM
yes, AFAIK the only impact running a virtual machine has is that you will have to accept that a chunk of your computers performance will be used by the virtual machine, CPU RAM HDD etc. There is no risk that I am aware of
 
Xeo
Which you can assign yourself.
So it's all under your control.
 
Als
And that is only when you run it
 
yup
 
apart from the HDD space used of course
 
(other than the permanent storage which is until you delete it)
 
Als
2:40 PM
Yes
Thanks folks, going to give it a try and will report back
 
I would also suggest you make use of dynamic HDD rather then Static. This way it will only take up the space actually required to store the contents of the virtual drive. A static drive, say 50GB will take up 50GB from the of
 
Als
@thecoshman: Yup right @Xeo, also suggested the same.
 
I suppose if you have loads of space, you might get slightly better performance as it doesn't need to expand the virtual drive
 
Als
I know this is a naive Q, but i have 3 GB of RAM and i was thinking of giving away 1GB for the VM.sensible?
 
seems fairly reasonable
what OS you wanting to run?
 
2:43 PM
@Als that sounds reasonable. A Linux install can get away with less (~512-768) depending on what you're going to do
 
Als
@thecoshman: lubuntu
 
I'd say 1GB would be rather good then
leaves you a good bit for your OS
you can always adjust it latter, just shut down the virtual and go the config manager
 
Als
Right, sensible to being with.
 
you can more or less change everything in your virtual machine like it was a real machine
so if you had a windows OS on a small HDD, you could add a new one, use a live disk and copy over everything and then swap over the boot drive etc.
 
I have 4G system memory with 1G given to my VM
works just fine for me
 
Als
2:48 PM
Hmm, Which one to choose from VDI, VMDK, VHD, HDD?
That step rather seems different than the one in the manual...
 
@Als it's new. Just pick VDI, unless you want to move to VMWare, in which case you'd pick VMDK.
 
VDI
I think...
 
It's just file formats
vdi is virtualbox' native file format
 
Als
Ah okay, and instead of "new" it showed me "start up"
 
can Vbox now run a virtual machine directly from a HDD now?
 
Als
2:49 PM
@rubenvb: Looks the manual there is old
 
it should be fairly intuitive
 
@Als It should be quite straightforward, but are you sure you're using the latest: virtualbox.org/manual/ch01.html#gui-createvm
Or just use the one from the install.
 
is operator== normally defined as a friend or just a member?
 
Als
@rubenvb: The same as you linked, but that installation doesn't show same steps.
@TonyTheLion: friend
 
@TonyTheLion IIRC you can do it as either a friend or a member depending on your class
 
2:52 PM
bool operator== (T& const lhs, T& const rhs)
 
Als
@TonyTheLion: looks about right, the basic rule is if the operator function modify's the object on left, make it a member or else if does not modify any operands and treats them equally then make it a friend.
 
oh cool thanks :)
meh, now I have to find something to compare inside my class
 
Als
@rubenvb: The virtual disk size? How about that
 
my exam was a total and unmitigated disaster
 
oh shit
:(
 
2:56 PM
@Als I always play safe: 64GB, epanding. It'll only be as large as it needs to be.
 
got the timings wrong and had nowhere near finished revising by the time it came around
about half the paper was a pile of gobbledy-gook to me, if not more
oh well
it's just an examination, wtf do I care
 
Is it a good idea to write a "runtime library" directly in LLVM, to avoid assembly completely?
 
Als
@rubenvb: Okay, thankee
 
if you'r doing dynamic, just make it plenty big, say 100GB at least
 
Als
2:58 PM
@DeadMG: Pup you and your educational woes, looks like education spoilt u mate
 
you don't loose anything but you save that hassle of having to resize
 
@Als spoilt me?
education is a negative influence on me
 
lol
 
Als
lol
 
I've been expanding my mind faster than my so-called educators can keep up since I was four years old
 
2:59 PM
late stater then :P
 

« first day (473 days earlier)      last day (4460 days later) »