« first day (1027 days earlier)      last day (3927 days later) » 

12:00 AM
Anyway, I should bring into attention that the guy in there looks like Kuwabara from YuYu Hakusho.
Couldn't stop thinking that when I saw it
 
Xeo
Welp, sleepy time. G'night
 
night
 
How is int to float potentially lose data?
 
@Pawnguy7 int usually has 32-bit of precision.
float only has 23.
 
Oh.
 
12:08 AM
assuming IEEE FP.
 
@Mysticial It's okay. The pedants won't bite you.
 
@Rapptz lol
I think they actually try to bite me in every opportunity possible.
 
Ell
12:21 AM
Hi guys
I was sick :(
Turns out I can't handle my liqueur.
 
liquor?
 
Ell
thats the ticket
 
Stop buying cheap vodka.
 
Good vodka doesnt help when you have a cheap liver ;)
 
Ell
I didn't even drink that much vodka o.O
I drank a lot of cider
Magners is good though.
My head is still spinning
 
12:35 AM
Haha, I got my meta question ban lifted $
 
-1
Q: The book of The Secret Life Of Bees Summer school homework help!?

user230767I really need help with these question for school by tonight if you can answer any that would be very helpful,thanks! The questions are: Describe your feelings about T. Ray at the begging,middle and the end of the novel. What information changes how you feel about him? Why is Zach such an impor...

^^ AHAHAHAHA
 
Hi guys! I'm not really a C++ guy, what is more, I am 100% a python addict -- but I'm stucked in project for 2 days now. I'm creating a zoomable, draggable vector based GUI application. Atm all the parts are programmed in a procedural way, and of course working, but what I really want is, a universal beautifully written layout manager, which is declarative. So I created a linear constraint solver based solution -- but I guess this is where the speed limit of python is.. so, I started to looking
forward to existing C++ projects and I found this:
 
@PeterVaro Hi! I'm a duck!
 
It is a pretty good one, and as a matter of fact Apple is using it in Xcode!
 
12:42 AM
@Mysticial Hahaha Shog9 is awesome
 
But I can't make it to work -- and that's why I'm writing to you guys
sorry for being sooo long..
@DeadMG yeah, I know where to put my questions, but this is more of a technical question, for my specific problem
 
@PeterVaro writing to us guys is a poor idea
 
rather than a real C++ question, where everybody could learn from it
 
@PeterVaro that sounds familiar....
 
@MooingDuck why is that?
 
12:44 AM
http://stackoverflow.com/help/on-topic Stack Overflow is for professional and enthusiast programmers, people who write code because they love it. We feel the best Stack Overflow questions have a bit of source code in them, but if your question generally covers…
a specific programming problem
… then you’re in the right place to ask your question!
 
@PeterVaro Gee, if only there was this big Q&A website that existed on this very domain that was specifically set up to handle technical issues arising from people's problems.
 
but I don't have any source code at -- I mean I can't even write a main function in C++...:/
for printing out hello world or so..
I just needs to compile/make/configure whatever... an existing project on a Mac..
is this^ a real question?
is this worth to be a question on SO?
 
ask it and find out.
 
I don't think so...
 
and doubly
if it's a bad question, what makes you think I'll want to answer it any more in here?
 
12:47 AM
cause chat is absolutely about this kind of things.. i guess..
but of course, I will never know what kind of questions do you want to answer @DeadMG
 
@PeterVaro No.
the Q&A part of the website is about answering questions.
the chat is for chatting.
 
OK then, well, thanks for letting me know all these informations
have a beautiful evening -- or whatever you have there at you places
 
We're always happy to help.
 
see you guys
~
 
@CatPlusPlus Right.
 
12:59 AM
nvm
 
this video is unavailable in your location
 
@Telkitty猫咪咪 Use media hint
 
@Borgleader ?
 
1:20 AM
@StackedCrooked Is this the same episode where rants of about MTV cock-blocking him from having Daft Punk on his show?
 
