« first day (1036 days earlier)      last day (3913 days later) » 

12:00 AM
lol
 
Dammit, I got two upvotes 1 minute before the repcap reset. :(
 
I should go back to fucking with SCons.
 
@Mysticial ...
 
"Users: Severely outdated version works fine! Developer: GREAT close"
:ruby:
 
The first version number for versioning is usually.. quite major, correct? Like, large difference or different features altogether?
 
12:10 AM
Depends.
 
I feel like it would be good to learn it, someday.
 
LOL
 
?
 
He just CLOSES the issue since ti works in 1.6.2 ?
Loooooooolololololololololololololololololololol.
Holy shit.
 
In SemVer major version number increases on backwards-incompatible changes.
 
12:12 AM
Makes sense.
Although I guess that isn't exactly the OpenGL approach
 
@CatPlusPlus ~~stupidity~~
 
I remember flagging this answer as "not an answer"; my flag was declined with the reason "Can you just delete the question?". Lol?! I notice casper then went and deleted it anyway, 24 hours later. Nice.
 
wow
I just spent a good 3 hours of trouble
just to find out that it was complaining because windows takes in \ instead of / in certain places
meh.
 
Woo upgrade to Ruby 1.9 completed.
 
Considering it's Ruby I hardly call that an upgrade :P
 
12:21 AM
How does cross platform work, again? I seem to recall you could do, say, #ifdef WINDOWS and similar, but ... where do you input the define?
3
 
Apply directly to the forehead.
 
OK, I've had a few beers, but I'm going with 3..2..1.. fuck Ruby.
 
@Rapptz like its paths?
 
Forward slash works as a path separator on Windows.
 
You can't do call bin/execute.exe (but you can do cd bin/)
so you have to do bin\execute.exe
 
12:24 AM
1. Don't use cmd.exe.
 
1. I'm not
I'm using ConEmu
 
Console window != cmd.exe.
call is cmd builtin.
 
well I wasn't actually using call, I'm not sure why I put it there
I used it to see if it was because I couldn't do bin/execute.exe by itself or some other dumb windows quirk.
 
x/y works fine in PowerShell.
 
evening lounge
 
12:28 AM
oh parts of Area 51 have recently been declassified.
 
@nightcracker Well, in UK, good morning :)
 
that's a lie
I'm GMT +1 and it's 2:30 here
still counts as "evening"/"night" to me
 
> Solr Implementation Version: 3.5-SNAPSHOT
YEAH
Deployment almost complete.
 
@nightcracker Err... GMT 01:30. For us shift-workers, it's fucking morning ;)
 
Wait, why did that get a star? :\
 
12:31 AM
2:30 is like mid-day to me lately.
 
It is not GMT 01:30
GMT +1 is currently 01:31.
We are at 00:32 Zuluuuuu.
 
Pedantes
 
Yes, if telling the time not incorrect by an entire hour is considered "pedantic" now, dipshitface.
 
@LightnessRacesinOrbit FUCK TIME ZONES AND DAYLIGHT SAVING!
 
Dunno why people struggle with it so much
 
12:32 AM
Butte.
I hate handling timezones.
Let's turn off the sun and make everything UTC already.
 
The biggest mistake people make is in storing dates & times in a format that knows about timezones.
 
@LightnessRacesinOrbit 'Cos shit time going backwards and fucking up DB transactions.
 
@MartinJames Huh? Time never "goes backwards". If timezone changes are fucking up your transactions then something is very wrong.
 
Don't run your server in a local TZ?
 
@LightnessRacesinOrbit Tell Oracle.
 
Timezone changes are not time steps.
 
@Borgleader Well, at least the studio audience is having a good time :)
 
I'm also busy figuring out how to build OpenSubdiv
 
damn.
implicit conversions means common type.
 
Oh, apart from 'fuck BST-GMT time changes', fuck 'implicit conversions' as well.
OK, maybe I should go to bed...
 
12:41 AM
eh
having no implicit conversions sounds great, but it's not really as practical as I'd like.
 
Xeo
@DeadMG Why not?
 
@Xeo Well, as a simple example, there are some conversions where the data is the same, it's just that there are multiple types- for example, const char* implicitly converting to std::string.
 
