« first day (418 days earlier)      last day (4532 days later) » 

sbi
10:00 PM
@RMartinhoFernandes No, I didn't but obviously the backslash was swallowed by Murkdown.
 
sbi
@RMartinhoFernandes Yeah, needs to be \\.
 
Ten thousand edits later.
 
Another classic from the '50s
 
10:00 PM
That's a lot of mouths
 
@keithlayne The Day the Earth Stood Still!
 
sbi
It's official, Java code is buggy as shit, and C++ code is more secure than C#: http://arstechnica.com/business/news/2011/12/bad-code-plagues-it-applications-especially-java-ones.ars
@jalf smirks.
 
The Day the Earth Stood Stupid.
 
I bought that movie a few years ago and told me wife that it was a classic, she had to see it, etc. I sat on the edge of my seat, and 15 minutes in I looked over and she had fallen asleep. Doesn't play too well in the states these days.
 
10:02 PM
 
@CatPlusPlus it was the commies' fault
lost in space == kind of shitty
 
sbi
@Pubby That is one scary pair of boobs, if you ask me. Could almost turn me off females.
 
I once made a mistake of showing Dwarf Fortress to friends.
 
lol
@CatPlusPlus BTDT.
 
@sbi then you would be free to date yourself again
 
10:03 PM
No one likes that.
 
sbi
@RMartinhoFernandes Dating yourself?
 
Is there anyone willing to help me? The people in my question are telling me that I'm not being concise, and I'm doing things I should obviously know what to do.... which obviously I don't cause I wouldn't be asking the question if I did...
 
I considered not having them as friends for a while...
 
how did they get trapped in your question?
 
Why did older sci-fi authors think that humans would be smart enough to develop incredibly advanced robots that think for themselves yet would have absolutely no ability to make them look decent...
 
sbi
10:04 PM
@keithlayne How did that "again" creep into your sentence? What's it doing there?
 
@sbi No, being my friend and simultaneously, liking Dwarf Fortress.
 
Don't call him creep, he's a nice guy!
 
@dreamlax Because they wouldn't want robots to become too familiar.
They would want robots to clearly be not human.
 
@dreamlax robots are the zombies of the '50s
 
Not like Cylons.
 
10:05 PM
"I want the robot to be really advanced... like ... it should have TWO tape decks... and lights that flash for no reason... yeah.... that's really advanced and futuristic"
 
Damn toasters.
 
sbi
@OghmaOsiris We're a disorganized band of slackers tonight (mostly Europeans, it's evening for us), but if you want to deal with this, you might post a link to your question and shot.
 
0
Q: Trying to implementing a Stack and a Queue

OghmaOsirisI have an assignment where I read in a list of strings, add them to an array based stack and add the same list to a link-list based queue. The whole stack and queue are already written, my assignment was to add two functions to each of the derived Stack and derived queue classes to remove all of ...

 
@dreamlax Star Wars.
 
@OghmaOsiris Why inheritance? Can't use a free function?
 
10:06 PM
is that the same question I read earlier that made no sense? or was that your classmate?
 
@Pubby Its part of the assignment.
 
Yeah Star Wars had some decent robots
 
Right, they had no flashing lights whatsoever.
 
With lights that flash no reason.
And talk in beeps.
 
my favorite was the trashcan-bot
 
10:07 PM
Also made of cardboard.
 
Wasn't there a midget inside R2D2?
 
just folklore?
 
it had wheels, dude
 
 
10:09 PM
that's out of context
he's 6'5"
 
I heard r2d2's actor and c3po's actor hated each other
 
Clearly a midget.
 
why do little people always look so cheerful?
 
They have so much to look up to
 
10:10 PM
You're horrible.
 
That's mean.
Because their happiness is concentrated.
 
probably cause he got paid a shit ton to sit in a trash can
 
Pffft ... that's not mean... mean would be saying they are inferior to real people and should be segregated
 
"real people".
 
exactly, that's why it would be mean
 
10:13 PM
I'm unable to start writing code.
I shall play instead.
 
evening
 
Wow, the co-pilot of the AF447 could not identify St. Elmo's fire.
 
morning
 
@OghmaOsiris if somebody tells you to do something with no motivation other than to help you, it's extremely lame to whine about said person being 'rude'.
My knee-jerk reaction to that is to punch people in the face.
 
10:16 PM
punch just anybody?
 
@keithlayne But to tell me to go away and come back when I read a website that just tells me to write things better is rude...
 
