« first day (1140 days earlier)      last day (3810 days later) » 

8:00 PM
@MickLH to whoever you pissed off
people don't win a suspension on the lottery
 
@MickLH An applue user? Also, you (bashed him/her) (while thinking) (it was a safe way to be drunk?)
 
@sehe the guy doesn't make sense
 
What does that even
 
Ell
@StackedCrooked what of?
 
@MickLH nice try slowpoke
 
8:01 PM
just ignore him
 
@MickLH Haha. Nice way to troll. Also, thanks for making it clear I can safely ignore you, right off the bat.
Consider it done.
 
@Ell they are 3L bottles of the cheapest vodka
 
:)
 
Ell
I think you would die if you drank 6L of vodka in one sitting :P
I couldn't even drink 6L of water
 
Yup. That explains that you're desperately seeking attention/diversion here
 
8:03 PM
does this happen often?
 
Everyday, a new troll appears, on average
 
user1804599
Quite often.
 
@MickLH both are frauds
 
user1804599
Telkitty is here about every day, hence we have at least one troll about every day.
 
can i mute him or something?
 
8:04 PM
TTBOMK we don't have FLA
 
@gnzlbg I am told there is an ignore button
 
> "I just want help"
 
user1804599
Add to brown list and plonk.
 
user1804599
> This account is temporarily suspended for rule violations. The suspension period ends in 7 days
 
user1804599
lol
 
8:04 PM
@Pawnguy7 but you lose all the funzie
 
So tempted.
 
@Pawnguy7 thanks! its clicking on the user, i was trying to find that clicking on the message :/
 
@Jefffrey That is true. As before, I am yet to do it.
 
@MickLH C is a very beautiful language indeed.
 
@Jefffrey Yes it is, but last time I came in here I was flamed horribly for that viewpoint
 
user1804599
8:06 PM
Today is one of the less healthy days of my life.
 
I still use strlen() sorry
 
yeah, I've just plonked him
 
and pointer arithmetic
 
As in arrays, or?
 
@MickLH oh, people are so wrong in this room. C style arrays are very performant, fuck std::vector and shit like that
 
8:06 PM
Yes, char* is an array, right?
 
user1804599
I ate three frikandellen, fries with extra mayonnaise, two bags of crisps and a lumpia.
 
@MickLH absolutely
 
@Jefffrey well I use it when it's convenient, I thought that was the point of C++
 
Huh, I was wondering who you were talking about. Turns out I already had him plonked
 
Xeo
Who the fuck is this Mick guy anyways?
 
user1804599
8:07 PM
@MickLH No. What the fuck.
 
@rightfold lol@fries with mayonnaise
 
user1804599
char* is a pointer.
 
@rightfold a pointer is an array also right?
Sorry, you're right
 
user1804599
@MickLH No. What the fuck.
 
Semantic troll, what's const-correct mean?
 
8:07 PM
Presumably he has a history of annoying me then
 
Xeo
We're not here to teach you about the basics of the language.
 
user1804599
That’s like saying that a house address is a list of house addresses.
 
@rightfold troll allert
 
I've googled hard
 
8:08 PM
@MickLH oh, nothing you should care about. there's no such monstrosity in C anyway
 
@rightfold well if there is another one after it....... I said I was a C programmer trying to be fixed...
 
user1804599
It’s not an array in C either.
 
I've switched to C++
 
user1804599
Switch back to C and go away.
 
@rightfold I know this, but you can use it as if it were a 1D array, clearly
 
8:08 PM
@MickLH why
 
Because C with Classes fits my application perfectly
 
hey folks
 
you are not pure anymore
 
But the only compilers available are for C++
 
@TemplateRex hello
 
user1804599
8:09 PM
Your code is not exception-safe and hence terrible.
 
@rightfold wrap main() in try{}
 
user1804599
LOL
 
* adds noexcept everywhere *
 
;) sorry
 
I still don't know what your question is.
 
8:10 PM
47 mins ago, by MickLH
Miss you guys
 
user1804599
@Pawnguy7 My question is why am I talking to this moron.
 