Legacy and unnecessary.
 
thanks for your non-input on this issue Cat
 
I'm going to bed before I fuck the whole world up. It's been a bad night, I'm pissed and Bailey has eaten the choco croissants I left on the kitchen table. Fuck dogs as well :((
 
12:45 AM
Subtyping is the p much the only place where lack of implicit conversions might get impractical.
 
try not to kick the dog.
 
might as well commit suicide
 
Xeo
@CatPlusPlus What's with the "p"s in your sentences.
 
ok
 
I've read too many posts from EVE community.
 
12:46 AM
so if I have a function returning optional<T>, then I should have to explicitly convert from none?
 
Sum types! Have none be optional<T>.
 
Xeo
ADTs would be nice here
 
downloading Halo 4 yay! (legally)
 
so nobody can ever write an overload taking a none_t, because none doesn't have a proper type?
 
It has a proper type, optional<T>.
 
12:48 AM
which T?
 
Xeo
C++ lacks polymorphic variables :<
 
All of them.
I dislike ad hoc polymorphism about as much as implicit conversions, so fuck overloads really.
 
Pattern match on the ADT.
 
no.
 
12:49 AM
I feel like I need a book about boost
 
also, I have no idea what that acronym stands for.
 
Algebraic data type.
 
I see.
 
Pretty sure he means Abstract Data Type
 
12:50 AM
well, having none be optional<T> for all T might work for some cases like optional, but I'd still have to consider std::string and const char*.
 
Ok.
Oh, Haskell bullshit
 
Xeo
variant<A, B, C> can kinda work like an ADT.
@LightnessRacesinOrbit Not specific to Haskell.
 
@Xeo No, I know.
But that's where Cat's got it from
(might as well jump on me when I mention bool shouting "FUCK U IDIOT BOOLEAN TYPES ARE NOT SPECIFIC TO C++")
like, chill, bro!
 
Xeo
... what?
 
I don't remember where I've used ADTs first.
 
12:53 AM
night kids
 
@LightnessRacesinOrbit night
 
Xeo
(FWIW, I think ADTs are pretty neat.)
 
I tend to invoke Haskell in language design stuff because I consider it one of the best designed languages I know.
 
@Xeo ADT ?
 
Xeo
Y'know, you can kinda emulate proper sum types in C++ with variant, (ab)using types as data constructors and visitors for pattern matching
8 mins ago, by Cat Plus Plus
Algebraic data type.
 
12:58 AM
Oh.
I dunno what that means.
Guess I should look it up.
 
Sum types and product types.
Variant is T+U, tuple is T*U.
 
Xeo
(Having heard the term "product type" for tuples now, it kinda makes sense for some languages to use * for creating tuples.)
@CatPlusPlus Somehow, I'm thinking of "T | U and T & U" now.
 
@Xeo Makes a lot more sense.
 
Xeo
Well, + and * also make sense
 
C++ would be quite a bit less painful at times if it would've natively supported tuples from the start
 
Xeo
1:01 AM
If you consider the set of possible values
 
And type inferrence, dear god
 
Strictly T x U, since it's Cartesian.
 
Xeo
a variant can be all possible values of each alternative type summed up
and a tuple is the cartesian product
ugh, 3 am already
 
Hm.
Well.
 
Xeo
Wow. That turned out quite well. And I didn't even keep my mouth shut.
Oh, sounds like the Ape was lucky
Alright, time for bed. G'night.
 
1:13 AM
what was he getting up to?
 
night
 
night.
 
Xeo
@DeadMG WGP
 
heh
anyone who survives them should be lucky
 
Xeo
his house stuff
 
