« first day (259 days earlier)      last day (4692 days later) » 
00:00 - 23:0023:00 - 00:00

12:37 AM
Yay, I just solved 8 queens problem.
 
12:49 AM
@sbi "A training program to help you get rid of your glasses?" This once existed but did not fulfill its promises.
@sbi which is probably the point you're making :)
 
 
1 hour later…
2:02 AM
Hyello.
 
2:17 AM
How about integrating bitcoins to stackoverflow, as a way to use it to set bounties on questions?
I just found out that someone has suggested this in meta,
and was practically T-erminated from suggesting such a thing.
 
SO is a community of people that are obsessed with the notion of putting everything in its right place. They can become quite aggressive if you disturb their order. The best way to deal with this is to simply be amused.
 
@StackedCrooked - Why do you think so? Any bad experience
 
2:41 AM
@Mahesh I haven't had any bad experiences because I'm a placating personality.
^ The designer of this drawing probably wasn't an engineer.
(Stolen from reddit)
I remember a system analytics teacher asking me some examples of a closed system. The only one I could think of was "the universe".
I always thought End of Evangelion was a weird movie. The trailer does justice to that:
 
 
4 hours later…
Xeo
7:22 AM
@StackedCrooked It is a weird movie. Total brainfuck. Well, the Rebuild movies are good enough not having to worry about that.
 
8:01 AM
just found a new funny site :) animalsbeingdicks.com/page/7
 
8:46 AM
Apropos heavy lifting:
0
Q: Which is more important: Fitness or Programming?

Saeed MagboolI started studying C# but I found that it takes alot of my time. As a result, I stay at home most of my free time and even do not exercise any more. Do you think my learning time is more important than walking or jogging?

LOL
 
> People die from the lack of general health. People don't die from lack of programming.
This is bullshit.
 
ask those guys whose autopilots malfunction
they're pretty damn dead because of a programming fault :P
 
Ask the victims of the Therac-25.
 
@DeadMG Who programs their own autopilot?
 
9:03 AM
lol
he didn't say people don't die from a lack of their own personal programming
 
But the question is clearly "should I do fitness or programming".
 
Yes, but apparently learning C# is so demanding that he cannot even leave the house for a little jogging anymore.
 
Xeo
9:24 AM
Wow. Two of my classmates work on the same game and they have to use Unity3D, which uses JavaScript and C# for coding. They both don't even complain, and when I say "wow, poor guys" they even ask me what's so bad with JS..
Poor guys indeed.
 
9:40 AM
lol
 
10:39 AM
> hi people watching this, i'm drunk and moving out of my apartment in copenhagen at the moment. in a day i'll be back in berkeley, ca. i just thought i post this so i could remember this moment in time because it is important to me. i'm not an asshole.
A Youtube comment.
hmm, what are std::declare_reachable, std::undeclare_reachable and friends for? Enabling garbage collection?
 
Xeo
Found that in MSVC?
 
@MartinhoFernandes MSDN says so.
 
Found'em in the FDIS.
 
what is it ?
 
10:54 AM
What is what?
 
Xeo
Ah, but yeah, seems to have to do with GC
 
Xeo
Ah, hi @Johannes!
 
@MartinhoFernandes what is FDIS ?
 
FDIS means Final Draft International Standard. I'm referring to the final draft of the future C++11 standard.
 
10:55 AM
Ok.
 
Xeo
@litb, am I actually right here?
 
it looks good
I could have written char[sizeof (int T::*), 1] instead of typename void_<int T::*>::type
or sfinae<int T::*> (with c++0x)
lol "@tactoth: don't believe your wife"
 
11:21 AM
@Xeo JS is a pretty decent language
It's just that the HTML DOM sucks badly, and that's what people usually use JS on
 
True, when considered on its own, it has a couple quirks and annoyances, but it's not half as bad as it is on a browser.
 
but with Unity, you don't really have that problem
 
I hate the incompatibilities in browsers
that's why I ignore JS
 
yeah, but again, for game development in Unity, running on Mono, you don't have that problem either
so you're left with a pretty clever dynamic language (and some statically typed ones, like C# as well, if you prefer those)
ooh, just realized I can get symmetric 250mbit internet at my new apartment :o
 