Not sure if same episode, but saw that too.
 
@Telkitty猫咪咪 works for netflix, hulu and a few others things
 
@Borgleader As far as I see, all it does is setting "Automatic proxy configuration url" to mediahint.com/default.pac
I think Proxy Switchy would be better than a whole new extension for one proxy.
 
I don't really know what it does, in fact I don't really care. It works and I'm happier for it :)
 
Actually, that's a good point. I should see if my TV has proxy settings.
 
1:30 AM
Daisy sleepin on mah bed
 
I like how i made 130 rep today by quoting the standard xD
 
"Want to sleep? Oh no, you don't!" fucking stomach
 
My stomach was hurting so I couldn't eat dinner :(
 
1:45 AM
owch
that shit sucks, man
@StackedCrooked And totally unavailable.
 
Oo :x
I am sure she could perform other tasks to which you would be more interested >_<
 
2:01 AM
You mean like cleaning my apartment?
 
So... the guys in the Anime room decided to have some fun with me while I was AFK...
^^ ahahaha
 
@StackedCrooked Not sure if trolling or oblivious
 
@StackedCrooked cleaning lady ... laundry lady too ... NSFW
 
2:45 AM
@Borgleader GSQ man
 
Ugh..
w => tab searches wiktionary instead of wikipedia for some reason
fucking chrome, I don't even use wiktionary
 
Right click on your omnibox and go to manage search engines
 
@chris I deleted wiktionary but it still shows up.
 
@Rapptz That's odd, though some do add themself, but I've only seen it for the full name, not one letter. The ones you can add yourself can be pretty useful, considering you can put some JS in.
I have a nice one for SO.
 
I clicked on a wiktionary result on google maybe once
and this shit's ruining my omnibar
 
2:52 AM
I do wish you could stop sites from adding their own.
 
I like it.. but.. this time not so much.
 
I hope Opera 15 gets back all the good Opera perks. Then I'll probably switch.
12 is a bit messed up for me.
 
3:14 AM
 
3:26 AM
@Borgleader Now introducing, Threads: Plus one
 
I might attempt sleep, round two
wish me luck
 
Break a leg
 
@DeadMG 'night
 
4:10 AM
TIL about C++11's minimal garbage collection support.
 
Say what?
 
9
Q: Garbage Collection in C++11

Adam ReedI have been looking through and playing with different features of C++11, specifically in Visual Studio 2010. One of the things mentioned is minimal garbage collection: According to this blog post, VC10 supports this feature. My tests show that the destructor is not called on objects that a...

And the links in the question.
It's just an ABI and is optional.
 
4:33 AM
If an answer is considered old, and no longer applicable to the software; What should be done with it?
 
@Nican Probably an edit to add current information.
 
I do not want to fu--ing learn Node.JS again. ;-;
 
@Nican I can't imagine why not. Everybody talks about how wonderful it is! :-)
 
@JerryCoffin Yeah, and the 1000 libraries written by 15 year olds.
 
@Nican I think you're being too harsh. Yes, the people writing them might not be the smartest, but even 15 year-olds probably know better. They're probably by pre-teens.
 
4:45 AM
@MarkGarcia seems more like the ability to have a GC than a GC
 
@A.H. Yes. It's still a good thing, widening C++'s (possible) capabilities. And it's in the standard.
 
No one supports it, outside of VC++. Depending on how you look at it, this might seem ironic.
 
hehe it does a bit
but its optional right?
 
Yeah so it's pretty useless imo
Not that I cared for it anyway
 
It just offers the capability in a standardized fashion.
 
4:56 AM
optional standardised option.
 
well I wouldn't want a GC forced one me, and with smart pointers don't really need it
 
Or without using pointers at all.
 
well thats not always an option
 
