« first day (417 days earlier)      last day (4546 days later) » 

7:00 PM
lol
 
sbi
Well, we all try to reserve the first spot and then polish our answers, but this guy went a bit over the top with that strategy. I think.
Anyway, with this "solution" he now got my downvote, too.
 
You know, it feels a lot better when you don't actually reserve the first spot.
If your 10 minute-late answer rises over the FGITW, it's on its own merits not on some speed criteria.
 
sbi
@RMartinhoFernandes FGITW?
 
@sbi Fastest Gun In The West.
 
Fastest Gun In The West.
This here.
 
sbi
7:04 PM
@RMartinhoFernandes Ah, should have known that one.
 
It's a pity that you can't get Enlightened that way.
 
I've realised that I don't like IT at all and that I am not happy with the fact the closest I get to computer science on this AS Level is this
I've been told I can actual use a proper programming language
But how can you make something that's not just 3 check boxes?
Just the whole way though the course it mentions things like RAID, and on that page Prolog and I'm the only person who has any idea what it is because they don't explain it
 
0
Q: What is wrong with this C++ code i've copied from a book?

DemiSheepI copied this directly out of a book, my only clue is that it is something to do with the else a few lines from the bottom. When I add a "}" before the else the program almost works correctly. #include <iostream> #include <string> //using namespace std; using std::cin; using std::e...

Straight up cargo cult programming.
 
Bastion on Steam for 4,66€!
 
Oh shhhhhiiiii-
 
7:16 PM
It's basically free, if you don't have it, go buy it.
 
I don't have a Steam account.
I don't want to have their special sales.
And ruin my economies.
 
CHRISTMAS SALE IS INCOMING.
 
You won't be able to resist for very long.
 
Spending money on stuff you don't need is fun!
 
7:18 PM
That's what money is designed for!
 
CAPITALISM!
 
Xeo
@EtiennedeMartel CAPITALISM HO!
3
expects nobody to get the reference
 
Hah, that game.
 
Xeo
Oh my gosh, someone knows
 
@Xeo looks like at least two people got it ;)
 
Xeo
7:20 PM
Yepperoni!
 
It was fun.
 
yeah, very
 
Xeo
Although hard the first time through. I think I game-over'd once on week 5 :(
 
Speaking of things people won't get, I'm playing Kerbal Space Program atm. Is pretty neat :)
 
any of you play dungeon defenders?
 
7:22 PM
I own it. Haven't tried it yet
 
I'm rather hooked
 
I bought it two days ago or so, haven't really had time yet.
 
Xeo
Any of you have played Terraria?
 
45 hours.
 
Xeo
currently steam open? :P
 
7:24 PM
played it a bit. Have a dedicated server for it too
 
Haven't played 1.1 yet, though.
 
Xeo
Yeah, I heard it got some awesome updates
Like all those alchemy stuff
pretty crazy
 
Alchemy was added earlier.
Now it has UNICORNS.
 
Xeo
:O
 
What has unicorns?
 
7:27 PM
 
terarria for linux?
 
Also wires and mechanical stuff.
 
I wanted to reach the repcap today, but I took an arrow to the knee. I'm going to sleep now. See you tomorrow.
 
Must hurt as hell.
 
Xeo
7:31 PM
@CatPlusPlus Fuck that looks awesome
 
Any Battlefield 3 player here?
0
Q: What is Skill in Battlefield 3?

Etienne de MartelBy looking at my stats on Battlelog, I noticed one labeled "Skill". If I recall, it was also present in Bad Company 2. What is that statistic? How is it calculated? Mine is 367, is that good?

 
Xeo
Though I have to admit, Terraria is most fun when played with a couple of friends on a completely new, large map with new characters.
It just feels awesome to explore all areas
It's also quite funny to accidently bomb your own mate away with a bad throw of a granade
 
sbi
I just ran into this old classic by James. It's such priceless fun, but pedants try to delete it. Sometimes, SO is such a sad place.
 
