« first day (734 days earlier)      last day (4207 days later) » 

5:00 PM
Bah, the cheap thrills of a junkie.
 
Ebooks are terrible.
 
@R.MartinhoFernandes I like a real paper book myself -- but when it comes to moving, electronic is definitely a lot easier. A sub-kilogram ebook reader can hold the equivalent of several large boxes of books...
 
@CatPlusPlus You mean Consolas?
 
That's a very bad joke, right there.
 
Font jokes. That must be a new low.
 
5:03 PM
Come on guys, it's friday.
My brain is almost dead.
 
@EtiennedeMartel It's 1800, no-one will call me now! OTOH, I'm expecting brain-death later - beer festival. I'm serving from 21:30 till 22:30. Anne will pick up what's left of me at midnight.
 
I find it weird that when I force kill a batch file it doesn't kill processes that file has created, but I guess it makes sense.
 
Hmm, I don't think it makes sense.
 
@MartinJames I'm gonna get wasted tonight. There's this event at bar where they give money for breast cancer research when you buy beer. Or something.
@R.MartinhoFernandes It does. Windows does not kill the whole process tree by default.
 
@R.MartinhoFernandes they're apparently completely separate processes. The OS doesn't consider them "children" in any way.
 
5:07 PM
@EtiennedeMartel "blah blah breasts blah blah beer", right?
 
I was on company meeting yesterday and almost got lost in my own damn city at 1AM.
 
@MooingDuck You have to mess around with job objects if you want the whole "auto kill the tree" thing.
 
@EtiennedeMartel does Windows have such a thing?
 
Reminded me that I don't actually know 90% of this city.
 
@EtiennedeMartel You say it like Windows was the paragon of making sense.
 
5:07 PM
@EtiennedeMartel Yeah - we have those 'breast cancer research' nights too, but last 'wear pink' one was some months ago.
 
@MooingDuck Yes.
 
@JerryCoffin I was so much faster than you.
 
@EtiennedeMartel that seems like overkill for a batch file
 
@EtiennedeMartel Yup -- and you're the one claiming to be brain-dead...
 
5:09 PM
@MooingDuck A jedi's gotta do what a jedi's gotta do.
 
@EtiennedeMartel can a batch file call the WinAPI functions like that? Or do I have to change my batch file to a c program?
 
@MooingDuck I guess the second choice.
 
@EtiennedeMartel not worth it for this task, I know what the "child" processes are. Thanks anyway.
 
Maybe PowerShell has stuff for that. I don't know.
 
hi guys, who can give a hint about how to compare 2 numbers using JUST arithmetical operators. thanks in advance
 
5:10 PM
@ddacot First, read the rules. Second, what kind of comparison?
 
@ddacot try a - b
 
@ddacot tip: What math operator gives a neat result when the left and right are equal?
 
@EtiennedeMartel I think it's either a very poor troll, or... what?
 
That is still useless without a non-arithmetic operator.
 
@MartinJames It's rarely a troll.
 
5:11 PM
Yup.
You'll get 0 and do what with it
 
@CatPlusPlus Eat eggs. What else?
 
ok thanks.
 
Compare with zero!
 
Hey @MooingDuck open how to create a lang
 
@CatPlusPlus convert to boolean->convert to index->look up that index in a table of function pointers->call that function.
 
5:12 PM
No this guy again...
@MooingDuck I admire you.
 
@MooingDuck And convert to binary without comparison operators exactly how?
 
Global singleton void*** table.
 
@R.MartinhoFernandes I meant bool
 
Ok, next one. Looking up the index uses what arithmetic operator, exactly?
:P
 
@CatPlusPlus <g> - couldn't have suggested better myself.
 
5:14 PM
It's a stupid homework assignment or other useless crap.
Why are we talking about it.
 
@CatPlusPlus 'cos it's a change from fights over char*/std:string ?
 
-5
Q: I few confused about C++

user1760040from now, in C ++, I've learned to class, inheritance, code reuse with the book <>, here's my confusing: from now, I can only write the code output with DOS window, I have no idea about the process of c++, I want to know what should I learn next, what's the difference between DOS program and w...

 
@CatPlusPlus Because you need more rainbows in your life.
 
