« first day (571 days earlier)      last day (4368 days later) » 

Xeo
6:08 AM
@JerryCoffin Yeah, we teach here at SO :P
 
More like, I treat SO as a game. Initially it was repwhoring. But that started to get old. Now I've moved on to collecting badges.
 
Xeo
@Mysticial It's kinda like leveling up in MMORPGs and then collecting achievements, with Meta being PvP.
 
lol
I've been trying to come up with a good question to get the question badges... but it's hard...
Nothing short of successful reddit + ycombinator combo will get you Stellar Question. And all the FAQ type questions are already "taken". Not that I'd be able to do one anyway...
 
Xeo
@Mysticial The FAQ on overload resolution is free!
 
@Xeo But I suck at "advanced" C++. :)
 
6:17 AM
@Mysticial That reminds me -- I saw one the other day that seemed like a FAQ-type question that didn't seem to be there yet. Unfortunately, I can't remember what it was.
 
I have one question/answer pair that I've put together that's similar in nature to the denormal float question.
I'm debating whether I want to ask it, or answer it.
 
@Xeo Hmmm...maybe I should write something about that. Yes, there are some complex details, but most of it comes out to a fairly simple rule (though one that's initially counter-intuitive).
 
But right now, I'm leaning towards answering it.
 
@Mysticial You're entirely free to do both.
 
@JerryCoffin It won't work in this case because - like the denormal float question, there's a surprise factor where the example is localized, but the answer is broad.
 
Xeo
6:20 AM
@JerryCoffin Which rule? (I thouroughly read through the overload resolution chapters in the standard and think I have a fair amount of knowledge aswell there)
So?
Think about the memory leak question
local issue, broad answer
 
@Xeo More like, localized example, with a broad problem.
 
@Xeo The rule I had in mind was the simple fact that when it finds any match for a name, it quits searching broader scopes to find more matches, even if what it found was a poor match.
 
Xeo
Oh, but that's only a small part, isn't it?
The more important and brainsquashing parts are the transformations to the arguments and the implicit conversion sequences etc
Though so much detail may not be fit for SO...
 
I also have two other (incomplete) examples. But the answer is much stronger than the question. So it might not be a good candidate for whoring question badges.
 
@Xeo Yes and no -- it's only a small part of overload resolution, but it covers at least 90% of the frequent questions.
 
Xeo
6:22 AM
Indeed
 
@std who's flagging ?
:)
 
Xeo
And ADL's also a big part, I think, since it goes hand in hand with that issue
 
@Xeo Yeah, true -- and mostly counter-intuitive as well.
 
Though I'd gladly ask the overload resolution FAQ question. :) I just won't be able to answer it.
 
@Mysticial Go ahead and ask then -- it should be good for at least a couple badges. It certainly is a type of question that's asked frequently, so it will be referred to pretty regularly.
 
6:28 AM
I'd rather wait until someone has a complete answer prepared. But at that point, it's be better for one of you to ask and self-answer anyways.
I'm not in a particular hurry to collect question badges though. I get a lot of ideas from all the weird shit I run into in grad school. So I'm somewhat confidant that I'll be able to come up with more good Q/A combos that have the potential to make reddit and reach legendary status.
Although, that's really pushing the limits of what SO is intended for...
 
@Mysticial Wrong badge. "Legendary" is about hitting the rep cap for N days. :-)
 
@JerryCoffin lol
 
^ discuss :)
@JerryCoffin where N == 150
 
@sehe Rule 1: I was right. Rule 2. If I was wrong, see rule 1. I see little else there. Finding an example or two where a reference generates code similar to a pointer proves nothing about their basic nature.
 
I have that badge already. I got tired of rep-whoring after like 120 soft-caps. Those final 30 days sucked...
 
6:35 AM
@sehe At one time I knew that, but then I quit caring.
 
@JerryCoffin I feel that way too.
@JerryCoffin And that way too
 
@JerryCoffin Well, you have it already. So it's not like you care anymore. :)
 
@Mysticial Yes, but I quit caring before I had it. After years on Usenet with no explicit measure of rep, I paid attention to rep here for a few weeks, then just went back to ignoring it and concentrating on trying to help people out.
 
Shameless link: I've asked my question once more, but on a SE site this time.
0
Q: How do I classify my emulator input optimization problem, and with which algorithm should I approach it?

