« first day (591 days earlier)      last day (4583 days later) » 

10:01
I'd really like nice a nice coffee, but the coffee at work is just rotten
@thecoshman :that sucks
Yeah, whenever I get asked on an interview by the interviewer what I'd like to know about the company, I ask: "What coffee do you have available?" :)
it was good when I started, but something went horribly wrong
@ScarletAmaranth Always a good thing to know
ask them to get a new machine?
is there a way to send a private message on SO?
10:06
@KodeSeeker no, though you can create a room for your self and some one. Though it is still a public room
Ah I see
crickets
cicadas
jalf, I didn't mean to be a jackass, but you were being very irritating
Oh, a fight! Let me grab the popcorn
I don't like to admit when I'm wrong, okay? I was wrong.
10:15
@Cicada is that just your name, and/or does it translate to anything?
jalf vs Neil cage match!
@Cicada Already done
@Neil tempted to rip into you for being wrong... but I have actual work to do :(
2
@thecoshman It's the insect, not my name.
10:15
@thecoshman Isn't that sweet of you.
cicadas translated to insects? O.o
Cicadas doesn't need to translate.
Cicada is an insect
That produces a very loud noise / song
In summer
A cicada ( or ) is an insect of the order Hemiptera, suborder Auchenorrhyncha (which was formerly included in the now invalid order Homoptera), in the superfamily Cicadoidea, with large eyes wide apart on the head and usually transparent, well-veined wings. There are about 2,500 species of cicada around the world, and many of them remain unclassified. Cicadas live in temperate to tropical climates where they are among the most widely recognized of all insects, mainly due to their large size and unique sound. Cicadas are often colloquially called locusts, although they are unrelated to tru...
@Cicada apt name?
@Cicada Just out of curiosity, how many times have you had the necessity to post that link?
10:18
Also yes I do have exactly the same pose as @sbi o_o"
@Neil Only once so far
@thecoshman You tell me
@Cicada Less than I thought it would be.
@Neil Are you implying the average lounge denizen is uncultured enough to not know what a cicada is? You're overestimating us.
@Cicada I only know you on here (or do I o_0 ) and based on this/that, not really
I have a feeling that last message makes next to zero sense.
I need to wake up.
@RMartinhoFernandes the one you are refering to (fuck spelling) makes sense
10:20
@thecoshman What should I use then
@Cicada ZOMG_IZ_GIRL
Oh right. I should have guessed.
@thecoshman I meant, last message of mine.
@thecoshman lol
Yeah you probably meant "underestimating"
10:22
you are one of the few girls who have come here and not been an idiot
I'll take that as a compliment
There were idiot girls in here?
@RMartinhoFernandes this message? makes sense to me, but then I'm (undiagnosed) dyslexic
"You're a non-idiot girl. Wanna hang out?"
@Pubby tina...
10:23
slydexia is a tebrilre pborlme
@Cicada I can you proper compliments if you want
Tina? Was she hot?
@Cicada :'( don't be mean
I think you accidentally a word
He cans the compliments for you.
10:23
@Pubby does this chat have a video feature that I don't know about?
Yeah, I'm watching you right now
¬_¬ clearly, I am typing efficiently, as you got my meaning with out all the words
but no, tina was a pain in the ass
That's what she said
@RMartinhoFernandes as the only long time regular around right now, has this room had a proper big meet up? I know the odd pair have met up occasionally, seems to be mostly Sbi :P
@thecoshman No, not yet. People talk about it from time to time, but no one wants to grow the pair and travel to Portugal.
Because, obviously, any such meetup would be in Portugal.
10:28
I'm afraid of getting raped \o/
@Cicada so you post an emticon that looks like you have your legs spread?
@RMartinhoFernandes No, in meetings with internets poeples
@RMartinhoFernandes to be fair, Paris is probably the most central location to us all
@Cicada not sure to mockingly imply rape, or try to maintain a decent image...
10:30
@thecoshman Are you ignoring our North American friends?
I did suggest a meetup at FOSDEM in Brussels this year
> North American
> Friends
Pick one.
@Cicada Canada is in North America.
Precisely
Brussels is quite central too
Lemme guess: you live in Brussels.
10:32
Hmm apparently he lives in Aberystwyth, UK
(I heard that name before, don't you have a nice uni there?)
@RMartinhoFernandes yes :D
@awoodland FOSDEM?
Some thing. That starts with an F.
@RMartinhoFernandes (╯°□°)╯︵ ┻━┻
0
Q: How to zero out array in O(1)?

PeiyunIs there an way to zero out an array in with time complexsity O(1)? It's obvious that this can be done by for-loop, memset. But their time complexity are not O(1).

@Cicada Yeah there's a Uni there - coastal town in rural Wales
10:35
"Can I haz magik?"
oh god, the words I am reading in this document actually hurt
@RMartinhoFernandes Well it is feasible on hardware level. Not C++
If your RAM has a reset pin, you can certainly set it to 0 in O(1)
I asked the hardware team and they swore blind it was a software problem
10:36
The complexity of the circuit is O(1)?
Yes
But you zero the whole RAM module
@Cicada this depends entirely one what you mean by O(1)
That's not "an array".
That's "all the arrays and them some".
No it's not, since it's not C++
But if you have an array that fills the whole ram, then the observable result is the same
lol
One can argue that still runs in O(N) steps.
10:40
@RMartinhoFernandes It does not. It simply sets instantly all the memory to zero, no matter the size
I guess, if you have an array of something like char, you could treat it like an array or someithng like long long int, and then zero more then one char at a time... thus letting you clear it in less then O(n)
@thecoshman It's n/k
So it's still n
@Cicada Yes, and does that by clearing N memory cell things.
@Cicada shut up
@RMartinhoFernandes Yeah and? Clearing N cells takes the same time as N+1 or N*2
10:41
@thecoshman If you "more than one at a time" can mean "an infinite number of them at a time".
0
A: How to zero out array in O(1)?

FredOverflowIt's certainly possible to zero out an array in O(1) as long as you accept a very large constant factor: void zero_out_array_in_constant_time(void* a, size_t n) { char* p = (char*) a; for (size_t i = 0; i < std::numeric_limits<size_t>::max(); ++i) { p[i % n] = 0; ...

@FredOverflow You could have simply said "The size of a C++ array is bounded, QED".
@RMartinhoFernandes I can words
@RMartinhoFernandes That would have been too easy :)
@thecoshman Did you wait two minutes just to spite me?
10:44
@RMartinhoFernandes coincidence :D but I am glad to get one in :D
quick nap
> I'm studying C++, and very interesting about pointers.
@Cicada source?
¬_¬ why is there a constant string names EQUALS that is set to "="
0
Q: Strange behavior when trying hacking a constant in C++

W.N.I'm studying C++, and very interesting about pointers. And I tried to change value of a constant value (my teacher called it backdoor, please clarify if I'm wrong) like this: const int i = 0; const int* pi = &i; int hackingAddress = (int)pi; int *hackingPointer = (int*)pi; *hackingPointer...

