« first day (877 days earlier)      last day (4065 days later) » 

9:00 PM
@CatPlusPlus Agreed.
 
anyways, I still like writing just deleters more than wrapping every damn resource entirely
 
No, that's fine
But still I'd like it better if it was designed the other way around
 
I am not good enough to agree or not here, so I'll just nod.
 
nod, I do that a lot
because mostly, I'm clueless
:P
 
Now you've got something like
struct foo_deleter { using pointer_type = something_that_is_not_pointer; /* TOTALLY A POINTER */ void operator()(pointer_type) { ... } };
using unique_foo = std::unique_ptr<foo, foo_delete>;
 
9:03 PM
"Amplify the action with Kinect"
 
(I don't remember the API here so whatever)
 
I'd sell out for $5 million to put this stupid line at the end of my trailer.
 
@CatPlusPlus I was refering that crazy question by an equally crazy guy.
 
@CatPlusPlus can't a lambda be used as deleter?
 
@TonyTheLion That would make for a nice car gadget: they should make one of these as a TonyTheLion(TM):
 
9:04 PM
@BartekBanachewicz No
 
@CatPlusPlus :'(
 
@sehe It could appear when you talk about sex.
 
@sehe No No NO Nooooooooooooooooooooooooooooooooooooo
 
It's part of the type and it needs that inner typedef
So it's easier to just write a struct
 
9:05 PM
@TonyTheLion YessssssssssssssSS!
 
Don't Do Eet! Don't Jump!
 
Especially on Mondays...
 
look what I found...
 
9:11 PM
^ o man, the top comments rival reddit
 
Did @R.MartinhoFernandes or @Xeo post it on Reddit?
 
Xeo
@TonyTheLion I didn't.
@TonyTheLion link!
 
guys, are there any good C++ irc channels that are worth joining?
 
18.02 secs
 
Xeo
9:13 PM
@bamboon #llvm :D
 
sigh
I feel nauseous already
 
@sehe How do you even end up watching this?
 
@Xeo the one on freenet? I just joined it and it seems empty.
 
@TonyTheLion I dunno. It was linked of another vid that was posted here, and which I incidentally didn't watch
 
Xeo
@bamboon irc.oftc.net - it's about Clang and llvm mostly though, so I don't think it works for "general C++".
 
9:15 PM
@BartekBanachewicz what
 
Heh, STL seems to think that SFINAE shouldn't be used in your article
 
Xeo
@TonyTheLion Wait, STL?!
 
yes, seems so
 
@sehe guess what can I play :P
 
Xeo
@TonyTheLion I especially said "let's take a silly example". :<
 
9:16 PM
@BartekBanachewicz you wasted 4.99 / 2
 
Xeo
The advise with inheriting N-1 is spot-on, though /cc @LucDanton
 
@Xeo I don't recall what that is.
 
@sehe I actually bought it directly from them for $3
 
s/vise/vice/
 
@Xeo he may have overlooked that part
 
9:17 PM
@sehe The joke chain in the comments are pretty sweet.
 
Xeo
Although that would inverse the order you have to specify the choices in, so I'd probably rename it to score.
@LucDanton Ranking overloads, with choice<N>.
 
Yeah, I do recall that. Just not the advice.
 
@Xeo Yes because reddit nicks are very verifiable
 
Xeo
@CatPlusPlus The comment actually rather sounds like him, and I'm going through his other comments now.
 
@sehe also, wasted? This game is awsum.
 
Also, @sehe, it seems the last time I was here was Feb 19
 
Blargh...
Looks like I need an initialize method. ;~;
 
@Xeo woah that's long
 
are macports gcc-built executables portable to systems without macports?
 
9:24 PM
@Xeo So, about that advice.
 
@DomagojPandža Why do you post these? How do you even?
@Drise :0
 
Xeo
@LucDanton Yes?
 
What was it!
 
lol
 
Xeo
Oh
 
@rubenvb I doubt it, because macports has a lot of inter-macports dependencies while homebrew for example relies on standard apple stuff
 
Xeo
I currently do choice : choice<N+1> and terminate arbitarily.
 
oh homebrew
I knew abut that
 
Xeo
STL said I should do choice : choice<N-1> and terminate at choice<0>.
8 mins ago, by Xeo
Although that would inverse the order you have to specify the choices in, so I'd probably rename it to score.
 
@Xeo Btw he is aware that the false?: trick is his, in the context of the Pythy thingy? I'm wondering why he suggested it if it isn't alright.
@Xeo Yeah, that is neater.
 
Xeo
9:27 PM
@LucDanton Hm, I should talk to him about that.
 
what is false?: trick
 
@Mysticial lol
 
@Mysticial o_O Lovely, js code that isn't obfuscated.
 
@Cat 36.5s and I am dying.
 
How many passes does a C++ compiler make over the source code?
 
9:35 PM
> And wouldn't you want to do it in a language that runs faster than javascript?
Jesus
 
Xeo
@ThePhD Generally, 1
 
Reading stuff on Internet is bad for mental health
 
@Xeo lol:
> However, if someone is additionally willing to write a 20 KB explanation like the one above, in my style, with my level of knowledge, they are welcome to impersonate me whenever and wherever they want (in fact, they should contact me about job opportunities). STL on Reddit
 
@CatPlusPlus newbs
 
@Mysticial no wonder that people are reporting 20 minute login times for simcity. Everything runs on JS! :p
 
9:36 PM
@sehe clear win.
 
Xeo
@LucDanton Thing is, that false? non-constexpr : constexpr is a valid constant-expression, while just constexpr_fun(lambda) is not. For our purposes, we also can't use that false?: trick, because that never actually evaluates the lambda. :(
 
@BartekBanachewicz I'll upload my run in a sec
ffmpeg can't handle Dxtory codec
 
@CatPlusPlus why are you recording with that terrible thing then
 
@Xeo We don't need the lambda. We need instantiations. Let's discuss that later though.
 
9:39 PM
@rubenvb Oh it's a known codec alright, but it craps out on actually decoding it
@melak47 It's not terrible
 
@CatPlusPlus oh.
 
@CatPlusPlus huge watermark, special codec...
 
Xeo
@LucDanton Ping me when. :)
 
