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

3:18 AM
@Mystical are you a linux or windows or what guy, I can't remember?
The reason I ask is that I'm using windows at the moment, and wondering what you use for profiling etc besides your computer-breaking programs.
 
@keithlayne Windows by far. But I know just enough Linux to do my school work.
 
@Mysticial heh, same here.
 
I see someone started porting valgrind to windows, but I can't tell if it's actually going anywhere. Valgrind is a nice tool.
 
I wouldn't mind using linux 24/7, if I wasn't too damn lazy to reboot if I want to play a game with a friend, or mess around in 3ds max..
 
i don't mind using linux 9/5 (at work). but i'm so not giving up wow and skyrim just for some "free software" idealistic bullshit, and linux games just aren't there yet
 
3:30 AM
I don't have time for games :(
well, that's a lie, but there's other stuff I want to do more.
 
oh, and most linux guis now are kinda alien to me. wtf, where did the taskbar go?
 
You're not the only one who feels that way.
 
0
A: Trying to create an output file with freopen, using non-constant string

refpAs the compiler error states there is no implicit conversion from std::string to char const* (ie. a c-style-string in this context). Though std::string has a member-function named c_str which will generate a null-terminated string and return a pointer to it that is very usable when dealing with...

 
user406009
@cHao The old GUIs are still available(and much better IMHO).
 
this answer is clear enough, isn't it? (or is the sentence about invalidating the pointer a bit confusing perhaps?)
 
3:37 AM
@refp Oh don't worry, the question will come back for 4/1.
 
changed the wording a bit though..
@BenVoigt 4/1?
 
or 1/4, depending on where you live
2013, that is
 
I don't get the correlation between 1/4 and 2013, care to explain? I'm tired and feeling very dumb right now.
 
today is 12/7/2012
 
Well, 13/7/2012 over here, but go a head.
or is that the full explanation? if so; I'm still lost.
 
3:41 AM
the question will be resurrected on 1/4/2013
and we will need a big squad of people to help close other questions as duplicate
we'll also create a feature request on meta, to get rid of the NaRQ close reason, since NaRQ are simple duplicates
@refp You have heard of April Fools' Day, right?
 
@BenVoigt of course. I just didn't see that it was a date, I thought it was some cryptic way to say that it's soon only a quarter left of 2012 until 2013.. or something similar.
 
BTW, this is the "answer"
http://stackoverflow.com/a/11336796/103167 "My crystal ball is on strike today.

However, it can be persuaded to return to work for just $500. Join the Lounge<C++> chatroom for payment instructions."
 
@BenVoigt I don't have enough rep to view that post..
 
I just quoted it here
 
oh, I thought there was something more to read in the actual post - alright.. thanks!
I think I'm too tired to appreciate it though, haven't slept in 3 days.. (unless you count the two occurrences of 15-20 minutes naps on the train when heading home from work)
stackoverflow.com/questions/11463846/it-seems-i-redirected why the fcuk did he think stackoverflow.com would be the appropriate place to ask that question?
0
Q: It seems I get redirected

srgg6701I can't get github.com. When I try it seems I get redirected to another site (see illustration). Moreover, I get redirected there every time I try to go any link containing the string "github". I thought that my PC was infected with DNSchanger but when I checked, it was not confirmed. I have no i...

 
3:50 AM
So downvote it into oblivion
 
I'd rather vote it as off-topic
 
Why did a 2k user think that "improving" that question and not voting to close was a good idea?
But he's got the gold "Copy Editor" badge, oh yes.
 
@BenVoigt yeah, I noticed that as well
I'm sad to say that [ruby] is quite a nice language after all.. even though I've never worked in it, I only help people asking questions about it on SO :-/
 
4:11 AM
i like ruby, even though i don't use it for anything. it just reminds me so much of smalltalk for some reason
i don't really even get why, other than that everything really is an object (unlike just about every other language out there)
 
@BenVoigt I think deleted posts don't count towards that badge. But I suppose if you spam enough edits, enough of them will stick.
It took me a LONG time to get Copy Editor...
 