You could kick them with your knee. That would be knee-jerk.
 
He sould have told me how it wasn't clear.
 
@dreamlax yeah, it sometimes sucks for standers-by
 
lol
 
10:17 PM
No, it's not rude. SSCCE exists for a reason, and the reason is we can't help you if you post a wall of uncompilable code.
 
@OghmaOsiris no, you are the one sucking here. People in this room would generally dismiss you right away since you clearly lack some knowledge and tell you to go read a book. They would be correct, and it would help you to do so.
@OghmaOsiris it's clear to all of us what's not clear about your question. Namely, all of it.
 
I send people away to books when I see they lack any fundamental knowledge whatsoever.
 
@keithlayne But it's not clear to me what's unclear about my question...
 
Because I can't explain entirety of C++ basics in an answer to a specific question.
 
Xeo
@sbi Very interesting read
 
10:20 PM
@OghmaOsiris I can tell you right now you're segfaulting because you're dereferencing a null pointer in print().
 
You loose performance and it is suck.
 
@keithlayne Ok. Why then is everyone telling me to go away, when that comment could be invaluable to me. Thank you.
Can you help me understand why it's referencing a null pointer?
 
Ah, comeee on, Tribes downloaded a patch, and now it's downloading another patch.
 
because no one's paying attention to anything you have written
 
How many updates can be released in one day?
 
10:23 PM
@CatPlusPlus You're really fond of that huh?
 
Yes.
I've been meaning to start an SO quote database.
But me and finishing stuff.
 
@CatPlusPlus Put it on the wiki.
 
sbi
@Xeo Yeah, so I thought, too.
 
@OghmaOsiris I'm probably wrong, I misread it. Do this: post the class definitions, cut out some of the other crap, leave print, since that's where it poops.
 
sbi
Something awkward just happened here.
You have all the xmas presents spread all across the living room at 11pm, and suddenly someone asks "Daddy, what's all that stuff?" #awkward
 
Xeo
10:24 PM
Ouch
 
@OghmaOsiris Have you ran the code under debugger?
 
Xeo
No really, ouch.
 
@sbi Err..
What did you answer?
 
Xeo
Seems you need to tell your kids this Christmas that there is no Santa
 
@CatPlusPlus I tried debugging and I don't know where it breaks... I don't see how I can reference a null pointer.
 
10:25 PM
@Xeo Santa came early!
 
"Santa doesn't actually wrap the presents."
 
@OghmaOsiris If it crashes, then the debugger will pinpoint where.
 
Xeo
@rvalue That's good too
 
@OghmaOsiris that was my next point. you run the debugger and you can see if you're data sucks without the print. at least show the backtrace when it dies.
 
@OghmaOsiris Make sure you compile with debugging symbols.
 
10:26 PM
@OghmaOsiris: When it crashes in the debugger, get it to tell you the line it crashed on and inspect all of the variable values to make sure they're correct
 
sbi
@RMartinhoFernandes I ushered the little bugger to the bathroom and carried her back to bed, hoping that she'll have forgotten in the morning. :-{
 
You really need to try and pinpoint the source yourself, because this code is not easy to read.
 
@sbi that'll also work. Probably.
 
Xeo
@sbi Cross your fingers
 
10:27 PM
@sbi I thought you wanted them to learn about santa....
 
Also -> counts as dereferencing.
 
@CatPlusPlus When people tell me that, I don't know what it means...
 
It's long, full of shuffling pointers around, and memory management.
 
Xeo
@sbi Any backup plan if she doesn't? Also, how old? That will likely affect the chance
 
@OghmaOsiris you suck at programming is what he's saying. It's not hopeless if you want to learn, but you have a long way to go. Merry Christmas.
 
10:28 PM
@CatPlusPlus How else do I implement it? I thought C++ had its own garbage collection.
 
sbi
@keithlayne Yeah, now I probably just have to hire someone, to be able to keep up the pretense.
 
@sbi I can be santa for the right price.
 
@OghmaOsiris: It sounds like you've learned programming mostly by trial and error rather than trying to learn what mistakes you've made.
 
@keithlayne Seriously? You'e seriously just telling me I suck? How is that helpful at all?
 
@OghmaOsiris It's not really relevant. You'll learn how later. What's important that you have to isolate minimum code that reproduces the issue.
 
Xeo
10:28 PM
@OghmaOsiris Uhm.. where did you hear that?
 