GManNickGBefore I start: I understand the scope of this StackExchange site (I think), but do pardon if I'm off-topic. My question is an intersection of mathematics, computer science, and software engineering, so picking the right site to ask on has been a bit unclear. That said, after asking here (a prett...

 
I'm working my way towards Copy Editor. And that will be the last of the badges that you can "work towards".
@JerryCoffin Let's just say, that I started to get impatient with the really basic questions. So now I mostly answer things that:
1. Nobody else can answer. (or few can answer)
2. Anything I think will get 10+ votes.
@GManNickG Looks like the right site. (I think)
 
6:40 AM
@Mysticial Yeah, problem is it's suppose to be for research question but I'm just a hobbyist.
 
sbi
> The key to being a good JavaScript programmer is being able to laugh at, and understand the significance of, this image — David Arno
user image
9
Good morning, folks.
 
mornin
 
Xeo
a strong entrance as always
 
@Mysticial Yeah, if I cared about rep, I'd probably answer different questions than I do (and answer them differently than I do). I'm pretty sure I average about the lowest rep per answer of anybody, largely because a lot of my answers are to such obscure questions almost nobody but the OP ever even notices it exists...
 
sbi
@Xeo And then I went and ruined it, as so often.
 
6:44 AM
@JerryCoffin Nah, that'd be Jon Skeet. He loses everything to the repcap.
When a 1400-vote answer gets you 15 rep. You know you've got issues.
 
@sbi Good morning. It is a cute picture, but I certainly hope having laughed at it doesn't mean anybody will call me a JavaScript programmer -- ever!
@Mysticial Maybe -- I was thinking mostly in the C++ realm. Despite the big numbers, I'm not sure he qualifies as "anybody"... :-)
 
sbi
@JerryCoffin No. Laughing is only the first part. According to the tweet, you will also need to understand it — and then you only have the key to being a good JS programmer. That's not the same as being one.
 
@sbi Oh thank god. Or somebody, anyway. But I don't think you'd laugh as hard if you didn't understand it at least a little.
 
@JerryCoffin Ah... yeah C++ is definitely more sane. Since we don't seem to have any consistent long-term rep-whores dominating the charts. They just kinda come and go.
 
Then again, think how it would look for PHP: on the left, a single sheet the size of a postage stamp..
@Mysticial And sometimes come and go, then come again and go yet again (and I'm still not sure we've really seen the last of Mr. Butterworth).
 
6:50 AM
I remember topping the C charts back in October-November - that was my rep-whoring period.
I also topped the C++ charts in December and February because of the two viral questions. But that doesn't really count.
Oh hey, I'm number 2 in this month...
 
Xeo
@Mysticial Out!
:P
 
@Xeo Meh, doesn't count though. It's because Jeremy Banks reddited that GCC optimization question.
 
@Mysticial Wow -- and I'm #13, even though I hardly remember answering any questions about C...
 
Xeo
C at the top. Any excuses?
@JerryCoffin Many questions are double tagged, so...
 
6:58 AM
@Xeo It's not at the top. I have 2900 in C++ and only 2600 in C.
Maybe it's weighted by the total # of answers as well.
 
Xeo
And I just noticed, 13 G 37 S badges
Ah, no, 73
dang it
 
@Xeo True, but when they include both, I (though I) usually just left nasty comments about what sort of answer they were looking for...
 
@JerryCoffin Most of the performance questions that are cross-tagged C and C++ seem to get away with it.
 
@Mysticial Hm...hadn't thought of that, but it's a good point.
 
@JerryCoffin Probably because anything that isn't performance related tends to be a "how to do X" question. Which of course has drastically different answers depending on C or C++.
 
7:08 AM
@Mysticial Right -- though in a fair number of cases, answers about how to improve performance will also be quite a bit different between the two. OTOH, a fair number are "why did I get this strange slow-down under condition X?", which often do apply about equally to both.
 
@JerryCoffin Which are also the types of questions that I like to answer. :)
 
@Mysticial ...and sometimes even ask, if memory serves.
 
Reddit seems to be a fond of performance questions.
5 of the 14 SO submissions on reddit that hit 200+ (from the past 6 months) were performance related.
 
@Mysticial that's the thing I don't understand
 
@Mysticial One of these days I'm going to have to take a look around there. Sounds like it might be interesting (though perhaps also prone to flamewars?)
 
