« first day (354 days earlier)      last day (4585 days later) » 

11:00 AM
a race?
heh
 
i always thought "the martian race" was a misleading title for the book with that title
 
@AlfPSteinbach It's a meme in this room. Whenever people post the same thing in succession, whoever gets their message across first "wins".
I love it when people just drop newbies into that paper.
Such consideration.
 
lol
 
@RMartinhoFernandes why is that floating point knowledge in programming so important?
 
11:04 AM
Not always.
 
i never worried about it ( including many other things :) )
 
But it's important to know if you can make a roundtripping conversion.
 
@RMartinhoFernandes aah , i am relieved :)
 
11:18 AM
@RMartinhoFernandes why this syntax won't work -> int (*)(a);
c++ doesn't starts with new name a ?
 
what result are you hoping for?
 
a is pointer to int
 
right
why on earth would you do that?
 
right to left parsing
 
it's just int* a;
 
11:20 AM
@DeadMG i know that , but want to know why it doesn't work ?
 
uh
it doesn't work because it's not right?
 
why shouldn't int (*AMAGADWTF *!"£$%^&*()@{}~@{}~) (a) also not work?
 
@DeadMG Because it's not Perl!
 
ok , my question has anything to do with associativity ?
 
11:21 AM
hi everybody I want to make this array a[20][100][100] with double type what am I must do?
 
this isnt about c++ so please forgive me. but i cant find an answer about this anywhere. If i have a question about blogging and blog content and content sourcing etc which stack site should i ask the question on? or other websites?
 
Gosh, what's this question rush today?
 
@MrAnubis No, nothing at all to do with associativity
 
@JackJacky double a[20][100][100]; , though you'll get overflow
 
Am I the only one that finds it rude to barge into the room, where you have never been before, and interject into someone else's conversation to ask for help?
 
11:22 AM
@RyanMurphy There's a wordpress SO I believe, there's a main site where you can look through the list of Stack Exchange sites
 
@dea
 
@MrAnubis this code has this problem segmentation fault
 
@DeadMG would i be able to post questions generally about blogs there though that may not be wordpress related?
 
@JackJacky How the hell is he supposed to debug that problem if you don't show your code?
he's not psychic
 
@JackJacky i already edited
 
11:24 AM
@RyanMurphy No idea. Go to the stackexchange main site and look at the site's definition and/or go to the site and see the FAQ
 
I am. It's the Giskard robot genes.
 
@DeadMG Thanks
 
no probs
 
@MrAnubis I must make it dynamicaly
 
@JackJacky You also never mentioned that fact before. Why don't you make an actual question on the question and answer part of the site?
 
11:25 AM
I ask this question before but in unsymmetric case i can make it
for symmetric case answer is double (*a)[100][100]=new double [100][100][100]
 
> One piece of advice: If your program doesn't work, it's YOUR fault, not the CPU nor the compiler. – Shahbaz yesterday
Words of wisdom.
@JackJacky For the other case it's double (*a)[100][100]=new double [20][100][100];
 
what about a[100][20][100] case?
 
double (*a)[20][100]=new double [100][20][100];
There's a pattern there.
 
it worked thank you very much
do you write a parallel code ?
who worked with mpi.h library?
 
this is not the question and answer part of the site
this is the chat
for chatting
 
11:33 AM
excuse me
thanks alot and bye
 
"if you want to ask a C++ question in the chat room, you are welcome to do so,"
way to be a dick, dick
 
@DeadMG : i got the answer -> int (*)(a); -> since a is considered as parameter list ( which is not type)
 
@StephenGranet "(...) although you probably will have a better audience at Stack Overflow proper."
 
true, but that doesn't mean we CAN'T ask questions here
 
@MrAnubis: That's not why it doesn't work. It doesn't work because it's wrong. Considering (a) a parameter list is just a side effect of it being wrong
 
11:42 AM
just because he doesn't want to answer doesn't mean nobody else does.
 
there is a perfectly good site for asking questions
it's called Stack Overflow
 
well, according to the chat guidelines we can. so get over yourself
mr. fake moderator
 
This is the chat. For chatting, not for fighting.
 
im done, i made my point
 
@DeadMG thanks , it's just keep messing my head in to idiotic things :)
 
11:46 AM
> Believe me, I'd prefer not to. I may be synthetic, but I'm not stupid. - Bishop
room topic changed to Lounge<C++>: We like Jingle Cats and Reginald is not welcome here. [c++] [c++11] [c++-faq]
 
who's Reginald?
 
3
Q: Flagging fundamentally flawed

FYI I'm still changing my nameLet me use a metaphor to describe why non-local flagging is wrong: your favourite bar. You like your favourite bar because it is a bar that plays your favourite type of music (e.g., Jingle Cats). Everyone in this bar is here because of the music. It is everyone's favourite music. Suffice it to s...