sbi
@Xeo She's only 4 and a half. That's the good thing. The 7yo would have been harder to fool.
 
I can't spend 2 hours going through your code, sorry.
It really needs to be as small as possible.
That's what SSCCE tells you.
 
> The Airbus's stall alarm is designed to be impossible to ignore. Yet for the duration of the flight, none of the pilots will mention it, or acknowledge the possibility that the plane has indeed stalled—even though the word "Stall!" will blare through the cockpit 75 times. Throughout, Bonin will keep pulling back on the stick, the exact opposite of what he must do to recover from the stall.
Were they on crack?
 
sbi
@keithlayne Everybody would be santa for the right price. But not everybody's price would be acceptable.
 
@CatPlusPlus Ok. I'll delete the question and ask a new one that tries to be more concise...
 
10:29 PM
@OghmaOsiris Nobody (except for me of course) was awesome from the start. Everyone is somewhere on the suck-awesome continuum. It's okay to suck, I do to.
 
Xeo
@sbi Does she sleep in the same room as another one of your kids?
 
sbi
@RMartinhoFernandes It says so later why they might have ignored it.
 
@sbi round trip ticket to berlin and it's a deal.
 
Xeo
If yes, hope that one's not awake and she's not telling anything
 
sbi
@Xeo No, currently she's in my sleeping room. Why do you think this is important?
 
10:30 PM
@OghmaOsiris: Compile with debug symbols (i.e. use "g++ -g source.cpp", then run "gdb a.out", type "start", then type "c". It will crash. When it does, type "bt" and this will print the backtrace
 
sbi
@Xeo No, they are all asleep again. I doubt she was really awake while she peed, actually.
 
Xeo
@sbi Because of my last message. Seems my net connection is lagging again...
 
I honestly have no idea what's the use of the Santa thing.
 
@dreamlax I don't know what g++ is.
 
awesome
 
10:31 PM
@OghmaOsiris: Sorry, what compiler are you using?
 
@dreamlax Mac. I'm using xcode
 
Arrgh, second patch is downloading sloooowly.
 
Xeo
@sbi That's the best you can hope for
 
sbi
@CatPlusPlus Childhood is full of fantasy and dreams.
 
Right. You need to read a book after all.
 
Xeo
10:32 PM
Reading with 4 1/2 ...
:)
 
@sbi no counteroffer?
 
Xeo
Actually, I learned reading with 5 years already. That was awesome when I was in school later
 
sbi
Anyway, I think I need to go back now to sorting potential presents.
 
Xeo
Before someone else barges in, eh?
 
@OghmaOsiris: OK, are you develping a command line program with Xcode? Make sure you're building the "Debug" configuration, then in the "Build" menu (or whatever menu they call it these days), choose "Build and Debug". From memory the shortcut is Command-Shift-Y or something...
 
10:33 PM
Ugh, OSX again.
 
@OghmaOsiris The purpose of this assignment is not just that you can implement a missing function from a collection, and thus determine that you understand the difference - it is also testing your understanding of memory management and language constructs like references and pointers. If you don't understand those concepts enough, there are lots of resources freely available to explain them.
Since this is an assignment, that should include a lecturer/tutor, your course textbooks, and probably a list of resources on the assignment specification.
 
Last time I've used OSX, it took me like 5 minutes each time to find the damn global menu.
 
@dreamlax That's what I'm doing. It gets the bad access error in the print function when the while loop starts.
 
