« first day (727 days earlier)      last day (4222 days later) » 

4:00 AM
serial upvoter rofl, is there a badge for that?
 
no
 
I didn't upvote each other
He got such issue
i also got such issue
 
lol
 
Somebody definitely serially upvoted you.
 
but mine obviously someone is purposely doing it
 
4:01 AM
What's your friend account?
-30 doesn't tell much
 
Forgotten what is his account name
He is not online now
but will tell you once he is online
 
um...
 
lol.
 
... doesn his account name rhyme with murry by chance?
 
You can look up accounts without them being "online"
 
4:03 AM
Yes, I know I can check without being online
I mean I forgotten his ID
I can ask him only through either by FB
or Skype
Mine reputation I don't really bother
 
It isn't that important, it's only 30 rep. That's 3 upvotes or 15 edits or 2 accepted answers.
 
as long as it didn't effect my rep
 
@Rapptz yayy math
 
My rep is originally like this so I don't really bother about my rep
but my friend according to him
he got 3 upvotes
but after around 15 mins
the +30 rep all in sudden being minus out
 
@Furry Then he was serially upvoted.
 
4:07 AM
Was it all on one post? Or different posts?
 
but wait
Same post
 
@Furry Then it probably got deleted.
 
LOL
why would he delete his own answer
OMGWTFBBQ
 
If the question gets deleted so does his answer
 
When a post gets deleted, you lose all the rep you gain/lose on it. (with a few exceptions)
 
4:08 AM
==
Nevermind
I will ask him
thanks for the answer
 
user406009
Rep isn't really that useful past 50(commenting requirement) anyways.
 
@Lalaland You haven't seen the 10k stuff.
 
I like downvoting.
 
Hmm I got a slower benchmark thant Mike Pan... could be due to Fermi being better at GPU computing than Kepler
 
One of these days, I need to play with GPU OCing.
Both my double-slot cards are capable of it.
Though my case already overheats like shit.
 
4:13 AM
More fans
 
@Borgleader I already have some of the most ridiculous fans on it. Turned to the max, I can't even hear myself talk.
 
O.O What the hell are you running int here?
@Rapptz: is that an old man with a boot on his head?
 
@Borgleader Fans?
 
It's the best video I've seen all month.
 
4:16 AM
I meant hardware? 920 + 2x gtx275?
 
920 @ 3.5 GHz + GTX 275 + GTX 9800+
In an mATX case
No SLI. I have two cards there because I wanted to run 4 monitors.
 
I see, well I'm surprised it makes that much heat
 
The biggest problem is the NB.
The cards cover it.
So it's tricky to get enough airflow over it.
But the air coming out the back is really hot.
I figure most of it is from the cards.
 
O.o well damn, my gpu benchmark was 13 seconds behind Mike Pans, but in the CPU only benchmark I smoked him at 4min25sec to his 8min9sec
woohoo for epic CPUs
 
You should run my pi-benchie
 
4:21 AM
y-cruncher?
 
yeah :)
I wish I had more time to work on that program.
 
Why would more digits matter at that point?
 
Next version is significantly faster. But nowhere near ready for release.
 
I entered, 0-1-7, so that would be Pi Benchmark single run, multi-threaded, 4.75Gb of RAM
 
It shouldn't take more than a few min. on that machine.
 
4:25 AM
I'm at 38% already
 
@Mysticial Airflow? Wait a few months for snowflow. (Although you should probably cover the air intakes.)
 
@Potatoswatter I have indeed done some pretty crazy (stupid) things in the winter cold here.
That's how I managed to get my 2600K to 5.4 GHz for a few minutes before it finally crashed.
 
Shouldn't crash until the snowblower runs out of gas. :D (OK I'm just making this up.)
 
Open case... Ultra Kaze on the radiator. Channel in some sub-zero air from outside.
I put like 1.6 volts into that thing...
Those 30 min. probably aged it by more than a year. lol
 
Uh which time is the important one?
 
4:30 AM
The top one.
The bottom one includes the time to write to disk
For competitive benchmarking, the top one is the one to use.
For breaking world records, the bottom one is used.
 
Total computation time: 436.701 seconds
 
It's not a 6-core is it?
 
afaik it isn't
 
Quad I assume.
 