7:17 AM
@Mysticial if you look at all of your high ranked answers, they are all very technical deep and aren't of importance to like 99,99% of all programmers, but people just vote them up like crazy
 
I actually have a list of this. I was talking to Bill the Lizard on meta today about reddit and I ended up putting together a list of SO questions that hit 100+ and 200+ from the last 6 months.
@bamboon Nah, three of them are amazingly stupid.
 
@Mysticial ^^haha, that is what I would naturally expect of reddit
 
@bamboon Only my top 3 answers were reddited. None of the stupid ones were. It's very easy to tell if something's been reddited or not just by looking at the view counts. Anything over than like 15k probably got linked from somewhere.
 
@sbi That is so awesome. I just sent my colleague to the PDF of 'the good parts' yesterday. That blog w/pic is going right after it :)
 
@Xeo yeah, I noticed this morning. looking forward to it :D
@xeo NO SPOILERS!!!
 
Xeo
7:32 AM
:'(
 
what show?
 
Xeo
pause
 
minecraft
 
Xeo
and etho
are in the finale!
 
@xeo don't make be silent you :P
 
Xeo
7:33 AM
/spoiler
 
sbi
@thecoshman ICE
 
Xeo
I advice strongly not to read the comments, though
Especially the top comments
 
@sbi sigh... of to the abbreviation list I go
oh
 
sbi
@thecoshman Internal Compiler Error. (Your grammar doesn't make any sense to me.)
 
silly @sbi would you prefer it if I used some inverted commas?
 
Xeo
7:35 AM
@Mysticial Mindcrack Ultra Hardcore S5
 
oh for fuck sake, I wrote be instead of me
 
sbi
@thecoshman Ah, Ok. Now it makes sense to me, too.
 
Xeo
And silent instead of silence
 
@Xeo or 7 depending on how you want to count it
 
Xeo
Why? I'd be 6, if anything, no?
 
7:36 AM
@sbi it makes sense to the bee? :P
 
@sbi I still have trouble with that one. To me, "ICE" immediately means "In-Circuit Emulator".
 
@Xeo they did two extra ones after five didn't they? or was it just the one
 
Xeo
1&2 was dragon, 3 was FFA, 4a & 4b were teams, 5 is FFA again
 
sbi
@JerryCoffin Here it's InterCity Express (the German equivalent to the French TGV).
 
wait... your German train network has it's name in English?
 
sbi
7:37 AM
@Xeo You are so gibberishing.
 
Xeo
It's not a network, it's a train... type?
 
what does TGV stand for? Train Go Vast?
 
sbi
@thecoshman No. The company's name is Deutsche Bahn. The train types are mostly anglicized, though.
 
and no, I will not Google it
 
Xeo
@sbi Minecraft Mindcrack Ultra hardcore season content :P
 
sbi
7:39 AM
The TGV (, meaning high-speed train) is France's high-speed rail service, currently operated by SNCF Voyages, the long-distance rail branch of SNCF, the French national rail operator. It was developed during the 1970s by GEC-Alsthom (now Alstom) and SNCF. Although originally designed to be powered by gas turbines, the TGV prototypes evolved into electric trains with the petrol crisis of 1973. Following the inaugural TGV service between Paris and Lyon in 1981, the TGV network, centred on Paris, has expanded to connect cities across France and in adjacent countries. A TGV test train set...
 
so yeah, Train Go Vast :D
 
@sbi If memory serves, I was on one of those once (through Germany to Austria at something like 350 KPH -- with a very nice digital speedometer easily visible to let you know how badly you were going to hurt if there was a crash. :-)
 
sbi
:This article is about the German high speed trains, for other uses of the term Intercity Express see Intercity-Express (disambiguation) The Intercity-Express (written as InterCityExpress in Austria, Denmark, Switzerland and, formerly, in Germany) or ICE () is a system of high-speed trains predominantly running in Germany and its surrounding countries . It is the highest service category offered by DB Fernverkehr and is the flagship of Deutsche Bahn. The brand name "ICE" is among the best-known in Germany, with a brand awareness close to 100%, according to DB. There are currently 259...
 
oh man, I really need to get a move on with this documentation
 
sbi
Damn oneboxing!
 
7:41 AM
it sucks being told that I do need to a deliver in two weeks once we are 6 weeks into the cycle
so much catching up needs to be done
 
@sbi Yup -- from the looks of things, I was on an ICE 3, for whatever that may be worth.
 
ICE 3? Is that like ICE 9?
 
from my poor understanding of those funny 'how to say words' things, it looks you Germans say ICE with a rather harsh I, almost like 'ite' but with out the 'tuh' of the t
sorry for dragging up this dead horse again :P
 
@Pubby See the kitty? See the cradle? (Sorry, I spent way too much time reading KV).
 
sbi
@JerryCoffin There's just a very few lines in Germany (see image on the right) where they can go >300km/h.
 
7:47 AM
he he he, Munchen :P
 
sbi
@JerryCoffin Oh, Vonnegut. Now I know why "ICE 9" seemed familiar. :)
@thecoshman Either Munich or München. "Munchen" seems terrible to my ears.
 
