« first day (316 days earlier)      last day (4638 days later) » 

1:05 AM
I'm happy. Today I helped someone and a sincere "thank you" was my reward. :)
 
@RMartinhoFernandes Do you need me to insult you in order to restore the balance?
 
1:44 AM
@StackedCrooked the blacker your fingernails the blonder your date?
 
2:14 AM
int *p0 = x, *p1 = p0;
what does p1 point at?
 
Don't know. Don't really care.
 
2:34 AM
i think you'll find that initializations are performed in textual order, so that p1 points to x after initialization
it's more tricky when declared name is used in its own declaration, and there is an outer scope declaration of the name. then i don't know. :-)
i just remember that it's tricky, and stay well away from using that dark corner
i meant, same as x. i read an address operator that wasn't there. eyes
 
3:06 AM
i must be tired, even though it's middle of the night. i didn't even see the * there.
jeez
 
3:57 AM
i think my visual system just refuses to recognize something meaningless, and imposes some order on its own on what it lets me see
 
 
2 hours later…
Als
5:59 AM
@AlfPSteinbach: Just like you mentioned the other day, I too got a lunatic stalking me ...Just I know who the <barrage of obscene words> is! But I feel good about this.. I feel like I have employed an dumb secretary who spends all the day going over my very old worst answers, and downvoting them, the next day i just check & decide whether the worst ones should stay or be deleted. I get Free service ;)
@RMartinhoFernandes: Goddamn early eh
 
Not really. I just came in to check things. I'm going to sleep now :)
So, it's more like goddamn late.
 
Als
@RMartinhoFernandes: check things eh...You left your girl here or something :P
You are a goddamn Lounge addict!
 
6:15 AM
Well, whatever. Good night.
 
@Als the only way i know to "know" stalker id is coincidence in time. like i tell someone u're wrong, and the someone is argumentative, then start getting downvotes all over the place.
someone once advised to mark for moderator action
but i don't know how to do that
 
Als
@AlfPSteinbach: Well I confronted the person and that person said Yes I am doing it
 
Als
And justified saying Faq, gives right to downvote if u feel wrong
I wouldn't argue the answers being wrong or right, most of them were too old perhaps, maybe even wrong
what i am against is planning and plotting to selectively downvote.
oh btw the fraud detection, detected it and reverted back some downvotes, where the user was only one downvoting
 
so, it actually works
who'd have thunk that
 
Als
6:19 AM
it does i think
i left the user a comment today
Off topic to this answer, but since you started it, I feel obliged to inform you that SO has an fraud detection system, which detects conspicuously planned nefarious downvoting against individuals and it reverted back most of your downvotes on me. So suggest you to be wise & take that in to account while planning the downvoting today.
Lets just see how far & how long you can keep doing it. As of now I have 729 answers. You still have a lot of ground to make to go through all of them & downvote. All the Best!
that one :P
 
Als
Oh and I am loving the free clean up service btw :P
 
after a pepper burger with sour cream and (smaller than cherry)-tomatoes, i now see that wilhem's code that i commented on tonight, would not even compile
 
Als
@AlfPSteinbach: Is it not too early morning for you?
 
Als
6:25 AM
@AlfPSteinbach: Hehe and the troll responds my comment by starting the downvoting again
 
 
2 hours later…
8:09 AM
@sbi Waking call! Do you recall the title/URL of that paper discussing why you shouldn’t use properties in (C++) classes?
 
A paper is needed for that?
Oh wait wasn't that on Dr. Dobbs?
 
sbi
@KonradRudolph I got kids here, and so I'm awake since, at least, 8am. And I can't even remember having seen such a paper, let alone knowing of an URL.
 
@Luc Well, it was very well explained.
@sbi I’m reasonably certain that you were the one originally linking it on Twitter.
 
sbi
@wilhelmtell This doesn't compile.
@KonradRudolph Mhmm. I often linked to the paper against setters and getters. Are you referring to that?
 
yes
setters, getters == properties ;)
(.NET lingo, sorry)
 
sbi
8:14 AM
@AlfPSteinbach You just flag your answer for moderator attention and explain the situation.
@KonradRudolph Lemme see...
 