4:32 AM
My 2600K can beat that time easily. (albeit overclocked) So yours can't be a 6-core.
 
how many digits is that?
 
1 billion
 
CPU utilization 625.457% o.O how does that happen?
 
@Borgleader 600% out of 800% for 4 cores + HT
that's actually really low
 
Ahh I see
 
4:33 AM
do you have a lot of background programs running?
 
Firefox with a bajillion tabs
(one has a video loaded)
 
1 billion digit runs usually go over 700% on an 8-thread machine.
 
ill finish watching the video and run it again with firefox & skype & origin closed
 
Is there a process manager plugin for Firefox tabs?
 
yknow what i think so
 
4:35 AM
Yeah, my machine easily beats 400 seconds:
2600K at only 4.2 GHz.
753%
So you definitely have enough stuff in the background interfering.
 
Ok so I'm on my laptop now, I closed most of what was running on my desktop and I'm running the benchmark again
 
Here's a run that most people probably won't be able to beat for a while - even if the machine is 4 years old.
 
No fair! I dont have 64GB or RAM
 
Why do you have 64 GB RAM
 
You could potentially beat it with 16 GB if you have some pretty insane I/O bandwidth.
 
4:43 AM
I'm running out of tissues.
 
@Rapptz My pi program was pretty much developed on that machine.
I didn't do much coding on it. But most of the large-scale testing was done on it.
 
And I'm back
Total computation time: 366.351 sec
CPU Utilization: 755.446%
 
@Borgleader That sounds MUCH better.
@Borgleader That's about right. :)
 
Multi-core efficiency: 94.4308%
You still win but I blame your extra 800Mhz
 
hehe
The left benchmark is the one to compare with.
The one on the right is still WIP.
 
4:47 AM
Well still you win by 17 sec
 
I bet your 3.4 GHz turbos to more than that.
 
3.9Ghz
But you OCed to 4.2 did you not?
 
@Borgleader Correct.
I could've run it at 4.6 GHz or higher, but I didn't feel like changing the multiplier just for a stupid test benchmark.
It's been a while since I've built a machine.
Kinda looking forward to building one when Haswell comes out.
 
that's the next "tock" generation?
 
"tic" actually
 
4:53 AM
i thought ivy-bridge was a tic
 
I'm interested in the FMA instructions.
 
On the other hand, I have too many machines here. So I probably won't build anything until I start throwing some out or sending them home.
 
Under my desk I have 2 desktops
my chair can barely move sideways
 
I have 1 netbook, 1 17in. laptop, 3 desktops, and 2 servers... all in my tiny dorm room.
I'm sending some home before I build anymore machines.
 
4:55 AM
Does it get hot as fuck in there?
 
@Rapptz Yes it does. Only 3 of them are on 24/7. (laptop + 2 desktops)
 
http://en.wikipedia.org/wiki/Intel_Tick-Tock
Seems to say here that Haswell is a tock, or did i read the table wrong?
 
I can't sustain both servers at the same time for more than a few hours. Or it'll overpower the AC.
 
@Mysticial no fair all i get is this shitty laptop...
 
I have one desktop and 4 laptops.
 
4:59 AM
damn you people and your decent hardware...
 
Cost me 1600$ =.=
 
I've spent too much (of my parent's) money on hardware...
Granted, both my servers were effectively free.
But still.
 
Howd you get 2 free servers?
 
Someone had a spare quad-opteron board with CPUs + ram lying around. We were active on the same OCing forum. And he said, "You look like someone who could make good use of this".
 
http://www.newegg.ca/Product/Product.aspx?Item=N82E16824236102
So worth the price when playing games on this pretty monitor
 
5:01 AM
My other server (the 64GB one) was expensive, but the scholarship that I got from it paid for it twice over.
 
I remember paying $1200 for a TV.
 
I payed 2000$ for a tv, but it came with the soundsystem too :)
42" with 5.1 surround
 
Well mine was during Black Friday lol
 
How long ago?
 
2 years ago.
 
5:03 AM
Ah ok
 
It was a 1080p 55" LED 3D TV
 
mine was about 4 years ago
no 3d
 
I don't use the 3D on it.
 
I have a small Playstation monitor i use for the 3d on PS3
played Uncharted 3 on it, it was pretty neat
 