11:28 AM
bit pricey though, think I'll settle for 20/20 or 40/40
but having the option is sweet
also, Neil's been at it again: punchlet.wordpress.com/2011/07/01/…
 
Nice. I'm bookmarking that one for use on SO comments.
 
Xeo
12:11 PM
@JohannesSchaublitb I was actually half-guessing there, as I didn't know that int T::* can really be used for SFINAE. :)
 
Als
hmmmm....
 
user379888
 
why?
 
I don't feel like re-opening it
it's not a C++ question, so gtfo and beg somewhere else
 
Als
@JustAnotherProgrammer: Why not start a new Q
@DeadMG: oh..looks like atleast a Q to me,
 
12:24 PM
First, we can't reopen it, but we can vote for it to be reopened. Second, people will probably be more inclined to vote for reopening if you tell us why it should be reopened
 
Als
@jalf: Looks like the original Q was entirely different from what it is now..As it is now it does'nt look like worst of the Q's for sure
 
third, it actually looks like a valid question to me. I guess I'll vote for it
but please, consider points 1 and 2 (especially 2) anyway
don't just say "please reopen"
 
@jalf The question has been deeply modified. That's why people told him to ask another question.
 
Als
@JustAnotherProgrammer: u have my vote for reopening
 
@kbok yeah, I just looked at the edit history too. But does it really matter? What's important is what the question looks like now
the edit button is there for a reason
 
Als
12:26 PM
@kbok: The Q as is looks perfectly valid.
 
the more it's used, the better
at least, as long as it's used to improve a question
which is clearly what happened in this case
 
Well in this case the question has become a totally different one.
It's more "rewrite" than "edit".
 
Why would you want to have both the old one and this one?
 
Plus it has a score of -4. No one will make the effort to read it.
 
@kbok it's been turned from something unintelligible to a reasonable question. I don't think it's a "different question"
@kbok surely that's not a reason to refuse to reopen it
the way I see it, right now, it's a reasonable question, so it deserves to be open. If the OP wants to delete it and create a new one from scratch, that's fine, and nothing to do with us
but that doesn't mean this one should stay closed
 
12:32 PM
@jalf: I think the question is nothing to do with us, at all
 
Sure. I would advise to open a new question but if he want to keep its history, it's fine.
 
@DeadMG so? 99% of what's said in here has nothing to do with us
Look at the room topic, for heaven's sake
 
there's a big difference between what we choose to discuss and just coming in here to ask us for a favour
 
I can't really see the problem in going into a C++ chat where weight lifting is being discussed, and asking a question about web development
 
+1 for @DeadMG. He just picked up the first room to ask to clean up the mess.
 
12:34 PM
@DeadMG there's also a big difference between not granting someone the favor, and saying "gtfo"
 
Als
@kbok: not much traffic here on weekends besides entry here i not barred
though it is a C+ room, rarely that is the only topic being discussed here
 
@jalf: Yeah, the difference is that he's not here to read me telling him to gtfo
 
if you can't deal with stuff like this happening, perhaps you're the one who should gtfo
 
Als
@DeadMG: we never have web development talks here?
 
because you obviously have trouble handling THE INTERNET
 
12:35 PM
oh he's not even here
 
Xeo
> Please avoid extended discussions in comments. Would you like to automatically move this discussion to chat?
 
@Als what?
 
Xeo
wtf
 
a: he's still listed in the upper right, and b: someone not being here isn't usually what I'd consider a justification for being rude to them.
@Xeo wtf?
 
Als
@Xeo: got that one today, and it just redirects to same page lol
 
12:37 PM
@Xeo: It's new, I've had it too
 
Xeo
0
A: Crash when connecting to Bluetooth device via WinAPI Socket (Access violation reading location 0x00000004)

XeoYou have a null-pointer access somewhere. "Access violation reading location 0x00000004" indicates that, as it is only 4 bytes away from zero.

After some comments back and forth
 
Als
@kbok: the same that you read
 
weird
 
Als
@Xeo: Gets triggered after 4 or 5 comments i reckon and clicking the link just redirects to the same page
@DeadMG: perhaps you should also change the title on this ..
1
A: C++ porting query