@MartinJames Why are you talking about that.
 
@Rapptz I few confused about your English.
 
5:15 PM
@CatPlusPlus Sorry - forget I even mentioned it...
 
There's so many things to talk about that's not C++.
Or programming.
You insist on worst topics I swear.
 
^ OWNED
 
@CatPlusPlus I've mentioned beer once - surely I get brownie points for that?
 
Only if it was good beer.
 
@CatPlusPlus You don't drink beer. Only cheap vodka.
 
5:20 PM
The place we went to yesterday had actually good beer.
 
@CatPlusPlus "good beer" is an oxymoron. Now if he'd mentioned wine, vodka, tequila...
 
@CatPlusPlus I'll let you know tomorrow. Don't know what beers are racked up yet.
 
@JerryCoffin In the US, sure. You only got bottled piss there.
 
Cheap vodka was later.
Well, I'm not sure. Is 1€ per shot cheap?
 
@JerryCoffin Not here it isn't, just US.
 
5:21 PM
@CatPlusPlus Yep.
 
I'd have to do the math and fuck that.
 
Or at least it's incredibly cheap by Montreal standards.
 
@EtiennedeMartel Oh - the quality has gone up since I was last there.
 
@EtiennedeMartel I've also tried beer in a fair number of other places including England, Canada, Belgium, and Germany. None of it was any better.
 
I used the comma operator for the first time in my life.
 
5:22 PM
@daknøk Congratulations. Now stop! :-)
 
The shop beer is terrible. But this one is brewed on spot or something, and doesn't taste like usual beer.
 
@CatPlusPlus Hmm, according to XE, that amounts to roughly 1.30$ CAD. Since the average shot costs about 4$ here...
 
So it was good. Yup.
 
@JerryCoffin But it’s fuseful in C.
 
@CatPlusPlus Yeah, that kind of place is called a "microbrewery".
 
5:23 PM
Yup.
 
@daknøk So stop writing C.
 
Nah.
 
@JerryCoffin Beer sucks everywhere. Don't let them brainwash you to think otherwise.
2
 
@R.MartinhoFernandes Beer trolling..
 
Hey, I don't like beer, so when I say it was good you better listen.
 
5:25 PM
You guys really have to get out more.
 
@R.MartinhoFernandes That's been pretty much my conclusion as well. I'm pretty sure the danger of my being less stubborn than others is...fairly low.
 
The other day I tried a stout that was brewed with cocoa and vanilla. Tasted great.
 
@EtiennedeMartel I have no idea how that relates to beer sucking.
 
Although I wouldn't get wasted on that.
 
@CatPlusPlus It probably doesn't count as beer then. Or you were already so drunk by then that anything with a semblance of alcohol was "good".
 
5:26 PM
I wasn't drunk until second shot of that vodka.
 
@JerryCoffin hehe
 
Aparrently, the main group on tonite is 'The Downloads' - better not be some laptop with a torrent connection.
 
@CatPlusPlus Then the vodka clouded your memories of that night.
 
Nope.
Didn't drink enough for that.
 
You don't remember doing so, you mean.
 
5:28 PM
I'm compiling a massive project and doing a perforce diff of my source directory. My computer is going to crawl for a while.
 
4 beers, 4 shots and I was eating in the meantime so :v I remember everything man.
 
@MooingDuck I so love (distant) memories of p4. The more distant, the better!
 
OK, so I looked up the comma operator. WOW! I can see that being really useful. I must use it everywhere from now on..
 
@CatPlusPlus How strong was the beer?
 
Not very I think.
 
5:31 PM
@MartinJames It's not very useful.
 
@LucDanton I'm not sure, but my sarcasm detector did twinge a little on that post (for his sake, I hope it was sarcasm).
 
@LucDanton There must be a considerable gap in my education/experience - I have never seen it before <g>
@JerryCoffin Well, yeah. Why stop at throwing away the first result? It should have a parameter so that it can throw away results wherever you want to.
 
@MartinJames Well, it only has two parameters, and you can cascade them together, so a, b, c, d throws away a, b and c, keeping only d.
 
@JerryCoffin Of course - wonderful <g>
 
posted on October 19, 2012 by James McNellis