@sbi Oooh, thanks a million!
 
sbi
The one at the very top.
 
Did I dream I saw a C++ function with function! in its declaration, or was that for real?
 
sbi
8:34 AM
You seem to have us speechless.
 
I considered making a std::function<void()> this_is_a_declaration(); joke but considered too cruel.
 
sbi
@LucDanton That's missing the exclamation mark.
 
Als
hmm
@sbi: hows ur sunday?
@LucDanton: hello
@LucDanton: Thanks for the review and clarification answer on that C++FAQ. I guess we never were here same times after that day. So couldn't thank before
Okay anyways lunch time...See you when i see you, till then have a good day
 
sbi
8:55 AM
@Als You have a typo there (or two, if we count capitalization), and the US Sunday will be dominated by Irene, I guess. :)
 
Als
@sbi: English Typos, Tomalak bit u? :P
You are German not British :)
 
sbi
@Als No need to, it's built-in.
This is the C++ room, remember? If we weren't all anally obsessed over details we'd be in the Android room.
2
 
Als
@sbi: uh **Anal**ly
 
morning all
 
Als
uh morning @TonyTheTiger, I just got a fine pic of u
 
8:58 AM
@Als damn you
 
Als
Hello @TonyTheTiger
:P
 
:P
what's up this morning?
 
Als
@TonyTheTiger: nothing much just a slow day
this is you @sbi
 
sbi
@Als I think I'd know if that was the case.
 
Als
And he spoke!
 
sbi
9:02 AM
@Als Not the planes on the US east coast, that's for sure!
 
Als
@sbi: Yeah hurricane looming there i hear
Irene eh
 
Als
@TonyTheTiger: Goddamn tiger u aint in US are you?
Ah no...you were back
 
sbi
They said the first victim of the hurricane is a drowned surfer in Florida. I'd argue that, if you go surfing when a hurricane passes by, then you are a victim of your stupidity, not of nature.
2
 
@Als no, not in the US
 
Als
9:04 AM
@sbi: And if we are talking of US peeps, most of them would probably die because of their own stupidity.
@sbi: Best of resources, worst of common sense ----> US
 
@sbi I agree there
@Als though there's stupid people in other parts of the world too
 
Als
@TonyTheTiger: There are...Agreeably, most are in US though
 
lol
silly american I guess
 
Als
hehe
 
sbi
@Als I wouldn't say so, they do have many great minds, too, after all.
But, yeah, watching the TV news there does make me wonder...
I wouldn't call it "stupidity", though. I think it's more ignorance.
 
Als
9:11 AM
@sbi: Presence of many minds doesn't necessarily mean absence of many stupid people?
okay anyways off for lunch
take care
 
sbi
9:23 AM
@Als Well, you do have to put it into perspective, don't you? I mean, otherwise, if you have a small country with few inhabitants, you'd have to say there aren't many stupid people in that country, even when they are all stupid.
 
it's all relative if you ask me
 
@TonyTheTiger - isn't that how Einstein got started?
 
yeah
not that I ever understood relativity theory :P
 
9:53 AM
@TonyTheTiger relativity is the theory that makes a 500 km long iron pole fit in a 3 m size universe (it gets shorter when it moves fast, so just give it good speed, wrt. uh what)
 
oh I see
 
0
Q: Why does a C++ string end in a null terminator?

rFactorMy question is very simple: why do C++ strings end in null terminators? Is this so that you do not need to keep count on the length?

 
well i think it is that way nowadays with most all sciences (or rather the scientists). things/theories that are good in their proper context are perceived to be universally applicable and king of all others. then u get ridiculous conclusions like big thing fitting into small universe, etc.
 
10:52 AM
Is open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3242.pdf the most up to date freely available draft of C++11?
 
Yes. There was a time where you could download n3290 for free, but that was taken down later, so people would still have a reason to eventually buy the actual standard.
 
11:11 AM
they seem to just be some administrative report, e.g. open-std.org/jtc1/sc22/open/n3290.pdf
n3242 works for what I wanted anyway I think
 
@awoodland What is it you wanted?
 