i still don't have it. most bad questions i see would be better deleted than edited :P
 
Copy Editor is the last of the one-time gold badges that I got and will ever get. (barring new badges or tag badges)
Unsung Hero is pretty much impossible for me.
 
yeah, Unsung Hero is easiest to get if you plan it right from the start
though I didn't know about badges until it was too late..
 
@refp I actually tried... but failed miserably. C and C++ is the wrong tag to do it in.
I've only seen one user get Unsung Hero from C++.
 
4:19 AM
@Mysticial why not focus on another tag just to get it?
 
@refp I don't have enough knowledge in any other of the low-vote tags.
And even then, I'd basically have to completely stop answering C/C++ questions and get about 90 consecutive accepts with no votes to get it.
Not worth the effort.
 
@Mysticial well.. golden badges are worth a lot of money you know, you should invest in some books regarding the low-vote tags to get the thing you long for so much.
@Mysticial if you were to do it now, yeah.. :/
 
And like seriously... am I really an Unsung Hero?
eh... I don't think so...
 
So, why is Lounge<C++> tagged [brainfuck]?
 
@Managu because we're awesome
 
4:22 AM
@Managu because the C++ standard will fuck with your brain, that's why.
 
@Managu Why wouldn't it be?
 
@Mysticial we should at least come up with the same reason, change your post.. my reason is far better
 
You know, never mind. Stupid question...
 
@Managu There are no stupid questions, only...oh, all right, you win. Stupid question! :-)
 
4:44 AM
The c++ tag seems fairly dead today =/
 
@Managu it's still early (CET)
 
hello everyone :)
 
@refp Oh, is that where all the C++ people live these days? ;-)
 
@ITNinja Who is the "everyone" you're talking to? Pretty sure I've never seen anybody by that name here.
 
@JerryCoffin oh, you dont see his messages? hmm... your missing out.
 
4:47 AM
@ITNinja I'm deeply saddened now.
 
@JerryCoffin :P
 
@Managu well.. in the US it's, well to generalize it's "night", and in europe it's mad early to spend time at stackoverflow
it's the crack whores, insomnia zombies and the criminal insane who are awake in CET
 
I code best at night :P working on designing a real estate site :P
 
I'm one of those insomnia zombies..
 
Is "real" redundant there? I mean, is there good business in fantasy estate? Or some other sort of unreal estate?
 
4:52 AM
@Managu Real is actually redundant everywhere. Every fantasy creates a parallel universe that includes what you thought was a fantasy as part of its reality.
 
@Managu if you are trying to be funny you are in the wrong room. PHP is down the hall to the left, go out and pass the dead tree on your right side, there you will find a dumpster smelling like rotten fish.. if you dig into that dumpster you will find an awkward language close to the bottom of it, that's PHP.
 
:-(
 
@refp If you're trying to be serious, you've definitely in the wrong place!
 
by the way; I like how newcomers in here get the PHP-treatment right away.. Lounge<C++> goes trollin'
@JerryCoffin I'm here to troll (and sometimes discuss interesting topics regarding C++), but mostly troll.. and lurk, and surf porn.
 
You surf porn in Lounge<C++>? I must have missed some of the better posts, as the only pictures I've seen in here recently have been lolcats and stick figures.
 
4:55 AM
@refp Is there actual porn to surf here? I remember lots of discussion that mentions porn, but darned little even the most uptight could claim actually was porn.
 
i'm easily satisfied, dereference a nullptr and I cum everywhere..
 
@refp Just for you: *((int *)int()) = 69;
 
totally threading a non-thread safe GUI ;D im such a rebel.
xD
 
5:15 AM
Morning
 
morning :)
 
@ManofOneWay Not for another 49 minutes...
 
@JerryCoffin It's finally friday again :)
 
5:34 AM
@Mysticial two more votes and todays vote-cap has been reached, awesome.. and I finally finished a song of mine, wiho!
 
