« first day (835 days earlier)      last day (4338 days later) » 

05:01
or maybe my delusion is that someone else has delusions
yes @DeadMG tell us what hurts so much
god gcc errors suck!
you won't be able to provide any useful assistance over the interwebs
@DeadMG I don't think anyone here is a trained health professional.
say you called 911 and said that someone at some IP is having a heart attack. what do you thing would be the chances of anyone doing anything
05:03
What exactly is your issue?
@DeadMG Please. Tell us. Were here to help. Were here to alleviate your sufferings. Were here to make you feel better! XOXO
@EtiennedeMartel Rapptz is a nurse.
his name isn't a good sign :|
@R.MartinhoFernandes Really?
I am not a nurse :(
05:04
@Rapptz Stomach. As usual.
What are you then, hmm?
it's just usually not so painful.
@Rapptz Oh. Student or something?
oh that. god yes stomach pain is terrible
@DeadMG Ah. When did you last ate?
05:04
I am a biomedical scientist who works in a hospital and conducts research on some days while he deals with patients the other days.
See? Nurse. :P
;_; damn it
More of an aide.
@DeadMG yeah but.. what kind of pain?
is it just nausea or is it actual pain?
05:06
if I had to pick, I'd say cramping
and yes, most definitely a large amount of actual pain
@DeadMG You feeling some burning, acidic, sensation in your throat?
haven't been this sick in a very long time
location?
@Rapptz Mostly front upper, all along, and some middle left/right.
dyspepsia?
05:07
what's that?
indigestion
think so
treatment for indigestion is actually over the counter -- though since it is severe in your case (based on what you have told me thus far) it can probably be a peptic ulcer (though last time you told me you didn't have one, it's actually the only distinct connection I can make)
I wouldn't know the difference between a peptic ulcer and brain cancer
05:12
Well, it's the only thing I can think of that you actually have given everything you've said.
The main issue with a peptic ulcer is that medication actually worsens it rather than help.
@DeadMG glad you mentioned it
You have a space between ] and (
@LucDanton Yup.
@EtiennedeMartel I found the source of the noise, there's a yellowy one.
05:15
@Rapptz Had no effect or slightly worse for me when I tried it, but that was two years ago.
@doug65536 Damn.
@DeadMG It's chronic.
@DeadMG seriously though, are you worrying too much? diet?
@Rapptz This is sure chronic.
05:18
@doug65536 Well he's been complaining about it since I've been in this chat so it isn't really hypochondria.
sometimes people know how to avoid it, it's good to figure out what upsets it
@DeadMG When was the last time you checked for Helicobacter pylori?
20 months or so
one of the first tests I did at the docs when I went first time
Consider getting that checked again?
Should probably go to the doctor and get that test done.
Catch it early I guess, because it can lead to stomach cancer.
Just my prediction.
05:21
@Rapptz That it can lead to cancer?
no I know it can lead to cancer
I'm just saying that's my prediction on what he has
But he should check up with a doctor for sure
@Rapptz And he can't take meds if he doesn't go to the doctor.
if he has a developed ulcer taking meds would be stupid
@Rapptz Why's that?
wiki page of symptoms doesn't mention food-specific reactions
05:24
?_? it's implied
@Rapptz Most meds have bad effects on the gastro tract?
It's in the stomach -- what else would trigger it?
surely they have special medication for stomach problems, designed for stomach problems
@MarkGarcia "Regular use of aspirin, ibuprofen, naproxen, or other nonsteroidal anti-inflammatory drugs (NSAIDs). Taking aspirin or NSAIDs once in a while is safe for most people."
05:27
so a drunk just off a breathing machine smoking cigarettes would have bad stomach problems?
Yes.
@Rapptz Oh. I must tell my mother to stop taking aspirin (in seltzer).
@doug65536 It often takes the form of cauterization, IIRC.
Does she take aspirin everyday or something?
05:29
I can only imagine how the tissue survives the stomach environment, stomach is hostile environment
@Rapptz She takes it to relieve her stomach pain.
lol
@Rapptz I don't know who told her that.
so
how long should I give acute stomach pain before calling an ambulance
if you feel flush in the face / lightheaded or feel like you should lie down, the pain is pretty bad yes
05:31
Can you get up?
@DeadMG ASAP to the doctor. Don't wait. Waiting only lengthens your suffering.
yes
walking around helps a tiny smidge
lying down makes it much, much worse.
Well, when you can no longer get up or move around.
You could follow Mark's advice too.
05:33
well
oh it's 5:32 AM there huh
TBH, I don't think it will lengthen my suffering, unless you think they'd offer me morphine on request when I reach hospital.
@DeadMG Perhaps.
they know its bad. they'll do something I hope
long wait if they think it isnt bad though
@DeadMG Still, waiting won't help. It will persist until you do some action to alleviate it.
05:35
it'll go away on it's own
eventually
my very unfortunate record is 11 hours, and I'm only half-way through that
To be honest -- stomach pains and headaches are usually seen with very low severity.
try to figure out exactly what upsets it
Even by health professionals here and in Canada from what I've gathered with my doctor friends there.
@Rapptz They're just symptoms, right?
It's due to the fact that it is the most common type of cases in the ER, that and the common cold.
05:37
@doug65536 I've been working on that for two years.
@DeadMG did you break any rules recently? or is it bad for no reason now
uh, actually, I did, but that was only good for two hours, not five and a half.
@MarkGarcia Usually dismissed with a pain killer. Basically what I'm saying is that it's harder to get good attention from medical professions with a headache or a stomach pain.
I think I'm gonna go back to the yoghurt diet
@Rapptz I think, it's only when the med men have those themselves will they take those seriously enough.
05:39
it was so boring, even I couldn't stick to it for more than a few months, but I sure never got sick following it.
You have no idea how common the cases are.
Either way, I'm not saying that it gets completely dismissed.
Just harder to convince.
well, if that is anything like breaking bones or joint injuries, the way you heal it is using it, even when really painful
fail
do us all a favour
see a doctor soon
I did
that was my second time
05:42
Did you ask for a blood test for H. pylori?
as in, the first time I saw one for six months and he achieved nothing
@Rapptz You can blood test for that? I took a breath test previously.
the doctor might have to go through a few different treatments, you're supposed to go back if it's not working
that's how we do it here
with a blood test
@Rapptz Should it be more appropriate to do a stool test?
well
it's less now than it was an hour ago... slightly.
05:43
It's just that, it's gastric.
a few hours watching those terrible Matrix sequels and I can get to bed.
@MarkGarcia It depends on what results you want.
In hindsight, a blood test is pretty bad for his case.
@Rapptz Ah. Right.
@Rapptz My new doctor ordered a raft of them.
also an ultrasound of my gall bladder.
Well -- just get an accurate test. Blood test's only issue is that it stays positive for a long time.
Hm.. I forgot what I was doing aside from my redditing.
05:50
Try cross-compiling shit to MinGW
It's VERY FUN
I think you are being sarcastic.
@Lefteris Not necessarily. If the compiler can't prove that y doesn't overlap with x or z, then it will be forced to redo the load every iteration. — Mysticial 2 mins ago
Am I the only one who noticed the potential aliasing?
The first comment has waaay too many upvotes on it.
lol Aniket's answer
Oh I just noticed I got +30 rep.
@Rapptz Yes, you get that automatically at the start of each week for being awesome.
06:00
Apparently if you build gettext with --disable-nls then instead of disabling the damn translations, it just doesn't build libintl at all
MAKES SENSE
damn
my stomach pain is nearly entirely gone, and now my upper back wants in on the action instead.
fucking thing
I wanted to sleep soon
@DeadMG Have you been curling the whole time?
leaning, maybe
06:21
6
Q: Why is the cplusplus website bad?

pedromanoelI always used the http://www.cplusplus.com as a reference. I really like the way the documentation is organized, making it really easy to find what I'm looking for. However, I was looking for good alternatives and I stumbled upon this question: Good reference for C++ iostreams? There, one of th...

Didn't this used to have answers?
Removed entirely "for reasons of moderation"? WTF?
The question is: What's wrong with cpluscplus.
Now we have no canonical question to point people to when they don't already know that cplusplus.com is not to be spread around
@DeadMG: Yeah but!
stackroulette is nicer than stackprinter but still not as nice as regular SO lol
It's not like it's illegal to copy CSS ?_?
it's CC-BY-SA 3.0 isn't it?
06:25
At least questions on stackroulette won't just arbitrarily disappear when some moderator decides he doesn't like the question
What is this, Russia?
BTW hi
Question.
Do any of the containers have O(n) search?
list
depends on how you "search"
Hm
Why does only list have the remove method?
most have erase, that "removes" items
no no I'm not talking about erase I'm talking about remove
06:29
@Rapptz That's the point though.
its a "for every item remove it if it has this value" operation
@Non-StopTimeTravel I don't follow
@Rapptz: What's confusing?
Well, what is the point of only list having remove?
@Rapptz I think it's historical more than much else.
06:30
if you have a list of ints and you call mylist.remove(10), every node == 10 will be removed
It's optimised
@doug65536 I know what remove does.
@Rapptz I reject the premise of your question. What would be the point in not only list having remove? The functions erase for other contains (and, indeed, list itself) do different things.
Or, rather, I can't find the premise in your question. It's like asking "what is the point in only cars having four wheels".
std::remove shifts elements and doesn't really remove them, lists can unlink them easily and more cheaply
Your base assumption appears to be that all member functions for all standard containers should all be exactly the same, which is bizarre.
06:31
@Non-StopTimeTravel No.
Well, I guess sort of it looks like that.
containers have special capabilities, O(1) erase being great in lists. splice is the best list thing.
trouble with list is, that O(1)'ness isn't great when some other operations are O(n)
is there a reason you can't have partial specializations in class scope in c++11, or just to break msvc code
Hey guys if I do :
double someVar;
someVar = 2.0/1000; someVar is always 0, I thought double could take that much precision info
anyone have any ideas ?
it's zero point a bunch of digits
06:38
yup
but as I understand it , double / float should be able to give me 0.0002
its not that small a number to be lost in rounding errors
the bug is where you're printing the number
or you're copying it into an integer somewhere along the line
@angryInsomniac It does.
There is something else you're doing that you're not telling us.
You should cease doing that other thing when you're trying to prove the behaviour of the calculation.
@Non-StopTimeTravel Hmm, well the 2 was actually a LONGLONG , I just statically cast it to a float before division
now it works
That is, your testcase shall look only like this
#include <iostream>

int main()
{
    double someVar;
    someVar = 2.0/1000;

    std::cout << someVar;
}
// Output: 0.002
That way, you're not wasting our time with lies. :)
He already wasted your time to compile that example!
06:42
@angryInsomniac I have no idea what a "LONGLONG" is supposed to be. Why did you say double if you meant LONGLONG?
@Rapptz Worth it if I can teach him something about solving problems atomically.
long double
long long
long long = 64-bit integer
@doug65536 Or more.
@MarkGarcia I'd be impressed if you knew one that was more :)
@doug65536 Irrelevant
06:43
@doug65536 I believe that GCC, Clang and MSVC all support 128 bit integers on x64.
long long is 128-bit or you're using something unrelated to prove it
I never said long long was 128bit
I only said they support 128bit
C didn't require 8-bit bytes right?
It requires char to be 1 byte doesn't it? Not so much the 8-bit part though
and C++11 still only says "8 bit or greater".
@Rapptz Yes- that's the definition of char.
06:45
I've learned to not write code for the far off future. by then the code is useless
huh long double is huge compared to regular double.
1.79769e+308
1.18973e+4932
implementation-defined.
@DeadMG yeah I know
on MSVC it's just double, GCC has 80bit x87 FPU type, I think
many thanks for the help
06:46
the exponent has a lot more bits.
perhaps you have a quadruple-precision implementation?
me?
that's my result for std::numeric_limits<long double>::max()
actually, I guess that 16 extra bits in the exponent could easily go from 300 to 5k
06:47
on MinGW from the nuwen distro
@doug65536 Well that's bullshit for a start.
what? trying to code for 128-bit long longs?
@doug65536 What a narrow view of our industry you hold!
@doug65536 No, click on the arrow to see the message I was replying to.
if you can't test it, you can't code for it
06:49
that's bullshit
That doesn't mean you should be going out of your way to write code that passes 100% of your tests and precisely 0% of any possible test that you didn't implement
did you test that every single Windows function does exactly what it's supposed to?
so you waste time trying to come up with some overengineered way to do everything?
did you test that your CPU instructions operate to spec?
@doug65536 What's over-engineered about simply not making over-assumptions about type width?
If anything, maintaining a healthy level of abstraction if engineering less
06:50
@doug65536 No, what I'm saying is that a whole lot of people got burned when 64bit came and their pointer->integer conversions started to fail badly.
some of it was legacy code originally written for 16bit.
you can have all the good intentions and try to make it work right with 128-bit long longs, but you'll never be sure until you can test a platform with it
you can't know how long your code will be used for
and it's a dumb idea to put a limit on it
If you'd have to spend three extra weeks making your code support 256-bit double then, sure, I wouldn't recommend doing that. But when it's free? When you have a choice of "I can assume 64-bit double, or I can just be abstract", why not be abstract?
lol, you think int needs to be 256 bit? if its a counter I don't need all those bits
@doug65536 Quote anyone saying that
06:52
"I wish my ints were 256-bits, I sure could use less memory right now"
@Non-StopTimeTravel :)
pfft!
this is why you and I are not friends, biatch!
nobody said let's do pointer arithmetic with integer literals (*(char**)&my_int_ptr += 4)
oy, non-stop, you nubcake
is you active on isocpp
@DeadMG negatory
this is a problem you should solve.
06:55
@DeadMG porque?
wat
@DeadMG "why"?
presumably you're referring to their forums
because
some of the stuff in that place is going to go forward to the Committee for the next Standards
and if you could catch the next uniform initialization, then it would be worth a little effort, no?
my activeness on freenode ##c++ gives me sufficient exposure to committee peoples and the like
what's going to be in C++14?
06:57
@Rapptz Don't know until Bristol.
Hm..
@DeadMG I can understand the failure of the code on newer compilers because the original developer was unwilling or unable to try it on a platform that had different sized pointers
@doug65536 More accurately, they simply assumed their code would be replaced before 64bit came about.
and my point is that as a group, they were almost universally wrong.
@doug65536 No, they just didn't write code in abstract terms. They went out of their way to limit themselves, for no reason, by writing close to the machine.
i.e. over-engineering :)

« first day (835 days earlier)      last day (4338 days later) »