AlsYes, a 32 bit OS (W2K and WXP) will run on a 64 bit processor. Also, you should be able to run your application on the same. Here is very nicely put detail. The credit goes to the original poster of the content. I am reproducing it almost as is here so that this stays relevant even if the link...

if you removed the c++ tag
 
yeah
his question has absolutely nothing to do with C++, so
 
Als
12:42 PM
@DeadMG: Looks better now :)
 
Als
12:58 PM
hmmm dead room
 
Xeo
1:22 PM
Damn, I want VC11 already
 
me too
but hey, I've got plenty of other code to get writing
 
 
2 hours later…
Xeo
3:01 PM
Damn. Why is register a keyword?!
 
what would you want it to be ?
 
Xeo
Not a keyword, obviously. :P
I want to use it as a function name. :(
Oh hi @ sbi! // this rimes!
 
Makes sense.
My classmates used to introduce a typo to get around the keyword problem.
char* classs
void regitser()
 
Xeo
lol
 
The important are the three first letters anyway, your IDE does the rest ;)
 
Xeo
3:07 PM
No really. How else would I name a function which allows users to register a loader class? And no, I don't want to name it register_loader.
Oh wait. I actually do want to name it that. Nevermind me.
 
I usually look for synonyms
there is usually a less meaningful, commonly used word for each keyword
 
Xeo
record seems viable
 
Or make it java-ish : doRegistration(). lol.
 
Xeo
hell.no.
Very worthwhile read.
 
Oh no, not this "Considered Harmul" thing again.
This is so over-used.
 
sbi
3:24 PM
@Xeo Hi.
Got a problem. My son and I want to see the soccer games, and we can't digest Spanish commentary. You can watch a lot of German TV over the Internet - but not all of it from abroad. So I would need to appear to have a German IP address in order to be able to watch those games.
Does anyone of you know a proxy service through which I could achieve that?
 
Xeo
You could try proxy.org until you hit a german IP ...
Or you could try googling "german proxy" and hit the first link. :P
Maybe that works
 
4:06 PM
what's the markdown for strikethrough?
 
Xeo
Nothin
Need to use <strike>TEXT</strike>
 
aw fuck
I had an awesome Spanish Inquisition joke but it had to go to waste
 
Xeo
No strike-through in chat and comments for you
 
0
Q: How to Generate Unique Full Names from $names[], $surnames[]?

daGrevisI have two arrays (actual size is 10x bigger): $names = array( 'James', 'John', 'Robert', 'Michael', 'William' ); $surnames = array( 'Smith', 'Johnson', 'Williams' ); I need to generate people's full names. One person can only have one name and one surname. Ful...

 
I did't get that spanish inquisition joke
 
4:14 PM
 
Also, the only answer is the solution #1 of the question, which is said "slow and stupid". People really need to read the questions.
@DeadMG lol
 
4:57 PM
Morning.
 
evening
 
Yeah...
But at least I finally got silver badge, so not everything is bad today.
 
lol
 
sbi
5:47 PM
@Xeo Thanks. I tried, but most of them don't stream, and when they do, they slow it down to the point where this somewhat pathetic 1MB Internet connection is just enough to tease us with some scenes, but make it impossible to really watch a game. :(
Any new ideas?
 
I'm not sure you can get streamable connection from 1MB
 
@CatPlusPlus Congrats.
 
@sbi Go through streams on justin.tv, maybe someone's streaming that. I don't think they do any IP restrictions there.
 
