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

12:00
@sbi oh yeah, I am sure there is far too much tuna eaten as a whole.
@CatPlusPlus You still haven't described a viable alternative
if tuna was only allowed to be line caught, I would assume the price would go up to represent the cost of catching it. Which in turn I would assume to reduce the demand. Still, I doubt very much that a world wide ban on net fishing tuna could be imposed
By the way, I could short-circuit the discussion by pointing out that we actually need HTTP auth for Kerberos/SSO support, but let's leave that out for the time being
gosh. My friend is farming his rep in . What a f*cking loser.
2
And what a good friend your are.
12:04
Well, I was kidding, he's a front-end dev.
@BartekBanachewicz Why is that? If one knows the answers and is being helpful, one deserves the rep
@BartekBanachewicz Ah
@sehe I know, it was just his words when he said that the tag is polluted
It would be similar to some of lounge regulars farming 1 rep c++ newbie questions
I do that.
Well, not really, since I don't have that much rep.
@CatPlusPlus open-std.org/jtc1/sc22/wg21 uses http auth, if you don't believe that it exists in the wild. :)
It's sad sometimes when after long periods of nothing a nice question shows up, and before I can read till the end Luchian posts his answer
12:08
Bad standards all around.
And it's then point when I won't be able to make my answer any better
@CatPlusPlus http auth isn't bad
@jalf OAuth.
@BartekBanachewicz Oh well. When I repwhored I'd simply beat down any question at all. Getting a nack of wording answers directly and clearly, finding proper samples/links.
Speed is everything, also IRL. It's not just about knowledge, it is also about the speed at which you integrate the knowledge to do what you need.
(anyways, loooong time ago since I repwhored)
Well, the first 100 rep was really hard for me
@CatPlusPlus Assume, for a second, that we need to be able to connect with other clients than browsers. And that we don't want complex dependencies on the server-side
12:09
@BartekBanachewicz Mmm. You might want to re-evaluate the latter part :)
@jalf Keep in mind the cat is sick today. He might be uttering confused ramblings.
Yup. If you're motivated to write helpful answers, it doesn't matter that you come in late. If you do a bit of useful explaining, showing how it's done (on liveworkspace.org, e.g.) you'll get the credit
Also, OAuth is intended for authorization, not authentication. "Once we know what you are, here's what you're permitted to do". Using it for the "finding out who you are" part is kind of abusing it :)
@sehe Oh, I didn't want to sound like I (DAMN ENTER) am complaining, really. I really think that I will earn my rep when I will know more. I can hunt for newbie questions, but only the hard ones make me make my research and develop
12:16
@BartekBanachewicz It works like that. Just read the asnwers on questions that you were unable to return-volley off-hand. Soon enough, you'll have that knowledge at your command.
2 days ago, by Chimera
That's why @sehe got my vote and Skeet didn't.
^ I came in 'late' there ^ (mostly because doing C# in Vim/linux is not what I usually do :))
> Get two mentors: one twice your age and one half your age. -- source
I think I should put it on a sticky note. "If the nice question was already answered, make sure you understood that answer"
Perhaps this is one of the reasons this room works well for me ^
@sehe haha, i don't think you're twice my age
@BartekBanachewicz Nearly. I'm 35 :)
^^ I thought for a split-second that maybe you added a few years to your profile
12:20
@BartekBanachewicz It's possible. I make it a habit to just fill in 1/1/1970 as date-of-birth on many sites. You know: who cares :)
I wonder, though, if the 10-year-old would really help me.
@sehe yup. + (exact) date of birth is kind of information that shouldn't be public
> and after a big fight I realize that the problem is the Visual runtime x86
lol
Sometimes they do. I've had ample inspiration from younger ones (though, maybe not 10y/o, I do remember 12y/o coming in here and showing awesome sense of direction and learning attitude)
OP ^ had a fight
0
Q: CLI/C++ publish .exe?

user1609284I've got a CLI/C++ project, I've already create the final .exe and all redist with Advance Installer. It doesn't work.. and after a big fight I realize that the problem is the Visual runtime x86. After researching in the internet I found that only the redist can be download.The runtime comes ...

@sehe Well, that's why I also like to teach fellow students; while they aren't 10 year old, they are a few years in experience behind; yet they ask wonderful questions
I am actually thinking to make this thing official with my uni; I guess it would fit into my CV nicely.
wow. Jedi Council of Mentors. Nice idea.
12:32
0
Q: What non-destructive alternatives exist to class vectors in c

user314159I'm using a vector to hold pointers to a class. class fooContainer{ private: vector <Foo *> foos; public: void processFoo(int fooIndex); }; The problem I face is that pop_back() drops the element, I only want to remove it from the vector but not touch the object in question. I a...

@Cheersandhth.-Alf what is the point in that answer of yours? You're merely pointing out a syntactic error in OP's question
@KonradRudolph Wokay. Glad to know that. I'm just a bit flurbled that you mentioned it then. Anyways, I'll upvote your other answer (??!) then for gimmick-ness :) — sehe 45 secs ago
Hehe ^
flurbled about slurp implementations
btw, in my infinite journeys through the internet, this story is i think the best one on thedailywtf. "Do it for John Carmack" : thedailywtf.com/Articles/Gaming-the-System.aspx
@StackedCrooked lulz
12:40
slurp as in the thing you do when you drink?
@StackedCrooked Please say you made that up, and 'slurp' is not yet another web script framework:(
@TonyTheLion See the linked comment /cc @MartinJames
So you haven't actually debugged? Voting to close... — Luchian Grigore 13 secs ago
@sehe OK, adding 'file slurping' to biological storage...
Xeo
Xeo
Hm. Why doesn't std::stringstream offer construction from a streambuf pointer...
13:01
I hate it when I have to say "const variable"...
constantly varying
You can say constant object.
@LuchianGrigore Reminds me of thread-local mutexes for some reason.
@StackedCrooked That would be variably constant
I miss c++. Im tired of this php bullshit
13:17
@AmadoMartinez Are you being paid to deal with PHP's bullshit, at least?
13:36
Even if you get paid for doing PHP, it’s not worth it.
anyone here good with trig/unit circle related stuff
dont need it solved for me, just how to do something
YouAreNotBatman
:D
YouAreBadMan
@daknøk I'd do it for a billion dollar.
13:43
For how long?
For a week.
Okay. :P
Not for like, a year.
That’s just insane, even for a billion bucks.
Nah, a year is too long.
After one week of PHP there is still hope of restoring my mental sanity.
Insanity wolf!
13:44
I'd code PHP for a year form 200k...
And so would you guys
200k, that’s like what a Haskell programmer gets.
riiight
with 15 years exp, right?
Somewhat like that.
But no, I would not write PHP for 200k.
Never.
I want my job to be fun, and that’s not possible when working with crap.
I’d rather become a cotton picker or something.
@daknøk I wondered why I was having no fun today.
13:48
@daknøk you're 17 :))
fun is undefined in terms of PHP.
@LuchianGrigore So? I have had a programming job and it was largely PHP. It was fun, except for the PHP part, which was terrible.
how much were you paid?
€7/h. Tax free.
full-time?
13:49
yep
That's ~1.1k / month
12k/year
we're talking about 20 times that
I only did two months.
@LuchianGrigore I know, but it would still not be fun.
Fun is the most important factor when choosing a job.
I don't think the actual language plays that much a role in it
13:51
@daknøk Sure - you must have been getting quite thin by then..
The people contribute much more
PHP is more than a language. It’s like a terrible language with a terrible standard library and a terrible community.
3
What you actually do contributes more than the language
You can't think like that
but whatever
What I do is irrelevant to the crappiness of the technologies I work with, and how much fun it is to work with those technologies.
@LuchianGrigore I can think however I want.
I know
Same here
And I think that's BS. If someone comes up to you with an offer for 200k, you'll take it. Unfortunately, there's no way to prove it, but you would.
Unless your parents are big-shots or whatever, but that's an extreme case.
Otherwise, you'd take it.
13:53
I would not.
> Unfortunately, there's no way to prove it, but you would.
Money is something I don’t care about.
Fun = everything.
You know there's a life outside the workplace, right?
And with that much money, you can have a lot of fun.
Yes, and that must also be fun.
I have a lot of fun when I’m with friends, whether I have money or not.
I just think it's dumb to turn down an offer just because of the language. There's much more important factors.
13:56
There are much more important factors.
It could be PHP, but it could also be really solid, not the crappy kind you see in common websites.
Like how much fun you have with your work.
And you could be doing interesting stuff with it.
Hi
I take it you don't currently have a job, right?
13:57
No, I’m at school.
Luckily, no-one has ever offered me 200k to write PHP & so the moral dilemma has not cropped up.
And you're supported by your parents, right? @daknøk
> Need a challenge? WANTED: Real senior PHP cracks for enterprise solutions
> Need a challenge?
@LuchianGrigore uh yeah.
Well, the point of using PHP is that developers are cheap so 200k offers are very unlikely to appear.
Then it's understandable you're not interested in the money. But you will be.
13:59
> You wanna be bored out of your mind, go to Google or Facebook.
money has diminishing marginal returns in terms of utility
I’d rather do Python development for 50k than PHP for 200k.
money allows fun, but based on how you spend your time and enjoy life, you only need so much
Yeah, I'm sure working at FB must be boring as hell.
13:59
FB do C++ development for their backends
it's sometimes a good idea to take a job you hate if it pays well and then leave after a couple years so you can have a bit more freedom later
@kbok it is... I mean they do it in PHP right?
weighing the pros and cons yo
@TonyTheLion Backends? Are we back to arseholes again?
FFS everything's booked in Berlin.
14:00
They used to, yeah. But I'm not sure the active development still happens in PHP.
The job they contacted me for was in C++.
So, let's use the Job Description Stripper Premium (tm)
I'd imagine they use more than one language
Would be fairly pointless to do all their backend/infrastructure stuff in PHP
@R.MartinhoFernandes Not suprised, Whenever I go to mainland Europe ther's always some miserable convention on, (shoe salesmen or the like), and only stupidly-priced 5-star hotels have rooms.
> PHP.Drupal.Exp 10+.Joel Test.
Assuming they are lying, you can remove the 10+ and the Joel Test.
What's wrong with shoes ? lol
Shoes are awesome.
@daknøk would you rather code PHP for a year or suck a dick?
14:05
@MartinJames no
@LuchianGrigore no.
Also, sucking a dick and writing PHP are equally terrible jobs.
Well, my feet get too hot in them and their salesmen book up all the soddin' rooms wherever I want to go to..
suck a shoe
14:06
@daknøk you're really comparing a programming language to blowing a penis, right?
I'm sending mails to local startups. Wish me luck
4
@kbok Good luck.
Also I have Stack Overflow Careers invites, if anyone is interested
@daknøk Our dog is only average at one. Maybe I'll try to introduce him to dick sucking.
14:12
@kbok Everyone has Careers invites these days.
@MartinJames A dog? Trust me, he doesn't need introduction to that.
@R.MartinhoFernandes WTF ?
@kbok What? Never seen a dog licking his balls?
@R.MartinhoFernandes Ball licking and dick sucking are two different, separate activities.
3
OH nice conversation to step in on.
14:15
@Drise Be very careful what you step on..
@MartinJames Worst that could happen is I step in shit.
What's wrong this morning? When I get up, I expect the starboard to have at least one link to a funny picture. You've failed me! Life is ruined!
@Drise Also, it's not a very nice conversation for PHP developers.
@JerryCoffin Look to port, then.
I do have a funny pic but I'm not sure you would understand
@Drise No one's mentioned Java yet.
@R.MartinhoFernandes You know there is a solution to that: Disregard stupid religion requirements.
@Drise Wut?
I don't even know what the problem is.
@R.MartinhoFernandes #MuslimRage Can't show her hair.
Her hijab is covering her hair.
14:19
"Poor Lana, her head is really, really heavy."
..Jav... nope, decided against it.
@MartinJames Java sucks donkey cock. /cc @DeadMG
@Drise It has its niche uses like any other language ;)
@Drise Y'know, like pissing off C++ devs.
@Drise Does he even give a flying fuck?
user784668
@jornak That's the only sensible usage of Java.
user784668
14:20
@Mysticial He gives a swimming fuck.
@jornak But it's a knockoff of C++, it runs in a virtual machine, and every function of a class is virtual.
@Fanael Yeah, that's what I'm thinking too...
@Mysticial DeadMG loves things that "suck donkey cock"
@Mysticial Hehe.
Xeo
Xeo
30
A: Is it good practice to force users to give us their email address before showing them our site?