@refp One more actually. But wow... that's pretty fast.
I still need 5 more... which I'll probably get before I wake up in the morning.
I actually answered a question today though.
 
@Mysticial in what timezone are you? it's 7:35 am over here
 
@refp Chicago CST
 
Ah, I see - cool
 
On Wednesday, I wasn't expecting to repcap without answering any questions...
 
5:38 AM
I think I'm gonna aim for about 400 rep per day until 10k, just lurking easy answered questions in boring tags and it's a piece of cake.. I mean, most of the scripting languages have very easy questions to answer
 
the amount of rep ive been earning has dropped significantly since i started hanging out in here lol.
 
@Mysticial that's my "dream", being able to just grow rep by doing nothing because you have made so many good answers in the past.. I'm quite far from there though
 
But when I woke up in the morning - well... apparently the branch predictor question got linked - again. Though I couldn't find where it was linked from.
@refp It's really just that one answer that's been capping me for the past 2 weeks.
 
@Mysticial it's a really good answer.
 
All my other answers combined barely give 2 or 3 votes a day.
 
5:40 AM
.. and on an interesting question for those who didn't know about it before
oh my fucking god, I didn't realize that it had grown to 2569 votes!
that's far more since I last checked it out haha
 
@refp Which is probably why it's attracting so many votes. If you can make the general audience get it... it's all good.
 
@refp Behold the power of linking!
 
@JerryCoffin It's been linked successfully 3 times at least. Reddit, Joel's tweet, and something I can't find on Wednesday.
 
35
A: How can a variable be used when its definition is bypassed?

refpLong story short; goto will result is a runtime jump, variable definition/declaration will result in storage allocation, compile time. The compiler will see and decide on how much storage to allocate for an int, it will also make so that this allocated storage will be set to 3 when "hitting" i =...

this is my best voted answer.. :-(
 
@refp IIRC, that's better than my best answer when I had 8k rep.
 
5:43 AM
on the python questions i never seem to get more then one upvote >.>
 
and now someone will probably yell something about the wording of storage compile-time etc etc, but being THAT pedantic isn't really neccessary
 
lol
 
@refp Don't feel too bad. My highest-voted answer is a fairly useless one:
80
A: How is "int* ptr = int()" value initialization not illegal?

Jerry Coffinint() is a constant expression with a value of 0, so it's a valid way of producing a null pointer constant. Ultimately, it's just a slightly different way of saying int *ptr = NULL;

 
Actually, I have to double check when that x = x++ question was asked. It was stupid, but I did get a 100 votes out of it.
@refp and +1. :)
Now you're capped.
 
vote-cap reached, wiho! now I just need ~8 more accepted answers to hit 400 rep today..
@Mysticial hehe thanks mate!
 
5:46 AM
@refp Guru badges are nice. You only need a few more.
 
@JerryCoffin kinda useless, but the question itself is interesting when you only see the int() and int*
 
@refp have you received any bounty today
 
@Random nope
 
One thing that I've definitely noticed is that when you post an answer that "wows" people, they will go to you profile and upvote your top answers if they are good.
 
then the max reputation is 350 not 400
for a single day
then the max reputation is 350 not 400
 
5:47 AM
@Random ... nope
 
@Random accepts don't count
 
for a single day
 
@Random NOPE, I've gotten 425 rep on a single day in the past
 
@Mysticial Apparently, I've posted something that pissed somebody off -- I've been getting quite a few more down-votes (none with comments) for the last few days.
 
@Mysticial I should start doing that close to midnight so I get a little boost during nights
 
5:49 AM
@refp I'd say take it easy. Call it a day after you cap. Or you're "wasting" votes. Unless you are absolutely sure you can recap consecutively for weeks on end, don't bother to intentionally overshoot the repcap by gigantic margins.
 
@Mysticial I just wanna hit 10k asap
 
@Random Accepts and bounties are immune to the rep cap. For example:
 
@refp Take a look the repcap for my first 70 days or so. You'll notice that I never ridiculously overshoot the cap - except for the occasional popular question.
Basically, I always quit when I hit the repcap. That way I don't burn out.
 