Also, I should be having lunch.
 
12:06 PM
The green and the blue are the same color.
Stupid human brains.
 
@RMartinhoFernandes that's fantastic
 
intereresting. so when the pic is adjusted so that humans perceive one blue/green color, then aliens may perceive it as having two different colors. so, easy test to detect aliens, or robots.
 
@AlfPSteinbach or people that have an exceptional brain
 
12:34 PM
the green and the blue can't be the same colour
else how could the brain tell them apart?
 
@DeadMG It is. It's (0, 255, 150)
 
interesting
 
@AlfPSteinbach Nice fractal.
 
i don't see a fractal...i see a tree wearing a sweater :)
 
12:44 PM
 
k, that looks more like a fractal :)
 
Not the same exact colouring scheme so just to give you an idea.
 
1:03 PM
Who's Reginald ?
guess no one knows...
 
i asked earlier...still haven't gotten an answer yet...lol
 
mr Chao
 
think it's just something to make people ask questions :)
 
you're in the hangover
 
am not
i haven't had a beer in days
 
1:09 PM
lol
 
lol
 
dude mac os is terrible
the irony in that commercial is incredible
 
I know. but the ad is funny
 
yah
 
1:11 PM
I use a pc too. though I have a multiboot of windows 7 and ubuntu 11.04
it's not got any of the faults windows vista had...
 
yah
alright peace
 
3
Q: Flagging fundamentally flawed

FYI I'm still changing my nameLet me use a metaphor to describe why non-local flagging is wrong: your favourite bar. You like your favourite bar because it is a bar that plays your favourite type of music (e.g., Jingle Cats). Everyone in this bar is here because of the music. It is everyone's favourite music. Suffice it to s...

Reginald is describe there.
 