10:46
@thecoshman You never know when the equals sign changes.
@Cicada, looks like I have company then ;)
Hacking a constant
Wat.
Studying C++?
@Cicada FYI, I work with Java, constant is a funny notion in Java
@RMartinhoFernandes Do you know who invented the equals sign? I learned it yesterday in a talk about Haskell :) It was Leibnitz.
10:48
static
> And I tried to change value of a constant value (my teacher called it backdoor)
Vietnam.
@thecoshman Well, you have constant variables in Java, but not constant objects, right?
AFAIK, you can only make your reference 'constant', which means it can't change what it points to, but what it points to can change at will
#define EQUALS !=
*cackles*
@thecoshman That's a common workaround for lack of mutable captures in anonymous inner classes (aka verbose as shit closures).
10:50
@thecoshman Right, objects cannot be write-protected.
Oh java and anonymous inner classes, lul
y u no has delegates
oh right, because you suck
so... meet ups... are we ever going to do one? is it just waiting for some one to be bold enough to set a time and place?
Braga, Portugal, sometime in the future.
Prague is an awesome place
Oh I want to visit Prague
10:52
That's two for Prague :D
No can travels. Work and no cash.
gtfo my europe
@RMartinhoFernandes your a robot, we can just hook a computer up at the table
I assume meals will be had
there's no way I could get away with going to Prague without bringing the SO with me, but she's dead keen on it as I've been there and she hasn't
@Cicada Empress?
@awoodland I was expecting to take my SO as well, she wants to go back to Prague
10:53
Everyone bringing their SOs to meet SO people. Lovely.
so I make that five for Prague, counting two SOs
I must be missing something there
What's a SO?
Stack Overflow.
significant other
i.e. partner
not sure I can afford a holiday though
¬_¬ that and that
10:54
Oh, thanks.
@awoodland Dammit, I wanted to troll a little :S
@awoodland business trip?
mawnin nubs
@RMartinhoFernandes you'll get the hang of it one day
/me checks conference calendar
10:55
I missed a SO meet in my city. Shite
:(
@DeadMG we are having a meet up in Prague
mernin nab
@Cicada ?
orly
define "we"
@DeadMG well, not right now
10:56
@thecoshman in reply to the dog
@Cicada oic
Orly's nowhere near Prague
I was reading "Coders at Work" the other day (a book containing interviews with people such as Donald Knuth, Simon Peyton-Jones and Guy Steele), and I was wondering: wouldn't it be fun to make a "StackOverflowers at Work" ebook where we interview ourselves? :)
"Are you awesome?"
"Why, yes, I am."
wouldn't that require that we work?
10:57
@FredOverflow getting rich and famous? you must be mixing something there
@FredOverflow you can fit 'meh' on a business card
er is there any difference(other than typing) in just placing`using namepace std` over std:: everywhere?
Yes
yes: the former is really, really, really bad
The first one is deadly
10:58
@KodeSeeker the latter is going to save you from pain
92
Q: Why is 'using namespace std;' considered a bad practice in C++?

ManaOkay, sorry for the simplistic question, but this has been bugging me ever since I finished high school C++ last year. I've been told by others on numerous occasions that my teacher was wrong in saying that we should have using namespace std; in our programs, and that std::cout and std::cin are m...

second one can be bad if you wanted ADL to happen though
The former gets you bad coder points.
@KodeSeeker ask questions, get answers (sometimes) it's how this works
10:59
@DeadMG Okay, how about "Procrastinating StackOverflowers"?
@thecoshman, Excellent, indeed.

« first day (591 days earlier)      last day (4583 days later) »