« first day (1313 days earlier)      last day (3644 days later) » 

10:00 PM
it's funny that out of everybody that bitches about the language, I'm the only one to put genuine effort into making something better
 
Why is that funny?
 
I'm not going to spend 15 years implementing a language when there are plenty of other options
 
dunno, just seems odd.
 
I don't have time to fix the world. I learned that years ago.
 
@DeadMG Because bitching is less effort.
 
10:01 PM
So I'll dest do other things instead.
 
dest?
 
user3010322
roy
 
Roy's not here
 
user3010322
In fact, he won't be anywhere soon enough. :D
 
@ThePhD Just add overloads and call it a day.
Or well, week.
 
user3010322
10:05 PM
Eh... fine...
 
user3010322
template <typename Tx, typename Ty>
SeperableKernelFilter( std::initializer_list<Tx> kx, std::initializer_list<Ty> ky )
 
user3010322
should work, right?
 
don't see why not
 
user3010322
... <__>
 
user3010322
10:11 PM
"SeparableKernelFilter" does not take two arguments FUCK YOU VC++
 
You know what's cool?
 
user3010322
template <typename Tx, typename Ty>
SeparableKernelFilter( std::initializer_list<Tx> kx, std::initializer_list<Ty> ky ) {}

template <typename Tx, typename Ty>
SeparableKernelFilter ( Tx&& xkern, Ty&& ykern ) {}
 
user3010322
Out of these two overloads, which one would win?
 
MinGW ICEs on our code at work.
 
user3010322
With {1, 2, 3} ?
 
10:12 PM
I'm doomed.
 
user3010322
@R.MartinhoFernandes You must be doing something truly lovecraftian with that code.
 
Man just bite the bullet and call it with Tx(...), Ty(...)
 
@ThePhD Not really :(
Quite normal stuff with variadics and result_of and so on.
 
user3010322
@CatPlusPlus I don't have a type in mind for Tx
 
user3010322
Or Ty.
 
10:14 PM
This song was amazing back then.
 
user3010322
Just a list of numbers. I can... make it an array. Or an initalizer list. Or... something.
 
welp
amazing the crap that people like
 
Something in particular?
 
user3010322
Huh.
 
user3010322
Not even std::array<int, 3>{ 1, 2, 3 } works.
 
user3010322
10:16 PM
... Nice.
 
user3010322
Maybe it should be {{ }}
 
Fuck soccer balls. They are so fucking gross. I feel the urge to kill myself everyfucking time I see one of those fucking gay ass things.
 
I'll... go to sleep or something.
 
user3010322
Aww.
 
user3010322
I wanted to star that.
 
10:17 PM
@ThePhD Yes, the Rightfold's V****a Operator.
3
 
@DeadMG you find that funny? Now that's funny. Also, I rarely bitch about the language (or anything else, really, except GUIs)
 
@sehe why GUIs are bad? I know a few people that love making GUI.
 
@Griwes wait, are soccer balls used in American football now? <confused/>
 
Y'know, I do have one real question for you guys: is there a "real" C++ chatroom? :P
 
user3010322
There was.
 
10:21 PM
@hichris123 yeah, it's there: chat.stackoverflow.com/rooms/10/loungec
 
Thank you for your substantial arguments in this important discussion.
That sadly, no one seemed to have :)
 
user3010322
 
I managed to melt my power strip today
well, part of it, enough to make it not work anymore
 
user3010322
@R.MartinhoFernandes @Rapptz ^ So I can just do that, which is far less offensive than std::initializer_list<my_long_types>
 
@user2420535 you mean here? :P
 
10:22 PM
I put the electric range too close to it, now I have to buy a new strip
meh
 
@ThePhD golf clap - much reduction of typing
 
@hichris123 Sure!
 
@ThePhD An overload makes it even shorter.
Well done.
 
I seriously do not understand why you don't want to make an overload.
 
@DeadMG :c
 
10:23 PM
Expressly avoid the better solution!
 
user3010322
I'm having a hard time forwarding the stuff from the initializer_list constructor to the regular universal template argument constructor.
 
user3010322
Maybe if I add a dummy tag and dispatch to an internal function with that dummy tag.
 
@sehe Yeah, I was not referring to you, specifically, I've rarely seen you complain about C++
 
I like it too much!
 
and man, I am never gonna live Rightfold's Vagina down.
 