rargh home internets sucks :(
 
Next time someone flags me, be sure to do it locally.
I wanted the C++ GUI Programming Guide...
 
There, happy?
 
1:26 PM
Lol.
i just watch the ads cuz they are funny.
and Mac is so obviously promoted.
2
Q: What is the difference between Computer "Science" and a Computer "Engineering"?

IntermediateHackerI was looking through some university under-graduate programs when I ran the AUS Undergraduate Programs , where they offered two programs in the same department. Computer Science and Computer Engineering. At first I thought maybe computer science focused on software and computer engineering focu...

sorry. but please answer this.
 
You've got some answers already.
 
None of then completely answered my question... though i like the comic strip
 
@IntermediateHacker You should be sorry! humph
but more relevantly
the only difference between Computer Science and Computer Engineering that's important is the difference in content of the courses
 
I think the difference is that Computer Science can be on fire.
 
but don't they both teach programming , software development and networking?
 
1:38 PM
Like !!Computer Science!!.
@IntermediateHacker Ask the university!
 
Ok. Which answer should I accept? Both have equal votes . And though I like the comic strip it cannot be seriously considered as an answer.
 
@IntermediateHacker Ask the university. Seriously. It's only their opinion that actually counts
 
More seriously, the difference is probably the difference between any kind of science vs engineering.
Science is about sciencing stuff. Engineering is about engineering stuff.
 
@DeadMG Ok then. I'll try to contact them through email. But usually they just ignore emails...
 
Maybe I should just shut up.
 
1:41 PM
do they not have extensive course content listings online?
 
Yup they do. But seriously both course listing are literally the same
 
Er... you seem to say they aren't in your question.
 
For example...
please wait...
the site is bugged.
Here we are.
Computer Engineering Course 1 (Cross Listed as Computer Science Course 20)
Computer Engineering Course 17 (Cross Listed as Computer Science Course 24)
Literally the same program...
 
I am talking about the course description of Computer Science and Computer Engineering.
Literally the same.
 
1:48 PM
Can you find "Digital Systems", "Embedded Systems" in Computer Science?
 
Wait a second...
CMP 210 Digital Systems
 
Can you find "Object-Oriented Stuffs" in Computer Engineering?
 
COE 211 Covers OOP concepts...
 
Just because it has overlaps it does not mean it's literally the same.
 
Yes, you keep using that word.
 
1:50 PM
@IntermediateHacker Not object-oriented design.
 
@RMartinhoFernandes Finally , some difference.
Though why exactly are they charging a lot more for computer engineering?
 
What are the respective degrees called?
 
@IntermediateHacker computer science is more like intellectual masturbation. it started out as a legitimate academic pursuit following groundbreaking work by Knuth, Hoare and Dijkstra. but then people flocked to the new discipline, thinking that they if they were not good enough to program, then they must be the geniuses who could lay out the theoretical foundation that programmers are too dumb to do themselves. thus was born the science of computer science. with things like assymetric equality etc.
2
 
In any case, you will find more differences in the later classes.
It's normal that the initial classes are similar. They're building bases.
 
@AlfPSteinbach I see. So it's like Computer Science is the theory of programming (stupid nonsense actually) and Engineering is the real deal.
 
1:53 PM
@IntermediateHacker The 'Computer' in CS is extremely misleading.
 
@IntermediateHacker yep. but note: not all of cs is nonsense. just large tracts of it.
 
It's more about computing than computers. If it sounds silly, it might be.
2
 
@AlfPSteinbach Anyway. That finally explains it to me. and the fact that they are charging more for Computer Engineering.
@LucDanton I just got misleaded by it, so i know. :D
@AlfPSteinbach Hey why don't you answer my question and i'll accept it at programmers.stackexchange?
 
because any kind of nonsense that people earn a living from, is heavily defended, i.e. that answer would appear to be very controversial
 
oh. no problem.
 
1:58 PM
@AlfPSteinbach Specially the word masturbation.
 
What kind of job is CS-related outside of academia?
 
lol. people here use that word a lot,
 
What word? "Inconceivable"?
 
@RMartinhoFernandes That's literally not the word in question.
 
1 min ago, by R. Martinho Fernandes
@AlfPSteinbach Specially the word masturbation.
 
1:59 PM
just about every job i see posted anywhere wants a CS degree. not to say that the job actually has anything to do with CS, they just think it means something.
 
@LucDanton ok , i literally use the literal word "literally" a lot.... (LITERALLY)
No need to Literally rub it in.
 
But I'm not...
 
The QT Documentation sure is large. Still not completely downloaded...
 
Pointers are like a Swiss Army knife. You can use them for optionality, for reference semantics, for iteration, for type erasure... Anything I'm forgetting here?
 
@RMartinhoFernandes Lol. You can also use them for suicide.
What is with the Qt online installer, it's stuck at 29% for the last half hour.
 
2:20 PM
i once had success installing qt by trying 3 times. it had quirks like not recognizing backspace key and such (that's so difficult to achieve that i suspect they have hired an expert bugmaker). it didn't uninstall properly from visual studio.
however, for a microsoft installation (after year 2000) it's normal that it's stuck for a few hours
reportedly that's because the folks who worked on the windows update thing, did not have any understanding of what quadratic time means
 
"expert bugmaker". lol
 
2:35 PM
ok, so i managed to make a kind of stew, by starting with freeze-dried "vegetable soup" as base and adding vegetables, sausage pieces and pepper and oregano. the next thing, norwegian "fårikål", is more of a challenge. in theory very simple, but murphy is everywhere!
 
2:50 PM
@RMartinhoFernandes What's the difference? Isn't a computer just a machine that computes?
 
@FredOverflow Well calculators can do mathematical operations but that doesn't mean math is about calculators does it?
 
ok fair point
 
@FredOverflow no. in computer science a computer can be e.g. a turing machine, or a register machine, or a network thingy, or any number of purely theoretical constructs. in computer engineering a computer is a digital computer with more or less von Neumann architecture, except for having two or more processors
 
Infinite memory and infinite time etc.
 
3:06 PM
@LucDanton Where can I buy infinite memory?
 
@FredOverflow Here.
 
Thanks. I tried it. It showed a blue progress bar and then "Download complete". Happy happy! :-)
I shared it with all (50+) of my Facebook friends!
 
3:22 PM
I'm sure they'll be delighted.
 
I'm sorry, I can't find the infinite option.
Only 4GB.
 
Als
hola!
@RMartinhoFernandes: Mr. Bot, A question
Do you mind?
 
Als
hehe cute that @AlfPSteinbach
Is size of all pointers on a system the same?
Or this is implementation dependent?
 
3:37 PM
@Als no. no (non-member) pointer is larger than void* though. and char* is typically the same because it has to be able to point anywhere. member "pointers" are a different kind of fish, swimming in their own kettle. they're more like offset things.
@Als yes
btw., that was the practical. the formal is different, where a bool can be 1 GiB, and a pointer can be any size.
 
Als
ah okay, I see
 
How can we derive from practicality that sizeof(void*) works as an upper bound?
Because all pointer values will roundtrip to and from void*?
 
0
Q: Should we avoid plural names for variables?

zadaneSometimes it is tempting to name a variable as plural when its a collection of objects like an array or list. Is this okay or should we always stick to singular names for variables? As one example a collection of cars could be called 'cars' or 'car' Consider another example: vector< stri...

Lol.
 
Als
@CatPlusPlus: Just read it and whoa the OP did a lot of hard work typing all that and then ask a silly Q!
phew
 
3:41 PM
I noticed that I've been consistently using that convention lately. things[i], foos.begin(), and so on.
 
@CatPlusPlus +1
 
I got xs and friends from Haskell.
 
Als
@CatPlusPlus: Gets rep for skipping to read the last part of the Q before everyone else :P
haha
 
I also like std::tuple<T, U, V> tuple; when the scope is small enough and I guess I wouldn't mind foo_tuple but I would never use std::vector<T> foo_vector;
 
I skimmed it, it was silly enough from the title itself.
 
3:44 PM
foos because I'm pretty sure an std::deque<T> would work just as well.
I guess foo_list is okay-ish assuming it's a list conceptually, and not referring to using std::list as an implementation.
 
fooes to drive people mad.
 
std::vector<T> phooey;
 
Als
A not so bad Question(with a good catch) that got stuck in flurry of downvotes because how badly formatted it was:
-5
Q: Vector changing the size of class

Rishi MehtaEDIT: Though badly formatted this Question had a nice catch.So, I am editing this to retain this in a better format for future visitors who stumble across this question. In the code sample below can someone please explain Why is the size of class different than expected after memcpy? What is t...

 
@Als Oh, sorry, I was away. Was the question you wanted to ask that pointer thing?
 
Als
@RMartinhoFernandes: Yup yup
@RMartinhoFernandes: Oh I may want to ask a totally different Q too
 
3:53 PM
You know the drill. Ask away.
 
Als
Its not C++ but I will shoot anyways
 
Who's Reginald?
 
Als
I take a bus to and from work, a company provided bus, usually i take a window seat and today(er lets say more frequent times) a member of opp sex sat beside me in the aisle seat, Usually, people sleep during the journey this female did too, My bus stop was before hers and while i needed to get down she's fast asleep, I tried the polite excuse me thing but darn usually they are just too sound asleep
How to go about this?
 
Er, poke her shoulder a bit?
That works with me.
 
what is direct-declarator?
 
Als
3:57 PM
er..Touchy..I feel a bit awkward to get touchy
 
3
Q: Flagging fundamentally flawed

FYI I'm still changing my nameLet me use a metaphor to describe why non-local flagging is wrong: your favourite bar. You like your favourite bar because it is a bar that plays your favourite type of music (e.g., Jingle Cats). Everyone in this bar is here because of the music. It is everyone's favourite music. Suffice it to s...

 
@RMartinhoFernandes yes please
 
@MrAnubis Are you reading the standard document or something?
There's an index of grammar productions at the end.
 
@RMartinhoFernandes tell me in two lines in easy words?
 
Sorry, I don't really now all the C++ grammar productions by heart.
When I need to, I go to that index and look it up :)
That said, my standard draft doesn't have direct-declarator. Which one are you reading? The C++03 one? And old C++11 draft?
 