See C++/CX Part 0 of [n]: An Introduction for an introduction to this series and a table of contents with links to each article in the series. In this article, we'll take a look at static member functions and how they are supported by the Windows Runtime. A Windows Runtime reference type (also called a ref class in C++/CX, or a runtime class) can have static member functions. In C++/CX, the sy

 
5:39 PM
@MartinJames It's best, of course, to combine a comma operator with something that uses a comma as punctuation: f((a,b),c); (evaluates a, calls f with b and c as parameters).
 
@JerryCoffin Aaarrgghhh! Please, no more! I give up!
Besides, I have to go now and get ready for massive-hangover-generation. Bye!
 
@EtiennedeMartel Based on the picture, I'd say they were justified.
@MartinJames Later.
 
@JerryCoffin I'd say he's got quite the awesome mullet, actually.
 
@EtiennedeMartel "awesome mullet"? Is today International Oxymoron Day or something?
 
5:46 PM
@JerryCoffin You need to have balls of steel to have that kind of hairdo.
 
@EtiennedeMartel Balls are irrelevant. The requirement is an IQ lower than the size of hat needed to hide it.
 
@JerryCoffin You're racist.
 
I have two instances of devenv open. One has GUI open, other is compiling on command line, and I want to kill the command line one. One has 10-15% CPU, 55MB mem usage, 30 PF Delta, and the other has 0%CPU, 239MB mem usage, 0 PF Delta. Not sure which is the command line.
 
(Protip: if you want to insta-derail a discussion, say the other is racist)
 
does idle GUI take more CPU or more memory than compiling from command line? I'm thinking more memory.
 
5:50 PM
@MooingDuck Check the command-line column,
 
@R.MartinhoFernandes no such column.
 
@EtiennedeMartel Nice try. My great grand-uncle Levi Coffin was the real racist though.
 
@R.MartinhoFernandes there's no such column (winXP 32)
one has 8300 handles, and the other 850. I'm thinking GUI takes more handles, right?
 
Check the applications tab, right-click the GUI > "Go to process"?
 
5:52 PM
high CPU has 1700 GDI objects compared to 900.
 
Use procexp not Task Manager...
Especially in XP.
 
@R.MartinhoFernandes way to find an obvious solution
@R.MartinhoFernandes thanks
 
is there any language between C++ and Python on the abstractness scale, that is compiled and open source?
 
@DeadMG Your left hand is in a really awkward place. :)
 
6:01 PM
@DeadMG happiness is a dog
@DeadMG also macs are dumb. and that looks like a mac
 
@Mysticial That's a girl. At least from what I can see.
 
@Mysticial That's my mother.
 
lol
 
@MooingDuck The Windows sticker is clearly visible.
 
@DeadMG so it is
 
6:03 PM
Now that I expand it, yeah it does look like a woman.
 
Easy way to check is chest then nails.
That sounded better in my head.
 
Hey I know this chatroom is for C++, but would anyone mind giving me their opinion on my pc build that I am purchasing?
 
Ell
@OstapHnatyuk I will
 
Are you using pcpartpicker? yeah guess so
 
Ell
6:06 PM
never knew about pcpartpicker o.O
 
@danuker Hmm...open source and around two-thirds as much abstraction as C++? I nominate Racket.
 
pcpartpicker is amazing. Changed my life.
 
Ell
@OstapHnatyuk it's... expensive :O also no cd drive?
 
@OstapHnatyuk in my personal experience, a cheap sound card makes a big difference.
 
Why an 800 W power supply?
 
6:07 PM
I have a digital audio converter already, and just ripping my cd drive from other computer
 
@OstapHnatyuk that's an expensive case/power supply/cooler
 
800 W power supply for possible SLI in the future, and it just had very good reviews
Also yes it is, but I really enjoy the cooler master cases
 
@OstapHnatyuk I recommend a smaller SSD, and also add a large HDD.
 
Ell
I have a stupidly overpowered PSU because it was my first build and I was scared from all the stories :L
 
yeah, try a 128 GB SSD with a 1 TB HDD.
 
Ell
6:08 PM
@MooingDuck +1 on ssd + big hdd
 
@OstapHnatyuk You probably gonna want more than 800W if you're gonna do SLI.
 
