« first day (797 days earlier)      last day (4153 days later) » 

user1182183
8:03 AM
day #3, I still don't have to poop xD
 
good to know
 
user1182183
and still no hot chicks in sight
 
@GamErix That doesn't sound normal. Both the fact and the information level
 
user142019
@GamErix no nurses?
 
@GamErix Phew. I thought you might be in another universe
 
8:04 AM
if he goes over a week it is an issue
 
user1182183
@Zoidberg'-- just one hot nurse but well, I think she's a bit too old for me
 
user1182183
xd
 
user142019
lol
 
but dude, I'm like 100% sure in the hospital they give you apples as part of your meal.
 
@GamErix Oh... she doesn't agree
 
8:04 AM
Do you not eat the skin? Do you not eat apples?
 
user1182183
@Rapptz if you want
 
Eat them, get some more fiber in your diet
 
user1182183
I have a checklist on which I have to select what I want for meal
 
user1182183
today I selected: pork normal size,brown gravy big, cut beans, french fries, banano yoghurt and some souce for the fries
 
user1182183
and my breakfast, a banana, 2 slices of bread with ham
 
8:08 AM
Hmm, I'm following Alf's win32 programming tutorial and it's crashing >.>;
 
user1182183
and a coffee
 
user1182183
@Borgleader lots of win32 stuff crash when I create it, you're not a copy of me?
 
your diet seems fine.
 
user1182183
just meals, no need for diets :P
 
you do not know the definition of a diet
 
user1182183
8:09 AM
i'm a "healthy" man with a pipe in his cheeck to drain out all the bad stuff from it
 
user1182183
well google translate does
 
user1182183
and I know what ya mean
 
user1182183
"feeding pattern"
 
user1182183
but i'm used to 7 small meals or 3 big ones in a day, not 2 meals a day -.-'
 
@GamErix It's still not normal I'm doing exactly as instructed and somehow I'm getting access violation
 
user1182183
8:14 AM
@Borgleader well if you debug it, maybe you spot something that you didn't see
 
Possible
 
Goddammit... nothing like discovering a bug in old code that I haven't touched in a long time.
 
user1182183
or the debugger crashes... in that case use logs to file
 
Woah, my first answer with 100 upvotes :)
 
user1182183
@Mysticial nothing like ripping your head of when the debugger crashes
 
8:15 AM
@Mysticial Erm. Thrilling?
 
user142019
What would be an English verb for getting a substring out of another string?
 
@Zoidberg'-- extract
 
@GamErix Pretty much...
 
user142019
@sehe that was what I was looking for. Thanks.
 
user142019
Stupid brain.
 
8:16 AM
I know the feeling
 
@sehe It's one of those things where you have old code that is extremely reliable. But all of the sudden, it breaks and you don't even know where in the 10,000 lines to start looking for it.
But I've narrowed it down to a bug in my memory-estimation function.
 
user1182183
debuggers pause the process when there is a break right? but then I can't alt tab and got a black screen because the process is full screen and won't minimize.. how do I still get to my debugger to see what causes the crash?
 
It's choosing a different algorithm than what the main function is choosing, so it's under-estimating the amount of memory that is needed. Hence not enough memory allocated -> array-overrun assertion fail.
 
@GamErix I think it isn't my fault in the end.
 
user1182183
@Borgleader didn't say it your fault :P spotting crashing stuff and making crashing stuff is a difference xd
 
8:22 AM
I know, but I thought I did something wrong. But I replaced calls to his code that returns a string by another simpler one and it works... Now I have to figure out why his fails.
 
user142019
My code works!
 
morning all
'twas nice knowing y'all
perhaps we should agree where we are all going to meet up to start the new Lounge<unplugged>
 
user142019
Bitbucket y u so extremely slow. I don't have all day.
 
you have about 15 hours by my count
 
@Zoidberg'-- 37 requests. 1.41 MB transfered. 0.41s
looks fine to me.
 