@Mysticial ...which is part of the stated intent of the rep cap.
 
@JerryCoffin yep... unless you're Jon Skeet, in which repcap is a given, and the only game you play is accepts... That's not a game I'm ever willing to play.
 
5:53 AM
@Mysticial true though, but heck.. you have been a member on SO for about 3 months longer than me but have about 6 times as much rep, I gotta step up the game! ;)
 
@Mysticial Yeah -- and as I'm sure you're aware, Jon doesn't like the (current) rep cap. I'm pretty sure most of the other members toward the top of page one have enough loyal followers that hitting the cap doesn't take much for them either (though most seem about like him, answering a lot more questions than I ever will...)
 
@JerryCoffin What's also surprising is that a good number of them do a lot of one-liner answers. But every single one of Jon Skeet's answers are at least a paragraph. That's probably what sets them apart.
And then you have some of the users that live off of residuals - Eric Lippert being the primary one.
 
@Mysticial At least part of it, yes. I'll say one thing for him: he must be a lot better typist than me.
 
CMS is another big residual person.
@JerryCoffin I've been up against Jon Skeet 4 times on a Java question. I've beaten him twice. That makes me proud... lol
 
@Mysticial That's pretty impressive. I only remember one question he and I both answered. I answered a lot later, but think my answer was rather better. I guess as much later as it was, I can't complain about the lack of votes for it though...
 
6:04 AM
@JerryCoffin He is fucking fast... I have no idea how he can hammer a half-paragraph answer in < 60 seconds and improve it with a code-example in another min. The only reason why I'm 2/4 against him is because I'm very picky with the things I answer and I usually only answer things that I know I can answer well.
 