I was trying to work out if accessing C header files by pre-fixing c and dropping the .h was now standardised, e.g. gcc has for ages taken stdio.h and made it usable as cstdio, but afaik that wasn't standardised naming
 
I don't think that particular aspect has changed between n3242 and n3290.
(Hasn't that always been standardized?)
 
I thought it was conventional, but not standardised
 
sbi
Programmers is a strange place. An answer as simple as this one just got me 350 rep in three days.
 
11:25 AM
@sbi And now it's 360 ;-)
 
sbi
@FredOverflow Is it? Well, I certainly wasn't fishing for rep here. Not for that one. I only once in a while answer a question there. As I said, I consider it a strange place, where voting works even worse than on SO.
I mean, that answer is now my second-highest voted (don't ask!) on PSE! That's plain silly for a little piece of common sense. Some of my real answers, OTH, got little or no upvotes.
 
@sbi Well, yeah, I upvoted it :)
Can I nest quotes here?
> nesting level 1
> > nesting level 2
:-(
 
sbi
@FredOverflow No, but I think you can nest boxed messages:
 
@sbi upboats :)
 
sbi
1 min ago, by FredOverflow
Can I nest quotes here?
11 secs ago, by sbi
1 min ago, by FredOverflow
Can I nest quotes here?
6 secs ago, by sbi
11 secs ago, by sbi
1 min ago, by FredOverflow
Can I nest quotes here?
 
11:37 AM
cool
 
sbi
Yeah, seems to work. Could be terser, though.
 
6 secs ago, by FredOverflow
39 secs ago, by FredOverflow
cool
Haha, a self-quoting message :)
 
sbi
@sbi It's even stranger to refer to your own message.
 
@awoodland it's always been standard, but what's changed with C++0x is that the existing practice of the C++ headers just wrapping the C headers (instead of opposite, which C++98 required) has been allowed. Hence there is no longer even any hope of future guarantee of clean global namespace. Hence with C++0x there is no reason to use e.g. <cstdio>, and <stdio.h> is now preferable (no arguments left against it, good arguments for it).
it's probably legal to post google searches: google.no/search?q=fdis+mirror
And to dot the i's and cross the t's, by "opposite" I don't mean C headers wrapping C++-specific stuff, but C headers wrapping headers especially made for the C++ rules. And then also the C++ headers wrapping those. In order to not pollute namespaces in violation of the standard.
 
12:29 PM
o hai
anybody here?
 
I think so
 
Hi
 
hai
what's going on?
 
I'm trying to disable the console framebuffer without making all my system crash.
 
12:43 PM
When this is done, I'll try to write a kernel module in C++. That should be fun.
 
why you trying to do that?
 
For a very specific definition of "fun" :)
 
lulz
what kernel module are you gonna write?
 
Because we had a discussion about that on SO some days ago and I was curious about knowing if that was actually possible. Also, I love running into problems.
Something like this :
3
Q: Dancing Dolls Problem : on GCC linux

Udit GuptaAs a preface, I really do not want the exact solution to my problem, just guidance. I don't want you to give me the code. This isn't homework, it's just an exercise I'm trying to solve. I just want you to tell me how to access VDU and directly change character on same screen. The screen is divi...

 
interesting :)
 
12:46 PM
FredOverflow had the easiest solution: install DOSBOX. Of course needs old tools also. I happen to have those old install CDs...
 
@Alf what OS do you use ?
 
Windows
 
oh ok
 
Perhaps no DOSBOX for Linux
But on the other hand I had the impression it is available (for running old games)
 
There is one, I use it from time to time
Also, I agree with Fred, the easiest/quickest solution is to use DOSBOX. But I felt like writing a kernel module. For the sport.
 
12:48 PM
kewl
any of you know much about the Linux kernel?
 
Not much.
I only know the basics (building etc.), and some networking stuff a friend of mine told me about.
 
@TonyTheTiger It was written in C because a particular person thinks C++ sucks. That's all I know about it.
 
For my driver, the only issues are the video ram access (not hard), the timer thing (which is OK once you work out what a jiffy is), and building/linking a kernel module.
I wonder if some people already built the kernel with a C++ compiler ?
 