1:14 AM
ah, I'm glad that it went well.
I'd really like to sleep, but I feel like I can't. :(
 
Xeo
Read from here if you're interested.
 
well that sounds like a barrel of laughs
 
@Rapptz night
 
Not me lol
It's only 9 PM
 
@sbi Congratulations! You've staved off the threat and kept the den safe. Your efforts won't be in vain. <3
 
1:19 AM
@ThePhD He said it went well, not that his ordeal was over.
 
@Rapptz then who was going to bed?
 
Hence "staved off" and not "saved"
 
Xeo.
 
oic
 
I forgot how to say "good night" in Japanese
 
1:19 AM
@xeo night
 
It's like
@Xeo おやすみなさい、ツケオーちゃん~
Man, I dunno. I hope that's right. xD
 
~ I understand
Time for a break.
We can discuss chat now.
 
Yaaay!
Mumble?
Or just here?
 
Here's better.
 
Well, at the moment, I'm just thinking of data structures for what we'd want to send to the XMPP Processor Component
So I'm trying to write like, a Message class, with various flags and other stuff.
 
1:25 AM
Well, we need streaming parser, and a way to map stanzas to types.
I'd start with the parser, because it'll probably be the tricky part.
 
why xmpp
XML =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/ =/
 
It's open, it's proven, it's better than IRC.
 
I don't see why we need a "protocol" on top of HTTP just to transfer our messages
hell, some JSON with some opcodes should work very well
 
@nightcracker Interop with other messengers and other thinks like that.
 
is that really what we are going for?
I think the lounge chat is just too... unique to have "backwards compatability" with already written messengers
 
1:34 AM
@nightcracker That's a protocol.
Except ad-hoc, poorly defined, and poorly tested.
XMPP lets us leverage already-tested stuff.
XMPP or not, we'll be implementing the same stuff anyway.
XMPP allows us to implement less.
 
2:15 AM
@nightcracker It turns out that transferring the messages themselves is one of the smaller parts of a chat server.
 
the real question is
did you know that fuck me.
 
You cannot have class names starting with numbers can you?
I read about the reason, but I forget what it was. I was going for 3DIndex
I suppose I can flip it.
 
@Pawnguy7 Yes, you pretty much need to change it somehow.
 
I liked it with all the capitals in one place.
Bummer.
Any ideas how job prospects are currently?
 
@Pawnguy7 you could always go for _3DIndex
 
2:27 AM
Hm... true. Although, isn't a single underscore traditionally representing something internal?
 
@Pawnguy7 single underscore followed by capital letter if I remember correctly
 
@Pawnguy7 Yes. In fact it has to be at least sort-of internal -- you're not allowed to use a leading underscore at global scope. Even when it's not at global scope, you need to be careful -- a leading underscore followed by another underscore of a capital letter is always reserved.
 
_Ugly identifiers are reserved for implementation.
as are __identifiers
I'm gonna go try to sleep now
wish me luck
@ScottW You can in the language I made up, except that has an implementation (even if it's incomplete).
 
Oh. I thought just __identifer was reserved for the compiler, and third-party libraries traditionally used _. I am not certain whether or not it was followed by a capital.
 
@DeadMG Luck.
...and if it weren't for bad luck, I'd have no luck at all!
 
2:34 AM
hi people, is a middle-endian 64-bit integer the same as a little-endian one with the top and bottom half swapped?
 
There is middle-endian too? Glad I don't work with such things.
 
some arm chips have middle-endian doubles
 
At what point does one learn how to read the templated arguments? Sigh.
 
I really want an ARM processor to fuck around with, maybe I should buy a raspberry pi
 
@nightcracker Always an excellent idea. Alternatively, just get the SDK for your cell phone.
 
2:42 AM
don't have no smartphone
o.0
I'm ancient
 
@nightcracker Seriously? Now that's truly sad.
 
also, not sure how good crypto benchmarking would be for my to-be smartphone's battery life
 
@nightcracker Not bad -- as long as you don't run it for too long (or keep it plugged in to the charger while you do).
 
I'm mostly talking about a lot of intensive benchmarking to figure out optimal instruction scheduling and such :P
(saturating all execution units)
 
@Rapptz, Go for it. Yours is more informative.
 
2:52 AM
Ooh. I don't know if it's still true though.
 
Well, I'm pretty sure TR1 got abolished in at least one of MSVC or GCC. I can't say about the regex one, though.
 
So why does STL Port still exist?
 
@Rapptz Plus you need the rep more than I do. I'm still won over from my 20k mark.
 
Meh, okay.
 
@Rapptz Because after something's been on the internet for 15+ years, destroying it is impossible.
 
2:57 AM
0
A: TR1 is "missing" - which header or library am I missing from my project configuration?

RapptzThe <tr1/*> headers should have been deprecated or removed following their inclusion in the standard. So they're mostly there for older compilers such as VS2010 or VS2008. Including <functional> alone should fix it. A couple things to note though, although I do not know if it applies to VS2013 i...

there ya go
I remember the regex thing confusing me.
 
i think so, but there are tons of dupe for that one
they keep doing class Something; and forget the methods
 
mk voted
 
did I know that fuck me? why yes, yes I did.
 
3:13 AM
@Rapptz fucking linking. it's such a hassle sometimes.
 
No one cares about the behavior of a Ruby implementation when asking about C/C++ code. — Chris Lutz Dec 8 '09 at 22:53
lol
 
@Rapptz Why would it be?
 
Messing with const char* like that makes me uneasy
 
Well, I don't see anything undefined about it.
 
I don't know if you can "copy" const char*s like that
 
3:27 AM
@Rapptz Yeah, it's a shallow copy and the string literal has static storage duration.
 
It's like any other pointer.
 
I guess.
 
Anyone want to take a gander at clearing the compiler warning when sizeof(n) < 8?

if(sizeof(n) >= 8)
{
n |= n >> 32;
}
 
Not really, no.
 
No thanks.
 
3:45 AM
@Kivin you are going to shift it right by 32 bits if its a char?
 
@A.H. >= 8, not < 8
 
oh my bad
 
The compiler isn't smart enough to go "this if statement wont execute (and will actually get optimized out) when sizeof(n) < 8" and still produces the error
n is a size_t that can be 32 bits or 64 bits depending on the arch
 
you can opt for some preprocessor magic
anyways I am having my own problems
 
In which case I'd need the preprocessor to know whether I'm compiling in 32 bit or 64 bit arch, right? I'm not sure there's a standard or even pseudo standard macro for that, or something.
 
3:49 AM
Object test; THROWS std::bad_cast exception
 
Congrats.
 
What's Object::Object doing that could bad_cast?
 
I can't tell if its me or my computer that's drunk
@Kivin empty constructor
@ScottW where are you going ?
 
bad_cast apparently caused by dynamic_cast, are you doing any of that anywheres?
 
empty constructor bro
 
3:52 AM
Is that the only line in the app though?
ideone.com/bvOM97 <- In other words, is that what's bad casting?
 
no but looks like I am going to post an SO question
especially since gdb is being a bitch and won't work
 
Gotcha.
I don't know the first thing about gdb anywho so I wont even go there.
 
@Kivin Well, it totally is, the rules just say that it shouldn't.
 
@DeadMG A fair point, though it doesn't clear my annoying warning :>
 
use a template.
 
3:58 AM
And then...
 
and then it will clear your annoying warning.
 
How does that factor out the if(sizeof >= 8)?
 
mm are static class members initialized even if no instance is made?
 
simple example as to how that can be used.
 
Success, OpenSubdiv is built
 
4:01 AM
@DeadMG That's very interesting, but probably overkill for my 4 line function :)
 
How is it overkill? Are you scared of templates?
 
well you've really got three choices
 
@Borgleader looks fancy, what is it ?
 
either quit whining about the warning, use a compiler-specific #pragma (most offer one) to turn the warning off for that one line of code, or use the template.
pick your poison and be done with it.
 
@A.H. OpenSubdiv viewer
 
4:02 AM
Alright, alright
 
0
Q: Possible to : ( yum search text editor : install all results -y )?

Venus_RisingIn centos linux.. I open the terminal I type yum search text editor i see like 20 results. given that i am soon re-installing my O.S anyway.. i wanna try all these items. i wanna install them all. but how ? is it possible to install everything that shows up for the command yum search text...

wut...
 
The poison has been picked: pastebin.com/UiEdCUp1
 
yeah, no way to deduce the parameters.
 
meh.
That makes me sad
 
4:13 AM
it doesn't particularly make me sad, you can hack it in with SFINAE anyways and I don't know what you would want it for
 
How would I hack it with SFINAE?
Really I just didn't want to type std::basic_string<CharT, Traits> so many times.
 
you could make an is_basic_string trait, I guess.
but on a more serious note, why not accept any T that has the functions you need, instead of only basic_string?
 
Yeah I guess.
I was going to do that originally
Might as well
 
simpler and more flexible
 
4:17 AM
@chris Nope.
@chris template template parameters reminds me of this...
they're not as fun as I thought :s
 
@Rapptz Hmm, I just meant it to work with any class template that supports range-based for.
So basically any container, whether standard or not.
 
I decided to just scrap std::basic_string and do typename String.
 
that's the Wide way to do it!
 
other than the minor gripe of passing by value and getting the type deduced to have cv and ref qualifiers
@Pawnguy7 lol
 
gonna try sleep again
wish me luck (again)
 
4:24 AM
good luck
 
urgh
I totally need to go back to my doctor.
 
@Chemistpp i have moved to my new home in pennsylvania :[
 
Aside from being two microsoft products, what do Word and VS have in common that makes it so that when I copy code from VS in Word the syntax highlighting says, where if I copy from Sublime Text it doesn't
 
Did you mean "stays"?
 
Well if I copy from VS into Word, the code will keep it's formatting (font, syntax highlighting colors, etc), if I copy from say Sublime Text 3, it won't
 
4:36 AM
Sublime Text uses a .tmTheme file to highlight
I don't know what VS and Word uses, but it definitely isn't .tmTheme.
 
@Borgleader You can support arbitrary formats in the clipboard -- HTML, RTF, plain text, etc. If the only format shared by two programs is plain text, then you don't get any formatting. If they both support something like RTF or HTML, then you get formatting.
 
Ohhh I see. Thanks :)
 
@Borgleader the microsoft things have magical metadata the use the UnicornExchangeFormat
 
Knowing Microsoft it's probably XML
 
@Rapptz It's RTF.
 
4:43 AM
lol ok
 
@JerryCoffin At least their XML fetish didn't get that.
 
surprise
RTF embedded in XML
 
Copy something from VS, then go into Word and pick "Paste Special..." The choices you'll see will be: "Unfrormatted Unicode Text" and "Formatted Text (RTF)". QED.
 
I would have expected Word to fuck it up tbh with their special quotes.
 
I can't tell if this person actually thought ODR stood for that.
3
A: Defining the function in C/C++ file and including repective file in header

Dummy CodeIt's not necessarily considered "bad practice" though it is customary to define them in separate header files. You could experience some ODR issues if you define them before the "main method", however I would say go for it. Do what you please.

 
4:48 AM
What?
 
I don't get it
 
Oh, they deleted the comment.
 
What would ODR stand for other than one definition rule?
 
@chris What did the comment say?
 
4:49 AM
They said Online Dispute Resolution, meaning people would argue.
 
lol
 
rofl
 
@chris You can post comments directly btw.
 
I guess them deleting it half answers my first question.
@Rapptz Yeah, but it's out of context without the answer tbh. Figured you'd click and read the comment.
 
We can still click it!
 
4:51 AM
@Rapptz Eh, true :p
 
@Rapptz Ordinarily Disgusting Regulations? Oily Diaper Rash? Old Dialing Rules? Onomatopoeia Demanding Respect?
 
oh derp rerp
 
@JerryCoffin lol
 
oh driverless rollercoaster
 
5:01 AM
Overtly Deny Religion!
Now that's a worthwhile one.
 
Giant Death Robots are as awesome as it says on the tin.
 
Lol, this just came up in my university group (forgive the terrible name hiding): i.imgur.com/5w29sbp.png
They're claiming it's not them doing it.
 
5:23 AM
@chris It's not. One of my sock-puppets did it.
 
@chris sigh
university geoups are never shows of intelligence
 
@EiyrioüvonKauyf I must say, there is one person who seems quite arrogant and set on their own ways. They keep blurting out "trololololol", too, seemingly randomly. I'm always up for that if it's appropriate, but one, for example, was in response to the associate director of our faculty.
 
5:46 AM
$(quote_about_stupidity)
 
5:56 AM
He's stupid.
 

« first day (1036 days earlier)      last day (3913 days later) »