5:04 AM
o.O it so wouldnt fit in my room
i have a feeling it would hit the speaker which is backed up against my desk
 
lol shit's still expensive.
 
http://www.lg.com/us/tvs/lg-42LG50-lcd-tv
Mine isnt on sale anymore
 
@Mysticial Color in the console? Ncurses?
 
@FredOverflow Nope, just the WinAPI font color thingy.
And for Linux, it uses those escape character patterns.
 
Why are you writing programs to calculate pi, don't we already know it's 3.1416? ;)
 
5:15 AM
Didn't I see a thread on SO about drawing things in the console?
 
@Mysticial ANSI?
 
@FredOverflow I dunno what it's called. But here's a snippet from my Linux version of the code:
inline void ymo_set_color_G(int intense){
    int wide = fwide(stdout,0);

    if (wide > 0){
        if (intense)
            wprintf(L"\033[01;32m");
        else
            wprintf(L"\033[22;32m");
    }else{
        if (intense)
            printf("\033[01;32m");
        else
            printf("\033[22;32m");
    }
    fflush(stdout);
}
 
Yeah, I remember seeing stuff like that back in the DOS days. I think it was called ANSI because you had to include some driver in your config.sys that was called ANSI.
 
2
Q: C++ Pixels In Console Window

MikeIn C++ using Code::Blocks v10.05, how do I draw a single pixel on the console screen? Is this easy at all, or would it be easier to just draw a rectangle? How do I color it? I'm sorry, but I just can't get any code from SOF, HF, or even cplusplus.com to work. This is for a Super Mario World figur...

 
And the windows one is more mundane:
inline void ymo_set_color_G(int intense){
    HANDLE console = GetStdHandle(STD_OUTPUT_HANDLE);
    SetConsoleTextAttribute(console,
        FOREGROUND_GREEN |
        (intense ? FOREGROUND_INTENSITY : 0)
    );
}
 
5:20 AM
American National Standards Institute?
 
posted on October 12, 2012 by Scott Meyers

[This is the first time I've tried to include code fragments in a blog post, and let's just say I was surprised at how badly Blogger deals with them.  I apologize for any formatting problems, and I welcome suggestions on how to get Blogger to swallow code displays without throwing a fit.] I recently went through Sumant Tambe's presentation materials from his Silicon Valley Code Camp pres

 
Mooing Ducks prefers Tau to Pi? No way.
 
So move constructors, they're just a new type of constructor we can implement?
 
@FredOverflow ANSI.SYS. It was called that because it allowed DOS to support the escape sequences formalized in an ANSI standard (X3.64, to be exact). In reality, however, the standard wasn't much more than the manual for a DEC VT-100's escape sequences, edited into standardese.
In fairness, I guess the VT-100 supported a superset of the sequences in some older standards though. As far as I know, the original one was ECMA-48. Still officially in force (and in its fifth edition) though I can't imagine it sees quite as much use any more.
 
5:38 AM
@Mysticial: Whats so special about FMA3 they've been in AMD cpus for a while
 
@Borgleader Nothing. It's just that the AMDs have been sucking a little too much for me to bother getting one.
And I do have access to some machines with FMA4 here anyways.
Although I'm can't really use them for anything other than school work.
 
Yeah it's kindof sad how AMD seems to not be able to keep up with Intel
 
Intel has 100,100 employees. Dang.
 
From personal experience, Has anybody figured out whether cache coherence handles Parallel Arrays or Structs better?
 
AMD has 11,705.
 
5:42 AM
Do those numbers reflect their market share?
 
I believe it's 75:25 (quoting Steam's hardware survey).
 
It seems to me AMD is being more cost efficient
but then they also suck more
 
Eh? intel has better volume than AMD
 
3 times as much volume, 10 times the employees
 
Yeah but more employees doesn't mean you're less money efficient.
 
5:47 AM
AMD's OpenCL SDK works on both CPU and GPU. Fun fact
 
So does C++ AMP
afaik
I hope it gains more traction, I really like that library
 