@FredOverflow yea I knew that
 
1:09 PM
Ein Esel schimpft den anderen Langohr.
 
Als
1:46 PM
hola @TonyTheTiger
Pin Drop Silence...
4 hours ago, by sbi
@Als Well, you do have to put it into perspective, don't you? I mean, otherwise, if you have a small country with few inhabitants, you'd have to say there aren't many stupid people in that country, even when they are all stupid.
@sbi: I guess, we will need to form a standards committee to decide the parameters that classify stupidity, Ignorance & sheer pain in the butt kinda people, Oh and you could chair this committee :)
@PratikshaBhisikar: Impressive blog that.
 
@Als Hi. Are you talking about my blog? y_y
 
Als
@PratikshaBhisikar: Yup.
 
sbi
@Als I don't feel like chairing a committee. If it's all female, I'd bed it, though. :)
 
Als
@sbi: Haha....Whenever you speak, all you left me to say is Omg! He spoke!!
 
@Als, Thanks. Hasn't been updated for a while though. Not much comments received too :(
 
sbi
1:53 PM
@Als And that's exactly the way it ought to be. :b
 
Als
@PratikshaBhisikar: Yup I saw that, You are an Iphone developer I see.
@sbi: :P How is your sunday though? Oh my stalker problem seems to be solved btw, Looks like those downvotes vanished.
 
@Als, Yes. Started my professional career as iOS developer an year ago.
 
Als
@PratikshaBhisikar: I see, just an year & your blog looks impressive.
 
sbi
@Als I'm building LEGO trains with my kids. I just built an impressive diesel locomotive. :)
 
Als
@sbi: I love that! I don't have the kids though, err nor the one who will give me those lol
 
sbi
1:57 PM
And, yeah, I said that serial downvoting is caught and reversed by an algorithm looking at such patterns each night.
 
Als
@sbi: Actuallly, I had left a comment for that user on an answer, i posted it here earlier, that seems to have been deleted too, so it seems the user must have flagged it and then some mod took action.
@PratikshaBhisikar: How do you find developing in Iphone? It uses objective C AFIK.
 
@Als did you see the discussion about you on meta?
 
Als
@awoodland: About me?
 
yeah hang on
 
Als
No one tells me eh.
 
2:00 PM
@Als, Yes, Mac OS X and iOS uses objective c, with C/C++ support. Its fun and interesting. I occasionally use C++ code, hence i popped in here y_y
 
hmm might have been deleted
someone was very upset about your "use gcc, it's the best" answer
on that "what compiler do you use with eclipse" question
 
Als
@awoodland: Yeah, Someone was, did the someone mentioned what followed and his actions?
@PratikshaBhisikar: I see, nice.
 
-14
Q: How can I flag a post or comment for a strong opinion or unsubstantiated claim?

Foo BahNot to niggle, but there was a particularly odd post at What C compiler when building Eclipse The original answer was "gcc ofcourse, it is the best." The poster made the unsubstantiated claim "Because,gcc comes for free(open source), it is open source and it is much better than the buggy msvc...

might well be related to the serial downvotes...
 
Als
@awoodland: It is, This user digged in to all my dirty answers yesterday, even today and downvoted
phew...The one in Question didn't mention nefarious activities of selectively downvoting answers eh.
 
do the reputation actions have timestamps in the database tables? You could probably have a good stab at guessing who a lot of voters were on data.stackexchange.com if they do...
 
Als
2:09 PM
@awoodland: I know it was this particular person and he admitted to doing it
His claim was SO FAQ gives him the freedom to downvote on answers which the person feels are wrong or incorrect.
 
I wonder what the SO FAQ says about "red mist"...
 
Als
I have no problems, with that rule but i have problems with people twisting it to selectively downvote
 
@Als Maybe you have a double personality.
 
Als
@StackedCrooked: huh
 
While you are "asleep" it wakes up and starts downvoting your answers.
 
