« first day (1011 days earlier)      last day (3937 days later) » 

4:03 AM
 
where is my message?
disappear?
 
Yes. It's actually in the bin.
 
oh, how @chris can see my question
 
We have a rule against coming in here just for help.
 
ok.
what are we here for?
just joking
or talking something else
 
4:08 AM
Jul 10 at 15:10, by Lightness Races in Orbit
Greetings, Lounger! New here? We have some newbie hints and an acronym list for you. Old here? Yeah, we really have nothing for you whatsoever. Sorry.
 
Joking, fun, light hearted discussion. Read the newbie hints.
 
0
Q: Provide a way to easily link to the chat sandbox in chat

Mark GarciaFeature request: a fun and easy way to link to the Sandbox room. Currently (4:01 AM Tuesday, July 23, 2013 UTC), the chat formatting FAQ mentions the Sandbox room at the bottom (Ctrl+Fsandbox). I wish I could just do something like [sandbox] or [chat-sandbox] just like typing [so] or [meta]. Mi...

 
is this also a C room?
 
@MarkGarcia [chat.sandbox] might work
or even [chat:sandbox]
but feature request + chat == ignored
 
4:11 AM
nope
 
@Borgleader but there's no other room close to C
 
I meant as proposed syntax.
 
@compski Well, there isn't a C room. You can make one yourself if you want. Others have tried and they died after a while.
 
guys, joke time
 
4:12 AM
@Rapptz hmm maybe because C is pretty close to C++ in a way?
 
give me some jokes
coding is boring
 
@compski Well C stuff isn't allowed here so I doubt it.
 
c is part of C++
c allowed here
 
What's allowed here is decided by the room's owners
 
@Zack Nope.
 
4:14 AM
I VTCed He needs a C++ book.
 
@Zack If you want to be hammered with std::unique_ptr suggestions when you do malloc() and similar stuff.
 
@JerryCoffin Happy Birthday :)
 
> A copy of alloc is stored as part of the control block so that it can be used to deallocate it once both shared and weak reference counts reach zero.
Weak reference counts keep the memory alive?
 
[Post/pre] (H|h)appy birthday @JerryCoffin! :)
 
4:16 AM
@JerryCoffin, Happy birthday? O_o
 
@JerryCoffin Happy Birthday.
 
How do you know it's his birthday?
 
@StackedCrooked He implicitly told us.
 
He said it was July 22nd, but it's July 23rd here :P
 
Alright.
Happy belated birthday @JerryCoffin :)
 
4:17 AM
@StackedCrooked And his age has incremented.
 
@ThePhD, What do you give to CMake for VS2013?
 
@chris Download latest CMake, generator is Visual Studio 12 and Visual Studio 12 Win64
I'm already building x64 now, since x86 finished.
 
@ThePhD Thanks, and it's important to learn how to do this for later.
 
just wondering C++ also has the "while(*s){s++}" right?
 
@compski Of course.
 
4:21 AM
@MarkGarcia good good i was hoping someone could explain to me what it does
 
@compski Mainly for null-terminated strings or sequences.
 
@compski Question #1 what does *s do?
 
Increments the pointer to a string while it's valid (basically until it reaches '\0')
 
you guys suck i was gonna walk him through it :P
 
that is what i don't get "reaches a 0"
does that mean end of the pointer?
 
4:22 AM
it means a zero in the stream of bytes.
 
like A=[1,2,3] but it points further than 3/?
 
@compski Because C is inferior with strings and doesn't store length.
 
@chris interesting
@StackedCrooked bytes address?
 
@ThePhD, It can't find /build/utils/llvm-build/llvm-build when executing Python lol.
 
@compski C-strings store the null character '\0' to mark its end.
 
4:24 AM
@MarkGarcia OHH right right
@MarkGarcia thx now i get why
 
@chris s/with strings and doesn't store length//
 
Ahahaha! I win!
 
Oh, wow, apparently I can't even follow instructions properly because I leave out a command line argument.
@Borgleader That reminds me, I finally came back to my little sed thing today.
 