@sbi I don't know the alt code for your double dotted u
 
@sbi Yup -- this would have been on the Köln-Frankfurt stretch, if I'm not mistaken.
 
is there more then one style of accent in German?
 
sbi
@thecoshman You mean "accent" as in "speech accent"? Or as in "smut above a letter"?
 
7:52 AM
huh... don't think I've made that mistake in a while
 
@thecoshman Seems to be U+00FC, so Alt-0252 should do the trick: ü.
 
ü <-- indeed it is
well, that's something I'll never use :P
 
Xeo
Why not? Rename yourself to "thecüshman"!
 
does German ü sound like English o?
 
no
 
sbi
7:56 AM
@thecoshman No, it's between "u" and "i".
 
@sbi oh that just hurts trying to think about that
 
sbi
@thecoshman Scott ones told me that, for native English speakers, it is hard to learn the differences between "u" and "ü", "o" and "ö", and "a" and "ä". From my German POV, that's very hard to imagine. :)
 
@thecoshman I found that after a few drinks it was much easier to imitate a fair number of the sounds in German. At least I didn't notice my mispronouncing them any more! The same is true with Russian, but you need to drink even more...
 
sbi
@JerryCoffin Haha!
In order to pronounce German, you need to drink beer, in order to learn Russian, you need vodka, and speaking French will be really expensive, because you need Champaign.
 
@sbi yeah, it I really can't fathom how to make a sound between 'u' and 'i', I keep falling back to saying one then the other; 'ye' perhaps?
 
8:03 AM
@sbi Not at all -- a good Bordeaux works nicely. If you like the sparkly stuff, I tend to prefer Alsace over Champagne.
@thecoshman Based on my experience in working on learning Russian, quite a bit of it is next to impossible to imagine on your own, but not all that hard to imitate when you actually hear it.
 
@JerryCoffin probably so
 
sbi
@thecoshman I am sorry. It's between the "u" and "i" as pronounced in German. The German "u" is pronounced rather like the vowel in the English word "food", and the "i" is pronounced like the one in "eal".
 
I wonder if the stereotypical French person is the same in Germany as it is in England
 
@thecoshman I was half serious about the drinking part too -- I think it lets you relax a bit, so your brain doesn't work so hard at keeping you pronouncing things the way you've learned.
 
@sbi so 'u' is said look 'oo' and 'i' like 'e', (╯°□°)╯︵ ┻━┻
 
sbi
8:07 AM
If you speak i-e-a-o-u in their German pronunciation ("i" like "bee", "e" close to "a", "a" like "bar", "o" like "oh!", and "u" like "food") in continuation, you can hear that it's a sequence where you change the shape of your mouth slightly from one vowel to the next one. In that continuation there's room for slighter changes.
@JerryCoffin Ah, yes, using red wine would make French pronunciation affordable. :)
 
@sbi using English would make it tolerable :P
 
Hmm, well, that link doesn't seem to have worked. Maybe this one, and scroll down a bit. german.about.com/od/pronunciation/a/The-German-Alphabet.htm
 
sbi
@thecoshman At least, in German, every vowel is spoken in the very same way in any word. Once you have learned the pronunciation of the letters, you can read German just fine. (Classic singers actually learn how to pronounce German for singing it, without having any idea what the words mean.) That's neigh impossible in English, because its pronunciation is so inconsistent.
 
Xeo
Click on the little speaker on the right side
right next to any of the "üben"
 
