« first day (851 days earlier)      last day (4088 days later) » 

12:00 AM
@Borgleader diminishing returns? you get to fit more code on the screen
 
You can do that by buying a second screen
 
sure, there'll be a limit for readable text size, but I don't think we're there yet..
@CatPlusPlus I've done that. twice :)
 
It's probably going to be cheaper and you get more screen estate
What I want to see is monitors with thin borders
 
@melak47 at some point the human eye can't make the distinction, and so increasing density becomes useless
 
Or even no borders at all
 
12:02 AM
@Borgleader yeah...but not yet
 
And I'm talking about a TV here not pc monitor
 
well, we've been talking about monitors
so what now? :)
 
nvm me then
 
Ell
My bros monitor has barely and border
It's an IPS monitor whatever that means. I just know it was expensive I think
 
I'm using my desktop to keep all my browser tabs open in
 
12:05 AM
Yeah IPS (In Plane Switching) is expensive
 
I have 8GB of RAM to spend on browser tabs :)
 
so, after changing my system locale to japanese and back, I can now see japanese characters in explorer (and cyrillic ones, too!)
 
I have 16!
 
16 browser tabs? pffft amateur :p
 
17 here
1 active tab and 16 tabs on the LLVM and Clang references
 
12:09 AM
16GB of RAM
 
man
 
I have 6GB on my laptop, 8GB on my desktop and I doubt I ever use more than 3/4 of it
 
fuck declarations and definitions.
 
When I was using Firefox having 400 tabs was nothing out of the ordinary
 
Ell
I have 8 gb. Also after 10 tabs I find managament and finding the right tab too difficult
 
12:10 AM
I can't wait to bootstrap my compiler so I can get out of this shitfest
 
Ell
haven't tried ant tab managemtn thing yet
 
@Ell multiple screens, multiple windows...:)
 
@DeadMG yeah, eating your own shit is going to be a lot more agreeable :)
 
lol
at least then if there's a bug, it's only my own fault :P
 
At least, you can summon cognitive dissonance to inhibit the urge to complain loudly
 
12:14 AM
@sehe unlikely
 
Ell
I want to listen to some wubwubwub
Anyone have any recommendations?
 
Surprisingly accurate depiction of dubstep :P
 