sbi
@CatPlusPlus Thanks. Nothing. :(
 
there should be a rule against posting monty python clips here. How is anyone supposed to get any coding done?
 
5:55 PM
Coding? What's that.
 
sbi
@jalf By not clicking on them?
 
@sbi Now you're just being unrealistic!
 
sbi
@jalf So?
 
not watching monty python clips once they've been linked to is an even worse crime than posting the link in the first place!
 
6:04 PM
last xkcd is 11% funny
I'm disappointed.
 
6:44 PM
@DeadMG It's ---strikethrough--- strikethrough
 
Xeo
@MartinhoFernandes Oooh! Nice to know!
test
Nice.
 
java
 
Just realized how much suckage my statistics classes had. I haven't learned a thing. Anyone knows where I can learn a bit of that?
 
Als
strikedout
 
@MartinhoFernandes statistics is very broad, anything in particular you need?
 
6:52 PM
Distributions, something-tests, that kind of thing.
 
I tried that
strikethrough
oh, it's working now
 
Als
A lil help in closing this one please
2
Q: Why other class names are specified above a class?

cppcoderWhat is the use of specifying other class names above a particular class? class A; class B; class C { ... ... };

its a dup
 
@Als What does "more or less" mean in the answer ?
 
@DeadMG Yeah, I'm sure it was just a temporary outage of strikethrough lines ;)
 
Als
@kbok: What are you referring to?
 
6:54 PM
Sometimes I wonder if there should be a 'Go read books/the Internet.' reason for close votes. I guess it would be abused pretty easily.
 
@Als The most-voted answer says "the C++ compiler works in a top-to-bottom fashion (more or less)"
 
Xeo
@kbok Think of classes
In the (inline) methods, you can refer to data member and methods declared later-on
 
Als
@LucDanton: Atleast for some Q's it would be valid but yes it would be easily abused
 
I see
 
Xeo
There should be a "didn't show enough research effort" reason, which would include "RTFM".
 
Als
6:57 PM
Top-down and bottom-up are strategies of information processing and knowledge ordering, mostly involving software, but also other humanistic and scientific theories (see systemics). In practice, they can be seen as a style of thinking and teaching. In many cases top-down is used as a synonym of analysis or decomposition, and bottom-up of '. A top-down approach (also known as step-wise design) is essentially the breaking down of a system to gain insight into its compositional sub-systems. In a top-down approach an overview of the system is formulated, specifying but not detailing any ...
 
@Xeo That's actually what the downvote tooltip says.
 
Xeo
Yeah, but we don't get it as a closing reason
 
Als
Atleast Q's asking for open source libs and such suggestion asking Q's should be asked to use google first
 
On other SE sites there's "general reference" as a close reason.
 
Xeo
I want that too!
 
7:00 PM
I took that one from Science Fiction and Fantasy.
No idea why it isn't on Stack Overflow.
 
Xeo
Time to go into the madness!
64
Q: Introduce a "general reference" close reason

Pekka's serious accountThere is a certain amount of questions that are absolutely trivial in nature: How to format a date, how to concatenate a string, et cetera. Questions that could be solved by taking a look into the manual. Random examples from the tags I frequent: Editing binary image Inverse date function? - n...

> this close reason was implemented for testing on scifi.stackexchange.com and english.stackexchange.com
so it may come to SO
 
Als
@Xeo: It is going to be very subjective to control such a rule..
pretty much might be the reason for future flame wars & atroticism
 
What's "atroticism"?
Google 404s on that.
Typo?
 
Als
atrocious - extremely bad or unpleasant
 
Oh great... i need to go out to cut my hair and shit, but my wife went out with my car... and the keys of her car, are of course, with her.
 
Als
7:10 PM
should've been atrocism
 
maybe atrocious criticism ? :)
 
Als
We need a english language lawyer tag here too!
:P
 
7:41 PM
there's no such compound word involving atrocious
fundamentally, atrocious - atrocious what?
 
8:30 PM
1
Q: What does "*ptrInt ++" do?

KlitschkoI'm implementing a template pointer wrapper similar in functionaltiy to boost::shared_ptr. I have a pointer to an integer ptrInt. What I want to do: Increment the integer ptrInt points to. My initial code was this: *ptrInt ++;, although I also tried the same using (*ptrInt) ++; Apparently, ho...

Seems like people don't bother to learn the language they code in. Sigh.
 
Writing a template before knowing how the syntax works sounds like fun.
 
hey, can you blame him? Templates are just cool
 
Also *p++ is idiomatic but not obvious
Anyone familiar with incremental linking with either ld.bfd or ld.gold?
 
Third Google hit for "ld.gold": cigarette-store.org/online/ld/gold
 
@MartinhoFernandes lol :P
 
8:41 PM
Yeah, it works better when googling for GNU Gold.
ld.gold is used to differentiate from ld.bfd (plain old ld) because it acts as a drop-in replacement.
 
0
Q: Annoying behavior with comment input box