5:09 AM
@A.H. There honestly are a few cases that things like reference counting can't handle well. In a few of those cases GC can honestly make life a lot simpler. At least in my experience those cases are pretty rare though. In fact, though I'm aware of them, I'm not sure I've really run into one when writing real code.
 
5:50 AM
struct {blah;} name; struct name *obj;
What a way to mislead yourself.
 
I hate struct {} some, list, of, stuff;
i always find it confusing
 
const struct {...} foo; // :p
Look, a constant structure.
 
@chris s/structure/source of confusion/
 
I find it odd how the qualifiers can go before the body.
 
@chris Like I said, a source of confusion. Most people will read the const as applying to the structure definition itself rather than to the object you define of that type.
Anybody here who wasn't VTC'd on this yet?
 
6:00 AM
The sad thing is that I kind of like the ring of int typedef i; etc.
But I'll never, ever use it, save a joke.
And using is better anyway.
 
user1804599
struct MyStruct { … };
MyStruct const foo;
 
@not-rightfold the proper way
 
user1804599
Did Apple cancel your extra MobileMe storage? Fwd the downgrade email to HelpMeSkyDrive@outlook.com for an extra 15GB of SkyDrive for 1 year
 
user1804599
lol
 
The typedef one is good for trivia.
 
6:06 AM
@JerryCoffin I think apart from question 3 that question can be answered
but thats just me
 
@A.H. A useful answer to part 1 alone (i.e., not just "yes", but trying to elucidate about other possibilities) already fits the definition of "too broad" -- it's not only enough to fill a book, but has already been the subject of several (e.g., books on Sun RPC, CORBA, RESTful services, SOAP, etc.)
 
user1804599
6:24 AM
REST + JSON
 
user1804599
KISS
 
Hey
 
His basic question is: how to go about when writing a self-updater for your program?
And one would expect that there is a common tool that everyone is using.
 
@StackedCrooked Yes -- and at least to me that seems pretty broad, to put it mildly.
 
user1804599
@Daaksin Hi
 
user1804599
6:28 AM
@StackedCrooked On OS X everybody uses Sparkle. Perhaps something similar exists for Windows?
 
Do you guys possibly know much about.. UDP broadcasts?
 
i recall someone coming here last night asking about this
 
@not-rightfold No that I know.
 
@StackedCrooked If he were asking on ServerFault or WebMasters, there are probably some existing tools it would be reasonable to point him at. He's tagged it with C++ though, which seems to indicate that he doesn't want to use those existing tools, but write a new one pretty much from the ground up instead.
 
I once wrote a self-updater for a IE Toolbar plugin app.
It was implemented as a Windows Service which ran in the background and downloaded an updated dll if available.
I had to concoct this myself, there didn't seem to be any common tools for this.
Or common libraries.
 
6:35 AM
ergh.... configuring new server is tedious... so many steps to work through
 
@thecoshman Thus the attraction (for many) of things like Google AppEngine and Amazon EC2.
 
@JerryCoffin indeed, but you loose more than just the manual configuration steps with those services. (disclaimer, never actually used those services, I am just prejudice against them)
 
@thecoshman I'm not particularly recommending them either -- just pointing out that if setting up a server were easy enough, they'd probably lose quite a bit of their attraction, even for those who currently like them. I don't think ease of setup is their only advantage, but seems likely a major one.
 
@JerryCoffin yeah I here you
derp... just spent too long looking at list of alias thinking "I am sure I have an alias for something like 'deadicated-ssh'..." I do... but as I use that server mostly for ftb, I called it 'ftb-ssh'
 
I just read a slide saying that exceptions have no runtime cost as long as there is no throw. Wouldn't it be more accurate to say that there's no cost as long as there's no catch? (If there's no catch the compiler doesn't need to generate object code for the stack-unwinding between throw and catch.)
 
6:47 AM
Wow @Rapptz amazing job (WRT game identification)
 
o.O wut? Oh the japanese translation thing?
 