@Mysticial Well, I think I stick to things I can answer well, but maybe I'm just conceited. I rarely try for speed though -- when I get an answer in first, it's generally quite accidental (and sometimes I only browse around page ~3 of questions, so I'm well behind, and only answer when all the existing ones strike me as boneheaded).
 
But overall, I'm glad that I don't have more tags in common with Jon Skeet. If there was an equivalent of him in C++, it'd be a tough game...
 
the sad thing about jon skeet is that he tends to get many up-votes just because he i jon skeet
like when competing with authors having a few golden badges/much higher rep, people tend to up-vote their answers more since they are more "experienced"
 
@refp That is indeed the case - especially with his top voted answer. IIRC, he did admit somewhere that his time-zone answer isn't something that really deserved that many votes - at least in comparison to other 1k answers.
 
it's harder now than early on.. when I had very little rep I guess people thought "shit, he is new this and answers questions really well.. let's give him a little boost"
 
6:10 AM
@refp That's clearly true of Jon, but much less so with most others, I think (though still undoubtedly true to at least some extent).
 
@refp I remember that. It was easy to get votes early on.
It's the middle ground that sucks.
 
this one got me quite annoyed to be honest
0
Q: ADL fails when there are lambda arguments?

Martin Wirthquite some time ago i noticed that in Visual C++ 10 ADL fails when at least one of the arguments is a lambda. std::vector<float> vec; for_each(begin(vec), end(vec), [](float) {}); The above fails to compile on VC++10 and 11 (beta) (begin and end are found via ADL). When i convert the l...

 
lol, I've had that happen to me before. (several times actually)
And I got two populist badges - so I wasn't too annoyed.
 
@Mysticial Yeah, looking at the highest rep users in C++, nobody's even trying to be the same. Johannes, James, me, Nawaz. I guess in terms of being sort of like Jon, Nawaz probably comes the closest -- he's also very quick, and definitely knows a lot.
 
sure, I answered the question half an hour late.. though the questioner didn't accept the answer until much later.
I'm not sure I like Nawaz, though I don't have any reason not to like him.. it's just something about.. something
haha
 
6:13 AM
@refp Remind me on a day that you're not capped. And I'll +1 it then.
 
@refp Under the circumstances, I can see why. He strikes me as a decent enough guy though.
 
@Mysticial I'll most probably forget about it, but if I do remember - thanks! :)
 
Repwhoring is definitely not something that gets you too many friends... Especially if you manage to pull off 10+ accepts with one-liner answers...
 
@refp If it's any comfort, its not being accepted (but being highly voted) is likely to get you a gold badge.
 
@JerryCoffin yeah, and gold badges are shiny
 
6:16 AM
Populist is one of the badges that's almost always "unexpected"...
There were a few badge proposals for a Gold "Guru" badge as a counter-part to Populist.
But they were all shot-down because most of the highly voted answers back in the day were wedding cakes and programing jokes.
 
@Mysticial Poor idea, IMO. The very fact that he's asking the question indicates that the OP is often in a poor position to judge the quality of answers, so relatively little weight should be placed on acceptance, IMO.
 
@JerryCoffin Not necessarily. It's win-win. If you get accepted, you get the Gold Guru badge (call it the "Professor" badge). If you don't get accepted, you get Populist.
 
@Mysticial Oh, don't get me wrong -- I don't really object to it (or any other badges they feel like giving out). I just doubt it would mean a whole lot. I don't think I'd look at it and think "Oh, he must be good, he's got N professor badges!"
 
Is that any different from saying "he's got N Great Answer badges"?
 
@Mysticial Hmm...well, probably not a lot. I just don't see it's having been accepted as meaning much in itself.
 
6:27 AM
True. Populist itself kinda suffers the same thing as a potential Professor badge. And I do recall shog9 saying it should've been a silver badge.
They need a "viral post" badge. :P 1000+ votes in 24 hours. Only two people would have it right now. hahaha
jk...
Clearly, I should be getting back to this paper I need to show my prof tomorrow morning...
 
@Mysticial Excuses, excuses! Have fun.
Well, I should probably get to other things too. Good night all.
 
night
 
6:57 AM
12
Q: Why is Java the lingua franca at so many institutions?

Billy ONealEDIT: This question at first seems to be bashing Java, and I guess at this point it is a bit. However, the bigger point I am trying to make is why any one single language is chosen as the one end all be all solution to all problems. Java happens to be the one that's used so that's the one I had t...

> This question at first seems to be bashing Java, and I guess at this point it is a bit.
Yay Java bashing :)
 
7:14 AM
heh do you have to teach Java, @FredOverflow? :)
That is what my .net programmer friends find hot ninject.org.
 
@Nils yes
 
Well at my uni many of the first semester students had a hard time trying to understand Java..
 
What language would you suggest instead?
 
processing
 
never heard of that one before
 
7:29 AM
focus on algorithm not languages for beginners
Just a simplified Java which lets people easily draw on the screen.
 
morning all
 
morning
 
indeed, many new to programming get swept on language details, rather then understanding things like what a bubble sort is, and why you should never use it in real life
The concepts are transferable to any language, the fact that PERL uses $_ as some magic variable all over the place is meaningless out side of PERL
 
 
1 hour later…
8:41 AM
Java is the language of choice because it's considered to be a clean C++
Was that an hour ago? Crap, I did it again.
Java is the language of choice because it's considered to be a clean C++
 
@Cicada, art thou online?
 
hm... interesting view point. Though, it does sort of neglect the fact that Java is shit
 
@KonradRudolph thou shalt not call her name in vain!
 
@sehe ’tis naught in vain unless the maiden dost not answer
hehe, speaking forsoothly makes you sound like a douche :D
 
@KonradRudolph I don't think that word means what I think you think it means
unless you are basicaly saying "the truth hurts"
 
8:51 AM
@KonradRudolph I too like to masturbate a word that I don't know into a sentence.
 
not convinced you don't know that one
 
@thecoshman It does. “speaking forsoothly” is a well-defined term, meaning “talking like I’m a dick at a medieval fair” talk in the manner of yonder days
 
@sehe Wouldn't have been funny if nobody knew what it meant though
 