Als
2:11 PM
one cant downvote ones own answers
I had left this user this comment on one of answers.
8 hours ago, by Als
Off topic to this answer, but since you started it, I feel obliged to inform you that SO has an fraud detection system, which detects conspicuously planned nefarious downvoting against individuals and it reverted back most of your downvotes on me. So suggest you to be wise & take that in to account while planning the downvoting today.
8 hours ago, by Als
Lets just see how far & how long you can keep doing it. As of now I have 729 answers. You still have a lot of ground to make to go through all of them & downvote. All the Best!
And seems that is deleted as well. Mods in action eh.
 
I could have sworn I commented on the meta question too, but it seems to have been misplaced
 
Als
The whole argument on that answer about the compiler was because this particular user was peculiarly rude, and there was an argument between us and he started downvoting my old answers, and I refused to answer any of his calls for substantiating untill he grew up from his -ve mindset, and he didn't.
 
Als
Eventually, the troll went to meta like a miffed child
@TonyTheTiger: Hola
 
wassup?
 
Als
2:18 PM
Pissed over AXX Holes
wassup with u @TonyTheTiger
 
not much, I'm bored
I feel like eating something sweet and there's nothing in the house to munch
meh :(
 
Als
@TonyTheTiger: oh :) And i feel like bashing someone's ass and there is none of that in the house too
 
lol, you can troll reddit
 
Als
lol, that i will do tommorrow from work :P
 
hahah
 
Als
2:22 PM
I am pissed of some people here in SO
for the first time since joining here about what 10-11 months ago I feel like not being here
 
damn :(
don't let it get to you like that
it's just trolls, ignore them
 
Als
hmm, I don't know I especially try not to be rude, try to be accurate(maybe I am not all the times) I ain't perfect anyway, I never even downvote, I have downvoted 2 times in 11 months, I hope i have contributed a lil bit if not a lot
and people would pick on me just because they can.
 
some people are just assholes, fuck 'em
they're not worth getting upset over, you know
 
Als
Every fucking wannabe wants to prove a point here, and they can because the rules are not good enough as it seems.
 
I guess
I'm just here to chat with other people that I've come to know somewhat over the last year, and if I have a question, for the rest I don't care anymore
 
Als
2:28 PM
I have learned a lot from this place. When I started out here I didn't knew a lot of things, Eventually, the expertise people showed kind of motivated me to learn be better.
I think I got better over this time.
 
I learned a lot too while being here, for sure
 
Als
I made a few good friends too, You all.
This place
 
indeed
@KonradRudolph how are you man? Been a while since we seen you here.
 
@TonyTheTiger Busy as a … thing that’s busy ;)
 
@Als - I like this place. It's like comp.lang.c++ except top posting is imposible
 
2:30 PM
@KonradRudolph haha cool!
 
And I’ve found a new hobby, doing Project Euler problems
 
@KonradRudolph oh and how are those going?
 
eh … slow ;)
 
:P never tried any, maybe I should
 
Als
@awoodland: I like this place too, I learned a lot from people and questions here, but incidents like these, piss me off beyond control.
@awoodland: What did you mean by top posting? Didn't understand that bit.
 
Als
@awoodland: Ah okay,
@awoodland: I thought posting lot of answers lol
 
basically just poor quoting making long threads harder to follow than needed
 
Als
okay I am going to have a little chill time. good day @TonyTheTiger, @awoodland
 
ok have fun :)
 
eek, unity has made me forget how to use windows 7
 
3:20 PM
ok for some reason I feel this isn't correct and it should at least turn up a number, what do you guys say?
 
@TonyTheTiger - I don't int can a number of this bigger. int N = 100000000;
That was my first impression. Let me go through code
 
It should start with 1, not 0.
 
@TonyTheTiger - Missing the "break" statement
running time = infinite;
 
@Mahesh when it's found the number you mean?
 
as it said
 
3:25 PM
it runs on my machine, it just doesn't turn up an answer
 
0 is divisible by all of [1..20], but it's not positive. :P
 
Yes, I amn't sure. But there would be a algorithm that would be better than O(n^2)
 
yea I know 0 is, but what about the next smallest number?
 
Also make the type unsigned.
 
meh, either this number must be really big, or my algo is wrong
 
3:28 PM
Hahah I just found something to waste your time
 