Ell
Not available in my country :(
 
@Ell wait what? Pandora isn't available in UK?
@Ell oh, youtube?
 
@sehe Nothing can defeat my urge to complain loudly!
 
claptrap_ringtones > claptrap_android_ringtones > Claptrap - Wubwubwub.mp3 && Claptrap - Wanna hear the new dubstep song I wrote.mp3
 
@Ell It's fine for me.
 
Ell
Pandora isn't, on google play at least
 
@Ell Sure. Don't.
 
Ell
12:25 AM
I'm on my mobile and there is no other option but download the app whi h isn't available :/
 
@Ell Oh, I thought you meant the Tubes video.
 
Ell
It's okay im listening to knife party now :3
 
TIL C11 has some form of generics
 
Ell
Ooh
 
user1357851
 
12:30 AM
@Rapptz _Generic
 
@DeadMG Yep
Seems like a weird way of doing IMO
 
yep
 
It's type dispatch over closed set of types
So it's more like overloading than generics
 
Ell
Yeah seems weird o.O
 
Ugh my laptop is having issues. Once in a while the screen just stops refreshing and I have to reboot it :(
Also I think the sound goes haywire too but usually nothing is playing so I can't be sure.
 
Ell
12:34 AM
Dubstep is le awesome
 
@Ell Not really.
 
Ell
Imho
 
When people say that, they mean "Skrillex is le awesome".
 
It can be not bad if it's not the same 5 seconds on a loop
 
And Skrillex isn't really dubstep.
 
Ell
12:35 AM
I don't know scrillex music o.O
 
@CatPlusPlus It's usually 50 seconds.
 
I swear most Skrillex things sound exactly the same
 
@Ell Oh, you probably know much more than you think.
 
Ell
I guess I probably don't knkw what actuall dubstep it is, but my impression of what it is is awesome :P
 
Exactly like you know some Daft Punk if you've listened to French house sometime in the past decade.
 
Ell
12:37 AM
I'm listening to rage valley by knife party. I like knife party, I like whatever music they do :P
 
Burial is the stage name of William Bevan, The Wire magazine named it their album of the year, along with achieving fifth place in the Mixmag 2006 Album of the Year list, and eighteenth in the best of the year list of The Observer Music Monthly supplement. Burial's second album, Untrue, was also released to critical acclaim and was the second-highest rated album of 2007, according to the review-collating website, Metacritic. Identity and Mercury Prize nomination Although both albums have been met with much widespread acclaim, Burial remained anonymous until August 2008, and said in a...
You should check that out.
 
The Glitch Mob is nice; I don't know if that's dubstep but it's electronic so whatever
 
More specifically that album.
 
I've never understood the obsession with music taxonomy
It's either listenable or not listenable jesus
 
Ell
Meh I dont like burial it Seems :P
 
12:43 AM
Well, it's subtle.
It took me multiple shots to finally start liking it.
 
Ell
I think its a bit too subtle to me
i like The whole wubwubwub loud thing
It's chaotic and I like the sounds
 
White noise is chaotic too
 
@Telkitty lolcat FAIL
 
hi everyone
 
Ell
Internet friends by knife party is a disturbing song
"you blocked me on facebook and now you're going to die."
 
12:50 AM
looking for help with a CUDA problem
 
/agree but I feel more social tonight
 
Then be social
 
I've got a large matrix and I need to perform arithmetic operations on its columns with CUDA.
 
(Besides, our only resident CUDA user will rip you apart before answering any questions)
 
12:52 AM
omg?
 
Ell
Omg.
 
We have a CUDA expert?
 
@Borgleader beetle
 
I'm printing '\r' to clear the current line of output, and using that to draw a progress bar on the command line...but after running for a few minutes, it starts printing on new lines instead of overwriting the same line O_o
 
Ell
I had no idea \r did that
 
12:58 AM
don't suppose you have an idea why it would stop doing it then :/
 
umm
'\r' is the return carriage, right?
 
Ell
Nope :/
Sorry
 
@CCInc yea
 
@CCInc yes
 
returns the carriage to the beginning of the line
 
12:59 AM
That's an interesting use of '\r' @melak47
 
Hi @MooingDuck!
May I please ask you a q?
 
@melak47 strange
 
user1357851
rofl duck has a stalker
 
...
 
I have a fixed number of worker threads running, who grab work from a lockfree queue until it is exhausted..yet when I debug in visual studio, I get a constant stream of "The thread 0x1f8 has exited with code 0 (0x0)."
 
1:07 AM
Are you sure those messages are from caused by your application and aren't just part of Visual Studio's normal operations?
 
@CCInc What other use of '\r' have you ever encountered? (Apart from encoding for the number 13?)
 
user1357851
It is true sehe, I heard this user kept on asking for duck every day. One can only assume duck has got himself a stalker.
 
@Telkitty Well, thanks for the report, Sgt. Obvious. Dismissed.
 
@Borgleader more threads, more messages
 
@Telkitty And by the way, one can assume many other things, some of which are close to the - mundane - truth
 
1:10 AM
I mean, could it be the debugger's threads terminating and not yours?
 
user1357851
why would debugger's threads terminate?
 
@Borgleader must be..if my threads were dying, there would be nothing to respawn them and no work would get done
 
@Borgleader Is what I'm thinking. Perhaps something in a framework is running debugger helpers of some kind.
 
I'm mostly suggesting it's VS because I'm pretty sure I've seen those when running single threaded console applications
 
bleh. I'm more interested in why I get a random abort() from msvcrt.dll sometimes
which doesn't like to be reproduced >_>
 
1:15 AM
@melak47 How are you clearing the line
abort is traceable
 
@CatPlusPlus just cout << "\r"
 
That doesn't clear the line
You probably write too much at some point and it overflows to the next line
 
ah
 
@melak47 three! ah ah ah
 
lol
@CatPlusPlus I can only trace it to msvcrt though, somewhere abouts threadstartedex or something...
trying to reproduce it again but of course I can't...
 
1:20 AM
> If you look in your C:\Windows\Media folder, you'll find a MIDI file called onestop. What's the story behind this odd little MIDI file? Aaron Margosis considers this file a security risk because "if an attacker can cause that file to be played, it will cause lasting mental pain and anguish to everybody within earshot."
 
@melak47 There should be something of yours between start of the thread and abort
 
@CatPlusPlus there wasn't
all the frames in the call stack were msvcrt
 
Check every frame
 
@CatPlusPlus Okay. I got a pretty solid knowledge of 2D, and how to create it out of nothingness using OpenGL/DirectX as the backend.
 
Also don't compile with frame-pointer omission
 
1:22 AM
I'll try to get there again, but it only seems to happen with large datasets, which take a while to get to the download stage ._.
 
Also check for stack corruption
 
I do get little jolts of surprise whenever I read WP7.1 - "Wait! People still use Word Perfect?!". I guess that's betraying my age.
 
user1357851
your age is on your profile
 
user1357851
surely your devoted stalkers would have known it
 
1:49 AM
Who the hell would be stupid enough to stalk a bear? It can friggin decapitate you with one slap to the face
 
I've also heard that polar bears are more aggressive than even grizzlies...
So stalking a polar bear is about the dumbest thing you could do short of parsing regex with html.
Fuck. Did I really just say, "parse regex with html"?
 
@Mysticial Somewhat more aggressive, but mostly a lot smarter from what I've heard.
@Mysticial No, you typed it (though that's no improvement, of course).
 
Hi Jerry & Mysticial :)
 
@Borgleader Hello.
 
@Borgleader Hello.
 
1:58 AM
@ThePhD I was thinking about web-based text-based thing really, with Haskell/Elm at the core
It's in rough idea stage anyway and will probably never make it to POC stage so
 
@CatPlusPlus In that case you'd still basically use OpenGL, but instead of executing it directly, you'd ship it across the connection as WebGL so it could/would execute on the client.
 
Considering text rendering is one of the things OpenGL is absolutely atrocious at, writing a text-based game using OpenGL is definitely a great idea
 
@CatPlusPlus Sorry, didn't realize that was what you meant -- I thought you meant text based as in text would be what you shipped across the connection. But you're certainly right -- for a test game, OpenGL would be worse than useles as a rule.
 
I should go to sleep
I think I'm finally starting to grasp arrows
And ugh 3AM so yeah
Later
 
@CatPlusPlus G'night.
 
2:16 AM
What is the 'POC Stage' ?
Ooh, maybe Proof of COncept?
That's my best guess.
 
@ThePhD I believe so.
 
Hm....
Well, I've had ideas for text-based games.
I've never really worked with Haskell or Elm either.
So, I might as well join up, and contribute like mad.
... Right after I learn me some Haskell.
 
user1357851
2:46 AM
If you get a cake like this:
 
user1357851
 
user1357851
will you cut it down and eat it?
 
2:59 AM
If you don't then whats the point
 
user1357851
3:11 AM
Decoration I suppose ... legless barbies aren't exactly pretty :x
 
@Telkitty Start with the head.
Also,
RAINBOW WOLF!
My models are so pretty after I fixed everything. ^______^
 
@EtiennedeMartel You're awake already?
 
@ThePhD It's still 22:15 here.
 
Oh.
 
3:16 AM
I wonder if there's an easy way to get the argument types of a function at compile time.
Is there a function_traits or something?
 
Maybe std::function has stuff inside of it?
argument_type, first_argument_type, etc.
Maybe you can use that.
 
If I got some template parameter
 
typeid?
 
Erm. Let me start again.
@Rapptz That's runtime.
 
Not very possible with something like lambdas, though: stackoverflow.com/questions/6202021/…
But for static functors, it's doable.
 
3:22 AM
I got something.
Like this:
template<class Func>
void Register(Func f)
{
    // f is a binary function, I want to extract the types of those two arguments
}
 
Hm.
You can just template deduce the arguments.
 
Why isn't the Robot here when I need to do some template wankery?
 
Lol
Invoke him using Bananas
I'm like 99% sure I can solve this one though!
 
I don't think you can get the type at compile time.
 
I think you can.
 
3:25 AM
@Rapptz I'm sure I saw something like that at one point.
Oh well, I'm gonna do it differently.
 
Waait
I'm writing an implementation right now!
 
Well, quick question.
What are you going to do with the type info?
If you don't mind SFINAE you can use std::underlying_type?
but I don't know how that'd work with functions (lol)
 
Got it!
I think
 
I'm pretty sure std::underlying_type is what he's looking for
 
Wellll
I don't know how tha thting works anyways. :c
Also, I have no idea how to reference the type of a static function...
stacked-crooked.com/view?id=8fd325e00c3f1ae3372cc6ab908be126 <-- If I can make that work I'll be good to go.
Blargha
I forgot how to get the type of a function pointer or function type
 
3:36 AM
I can't seem to reproduce my app crashing when I try to find where the problem is coming from...but I just profiled it and got this:
 
@ThePhD Ah never mind -- it doesn't work without an enum type.
 
and that _Call_func function was the one that called abort() the last time I got it to fail in VS
 
o_O
Holy christmas 94.7%
 
inclusive samples
 
@Rapptz I sort of figured it out but GCC is giving me...
.... really weird shit for output.
 
3:39 AM
those lambdas down there is where most of the actual work happens, the rest is spent doing nothing waiting for downloads to complete
 
@ThePhD error: 'int' is not an enumeration type
don't bother
 
Mmm.. well, okay.
On the bright side, it technically separates the different types: stacked-crooked.com/view?id=544470d77e37ccbcededb2094a6b030b
I don't know if those mangled weird-ass names are actually int and bool though. :D
 
Coliru has a weird favicon
 
Indeedy.
But hey, I figured out Etienne's issue!
I deserve a cookie.
 
lol, 31.58% of exclusive samples spent in std::string::find :E
 
3:42 AM
@melak47 Dat string.
 
Isn't the VS2012 profiler so pretty though?!
 
I guess?
 
For having shitty C++ standard conformance it's a nice IDE.
 
it's even prettier when your functions aren't buried 4 layers deep in runtime functions :D
 
I forgot how to use using for types...
... Fuck it, typedef.
 
3:44 AM
using a = T
 
_threadstartex -> _callthreadstartex -> _Call_func -> _Go -> lambda::operator()
 
Hm.
There's a special way to demangle GCC .name(), but I forgot...
@EtiennedeMartel Well, I figured it out to the best of my abilities, and it seems to be correct: stacked-crooked.com/view?id=a398585f433fcdd9da6618a340bd9c3d
 
Indeed. Thanks a lot!
 
Oh my god I contributed something to somebody else in the chat.
<Glory/>
 
I can't figure out why something in that chain likes to crash randomly ;_;
 
@Rapptz LOL. Have the same experience once though.
 
Hmm, doesn't seem to work in MSVC.
 
What doesn't? :O
 
@ThePhD It picks up the non specialized version.
When I look in the output, TFuncSignature equals something with the call convention in it.
I wonder if that fucks up something.
 
4:04 AM
Hm. I still don't know why you'd extract the types
 
Because I need them later on.
And I don't want to have to specify them by hand.
 
Hmmm. MySQL 5.6 is now GA.
 
@EtiennedeMartel I'll give it a try in MSVC myself and see if I can get it to behave. :O
@EtiennedeMartel The class works for me. o_O
Type t = typeof<function_traits< decltype( main ) >::arg0_type>( );
std::cout << t.Name() << std::endl; // Produces 'int'
I'm pretty sure I'm not doing anything spectacular or special in those classes...
 
typeof? lol
 
Yeah, I made my own Type class.
It was when I didn't have type_index, so I had to write my own hashing on it.
If C++11 is on, it'll just defer to using type_index internally.
But yeah, function_traits is working for me with the November CTP, @EtiennedeMartel . I'm not using any special C++11 functionality though, so it should work pre-C++0x.
 
4:19 AM
@ThePhD Ah, I don't have the CTP. Maybe that's the problem.
 
Oh, dear. Um. Hmm...
Let's see if I can put it in a non-CTP project and get it crunching.
 
@ThePhD "special C++11 functionality" -- type_traits, functional
lol
(latter available through tr1, not sure about former)
 
Well, I'm not actually using those two
... I'm not evne sure why those headers are there. o_O
 
No need to spend that much time helping me.
 
@EtiennedeMartel The following works for me in a non November CTP project, VC++2012 though. stacked-crooked.com/view?id=7042592dc59da362adcc3dfd0ed14cab
I don't know if earlier versions of the compiler have decltype, though.
I wonder how you would do that without decltype...
Without using decltype, you just have to be explicit: typedef function_traits< int ( int, char** ) > ftype;
It doesn't seem to behave if you make a function-pointer type, though (with the (*) before the argument list)
Let's see if I can make it behave for function pointers...
Got it to behave with function pointers.
But you need one declaration for function pointers, and one for just straight function-declaration-like syntax.
 
4:32 AM
user image
5
 
Wow.
That's both sweet, but also a real dick move too.
Sure she's happy that he was that sweet, but now she has all those feels and he's dead.
 
Have to admit it's pretty sweet, I think it won't be sad feels though.
 
Well yeah, it's not that the feels are bad feels.
It's just... damn. You miss him all the more.
I know if I had a person I loved that much and a year later I get flowers and shit from them with that kind fo card, I'd go on an emotional roller coaster all over gain.
 
anybody want to test drive my flickr downloader?
@ThePhD how about it? :3
 
5:42 AM
What?
I need to do what?
 
5:53 AM
^ Just found that on an ad.
 
@melak47 I don't really use flickr, so I won't be able to Test Drive it well at all. :c
 
@ThePhD it's more for downloading photos from other people
@StackedCrooked morning. I'm going to bed
so...night :)
 
@melak47 night :)
 