@KonradRudolph that article begs to differ, forsoothly ~= in truth or honestly
 
@Neil See above. I’m good at being a smartass, don’t try to outsmartass me
 
8:53 AM
@KonradRudolph citation needed
 
@thecoshman forsooth.ca
Article fight.
 
@thecoshman You don’t understand the notion of creating new things by combination of existing things, do you?
 
@KonradRudolph You're being way too serious today. Doesn't suit you
 
@thecoshman Google, motherfucker, do you know it?
 
8:54 AM
 
Quick Question: Does omitting the return statement in main() cause undefined behavior?
 
@Mysticial Not in c++03, it is in C
 
huh, it seems to prefix for 'speaking' changes the meaning of the word forsoothly
 
69
A: When should I say "thee"?

MT_HeadTo amplify what @Noah said: Thee and thou are the second-person singular pronouns in English. They have fallen into almost complete disuse, as you are aware... but the funny thing is that most native speakers (of American English, anyway; I can't speak for British English speakers) have exact...

 
@KonradRudolph Never
 
8:56 AM
@KonradRudolph During Christmas.
 
@sehe thx
 
@sehe I wasn’t linking to the question, I was linking to the answer defining “to speak forsoothly”
 
I think it's ok in C99.
Don't put much weight into that "I think" though.
 
@sehe Apparently, it's UB in C90, but defaults to return 0 in C99.
 
@Mysticial Ah, I was expecting something like that, but I don't quite following the proceedings in C99 :)
@KonradRudolph Still, the answer is: Never
 
8:59 AM
It popped up in this question:
2
Q: copying datas into the array using memcpy

Angus#include <stdio.h> int main(){ int a[4]; int b[4],i; a[0] = 4; a[1] = 3; a[2] = 2; a[3] = 1; memcpy(&b, &a, sizeof(a)); for (i = 0; i < 4; i++){ printf("b[%d]:%d",i,b[i]); } printf("%d",sizeof(b)); } ANS: b[0]:4b[1]:3b[2]:2b[3]:...

 
@KonradRudolph seems to be a modern amuse of the the word, the original meaning of the word is not to talk in an 'old fashioned' way, but 'in truth'. I would hazard a guess at it having similar roots to sooth sayers
 
@Mysticial Obviously :)
 
@KonradRudolph Well, now I am.
 
aaaaah! The pink is back. Later.
 
@thecoshman It’s used in the combination “speak forsoothly” because it sounds archaic, not because its meaning actually fits
 
9:01 AM
0
Q: C++ templated singleton class - how to handle private constructor

PatrykI realise how many times this have been talked about but I have not found an appropriate solution for my problem. I have just implemented a Meyer's singleton class into my project but I would like to make a template out of it so that I can use it as e.g. class Game : public Singleton<Game>...

 
@Cicada Great. I was just wondering, since you’re a bioninformaticianess yourself, did you ever do a genotyping (such as 23andme …)?
 
I'm not a bioninformaticianess :) I'm an informaticianess working for a physicist who works on chromosome folding (and more generally polymer folding).
So no, no genotyping for me :(
Must be interesting though.
 
@Cicada huh, I thought you were bioinfo~ by training
anyway, we’re currently doing a campus-wide genotyping of a few traits
 
I have basic notions. No more.
 
quite cool, since that means it’s free for us, and we get lots of delicious anonymised data out of it
 
9:04 AM
What are you characterizing? :)
 
Ancestry (Worldwide, Neanderthal and population markers)
Cholesterol
Eye colour
Smell perception
Taste perception
Blood glucose
Muscle performance
Blood pressure
Body mass index (BMI)
Blood type
Nicotine addiction susceptibility
Caffeine consumption
Fat distribution
Lactose intolerance
Norovirus resistance
Male pattern baldness
 
@KonradRudolph b15n, b15ess etc
 
most of those traits are utterly boring since you know that anyway (smell, taste, eye colour, wtf?!)
we had a poll for traits beforehand, I have no idea what idiots voted for those traits
@sehe Waay too difficult to remember, I don’t remember i8n and l8n either (as you may notice by the wrong numbers)
 
