« first day (460 days earlier)      last day (4490 days later) » 

4:00 PM
@CatPlusPlus egh, statistics
 
formal logic: The study of the properties of propositions and deductive reasoning by abstraction and analysis of the form rather than the content of propositions under consideration.
 
the only stats I care about are the ladies vitals stats, am I right!
 
lol
the only stats I care about is rep on SO and kharma on Reddit
my life sucks.
 
@thecoshman Cue that outer shell thing one of the regulars likes to quote.
 
What outer shell thing?
 
4:01 PM
oh noes, that again
 
@RMartinhoFernandes correction, cue my "I don't give a fuck" response
 
@sbi outer shell theory on women
 
@CatPlusPlus Something about women being more than breasts on legs.
 
Cue my quote about vaginas
 
@TonyTheLion That comes with the legs.
 
4:03 PM
@RMartinhoFernandes So, them being oysters?
 
If we weren't meant to judge books by there covers, they wouldn't have them
 
@RMartinhoFernandes in between the legs, technically
@thecoshman you want to see women as bare skeletons?
 
@TonyTheLion Yes
 
Eww, necrophilia.
 
@DeadMG oh thanks for the confirmation. You got through all?
 
4:04 PM
@TonyTheLion the reverse...
 
@thecoshman wut?
 
You want to be a bare skeleton when seeing women?
 
@TonyTheLion never mind
 
Are you guys talking about pizza again?
 
4:06 PM
@TonyTheLion sfw?
 
oh you
 
sbi
@TonyTheLion Huh?
 
@thecoshman well, somewhat NSFW
 