Dungeon and Hell are challenging enough even for characters loaded with stuff. It's bit tedious to start from scratch every time.
But yeah, it's mostly multiplayer game.
Though I was doing hellevator on single player for 6 hours straight once.
 
sbi
7:35 PM
Want to buy the Steve Jobs biography but I'm worried they'll come out with a better version a year from now.
 
Xeo
@CatPlusPlus Ooh, hellevator
 
I needed to change 96x96 image so that it has a 16x16 transparent border. Lacking any knowledge of image editing tools I resorted to this. It's fun being a programmer :D
 
Xeo
That took quite some time on a small map with three players.
two contantly churning away the stones below, and one planting stones to the right and left to keep water and monsters out
Though the damn kobolds down in hell have become a hard break for the project for quite some time
And that doesn't even include those nasty skelettal dragons
 
The best item in the game is the voodoo doll. Die, Guide, die!
 
Xeo
Mmm, I don't know that one yet. :(
The best imho is one that should be present in any adventure style game - the grappling hook.
It's just way too awesome grappling about with it
Especially the enhanced version
 
about that question
1
Q: adding to c* invalid conversion from const char* to char*"

unleashedI have the following function below in a file called WiServer.h for Arduino GETrequest(uint8* ipAddr, int port, char* hostName, char* URL); Now the problem is I need to concat a int value (setting1) to the char* URL param like below for example "twittermood.php?status=sendTweet&setting1=...

 
Xeo
@CatPlusPlus Woot, neat introduction of a new boss
Damn, I want to play that game so much right now
Sadly, I don't have it :(
Oh yeah, are you actually able to equip more than 5 accessories yet?
 
user379888
Does anyone have a diet plan for nerdy programmers ;) >
 
@Nils The question is meh, but @sbi's answer is great.
 
nah I disagree
you probably don't have the stl library on an embedded device
 
sbi
7:44 PM
@Nils The only piece of the STL I use is std::vector, and that can easily be replaced by a home-grown buffer class. However, I doubt the guy would be able to create one.
 
Hi there!
 
"Use this" is not an answer.
 
@Akito Food and tea.
Food including anything edible, with pizza on top.
 
@Akito burgers.
 
@Nils STL requires no runtime support besides proper allocator.
 
user379888
7:45 PM
@CatPlusPlus: That doesnt make the brain strong :(
 
user379888
@Yokhen: Howcome burgers?
 
yeah but the question was how to do it with char buffers
 
user379888
Stay Hungry says my display picture LOL.
 
@Nils It's a good answer to give to a beginner.
 
@Akito Yeah, or sandwiches. With anything that is left on the fridge
 
user379888
7:46 PM
@Yokhen: What a nerdy diet.
 
sbi
@Nils Sometimes the answer to "how do I do x?" is "don't do x."
 
user379888
I have started loosing hair at just 21 years.
 
@Akito It's the life of a computer nerd.
 
@sbi Hah, I just looked. > 109 more votes required for deletion.
 
@CatPlusPlus What kind of runtime support does an allocator need besides basic os mallocs?
 
7:47 PM
I think it's quite safe.
 
Btw, how do I declare a variable in C++?
 
When someone asks me a question, I generally answer with the question "Why are you trying to do this?"
 
Having learned C before C++ I disagree.
 
user379888
@Nils: Why?
 
If it's a good reason, then I give an answer. Otherwise I say why it's not a good idea to do it that way.
 
7:47 PM
@CaptainGiraffe If you don't have an OS, you need to be more clever about allocation. :P
 
sbi
@CatPlusPlus Huh? How's that?
 
@CatPlusPlus for sure =)
 
@Nils My condolences.
 
776
Q: The Definitive C++ Book Guide and List