Fat distribution lol
"Free fat, who wants?"
 
@Cicada Quite awesome, afterwards you can call somebody fat and be backed by science
 
9:07 AM
I don't quite get how you can measure smell and taste
 
@Cicada What they mean is the presence of two alleles that affect whether you can taste asparagus and smell freshly-cut grass
not taste and smell in general
 
They exist? Now that is awesome
"I can taste asparagus! I am therefore superior to you."
 
yup, that’s why some people can’t stand asparagus (they taste the bitterness) while others love it (they’re essentially ignorant of the vileness they are gobbling down)
 
Asparagus are tasty.
 
@KonradRudolph oh wow. Didn't realize there were people who can't smell freshly-cut grass
 
9:10 AM
@jalf Nor did I. About 1 in 1000, apparently
 
how rare
 
or was it 1 in 100? Hmm
I’m much more interested in addiction susceptibility
I’ve just recently learned that apparently addiction is highly genetic, which means that many people don’t get addictive – not only to nicotine, but also to “hard” drugs such as heroin
 
interesting
 
and apparently the susceptibility to addiction is also linked to (again, genetic predisposition to) mental health problems such as schizophrenia
 
While we're spewing useless facts, the typical earth smell that you smell after a rainstorm outside comes from a bacteria that lives in the dirt.
 
9:13 AM
I have tinnitus :(
 
@Cicada Ow. That's not nice. Continuous or when strained?
 
I have noise-cancelling headphones. Would they help against tinnitus?
(probably not, since it’s not a real noise …)
 
Continuous. But I don't notice it unless I pay attention to it.
No I don't think it would help.
 
Nope. Tinnitus is a defect of the membrane if I remember correctly. At least, no external triggers are required
@Cicada Phew. That's luck.
 
Don't know if it's genetic - my brother has, too.
 
9:15 AM
@Cicada There used to be some kind of experimental treatment for severe cases where patients were deliberately exposed to sounds at the same pitch as their tinnitus for extended periods of time, so as to recondition the brain, that it will learn to ignore the pitch more effecitvely. Don't remember about the results.
Seems to me like a treatment that could easily backfire, as well :)
@Cicada Amenability could be genetic. In general, tinnitus usually results from over-exposure to loud sounds though.
 
I had a lot (read: a whole lot) otitis when I was child, my audition is quite bad (I can't hear high frequences at all!)
</mylife>
 
@Cicada That is probably a cause for ear damage in general too....
 
Ell
what is tinnitus?
 
@Ell look it up bro
 
Google it.
 
Ell
9:20 AM
right I got it.
I thought that happened to everyone?
I am hearing a very high pitched white noise rout now o.O
 
@Ell Tinnitus is generally when you hear the same pitch all the time
afaik
 
@Ell It happens to everyone. It isn't usually permanent though. If that's the case, see an audicien / doctor
 
Ell
and I guess its a matter of severity too
 
also, how audible it is varies hugely. Some only notice it if they're paying attention, and for some it's pretty much a crippling disability
 
It happens to me when I'm tired, sick or have been exposed to loud sounds too long
 
9:23 AM
I never noticed a pattern of when it happens to me.
 
Ell
I think sometimes I make myself believe I can hear it
not intentionally, but usually I can hear it whenever I want to hear it
 
It could just be it is more obstructive when I'm tired. I notice I can't get to sleep when I'm too tired because the low rumble of a nearby supermarket's cooling systems are stressing me. I have to assume the cooling noise is always there, but I usually can ignore it
 
Ell
whi h means its probably in my head
 
@Ell every sensory input is in your head
even the parts we popularly think of as being 'solid' / 'concrete' information. In practice we hardly see anything. We see a lot of hints and our brain 'phantasizes' a scene based on the information. It does so so successfully that we think we accurately observe our surroundings.
 
My brain is not a scumbag liar.
 
9:27 AM
Numerous (psychological) tests show, however, that we're very very easily tricked to see things entirely (entirely) different from how they really are
@RMartinhoFernandes Nope. It is a regular liar. And it can't help it.
 
@sehe see also xkcd.com/1080
 
Reminds me of these opticals illusions.
 
Our brains are loyal liars
 
They make you realize how fucked up is our perception.
 
Ell
hmm this is interesting. I thought the braid had mostly solid info and it did only s little estimation
 
9:28 AM
That's for vision, but same thing applies: the brain makes up half of it
 
@Ell Not sure what the braid has got to do with things :)
 