user142019
8:30 AM
In that case I blame my school.
 
user142019
Hurray class diagrams in UML class.
 
want to throttle some ones net speed, why not Zoidberg?
 
user1182183
0
Q: How do I debug a full screen DirectX9 application from Visual Studio Ultimate 2012 without problems?

Gam ErixWell I want to debug my .dll which gets loaded into the process, and it's crashing somewhere. I tried to log which line gets executed last to a file but that din't help much. Now, when I attach the debugger and the application crashes, MSVC debug freezes the proccess, making it impossible to alt...

 
Meanwhile on reddit
> When this post hits 2012 upvotes, the world will end. UPVOTE NOW TO BE A PART OF HISTORY![Competition] (self.circlejerk)
 
¬_¬ rep karma whores
 
user1182183
8:36 AM
@thecoshman karma rlz xd
 
Have you tried recreating this bug in windowed mode? If it does not happen in windowed mode, you can probably assume it is something to do with the way you are going full screen. It will also mean that if it does still crash, you should be able to swap to VS with ease — thecoshman 3 mins ago
 
user1182183
@thecoshman commented back :P
 
@Rapptz hahahahaha so circlejerk like.
 
0
A: Overloaded operators for std::bind placeholders

FredOverflowYou could always overload these operators for the placeholders yourself, for example operator<: struct less12 { template<typename T, typename U> bool operator()(const T& a, const U& b) const { return a < b; } }; less12 operator<(decltype(_1), declt...

^ shameless plug
 
user142019
@FredOverflow aren't there such functors in <functional>?
 
user142019
8:50 AM
Oh nevermind.
 
0
Q: Willl this code snippt collapse in VC6.0?

larmbrint main(void) { int i = 0; scanf("%f", &i); return 0; } I have testes it in Gcc4.7, it works. I hava no VC6.0, so I wanna konw if it will collapse in VC6.0. If it will, why ? I was told that because the FPU isn't initialized ?

close votes?
 
user142019
s/fortunate/unfortunate/ — James McNellis 22 secs ago
 
user142019
s/fortunate/unfortunate/ since you don't know you have a bug. — Zoidberg'-- 23 secs ago
 
user142019
How coincidental.
 
user142019
scanf is bad.
 
9:01 AM
C is bad
 
C is misunderstood
 
C is after B
"Would rewriting in OOP improve performance?" No. OOP is no magic wand that makes your code faster. It only makes it (arguably) more readable. — GolezTrol 12 mins ago
lol
 
user142019
Not even that.
 
depends
 
user142019
It depends on the problem you want to solve which paradigm is best.
 
9:08 AM
C is not bad per-say, it's just inferior to C++ with next to no reason to be used
 
oop is arguably slower. — Dagon 21 secs ago
Is it in PHP?
 
user142019
In PHP, calling a public method is slower than calling a private method.
 
user142019
:^)
 
@thecoshman Wow, that's so insightful. Glad we cleared that up before the apocalypse.
 
probably, but then everything in php is shit
@FredOverflow can't leave these things up in the air, now, lets sort out this third world hunger
 
9:12 AM
3
Q: Why must backslashes in string literals be escaped in C++?

NarekI want to declare an regex patter for both languages. For TCL I do this set pattern "\d\s\S" but for C++ I have to do this for the same pattern boost::regex pattern("\\d\\s\\S"); otherwise C++ compiler will tell us the following: warning C4129: 'd' : unrecognized character escape sequen...

> C++ tries and sucks
lol
 
oh yay, fun with _ITERATOR_DEBUG_LEVEL and _SECURE_SCL once again
 
Finally fixed that bug... damn. Had to dig into code that I last touched 18 months ago...
 
those things are so annoying
 
user142019
Yo momma is annoying.
 
9:16 AM
lots of fresh content on Channel9, among them Kevlin Henney
 