grepsedawkUnlike many other programming languages, which are often picked up on the go from tutorials found on the Internet, few are able to quickly pick up C++ without studying a good C++ book. It is way too big and complex for doing this. In fact, it is so big and complex, that there are many bad C++ boo...

 
sbi
@Yokhen See this.
 
user379888
7:48 PM
@Nils: C has almost everything a person should know to make sense how to program and C++ completes the OOP part.
 
@sbi Hover over delete link.
The count part.
 
@Yokhen Type name(constructor parameters);
 
come on so is about learning, it is surely possible to do right correct just in the C language
 
@EtiennedeMartel That's definition.
 
@sbi Thanks :)
 
7:49 PM
@CatPlusPlus It's also a declaration.
 
Xeo
@CatPlusPlus I think it was more like "why so many?"
 
user379888
@Yokhen: You can do it same as in C too.
 
Pure declaration is extern T name;.
 
@EtiennedeMartel Thanks.
 
@Akito Hehe, c++ does in no way complete the OOP part. c++ is quite opposed to OOP in the Informatics sense
 
Xeo
7:50 PM
It just supports OOP
 
@Xeo I guess it's proportional to the question score, or something?
 
@CatPlusPlus Oh, sure, if you want to nitpick...
 
user379888
@CaptainGiraffe: I have done C first and then C++ so I will support my view .
 
Xeo
It also supports functional style, generic programming, procedural programming etc
 
C++ supports OOP, In now way endorses it =), good point @Xeo
 
user379888
7:50 PM
I am starting Java in some days, then I would know what OOP actually is.
 
Xeo
@Akito Pure OOP?
 
C++ is rather bad at functional.
 
sbi
Nothing to see there.
 
I'm curious, who here hasn't learned C before C++?
 
7:51 PM
@sbi Hover over the (3) part.
 
Xeo
@sbi Directly over the (3)
 
@Akito Sry Akito, you need to get in to management before you really appreciate OO.
 
@Nils You could also use a magnetized needle and a steady hand, while you're at it.
 
sbi
Ah. Lemme try...
 
user379888
@Xeo: Excuse me?
 
7:51 PM
Why is C++ better than java?
 
Xeo
@Akito Do you want to know what pure OOP is?
Like java and C# do it?
 
@Yokhen Because its name is one character shorter.
 
sbi
@CatPlusPlus Same difference. :( // @Xeo
 
Xeo
@sbi Not for me
 
@Yokhen Because oranges have vitamin C!
 
7:52 PM
@Yokhen Because coffee sucks.
 
Xeo
You're doing something wrong, obviously :P
 
user379888
@Xeo: As I said I am starting Java in some days. Lets see what actually OOP is :p
 
I don't see a difference either.
 
@Akito in that case, it is whatever your teacher tells you it is. The term can mean a lot of different things, so you'll be wasting your time learning the wrong definition
 
user379888
@CaptainGiraffe:Hehe
 
7:52 PM
@sbi sauce?
 
Xeo
@Akito I tell you what pure OOP actually is - bad.
 
sbi
@Xeo Might be some userscript in my FF. Mhmm.
 
Is this a trick to fool us into hovering for minutes over (3) for no reason?
 
Xeo
No
 
If you want to know "actual OOP" then you probably ought to check out Smalltalk.
 
7:53 PM
@Xeo Pics or it didn't happen!
 
Or maybe CLOS.
 
sbi
@Pubby Me.
 
The more I look at it, and the more I think that the GoF patterns are actually patches to Java's deficiencies in disguise.
 
user379888
I am actually very confused about my future. I am doing Computer Systems Engineering here in Pakistan but there is no development in hardware side. Its just software development here so its kind of waste here to do it :(
 
@EtiennedeMartel +1
 
Xeo
7:54 PM
 
Design Patterns in general are patches to language deficiencies.
2
 
@sbi Did you know any other language before?
 
user379888
I am looking forward where can I use my C and C++ skills.
 
sbi
@CatPlusPlus Anyway, I'm still interested in why a question would need so many delete votes.
 
I'd forget about C.
 
7:55 PM
I did.
 
5 mins ago, by Cat Plus Plus
@Xeo I guess it's proportional to the question score, or something?
 
Hola amigos!
Como estan?
 
Xeo
@sbi Sounds like a time for... Meta. Na-na-na-na-na-na-na-na...
 
Lol.
Stop. Metatime.
5
 
7:55 PM
lol
 
Xeo
lol'd
 
sbi
@Xeo Uh. Not tonight. It's not been a nice enough day to head for the madhouse.
 
Patterns are when we need to have a "parleur" - "The idiots guide to order a hamburger"
 
user379888
Which kind of embedded systems are developed with C++?
 
in all languages
 
Xeo
7:56 PM
@Akito Does "my brain" count as an embedded system?
 
What's with those embedded systems.
 
user379888
@Xeo: If it just performs one task then you can include it ;)
 
@CatPlusPlus nah it is a nice language
 
@Xeo Not much of a system, but embedded for sure =)
 