sbi
@keithlayne 25 bucks, and you pay all the tickets. I can organize a bed in Berlin for one night (my apartment's overcrowded) and a meal plus a drink after the show.
 
That thing is invisible!
Who the hell thought it would be a good idea.
 
10:34 PM
@rvalue But I understand pointers and references. At least I think I uderstand them...
 
> Done in 14m
Come oooon.
I want to shoot things.
 
@sbi deal
 
Wow.
You're cheap.
 
@sbi I'll have my people get with your people.
 
@OghmaOsiris: OK, so set a breakpoint sometime before the crash and make sure things are happening the way you think they are
 
Xeo
10:35 PM
Let's hope he does the job well
Not just comes in, takes off the beard and says "Tut mir leid, aber es gibt keinen Weihnachtsmann"
 
It's the new age of cheap hookers and cheap Santas.
 
@RM times are tough all over
 
@OghmaOsiris: (sorry I didn't actually see your code, I don't know what it does)
 
@dreamlax it crashes
 
sbi
@Xeo That's fine, the small ones don't know any English beyond "Hullo".
 
10:36 PM
Obviously.
 
I feel trolled
 
Xeo
@dreamlax You're not the only one
@keithlayne That's a good summary
 
My connection is trolling me.
 
I know "do you speak German?", "I love you", and "shit" in German
oh yeah, also "asshole"
 
I know "I don't speak German", kind of.
 
10:37 PM
it's a good mix
 
I know that song... "Ich bin Auslander und sprechen nicht gut Deutsch!"
 
Eine kleine nachtmusik or something?
 
I also know "I am a Berliner".
And the numbers up to ten.
 
I remember up to three.
 
Xeo
I know much much more than all of you! Ha!
:>
 
10:39 PM
eins, zwei, drei, Cool Runnings!
 
Xeo
0
Q: Convert char* to string C++

Terry LiYifengI know the starting address of the string(e.g., char* buf) and the max length int l; of the string(i.e., total number of characters is less than or equal to l). What is the simplest way to get the value of the string from the specified memory segment? In other words, how to implement string retr...

I feel that this question was asked way too often
CAN'T THEY JUST EFFING SEARCH?!
 
I wrote a program once to help me remember German words for class tests.
I don't remember any of those.
 
luftballon
 
Xeo
"Think in german, think in german.... Baumkuchen?!"
 
But I passed the class, so it was good.
 
Xeo
10:40 PM
Let's see who gets the reference.
 
Neunundneunzig luftballon!!
Schnitzelbank!
 
it's like a clint eastwood in foxfire, sorta
 
@dreamlax Ok. I did that and I'm getting a bad access when I'm trying to access the nextnode pointer in the first node. I don't understand why it wouldn't be pointing to the second node in the queue...
 
@OghmaOsiris is it in print()?
 
If you didn't point it there, it's not pointing there.
 
10:41 PM
@OghmaOsiris: OK, so find out where it should be setting the second node, put a breakpoint there and make sure things are happening the way they should be
 
@keithlayne Yes.
 
Xeo
Seems like noone in here gets the Anime reference. :(
 
sbi
@keithlayne Yeah, all the furriners always can speak the swear words first, in any language.
 
@Xeo: Oddly, I'm having trouble finding a duplicate of that question
 
sbi
@Xeo I don't.
 
10:42 PM
that was what I was saying earlier...you check if the member is null before checking if the pointer is null
 
@MooingDuck I'm closing as "general reference".
 
Xeo
@sbi I didn't expect you too, you're too old for that :P
 
@sbi it's only the army influence
 
(That is "Too localized", because we don't have GR yet.)
 
sbi
@CatPlusPlus So you speak more German than I speak po polsku.
 
10:42 PM
We really need "read the friggin' documentation already" close reason.
@sbi Yeah, without that dash there.
 
sbi
@keithlayne No. All furriners.
 
@OghmaOsiris: Don't hammer nails with a shoe. Learn how to use the tools Xcode gives you rather than trying anything and everything.
 
@cat in some bruce willis movie there was something about "bom" being a polish curse. Is that true?
 
sbi
@CatPlusPlus Sorry, I don't know how to write this even in German, let alone English.
 
Xeo
So, nobody other than me in here watches Anime? booh.
 
10:44 PM
@sbi "Po polsku".
 
sbi
@Xeo I think @Stacked does.
 
@keithlayne No.
 
@sbi Yeah, you don't know how to write "alone" in English. It shows.
 
bruce willis lied to me. Damn.
 
Xeo
@sbi Right, but he's not here currently :/
 
10:44 PM
@dreamlax Thanks for being one of the only people willing to help. I need to get to class so hopefully I can get some help from my teacher.
 
sbi
@RMartinhoFernandes Sigh.
 
@Xeo I watched Panty & Stocking, does that count?
 
@Xeo I already watch movies and read books. I don't have time for more cultural stuff.
 
Xeo
@CatPlusPlus lol
 
@OghmaOsiris did you see what i said about checking the pointer?
 
Xeo
10:45 PM
@CatPlusPlus I'm not sure if P&S is a good representation of Anime in general xD
 
Well, it was pretty fun, if your brain melting can be fun.
 
Xeo
Oh, it can
I'm sure of it, I watched it too
 
@OghmaOsiris: If you are generally willing to learn programming, pick up a reputable book before writing any more code.
 
Xeo
Now I'm just hoping that Gainax isn't trolling us with a sequel
 
sbi
@Xeo I used to watch Bolek and Lolek when I was a kid. (Ask the @Cat about them!)
 
10:46 PM
I have from time to time watched some anime on netflix that is borderline animated child porn
 
@dreamlax I've read so many books on programming.... And I've taken so many classes... I'm just confused on this one aspect right now.
 
@OghmaOsiris: I'm not saying that in a demeaning way or anything, but it's important to sort out the fundamentals before you dive into something deeper
 
@sbi that sounds like afghanistanimation
 
@dreamlax And I feel like I have a firm grasp on the fundamentals.
 
10:47 PM
Last time I've seen that was long, long ago.
 
@OghmaOsiris for the record I didn't say you suck, just your programming
@OghmaOsiris you demonstrate otherwise
 
@keithlayne Which is rude.
 
sbi
@keithlayne The @Cat isn't an Afghan, you know.
 
quit being so sensitive
 
I don't even know where Afghanistan is.
 
sbi
10:47 PM
@CatPlusPlus It is probably been much longer ago for me.
 
@OghmaOsiris: There are very very few people in this world who are good programmers
I can't speak for all worlds obviously
 
@sbi it was a reference to a movie that it way too cool for you
 
sbi
@CatPlusPlus Where? What!
 
@keithlayne I'm only sensitive because I'm generally TRYING to learn and most people I'm talking to on here are acting very high and mighty and telling me to learn the fundamentals before asking any questions. I know the fundamentals and I don't know why I can't ask a question.
 
What. The. Hell.
 
10:49 PM
@sbi That's a dog. Not a country.
Just saying.
 
That's a DOG?
It looks like a pony.
 
sbi
@RMartinhoFernandes So? "The @Cat isn't an Afghan."
 
Looks like a Pokemon
 
@OghmaOsiris nooooo....ask questions, that's good. but when you ask for help, don't say, no, I'm offended, I will not do what you say even though it will help me.
 
Everything looks like a Pokemon.
Really.
 
10:50 PM
Yes I'm 26 and play Pokemon...
 
The thing about being a good programmer is realising that you suck.
 
@keithlayne But if I'm not a regular on this site, how am I to know what the recommended sites are without having to lurk for months? To me, it seemed very rude to tell me to go away and not come back before reading some other site...
 
That's why we have code reviews, and call each other names all the time.
 
Anyway, thank you @dreamlax. I hope your advice helps tonight.
 
SSCCE is short website explaining specific concept.
 
10:51 PM
It's true... in fact, the more you realise you suck the better a programmer you become
 
@OghmaOsiris I told you exaclty your problem half an hour ago.
 
I don't suck.
 
Also, you're not your code, so don't be offended when people tell you your code sucks.
 
@OghmaOsiris don't look a gift horse in the mouth
yeah @cat is an awesome programmer, but such a douche...
 
I'm not. :.
 
10:53 PM
are too
oh wait, that's the dog, not the cat
 
Dee two.
 
Xeo
Hm
Does a std::future automatically detach the thread if it goes out of scope?
 
@sbi That is very disturbing indeed.
 
sbi
@RMartinhoFernandes Yeah, you're a robot, after all, and not a vacuum cleaner!
 
Vacuum cleaners don't suck... they induce!
 
10:56 PM
has anyone done a register interference graph in compilers?
 
Keith, you did what the debugger did. Told me that it crashes and where. Which didn't solve my problem. My problem was trying to understand why it was crashing there.
 
I heard him mention dereferencing a null pointer.
 
@OghmaOsiris I told you: you deference a null pointer
twice
 
Xeo
@OghmaOsiris You were told many times that you dereference a null pointer somewhere
 
sbi
@RMartinhoFernandes Indeed. The German magazine Der Spiegel had an article online a few months ago, where they said that, with all the electronics aboard, piloting is taken out of the hands of pilots, which might have drastic consequences when the computer errs.
 
10:57 PM
you check if a member is null without seeing if the pointer is null
 
@sbi But the computer didn't err. (One of) The pilots lacked the know-how to deal with a computer-less situation.
 
sbi
@dreamlax Not here in Germany.
 
@OghmaOsiris I know I'm pissing you off, but I really am trying to help you.
 
sbi
@RMartinhoFernandes It's just a different facet of the same problem.
 

« first day (418 days earlier)      last day (4532 days later) »