ok, this is odd... Littering the code with static_assert(_ITERATOR_DEBUG_LEVEL==N, "blah")indicates that both projects are compiled with the same settings. But when I try to link them, it complains that one has _ITERATOR_DEBUG_LEVEL==0 and the other ==2
oh nm, I get it
/me is stoopid
 
user142019
lol teacher spells Java as JAVA.
 
@jalf What was it?
@Zoidberg'-- Maybe he doesn't know lowercase letters?
 
user142019
@FredOverflow well all the other text is in lowercase, except for the first letters of sentences.
 
user142019
Why can a concrete class have abstract methods?
 
9:25 AM
It cannot. As soon as you have one abstract method, the class has to be declared as being abstract, too.
 
user142019
Also in Java?
 
I was talking about Java.
 
user142019
Teacher says it's possible, and now he says he's not sure. :P
 
Of course it's not possible. What would happen if you instantiate the class and then call the abstract method?
 
user142019
__cxa_pure_virtual :P
 
9:28 AM
It's a compile-time error in Java.
 
@Zoidberg'-- Because maybe your teacher once taught BASIC
 
user142019
lol
 
this is better Java.
 
It looks very shopped.
 
user142019
9:29 AM
 
Did you tell your teacher he was wrong?
 
user142019
Yes.
 
reaction?
 
ah cool, llvm3.2 is out
 
user142019
@FredOverflow He tried to compile a sample and now he knows.
 
9:31 AM
Well, at least he knows how to compile.
 
user142019
lol
 
@Zoidberg'-- I bet he's nervous when you are in his class.
 
user142019
lol
 
how can I restrict what a certain linux user can see (file wise) preferable by just editing this one users setings
 
does sscanf match regexes?
 
user142019
9:34 AM
I'm constantly confused by UML because UML uses + and - for public and private and Objective-C uses + and - for class method and instance method. ~_~
 
user142019
And I'm used to Objective-C. :P
 
bleh UML
good for nothing but teaching people about UML
 
user142019
lol
 
UML sucks
 
well, UML flow charts can be handy for showing high level how a system works... but that's more just flow charts rather then UML
 
user142019
9:37 AM
UML will be gone today, so I'm happy.
 
user142019
Meh I don't need UML to understand and make flow charts, only xkcd.
 
Wow... I just made my laptop a lot less laggy by disabling write-flushing...
Stupid FF and itunes running the HD at 100% disk all the time.
 
O.o
 
user142019
Use a RAM-drive.
 
@Mysticial that'll teach you to use iTunes? :p
 
user142019
9:40 AM
Oh fun sequence diagrams. >.>
 
Geez... it's not even funny how much faster my laptop just got...
haha
I couldn't figure out a way to disable FF and iTune's disk activity.
 
@Mysticial It's so not even fun that it totally sucks
 
desperately hopes to avoid buying a new laptop think it could make my laptop any faster, even though I don't use FF or itunes?
 
@Zoidberg'-- That only works if I can make the two programs write to it. Of course they tend to be tied to their program file paths or whatever.
Which makes we wonder... I didn't have this problem on my desktop.
 
@Mysticial this? or something else?
 
9:42 AM
Maybe I disabled write-flushing on it a long time ago and forgot about it.
 
@melak47 correct
 
but does your hard drive have a separate power supply that allows the device to flush its buffer in case of power failure? :o
 
@melak47 Just put an SSD in your old laptop.
 
@melak47 It's a laptop.
And my desktop back at school has a UPS.
 
9:46 AM
@Mysticial how have you configured windows pagefile settings?
 
@jalf never touched it. So it's default with Windows 8.
 
ah ok
 
I checked Resource monitor. All the IOs are from FF and iTunes.
 
was just wondering because I've noticed insane hdd activity when I tried to be clever and set it to a specific size instead of just leaving it at default
 
No pagefile hits at all.
Since I'm barely using half my ram.
 
9:47 AM
that doesn't necessarily stop it from hitting the pagefile
 
At least it keeps it to a minimum.
 