@Akito PS3, Xbox 360.
 
cpx
7:57 PM
According to this:
37
A: Undefined Behavior and Sequence Points

Prasoon SauravThis is a follow up to my previous answer and contains C++0x related stuffs.. Pre-requisites : An elementary knowledge of Relations (Mathematics). I heard someone saying that there are no Sequence Points in C++0x, is this true ? Yes! This is very true. Sequence Points have been replaced ...

 
Xeo
@CatPlusPlus Penismeter for programming languages? dunno
 
@Akito all sorts of embedded systems.
 
I wouldn't ever want to work with an embedded system.
 
user379888
@EtiennedeMartel: Thanks.
 
cpx
hm, i = ++i + 1; is well defined.
 
sbi
7:57 PM
@Pubby Um, quite a few, actually. Lemme recap: BASIC, Z80 Assembler, Pascal, TP, Ada. I might have forgotten one or two.
 
@Xeo My penis can't do snobol
 
embed THIS
 
user379888
@RichardPennington: I have learnt that C gives better hardware control so why would anyone prefer C++?
 
I'd rather do gamedev crunches, or endure the pains of webdev forever.
That's bullshit.
 
@Akito Because it doesn't take any hardware control away.
 
7:58 PM
C++ gives you exactly the same hardware control capabilities C do.
 
sbi
69
A: When to use C over C++, and C++ over C?

sbiYou pick C when you need portable assembler (which is what C is, really) for whatever reason, your platform doesn't provide C++ (a C compiler is much easier to implement), you need to interact with other languages that can only interact with C (usually the lowest common denominator on any pl...

 
Hm... is Skyrim programmed in C++?
 
And on top of that a language that isn't completely brain-dead.
 
@Akito C is closer to "what you see is what you get" so is easier for electrical engineers to understand. :-)
 
user379888
@sbi: Thanks.
 
7:59 PM
@Yokhen Yes. As are 99% of AAA games these days.
 
@cpx Yes it is well defined but I would shoot you on sight!
 
Skyrim is most likely programmed in GameDev++.
It's an ugly derivative of C++.
 
@Yokhen most games are
 
Xeo
@cpx Oh right, in C++11 preincrement is sequenced on fundamental types I believe. That's why ++++i is no UB
 
cpx
it is also undefined
in this
81
A: Undefined Behavior and Sequence Points

Prasoon SauravDisclaimer : Okay. This answer is a bit long. So have patience while reading it. If you already know the stuffs reading them again won't make you crazy. Pre-requisites : An elementary knowledge of C++ Standard What are Sequence Points? The Standard says At certain specified points in...

 
7:59 PM
@Akito Kidding aside, C++ should be used carefully on some classes of embedded systems.
 
@CatPlusPlus Give a for instance as ugly. It can't be managed c++?
 

« first day (417 days earlier)      last day (4546 days later) »