10:24 PM
That, in itself, constitutes an untreatable diagnosis, of course
 
user3010322
So just live in it instead.
 
@DeadMG what of it?
@ThePhD Needs labia majora
 
user3010322
I still can't even have the std::initializer_list constructor be templated...
 
user3010322
Ugh... welp. Whatever.
 
Coliru broke?
 
10:27 PM
NSA dismantled it because ThePhD's snippets pose a risk to the civilized nations
 
user3010322
Guess it'll have to do.
 
user1804599
> HttpURLConnection
 
user1804599
Urrgghhgh.
 
every now and then I go back to old questions, answers, other texts and edit them to tone down awkward enthusiasm or overly exaggerated things
 
user1804599
10:29 PM
FFS call it either HttpUrlConnection or HTTPURLConnection. T_T
 
Such an epic visual for this "security company"
 
I guess that also means I'm toning myself down as time passes
 
What's an HttpURLConnection as opposed to a HttpNonURLConnection?
@sehe lol
 
user3010322
 
user3010322
Well.
 
user3010322
10:30 PM
It's pretty much all set now.
 
user3010322
This should be good enough for determining the edges at which applying MultiSampling should be a good idea.
 
user1804599
Fuck this horrible API. Let’s find a library.
 
anyone know of C++ compression function that is in a single header file?
 
user3010322
zlib.h ?
 
France Spent $20 Billion on Trains That Don't Fit Its Stations gizmodo.com/…
sounds like something Romanians would do as well
 
user3010322
10:34 PM
@AlexM. Yeah, we heard. :D
 
user3010322
There's some pretty horrible artifacts at the edge of this thing, though.
 
user3010322
Maybe "wrap" addressing isn't the smartest idea.
 
@ThePhD I mean everything in one header without libs/src.
 
@ThePhD zlib is header-only?
 
user3010322
I never knew.
 
10:36 PM
Hm, there's miniz.c...
> Single C source file Deflate/Inflate compression library with zlib-compatible API, ZIP archive reading/writing, PNG writing
 
???? Why not post it when it's finished? Fastest Gun In The West? — dyp 5 mins ago
lolwut
@StackedCrooked Works nicely for me
@StackedCrooked lzop has a similar thing (minilzo.c)
 
In one line? Done: int dis[m]; for (int i = 0; i < m; ++i) dis[i] = i;Mysticial 6 secs ago
 
Yeah, I compiled the first example without troubles.
 
^^ I'm evil.
 
@ThePhD looks pretty nice
 
user3010322
10:41 PM
@sehe The one on wikipedia is far brighter.
 
@StackedCrooked they're horrible apis, old as hell, but they work
@ThePhD just don't tell anyone
 
user3010322
 
user3010322
IMAGE NOT FOUND
 
user3010322
Nice one, wikipedia
 
I just need to make a wrapper function that uses std::string. (Won't use streams yet.)
 
user1804599
10:42 PM
@sehe Unbroken by lack of design.
 
@StackedCrooked 5 minutes of work
 
Yeah.
 
 
user1804599
Hmm. My code should compile. Time to ship it!
 
is making me a bit sad
 
user1804599
10:44 PM
is making me a bitset
 
user1804599
Also fuck Akka.
 
is making me sit bed
 
user1804599
 
user1804599
Gonna try it tomorrow, when I have slept and worked.
 
@WilliamAndrewMontgomery I guess. Drop me a PM of some sort if you want to talk about it further.
 
user1804599
10:47 PM
Apache HttpComponents has a horrible API, but at least it’s less horrible than HttpURLConnection’s.
 
user1804599
HttpGet class instead of method parameter on HttpRequest constructor? Really?
 
user1804599
Also HttpClients class instead of HttpClient.
 
And that syntax causes a huge increase in the file size of compiled binaries. For N = 65536 (instead of 1024), my binary jumps from 15 KB to 270 KB in size!! — Cetin Sert Mar 28 '13 at 15:15
lol
 
Yeah, make fun of that. People were fighting to cut 9 KiB from final BTS binary at work yesterday.
 
I'm making fun of it because it's dumb.
What did he expect?
65536 ints instead of 1024 is going to increase memory.
 
10:53 PM
Nah.
 
user1804599
Four ints ought to be enough for everybody.
 
user3010322
Constant folding and then using math to generate things might save some space.
 
just compress the binary
 

« first day (1313 days earlier)      last day (3644 days later) »