sed?
 
Now it does `str =~ (s/"regex"/"replacement") and supports /g and /i on the end, as well as /d in place of the replacement.
 
How do people get your SO email?
Is it from careers?
 
> codes
 
It's my personal email. I once subscribed when I was looking for a job 3 years ago.
 
Ah.
 
from main import main

ImportError: No module named 'main'
This isn't going 100% well lol.
 
4:33 AM
@chris looks alot like python
 
@compski It is.
 
0
Q: Finding area of a liver tumour using opencv

user2510942If can please tell me what are best algorithms to find out the area of a liver tumour using opencv/ opencv sharp.

 
Lounge it!
 
There is no difference by means of open a file with mode "rb" and "r" in linux
but differ in windows
 
lol
tumor.getArea()aaronman 42 secs ago
 
4:37 AM
@MarkGarcia That's not lounging, that's being a respectable SO user. This question sucks
 
is it right? @MarkGarcia
 
@Borgleader Lounging is our responsibility as an Stack Overflow user. :)
 
4:42 AM
Factories and stuff!!!
 
@DarkHorse kinda looks wrong
 
@DarkHorse is that a UML diagram
 
should the dotted arrow from concrete to abstract no be in the opposite direction?
 
where? @StackedCrooked
 
in the diagram
 
4:45 AM
it's not owned by me, just past the link on some page
 
argh ... design pattern ... argh ...
 
whether it's important to make design pattern in c++?
 
Oh, yay, I had to fix the Python thing by changing the path in the cache to 2.7.
 
@StackedCrooked I think you are right
the arrow should be opposited, from abstract to concrete
 
So one of the projects in Clang is called KillTheDoctor?
Or should I say in LLVM
Well, this sure is a good way to heat up my lap.
 
4:57 AM
lol
 
About 80/268 done now.
For the x64 debug I hope.
If it isn't, I did something wrong.
Some random person from all the languages I don't know invited me to a room.
 
It's a friend request
 
Almost halfway done building.
So many overflow in constant arithmetic warnings.
 
Why are you building clang again?
 
Because I've been meaning to get it on Windows and I need to learn how to build things like this properly.
 
5:07 AM
0
Q: How to create back-edge in purely functional manner?

EonilI am practicing purely functional style in C++. One big question is how can I construct tree data structure efficiently. Especially the back-edges. The connection to super-node. In C++, people simply use pointer (or smart pointer) for the back-edges, but AFAIK, purely functional (or referential ...

Damn that's actually interesting but I'm not sure it's fit for SO =/
 
Did you get this email as well?
 
I heard about that. Apparently their website has been down since thursday
 
@StackedCrooked Quick! Change Coliru's password!
 
@StackedCrooked from japan? Are you a fans of ONE PIECE?
 
5:17 AM
I'm not a collective.
 
I am... :P
 
:P
I like One Piece yes.
I've seen all episodes.
 
so cool
 
Currently Hunter x Hunter is really good though.
 
Thanks for all the kind birthday wishes. And yes, it was my birthday (and here, is for another hour and a half or so).
3
 
5:20 AM
@StackedCrooked I should catch up to that... I love that series. I just wish the books would come out faster T_T
 
@JerryCoffin Yay! :)
 
@JerryCoffin Happy B-day!!!
I didn't even know, lol.
 
@JerryCoffin Happy birthday!
though ... every time someone mentions birthday, a piece of pretty, delicious butter cream cake would start appearing in my head :'(
 
@Mysticial Thanks. Yeah, I said something a couple days ago that made the date pretty apparent, but indirectly enough if you weren't following along right then, there was pretty much no way to know.
 
Ah... yeah ever since I started at YT, I don't always have my eyes on this room.
 
5:29 AM
Yeah -- this is the first I've been all day too. Had to meet with an attorney with Texas today, so I left yesterday afternoon and just got back. Great birthday -- meet with an attorney all day, then spend three hours on a plane. :-)
 
I take it you didn't have much time to visit Texas
 
Texas in July? you brave man! :p
 
Texas is rather big too.
 
@Borgleader No -- in late last night (got to the hotel about 11:00 PM) so I just ate a little, and went to bed. Immediately after the meetings were done, off to the airport.
 
What's good about Texas? Barbecues?
 
5:31 AM
@Telkitty猫咪咪 Well, at least it was Austin, not Houston.
 
Dunno much about it actually.
Stroustrup is somewhere there as well IIRC.
College Station. Hm..
 
Hmm... I just watched a youtube video of Bleach... Makes me want to buy the books and find out the ending
 
Never really got into Bleach.
 
The story is ok but the fight scenes are awesome
 
Monsters announcing their attacks before performing them always seemed silly to me.
 
5:34 AM
houston space centre $
 
@StackedCrooked I remember a couple of months in San Antonio about...29 years ago. That was followed by a couple months (or so) in Wichita Falls. Pretty much every second of it was...unpleasant, to put it nicely.
 
Character design is also pretty good
@StackedCrooked You must not like naruto
 
@StackedCrooked Texas A&M, IIRC.
 
I can't visit youtube because of some national policy
limited
 
@Borgleader Never seen it actually.
 
5:34 AM
Hahahaha xD Best thing I read all day about the royal baby
 
lol you even read about royal baby :p
 
Reproduction does not require a penis.
 
I routinely ignore anything to do with royals and pope or other religious heads
 
I don't make a policy of ignoring them. I'm just not interested enough.
 
I'm not interested but I found this quite funny
@StackedCrooked Let's just say they have the same habit of calling the names of their attacks. Well I haven't kept stats so I can't say they do it all the time but definitely often enough.
 
5:37 AM
I did watch the king Albert's leaving announcement though.
That was the dutch version. He also did it in french.
Not that anyone here would care :)
 
punting on the share martket and speculating on the property market are way more interesting than royals or religious heads ... I don't even care about money all that much
they are like multiplayer game with money as real scores
you play the game with/again millions and millions of other real players
My dad spend a lot of times on the share market, I told him he is something between a gambler and one addicted to online strategy games ... he wasn't happy hearing that >_<
 
0
Q: Does fscanf moves the passed file pointer ahead?

Amit TomarI saw this code somewhere: #include<stdio.h> int main() { FILE * fp; char s[1024]; fp = fopen("file","r"); while( fscanf(fp, "%s", s ) != EOF ) { puts(s); } return 0; } I expected that this will keep on printing the first word of the file in an infinite loo...

Why do people insist on tagging this C++
 
b-b-but it compiles in C++!
 
5:57 AM
@Borgleader std::scanf, std::fscanf and std::sscanf are part of the standard library.
 
Um... does this add anything to the question?
0
A: Is the practice of returning a C++ reference variable, evil?

AnatolyAbout horrible code: int& getTheValue() { return *new int; } So, indeed, memory pointer lost after return. But if you use shared_ptr like that: int& getTheValue() { std::shared_ptr p(new int); return *p->get(); } Memory not lost after return and will be freed after...

 
@StackedCrooked Except in C++, that would look something like std::cout << std::ifstream("file").rdbuf();
 
Morning!
 
>_< the sun is hot and bright now
 
@Mysticial I don't see where it adds anything (in fact, part of it is just plain wrong).
 
6:07 AM
@StackedCrooked They're not idiomatic of C++ so I'm somewhat still covered ;)
 
hello @Jerrv Coffin, you let me think of the coffee
 
WTH is this?
47
Q: SkeetStalker - Get to unanswered questions before Jon Skeet?

Catchwa Screenshots Main Page Supports all StackExchange sites via StackAuth Search for users on any site to stalk About I created this for fun and for a chance to play around with GWT & Google's App Engine. It's a tongue-in-cheek application to give people, who are sick of Jon Skeet and his...

6
 
@Mysticial roflwat
 
@Borgleader TBH If I were in his shoes I'd also have used the C++ tag. That way I would reach a wider audience and thus have better chance at getting an answer.
 
@DarkHorse Ummm....what?
 
6:11 AM
Coffin sounds like Coffee
 
Hello Jerry Coffie
 
umm ... another site promoting stalking
 
@StackedCrooked But that's the problem. "Oh these C functions are in the C++ library they can answer too". Well not really because we never fucking use them ever.
 
WTH is this?
4 hours ago, by DarkHorse
乾隆下江南,乌龟挡道。乾隆问:“王八们有何事上奏?”乌龟道:“我等有王八蛋进贡,欲求乌纱帽!”乾隆大笑:“好,哪日灯头朝下时,就让你等全部当 官。”乌龟们扣谢。乾隆笑道:“这帮蠢王八,油灯烛头什么时候可以朝下?”转眼300年后,电灯取代了蜡烛,于是君无戏言,这些王八果真全部当了官
 
damn internet is invented for stalkers ...
 
6:13 AM
Telkittv can see it
 
@Telkitty猫咪咪 Isnt that what @Mysticial just linked like a minute ago?
 
yeah ... but linked to the actual site instead of the question
 
@DarkHorse When pronounced correctly, the "C" is soft and the vowels both "long", so it's "So Fine!"
 
@JerryCoffin Are you telling me I've been pronouncing it wrong in my head all this time? -.-;
 
I can't pronounce it rightly @Jerrv Coffin
 
6:16 AM
@Borgleader Remember: I never let reality get in the way of a joke. :-)
 
Oh, right xD
 
user142019
@Mysticial No, and it's wrong. There is UB if you dereference the returned pointer in both cases.
 
@wilx The emperor went down south to inspect the area, a bunch of turtles (in chinese turtle also means 'dickhead') got in the way. The emperor asked "what does turtles want". Turtle replied "we have eggs of turtles for the emperor in exchange of a role in the government ("eggs of turtles" is bit like "son of bitches"). The emperor laughed "sure ... when the light for the night head downwards". The turtles thanked the emperor and went away.
The emperor said "idiots, since when the oil lamp can be turned head down?" 300 years later, electric lamp substituded the oil lamp, emperor does not loe, so those dickheads all become government officials.
------------------ That's the translation
 
lol
 
@ScottW <3<3<3<3<3<3<3<3<3<3
I hit 5k today :)
and I got "flamed" for answering a dupe xD
 
6:32 AM
doggy ^_^
 
@Borgleader congrats
 
tyty
 
about the flaming
7 hours ago, by Borgleader
Achievement unlocked: 5k rep
^ I was there
ION: no one only one person even read my Spirit Epos. Wokay. 1 is not zero anymore :/
 
Welp bed time, got more whoring to do tomorrow.
 
@Telkitty猫咪咪 hey hii whats going on ??
 
6:46 AM
Is it "Here's my problem, guess my code" day already?
 
@Magtheridon96 It's usually the exact reverse
 
@ScottW <3 <3
 
Sooo. It has come to this. Tiina, hope Rehan, Nipun, Telkitty. We're getting swamped
 
@ScottW ohai. What you been up to lately?
 
34
A: Is begin() == end() for any empty() vector?

RapptzYes, that's what the standard requires it to be for empty() for any container. § 23.2.1 Table 96 of the C++11 standard says: +----------+---------------+----------------------+ |Expression| Return Type | Operational Semantics| |----------|---------------|----------------------| |a.empty()...

^^ Highest voted answer on SO in the past 24 hours.
 
6:50 AM
@Mysticial nice
 
Let's lounge it up to 40 to get Rapptz a badge.
 
By that. Needs no explanation
 
@ScottW oh. You been having fun at least?
 
@NipunGogia lol what do you mean by that's going on? samo samo .. going home soon, didn't bring charger to the new office
 
@ScottW ergmagherd. :)
 
6:56 AM
rehan = Cicada?
yeah he has always been a guy though :p
 
For a long time we believed he was a she
 
still the same person, no?
 
"If your project lead is judgmental" is where the irony peaked — sehe 25 secs ago
@ScottW Huh. I wasn't. And Cicada wasn't even listed. :)
 
what?
 

« first day (1011 days earlier)      last day (3937 days later) »