« first day (943 days earlier)      last day (3988 days later) » 

12:02 AM
RAM was well received apparently
lol, Project Euler uses mathjax yet this still happened
jpg compression :|
 
12:17 AM
I got 2 threads running on a batch job, sometimes it takes 20ms (good) other times the batch takes (40ms) bad. Anybody have any ideas whats going on? When I use Windows to pin the threads to certain CPUs I get a lot more bad 40ms times...
 
The non-real-time OS is going on
 
I never saw this kind of stuff on Linux...
Yeah so when I pin it with a strict affinity mask I consistently get ~40 ms (bad) timings.
 
@Mikhail Why did you pin it with a strict affinity mask? 20ms/40ms is geological compared with typical inter-thread signaling latency, so real-time or not is a red-herring. How exactly did you screw up your design?
 
@MartinJames So what you're saying is, the cat was wrong in blaming windoze?
 
@MartinJames I don't know I have a very simple producer consumer in c++ with 1 barrier in the middle and 2 threads . If I run it with only 1 thread I get a 50ms timming (which is worse). The VS profiler says all the time is spent doing the work in either case...
 
12:30 AM
Sigh.
I wonder if a quick C++ script would be better than batch
 
I use boost regex instead of python
 
Can anybody help me with xcopy?
 
it's pretty straightforward tbh
 
wtf do you want to do? Did you ask about this 2 days ago?
 
it seems that way, but I keep failing.
 
12:32 AM
just use copy
 
I need subfolders.
 
@Pawnguy7 What would it do?
Also why not use.. Python's os library
 
I don't know it either. I just want to delete folderx, copy a new one from foldery, and rename it folder x.
 
xcopy /ei lol wat
copies folder lol into folder wat
 
Instructions a bit unclear
 
Hm.
I think that worked.
 
12:54 AM
then go sleep/eat/go somewhere that's not hot
heh
 
this is google, right?
 
this is google
 
you're google?
 
I wish I was
 
Okay guys, when I scale from 2 to 4 cores I have the same exact % spent in each function (slightly worse for 4 cores). All my code is SSE 4.2 nonsense. Any ideas? How can I check if I am memory limited?
Also the % CPU usage is about the same, always under 20% on an 8 core 4/4 intel
 
1:09 AM
@Mikhail Perhaps it's because your function will run only on a single core.
 
is it weird that I delete my browser history, chat history, and clear my registry every three hours?
 
@MarkGarcia Its lookin like it but I don't know why or how that could happen? Doesn't each core have its own SSE registers? I mean I wrote standard C++ code with no #pagma's and the optimizer was able to automatically vectorized it.
 
@Crowz every 3 hours? yes that's weird
 
@Mikhail You scale up with the number of work than can be done in parallel (by the number of functions you can run at the same time). You would likely see no performance improvements when you only measure the performance of one function.
 
Clearing your registry...
like deleting HKLM or what are talking about?
 
1:16 AM
in batch
does this not work?
 
@MarkGarcia my function does a highly separable task (fusing together an 8 megapixel image) with 1 thread doing the top of the picture and one thread doing the bottom of the picture. If this doesn't parallelize I am in trouble...
 
:label

goto label
 
@Mikhail Oh. So you somehow have a thread launcher then. Are you using std::async?
 
@Mikhail C++ AMP :P
oh nvm youre on linux as well
 
1:18 AM
@MarkGarcia I have a persistent thread, in a producer-consumer. The VS profiler says I am spending all of the runtime in the relevant functions... Also I am on Windows now and it makes me sad. I have my GPU full of science so I can't do AMP.
 
GPU full of science!?
how do you fill something with science?
 
With CUDA?
In general it requires a few months.
 
I prefer C++ amp to CUDA
 
I don't know why my code doesn't work then
It doesn't loop.
 
although I think C++ amp does CPU parallelization too, not sure though
 
1:23 AM
@Mikhail if you have a quad or 8 core...why aren't you using moar coars?
 