In computer science, locality of reference, also known as the principle of locality, is the phenomenon of the same value or related storage locations being frequently accessed. There are two basic types of reference locality. Temporal locality refers to the reuse of specific data and/or resources within relatively small time durations. Spatial locality refers to the use of data elements within relatively close storage locations. Sequential locality, a special case of spatial locality, occurs when data elements are arranged and accessed linearly, e.g., traversing the elements in a one-dimen...
^ Personal experience says to trust the theory and not cut it down any further to "rules of thumb"
 
Memory and performance is always a mess...
 
I understand that part. I already ran a few tests and it seems like Parallel arrays win.
maybe I don't have enough variables to cause cache thrashing...
Yes, more coding to do.
 
@Mysticial Surprising to hear you say that. I can usually pin down exactly what's happening on the bus when it's a bottleneck.
@Griallia My point is that there's no winner or loser. Use whatever arrangement puts all the "hot" variables on the same cacheline.
 
6:00 AM
The only thing that sucks about C++ amp is that you can't use char
 
@Potatoswatter For small apps that isn't too hard. It's the bigger ones with heavily recursive procedures that can make your head spin.
 
@Potatoswatter I got it, I'll just code two versions of the same program and see which one can integrate faster
 
@Griallia Use cachegrind and see where it's missing the cache. Then attempt to fix the "bug." If each arrangement is optimal for a different part of the program, the completely different approaches might not either be optimal.
 
@Borgleader Intel does their own fabrication. AMD sold off all their fabs a few years ago, so they have all their CPUs fabricated by others.
 
@Mysticial You're probably trying harder than most. Has the DoE ever contacted you to optimize atomic bomb simulations or whatever?
 
6:05 AM
Ahh that makes sense
 
@JerryCoffin They also develop many, many chips that never see production. Things that might as well have been marketing fluff, they actually assign engineers to.
 
@Potatoswatter I don't think anyone has asked me to optimize nukes...
 
Yeah, Intel almost went into the GPU market, but they realized their chips were crap compared to the competition and backed out.
 
@Mysticial Just saying, if you're digging that deep into memory optimization you should probably be getting paid to operate a supercomputer.
 
Now that their CPUs have GPUs in them though, I expect them to make a come back
 
6:09 AM
Several abortive many-core chips. Occasional redundant development of mass-market x86 cores. Not to mention the Itanium line.
 
@Borgleader Intel did go into the GPU market, almost before it existed. Back in the mid 1980's they did the Intel 82786. It did pretty much fail, but due more to nonexistent market than competitors (about the only competitor at the time was the TI 34010/34020).
 
Oh, that's not what I was referring to. I was talking about Larrabee
 
@Potatoswatter I think Intel figures they need to do at least some of that. At one time, University (and such) researchers were a good 10 years ahead of anything in production. Intel has pushed their production technology to the point that it's probably closer to 2 or 3 years at best, so Intel does a fair number of designs that are mostly intended as research projects.
@Borgleader Yeah, I figured. Most of the people old enough to have ever remembered it are now senile... :-)
 
LOL
 
@JerryCoffin I wonder what that says of you.
 
6:14 AM
@R.MartinhoFernandes I'm starting to fit the category pretty well. The most recent Intel code-name I can remember (dependably) any more is Coppermine, which was from something like 10 years ago...
 
Never heard of Haswell, IvyBridge, SandyBridge, Nehalem?
 
I keep reading Haswell as Haskell.
 
@Borgleader Oh, I've heard of most of them, but back then I knew them. Now I need a reminder to know the names, and have only a vague recollection of what each adds to the mix. For example, if memory serves, Ivy Bridge is newer than Sandy bridge, and Nehalem is older still, but offhand I don't remember much more than that, and I'm honestly not even really sure of even that much. At one time I could have told you the exact number of pipeline stages for any code name from at least the last 5 years.
 
@JerryCoffin Don't worry, I don't know any.
 
@R.MartinhoFernandes Your designers didn't want you getting an inferiority complex, so you have an intentional blind spot for newer processors.
 
6:21 AM
@JerryCoffin Yeah, that's the last one made with aluminum wiring :D
 
@Potatoswatter That's part of why I remember it -- right when Coppermine could have meant something, it didn't.
 
http://software.intel.com/en-us/articles/quake-wars-gets-ray-traced/
This has me excited :) Real-Time Ray Tracing
 
Hiya folks.
 