Johannes Schaub - litbI have experienced this event multiple times now: Writing a comment about something Being in need for executing an application (for looking something up or doing regular work, ...) Pressing down "return/enter" key dismisses the OS "execute app" dialog. Now, the browser window gets focus again w...

 
Yes, that could be annoying, but it really is a PEBKAC.
 
no, it's a problem with that app
they should only fire their UI event on key up, but instead they only consume the key down
 
yeah. the chrome info dialog also closes on key-down. that's bad
 
well, whether they want to close on key down or key up is one thing, but they should definitely consume both messages
 
8:52 PM
same for some mouse events. if you are in "shutdown" dialog of KDE and click on the greyed-out background to exit, when you release the mouse button, the dialog is already dismissed. but if underneath, there was an app icon on the desktop, the corresponding app is then executed on mouse-up event xD
 
owch
 
Als
Hello
 
AFAIK, the usual behavior in Windows is: mousedown on a button visually presses it down, mouseup triggers the action. Pressing space down does the visual pressed effect and releasing space triggers it (just like mousedown). But with Enter, it's keypress that matters (which is triggered according to the keyboard repeat rate settings).
 
how are you?
 
9:00 PM
You can "OK" through a bunch of dialogs by leaving Enter pressed down, but not with space.
 
doing ok
 
So, adjusting your keyboard repeat rate may help. No it doesn't. It's keyup that triggers the comment sending. :(
 
been working with more hypothetical language features :P
 
being what?
 
Als
hola precious
 
9:01 PM
lol
 
hehe, how is precious?
 
Als
@JohannesSchaublitb: Well there are only a few tigers left around u see @TonyTheTiger is precious!
 
@Tony: Well, if you read my blog, you'll see a nice workup on my current state on it
 
@Als hahah you are funny :)
@DeadMG link?
 
damn, it's so nice not to have to repeat myself anymore
 
9:03 PM
You should put that on your profile.
 
oh yeah
 
Als
@MartinhoFernandes: Any idea about the string error discussion?
 
Since I can't reproduce the OP's problem on my machine, there's little I can do to figure it out. :(
 
Als
@MartinhoFernandes: It works on Ideone too.
which uses gcc i believe
 
what string problem?
 
9:06 PM
It uses GCC 4.3 for C++ and 4.5 for C++0x.
 
Als
@DeadMG: The top of the stack Q in C++ tag.
 
I still haven't dismissed possible user error.
 
oh that's easy
MSVC has that specific behaviour, actually
the full definition of string is included but not the free function operators
 
Als
Why should it give the OP error "no defined operator ">>" when it cant know actually what string is firstofall
 
in MSVC, the operators are free functions and included in a different header
 
Als
9:08 PM
@DeadMG: ah okay that could explain it..
 
in <iostream>, you get the full definition but not the operators, for some insane reason
 
Well, you should include <string> anyway, so it's not that bad.
 
Als
:)
 
yes, the implementation has every right to not include any of std::string with <iostream>
 
Als
@MartinhoFernandes: What does that do in specific?
 
Hides those boxes with the number of pending flags that show up in the top bar when you have more than 10k rep.
 
Als
Yes those are annoying shows 88 and 24 now
 
I'm sure the code could be better, but it's what I managed to get working with the little JS/DOM knowledge I have.
 
Als
@MartinhoFernandes: Running away from your mod duties eh :P
 
9:33 PM
What? I've been helping this community for two and a half years, and what I get for it is more work?
I'd rather be answering questions.
 
Als
@MartinhoFernandes: Just kidding, I had no intentions to discredit your contributions.
 
@Tony: Did you read it?
 
