« first day (518 days earlier)      last day (4445 days later) » 

12:00 PM
are you transfering a big file or loads of small ones?
 
> Because of missing or insufficient write permissions in "C:\Program Files", we recommend to use alternate folder for XAMPP ("C:\xampp" or "C:\meinverzeichnis\xampp").
he he :-)
someone finally stood up to Microsoft's idiocy and called a spade a spade
 
Ell
I dont get it >.<
 
I suspect the source drive is a bit slow, too.
Gah, XAMPP.
 
@CatPlusPlus what's wrong with apache?
 
I hate those Apache "distributions".
It's so low quality I don't even.
 
12:03 PM
@CatPlusPlus y
@CatPlusPlus do u think it's a different server in there
 
Nothing (well, not nothing, but that's beside the point) wrong with Apache itself, it's XAMPP and friends that are crappy beyond belief.
 
PHP recently caught up with the rest of the world and got itself a built-in development server.
 
Ell
@CatPlusPlus what is wrong with them? They make it easy for noobs to start developing web stuff
 
They suck. You don't need Apache for development.
No. I will not talk about PHP again.
Nope nope nope.
 
12:06 PM
@CatPlusPlus why use a "development server" only to then hassle out the problems with real server?
 
There's development and deployment.
Problems with deployment are rarely caused by the application.
 
I think u just don't like the girl
 
You code against a common interface, not a particular server.
It's just PHP that's so backwards and primitive that aaaaaaaaaaargh.
 
@CatPlusPlus like, htaccess, yes?
 
And let's leave it at that.
Eot.
I have a data dump to do and XP to remove!
 
12:20 PM
hmm
I don't understand why this is an error:
int a[] = { 1, 2 }; for(int b : a) { int b; }
 
@JohannesSchaublitb What about for(int b;;) { int b; }? Also rejected by GCC.
 
@LucDanton that one i can see the spec forbids
(not really clear wording, but I think it can be derived from the wording).
 
@JohannesSchaublitb You don't understand something C++-related? that's not something I ever thought I'd hear..
 
because the for-init-declaration is in the same declarative region as a possibly given condition. and while there seems to be no rule that defines the declarative region of a condition, the spec says that if the outermost block redeclares the name of the condition variable, that declaration is ill-formed. since it says "redeclares" and not "hides", i derive that both (and by extension all three) declarations are in the same declarative region.
but the equivalence of the range based for loop to the code the spec gives does not say anything special about the outermost block with regard to the for-range-declaration
 
@LucDanton which gcc?
 
12:39 PM
Ok guys, read this if you want to facepalm hard:
(Only need to read the section called “Question: Why not use the high-performance C++ STL set intersection code?”)
 
any similar option for MSVC like gcc's -fno-exceptions?
 
@rubenvb is clang-with-clang on windows faster than clang-with-gcc ?
i mean, build time?
 
@JohannesSchaublitb I dunno if you can go back and edit, but.. you said "for-range-declaration" in that bug where i think you meant "for-init-declaration"
 
indeed
im silly
i cannot go back anymore
 
@KonradRudolph What does STL have to do with vtables?
 
12:51 PM
@JohannesSchaublitb I didn't measure, but some stupid sub-targets are failing ot link, so I can't really try to measure decently.
 
@FredOverflow I DO NOT KNOW! And it’s agonising
@FredOverflow He’s also gibbering about weird bounds checks. What bounds checks?!
That guy has no clue whatsoever. But he worked with STL for six months.
 
Clearly he has no clue about C++.
 
Anyone know of an ubuntu stable (oneiric) PPA that provides clang 3.0 and/or svn snapshot builds?
 
First hit on google
 
12:57 PM
@rubenvb that's just the main distro package, note 3.0 is under Precise Pangolin, which is pre-release atm
 
@je4d uh, yeah, that's PPAs for you...
you should be able to use it anyways
 
@rubenvb It's in the main Precise archive - if I add the precise repo and install that, it's probably going to require a whole bunch of other stuff from precise, and I don't want to get into that mess
 
Ah, then I guess I can't help you. Build it yourself, it can't be hard.
 
I have 35GB of free space on an exFAT volume, but can't copy 600MB file. :/
It goes to 30% and complains.
 
@rubenvb I'm just being lazy and trying to avoid that :-)
 
1:02 PM
why are you not called Cat Plus Plus
oh wait.lol
 
wtf. @Johannes is on drugs... again.
 
hey, I found this awesome typing race site.
 
Typing race?
 
yeah.
they give a paragraph and the one who types it fastest wins.
 
@rubenvb hmm why do you say im on drugs
 
1:07 PM
4 mins ago, by Johannes Schaub - litb
why are you not called Cat Plus Plus
4 mins ago, by Johannes Schaub - litb
oh wait.lol
 
@JohannesSchaublitb only just got around to reading that bug... the clang guys must really love you.
 
doesn't sound very lucid to me.
 
@JohannesSchaublitb are you just reading the spec and trying to find ways to fault the compiler for fun?
 
aw, come one. No one wants to challenge me to a type race?
 
1:09 PM
lol @je4d
 
@je4d He doesn't read the spec, he remembers it.
 
yay. someone challenged me
won with 52 words per minute, like a boss.
 
Anyone else suddenly getting certificate errors from the java update service?
 
@CollinHockey me, on Chrome.
 
Probably expired and they didn't get around to renewing it yet.
 
1:14 PM
It's in Chrome? I couldn't tell
It's something about not being able to get the revocation information
Wanted to make sure I wasn't hitting the wrong server... haxing java would be bad news
 
:( . lost...
 
@IntermediateHacker HAHAHA
 
@JohannesSchaublitb ...damn. you're awesome by the way.
 
2nd :/
 
1:18 PM
won!
 
first round i entered that silly text into the chat window instead of into the turnament box xD
 
damn, I've got to go now.
 
@JohannesSchaublitb cheatster!
 
@rubenvb no, he won by large factors. 0wpm vs 52wpm xD
 
woo, won at 59 wpm
@JohannesSchaublitb lol
 
1:20 PM
HAHA. beat my 83 WPM!
 
@IntermediateHacker are you burningprodigy on there?
 
>.> <.< 34 wpm
 
75wpm, finishing with the words "and the reward of being first" :)
 
this is like chatroulette. only it's not about who has the longest but who has the fastest
5
 
I think I was second in your race there
depends a ton on the passage for me, I was terrible on the first one
 
1:24 PM
@JohannesSchaublitb have you seen this before? code.google.com/p/ontl
 
My problem is the accuracy, that raise from 59 -> 75 wpm was purely by making less mistakes ( 83% -> 96.6%)
 
It contains a bunch of low-level c++ runtime stuff, plus a semi-complete native win32 C++11 library.
 
@JohannesSchaublitb Hey, have you ever encoded x86_64 assembly?
 
Ell
YAAAYYY IT WORRKKS!
 
1:27 PM
who coded typeracer?
@CollinHockey xD
 
They need a code typeracer, I can type for if and return much faster than these passages
 
oh snap, exception_ptr implementation for win32: code.google.com/p/ontl/source/browse/trunk/ntl/stlx/…
 
@CollinHockey when I first saw the name "typeracer", given it was in this channel I thought it was going to give you a C++ expression and have you race to figure out its type
 
@je4d Kind of like when I was confused about why Facebook would have everyone put in languages they know.. I mean, what's the population density of programmers on Facebook?
 
yes, give the user a complicated c++ program and ask the user for the output
 
1:41 PM
ugh like being in college again
 
Ell
My new control makes pretty patterns! i.imgur.com/YIH1H.jpg
 
@JohannesSchaublitb as long as you're not setting the questions, I'd be fine with that
 
Repaint fail.
 
Ell
@CatPlusPlus yeah :P I fixed now though :D
anyway
im off, have a good day all!
 
Hmm... How do you call it if you 'smoothly' go from one value to another over a certain time period? So like animating something but then something not visible.
 
1:56 PM
the java installer downloads an installer that downloads an installer that installs java
@ErikDolor interpolation, probably. or spline
@CatPlusPlus invalidate
 
@ErikDolor I'd say interpolate too
 
#define _ F-->00 || F-OO--;
long F=00,OO=00;
main(){F_OO();printf("%1.3f\n", 4.*-F/OO/OO);}F_OO()
{
            _-_-_-_
       _-_-_-_-_-_-_-_-_
    _-_-_-_-_-_-_-_-_-_-_-_
  _-_-_-_-_-_-_-_-_-_-_-_-_-_
 _-_-_-_-_-_-_-_-_-_-_-_-_-_-_
 _-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
 _-_-_-_-_-_-_-_-_-_-_-_-_-_-_
 _-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  _-_-_-_-_-_-_-_-_-_-_-_-_-_
    _-_-_-_-_-_-_-_-_-_-_-_
^ K&R C, not C++, but good enough?
 
it's UB for thread A to call fclose on a FILE* whilst thread B is part way through an fprintf isn't it?
 
@CheersandhthAlf no good? ideone.com/pe5Jw
 
dunno, maybe add a return?
 
2:27 PM
int main(){
createNewChatRoom();
}

void createNewChatRoom(){
//TODO: Implement a way so that Stack Exchange users can create a chat room
// for himself.
return;
}
 
2:38 PM
@tom_mai78101 Of course that won't work, main is missing a return statement
 
@KillianDS wow, what?
 
@Killi
@KillianDS, yes, that's a simplistic yet error-prone way of asking how I'm supposed to create a chat room on Stack Overflow.
 
@awoodland Data races are always UB.
 
@KillianDS neither C nor C++ require a return statement in main
@tom_mai78101 any user (with enough rep) can create an SO chat room
 
How many rep do I need?
for (int i = 0; i < 100; i++){
imaginaryMethodThatTellsMeThatOneInOneHundredChancesIGetAnswered(i);
}
 
2:54 PM
Bah, again can't copy a file. On a fresh drive. exFAT sucks.
And convert doesn't work on exFAT. Waaaaaaaaah.
 
@je4d yeah
 
3:12 PM
@CheersandhthAlf May I ask how many reps do I require to create an SO chatroom? Or it depends on whether you're a moderator or not?
 
@tom_mai78101 You can see on the "priviledges" page - I think it's 1k
 
oh, 1k is "gallery chat rooms"
 
hmmm
how can I use anchors to highlight a single word? Chrome only seems to anchor to lines
 
:D
@CatPlusPlus @CheersandhthAlf @je4d I'm very close to creating my own chat rooms.
 
3:16 PM
Great.
 
I just need an extra 20 reps.
 
note that all chat rooms are public
 
That I won't mind.
 
except for those with access to undisclosed internal features of SO (I say that because there are options to allow people to read, which would not make sense if one could not somehow disallow reading)
maybe @shog9 could cast some beams of clear light on that issue
 
Question: Can I be the permanent owner of the Sandbox chatroom?
According to the FAQ, I can be the owner of a particular room if I frequent there, and there are no owners left. Therefore, there are no other owners eligible to keep owning the room, and should be kicked off.
 
3:27 PM
Sandbox is for trying out chat features, not chatting.
Also, we don't run this chat. Ask a mod/on meta.
 
3:47 PM
You can be owner of the sandbox but I call being owner of the playground
-2
Q: How to design a code which makes me laugh?

Buschka WurstToday I woke up in my bed and I was wondering why. WHY!? The answer is: Yes. I want to design a platform, together with you. A simple camera based on a code written with you, which records commands performed by movements with the hands, to communicate with you and interact in a forum. Can you...

2
 
4:14 PM
What's this about?
default initialization of an object of const type 'const meta::empty_type' requires a user-provided default constructor
meta::empty_type is defined as struct empty_type{}; in namespace meta...
 
4:31 PM
if want to create a helper function which should only be visible in a very special implementation file, I have to encapsulate it in an nameless namespace. right?
 
alternatively, you could simply not declare it anywhere else
 
ok cool, thanks
 
Hello
I have an algorithmic problem and I need to see if someone can help me with it
I have a matrix that represent a directed graph I need to change that matrix into a new one where I have as much as I can an equal distirbution of 1 in colomns and row for eax vertex. For example most vertex will have 3 links that goes from it and 2 links that comes to it
any idea if C++ has a librairie to do it ?
 
vector of lists?
 
4:44 PM
yes
 
@DeadMG wow! that didn't turn up on my foogle results!
 
1 0 0 1
1 1 0 0
1 0 0 0
0 0 0 0
for example i have like this
we can try to ommit the 1 that is in the first row and put it in the last row and third colomn
like this we have a equal distribution
colomns and row
 
WOOT! I announced that I've received my awaited 100 rep 45 minutes ago. Thank you! Thank you! waives kisses to audience
 
5:34 PM
hi, all.
 
hi
 
anyone up for a type race?
damn. :( . bored...
 
DVDs. Are. So. Slow.
 
I hate DVDs. I've never managed to keep one for more than 3 months. They all get scratched or ruined or corrupted or something.
 
You fail at DVDs, sir.
Onoes, my crappy USB WiFi receiver is recognised by the kernel.
 
5:40 PM
how do people use DVDs without getting them scratched?
 
By not throwing them around the room?
 
@CatPlusPlus that's too obvious to be true. :D
 
If your drive scratches DVDs, then your drive needs to be replaced.
Otherwise, you really need to play with screwdriver to get them scratched.
 
Yeah, DVDs are pretty tough.
 
Years back, I've kept stacks of CDs and they didn't get scratched enough to be non-readable.
 
5:43 PM
guess there's something wrong with my drive then.
 
As in, with no protection.
In the retrospect, it was pretty stupid, but if I could find them, they'd probably still work.
 
My dumbass little sis once accidentally spilt vinegar on my entire Ps2 dvd collection. :(
26 DVDs damaged beyond repair.
 
@CheersandhthAlf moderators can create private chat rooms. They're discouraged from doing so except in situations where it's necessary to discuss sensitive information. Many sites have a private, moderator-only chatroom for that site's moderators to use when discussing flags, specific users, suspensions, etc. - they're prohibited from inviting non-mods into these rooms.
 
Are your DVDs made of paper?
I wouldn't think vinegar is acidic enough to damage the outer layer. Then again, I never tried.
 
@CatPlusPlus try it. you'll be surprised.
 
5:46 PM
@Shog9 aaah, it's the moderators! Batten the hatches and nock the arrows!
 
To install Ubuntu or to not install Ubuntu.
I'm not really in a mood for configuring Arch or Gentoo.
The external drive works, the WiFi works.
 
I don't think ADL counts for base classes
 
TIL DVDs easily get ruined with vinegar and Ice Fire Vodka drinks.
Disclaimer: DO NOT PLAY WITH DVDs WHEN DRUNK.
 
@DeadMG But I passed a reference to std::tuple<> object explicitly.
 
so you did
hence why ADL sucks, my friend
 
6:06 PM
Question: If Java was first created from C, and C++ derived from C, does this mean that Java and C++ are brothers? Or they are in a uncle/nephew relationship?
 
Ah, ADL doesn't work with explicit template instantiation.
 
Java was not created from C.
Whatever that means.
 
Lol.
Just like woman was made from rib of man.
 
Ah, Java is Bytecodes.
So, Bytecodes are assembly.
 
Java has no relation to C whatsoever. Other than JVM being written in C.
Assembly is a programming language, not bytecode.
 
6:10 PM
Then what is Bytecodes?
Whatever. I want to have Java marry C++, if they do not have any relationship.
Then we have C#
 
NO.
 
Sun's JVM is written in C++ afaik
 
@tom_mai78101 Java sucks and C++ sucks less. They don't go together and should not marry.
 
This is role-playing, not some debate or something. :P
So, as I was saying, C#'s father is C++, while his mother is Java.
C++ loves hot coffee, so Java gives C++ one.
Perfect sense. :D
 
6:13 PM
the father is the one who is responsible for fluid, and the mom is the one who holds the cup.you know
 
Oh, but the Hot Coffee is what Java is hinting C++ at.
Hot Mocca Java, with C++'s white cream.
 
...
 
Delicious to the taste.
 
I'd like to interject with something that makes more sense than this conversation:
 
@je4d selbstverständlich
 
6:16 PM
lol with c++'s white cream
 
Java: "Say, C++, isn't that a bit salty, don' you think?"
 
@tom_mai78101 Goes very well with hot air
 
@sehe you speak german too?
 
i think he isn't german
 
@je4d Apparently Latin. Will be singing in Duruflé Requiem and Liszt "Via Crucis" tonight
A friend conductor called me this morning that he had a sudden absense and two tenors for split tenors was getting a bit meager
:)
So, gotta run.
@JohannesSchaublitb I'm not.
 
6:19 PM
@JohannesSchaublitb he's dutch iirc
 
C++: "Well, this coffee shouldn't be that salty. Let me drink the coffee."
Brought to you by the GTA:SA Hot Coffee mod. :D
 
I'm dutch. I used to be quite fluent in German. French reading/passive usage is quite ok. I have tried my hand at reading in Italian (a bit too slow), and bits and pieces of other languages. But honestly, my musical interests are better developed than the language interests
 
@sehe what do you play?
 
@je4d Violin and piano. Besides I conduct, and tonight, apparently I'm a singer :)
 
Darn, wished you play the saxophone.
 
6:22 PM
@sehe wow
well, good luck with the performance
 
Quite fun, considering that I never sang the piece (I know it quite well though, and after singing some requiems at least the lyrics are no surprise. hah)
 
I play a bit of piano, but i'm still fairly noobish on the scale of things
 
The lyrics are usually what trips me up when sighreading. The notes are no problem, just how to get the text with that.
 
@sehe yeah, my playing goes to shit when I try to sing at the same time
 
@je4d Well, as long as it is a source of fun, you are getting to the 'pro' bits IMO
 
6:23 PM
@sehe sure.. but I've got a long way to go :)
 
@je4d That's mighty annoying too, indeed
@je4d Depends wholly on where you want to get
Anyways, really gotta go, coffee is done (black coffee, by the way)
 
@sehe alrighty.. I'll put this conversation on hold for another time
 
@je4d Thanks. Will be fun, no doubt.
 
Darn, wished it's Java.
So, C#, with its virtuso talent. Borned with C++'s strength and Java's strict house rules, C# managed to become one of the top students in DigiPen.
C#, as we all know, has a taste for music.
 
by the way
C# is way weaker than C++
 
6:27 PM
Yes, C# is weaker. I did not say that he's strong.
A talented student, cursed with a weak body.
 
Like Beethoven and Sebastian Bach, the DigiPen Academy marked C# onto their Hall of Fame.
 
They put the sharp next to C, like the dot next to the net.
Why is the man smiling?
 
Oi, no gifs.
 
sbi
6:31 PM
@tom_mai78101 I s'pose the medicine does that to him.
 
sbi
@CatPlusPlus Party pooper!
@StackedCrooked It's only funny when looking at it from Saturn's POV.
 
I just can't imagine what other programming languages I can role-play, other than Java/C++ Hot Coffee mod.
Well, maybe we could try making Animal Crossing for all programming languages.
Ada and Monty Python goes along well.
If only there's a new Blackadder in town...
 
sbi
How many Linux users does it take to change a lightbulb? Why would you change a lightbulb? You're not using your house right.
 
I can't seem to get that joke. Could someone explain?
 
sbi
6:37 PM
@tom_mai78101 Isn't it the Linux aficionados' common reaction to "How do I do... in Linux" to answer "You don't want to do..., and if you do, you're not doing it right"?
Well, I need to bully the kids to bed. Sigh. See you guys later. Maybe.
 
@sbi I'm saving you from the wrath of the robot.
 
6:58 PM
@sbi Oh, I thought it meant that the only light linux users should rely on is that of their computer screen
 
damn
got my ass kicked by David Rodriguez dribeas today on operator overloading
 
7:15 PM
So he kicks ass?
 
sbi
@CatPlusPlus No, you're not.
@CollinHockey Or it's this. Shrug. It seems this isn't as obvious as I thought.
@StackedCrooked Only puppy asses.
 
@sbi Yours seems to be the more insider version
 
sbi
@CollinHockey I'm a Windows guy. The little I know about Linux is what I glimpsed when looking over the shoulders of that cow-worker of mine who had to wrestle GCC into accepting my template magic. (There's been one such poor lad in any company I wrote C++ for.)
 
7:51 PM
lol
 
HTML doesn't support foldable tree views, right?
 
@DeadMG only to a limited extent. google "css menus". they're different for vertical and horizontal... in the old days we used jscript emulations of Microsoft's HTML help tree view thing. i don't know what they use today.
 
What about <details>? I assume you can nest them.
 
you might look at "a list apart" also
^ Dunno if that helps you, but could possibly help you if you delve into it
 
hmm, that could work
why yes, actually, it does in fact work
nice shout :D
unfortunately, the only browser that currently supports it is Chrome
 
yeah, I've just visited that site
trying to avoid the need for JS, though
 
You can use CSS and :target, perhaps.
not sure though
but that would mean that each node in the tree needs a different id.
 
@DeadMG i don' t think you can avoid scripting completely for a general hierarchy. however, since you like burgers but can't eat them:
 
8:31 PM
hello
does it make any sense to use std::uninitialized_fill() when the memory to be initialized has been allocated with a custom allocator?
 
@Martin sure
 
it just hit me that using auto to declare variables, one completely avoids the problem of "should i have two or three declarators in one line, or just one per line"?
 
@CheersandhthAlf why is this?
auto x = 1, y = "foo"; is illformed
 
yes
i hope so :-)
 
sbi
8:43 PM
@JohannesSchaublitb Hence the discussion ends at this point.
 
hmm
i dont understand u
with alias templates you can say type<int*> a = .., b = .. and also completely avoid it
 
sbi
@JohannesSchaublitb There have been debates about whether to define multiple variables in the same statement for decades. (And I'm not exaggerating.) Use auto, and those debates end, because it only allows the sane way :) of defining one per statement.
 
the best feature of one-line declarations is to give the variables different types IMO
 
sbi
@JohannesSchaublitb Yeah, but the common (only?) argument pro multiple definitions is that it's less typing. That doesn't apply to yours.
 
note that auto *x = ..., y = ...; is still allowed MWAHAHA
 
sbi
8:46 PM
@JohannesSchaublitb Ouch. Too bad.
 
ouch
sorry it seemed so good that it had to be true
 
sbi
I fully agree that Kernighan, Ritchie, Pike, & Co. are greatly undervalued heroes and should be praise with much more fervor than they generally receive from the public, but the incredibly shortsighted idea of type modifiers applying to the declared variables, rather to the type names, takes some of the shine off their polished medals.
 
Kernel has no exFAT support. exFAT sucks.
 

« first day (518 days earlier)      last day (4445 days later) »