@Moshe Ohai
inb4 mild ranting :0
 
Lol
 
6:24 AM
:)
 
I'm having trouble here. I have an ifstream, and I try reading in one character. I know the character is an uppercase Letter O, but the debugger says its a small b.
No idea why.
 
Codeeeeee
paste it somewhere
 
Did the read succeed?
 
Does anyone know how MSN,Yahoo bots are written? I mean is there any library without libpurple?
 
Yup it did. Disclaimer. Homework.
 
6:26 AM
So bool(the_stream) is true?
Then you either have UB somewhere, or the character really is a b.
 
@R.MartinhoFernandes :)
What is the type of the variable anyway? What @Borgleader said... @Moshe
 
@sehe It's a char, putting on GitHub momentarily.
 
<twiddles thumbs :)/>
 
i have a feeling putting it on ideone would've been faster
 
@Borgleader even faster
 
user1182183
6:31 AM
mooing duck here?
 
I have a feeling we'll get a sheepish face soon, saying "ok, I found it, false alarm; the stream was in .bad() or .fail()"
@GamErix duh, the user list is on the right
 
user1182183
ye maybe he's undercover xD
 
I think Mooing Duck doesn't go on SO at home.
I've only seen him here during his work time.
 
user1182183
@Rapptz :p
 
You think he has internets?
 
6:32 AM
@Rapptz Yeah, I think so too.
 
user1182183
well he told me that virtual box was so awesome (to sum it up, he did not literally say it), and it finally turned against me because virtualbox doesn't support windows 98 either
 
xcode!?!?
 
Too lazy for vim.
 
VirtualBox doesn't what.
 
6:33 AM
can you tell us which file
plz
 
Sure, sorry for being a help vamp. Just kinda stuck.
 
Isn't the file extension necessary? I actually don't know because I've always written it.
 
Got six assignments and I'd rather avoid drawing out the review assignments.
@Rapptz Where?
 
@moshe no issue here:
Record:
---
Type: 0
Amount: 0.00
Item:
Quantity: 0
Customer:
---
Customer Number: 1129
Name:
Balance: 0
 
@sehe But it only reads one record and doesn't populate it.
 
6:35 AM
What do I need to do? I don't get to type any input
 
string transactionFileName = "transactionAccountsReceivable";
string masterFileName = "masterAccountsReceivable";
 
@sehe Ok, some context.
 
@Moshe Nope. No context. Some ERROR HANDLING
 
Heck, gonna update the README to describe the assignment..
 
That's not what we want to know.
We want to know what line is bad, and what input causes it.
 
user1182183
6:36 AM
@R.MartinhoFernandes stuck in 16 color mode, mouse laggs, cannot instal guest additions because it throws a fucking error that windows 98 is NOT supported. and other shit..
 
Windows 98?
 
user1182183
oh and directx won't recognize any of the available "video hardware"
 
Windows 98?
 
user1182183
@StackedCrooked Yes in virtualbox
 
@R.MartinhoFernandes In fact, no longer. Simply: it works. No specs, no glory
 
6:38 AM
Well, there's your problem.
 
@StackedCrooked Meh. FUD. Not even phunny
@StackedCrooked And morning
 
Morning.
 
@R.MartinhoFernandes: judging by his earlier assessment that the input is supposed to be an O and comes out as a b, I'd say it's this line "transactionFileStream >> transactionType;" (line 77, main.cpp)
 
@R.MartinhoFernandes The bad line, not sure. That's the problem.
 
Wut.
You know something is reading a b, but don't know what?
 
6:39 AM
Updated the read me for some context.
 
Come on. You're not a newbie.
 
Fair enough, but in my defense, I'm rather rusty.
 
user1182183
Well paralells workstation doesn't support windows98 either :/
 
user1182183
Gosh damn I hate this world.
 
6:40 AM
@R.MartinhoFernandes yup
 
How did you check if the read succeeded?
 
If the read succeeded? I suppose I don't.
I check that the file open succeeded.
 
15 mins ago, by R. Martinho Fernandes
Did the read succeed?
 
In the open method.
 
@Moshe That's not at all the same thing.
 
6:42 AM
@R.MartinhoFernandes As I now realize.
 