@Mysticial Plus it's.. excessive >_>
 
Ell
@Mysticial really? I wouldn't have thought so o.O
 
@JerryCoffin Thanks, looks interesting!
 
@Ell It depends on the card.
 
6:09 PM
What about just 800 W without SLI, I know it's more than enough. But I like this particular PSU because of it's reviews/it's supposed to be very silent. I'll look into some HDD
 
@danuker Surely.
 
800 W is overkill.
 
But some of the higher-end dual-slot cards can easily pull 200W+ each.
 
I think 800 W is enough for dual 680gtx though
is it not?
 
I'm not up to date on video cards though.
 
6:10 PM
Estimated Wattage: 375W
 
@OstapHnatyuk Just built exactly this same build 3 weeks ago.
 
It's been a while since I've built anything. And even a bit behind on CPUs.
 
With a 128 GB SSD and a bigger HDD tho
 
Are you happy with it?
 
And a 650 W PSU works fine
 
6:11 PM
Says here the 680 needs a minimum of 550 W
 
Yeah I'm pretty happy with it, I was thinking SLI like you at first but then I found the 680 to be pretty sufficient
 
Ell
so 650 is cool?
 
Yep, I have a HALE90 NZXT.
 
You could post it on reddit.com/r/buildapc
Since that's where that site came from.
 
My i7 920 machine easily pulls 400W. It has two very low-end video cards.
 
6:12 PM
@Rapptz thats including the motherboard and such though I think
 
@OstapHnatyuk Maybe -- but you probably want to plan for dual GTX 690's.
 
imba imba world.
 
690s are so expensive
I am only a mere intern
 
$1.7k is a large budget for a pc
 
Took a long time to save
 
Ell
6:14 PM
@OstapHnatyuk a "mere" intern? I mere intern would get a PC for £500 or something :L
 
@Rapptz I usually go for 1k - 1.5k on a desktop PC depending on what I need it for.
 
@OstapHnatyuk It is barely possible that I wasn't entirely serious. :-)
 
lol I felt the trolling, but couldn't tell
What's wrong with a 256gb ssd anyways? I have a 750gb HDD at home
 
@Mysticial Is it worth it though now a days? You have a couple of things becoming standard in the next few years like a new microprocessor and DDR4
 
You can easily get a machine for $500. It'd be complete shit though.
 
6:16 PM
Plus cheaper SSDs
 
@Rapptz Depends. I haven't built anything in over a year.
If there's one thing computer-related that I need badly, that'd be hard drives.
My 4TB box for Anime is overflowing like mad.
And I'm already spilling over into other drives.
 
The first 1 GB HDD was the size of a fridge and costed $40k
 
So I need to upgrade that to 2 x 3TB soon.
 
A couple of friends and I were discussing how much memory we'd get with $40k now a days.
 
And then I need a 12TB box to backup a bunch of other things.
But HD prices don't like like they're gonna drop any lower... :(
 
6:18 PM
@Rapptz It pays off though. Your machine would be still in good shape for almost 3/4 years
 
When the price is decreasing like mad.
 
Quick question
do I need
 
And throwing off $1.5k every 3 years sounds like a plan to me
 
A desktop upgrade kit for ssd?
 
It's the reason why I don't build PCs anymore. They're almost always going to be cheaper every year.
 
6:19 PM
Like what is that even? My case will have 2.5'' ports
Yeah that feel when you build an epic pc, and next year it's just meh
 
Ell
@Mysticial it wont? o.O
 
I think people are better off buying a decent PC for $700 or some low budget (assuming they know how to make a good one) every couple of years without killing themselves financially over it.
 
@OstapHnatyuk What is that anyway? I know I didn't need one though.
 
@Rapptz I have no trouble dropping 1k a year if it improves my productivity. Time = money.
 
I think it's like a bracket mounter or something for desktops with only HDD slots
 
6:21 PM
Discounting server parts, I spend almost 3k a year on computer stuff.
 
I guess I won't get that
 
@OstapHnatyuk Yes, but the time and effort to install "stuff" comes out to quite a bit too. At least for me (doing mostly hourly consulting) the cost of re-installing and such is probably more than the hardware. Building a machine I can use for 6 years instead of 2 saves money in the long run.
 
@Mysticial Likewise, the improvement over your 3 years will still be significant but cheaper.
 
@JerryCoffin Don't forget that those who build usually do so because it's fun.
 
@Rapptz When do you ever really NEED a state of the art machine?
 
6:23 PM
@KhaledNassar That is my point.
 
In my case I build those because they are much more versatile and durable..
Yeah sure, that's why you shouldn't bother worrying about the constant updates
 
@KhaledNassar I do. (or did a few years ago) But those were some unusual circumstances. :)
 
