« first day (868 days earlier)      last day (4305 days later) » 

00:00
If you want to convert to git, use fast-import/fast-export.
"we"?
With git there'd be one repo with solution and modules for furrovine, ploughland and art
And modules would be repos with just vcxproj and code
And dependencies can be moved to vendor repo at the same time so they're checked out automatically
anyway
the sack: I'm hitting it.
nighty night nubfaces.
Reading from Mercurial, it sounds like it'd be almost exactly the same as git (I'm readying Git - Submodules and Subrepository - Mercirual right now).
I don't know the nuances, though.
I'll try it out on my computer (with Mercurial) and see if it's less awful than I think it will be.
System.Drawing.Imaging.PixelFormat.DontCare lol
00:07
Is that a CD-key I see flagged?
lol, is that a Windows key in the flags?
in C#, 32 mins ago, by CC Inc
just run anytime ugrade and enter key 78FPJ-C8Q77-QV7B8-9MH3V-XXBTK
lol
People are not very smart
About 2,820 results (0.24 seconds)
Good morning, it's 1:08am and I don't know where the fuck I am.
@DomagojPandža You're on the Internet.
New gravatar eh?
Well, I suppose the guitar can't really count as me, so there. :D
@Rapptz Apparently, I made everyone in the Anime room change AVs.
Everyone except Madara, since he's running for SO mod and he can't really change it right now. lol
00:12
Why can't?
user1357851
Have been scuba diving for the past two & a half days, now I am still feeling like I am stuck in a boat & moving around.
@CatPlusPlus I heard you got wasted and opened your mouth on Mumble. I must invent a time machine.
@CatPlusPlus He could, but it's a bad idea if you change pictures between nomination and voting.
Why why
Why
@CatPlusPlus People won't recognize him.
00:13
:psyduck:
5 mins ago, by Cat Plus Plus
People are not very smart
@DomagojPandža Yes
It wasn't very interesting
We cherished the moment.
user1357851
This is weird, in the past two & a half days I have only spent altogether 150 minutes in total in the ocean. The rest time was driving, learning, checking equipments & getting things ready. Why am I feeling so unsteady?!!
I really have no idea why
00:15
If only there was a way to leave some kind of comment on a question or an answer.... — Jack Maney 4 mins ago
Damnit I forgot to say Goodnight to @DeadMG. D:
Goodnight @DeadMG. D:
Whoa. 77k rep
but with weird vote history
@Rapptz He's the one who answered the turn on javascript question.
Who's that
Some dude on the Internet.
00:17
@Mysticial Which?
Also I found him via mod nominations.
Blah
So many integer conversion warnings @__@
Ell
Ell
What did he sound like?
Like a cat, purrrrrr
Oh lol I remember that.
00:19
I've always had this dilemma with SO. Spend time actually writing code or writing answers to get to a 5-digit rep. The first always wins, I don't know why. :(
I remember I always lurked but never posted.
I wonder if I can find my first post
I never really poted anything worthwhile for a long time.
Then I got this major bend to get 500 Rep.
Now that I'm at 500 I can comfortably upvote and downvite like a scrub and not care. :3c
Ah found it.
You guys thought I was weird.
Aug 26 '12 at 19:55, by Rapptz
Lurking is the fundamental way for me to get a grasp of personalities.
(a bit more up.. Maybe earlier, I forget.)
Tee hee.
Gettin' into a question scuffle with DeadmG.
@ThePhD btw converting xml to my output will be torture :(
00:25
I don't see why it has to be.
because it is
Especially with C#.
Cat appreciation day <3
@ThePhD Well, my output is pretty.. weird I guess? pastebin.com/AjYc1Afc
It's a .ini file
ezpz for C++ and C# to handle.
00:27
Indeed
yeah but converting xml -> ini too hard
Pfffffffffffffffffffffffffffffffffff.
Naaaaaaahhh
It's not really INI
Because of that last section
well it's inspired after it
INSpired
INI, INS.
Insini~
00:29
Thants
I have to make a data dump on the toilet.
0
Q: In Visual Studio 2010 no stack unwinding in debug mode

Alex NetThis is the code: #include <iostream> void f() { throw 1; std::cout << "f(): should not be printed!!\n"; std::cout << "f(): not should this!!\n"; } int main(int, const char**) { f(); std::cout << "main(): This not be printed!!\n"; return 0; } W...

Please don't unplug the machine while this is in progress.
@DomagojPandža Wherever you go, there you are.
00:30
It throws in MSVC 2012
@Rapptz what is that last section supposed to be?
tile data in hexadecimal position
first tile is 01, second is 02 etc
or 00 I guess since it's easier I don't care it was just an idea :|
XML has no list types? or what's the problem
I suck at parsing
00:33
I parse at sucking.
why is your stuff in XML anyway if this is the desired format
because Tiled and every map editor loves XML
so make your own :D
well fuck
taking a nap earlier was nice, but now I'm not tired enough to sleep
first world problems
anyone wanna mumble?
TIL about tldrlegal.com
3
sounds cool
00:55
@StackedCrooked I concur
whoa
try using namespace std , instead of all the std:: , i'm having hard time to understand what is the question? — Androidy 14 mins ago
I've never seen someone actually recommend it. aha.
It's showing me the Hello World program too.
Lol, that's ignored by the command line.
Actually, it's totally messed up. I should probably sleep soon. Like in 6 hours or so.
01:06
6 hours is like 1/4th of a day!
Not very soon.
Thanks. I didn't know that
@Rapptz I was wondering how the hello world program produced that output, lol
That would be magical.
ITT: Hello World became self-aware.
01:09
> I say Goodbye, I say Goodbye
He he.
@StackedCrooked That a hobby project of yours? Forgot to ask exactly what it is, gcc running on your server with a frontend?
I have no prior experience with webdev so it's kinda hacked together.
I've actually wanted to implement something like that for quite a while, but didn't feel it had a use beyond just being cool. Nice to see someone invested time into it. :D
01:11
oh wow I didn't know it stood for something.
@StackedCrooked Don't worry about it, webdev is pretty much child's play in relation to what we do. :D
:D
Oct 28 '12 at 17:48, by StackedCrooked
What do you think of the name coliru (short for compile-link-run) for an Ideone clone?
@DomagojPandža Well, my code certain looks like child's play :)
I made the favicon
@Rapptz This is wonderful!
This guy is real tough. Here he says "lil bitch".
01:16
@StackedCrooked What the... Hahahah. :D
I'm listening to El-P's cd named "Cancer for Cure" for the first time. (I don't know this artist.)
It's hefty :)
@CatPlusPlus I like it.
@CatPlusPlus Dammit, you beat me.
Jesus Christ is his nigga.
AHAHAHAHAHAHAHAH
That is so wrong... On so many different levels.
Good night. Slaughtered. The end.
01:21
'night!
I think I might have just found a bug in MSVC's C++ library.
MSVC's C++ library is a giant bug.
std::wifstream file("name.txt");
std::wstring line;
std::getline(file, line);
//line now contains "\"\0h\0e\0l\0l\0o\0\"\0";  It read byte-at-a-time and then widened!
Nice catch, but how did they manage to miss this?
A hexdump of the file shows the bytes are 22 00 68 00 65 00 6C 00 6C 00 6F 00 22 00
I have no idea. I have to be doing something wrong
there's no way they missed this
01:29
wchar_t is broken
Everything using wchar_t is likely to be broken
Don't use wchar_t
I can't figure out how to get my input file as UTF8 easily.
Read bytes from the file and then decode them
Or use Boost.IO and write a decoding filter
Xeo
Xeo
@MooingDuck As if wchar_t would fix that
That might be problematic when reading incrementally, because you need encoding-aware reader then
@Xeo input is UTF16
01:31
I don't remember if filters can accumulate before returning
K, I think that's enough docs for today.
@DomagojPandža confirmed. SSCCE of the code I posted has the same issue.
Though they should be able to, since there are decompression filters
@R.MartinhoFernandes Interlinking might be nice
So the code acts like a table of contents
Hahah, I can't believe this crap. And what the hell do they plan to do about wchar_t? If anything?
01:32
wait, duh, notepad can do the convesion. derp.
@DomagojPandža It's best to ignore that it exists
@CatPlusPlus Yeah, I'll work on that tomorrow.
Until you need interop with things that use them, then you just recode what you have to what they expect
@R.MartinhoFernandes handwritten?
BTW did you use Sphinx?
01:34
Man that's a weird favicon.
Is it a Scorpion?
I can't even tell.
It's ogonek with two bananas
@CatPlusPlus No. I have given up on that. I would have to edit everything anyway: the actual code will have magic on the templates that I don't want to pollute the docs...
oh goody. isspace(0xFF) causes an assert.
64-bit build will take a while to un-error/un-warning.
@MooingDuck Don't use cctype.
It only works for ASCII.
01:36
Wasn't it locale-aware
It's still crap but hey
I don't think 0xFF is a valid character in any codepage though
Well, maybe it works for cp1252 and shit, but that's it.
@CatPlusPlus BOM, so no
@CatPlusPlus It's ÿ on the most common stuffs.
Codepages don't have BOM
@CatPlusPlus right, I didn't actually decode any of this, I was just attempting to strip whitespace :/
01:37
You can't strip whitespace before decoding
You can't do anything before decoding
It's not text, it's a binary blob
@CatPlusPlus What do we call the main project?
There's very little valid operations that can be done on a binary blob
in reality, all I need to do is strip ' ', which I can do without decoding UTF8.
@ThePhD vOv
@MooingDuck No
Tempted to call it SliceofBread.
01:39
@CatPlusPlus Hmm, yes?
Just get all the 0x20 bytes out?
@CatPlusPlus why not?
Well, yeah if you assume it's UTF-8 I guess
@CatPlusPlus if you don't make that assumption you can't do anything at all including decoding.
Someone added a link to stacked-crooked.com on Wikipedia's C++11 article.
@StackedCrooked nice
01:40
You have to know encoding, but I still hold that operating on undecoded blobs is not good
@StackedCrooked haha
How many visitors do you get a day?
Btw thanks for reminding me to block google analytics a long time ago.
oh right, I'm doing other operations too :/ oh well.
@Rapptz Not much. Around 50 unique visitors daily, on average.
01:45
That's my point, you have to decode the blob eventually anyway for it to be useful
So just do it before doing any processing and simplify the processing code
You gain independence of encoding
@CatPlusPlus no, I've found that 99% of my programs do no string processing whatsoever. They read from point A, and provide to point B.
Because encoding is important only on the endpoint where you decode
You process the text at some point, and if not then what are you reading it for
Copying blobs around is fine if you only do copying I guess
@CatPlusPlus I read it so I can provide it to the OS for display usually.
Or to some other library.
frick, my input file has an extra newline somewhere
So you always have it in the exact same format the other library expects
(Also you need to decode to display it)
@CatPlusPlus no, sometimes I run it through a conversion from encoding A to encoding B first. Usually also library code.
01:49
Which is processing
@CatPlusPlus which doesn't require decoding first on my part.
You can't change encoding without decoding and reencoding
decoding would add to the work done
@CatPlusPlus A library does it. I don't do it
I carry blobs around. Sometimes the blob is encoding A, sometimes it's B. ALways a blob. I (almost) never decode the blobs.
01:50
Sometimes, you guys really love to overcomplicate simple matters. :P
-1
Q: Explain the working of the following code?

Jananiint i = (char) - (int) + (long) -1; And now if I print i,the answer is 1. How is this code executed?

@DomagojPandža One has to stay occupied in life :D
@Rapptz It applies the unary operators.
Yeah I saw after I posted the comment.
0
A: Explain the working of the following code?

JasonPretty basic ... at least in your implementation the expression (char) - (int) + (long) -1; evaluates to 0 - 0 - 1 which equals 1.

Yeah, you can achieve the same result by removing the casts anyway with int i = -+-1Rapptz 12 secs ago
It's not the same
01:54
It is in his case anyway with -1
No, your code doesn't overflow, his does
No, it does not overflow.
Why would his? He's not casting to anything.
I'm serious. :| whatever
01:55
I post too fast
He is casting
@Rapptz he casts to (char) right there in the expression
Well, Cat was speaking more generally, with 1 there will be no overflow.
That's why casts are there
@MooingDuck Yeah but what is he casting to?
@Rapptz casting from int to char.
01:56
No -1 doesn't overflow either Robot is right and I'm retarded
oops I took your word on it
It's (char)-((int)((long)-1))
Pretty much, yeah.
Although, for all intents and purposes, raping language specs and implementations with such things is a bit retarded.
He can cast all he wants, it'll still be -+-1 though.
Yes, but try another value instead of 1.
01:58
Yeah, what could stupid types change
It'll overflow for -256
Something huge and then try to cast it to char :P
`for(auto it=symbols::logicalOperators.begin(); it != symbols::logicalOperators.end(); it++)
logicalOp.add(*it);`
is there a neat way of doing this with a lambda? (where logicalOperators is of type std::array<std::string>)
@Rapptz replace (int) with (unsigned)
What's logicalOp
@MooingDuck Already did, it won't do anything because the return type is int (I think anyway, not sure of the semantics of casting signed to unsigned), but if you change the int to unsigned it'll output garbage.
02:00
@Borgleader why would you want a lambda for that?
Anyway for (auto&& op : logicalOperators) logicalOp.add(op)
@MooingDuck I was thinking of using std::for_each
@Borgleader Use the "foreach style" Cat laid out for you.
@Rapptz casting a negative to unsigned gives a large number, then casting that to char gives an overflow (if char is signed).
If you want neat, eh.
02:01
@Borgleader yeah, but why?
Lambda won't be better
I prefer to use lambdas only for callbacks.
Unless you use Boost.Phoenix
Or something
But it'll still be more complicated
@MooingDuck Well, I thought it'd be neater. But I like Cat's suggestion.
Just use range for
02:02
@MooingDuck stacked-crooked.com/… so this is UB?
@Borgleader it wouldn't be. std::for_each has little use
And if someone says that for_each is better because you see that it does something for each element then laugh in their face
@Rapptz I dont think so
@Rapptz no I think unsigned <-> int is safe always, and then you're casting -1 to a char, so that should be ok if.... man I don't know the casting rules...
You're not casting -1 to char
@MooingDuck It's implementation-defined if the value does not fit. -1u does not fit on an int.
Xeo
Xeo
02:04
So, Flash Player apparently doesn't like me buffering my videos in 720p with 50mbit down.. fucker.
@CatPlusPlus we're talking about -(char) + (int) (unsigned)-1; now, are you?
Yes
(unsigned)-1 is not 1
Or -1
@CatPlusPlus but (int)(unsigned)-1 is on every platform I've used.
That's implementation-defined
(though it may be IB as robot said)
@Rapptz so IB.
Xeo
Xeo
02:06
Wasn't signed overflow UB?
@Xeo yes
@Xeo Flash Player is retarded
@Xeo Overflow does not occur when casting.
@R.MartinhoFernandes makes sense
Overflow only occurs as the result of arithmetic.
Xeo
Xeo
@R.MartinhoFernandes Oh, k, I thought that amounted to the same.
going home before I get drawn into more
Xeo
Xeo
Sigh, and I can't even get this video to load with HTML5, it'll just fall right back to Flash Player
Did you disable flash?
I think I'm gonna kill my server
02:13
Put a bullet to its head.
Plugging custom domain into GitHub Pages is free right?
user1357851
pull the trigger (cord from the power supply)
Mama, I just killed a server, put a gun against its head, pulled the trigger, now it's dead.
I don't even remember to update this crap anymore, and it's running Apache and Buildbot for Kyrostat which is dead
Email I have in GApps, XMPP on hosted.im
OVH has managed DNS
@CatPlusPlus Yes.
02:16
I don't think there's a reason to pay so much for something not really used
How much do you pay?
About 120€/6 months?
user1357851
shared server?
It's not terribly expensive, but with barely any income during semester vOv
user1357851
I am paying for 3 servers
user1357851
02:18
and hardly making any money from any of them
user1357851
but the problem is that I actually have stuff on them
user1357851
not terribly important stuff
user1357851
but 1) one is for the official website
user1357851
2) the second is for development (hopefully will be in production soon)
I pay around 27 EUR/month for my VPS.
02:22
Yeah but you use it
I've had it for three years. Coliru started 3 months ago, or so :D
user1357851
3rd one is kind of free, a bit of a redundant server, I am thinking of using it as a backup server. Dunno. I got it as a part of package because I have been paying for 1) for nearly 10 years (9th year right now)
I'm glad I'm not the only one wasting money on unused VPSs :D
Three servers seems like overkill.
Having a VPS gives me a feeling of empowerment.
So many possibilities.
user1357851
@StackedCrooked I have quite a few apps live on app store/google play/window market place
user1357851
02:27
My next app is expected to be server using intensive
user1357851
And 1) is a shared server, I don't want any glitch from my next app to bring the official website down
I love configuring XMPP SRV records
02:56
I remember first starting out with game programming 10 years ago, I never expected to get this much involved with hardcore mathematics and physics. And that I'd love every second of it. :D
And after using stupid webform 200 times I find out you can just paste the BIND zone
Great
Happens to the best of us, Cat. :P
> FYI, I forgot to manage my memory, sorry!
@thecoshman :siren: Kyrostat services are going down, if you want to move forum somewhere I can make you a dump
Actually Apache will be running as long as DNS inertia holds
But you know
02:59
Btw. guys, who's your personal VPS provider?
Linode here.
I have a dedicated server not a VPS

« first day (868 days earlier)      last day (4305 days later) »