AndroidHustleNo, it's not a good idea. You want to make purchasing from your website as easy as possible. Forcing a user to give out an email address before they're even able to see what you're selling is not a good approach. This will most probably push a big part of your customers away from the site rathe...

UX is interesting
14:22
Well, that sounds pretty obvious to me.
user784668
UX sUX.
meh batch files suck
Okay okay.
Everything sucks.
This question is pretty terrible thou
@daknøk No it doesn't. I've had to buy two new vacuum cleaners already this year.
14:25
@Xeo Jeff mentions in his book that most revenue comes from anonymous users.
@MartinJames Port side is clear sir!
Jesus fucking Christ, whoever washed these cups at work should be shot.
@MartinJames We have the same vacuum cleaner for over ten years already and it still sucks as much as it did when we first bought it.
Having my morning coffee and all I can taste is soap and sugar.
Amazing.
14:26
@kbok Well, I am only about half awake.
@daknøk Sucks in the literal sense, or the figurative?
Literal. But it was a pun.
@JerryCoffin I'll try to find some funny pics for later.
0
Q: Print c with gcc and c++ with g++

akashCan anybody tell how to write a program which when compiled with gcc prints c , and with g++ prints c++?

wut ^
@jornak The sum total remains constant.
14:26
@jornak Compared to the taste of coffee, that would have to be an improvement!
@JerryCoffin So, did you understand ? I'm afraid those ads only showed up in Paris
@JerryCoffin Not really, especially when my stomach wasn't too happy this morning anyway. :P
Chat search is borked again
@kbok Ah, I did see that. Looked less funny than an excuse for pictures of a pretty face (not that object to the latter at all).
14:27
@Drise My latest bug report is still unattended.
@jornak Of course it's not happy if you subject it to coffee!
(WTF? why did I write "bug request"?)
@R.MartinhoFernandes I can search normal, but if I try to enter a user name, I get lolcat
user784668
@R.MartinhoFernandes You want them to make moar bugs?
@R.MartinhoFernandes It will be blown up by security.
14:29
And WTF. Two people voted to close as "too localized"
Despite it being
WTF is wrong with this people.
Looks fine to me <_<
user784668
@R.MartinhoFernandes
@jornak Try donkey with DeadMG
0
Q: Windows 8 apps DON'T WORK