I think I liked any earlier incarnation of you that might have missed us :)
 
Only you can answer that.
 
I have a class where all the members are are private, but I have a couple (2) exceptions
 
@MickLH add more exceptions
2 are not enough
 
8:11 PM
I made it protected, and made a class called *Tool to signify that it might be edited in this block of code
 
@Xeo shouldn't a Tour of C++ make it into the Holy List of Books?
 
@MickLH are you deriving from this class?
 
Xeo
@TemplateRex Update it, if it's any good :)
 
@Jefffrey one of those classes can load shared libraries...
@Pawnguy7 yes, I am taking advantage of "protected" keyword
 
@Xeo it's a condensed version of the 1000 page one
 
8:12 PM
@MickLH of course :)
 
Xeo
Then sure, add it
 
About const-correctness: make everything const that you don't want mutable. Const should mean: thread safe. Whatever you do, don't hack it using getters and setters (because then you get java: a lot of OO-ish crap and still no encapsulation)
 
I fucking hate java and I understand why it's bad
yes I am offended, no I don't hate you
please help me, I will hold my ego back
 
You're easily offended. I already helped. Now, just go and create some code, post on Code Review.
 
8:13 PM
flux is weird. halogen looks too yellow. if I change to candle it looks horribly reddish, but if I leave it like that for about 10 minutes and then switch back to halogen it looks perfectly white.
 
@sehe I'm busy reading @rightfold's code, and I am also banned from basically every network around
 
I wonder how that happened. Also, I won't bother you then, since you are busy.
 
@StackedCrooked huh o.o
 
user1804599
Disclaimer: my code is probably bad.
 
lol. union in the first 20 lines
 
8:14 PM
don't wonder no more
 
@sehe derp my schizophrenia obviously
troll about that
brb
 
I've the strongest feeling we know this person. Lemme find out
 
@sehe union is good, ask any married couple... oh wait
 
Matrimony isn't union :)
 
@sehe lol. UB in the first 20 lines. FTFY
 
user1804599
8:15 PM
@sehe need to be able to cast function pointers.
 
user1804599
It’s “UB that “works”” on the only supported platforms. vOv
 
And it could easily be made legal when using memcopy.
 
I know what that was about. Reinterpret cast will be ok. And without suggesting to make sense.
 
user1804599
@StackedCrooked Oh well.
 
user1804599
@sehe Can’t convert function pointer to pointer. :V
 
8:16 PM
@rightfold github.com/griwes/ReaverLib/blob/master/plugin.cpp, though I probably should make it able to return non-functions too.
And test it.
Doh.
 
@sehe I don't think reinterpret_cast is ok.
 
Using union there is just smoke and mirrors: it makes it look as if you know what you're doing and have it under control, while you very well know it only accidentally works
@StackedCrooked It will be precisely as ok. UB is UB
 
user1804599
memcpy should work indeed.
 
user1804599
I’ll fix it.
 
user1804599
@sehe no sane implementer is going to optimise this away or otherwise change it since it would break a shitload of software everywhere, so whatever.
 
8:18 PM
You could also use placement* new to copy-construct the type into the memory
Oh no that won't work.
Because you need a valid constructor argument.
 
@rightfold Well. That's kinda my point. I wouldn't write it without proper type erasure techniques, but hey, whatever floats your boat
 
Just invoke the UB there, it most probably won't break outside Hell++ anyway.
 
@rightfold you should static assert on is_pod. (standard_layout might be sufficient, I should check.)
 
user1804599
@StackedCrooked I’m just static asserting on sizeof equality.
 
@Griwes To be more accurate
 
8:20 PM
@rightfold That's not good.
 
I believe that the union is the official recommended method that the Linux man pages suggest.
 
std::is_trivially_copyable is probably the most accurate.
 
because they are quite aware that FP and data pointers don't mix, and dladdr returns a data pointer instead of a function pointer.
 
> Uh oh, seems like our database is struggling a little at the moment.
 