Ugh, seems like my script broke something :(
Maybe it's because I'm loading jQuery even though it's already loaded by SO.
Dammit.
Guess I'll go back to C++ for now.
 
9:56 PM
hmm
jquery seems to be quasi-standard JS nowadays
 
10:24 PM
Few years back, it's been one of few choices that made writing cross-browser JS possible (without sacrificing any goats and losing the mind, anyway). It was the most lightweight of the competition, maybe that's why it stuck. Dunno how the compatibility matter is now, haven't looked into that in a while.
 
I find it pretty easy to ignore these flags. Should I be ashamed for wanting to ignore them...? I sometimes do look at themm but I find it pretty tedious to look through them, especially when there are say, 78 posts requiring attention.
 
@MartinhoFernandes Wouldn't UserCSS suffice?
 
@CatPlusPlus How do you do that?
Create a .user.css file?
 
@CatPlusPlus There was also Prototype, which was even older I think. But I believe jquery is considered cleaner because it doesn't add methods to the standard JavaScript objects.
 
Xeo
103
A: New programming jargon you coined?

Scott SmithHocus Focus problem - unexpected behavior in Windows caused by changes in focus, or incorrect setting of focus.

 
10:27 PM
With Firefox's Stylish, you click on the icon and Write new style > For <domain>.
.mod-flag-indicator { display: none !important; } should do.
@sehe I never look at the flags at SO. But those aren't as annoying as flags here.
@StackedCrooked I know. But Prototype was biiig.
 
Hmm, will have to investigate how to do that on Chrome.
 
I haven't seen it used in a while.
There also was another popular one, I can't recall the name, though.
(Typing fail.)
 
There's Stylish for Chrome! Great.
Thanks @Cat.
 
here is how you fix it: #define register notAKeywordAnymore
 
@JohannesSchaublitb true, but not recommended in real code :)
 
10:42 PM
@StackedCrook: as if using the register keyword as an identifier is recommended in real code :)
 
register is actually the keyword that most often conflicts with method names
 
export would be a candidate too
 
register(), unregister(), it happens sometimes that I want to write such method
@JohannesSchaublitb yes, that one too
 
bool export(string format);
 
I remember export being quite obnoxious (as apparently microsoft had chosen to reserve it for future use)
 
10:44 PM
I once tried to use a C library that declared a function called 'new'
 
I never have real trouble finding /better/ (LOL) identifiers, though
In case of using existing libs, I'd go for the #define trick. Unless, of course you have headers only, because it will fail link to any 'renamed' external symbols
 
This conversation just reminded that I need to rename a member from rethrow to raise. I would have named it throw otherwise.
 
yeah languages with many keywords suck
 
No, languages where you can do this suck:
6
A: Select Case True

Chad BirchQuestion's a little brief, but the form he's asking about is often used instead of an If/ElseIf type block, some people find it a little easier to read. For example: Select Case True Case testVariable < 0 Console.Write("You must supply a positive value.") Case testVariable &g...

 
i'm gonna invent a new programming paradigm: keyword oriented programming. everything is a keyword
 
10:52 PM
sadly not possible with c++
 
as in "not lucky about"
or do you mean that it's good that it's not allowed
i think it's a neat feature
 
Huh... if .. else if ... else if ... else ... achieves the same.
 
@Martinho, @Johannes: You never seen Duff's device, or co-routines in asio... Pretty darn amazing, but wayyy more disputable than any of VB's misfeatures
Just saying 'our' switch statement isn't stricter (not by a mile or 100) than VB's Select case :)
 
The flexible Ruby syntax allows you to create domain specific languages. They seem like little programming languages on their own but are actually valid Ruby syntax. This makes me wonder if an ultimate language could exist that can mold itself into any other programming language.
 
10:56 PM
Isn't C++ that? Look at Boost Proto, Boost Spirit and you'll see the same.
 
> A programming language where the syntax and semantics are mutable at runtime
 
Also, many 'functional' languages feature this (nemerle, boo, all lispy langs etc. incidentally I list the ones having a .NET implementation)
 
boo is cool.
 
@sehe Yeah, but its limited.
@MartinhoFernandes Never heard of it before. Having a look...
 
@Martinho: at runtime... that's a challenge for C++ allthough I recall that some progress was being made by some project. It'd compile and load as shared object
 
10:58 PM
> There are no special constructs in Katahdin that cannot be modified, including white-space and basic tokens.
 
someone here has any experience with Tomcat?
 
Boo is by the venerable Rodrigo de Oliviera; it rocks, though I ended up liking nemerle a tiny bit more
 
This means even Whitespace) could be emulated.
 
oops ;)
Misread what you said.
 
Markdown fail.
 
00:00 - 23:0023:00 - 00:00

« first day (259 days earlier)      last day (4692 days later) »