@TonyTheLion :(
 
4:06 PM
@Potatoswatter No, shells.
 
@CatPlusPlus sexy voluptuous shells
@Potatoswatter I see what you did there :D
 
@RMartinhoFernandes :(
 
@RMartinhoFernandes Breaking news: most of the planet is still fucked up?
 
@RMartinhoFernandes WTF is wrong with these people??? That's disturbing
 
@CatPlusPlus Breaking news: even more of the planet doesn't give a fuck about what happens as long as it is not on there door step
 
4:10 PM
Well, many of those can't do shit about it.
 
@TonyTheLion the US declares death penalties for tons of "convicted" criminals each day
 
user142019
Good afternoon.
 
The above isn't that different
 
sbi
@Potatoswatter The problem is that it will also ban the artist, so after a successful flagging the audience isn't seeing anything anymore.
 
@rubenvb yea, I know, but not for making software
 
4:11 PM
@CatPlusPlus I think most of the planet is in pretty good shape, all things considered. It's never been good to live in a theocracy.
 
@sbi assuming the flag is not ignored
 
@rubenvb yes, it is very different, at least in the US you don't get convicted to death for writing software to post images on the web.
 
@TonyTheLion doesn't matter what you give the death penalty for. It's a direct violation of human rights. Something that is still highly underestimated in the world where you can't pay in euro.
 
sbi
@thecoshman I#d call this "unsuccessful flagging", then.
 
@sbi what ever you want to call it :P
@TonyTheLion you would if they had there way :P
 
4:12 PM
@Potatoswatter I cringe way too often when reading about countries like that one.
 
@rubenvb I"m not saying I approve of the Death Penalty. I"m just saying you have to differentiate as to WHY it was given. I don't approve of the Death Penalty at all.
 
^this
 
I don't see much difference however you choose to think of it. Instead of protesting SOPA, everyone in the US should protest the death penalty. That would make a lot more sense.
 
@CatPlusPlus At least now we reliably hear about things. Stalin decimated Ukraine and nobody outside knew for years.
 
sbi
4:13 PM
@TonyTheLion ...was a correction suggestion for the message you posted right before it.
 
@rubenvb well, should protest both I guess
 
And perhaps a better education would help to get people to see that.
 
@rubenvb What? Change their avatar to include "STOP DEATH PENALTY"?
 
@RMartinhoFernandes lol
 
@sbi that was pointing out @RMartinhoFernandes weird message
 
sbi
4:14 PM
@TonyTheLion ...which was a correction suggestion for the message you posted right before it.
 
@rubenvb I restate my point that most people don't give a shit what happens as long as it doesn't effect them
 
@sbi what are you talking about????
 
@rubenvb Well, say someone decimated a village or something. Is capital punishment for that person still bad?
 
Eh… might as well protest the general inflation of US prison terms. I think reducing lesser sentences would also undermine the death penalty pretty well.
 
@thecoshman idd, and I am honest enough to say I am one of those people.
@CatPlusPlus yes. It always is
 
It's also a major socioeconomic problem, imprisoning so many people.
 
I find it more ridiculous that some very serious criminals can just walk free.
 
sbi
@TonyTheLion You wrote "I"m not saying...", the robot posted a '. Whaddaya think this means?
 
@thecoshman yea and that's the problem. People don't give a shit and then one day everything goes to hell, and everyone will wonder why.
 
There are far worse punishments than the death penalty, that still benefit the rest of the community
 
4:15 PM
@RMartinhoFernandes god dam it, I thought really hard about it and still got it wrong :(
 
What? Life sentence?
That's mostly just draining resources of the community.
 
@CatPlusPlus well, stoning is pretty nasty
 
@thecoshman That's still death penalty, silly.
 
sbi
@CatPlusPlus Impaling?
 
@thecoshman in the end you die too, so it's Death Penalty too
 
4:17 PM
@sbi That's still death penalty, too.
 
AFAIK stoning does not have to be to death, though it usually is
 
Life in prison is death penalty, too, if they don't get released at some point.
 
@sbi I'm dense today, I haven't a clue
 
@CatPlusPlus in which case it is not a life sentence
 
I don't get why they don't put prisoners to work
lots of useful things they can do
 
4:18 PM
@TonyTheLion You used quotes (") when you should have used apostrophes (').
 
@rubenvb yes, they can make themselves useful
 
sbi
@RMartinhoFernandes Ah, right. What a stupid mistake. Sheepish look.
 
@RMartinhoFernandes We make adulterers smoke an ounce of marijuana while standing inside a pail.
 
I'm not talking about enslaving criminals, but very much close to...
 
And if they don't want to work? Whip them?
 
4:18 PM
@RMartinhoFernandes you grammar nazi :P
 
@rubenvb the American economy actually does rely heavily on it's slave prison work force
 
@rubenvb Ah so death penalty is against human rights, but slavery is not.
 
My Human Rights Declaration says otherwise.
 
@thecoshman US prison system is commercialized. People make money off these prisoners.
 
4:19 PM
@TonyTheLion AKA slavery?
 
People make money off everything.
 
@CatPlusPlus not true, I don't make money chatting here
 
Some people make money off of shit.
 
the US health system is also too commercialized - too many people making too much money off sick people
 
a lot of prisoners have there sentences extended for petty things, so the warden can keep his slave camp well staffed
 
4:20 PM
@TonyTheLion Not only that, they get tax money for having provided employment.
 
I wonder if you can get rich selling shit?
 
US health system is plain ridiculous.
 
@thecoshman What slave camp? US prisons have forced labour?
 
@TonyTheLion fertilizer
 
I think the US health system owns the lawmakers
 
4:21 PM
@thecoshman yea, you curse and your sentence get's extended by three months
 
@RMartinhoFernandes from what I understand, close enough
 
@RMartinhoFernandes If the judge sentences you to it, yes.
 
@RMartinhoFernandes some states do, not all though AFAIK
 
@RMartinhoFernandes I said almost... Death penalty is irreversible, forced labor is not a final decision, it can be cancelled
not to speak of psychological problems
 
4:22 PM
Or you might get out faster by "volunteering," there are many ways to go about it.
 
@rubenvb So, your reserves are not about human rights, but human error.
 
@kfmfe04 the pharma industry owns the lawmakers
 
@RMartinhoFernandes no justice system is perfect. That's exactly why (well, one of the reasons) the death penalty is against human rights
 
@TonyTheLion aye - I agree
 
@rubenvb would you say that the justice system we have is a good one?
 
4:23 PM
Everyone with lots of money owns the lawmakers. That's the point of that system.
 
@rubenvb And so is forced labour! It just happens that one of them may have an ending.
 
that system sucks.
 
Every system sucks.
 
@CatPlusPlus the failing of the system FTFY
 
But don't be fooled into thinking that only death penalty isn't reversible.
 
4:24 PM
@CatPlusPlus so yours sucks too?
lol
 
No punishment is reversible.
 
People are too dumb and too corruptible.
 
You can't take away years from people's lives, and then tell them "I'm sorry, we were wrong. Please go on with your life".
 
@RMartinhoFernandes Fines?
 
Besides, after prison they don't get much of that life back anyway.
2
 
4:25 PM
@CatPlusPlus that's quite a generalization, and an easy way to justify what's happening, I'd say.
 
I do agree that part of the penal system should make use of, for want of a better phrase, forced labour; but (and this is a very big but) like all things, it needs to be carefully controlled
 
@RMartinhoFernandes What if I'm spanked by a beautiful lady, but I only find out who if I'm later found innocent?
 
@TonyTheLion I don't know what country you live in, so I can't comment on that.
 
@rubenvb Belgium
 
4:26 PM
@TonyTheLion I'd say it's more of a possible explanation than justification. Exploiting power is not really justifiable, but it always happens.
 
ah, well, I'm not that familiar with my own justice system, but I think it's one of the better ones.
not more corrupt than any others
 
@CatPlusPlus hmmmm
 
We just have lax politicians that don't mention things aren't being controlled as they should be
but that's mostly financial stuff
and our prison system sucks. Each prisoner has a friggin' PS3 and cable TV
 
@LucDanton I guess those have a lesser impact if small. But if they don't have enough of an impact, it's not as effective a punishment (not even for fear factor).
 
I was thrown in jail once. I totally deserved it, and I got two hot meals which weren't bad at all.
 
4:27 PM
As much as I like to think I could do better, if I had total control over everything, I'd most likely think of myself and people close to me first.
 
@rubenvb well, you can't take away there human right to a TV
@Potatoswatter oooh, what you do?
 
@Potatoswatter That about that spanking?
 
any ways, home time for me :D
 
@thecoshman they should make them fix the roads here. If you want to test car's suspension, drive around in Belgium.
 
4:29 PM
@thecoshman Car registration fraud. And, earlier in the day, sleeping in a public building.
The same cop caught me both times.
 
That's a crime?
 
He was like, "You again? I'm taking you in."
 
Bad potato.
 
@Potatoswatter lol. He's out for you
 
The latter wasn't a crime, but it made the former worse.
 
4:30 PM
@Potatoswatter So, who was the beautiful lady that spanked you?
Did you get to play Uncharted?
 
@RMartinhoFernandes I was describing a reversible punishment. Not only that, but one performed on the reverse.
 
hot potato
 
sbi
Dear non-programmer friends, If you wonder what I do at work all day, here is a helpful infographic: http://i.imgur.com/VhlQK.gif
2
Do not click on the link!
 
@RMartinhoFernandes I don't know what that is, but I got to chat up the other detainees, eat their untouched leftovers, and still got out in time to watch the Superbowl that evening.
Meaning that I didn't have to participate in party preparation and I had an awesome excuse.
 
Uncharted is a PS3 game.
Someone mentioned above that each US inmate has one.
 
4:33 PM
tax dollars at work
 
Gotta keep those life-sentenced criminals comfy.
 
@RMartinhoFernandes I think whomever said that referred to his own country
 
We wouldn't want them to feel bad.
 
I smell sarcasm
 
how about them Norwegian prisons?
http://www.time.com/time/magazine/article/0,9171,2000920,00.html
 
4:34 PM
Some inmates are far more fortunate than others… something to do with lawyers and money…
 
the interesting thing is, according to that article, Norwegian prisons actually work well
 
@kfmfe04 it's like a hotel
 
@CatPlusPlus That's actually true.
If the inmates are not somewhat happy, you get mutinies.
Look at Brazil.
 
@TonyTheLion - aye - I wouldn't mind living there - as long as I have a computer and a line to the Net...
 
@kfmfe04 I doubt inmates have internet access
 
4:37 PM
@TonyTheLion otoh - haven't no Net access would prolly improve my physical (not to mention mental) health!
 
Anyway, I'm going to bed. Gotta get up at mindnight and study more for that theory crap.
 
good night
 
I was thinking the other day, if legal and tax systems were like a computer program, they would dump some really massive core (so many inconsistencies, dead code, etc...)
needs some serious cleanup
 
I'm actually discussing C++ in the first hour I joined the Android room
 
4:48 PM
the Android room?
 
How many Android rooms are there?
 
in Android, 45 secs ago, by Graeme
@Reno how bout if i dereference them? + &variableOne + ?
lolling hard here
 
sbi
@EtiennedeMartel There's too many Android rooms, because, if there's N Android rooms, it's N too many of them. :)
 
@EtiennedeMartel Last I counted there were six.
 
4:52 PM
Those people just can't get along.
 
I'm in the one with the diamond. And I have a fan
in Android, 1 min ago, by Octavian Damiean
Why didn't you get in here a couple of months ago?
 
Actually, I think it's fitting for Android, a platform with ridiculous fragmentation, to have six rooms.
 
@rubenvb The diamond means it's a gallery room, i.e., there's segregation builtin. There's more than one with that.
 
@EtiennedeMartel Isn't that a fault with allowing the carriers and phone developers to add their own layers?
 
@Xaade Yes, and it's also exactly why there's so many Android phones around, and why Android's competitors have to sue it to compete.
 
4:56 PM
Ah, Android update. The vibration on the touch buttons is much shorter now.
 
@RMartinhoFernandes What's a gallery room?
 
@EtiennedeMartel A room where you need permission to talk.
 
Ooooh dear.
 
Strange... I certainly would have expected that with an iOS room.... not with Android
 
in Android, 5 mins ago, by rubenvb
@Merlin C++ is not a true superset of C. That's just plain wrong, although the difference is in the details, it's those important details that make the difference.
in Android, 1 min ago, by Merlin
@rubenvb now you're just nitpicking ... I still believe that understanding C is important ... but what do I know, I've only been a commercial C,C++ programmer
I'm speechless
 
4:58 PM
Fucking hell, that guy's a twat.
 
DeadMG just popped in the room
maybe he can help
 
@RMartinhoFernandes can't be viewed in Germany
 
sbi
@rubenvb Yeah, he sure will, diplomatic as he is...
 
Sigh, Germany.
@yas4891 It's a USB typewriter.
Doubles as a keyboard and as a real typewriter for paper.
 
5:00 PM
@RMartinhoFernandes envious? :)
 
@sbi that's why I'm thinking he could help
 
@rubenvb Oh boy, things are going to get nasty.
 
@rubenvb how did he get access so fast?
 
Luckily Octavian can just kick people out.
 
maybe we should have this system here too?
 
5:01 PM
Why?
 
@TonyTheLion I got quick access too
 
oh cool
@RMartinhoFernandes just for lulz
 
Yeah.. a little less democracy :)
who needs that anyway?
 
I left Android room, not interesting
 
Every time I visit other chatrooms, I see how the Lounge is different.
 
5:03 PM
supposedly, if you know Android, it's easy to find a job
cause it's a very expanding market, I've been told
 
@TonyTheLion It's easier if you know iOS.
 
@EtiennedeMartel yes, they suck, and we're awesome :P
 
sbi
@EtiennedeMartel Tell us!
 
All I need to know is that C and C++ are two different languages, that are best viewed as different enough to not worry about learning the either if you need the one, somehow they are related, but that is not relevant.
 
right
 
5:04 PM
Funny. There's some guy trying to build an SQL query by concatenating strings, and people are discussing what's the best way to concatenate the strings.
 
in Android, 27 secs ago, by Graeme
Should I just join the c++ room since I'm apparently pulling in the denizens by talking about this?
lol
 
Basically, we're what happens when a bunch of psychopaths get together without killing each other.
 
@RMartinhoFernandes strcat...
obvious ^^
 
Right, hello!
 
5:05 PM
no matter which language..
 
@EtiennedeMartel oh, is that a compliment?
 
And so it begins...
in Android, 35 secs ago, by DeadMG
just so you know, Java bashing is one of the favourite activities of the C++ room
 
Do you not have enough to talk about in here that you have to pipe in discussions in other room and troll on people behind their back? tut tut.
People don't know c++, get over it.
 
@RMartinhoFernandes Fucking hell, don't they know that SQLite supports parameterized queries?
 
Now, adding strings.
 
sbi
5:07 PM
Oh, a fellow ape! Welcome to my jungle!
 
lol
 
Hi @sbi :)
Or should I say "uh uh huh uh uh.. uh uh uh"
 
sbi
@Graeme You might want to start out by reading the newbie hints, linked from the starboard.
 
oh noes, the Apes are expanding... Lion starts to feel lonely :(
 
sbi
5:08 PM
@Graeme Wouldn't you have to say "Oook"?
 
I could kill an ape :P
 
@sbi I'm not a fancy ape.
 
@EtiennedeMartel PHP has mysql_real_escape_string.
 
@RMartinhoFernandes Yes, but in any language or framework, the best way is to use parameters.
Not concatenate stuff.
 
But it's the real one!
 
5:09 PM
^^
 
sbi
@Graeme I know, you're just an orang. I'm so sorry for you.
 
I did Web development. Every single time I see someone build a SQL query by concatenating stuff, I get the urge to kill a cute woodland critter.
 
sbi
@RMartinhoFernandes Is there also a mysql_unreal_escape_string?
 
Anyway, so the question is, given that I have a pointer to a structure which contains char*, I want to create a new char* pointing to a concatination consisting of x different char*'s. Is there a "right" way to do this in C++?
 
sbi
@Graeme Of course. (Use std::string.)
 
5:11 PM
@sbi Me too :( On the bright side, I have Tiger cubs which are pretty neat short range weapons.
If you haven't fed them for a while anyway.
 
@sbi No, it's just mysql_escape_string, except it's buggy, so they deprecated it and added the real one.
 
@sbi There was a mysql_escape_string, but it's deprecated. The new version, mysql_real_escape_string, actually requires a connection resource and takes the current character set into account when escaping.
 
@sbi Do you mean use "std::string" as in, create a new stack std::string object for each char* i reference?
 
std::string s; s.reserve(sum_of_all_sizes); s += blah; s += some_other_blah;
 
@Graeme The object is on the stack, but its data is on the heap.
 
sbi
5:12 PM
@Graeme Yeah, right. Tiger cubs. As weapons. Look again at my avatar. Do I look like someone who'd be impressed by the use of tiger cubs as weapons?
 
@sbi I'd attach guns to their fangs then they can shootbite you.
 
@sbi You like like someone who's never impressed by anything.
 
So, "yes, that's the correct way to do it" ?
 
What's the question again?
 
Javascript is the new mobile platform programming language!
 
sbi
5:14 PM
@Graeme No. I mean abandoning char* altogether, stop bothering about it, and only use it when your profiler tells you that, at a specific spot, they bring a measurable speed advantage. (I haven't run into such a spot in more than a decade, mind you.)
 
2 mins ago, by Graeme
@sbi Do you mean use "std::string" as in, create a new stack std::string object for each char* i reference?
 
in Android, 2 mins ago, by Octavian Damiean
Which is what I plan. Well actually not really HTML5 (not only) but JavaScript.
 
When you do C++, do C++. Do not do "C with a C++ compiler".
3
 
sbi
@EtiennedeMartel Not even this grammar lapse of yours? :)
 
@EtiennedeMartel This, please.
 
5:15 PM
@sbi redefining the problem aside, the library (do you call them libraries in c++ land?) has a struct which contains char* 's.
 
@sbi Yeah, my English gets weird sometimes.
 
sbi
@Graeme You call those "fangs"? That's what my finger nails look like when they're freshly clipped.
 
@Graeme No, we call them dogpiles.
 
@Graeme "library" is a language-agnostic term.
 
sbi
@Graeme So where does that char* point to? Who owns the memory it points to? Who cleans it up? What exactly do you want to do with it?
 
5:17 PM
the string i want to use, No idea x 3
Oh wait, I know the last one.
 
@sbi a singleton. global variable owns itself. program termination. Ruin the lives of other programmers.
 
sbi
@Graeme Then you're already dead. That's the trouble with C strings. You have to be absolutely sure about those first three questions. Otherwise, it will crash sooner or later.
 
I'm using cJSON in order to parse a char* into cJSON objects, which each contain char*'s. I want to create an SQL statement referenced by a char* containing values from a selection of these cJSON objects.
I'm pretty sure that's not an unreasonable or particularly advanced thing to do is it?
 
anyway the preferred way is to calculate result string length and then concatenate that strings
you can use vector<const char*> to collect all strings
 
You can't use a C++ JSON parser?
 
5:22 PM
I have no idea about where to go to find one. I found the cJSON stuff from json.org
 
109
Q: What's the best C++ JSON parser?

Sam BakerI've seen the C++ JSON links on www.json.org but would like some feedback on which parser people prefer - for reliability, speed and ease of use. Thanks, Sam

 
@Pubby That's the first helpful answer I've actually got from anyone :D
 
I'll assume you're aware of the dangers of building SQL queries by concatenating strings, and that you know how to release the memory used by the original char*s.
 
It's probably safer to assume I'm a Java developer and haven't had to deal with handling memory apart from in fringe situations.
 
5:25 PM
@Graeme ask google
 
Anyway, I'm off. Thanks @Pubby for being helpful.
 
sbi
@Graeme Then you should back out of this situation immediately. You will make a leaking mess. (Even if you sneer at us in two days and enjoying the fact that you did it despite our dark predictions, you will have made a mess. You just might not know it yet.)
 
Regardless of how eager you are to deal with memory, std::string just sidesteps the issue entirely. Hence sbi's initial advice.
 
0
Q: How to put shared_array<char> buffer having its uintmax_t size into iostreams::filtering_streambuf< iostreams::input> in?

myWallJSONHow to put boost::shared_array<char> buffer having its boost::uintmax_t size into boost::iostreams::filtering_streambuf< boost::iostreams::input> in?

make any sense to anyone?
 
5:39 PM
Sounded like he wanted to send a shared_array to a stream
 
5:51 PM
why is installing the JDK so hard for me? First I downloaded and attempted to install x64 (I don't have 64 bit OS), now it's telling me to install the JDK before I can install FX. I must be dumb.
 
meh, it's Java...
 
at one point even though i had an x64 machine i still had to use the x32 JDK
weird
i went round and round for about 2 days before discovering that in a tutorial
 
sbi
JIT is weird:
18
A: Try-catch speeding up my code?

Jon SkeetWell, the way you're timing things looks pretty nasty to me. It would be much more sensible to just time the whole loop: var stopwatch = Stopwatch.StartNew(); for (int i = 1; i < 100000000; i++) { Fibo(100); } stopwatch.Stop(); Console.WriteLine("Elapsed time: {0}", stopwatch.Elapsed); ...

 
@sbi Hey, was about to post that!
 
sbi
@RMartinhoFernandes :b
 
5:54 PM
I wonder what all the "exceptions are slow" people (yes, there are those in C# as well) will say now.
And Jon already has 16 votes just by posting his incomplete research...
 
looks like 24 votes to me
 
sbi
@RMartinhoFernandes I see an "18" there, 4 postings above yours. And counting.
 
26! (1 is a downvote)
 
I also hope people won't start wrapping their code in try-catch for no reason, because they saw this...
 
sbi
@MooingDuck 27. :)
 
5:57 PM
@sbi Well, the page I had loaded was older...
 
sbi
Anyway, he tweeted this one, so that's probably where the votes come from.
 
think it could be because the compiler knows that there will be no exceptions due to the catch, so it can optimize a bit?
@sbi isn't that cheating? :D
 
sbi
@RMartinhoFernandes Yeah, but it said so 4 postings above yours!
 
anyone know why Skype, League of Legends, and a few other programs launch firefox when I click links, when Firefox is not my default browser?
 

« first day (460 days earlier)      last day (4490 days later) »