@Moshe here's your error handling: http://ideone.com/XLuFy
The exit code is 6. Have fun
@R.MartinhoFernandes Nope see ^ /cc @Moshe
 
@sehe Lol, never thought to add if(!) to a stream operator.
 
This: while (transactionFileStream.good()) { is pretty much a guaranteed fail. Try while (transactionFileStream >> transactionType) { ...
 
@sehe Almost Luffy!
 
@Moshe stream operators return ostream&, and ostream has conversion to (safe-)bool
@StackedCrooked Always on the subject :0
 
6:44 AM
Always.
 
@sehe Neat. And I actually genuinely understood that.
 
@JerryCoffin Well many more reads in the loop. They all need checking
 
@Moshe Now you are a step closer to being a C++ God.
 
How'd you get the exit code?
 
Visual Studio tells you what the exit code was
 
6:45 AM
@Moshe Yeah. It's one of the parts of the iostreams API that was actually designed very userfriendly (they messed up in pre-C++11 by not doing the safe-bool idiom, but hey :)
 
Yay. :-)
 
@Borgleader He posted an ideone link though.
 
I happen to not be as polished in this language as I'd like to be. But I'm trying.
 
@Moshe As does Vim :) /cc @Rapptz
 
His link is full of errors, I assumed he ran the code on his machine and only uploaded the modified main.cpp
 
6:47 AM
Ahem. Cough?
No input files there?!
@Borgleader Precisely
 
Anyone care to offer any more constructive (or other) criticism?
 
@sehe True -- they should all really be turned into a single operarator>>(std::istream &, Customer &); though.
 
Really would like to know how horrid this code is.
 
@Moshe Not constructive enough? Sorry, don't do more constructive :)
 
@Borgleader Ah. Okay.
 
6:47 AM
@JerryCoffin True. One step at a time. This homework and looks like a basic exercise in file input. Userdefined extraction operators will be lesson #3, #4?
 
@sehe Haha, thanks.
@sehe Well, it's a 3rd semester course. I remember learning all that stuff, just avoided the stuff I disliked last time around and it's biting back.
Specific question:
 
@sehe I suppose. Quite possibly even later than that, really. Making it all work (even reasonably well) without that is fugly though.
 
Is my open method kinda nonstandard, the way I pass around a file stream?
 
@JerryCoffin Now that's appropriate with the Ideone link /cc @StackedCrooked
7 mins ago, by sehe
@Moshe here's your error handling: http://ideone.com/XLuFy
The exit code is 6. Have fun
 
@sehe :-D
Ok, I'm going.. sulks
 
6:50 AM
I still don't know what /cc means in that context.
 
Oh, and pass the punchcards.
 
@Moshe s/sulk/study/g; s/study/have fun/g
Carbon copying, abbreviated cc or c.c., is the technique of using carbon paper to produce one or more copies simultaneously during the creation of paper documents. With the advent of email, the term has also come to refer to simultaneously sending copies of an electronic message to secondary recipients. Use A sheet of carbon paper is placed between two sheets of paper and the pressure applied by the writing implement (pen, pencil, typewriter or impact printer) to the top sheet causes pigment from the carbon paper to make a similar mark on the copy. More than one copy can be made by sta...
 
eh.
 
Who ever starred the quoted message?! Now even the starboard looks XFugLy
Better, thanks
 
Fucking stars.
 
6:55 AM
@StackedCrooked A good hobby
 
Groupie :p
 
lol
@sehe Nope, was a ploy to be able to star my own message. For good measure I've had you facilitate it being one boxed. Just as you s/like/hate it. :P
 
And again the quote was starred. Arguably this time less senselessly.
But I'm going to *cough* respect the author's wish *cough* here
 
@sehe :P
 
@Moshe :) too bad
 
6:58 AM
Now I have to figure out how to get the return code out of Xcode.
 
Question #2. From that typo, please infer the keyboard layout. (1 minute allotted time)
@Moshe Or fix the error handling to look less shite. I was just quickly getting to your problem, not showing good errorhandling
 
@sehe Hehe, surely you don't mean try catch?
 
@sehe Some English variant?
 
try somethingInsane catch whateverTheManiacWasThrowingOutTheWindow
 

« first day (727 days earlier)      last day (4222 days later) »