user1804599
Writing: cosine = (double (*)(double)) dlsym(handle, "cos");
       would seem more natural, but the C99 standard leaves
       casting from "void *" to a function pointer undefined.
       The assignment used below is the POSIX.1-2003 (Technical
       Corrigendum 1) workaround; see the Rationale for the
       POSIX specification of dlsym().

*(void **) (&cosine) = dlsym(handle, "cos");
 
8:20 PM
no kidding!
 
@rightfold If your original object is unique_ptr<int> then things will be bad.
 
user1804599
@StackedCrooked You can only resolve pointers (see module::resolve).
 
user1804599
I’ll check both is_pod and sizeof equality.
 
aw shit
I ate way too much.
and by "way too much" I mean "something".
 
what did you do that for :/
 
8:22 PM
because I was hungry.
 
@rightfold Oh, I just realized that union would not compile with user-defined types with non-compiler generated constructors.
 
Do you do these things knowing it will happen?
 
user1804599
 
user1804599
@StackedCrooked I only care about pointers, really.
 
eh, it's more of a habitual thing rather than a concious decision.
it's difficult to get out of the habit of eating when you're hungry.
 
8:24 PM
memcpy is safest and just as fast as direct assigment. (at least when using GCC -O2 or higher)
 
it's one of those "Hardwired into your brain" kind of things.
 
user1804599
@StackedCrooked lol.
 
user1804599
The bottleneck isn’t going to be that copying in the context of looking up a symbol. :P
 
What does std::is_pod<T>() return?
 
user1804599
true or false vOv
 
8:25 PM
Does it have operator bool?
I always use std::is_pod<T>::value.
 
user1804599
std::integral_constant<T, X> has operator T().
 
Never saw that syntax before.
 
@DeadMG I wouldn't know, but I feel there would be a fairly strong incentive not to eat.
 
well, there is.
 
Maybe what you can do, is get fed by IV.
Or however that works.
 
8:26 PM
@rightfold I still claim my thing is better, because even though it only loads functions ATM, it keeps track of whether the module was unloaded. Not sure if you even looked at it, though :P
 
but there's a big difference between "Strong incentive" and "Die if you don't eat".
 
user1804599
@MickLH I clearly do allow std::string const&.
 
user1804599
const std::string& and std::string const& are the same things.
 
user1804599
@Griwes I did. I saw std::weak_ptr. :v
 
@DeadMG I guess this is the conflict portrayed in island survival, yes.
Weren't there safe foods?
 
user3010322
8:27 PM
@Xeo no matter what I do, I seem to just "miss" or "drop" arguments from the tuple.
 
no, not really.
 
user3010322
It's exceedingly depressing. =[
 
@rightfold Yes, it makes "sure" the symbol isn't used after the module objects goes out of scope.
 
@Ell do you use it?
 
@Pawnguy7 Nah. That stuff is more about food unavailability.
 
8:28 PM
In a program using it as intended, that is :F
 
user1804599
@Griwes I simply don’t document what happens in that case, so it’s UB. :)
 
whereas here, you're talking about not eating food that's right there in the fridge, even though you're very hungry.
 