that's what I saw when I tried setting it to a fixed size. It constantly spammed my pagefile, no matter how much free ram I had :)
When I reset it to default, that went away
But sounds like you have a different issue. Figured it was worth checking though :)
 
that's unusual... I run a fixed size pagefile on most of my machines. Never had a problem.
 
@jalf can't spam your pagefile if you disable it :3
 
I noticed it very consistently, once I knew what to look for
 
9:49 AM
resource monitor is taking up the most IO for me lol
 
@melak47 true, but why disable it, when Windows actually uses it sensibly if you leave it at default settings?
 
I find that getting rid of the pagefile completely rarely works when you have memory leaks.
A pagefile at least lets leaking apps page out and not hog all your ram.
 
@jalf why be boring and ask boring questions when you could be cool and fun :p
 
Disabling the pagefile has all sorts of nasty side effects. Completely pointless bit of cargo-cult "optimization"
Kind of how people sometimes think that if just they rewrite their code in the right language (usually C++), it will magically become fast
 
windows recommends a 24526MB pagefile size
 
9:52 AM
@melak47 no, Windows recommends leaving the pagefile settings untouched. ;)
 
meh, windows can go page on some old crappy disk
 
user142019
Swap in a RAM drive. :P
 
It tries to set a pagefile that's like 1.5x your physical memory or something.
 
@melak47 goodbye perf then
 
But on my workstation, I have a 64GB boot SSD and 64GB of memory...
So it barfed.
 
9:53 AM
lol
 
anyway, you can do whatever you like to your system. I just noticed that I got a lot of pagefile activity when I set a fixed size, and once I reset it to default, my hdd actually managed to spin down and go to sleep while I was playing a game, so suddenly, after 20 minutes or so, the game would suddenly freeze for a second because it had to wait for the hdd to spin up again
 
user142019
lol
 
lol
96GB pagefile?
 
at that point I kind of figured Windows was obviously doing a better job of avoiding hdd activity than I was
 
@jalf I hate HDDs spinning down constantly. Thank god I can disable it in Linux, but I can't do it conveniently in Windows. That apm stuff or whatever it's called
 
9:54 AM
yeah, that 64GB SSD was more like 60GiB. And the machine had a full 64GiB.
So it had more ram than the boot disk...
 
@jalf I'm not saying you shouldn't let windows manage the size...but does it have to be on the system disk? I don't think so
 
@FredOverflow it's fairly easy to control on windows too
@melak47 Hmmm, tricky question ;)
for the most part, no, any disk will work
but there are a few corner cases where it expects a pagefile on the system disk
 
@melak47 It ended up setting the pagefile to like 80% of the available space on the SSD.
 
I think it's just to do with writing crash dumps if it bluescreens, and stuff like that
afaik
 
I obviously had to do something about it...
 
9:56 AM
@jalf No, it isn't. I have one of those modern Seagate hard drives, and I have browsed dozens of forums. It is practically impossible to disable apm in Windows.
 
maybe they got rid of that limitation though
 
@FredOverflow apm?
 
Advanced Power Management?
 
@FredOverflow power options -> change power plan -> harddisk -> turn off harddisk after -> x minutes
 
you can just go to your power settings and tell windows to spin down drives after x minutes of inactivity...set it to "0" == "never"
 
9:57 AM
failing that, write a little background program which just writes a few bytes to a file on the harddrive every 5 minutes ;)
 
lol
 
If if was that simple, don't you think the Seagate guys would have told us in the forums? :)
@jalf Hey, that's not a bad idea, actually...
 
@FredOverflow so it's the drive powering itself off? O_o
 
Yes. It's so fucking retarded. Wouldn't have bought the drive if I had known beforehand.
 
@FredOverflow given the general competence level of OEMs and their support? No, not necessarily
 
9:58 AM
Howdy partners.
 
Howdy.
 
user142019
lol
 
I guess it might be better to have the program read a few bytes instead. Saves write cycles in case you're on a ssd :D
 

« first day (797 days earlier)      last day (4153 days later) »