@Mysticial I suppose that's true, to at least some extent. I do it mostly because I simply want a machine I consider decent, and have yet to see HP, Dell, etc., sell one that qualified.
 
@JerryCoffin I think so too, that's why I'm spending 1700 on this build
 
Anything that would normally cost over 1k is usually cheaper to build than to buy.
+ you get all the OCing options.
 
6:26 PM
And + you don't get cheap chinese dell parts
 
Do you mean the case?
 
Especially for servers. A few years ago, I built one for 10k. Outside, that same machine cost 24k.
 
I'm unsure what exactly is "dell-specific" as I haven't bought one in ages
 
And your computer doesn't sound like it's about to explode after a few years. That's how my dell sounds now. Yeah mainly the case, and cabling.
But they choose the cheapest parts probably..
High timing ram, etc etc
 
Sure, but the question really is do you use it to its full power at the time when it's still considered a top tier machine?
IMO, haven't met anyone yet who does, but still I would build a state of the art machine whenever I'm building a new one simply because they outlive the cheap options being constantly upgraded overtime. Whenever I start overloading my machine, it's time for a new one.
 
6:28 PM
@KhaledNassar Haha... you need to know me better. :)
 
You should look at the budget builds over at reddit.com/r/buildapc
Some of them are pretty impressive
 
@Mysticial Wow lol
 
@Rapptz Woah, that's a pretty big subreddit.
 
I spent $600 on my computer and I never use it to its full potential :(
 
Wish I knew about this when I built mine up: pcpartpicker.com
 
6:33 PM
680 gtx or 7970?
I'm still deciding on this one..
 
Ell
@OstapHnatyuk gtx 460 :P
 
I feel like making a budget build.
Those are always fun.
 
@KhaledNassar Here's what my definition of "full utilization" is:
I ran that machine under that kind of load for the better part of a year.
 
@Mysticial windows gadgets?
lol'd
 
@Mysticial that is quite a few gigabytes of ram
 
6:36 PM
@Rapptz yep. That was before I built my i7 machine. SO it was also my primary work machine.
 
@OstapHnatyuk 680, but that's just me being a biased *******.
 
Or wait, I don't see the usual shit I have on my desktop.
 
My definition of full utilization' is trying to build stuff with kaspersky on.
 
I guess that was still when I was using my Pentium D as my primary machine.
 
@Mysticial Well that's not a Desktop for sure, but I pity yours.. :')
 
6:38 PM
@Mysticial Taskbar on the left? People do that?
 
Khaled what mobo did you get? The sabertooth?
 
@Pubby Yeah, I usually have like 20 things open.
So I can show more on the side.
 
@OstapHnatyuk Yes, the Z77 Sabertooth
 
Ell
@Mysticial that is actually your machine?
 
@Ell Yes
 
6:39 PM
@Mysticial I usually just had 3 rows on the bottom when I was on windows
 
It's exactly the same build minus the HDD/SSD and I have the HAF XM case instead of the HAF X.
 
@Pubby I want my vertical space for when I'm coding.
 
And the PSU..
 
Good point
 
Ell
I had no idea people actually had 64gb of ram :O
 
6:40 PM
@Ell Check the date on that screenshot.
64GB is easy to get nowadays.
 
Not a lot of mobos support it iirc
 
Even desktops can do it now.
 
Ell
holy jesus christ it was 2010
 
@Mysticial Wait a minute you actually had a desktop with 64 GBs back then for normal usage?
 
@KhaledNassar I had two machines back then. That one, and a Pentium D with 3GB of ram.
I did most of my daily stuff on that Pentium D, but I slowly shifted over to that machine.
 