@sbi I believe most singers are taught the phonetic alphabet. As I recall, my sister claimed that Italian was worse to deal with than English -- though speaking English (at least the American variety) may have prejudiced her on that point a bit.
 
8:26 AM
TIL: the <kbd></kbd> markup on SO can be nested:
Added a macro that demoes using the text-object to reproduce the ascii art from the OP — sehe 3 mins ago
 
@sehe But as I just verified a few minutes ago, doesn't work on chat at all...
 
sigh... password change, now for a week of getting my password wrong :(
 
sbi
@thecoshman Write the password on a post-it note and stick that to the monitor.
 
@sbi oh, I just need to remember to look at it :P
 
sbi
@thecoshman You'll be reminded when you can't log in.
 
8:35 AM
@JerryCoffin Yeah they should add that :) For one thing, I wouldn't have needed to post a bloddy image of it
 
sbi
@sehe My screen doesn't show any blood on that image.
 
@thecoshman There are books on mindfulness. I haven't tried them, but they sound like they could be useful
@sbi :)
 
@sehe but now we have the recursive problem of need a book on mindfulness to help me learn to be mindful enough to get a book on mindfulness
 
You can think of an iterative algorithm to implement that state machine.
Much like the algorithm that implements procrastination.
 
@sehe I've found that algorithm is actually incomplete. I've been meaning to finish it, but... (sorry, couldn't resist -- at least if I'd tried, I'm pretty sure I would have failed).
 
8:45 AM
 
@sehe I think what bothers me more than anything else is the mess their code must be. They apparently have at least three different implementations floating around. Why? What happened to DRY?
 
sbi
@JerryCoffin DRY got wet and sunk like a stone.
 
DRY got DAMP
FTFY
28
Q: What does “DAMP not DRY” mean when talking about unit tests?

Ian RingroseI heard someone say that unit tests (e.g. nUnit, jUnit, xUnit) should be DAMP not DRY (E.g. unit tests should contain "dump code" not "dry code") What are they talking about?

 
sbi
@sehe Dynamique et Adsorption dans les Matériaux Poreux
 
You, sir, are very good at googling Going-DuckDuck acronyms
 
sbi
8:52 AM
@sehe Wow, the last time someone called me "sir" was when they demanded I remove my shoes.
 
Ok. I will demand you remove your shoes.
They're causing a traffic jam.
@thecoshman I'm going to predict you posting DS comics next time
 
@sehe DS?
 
You don't get it. The algorithm is perfect. And complete.
It just doesn't _run_ to completion.
@thecoshman Use a bit of context, maybe? Your own context at that.
 
@sbi Reminds me: last week one of the people on a local radio morning show tried to attract a bit of attention with a slightly different stunt than most I'd heard of. Went to the Airport, and going through the security line made it really easy for them to see she wasn't carrying any weapons, by stripping down to (apparently fairly skimpy) underwear. Strangely, they didn't seem to appreciate this a whole lot.
 
@sehe well... I assume it is relation to the savage chicken comic, but I can't work out what you mean by DS
 
8:57 AM
(wait for it... @thecoshman is now slowly starting to scan the horizon of his short term memory... who was posting a comic again... scrolls up. Ah, that was me... Ok, now what was that comic from, again... Oh. It won't be nintendo DS this time then. Ah... I get it)
 
so you do means the Nintendo DS, I still can't work out what you mean though
just that you think I will post comics about the DS?
 
Savage Chickens is a webcomic created by Canadian cartoonist Doug Savage. It is a single panel comic drawn on yellow sticky notes, oftentimes featuring alternative humor. Savage Chickens has existed for more than four years and it contains at least a thousand comics to this date. The [http://www.savagechickens.com page] is generally updated daily Monday through Friday. Whereas situations in the comic are primarily carried out through cartoon chickens, other characters, such as Timmy the tasteless tofu, and a mock-up boss named PROD3000 are integral characters. Characters The comic is do...
 
sbi
@thecoshman "It won't be nintendo DS this time then." (Doug Savage)
 
@sbi She's probably more fun to look at nearly naked though...
 
sbi
@JerryCoffin I didn't think the intention was to make the job of those security theater supernumeraries more fun.
 
9:11 AM
@sbi Maybe not. But I find a lot of things quite entertaining that weren't necessarily intended that way.
Well, it's getting pretty late. I need to get some sleep. Good night all.
 
Night
 
9:35 AM
Mawning
 
Meowing
 
@sehe Wrong animal.
Also, hi.
 
Xeo
@sehe A meowing, facepalming polar bear.. you only see that in Lounge<Zoo++>.
2
 
am I losing my mind?
1
A: C - Freeing a pointer to pointer

Tony The LionThe last free( _pHRTFs ) actually isn't freeing anything, because it's a mere indirection to another pointer, not a memory location. That's why you get a seg fault when you attempt to free it, as there's nothing to free.

 
9:37 AM
What's this CAPS LOCK thing people mentioned on the starboard? And why was that message typed with Shift held down?
 
Xeo
@RMartinhoFernandes How would you know that it was?
 
@Xeo How else would it be?
 
Xeo
I don't know, maybe with CAPS LOCK?
Oh, wait
I see you're trolling now
I've been awake for too long
 
lol
@Xeo Guess it's your turn to sleep now.
 
Xeo
I thought of so many other things that message could've meant, but trolling didn't come to mind at first
 
sbi
9:44 AM
@TonyTheLion Do you really want us to answer that?
 
@Xeo where are you from?
 
Xeo
Germany
 
oh, I here you have some sort of beer festival
and I do not been THAT beer festival ¬_¬
 
Xeo
Since I don't care about beer, I wouldn't know. :D
That's really not nice with the message IDs
 
:3631796 I wouldn't know where that is, other then Germany
:3631796
doh
 
Xeo
9:50 AM
!robot then than
 
¬_¬
 
uint8_t t[6]; std::array<uint8_t, 6> a(t); // How do I make this compile?
 
Xeo
std::array<uint8_t, 6> a{t}; should do.
 
@thecoshman Sorry, couldn't resist, especially after being prompted.
@Xeo Hmm, really?
Nice.
 
Xeo
It should, afaik
Since first braces initialize inner array. I think even array<...> a{{t}} might work
Needs testing, though
Otherwise it's default-init + std::copy, I guess
 
9:55 AM
@Xeo Now, that I'm sure won't work.
That tries to initialize the first element to an array.
template <typename T, size_t N, size_t... Indices>
std::array<T, N> make_array(T(&a)[N], indices<Indices...>) {
    return { { a[Indices]... } };
}
template <typename T, size_t N>
std::array<T, N> make_array(T(&a)[N]) {
    return make_array(a, IndicesUpTo<N>());
}
 
Xeo
Or elaborate array unpacking and then braced-init
 
Love me indices.
 
Xeo
like that :>
 
@RMartinhoFernandes Woah.
 
@StackedCrooked I think I should put this indices trick thing on the wiki. It's quite powerful.
 
Xeo
9:57 AM
Indeed
Maybe rename it to IndexRange<B,E>, though, since that's what it generates. (of course, B only if it's feasible to add an offset)
 
@RMartinhoFernandes Doesn't seem to work. That, or I made some stupid mistake.
Btw, what's IndicesUpTo?
 
@StackedCrooked The mistake is that you're missing the infrastructure: indices and IndicesUpTo.
 
I figured. Where can I find that?
 
@Xeo I think I'm keeping the UpTo version since it's the most common, but add a Range one as well.
 
Xeo
Meh, single braced-init version doesn't seem to work. :(
 
10:02 AM
@sbi euh, I don't want you to answer that no
 
sbi
@TonyTheLion You do not want me to answer "no" to that?
 
@StackedCrooked Here's a downgraded version that works on ideone :) ideone.com/j2CpU
 
@RMartinhoFernandes finally I get one in; the semi-colon
 
Hehe. I once used that to answer something on SO.
 
10:12 AM
I love the oat meal :D
speaking of which; I'm fairly sure a new comic is about due from him
 
I love ....
nutella
 
oh, Nutella is good :D
 
10:29 AM
wow, I have found some one at work who must have the source of fucks. He's the only person who seems to be able to give any
 
That's a rare specie.
 
@jalf your avatar, is it meant to be a penguin?
 
sbi
@thecoshman No, it's a snowman.
 
yesterday, by jalf
and yes, mine is a penguin
 
sbi
@sehe Party pooper!
 
10:42 AM
:)
 
sbi
> The First Rule of Pedants Club is - actually - more a decree than a rule. — BinaryDad
 
You're idea of a party anyways :)
@sbi Brilliant
 
@sbi could have been some of other type of bird ¬_¬
@sbi lol
 
> The First Rule of Pedants Club is - actually - more of a decree than a rule.
There, FTFH :)
Pedants FTW
 