4:00 PM
@RMartinhoFernandes Oh.
 
C++03
 
Ah. Well, can't help you there :(
 
Als
6 mins ago, by Etienne de Martel
Who's Reginald?
@EtiennedeMartel: What or whom you were referring to?
 
Read the tagline.
 
Als
ah okay
so who is it then?
 
4:03 PM
(And don't ask who's Reginald again. I already answered that thrice today.)
 
Who's Reginald?
 
Als
err I asked
 
@CatPlusPlus That guy.
 
Als
who?
 
4:08 PM
@Als The oldest question.
 
here it is
direct-declarator:
declarator-id
direct-declarator ( parameter-declaration-clause ) cv-qualifier-seqopt exception-specificationopt
direct-declarator [ constant-expressionopt ]
( declarator )
i want an example of : ( declarator )
 
Als
@EtiennedeMartel: hmm
 
The butler did it.
 
Als
Are we having a C++ Standard reading session here?
 
Nope.
 
4:13 PM
Let's have a book club meeting and read that literature classic that is ISO/IEC 14882:2011 Programming Languages — C++.
I didn't like the characters.
 
Als
@RMartinhoFernandes: Litb is a star reader for this book and MUST be invited
:)
 
The plot was a bit too contrived and had a few unexplained twists.
 
Als
Oh and it makes my head spin
 
The second half has a lot of exposition.
 
@Als The Standard is always capitalized. Like the Gospel.
 
4:17 PM
The Gospel of Bjarne?
 
Als
Thought for teh day.
 
Hmm. Since I actually don't need them, maybe it's best to get rid of them!
 
Meh, the one time I want to register on Origin and try out BF3, the registration doesn't work.
Oh, EA Online account works.
 
Als
 
Ugh, PunkBuster. Will they never learn.
1.8MB/s. I like my connection.
 
4:57 PM
@CatPlusPlus how much download speed do you get?
 

« first day (354 days earlier)      last day (4585 days later) »