@melak47 Every recording software has its own codec
Also I bought it so it doesn't have a watermark anymore
FRAPS limits videos to 30s in trial mode
And doesn't support recording to DirectShow video source, so I couldn't use it with XSplit
Dxtory is p good
There's that Bandicam thing too, but I don't remember if I tried it or not
 
Hm.
 
9:42 PM
Anyway, this game is sick
 
Overall I'd recommend Dxtory if you want to record OpenGL/DirectX apps
 
0
A: storing 1 million phone numbers

Paul Romsky/******************************************************************************** Filename: Phone_Numbers.c Author: Paul Romsky Company: Autoliv AEL Date: 11 MAR 2013 Problem: What is the most efficient way, memory-wise, to store 1 million phone numbers? Cave...

^^ wtf?
 
Ugh ffdshow can't be used to encode or what
 
@CatPlusPlus Xsplit didn't need any additional software to capture video last time I used it
 
@melak47 Dxtory works better than capturing a screen region
Xsplit has its own DirectX/OpenGL capture thing but it requires Premium subscription
 
Xeo
9:44 PM
@LucDanton: Erp, reversing the way choice inherits now means I can't have a blanket select_overload anymore. :(
 
Or maybe Personal I don't know, requires subscription in any case
 
@CatPlusPlus can#t encode to what?
 
Well anything, I get some crappy choices for encoders
 
libavc, libx264? or something? :S
 
I'd be happy with that but nope
MJPEG, HuffYUV, FFV1, DV and uncompressed
 
9:47 PM
D:
 
Ell
If I have a "Capture Session" type which ends a capture when it is destructed, if I want to return this from a function by value, will it be destructed when being returned - e.g. copied then destructed? Should I make it copyable and write a move constructor?
 
Yes
Well, no, depends
Also moving doesn't require copy ctor
 
Why can't my bladder convince my brain to visit the bathroom? :(
 
If you're not sure if it's going to be moved, then move it explicitly
 
@DomagojPandža because inertia
 
9:48 PM
If it's a local then it might be viable for RVO/NRVO
 
Ell
Actually I think it makes sense for it to be non-copyable
 
@CatPlusPlus what does ffmpeg -formats list? just those you mentioned?
 
@melak47 ffdshow uses its own ffmpeg (also it lists them as decoders just fine)
 
@CatPlusPlus oh. hm. my head hurts
 
9:50 PM
Yeah looks like it's mostly intended to be decoding not encoding
 
what are you looking to do, compress the stream?
on the fly, or to a file to upload somewhere?
 
I want to reencode from Dxtory to VP8
 
Hello, World!
 
why VP8, you scared of the MPEGLA? :p
 
I support giving the finger to MPEGLA
Besides YouTube might process it faster
And enable HTML5
 
9:53 PM
so you're trying to encode a finished recording? why not use a different ffmpeg with more encoders?
 
Yes, Apple, laying out the object first and key second always makes sense.
 
I need to use Dxtory DirectShow decoder
 
Of course it does!
ermm..
 
And easiest way to reencode using DirectShow is to use DirectShow encoder too
 
user142019
@DomagojPandža y u no use dictionary literals you noob.
 
9:53 PM
@Xeo Ye
 
WebM fortunately has DirectShow filters
 
user142019
@{ @"foo": @"bar", @"baz": @"qux" }
 
Ugh DirectShow I remember the times when I had to actually install codecs
 
But then I couldn't make funny remarks. :(
 
user142019
Using dictionaryWithObjectsAndKeys: is like using stringWithUTF8String:.
 
Xeo
9:55 PM
So, I now have a reddit account.
 
Poor you
 
user142019
Always use @{}, @[] and @() for dictionary literals, array literals and construction from C types, respectively.
 
@Xeo I thought you were given a tip to solve that. Because I considered the issue briefly at the time, but since I couldn't think of a simple solution I left it at that.
 
Xeo
@LucDanton Nope, no tip. :<
> Additionally, if choice<N> was necessary, it should derive from choice<N - 1> and terminate at choice<0>, in order to avoid arbitrary limits.
Just that
 
Mmm fun VP8 filters don't show up in Virtualdub
 
9:57 PM
oh yeah, what about investigating struct fallback { fallback(...); };?
 
Xeo
@LucDanton ? I added that, if that's what you mean
Although I chose otherwise for the name, I think it reads better.
 
@CatPlusPlus why virtualdub now. I'm confused. I thought you wanted to encode with ffmpeg
 
Isn't that your blanket?
 
5 mins ago, by Cat Plus Plus
And easiest way to reencode using DirectShow is to use DirectShow encoder too
 
Xeo
Well, unless I change choice to score, then it would be lowest. Although I guess I could just make choice<0> be the lowest anyways. Hm.
@LucDanton struct select_overload : choice<0>{}; // for looks
 
9:59 PM
if you had just dumped it to a raw avi and gone from there with ffmpeg, you could have been done already :D
 
Heh, I'm so confused tonight.
 
Xeo
Yeah, I thought you read the article. :P
 
There's an article?
 
@melak47 Well yeah but that's not feasible for large videos
 
@Xeo Kidding, I'm guessing you're referring to your draft (or what was a draft yesterday). No, have yet to read it.
 
Xeo
10:01 PM
Erm. yeah
It didn't change much, though
Some typos fixed, otherwise added (with an attribution to you :P)
Btw, I you should also be able to use that technique for partial specializations with make use of typename = void in the primary template, and then enable_if in the specialization.
 
Cat, can we hate on Objective-C some more, plx? :$
 
@DomagojPandža Hate on crappy duct tape solutions instead:
The case of the COM Port Redirection - http://bit.ly/10CUu9m
Still, nice war story. I posted this as a comment: pastebin.com/C1r2Lkk5 (pending moderation)
 
@sehe I'd love to read it, but I have only a vague recollection of what the English UI says. :D
y u no use English as default? :(
 
@DomagojPandža It's not me. Also 99% of the article is English
 
@BartekBanachewicz How's it going
 
10:07 PM
 
"Reactie er heeft zich een fout voorgedaan" -> "Response: an error has occured"
 
now downloading: 5.6kb/s
 
@CatPlusPlus you mean my life in general of hexagons?
 
@DomagojPandža Funny ^ how that immediately got my attention too. I muttered my first curse when I saw that too :| Good thing the rest is reasonably well written
 
10:09 PM
@CatPlusPlus that's hell of an answer -.-
 
What?
 
> But it is really crappy that you have to, in the first place. Why don't we switch to quality software that was actually written this century?
> Either that, or, why don't we keep these applications on their intended platform? I mean, you are basically sewing together a backwards compatible virtual machine from various components (XenApp/RDP, RES manager, Application virtualization, (UAC?) virtualization, compatibility shims, what not).
> FrankenPC! summary of my response to that
 
Xeo
@BartekBanachewicz The take-away being: Don't ask Cat an "A or B" question if you want a clear answer. :)
 
He's a cat, what did you expect? :D
 
@Xeo I figured
@CatPlusPlus I am watching SC2 stream from HoTS premiere openings. I had enough Hexagons for today. And I kind of overcoded myself a bit, so I just said fuck it; will probably read FreeType docs in bed tho.
 
10:11 PM
sexy
 
@Xeo He asked A or B question?
 
oh damn I made a typo
 
Xeo
@CatPlusPlus Oh lol, the typo
 
Damn you, SC2. Now I have to shift to my Windows machine. :(
 
f and r are close together ;/
 
10:14 PM
@CatPlusPlus what did you record anyway?
 
Hexagon run
Ahaha
This video is uncompressed
 
@sehe reading docs in bed?
 
so all that :effort: for nothing?
 
Ell
I always forget how friend functions work
 
@Ell they are functions that can operate on your private parts
 
10:15 PM
@Ell when a function is your friend, it's more likely to stab you in the back!
 
Ell
@BartekBanachewicz I always forget which way the friendship happens
but anyway I've been ordered to hoover >.<
 
that sucks!
 
@Ell when you call someone your friend you allow him or her to touch your private parts
 
@melak47 Ahahah yeah
 
@BartekBanachewicz C++ sure is friendly :)
 
10:16 PM
@melak47 dat pun
 
I couldn't stop myself
 
I should've suspected something from 1-minute video that takes 2GB
Or that Compress checkbox in Dxtory codec settings
Which is not checked
 
so, wait...ffmpeg/directshow/??? didn't want to eat an uncompressed video?
 
@CatPlusPlus pffff...
 
They're bad
Let's see how it goes on a compressed one
 
10:17 PM
or is it still dxtory's codec, but the uncompressed one doesn't work with ffmpeg?
 
And whether compressing with this tanks my CPU
 
it's a 1 minute video. you'll live? :p
 
I mean during the recording
 
oh
so, you're gonna record again?
or are you gonna record the video playing back. that sounds like fun :3
 
No, that's silly
 
10:19 PM
Decompress the Lounge. Kill the noobs.
I need a new Mac. And I'll hate myself for buying it.
 
@DomagojPandža just hackintosh your super awesome desktop. what could go wrong?
 
LOL
after the decorations
the presenter said "happy b-day Stephano"
and they are now bringing the Zerg cake
so damn epic.
 
A happy b-day without a b-job is not that happy.
 
Okay got decent quality
 
@DomagojPandža they are starcraft players
 
10:24 PM
2.2GB -> 4.5MB
:v:
 
time to discover if I have correctly implemented copy ellision.
 
@CatPlusPlus Does it now look like you recorded it with a calculator?
 
2 mins ago, by Cat Plus Plus
Okay got decent quality
 
post link
 
10:28 PM
Seizure warning etc.
 
decent is not a word I would associate particularly with that video's quality, but whatever :3
 
What's bad?
 
@CatPlusPlus Woah, my head is spinning.
 
@DomagojPandža that's the point
 
Also it was slightly better before YT processed it
 
10:31 PM
@CatPlusPlus what. I got squares at ~32:00
 
@CatPlusPlus You're insane.
 
user142019
Needs more Wii.
 
@Zoidberg No.
 
user142019
I was being sarcastic you fool.
 
10:32 PM
@CatPlusPlus What did you use to make that video? I mean the animations as well as recording it.
 
@Zoidberg Pity the fool.
 
user142019
It's a pity he's such a fool.
 
@Code-Guru that's the game he was playing
 
@Code-Guru It's Super Hexagon
the game
Recorded with Dxtory
 
@CatPlusPlus so how do you make dxtory work with xsplit?
 
10:35 PM
Set Output1 to 1280x720/30FPS
And in Movie > Output check DirectShow Output
Then in XSplit add Dxtory Video 1 to the scene
 
neat
 
@Cat Uhwh polish gamedev community. I betcha you can get at least a few laughs link
 
user142019
 
user142019
Coconut macaroons.
 
user142019
Me gusta.
 
10:38 PM
@CatPlusPlus color me a noob...I've never played it.
 
@Code-Guru you should then
 
Or current Humble Bundle
 
user142019
Subpar Hexagon
 
@BartekBanachewicz no smart phone here ;-(
 
10:41 PM
@Code-Guru it runs on everything
 
@BartekBanachewicz oh...I see now...
 
user142019
@Mysticial dat answer.
 
yay
Wide can now cope with complex type returns.
 
10:44 PM
@DeadMG is Wide compiling to machine code now?
 
@SethCarnegie wasn't it always?
 
@BartekBanachewicz I know next to nothing about it
 
0
A: java.net.SocketException: Connection reset

user2158732i meant 193.35.58.59 and it wont let me on it just says connection error

 
I didn't mean now as opposed to previously
 
^^ well....... I guess that's a valid IP address now...
 
10:47 PM
@SethCarnegie btw thanks to your profile I found this brilliant question about different C and C++ code behaviour. thanks! :)
 
user142019
What the fuck are people thinking.
 
user142019
I mean.
 
user142019
Why would any person think that posting such crap is a good idea.
 
user142019
Is their IQ equal to the constant of the number of fucks I give or something?
 
@Zoidberg kokos makronen!
 
user142019
10:49 PM
@sehe HEB IK NET OP VAN DE HEMA :D
 
@Zoidberg Only if you give -0 fucks
@Zoidberg LOLCAPS - I just had chips.
 
user142019
@sehe I give 65535 fucks.
 
user142019
65535 is a very large value of -1.
 
@CatPlusPlus Dxtor, isn't he the serial killer sociopath that appears in a television series? Makes sense
 
@sehe That's Dexter.
@Zoidberg Better to use sign-and-magnitude than two's complement.
if you're gonna use that value anyway
 
10:53 PM
@Zoidberg "very large"? Meh. 18446744073709551615 for a start
 
@BartekBanachewicz My friend runs udkdev.net
 
sbi
Just saying...
 
@CatPlusPlus the nice thing is in Flash, and apart from the nice thing, well... I stopped reading anything related to gamedev/programming that is in Polish a while ago
It's just most of this is terrible crap. If it wasn't, it would be in english.
 
Ell
hey all
someone just unfriended me
In real life xD
 
Ell
10:56 PM
It was my ex
I still havent learned trust and loyalty apparently
 
Also, I have realized that I don't really want to make a ton of shitty games. I don't give a fuck. I'd much rather become an OpenGL expert than gamedev expert.
 
anyone here play around with unusual bases much? Can anyone verify if numbers in the range of (1,2) are valid bases? I know that 2 is valid, and 1 is invalid, I thought that range was valid, but just found a blurb on wikipeida that implies that numbers in that range are invalid.
 
@Ell man, Lounge will never unfriend you
3
 
Is there a way to get the URL for an answer or comment other than going to the user's profile and finding it there?
 
Ell
Tip: never ever promise 100% honesty
It cannot be done without screwing people.over
 
10:58 PM
@Code-Guru share.
 
@Ell I knew that.
honesty sucks
 
@Code-Guru click the share button on the answer/question? for comments I think you right-click the time.
 
I am honest with you guys
 
@MooingDuck The timestamp is a link.
 
@Ell You're very good at this life thing
 
Ell
10:59 PM
I agree. Ignorance is bliss imho xD
 
sbi
@thecoshman I don't consider this good parenting at all. If you straight out forbid your kids to talk to strangers, how are they ever going to develop a sense for who might be Ok to talk to and who might not? The way he describes the incident with the lady their kids didn't know strikes me as overly well trained.
 
@MooingDuck haha, never clicked on that link...thanks
 
Ell
@catplusplus ha Ikr?
 
sbi
@BartekBanachewicz That's a lie!
 

« first day (877 days earlier)      last day (4065 days later) »