like...
if I have the code enclosed in that
how can it be that it closes?
 
because you used goto thats why.
 
@melak47 4 of the cores are HT. Anyways the profiler and runtime are the exact same for 2,4, and 8 cores... And the CPU usage stays under 20%... I am sure I launched the producer threads and I throw them to highest priority. Something strange is going on...
 
how else do you do it in a batch?
 
why are you using batch?
 
1:26 AM
simplest in theory
 
@Mikhail what are your producers producing?
 
@melak47 A binary value, every-time I copy the image off the device I have my consumers consume the image... 1 producer copies from an IO buffer and then releases the condition variable for the 2,4,8 consumers.
 
any ideas?
 
@Pawnguy7 I have no clue what you are talking about.
 
my goto isn't... working
 
1:30 AM
@Mikhail copy what image of what device, what is this binary value, what is going on? :p
 
@melak47 I got a hardware device that gives me a nice 8 megapixel image (large array of ushorts). I have threads that do magic to it. But I can't get the operation to benefit from multiple CPUs. The threads do part of the work, but I don't get any speedup.
w/e
time to eat my problems away
 
lol, what magic are you doing
 
building a topological map out of series of photographs
 
hm..
what are you doing, some kind of convolution operation or something?
 
@melak47 it sounds more like he did a confusion operation on his brain ;)
 
1:40 AM
lol
 
Well the convolution is handled optically, the program combines the images by only looking at individual pixels so its rather separable.
makes me sad
 
I don't really know what you're doing, so I have no clue why it's not working
 
If I am doing SSE operations does each core have SSE registers or are they all shared by the CPU?
 
I dunno ._.
 
Mysticial would know, but hes not here :(
 
1:43 AM
I work about 300 meters from that guy and I have never spoke with him or seen him :-)
 
@Mikhail Intel gives each core its own floating point/SSE unit. AMD is currently using one floating point/SSE unit shared between a pair of cores, if I recall correctly.
 
@Borgleader Just ping me. I'm not always watching here. But I usually have it open in one of my tabs.
 
Oh hai :)
 
I can't sleep :(
 
@Jeffrey its like 8:00pm go out and drink
 
1:45 AM
@Mikhail It's like 03:45 am actually
inb4 timezones
 
@Jeffrey Looks like you need a new clock because mine says 8:45. Try getting time since epoch.
 
@Mikhail I moved back to California about 3 days ago. So not anymore. :)
I technically dropped out "graduated".
 
@Mysticial Thats interesting, because I rejected a job at NVIDIA to program CUDA for 15 an hour. Which in retrospect was confusing.
 
15 an hour? Isn't that like minimum wage?
 
thats pretty low
 