I've been playing Heart of the Swarm on Hard and I'm finding it hard.
I need to retry most missions a few times before I succeed.
I guess the difficulty setting is well thought out.
 
@StackedCrooked Probably -- I think most take for granted that in any reasonable code, you'll plan to catch anything you throw.
 
@StackedCrooked hots was a huge disappointment IMHO
 
I'm currently almost halfway I think.
 
6:53 AM
Omg I didn't know I could do that.
 
The gameplay is good I think. The campaign story is silly.
 
The router always bums out until it's restarted, but I just found out I can automate it.
 
@chris You couldn't. You're imagining it. Oh what was it?
 
@StackedCrooked yeah, that sounds reasonable to me. But keep in mind that there is no one true canonical way to implement exceptions, and the performance characteristics can vary a lot
 
@StackedCrooked wouldn't uncaught exceptions still need to be 'handled'
 
6:56 AM
Can I somehow force copy from unique_ptr if the object is copyable?
 
@StackedCrooked You trying brutal then?
 
@BartekBanachewicz you can just get a reference to the object, copy it, and wrap the copy in a new unique_ptr. Is that what you mean?
 
@FlorisVelleman brutal is too scary for me :)
 
@jalf yes. Kthx
 
speaking of which I have not played a game for ages, watched 2 new movies + 2 half tv series in the past 2-3 months. Read nothing more than online newspapers.
 
6:59 AM
Yay, I Made A Contribution(tm)
 
spending heaps of time hanging around with all sorts of people online and in real life, lol
 
@BartekBanachewicz that's not really 'copying' the unique_ptr object though
 
Xeo
@thecoshman Why not?
 
@Xeo it is a new unique_ptr that just happens to point to the same object.
 
Xeo
auto copy = make_unique<T>(*original);
@thecoshman Err, no it does not
 
7:01 AM
@thecoshman um what?
 
Xeo
That would violate all the things and ideas of unique_ptr
 
There is a subtle difference between copying a (maths) vector and making a separate unique_ptr with the same value.
 
@jalf wouldn't that lead to two deletetions?
 
Xeo
> copy it
 
7:02 AM
you are saying 'copy' and not 'move' right?
oh crap! bus1
 
You got hit by a bus?
3
 
Xeo
Guess it does happen, huh?
@thecoshman erm wha?
lolz, Scott Meyers is asking interesting questions in std-discussion
 
Also I was reading lyah yesterday. I got to the part when he said that (->) r is a legit partially applied function
 
@A.H. well, yes, but of two different objects ;)
 
Xeo
It gets a bit confusing at times when types and values use the same syntax, I find.
 
7:11 AM
My brain melted
I just put my ipad away and was like NO
 
Xeo
lol
 
I aint understanding that shit today
 
@BartekBanachewicz "NO! Bad ipad! Shoo!"
 
Xeo
But really, it's not that complicated. -> is like an infix operator, and you can partially apply those with (.) f too. The same applies to all type constructors.
 
Xeo
Like (,) a fixes one type of a pair
 
Am I the only one who has precisely zero clue what @Xeo is talking about? :p
 
@Borgleader Change the unordered_map to a TR1 unordered_map. Hard to guess about the rest, since you don't show how you're using the variadic template (but it'll probably be harder to deal with).
 
describing C++ in Haskell terminology or something?
 
Xeo
7:19 AM
What no
Talking about Haskell
 
oh right
 
Xeo
You should learn it :P
 
makes more sense then :)
 
@jalf Describing Haskell code in Haskell terminology.
 
@JerryCoffin that's fair ;)
@Xeo I should. But I should learn a lot of languages. And Haskell is too mainstream now ;)
 
Xeo
7:20 AM
@JerryCoffin std::map and std::unordered_map have different numbers of template parameters.
 
I'm team SML when it comes to functional languages, solely on the basis that "I learned it first!" ;)
 