What's "the braid"? I thought that was some hairstyle.
 
@jalf I think it is really more than half. We go by memory, anticipation, association as with any other recognition process.
 
Same reason why first impressions are so important. The brain makes an impression and it's difficult to change its opinion
That goes for political issues, decisions, whatever
 
Ell
the brain :3
 
Ell
I know that my dad did a little experiment with scuba divers speaking to an above surface instructor. they heard what they expected and could barely understand any words they weren't expecting
 
that's a good example
thing is, the same happens at the breakfast table, in traffic, at school and everywhere
 
I'm looking for something useful to read about how std::unordered_set works
 
"th brwn dg jmpd n th bx." - reading without vowels is surprisingly easy (or ecenglish.com/learnenglish/lessons/can-you-read)
 
23.5 doesn't say much
In fact I can't even find insert and access time.
 
9:36 AM
It's on the general associative container requirements.
@Nils §23.2.5 has most of the stuff.
 
ah thx
 
0
Q: how to get a C/C++ variable's property

tuğrul büyükışıkCan you tell me how to get property of a variable: Example: int a=5; .... .... isConstant(a); //prints "no!" if a is not a constant at this time isRegister(a); //prints "yes!" if a is a register at this time.important. isVolatile(a); //prints "trusted" if a is volatile isLocal(a); // if it is...

isRegister(a); //prints "yes!" if a is a register at this time.important.
lol
 
@Flexo some cultures knew that long before. Think Hebrew
 
wow but I didn't, interesting
 
You didn't interesting, but you did accidentally.
 
9:45 AM
lol
so back to work
 
Say I have a vector or vectors of ints of variable sizes; Vectors of ints always have values in descending sorted order. I need to remove n smallest integers from the whole vector of vectors collection to end up with N largest integers while maintaning their separetion into distinct vectors.
Is there a known algorithm that solves this problem efficiently? Or I should just iterate over the vector of vectors and delete mininum of (whatever is on the latest index on each vector) one at a time until I will remove N integers?
 
Something like the merge part of merge sort.
It's O(N) in the number of elements to remove.
I don't think you can improve much on that.
 
@RMartinhoFernandes you can't legally take the address of a register variable so there might be a way...
 
@Flexo You can.
register specifies that a variable has automatic storage.
 
@RMartinhoFernandes I thought it was explicitly verboten, but gcc seems to only warn about it
 
9:51 AM
Maybe in C.
 
@R
@RMartinhoFernandes - could you please elaborate on that?
 
It's just a old-auto + hint in C++.
It's also deprecated.
Mostly because it's often ignored.
@KarimA What part?
Merge algorithms are a family of algorithms that run sequentially over multiple sorted lists, typically producing more sorted lists as output. This is well-suited for machines with tape drives. Use has declined due to large random access memories, and many applications of merge algorithms have faster alternatives when a random-access memory is available. The general merge algorithm has a set of pointers p0..n that point to positions in a set of lists L0..n. Initially they point to the first item in each list. The algorithm is as follows: While any of p0..n still point to data inside...
 
thanks!
 
Sadly std::merge and std::inplace_merge are not generic enough to be useful in your case.
And it sounds like your proposed solution btw (I hadn't noticed it when I first mentioned this)
 
yeah - I was looking into it now. But I have just thought of something else:
 
9:59 AM
However, you may want to sort the vectors in reverse.
Or use a deque.
Removing from the front of a vector is slow.
 

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