Ell
@Jefffrey No. I found them when they were cheap :(
 
s/cos/asin/g
A punny regex
 
Ell
as did everyone else here probably
 
8:29 PM
@rightfold Gah, my version forces the user to invoke UB explicitly, not invoke it implicitly. :P
 
@DeadMG well. Let's say the object in question is insects. You wouldn't normally eat them, but if you are going to die otherwise, you will eat them.
 
user1804599
@sehe dat pun.
 
> A pointer to a standard-layout class may be converted (with reinterpret_cast) to a pointer to its first non-static data member and vice versa.
Interesting.
 
user3010322
Throws up hands. I give up.
 
user3010322
I can't figure out Tuple Cat, let alone Tuple Cat in 20 lines. =/
 
8:30 PM
@Pawnguy7 Quite true. But then, the consequences of eating the available food here is a lot more than just being a bit icked out.
 
@Xeo updated
 
Xeo
@ThePhD Why not do it one tuple at a time?
 
user3010322
@Xeo That's what I've been doing, and then I just have holes where it says it can't give me the right tuple type. =/
 
@DeadMG Water, water, every where, Nor any drop to drink hm?
 
8:32 PM
what.
 
The Rime of the Ancient Mariner (originally The Rime of the Ancyent Marinere) is the longest major poem by the English poet Samuel Taylor Coleridge, written in 1797–98 and published in 1798 in the first edition of Lyrical Ballads. Modern editions use a revised version printed in 1817 that featured a gloss. Along with other poems in Lyrical Ballads, it was a signal shift to modern poetry and the beginning of British Romantic literature. Plot summary The Rime of the Ancient Mariner relates the experiences of a sailor who has returned from a long sea voyage. The Mariner stops a man wh...
Drinking salt water.
 
nah, you end up dead either way.
 
I mean.
You were saying it is right there in the fridge.
 
mumble party time!
 
But you know bad things will happen if you consume it.
 
8:33 PM
yeah
 
I am not saying you die either way :D
 
but it's still really not comparable to drinking salt water.
which is death either way.
 
@thecoshman hmpf?
 
We seem to be on slightly different pages.
I was trying to describe the feeling, but not directly comparing to that scenario.
 
user1804599
> This user is suspended on the parent site and cannot chat for 6 days.
 
user1804599
8:35 PM
Victory again!
 
well, the feeling is probably not the same at all (I've never been stuck on a boat in the ocean with no water so I can't say for sure).
 
@rightfold who?
 
user1804599
MickLH
 
Oh. For some reason I was thinking you couldn't enter rooms.
 
@EtiennedeMartel lol
 
8:38 PM
hello
 
Ell
hi
 
user1804599
hi
 
@rightfold Did we do something to have hat happen? Or was it just delayed?
 
user1804599
@sehe Delayed.
 
@DeadMG Hard to say since I haven't experienced any of these situations (including yours), but I would think it is somewhat similar, albiet perhaps less extreme.
 
user1804599
8:39 PM
They cache reputation on Chat.
 
64 messages moved to bin
Wokay
 
@Pawnguy7 Well, the primary difference is that you are going to die regardless of whether or not you drink the salt water.
whereas I need to eat to survive.
 
@DeadMG but you don't over eat to survive
 
I would argue that is part of the situation, not the feeling.
 
@DeadMG false. you need nutrients, you do not have to eat them to survive (IV drip feeding)
 
8:42 PM
you should consider a diet of baby food
 
mm, babies
 
@GlennTeitelbaum I don't overeat.
 
any statement that begins "you should consider a diet of..." generally should be ignored
 
that would imply consuming more calories than I need, which is definitely not the problem right now.
 
@DeadMG this - things being relative
 
8:44 PM
So.. yeah.
Baby food.
Have you tried that?
 
well, it's not really relative at all.
since the brain has a hardwired program in it telling you to eat if food is available and you're running low on calories.
@Rapptz No.
 
@theyearofelan I appreciate the tidy handwriting. Surely, she knows her manners, and everyone else is just being uncivilized :) #cheers
 
@EtiennedeMartel that is just awesome, baiting that woman into the airport police's hands
 
I have been accused of continuing many pointless (not really) conversations.
 
I never eat any new foods without a good reason to and I'd certainly not consider baby food of all things.
 
8:45 PM
eat rice cakes - nobody can eat that many :)
 
But I have to admit, that probably is the case here.
 
at the rate you're going, you might die of malnutrition.
 
yes.
if only I had mentioned this likely outcome to my doctor nine months ago.
oh wait, I did.
 
and if you're not willing to open your mind up to new foods then that won't get you anywhere
 
Did this doctor you consulted advise you on any potential safe foods?
 
8:46 PM
it's either that or you get an IV drip
 
@Pawnguy7 They can't even decide what the problem is, and the only advice they've given me based on one diagnosis was a complete failure.
 
@DeadMG sorry if this has been asked, Told your doctor, what?"
 
could take vitamins
 
been thinking about it
 
@Rapptz he has cancer o_0
 
