« first day (481 days earlier)      last day (4465 days later) » 

11:00 PM
@Xeo How is that a specialization? Wouldn't a specialization be a version of a function that takes a Foo class?
 
Xeo
@Maxpm Huh?
 
Never mind.
 
@Xeo I really can't come up with a test for it, so it looks like litb territory.
 
I just realized how weird C++'s template specialization syntax is.
 
@RMartinhoFernandes litb?
 
11:02 PM
@Xeo I don't know, probably the first one, because you wouldn't have asked otherwise.
 
@je4d Johannes.
 
Xeo
@RMartinhoFernandes Hint: partial ordering applies
 
ta
 
Since I can't come up with a test, that means that I can't come up with a scenario where it matters.
 
11:04 PM
@Xeo i was coming to the same conclusion, that it's untestable. But it must be defined.
 
It's not observable.
 
I'd guess #2 by the most-specialized rule, but I've not convinced myself that it applies here
 
Xeo
@je4d That's my guess too according to partial ordering. Alas, the answer isn't given directly in the defect report. :( open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#297
 
I have no idea. And if you can't write an ideone test that proves it, I don't really care.
 
Xeo
Btw @je4d, re your tweet: To disambiguate, you'd need a (void) argument list, but they discussed a parameter list
 
11:10 PM
@Xeo ah, my bad
@Xeo I think i've come across places with variadics where that would be helpful actually, but I can't remember what it was right now.
 
0
Q: Can anyone tell me if I'm going to get the gist of Objective C and C++ by taking C#?

harveytechCan anyone tell me if I'm going to get the gist of Objective C and C++ by taking C#? It's the only one my school has right now. Thanks

Final call for a close vote.
 
@Xeo ignore that last msg, i was thinking of template parameter lists - I get what you mean now.. and don't have an answer
 
This bookmarklet has replaced food in my life.
 
What did you do?
 
Are you familiar with horse_ebooks?
This bookmarklet replaces text with horse_ebooks tweets.
And it is wonderful.
 
11:21 PM
Sure.
 
Oh man. I should try it with source code.
 
evening
 
Ahoy.
 
how goes it?
 
@Maxpm That's very nice in facebook.
 
11:27 PM
It goes verily.
 
11:37 PM
this ^
 
Sure.
You'll also wake up soon afterwards.
 
Xeo
Yay, C++11 silver badge incoming. (As soon as the SO cache refreshes)
 
tried emailing myself from bash shell:
mail -s "Test Mailer" johnmerlinos@gmail.com < /Users/johnmerlino/message
doesnt work
 
i'm not sure that posting your email in a public chat is good idea
you've set yourself up for spambots to find your email and spam you
 
11:46 PM
that email is already flooded with spambots
 
oh ok
 
oh well at least I have mastered vi today, that was a struggle, since the escape key on my keyboard doesnt work
 
I use Caps Lock.
Escape is too far away to be usable.
And Caps Lock is worthless anyway.
 
It has the problem of being a toggle, though.
 
11:49 PM
Well, when you press it, it sticks.
 
On Off
 
And not only in vim.
 
Only if it is treated as Caps Lock.
I don't do a vim mapping.
 
Is there a replacement IO library somewhere (probably boost) as a faster replacement for the std streams?
 
a real geek knows how to change the caps lock key
 
11:49 PM
Ooh.
 
I do a system-wide remapping.
 
How'd you do that?
 
xmodmap, I think.
 
Xeo
@MooingDuck printf /ducks
 
@MooingDuck Faster what?
 
11:50 PM
xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'
 
I/O is slow as hell compared to anything, really.
 
And some registry hack on Windows (KeyTweak does it for me).
 
@CatPlusPlus For codechef contests, C++ coders have to fallback on fread/printf, because cin/cout are too slow. There's also lots of complaints about the design. I expected boost to have something here, but haven't looked yet
 
Xeo
@CatPlusPlus Too bad it's not only I/O, but the formatting itself is slow as hell too
 
11:52 PM
im actually going to replace osx lion with a fresh ubuntu installation on my macbook, because lion has tampered too much with c libraries on my computer than every error I get is cryptic and useless.
 
String processing is usually slow, compared to stuff like numeric ops.
@MooingDuck Those contests are silly.
 
@CatPlusPlus I love them, they match my preoptimization mindset
 
Also, I made a repo for Haskell stuff!
 
Xeo
Okay, who's in for a declaration of war?
 
@CatPlusPlus Woot.
@Xeo Against whom?
 
11:54 PM
There's only that cyclic enum thing at the moment, but I'm gonna experiment and stuff!
 
Xeo
@RMartinhoFernandes Them
 
Them might refer to us. I need more details.
 
Xeo
room topic changed to Lounge<C++>: This is a declaration of war: Java sucks. [c++] [c++11] [c++-faq]
There.
 
Ok, that's fine. The revolution won't run Java.
Dammit, 5 minutes for 3 votes.
I'm not gonna make it.
 
11:57 PM
@JohnMerlino Linux on a MacBook? It doesn't get much hipper than that.
 
@RMartinhoFernandes boated :)
 
Don't forget to use it in coffee shops while wearing a fedora.
 
@TonyTheLion Oh, awesome thanks :)
 
I have no choice, I converse with somone who uses ubuntu and they dont get any of the problems I get when running their code. So I am done with osx lion, although the hardware itself is good. My macbook never had any problems. its just the os it comes with sucks.
 
11:59 PM
10 more days and I'll finally have the Legendary badge.
 

« first day (481 days earlier)      last day (4465 days later) »