6:41 PM
I have 16 in my desktop now, don't think I've ever used more than half of it
 
Hmm.. I manage to get by with only 12GB :(
 
But that machine isn't best suited for normal things, so I later built my i7 920 machine.
 
I still have 4GB at work and at home :( Wife has 1GB
 
@Mysticial Well yeah that's basically a server right there...
 
I have 4 GB on my laptop and 8 GB on my desktop.
 
6:45 PM
I have 4 on my laptop
don't have a desktop
well, I do at work, and it's a monster
 
user image
12
 
holy shit
 
@Collin I only have 8 Gigs in my desktop -- but I did built this machine in 2006...
 
@Rapptz Ditto..
 
Ell
I only have 8 and I built mine last year :L
 
6:47 PM
I built mine in 2010
 
Ell
can you get 16GB modules yet?
 
Heard about 16GB modules a while back but I've yet to see one in my local store..
 
I actually built that machine back in late 2008.
I didn't get it fully working until early 2009.
 
@Ell Newegg shows them as being in stock.
 
How much did that cost?
 
6:49 PM
Damn... that machine is old.
 
@thecoshman I made a public forum and stuff
 
@KhaledNassar 10k initially. But it ended up being -15k after what I did on it. So yes, I gained money on it.
 
I need a new monitor
I haven't gotten a new one since like 2005
Was thinking this
 
@Mysticial How did it end up -15K? Do you mean you earned 15K with it?
 
6:53 PM
25k
 
Opened up registration, too.
 
@Rapptz Good price, but I need more than 23"
 
I can live with 23" cause mine's 17"
 
@CatPlusPlus, what is that whole Kyro thing?
 
A thing.
We still figuring out the details.
Worst case scenario we'll have a forum for more nonsense discussions.
 
6:57 PM
I have an older version of something like this at work: http://www.newegg.com/Product/Product.aspx?Item=N82E16824254093&name=LCD-Monitors

The color isn't great, but overall, cheap for the real-estate
 
1
Q: Choose fstream or cout depending on attributes

RiaDIf there is argv[1] I want to put some data to new ofstream(argv[1]) i.e file with name argv[1]. But if there are no such argument I want to use cout instead. I've tried std::ostream& output = argc >= 1 ? std::fstream(argv[0]) : std::cout; But it even doesn't compile because of delete...

 
@JerryCoffin Long story short. It was a 10k investment/gamble that paid out 25k among other things.
 
tl;dr bitcoins
 
And I still have that machine. But it stays off most of the time since I don't need it as much as I used to.
 
I'm not sure this will work better than the previous system. Need better ideas.
 
Is there anyway to get this to work in C++03? ideone.com/JInbO
In C++11 I could just do template<typename, typename...> class T
 
What happened with ideone?
The backgrounds are all transparent
 
@Pubby Generally speaking, don't use template template parameters, especially for C++03.
 
@LucDanton In C++03 I should just use an apply member?
 
7:22 PM
Boost.TMP is more or less state of the art and that's its usual approach TTBOMK, yes.
 
@LucDanton Boost.TMP? Do you mean Boost.MPL, or is there a new library?
 
MPL alright.
 
Boost.Magic
 
I don't know if I'm just noticing this now, but Boost finally added a "View latest version" header to old documentation pages. For example: boost.org/doc/libs/1_50_0/doc/html/boost_random.html
Just thought I'd share that.
 
Do metafunctions that have apply member have a special name?
 
7:26 PM
I'd guess polymorphic metafunctions, as a parallel to polymorphic functors?
 
@GManNickG Yeah, no more eternal editing googled urls
however, some libs don't have this (enabled)
 
Ugh just dropped 1700 for my pc
feelsbadbro.jpg
 
@LucDanton Actually, MPL seems to call them 'metafunction classes'
I think I'll use that term then
 
Well if you wanted the MPL terminology don't ask here, read the docs! They're good.
 
awe.. java generics fail
 
7:38 PM
@Cheersandhth.-Alf 'Yes!' doesn't fit in comments, so: Yes!
 
ah
SO strikes again!
 
Little Face Romney
 
he looks so cute that way
 

« first day (734 days earlier)      last day (4207 days later) »