1:48 AM
Its half as much I got paid last summer :-(
 
@Mikhail yeah, funny
 
As a graduate student I make less then I made as an undergraduate :-(
 
How they expect any programmer to accept 15 an hour? At least in the states. Not sure about other parts of the world. :P
 
@Mysticial I work in a lab in Beckman...
 
That's different though since it's school. But NVIDIA is a company.
 
1:51 AM
@Mysticial I'm pretty sure $15/hr works out to less than your average welfare recipient gets.
 
I rejected a job at NVIDIA (and a few other places) to go to graduate school :-(
 
I rejected a job at MS to go to graduate school.
 
@JerryCoffin hello :)
 
dude graduate school sucks, why didn't SO warn me
 
@Borgleader Hi.
 
1:52 AM
They didn't go all the way to giving me an offer since I told them I was going to go to grad school. But before I told them, they seemed like they were preparing an offer.
 
Is there a reason why do you guys hate Reddit?
 
@Mikhail I found that SO gets me more opportunities than grad school. Which is part of the reason why I left.
 
@Jeffrey Who said we hated reddit?
 
@Borgleader i hear things
 
ETERNAL SEPTEMBER
 
1:53 AM
What up all
 
@DemCodeLines Are you that guy?
 
Yeah I am that guy that comes to C++ room and says "What up all"
 
.notify_all();
 
No I meant that one that had that love problem...
 
just love problem or that love problem?
@Jeffrey ^
 
2:18 AM
@DemCodeLines so edgy, bro
 
@DemCodeLines, don't worry mate, it's ok.
 
why do people say "I created and compiled my own software"
that is like saying "I made and rode my own bike"
 
@Johann edgy? what?
@Jeffrey What?
 
@DemCodeLines either you are playing dumb or your are dumb. In both cases don't worry, I forgive you.
 
Hello, tits.
 
2:22 AM
Hello boss
 
@Jeffrey what makes you say I am playing dumb?
Anyways, I was just fooling around with you, yeah I am that guy.
 
r/cringepics
sorry patchy wi fi
 
I wonder how many days it takes for the "eat nothing" diet to work it's magic
 
3
 
zero
 
2:32 AM
@DeadMG from 46 to 73, why do you ask?
 
n + 1
 
Christopher Johnson McCandless (February 12, 1968 – August 1992) was an American adventurer who adopted the alias Alexander Supertramp and hiked into the Alaskan wilderness in April 1992 with little food and equipment, hoping to live simply for a time in solitude. Almost four months later, McCandless' remains were found, weighing only ; he died most likely of starvation near Lake Wentitika in Denali National Park and Preserve. In January 1993, Jon Krakauer published McCandless' story in that month's issue of Outside magazine. Inspired by the details of McCandless's story, Krakauer wrote a...
 
because I'd like to feel less shitty soon P
 
Starving yourself definitely won't help
 
@DeadMG I'm pretty sure you are kidding...
 
2:33 AM
@Rapptz If there's nothing in my stomach, I can't throw it back up.
 
Flawless logic.
 
Why would you?
 
I also consider this flawless
 
@DeadMG Air...
 
@MarkGarcia Gotta deal with something else to handle that.
 
2:35 AM
When you throw up, you throw up gastric acid.
The food is just bonus.
 
@DeadMG Water is a very good filler.
 
oh
 
Should I use /MD or /MT'?
 
What's that?
 
Static vs Dynamic linking for windows
I think
 
2:37 AM
static
 
@Rapptz VS cl stuff, I think.
 
VS has weird non-descriptive argument names lol :(
 
Yes
By using Windows I have incurred a 50% overhead
 
VC++ is the torturer of my life. =[
 
YES
I WANT THEM DEAD
DEAD DEAD DEAD
 
2:38 AM
I don't know why so much software chugs along on VC++.
 
@Rapptz It's for us to be forced to use the IDE.
 
Sure the VS debugger is good but the compiler is...
... =[
The worst part is, I still don't know how to configure it to use MinGW fully as the compiler.
The most I can do is override the command line stuff and make it point to GCC.
 
@MarkGarcia I am 100% certain no one would ever use the VC++ compiler without Visual Studio
 
I was forced to because an OEM choose to only release WIndows drivers
 
@ThePhD Feature-and-support-wise, yes. Performance-wise, it's awesome.
 
2:39 AM
I wish I could make a MinGW toolset.
 
After using visual studios I am going to go kill myself, brb
 
@Rapptz And I'm certain that no one would use Visual Studio without VA X.
 
I tried to figure out how but apparently that shit is MSBuild upon MSBuild upon MSBuild files deep.
 
@MarkGarcia Nah.
 
When I go to MS in a month, I'll pick people's brains about it.
See if I can't get anything going.
 
2:40 AM
@Rapptz :)
 
Have we really reached this level yet?
 
@MarkGarcia I do
 
> Why did he pick today to try coke?
 
@Jeffrey Idno
 
2:43 AM
@DeadMG It's very good of you that you have not been corrupted by VA X or some similar tools. I now find myself unable to work without those stuff.
 
total newb in web dev. How do I make a website?
 
@Johann w3schools
 
already know html/css/js, but how do I make make a website
 
@MarkGarcia no
 
@Rapptz Didn't you hear my ahem?
 
2:45 AM
It's quite invisible
 
Ahem
@Johann Go to MDN then. There's much more there than in here.
 
@Johann depends on what kind of web site you want. What kind?
 
@Johann php + w3schools
 
very patchy
...
@John basic, not intensive on the js/flash
 
oh god... flash...
 
2:54 AM
@Johann Just make your own personal website.
Put stuff and thingies in there. Watch it grow...
 
@Johann is this something where wordpress would do the job? Or is it a different kind of site?
 
The only job Wordpress can do is being a horrible piece of shit
4
 
but anyways, how do I register URLs?
ugh flash
erp not wordpress
 
@CatPlusPlus And inviting hackers.
 
ugh hackers
 
2:55 AM
@John Have you ever read a line of wordpress source code?
 
PHP: by incompetent idiots for incompetent idiots
 
fuck, it's cold
there was snow a little distance from here last night
 
the only part of the web I believe in at this point is pure html bare-bones coding
 
@CatPlusPlus this is just star whoring...
@Johann well, no
 
no no?
 
2:58 AM
tbh
I had an idea about using Wide as a web language
 
@Jeffrey no, but I haven't needed to
 
@Johann No. Porn.
 
@John you should. Just to understand what mistakes you should never make while programming.
 
And I wonder how you could make a porn site in Wordpress.
 
so how do I register my URL
@MarkGarcia NO.
in long - NOOOOOOOOOO
 
3:00 AM
@Johann Not you. Me.
 
@MarkGarcia NO please spare humanity
 
@Jeffrey ha ... that bad, huh
 
@Johann Just send an SMS to 666-696969
 
...
 
@Jeffrey Ahem
 
3:01 AM
send him to the principal's office
 
@John It's the worst piece of popular software I've ever seen
 
Pfft I'll make mine from scratch
 
God I love this dance
 
@Jeffrey Perhaps, but it works. I never would have known how bad the coding was unless you had told me.
I'm too busy writing content to notice the innards of the source.
 
3:45 AM
There's lots of fucks being given on the starboard. o.-0
 
4:04 AM
I give you one fuck.
4
Coliru is still occasionally slow.
This was accidentally removed.
 
If anyone's interested, N3690
 
@chris 3, 6, 9, 0. Quite a pattern there.
 
4:19 AM
Is it me or does that look categorised differently?
 
@Rapptz The draft? It's for C++14.
lol
"This document is not an ISO International Standard."
"Document type: International Standard"
 
Oh never mind
Misread something
 
@chris Type: international standard. Value: unapproved.
 
@JerryCoffin How kind of you.
 
The headers <array>, <deque>, <dynarray>, <forward_list>, <list>, and <vector> define template classes that meet the requirements for sequence containers.
 
4:24 AM
@JerryCoffin Yes, there are some very clear warnings at the top. Best not to use it as a definitive reference until it gets polished.
 
:(
 
@LucDanton Why thank you -- it's nice to have my efforts recognized. :-)
 
All I wanted to see was the dynarray and generic lambda wording
 
What could be the difference between the draft(here) and the printed version?
 
more chapters, complete, etc
 
4:28 AM
I think the draft is good enough. I see it doesn't have graphical elements.
 
This book's pretty big
though for these kind of books I prefer them digitally for the ctrl + f aspect
 
@Rapptz I hope it's good to be read some parts of it without reading the whole.
Aw. So sloooowwwwww.
 
so sick
 
@JerryCoffin std::future<international_standard>
@MarkGarcia the letters
 
4:49 AM
@DeadMG Aw, not getting any better?
 
no
 
Have you ever felt this bad before? It looked particularly nasty yesterday, from what you told us.
 
I've definitely been worse before- sometimes a lot worse
the main issue now is that previously, I had a list of foods where if I just ate them and not much else, I would not get sick, whereas now that list seems to no longer be reliable
I'm basically down to just "bacon and eggs" and "yoghurt and fruit" as my safe foods to eat
in any case, when the local docs opens, I am going to go make another appt
 
I hope you're not sick enough that you can't peacefully zone out while watching something. Probably the best that can be made out of sick days.
 
hmm
it can easily be that bad from time to time
although usually if I sit down, it's not as bad
 
5:03 AM
Painful sickness with a painful headache: hurts bad, and you can't distract yourself from the pain what with the headache.
 
headache is mostly gone today
 
 
1 hour later…
6:28 AM
0
Q: For function pointer "fptr",why is value of "fptr" and *fptr same?What *fptr even mean?I only knew (*fptr)() or fptr()

ThokchomWhy is a function pointer behaving like an array pointer as far as this behavior goes?I mean, let's begin with the case of an array list[] where we'll consider &list and list. char name[5]= "Eric",(*aptr)[5]=&name; printf("%p,%p",*aptr,name); //BOTH ARE NUMERICALLY SAME and we can refer to a...

^^ That's an eye-catching title.
 
Xeo
Mornin'
 
evening
 
@Xeo Are you lying about the decay on purpose?
 
Xeo
?
 
Oh um, not so much a lie as glossing over the details of decaying I suppose.
 
Xeo
6:32 AM
Oh, you mean in the comment?
 
Yes, sorry. Also hi!
 
Xeo
Yeah, I don't think it's terribly helpful for a beginner.
 
@Mysticial Oh boy! I know what I am handing in my next homework assignment.
 
I suppose pointing out that signature& ref = *fptr; makes sense while signature& ref = fptr; doesn't belongs in an answer, not a comment.
 
I am sure the grader is going to love function pointers and "****************fptr"
 
Xeo
6:34 AM
@LucDanton C
No references :P
 
@Nican Learn from the IOCCC samples and that will destroy the grader. :)
 
@Nican You can mix plusses, too: e.g. +*+*+*+*fptr.
 
Xeo
@LucDanton Now we're going eBay-Comment-Style!
 
@Xeo Same deal with addressof. (I think?)
 
Xeo
There is no addressof in C, is there?
Or do you mean the operator?
 
6:36 AM
signature* p = &*fptr; vs signature* p = &fptr;
 
Xeo
ah
yeah, that works (as an example)
 
Guys.
Quick question.
 
And girls*
 
peoples
peeps
Okay I'm going to stop before this gets bad. xD
Should I expect any loaders people write to take a const String& path or just only hand them a Stream& stream ?
The path being in addition to stream
 
you shouldn't have loaders in the first place
 
6:41 AM
=[
 
Xeo
@DeadMG I think we all collectively gave up on convincing him there.
 
What?
Hey, nobody told me whether or not I should have loaders or not!
You guys told me to simplify shit to function calls. I have done that! Though some of them are just lambdas, but still: it's all function-based now.
 
morning
 
Morning.
 
are you on about using loaders for stuff like model data?
 
6:44 AM
Maybe.
They're just lambdas, really >_>;
 
I think what they are saying is, your internal rendering engine should use it's own openGL/DirectX structure for the data, in a format that makes sense for the rendering. They should know about any other format. Separate loaders will take take a .obj model (for exxample) and convert that into your internal format. And probably have a seperate bit of code that just goes from disk to memory .obj.
Thus, each section has no knowledge outside what it is specifically doing. You will then chain them together.
 
That's what I've done.
... At least, I'm pretty sure I've done that.
 
for example... auto myModel = InteralModelFormat(convertObjToInternal(readObjFromDisk(/* path to model */)));
and I would probably have readObjFromDisk potential cache the data, effectively giving you a map keyed on 'path to model'
any way, I've got to head to work.
 
Hokay.
Have fun!
 
I suck at sleeping!
 

« first day (943 days earlier)      last day (3988 days later) »