@sehe > The First Rule of Pedants Club is - actually - more of a decree than a rule.
 
10:44 AM
@thecoshman Wut? Markdown fail and grammar fail.
 
@thecoshman yes, it's a penguin :)
 
and actually, I think that 'of' is not appropriate in that situation
 
sbi
What a brilliant irony: Of all the regulars here, @thecosh fixes the grammar pedantry of someone trying to be pedantic about someone else's grammar pedantry. Only in the Lounge, really.
 
¬_¬
My 'fix' was a joke. I'm not sure the joke was appropriate in that situation
 
My 'fix' was a patch
@sbi are you suggesting that I have sort of grammar problem:
 
fuck it, It can stay wrong
 
sbi
@thecoshman What other kind of bird comes in a tailcoat, but has no tail, walks upright, and has wings like fins?
@thecoshman What's that colon doing there instead of a question mark?
 
@sbi just wanting some of the lime light
 
sbi
@RMartinhoFernandes I did something like this before there were those fancy new ... for templates. Fun, I tell ya...
 
that article
my head
 
10:50 AM
@sbi Oh, I can only imagine.
 
@sbi I'll get back to you on that one...
 
@sbi A dressed up dolphin that lost its tail in the war.
 
sbi
@RMartinhoFernandes Also, my code is able to call any function, provided the number of types of the objects in the tuple match.
 