yay 30k
 
@TonyTheTiger I get a good answer with unsigned type.
 
@kian - sweet! I have 10 pairs of red-blue glasses in my office desk too
 
@CatPlusPlus and how large did you make N?
 
std::numeric_limits<unsigned>::max(), but it's under the half of it.
 
3:31 PM
Did anyone notice that if you go here and look for skeet, Jon Skeet appears to have only 11k rep? :)
 
Oh, maybe it doesn't even need to be unsigned.
@FredOverflow It's only this month. :P
 
Oh. I thought I found a bug.
11k in a month?!?
 
@TonyTheTiger The number is quite large.
 
@LucDanton oh ok
 
do google actually just pay him to read SO?
well read/write
 
3:34 PM
perhaps yea
 
Over 330k rep?!
 
@TonyTheTiger It should still fit inside 32 bits, unsigned.
 
this is the answer I got: 232792560
 
That is correct, according to Wolfram Alpha.
 
kewl
:)
question is, how can I optimize that algo, to run faster
anybody any ideas?
 
3:36 PM
You can break sooner. But otherwise, trial division is not going to be much faster than that.
 
@TonyTheTiger What algo are you guys talking about? Do you have a permalink for me?
 
Mathemagicians here probably know a more clever way.
 
I love that term. Did you coin it?
 
I like to think so.
 
3:39 PM
@TonyTheTiger - No need to start "i" from 1. You can start "i" from 20
 
Well, obviously you do not need to test all numbers from 1 to 20. If you have already tested 2 and 3, there is no need to test 6, for example.
 
Because there would be no number less than 20 that would be divisible by all the numbers from 1-20
 
Speaking of mathemagicians, I'm looking at some of the lcm/gcd stuff on Wikipedia. Why not try Euclid's algorithm for finding the gcd and then from that obtain the lcm? Although I could see issues for 1 to 20, might want to use a std::uint64_t here.
 
Quick'n'dirty: ideone.com/RK96X
Also evil, because it uses goto.
Cue velociraptor.
 
You don't even need a program for that, the answer is obviously 2 * 3 * 2 * 5 * 7 * 2 * 3 * 11 * 13 * 2 * 17 * 19
 
3:41 PM
Obviously.
 
I replaced 4 with 2, because there already was a 2. (Same for other numbers.) 6 was dropped, because 2 * 3 = 6. (Same for other numbers.)
 
@FredOverflow I guess you are missing another 2
 
How do you figure?
 
For divisibility check to 16
 
But there are 4 twos, and 2 ^ 4 = 16
 
3:44 PM
yep
I missed it
 
That last two is exactly there for this purpose, to be divisible by 16.
 
2 after 13
 
I like to think of it more as the 2 before 17 ;-)
 
How about 2 in between 13 and 17 :)
 
Oh, I forgot my favorite part of solving mathemagician's riddles:
> This works because [bla bla bla] coprime [bla bla bla] QED
@Mahesh That makes it superficially sound as if it represented the 15, which it does not ;-)
 
3:46 PM
@FredOverflow But to program this efficiently, how one could approach with a better algorithm than quadratic time.
 
You mean if n is so large you cannot do this by hand anymore? Hm, I guess you can't, because calculating prime numbers is never cheap.
 
Ok friends. Time to church. Catch u later.
bye
 
Alonzo Church? Would you greet him from me?
 
@FredOverflow - Ok. Will do that. I amn't a christian. But it would be peaceful if I spent some time there
I don't their rituals too.
I just keep looking and listening to father. That's it.
 
Just say "Thanks for giving us the Lambda calculus" ;-)
Your father is a priest?
 
3:50 PM
@FredOverflow - Will discuss about algorithm some time later. No. The father at the church
 
I need to take a shower now. After that, social life, so no time for algorithms.
 
There's always time to use algorithms to manage social life
 
sbi
@Als I have no idea which answer, user, and comment you are talking about.
 
3:59 PM
I was more seeing optimal seating in the pub as a bin packing issue
it's possible I did brute-force the seating plan for our wedding reception too
 

« first day (316 days earlier)      last day (4638 days later) »