8:49 PM
but after my experience with the codeine, I'm not feeling big on taking pills.
 
Ell
where along the digestive system is the problem?
 
@Ell If you figure it out, tell me.
 
you don't have to take pills to take vitamins, there are chewable ones
 
Ell
Or if you can't put things in your mouth there is another place you can put them :S
 
@DeadMG True. Still, I imagine they might ask what safe foods you had discovered. Perhaps their knowledge might allow them to suggest related foods. I have no idea, though.
 
8:50 PM
chewing them, swallowing them, it's all the same thing
 
it's not in the context of the taker
 
Doctors should have a SO, where they post all their diagnoses, then you could check their rep before seeing them, and see if you like their answers
 
the most probable outcome is me in horrendous pain for hours on end
 
@GlennTeitelbaum No thanks.
 
@Pawnguy7 They did. But at the time, there was no logical connection. And today, the only real connection is "Everything".
 
8:51 PM
lol
yeah
that'll play right into the cards of commerce
 
@DeadMG lol wait, taking pills hurts your stomach?
 
@GlennTeitelbaum that would be bad
 
@Rapptz certainly did when I took that codeine.
 
@DeadMG sounds like you should likely visit a different doctor (until you get one that helps)
 
@GlennTeitelbaum Already did. Twice.
 
8:52 PM
See more, really
 
I can already see "It's lupus" getting thousands of votes and the correct diagnosis getting almost none.
 
@GlennTeitelbaum "what, diagnose me as obese? down vote!"
 
@Jefffrey Sickle-cell anemia!
 
@DeadMG isn't codeine one of those strong ass drugs that upset most people?
 
@Jefffrey Not the anyone can answer part - they post symptoms and their diagnosis transparently and get rated on results
 
user1804599
8:53 PM
Hey sehe
 
@thecoshman It quiets most people down! Literally relaxing
@rightfold What?
 
@sehe oooh, it's that stuff
 
@DeadMG 2 things, 1) you're intolerable to codeine (likely) or 2) you have gastritis.
 
user1804599
Do you work for a large company or a little one?
 
@sehe inb4 'you smell, te he he'
 
8:54 PM
ah.
 
@sehe ? what about it :/
 
@Rapptz "intolerable to codeine" - lol
 
codeine only usually causes vomiting, stuff like that.
 
@rightfold Small, since november!
 
the doctors in the ER were quite amazed that I got horrible stomach pains from it.
said they'd never seen such a reaction before.
 
user1804599
8:55 PM
@sehe Thanks.
 
@Rapptz boom! ten year old kid who likes computers outsmarts teams of trained medical professionals!
 
@rightfold Glad to be of help :)
 
it's not on the list of usual reactions to codeine.
 
@thecoshman I think he didn't notice
 
user1804599
I just rewrote history again thrice.
 
8:55 PM
@thecoshman . . . ?
 
@Rapptz sorry, was I being too cynical?
 
@sehe oops
 
Well, they should have been surprised you didn't immediately send it to the bin :)
Talking of "usual responses"
 
@DeadMG eh.. really? This sounds like deja vu.
 
@Rapptz It's ok! The puppys is intolerable to more than just inanimate medication
 
8:57 PM
@Rapptz I probably already talked to you about it.
 
@sehe ... what's animate medication? leeches?
 
Your guess...
 
user3010322
@melak47 Of the API of my stuff that you've seen, what would ya change?
 
@rightfold you lead such an exciting life
 
I don't know, I don't think it's unlikely to get stomach pains from codeine. It's happened to my friends before if anything.
 
user1804599
8:58 PM
@sehe no.
 
@ThePhD I honestly haven't looked yet, sorry :/
 
@rightfold I only rewrite git history :(
 
user3010322
Ooh. Well, okay.
 
user3010322
No pressure!
 
user3010322
Just wondering if you had thoughts. :D
 
user3010322
8:59 PM
@Rapptz-kun is awake! <3
 
I wonder how we have this guy in the user list:
 

« first day (1140 days earlier)      last day (3810 days later) »