Protected IdentityI've been making metro and wpf and desktop apps for windows 8 for a few months now. I've added all associations and declarations. And my resolution and other specs meets said requirements. Metro, and Desktop WPF apps run perfectly when I debug, but when I deploy or publish them, they don't run....

14:30
LOL @ title
Even Shoggy has repro'ed it.
@Drise So apparently he's mentioned donkey balls enough times to break the search feature? Christ.
2
user784668
@R.MartinhoFernandes The people who close-voted are .
people can see who close voted a question?
@TonyTheLion Not until it gets closed.
14:32
@R.MartinhoFernandes hmm
@Drise DeadMG has too much to search through and it is timing out, it would seem.
user784668
@TonyTheLion The best thing is that both answers are technically invalid.
user784668
If the code is compiled with g++ -x c, it prints c despite being compiled using g++.
@Fanael oh
@Drise Same thing happens with Tony as well. Definitely a timeout issue.
14:37
so then it's really not possible to do that?
user784668
@TonyTheLion Yes.
@jornak The search feature is extremely fragile, it seems.
@R.MartinhoFernandes "We're the premiere site for answering programmers' questions, but we can't code a decent search feature worth shit."
@Fanael I've edited my answer to mention that
Whenever I file a bug about the chat search, I always give this query chat.stackoverflow.com/… as an example where it breaks.
user784668
@TonyTheLion Have an upboat for being correct.
Greetings
How is everyone?
Xeo
Xeo
@R.MartinhoFernandes Chat search is sloooooow T_T
user784668
@TonyTheLion The reason is that gcc and g++ are only drivers, the real compilers are cc1 and cc1plus. Whether to use one or the other is determined by the source file extension (and the driver, g++ will compile C files as C++), unless you override the detection using -x.
14:43
So happy i returned the ipad and got an android instead.
@StackedCrooked I like this one:
Sep 13 at 19:07, by DeadMG
@JerryCoffin Holy donkey cock that looks like a nice monitor.
@Xeo Query a number of records or by date and return those paginated, obviously.
@R.MartinhoFernandes I noticed that one as well :)
However, productivity drops when monitor size goes over 26".
user784668
@StackedCrooked Citation needed.
1
Q: Determine if numeric type A can be cast to numeric type B

Alexander Tobias HeinrichGiven two numeric types From and To. Does the following code actually determine whether or not any value of type From can be represented as a value of type To without losing information? If yes, is there a shorter or more readable way of determining? template <class From, class To> struct ...

would std::is_same not work on just the types of From and To?
14:46
@TonyTheLion Wait, isn't that in Alexandrescu's book ?
@kbok donno
@Fanael It's actually 24" I think this is the original study.
Jeff also blogged about it.
It's better to have multiple medium-sized monitors than one huge monitor.
@StackedCrooked Had a quick read. Doesn't really apply to many developers who have multiple windows open.
Heh, the company I just mailed viewed my profile :) (I saw the count increase)
@TonyTheLion Damn, too early since I woke up to parse the test logic.
14:54
oh
Xeo
Xeo
@R.MartinhoFernandes I had the same idea with list initialization, but Clang and GCC only error for float -> integral conversion. :(
Yeah, GCC has issues with it.
IIRC newer versions (or possibly only snapshots) deal very badly with SFINAE, while older versions can deal with it but follow C++03 specs (i.e. a narrowing conversion will not be an ill-formed expression).
@Xeo Ugh, yeah, just tested it.

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