@JerryCoffin Oh unordered_map is C++11 only? That solves the issue.
 
Xeo
@Borgleader Not really, Boost/TR1
 
Ok, it's standard only in C++11
 
@jalf you sound rightfold-ish
 
7:22 AM
@Borgleader As I implied, there is/was a TR1 version, but no, not in the standard before that.
 
@BartekBanachewicz I'm assuming that's a bad thing? :p
 
@JerryCoffin I'm answering a question and it's not tagged c++11 so I wanted to provide a C++03 compatible version, but since OP is using unordered_map that means C++11 is perfectly fine
 
user1804599
@Xeo omg haskell <3
 
@Borgleader Ah, ok.
 
Xeo
@Borgleader Or not. MSVC has had <unordered_map> for a while now, but not variadic templates :P
 
7:24 AM
seriously though, yes, I should learn Haskell
5
 
@jalf not really. But that has that strange notion of using less-known tools because they are less known, not because they are good (imho)
@jalf hey, you should start solving h99 too :)
 
@BartekBanachewicz I can relate to that. I'm all about the underdog! Why do you think I used Bzr for a couple of years before giving up and migrating to Git?
 
user1804599
 
Well, come to think of it, that was mainly because I liked it better, not because it was lesser known. But it should have caught on imo
 
Xeo
@jalf Is that also why you're using Kerberos?
 
7:27 AM
@Xeo no, that is because I have deep seated psychological issues and secretly hate myself
 
Xeo
heh
 
also, because kerberos support is pretty much a key feature, and I ended up being responsible for the whole login/authentication part of our product somehow
ooooooh, interesting master thesis at my old uni: "Exploiting functional invariants to optimise parallelism: a dataflow approach", aka "let's look at how to compile a functional language to efficient GPU code".
 
Considering functional purity, it should translate exceptionally well.
 
yep
need to be a bit creative with higher order functions (or just inline the fuck out of the code), but yeah, I agree
I actually considered doing something similar for my thesis, although back then I was thinking a functional shading language, rather than GPGPU stuff
(because GPGPU wasn't really a big thing yet back then)
 
Hm, that might be neat too. But i dont really think we need more shader languages
 
7:35 AM
Wait, does T arr[SIZE]{}; value-initialize each element or zero-initialize it?
 
@BartekBanachewicz yeah, but it would be a nice academic experiment if nothing else. :) (Also, it must've been around '09 when I played around with the idea, so shader languages were a bit more in flux back then)
 
Sweet, I repcapped for once
 
¬_¬ damn you chrome, forget about that old dns entry already!
 
Oh, must be value-initialization. Constructors get called.
 
@thecoshman it works, chill out
 
7:44 AM
@thecoshman flush your dns cache?
 
@Borgleader Actually, it appears to be the fifth time in the last month or so.
 
@BartekBanachewicz that does not help me see stuff my self though... but you can get to thecoshman.com then?
@jalf just tried that... didn't change a thing :(
 
@JerryCoffin That much? seemed more like 2-3
 
@thecoshman I don't know about him, but I can.
 
grumble grumble ¬_¬ I bet it's some stupid internal DNS system...
 
7:47 AM
@Borgleader Well, that did involve my counting past 3, so it's probably still open to question... :-)
 
@thecoshman works here
 
grumble grumble stupid what ever it is thats spoiling my fun grumble grumble
 
@thecoshman you could try switching to another DNS server (Googles? 8.8.8.8 IIRC)
 
@jalf oh yeah... let me try that
 
Hahah everyone can see pirate's site except him
 
7:50 AM
@BartekBanachewicz I saw it at home... I am just stuck with some stupid stale DNS entry at work it seems
 
Meh, give it some time
 
¬_¬ if I change dns server... it seems work stop me getting any tinternet
fine, I'll wait. but don't think I aint pouting the whole time!
 

« first day (1027 days earlier)      last day (3927 days later) »