well, this isn't exactly close, but the image is too good not to share
 
sbi
@thecoshman Isn't that called a puffin in English? Those guys fly quite well.
 
10:53 AM
Puffins!
 
sbi
Lunch time!
 
@sbi indeed it is
and despite the neon beak, if cartoonised would look like Jalf's avatar me thinks
 
@sbi That can easily be built from that now. I only wanted to showcase the trick of packing the indices for tag dispatching.
 
11:26 AM
Why doesn't std::string have an operator==?
 
Huh. Not sure why I thought it didn't.
 
11:43 AM
Why do I not get WM_TIMER messages?
 
@72con why should you?
 
No, but what's the most likely cause not to get WM_TIMER (or get the timerproc called) when you think you've done it right..
I set the timer, I get the timerId as a return value (setting the timer works) but my TimerProc does not get called.
 
@72con most likely cause is doing nothing that would cause you to get one
 
Setting the timer alone should be enough?
 
well, your doing something wrong
 
11:47 AM
I think there must be a bug in Windows.
 
What's the proper way of saying "an object of type T?" T could be int, so " an object" isn't strictly correct.
 
an entity of type T?
 
@72con lol, I doubt that bug sat there unnoticed until now.
 
@Maxpm you mean like when dealing with templates?
 
@Maxpm It is correct.
 
11:49 AM
No kidding ;)
 
@72con I think there must be a bug in your code
 
sbi
@RMartinhoFernandes Of course it can be built easily when you have a built-in mechanism for variable numbers of template parameters. Without that, though, it's a pain in the neck.
 
@thecoshman Yes. I'm writing documentation for a class template.
 
There are only so many lines where the bug can be but I have no idea what it is..
 
@Maxpm C++ types are divided into object types, reference types, and function types. int is an object type.
 
11:51 AM
@Maxpm yeah, then it's an 'object' of type T. an int is still an object in that regard, it's just one that built into C++
 
That idea that int is not an object comes from the schizophrenic nature of some other languages type systems.
That particular brand of schizophrenia does not apply to C++.
 
@RMartinhoFernandes <cough> Java
 
Okay. Thanks.
 
is it UB to malloc() and read without ever writing? Or is it just unspecified value?
 
@awoodland The lifetime of PODs doesn't require a construction, if that's what you're asking.
 
sbi
11:57 AM
@awoodland When you call malloc(), you get back a void*. The answer to your question would depend, I suppose (I'm the opposite of a language lawyer), on what you cast that to. If you cast it to a POD, you're fine; anything else is UB.
 
int x = *(int*)malloc(sizeof(x)); // not UB, nevermind the leak
 
so it's only uninitialised reads from auto storage which is UB then
 
Like int x; std::cout << x;? No, I think that's also unspecified.
 

« first day (571 days earlier)      last day (4368 days later) »