Niiight.
@melak47 Ah.
Makes sense then.
 
7:05 AM
I think I'll use this as a quiz question at work today. Why does one compile and the other not.
 
@StackedCrooked WTF.
 
You like it? :)
 
@StackedCrooked You know why's that?
 
user1357851
What about my other suggestion of starting writing our own smart phone OS using C/C++?
 
user1357851
writing a new language is fun but new smart phone OS is $$
 
7:11 AM
@StackedCrooked One is trying to return by copy, instead of by move. This happens because one of them has storage duration that breaks the regular rules of r-value-ness (being static means it has a lifetime beyond that of the function which disqualifies it as an r-value).
Do I win? :O
 
Yeah.
 
YAAAY
What do I get??
 
@StackedCrooked Fuck. static. Didn't...
 
Actually, in a() an xvalue is returned as move.
 
@ThePhD That rule isn't defined in those terms. The expression has to be simply the name of a local variable to be moved.
 
7:13 AM
I think I should really have an eye test NOW.
 
Well, static means it's no longer local.
Which is what I was trying to say, I guess.
But I don't know any of the C++ standard. :D
 
Yeah, it's still the gist of it. No move for Mr static.
> in a return statement in a function with a class return type, when the expression is the name of a non-volatile automatic object (other than a function or catch-clause parameter) with the same cv- unqualified type as the function return type, the copy/move operation can be omitted by constructing the automatic object directly into the function’s return value
The other implication is that if the other function said return (ptr);, that also would not compile.
 
It can also be explained in a layman's terms: the compiler decides to change a "copy and destroy original" into "move". Which boils down to the same thing and is more efficient.
 
Well, it would be invalid. There's probably some compiler that wouldn't reject that :P .
 
user142019
7:30 AM
Omg.
 
user142019
My teacher uses IE and Bing. T_T
 
user142019
Also good morning.
 
user142019
Haha we have to install SQL Server.
 
user142019
Ain't gonna happen; I have no Windows. :P
 
main.cpp|7 col 5 error| static assertion failed: !!!
      static_assert( !std::is_copy_constructible<annex::optional<std::unique_ptr<int>>>(), "!!!" );
Well shit.
Following the rule of zero is so much easy that when it comes to actually writing some primitive it is painful.
 
user142019
7:44 AM
Does SQL Server run on Wine? :P
 
user142019
Or Mono?
 
user142019
Oh well, care.
 

« first day (851 days earlier)      last day (4088 days later) »