« first day (1590 days earlier)      last day (3351 days later) » 

9:01 AM
Anyone?
 
user1804599
Just return m_vec.cbegin() and m_vec.cend()?
 
std::vector<T>::iterator cbegin(){return m_vec.cbegin;}?
 
user1804599
lol
 
user1804599
auto cbegin() const { return m_vec.cbegin(); }
 
9:21 AM
Nope that throws an error "using auto type without trailing return type".
Instead `auto cbegin() -> decltype(m_vec.cbegin()){return m_vec.cbegin();}` this works.
 
user1804599
Use C++14 you fool.
 
user1804599
 
user1804599
9:37 AM
This is nice in Scala:
 
user1804599
case class Currency(name: String) {
  case class Value(amount: Rational)
}
val (USD, EUR) = (Currency("USD"), Currency("EUR"))
val x: USD.Value = EUR.Value(42) // type error
val y: USD.Value = USD.Value(42) // OK
 
@Elvisjames Are you using C++11 or C++14?
 
> Mama?
> Unclear what you're asking!
 
Yay, Stockholm.
 
9:50 AM
@FredOverflow stop calling Jerry C mama, even I am blushing for your misbehaviour!
 
yes i am aware of vectors but for this particular code i need to use a pointer to an array of size i — hop joppe5 16 mins ago
wokay
 
10:10 AM
> Here’s the metaphor I like to use: assembly coding is infantry: as fine-grained as one could want to be, but slow (to write), lumbering along at 3.1 miles per hour. C is a tank. It’s robust, it’s powerful, and it’s extremely impressive and well-designed, but it moves at ground speeds: about 50 miles per hour. That’s what it’s designed to do.
> Languages like Python and Ocaml are airplanes– very fast, from a development perspective, but not fine-grained at all. C++ exists because someone had a fever dream in which these two classes of vehicles got mixed up and thought, “I’m going to put wings on a fucking tank”. The drag and awkwardness imposed by the wings made it terrible as a tank, but it doesn’t fly well either.
> Java was invented after a few horrible tank-plane crashes, the realization being that the things are too powerful and fly too fast. It’s a similarly ridiculous “tank-icopter”. It’s not as fast as the tank-plane, and few people enjoy flying them, but it’s less likely to kill people.
lol
 
Oo Freddy, why do you have such a deep, passionate love hate relationship with Java?
 
user1804599
Riddle: what is the index of the first element of an array in Perl?
 
0?
@chmod711telkitty Because I use it every day?
 
user1804599
@FredOverflow Wrong.
 
user1804599
It's the value of the global variable $[.
 
10:16 AM
@райтфолд WTF is wrong with people?
 
user1804599
@FredOverflow It has been deprecated and if you enable 5.16 mode you get an exception if you set it to any value other than 0!
 
Can I set it to 0.5 as a compromise?
 
user1804599
That'll be cast to an integer.
 
user1804599
Oh, you can only set the variable at compile-time.
 
user1804599
 
10:21 AM
How about -1?
 
@райтфолд Genius
 
user1804599
@FredOverflow That should work. The index if the first element will be -1.
 
user1804599
Speaking of AWK, I wrote a tool that colours logs in AWK.
 
> In instantiation of 'struct Concepts::bad_concept_instantiation<Concepts::expr<bool, Concepts::models<concepts::ContextualBool> > >'
wut
 
user1804599
#! is the best thing ever.
 
10:36 AM
> IMVU's automated tests uncover a bug in the Windows SSL layer
"Shooting towards people may kill people"
 
@Jefffrey what is this
o_O
 
but why..
why does it show your email anyway?
That's kinda dirty.
 
A good question would be: why not?
 
10:51 AM
iunno
 
@Rapptz Because it's public on github.
 
Not mine.
 
Then it won't show yours.
 
I'm thinking of picking up Sherlock.
 
It's a good series
> Too many new rules I don't wanna read
Feb 9 at 17:03, by Etienne de Martel
Greetings and welcome to the best chatroom on Stack Overflow! If you're new, for your safety, be sure to read the rules before proceeding!
 
10:54 AM
Yeah, hi all :)
I'm not really new here and I already read the rules
 
> You know the rules, and so do I
 
@61612 You have 16 messages in here. You are super newbie.
 
Pfft, that doesn't change the fact that I read the rules before
 
NO YOU DIDN'T
 
@Rapptz My advice is to watch the first episode. It you don’t like it, I don’t think you’ll like the series at all.
 
10:57 AM
I should but it's 6 AM.
 
@Jefffrey are you serious?
 
I like mystery but my friend told me it isn't the kind of detective shows I usually watch.
 
jesus, it's like 10 episodes, go watch it all and stop bitching about what it may or may not be
 
I found that the series is not as interesting the second time around. A lot of the appeal it holds for me is in buying the tension / thrill, which vanishes when you know the episode already. In case that helps you deciding.
 
What series are you talking about?
 
10:59 AM
sherlock
 
@Jefffrey 90 minute episodes*
That's like 10 movies.
 
yeah and Lost is like 61 movies
 
@Rapptz What kind of detective show do you usually watch?
 
@Jefffrey I was trying to sell Lost on eBay the other day, but it turns out, Season 2 is forbidden to be sold on eBay by ordinary people like me because Sayid tortures a guy or something.
 
seriously? wat
 
11:03 AM
Yes. At least in Germany.
 
@LucDanton Meitantei Conan.
Usually someone dies, you're given clues (as the character is given clues as well), and then it's solved.
Might last more than 1 episode.
Usually does for the more complicated ones.
 
@FredOverflow Reference?
 
Fun to solve along.
 
Only know from reputation. Do those clues mean it’s a bit like a whodunnit?
@Rapptz Yeah I don’t think that can happen with Sherlock.
 
Well the fun is only on my part :p
 
11:05 AM
Watch Columbo then.
It's basically the opposite.
 
Of what
 
You can guess parts of the mystery in Sherlock if you know the original stories, as I’m told it regularly references and pays homage to them. But that’s not really solving then is it?
 
> Achtung: ab 18! Eine Lieferung an Minderjährige ist nicht möglich.
 
Meitantei Conan has a lot of references to Sherlock Holmes too.
 
You can't sell FSK18 stuff on eBay.
 
11:06 AM
@Rapptz The mistery of who it is is solved in the beginning, and for the rest of the episode you wonder how Columbo will figure such a perfect murder out.
 
Oh.
Those episodes make me sad.
I wanna play detective too.
 
In any case I think the main appeal of the series is in the story telling and inter-personal drama. And seeing Sherlock being Sherlock. The rest of the drama is fun, too.
 
I doubt I'll dislike it.
He just told me not to go with the usual expectation.
 
Is Sherlock the series played by the same guy like Sherlock the movies?
 
@LucDanton You are fun too, bby.
Anyway, off to eat something.
 
11:10 AM
@FredOverflow There have been many Sherlock Holmes film adaptations. In any case RDJ is not in it, it’s a British series.
 
@Rapptz sherlock-picking seems to be a nice pastime for hackers
 
user1804599
I'm jealous of believers.
 
user1804599
I wish I had an imaginary friend too.
 
@chmod711telkitty quite the opposite I fear. It's the people who want children :)
@райтфолд Hah. What do you take us for then o.O
 
user1804599
You're neither imaginary nor friends.
 
11:23 AM
We're a real pain in the ass... Mmm
 
@LucDanton In fact, isn't Sherlock Holmes the most-adapted character in television history? Or was it Dracula?
 
Something like that, yeah.
 
> Guinness World Records has listed Holmes as the "most portrayed movie character", with more than 70 actors playing the part in over 200 films.
200 films... I wonder if some SH enthusiast has watched them all :)
 
Sherlock Holmes?
 
user1804599
11:28 AM
@FredOverflow You should make /bin/sh a symlink to /bin/find.
 
Shellock Hormes
 
user1804599
Structured Handling
 
Some Windows antivir program named its directory scanner "Luke Filewalker". I found that quite funny back then.
 
user1804599
Reminds me of the guys who named their supervisor "pedophile."
 
user1804599
11:30 AM
> There's an old tale of a threadpool-y class which, in that it monitored child threads, was named Pedophile. This is all good for a laugh, until your customers call in to complain that your program is crashing with only the message, "Error: Pedophile has no children to watch."
 
Someone should tell this guy what a pun is, and that puns are not errors.
 
user1804599
lol
 
user1804599
> Who's a pedophile?
 
user1804599
Great. Time to eat.
 
@FredOverflow nice
don't remember that ep
 
user1804599
11:34 AM
EPs are obsolete.
 
user1804599
Nobody uses them anymore.
 
user1804599
Maybe C programmer still use them. That's why they're obsolete.
 
user1804599
> I'm astonished how U.S are soo good of faking stuff, whole world knows that it was Americas plan to create 9/11 in order to tarnish the muslim world-
 
user1804599
lol
 
user1804599
11:36 AM
zionist complot
 
user1804599
epic troll
 
user1804599
> There are many examples in both Qur'an and Sunnah that prove
 
user1804599
eheheh
 
> I seen all this Air Crash movies. And always the same begining. One of the most busiest airport in the world. One of the busiest controll tower in the world. One of the safest airplain in the world. This pilotes are almost the most experienced in the world. So why, all this shit hapens?
C++ is one of the most efficient languages in the world... dam dam daaaaam!
 
user1804599
> You clearly need Jesus
 
11:40 AM
> It was never banned. It is not Air crash investigation/Mayday. It's from a Canadian tv series called Zero Hour. It was aired in 2004
That's about the only comment that makes sense :)
 
11:51 AM
aaaargh
now I remember
these shits set up their password boxes so that you can't copy&paste into them.
so no password manager passwords.
 
user1804599
Use JavaScript.
 
I tried that last time and it actually broke their login page
but that's what KeePass has "perform autotype" for I guess
 
user1804599
Fuck, I killed myself by spawning a black demon in the wrong place.
 
lol
whew
calculated my finances and it turns off that I'm considerably better off than expected.
 
Morning
Looks like I have a serious case of PEBCAC here
 
11:59 AM
oh my... that took longer than I thought it would. But now I feel the breeze on my face again, and can no longer ponder.
 
0
Q: Boost can not find lib

PiwniczneI'm interrested in unit test so i decided to install boost to make some unit tests included in that libraries. First I've installed this: http://sourceforge.net/projects/boost/files/boost-binaries/1.57.0/ Then I've changed paths in my VS2013 to find headers and libs(libs at linker options). The...

 
user1804599
@Puppy that'd turn me on, not off
 
@Puppy What are you gonna do with the money? Give it to charity?
 
user1804599
lol
 
not a chance
 
user1804599
12:15 PM
s/charity/leader of charity organisation/
 
found a religion- Puppyism
 
dog is going to marry LRiO and they are going to live happily ever after
such a romantic story, sigh
 
12:47 PM
> In 1978, World Cup hosts Argentina coasted to a 6-0 win over Peru in their final match of the second phase to oust Brazil on goal difference, prompting cries of fix from their South American rivals.
Whare are cries of fix?
 
user1804599
I want to master AWK.
 
@FredOverflow Whare?
 
user1804599
I like how x += 5 makes x equal to 5 if x wasn't yet defined.
 
@Jefffrey What are cries of fix?
I suppose What + are = Whare :)
 
A whole new level of efficiency.
 
1:01 PM
Complaints of a fix, i.e. fixed match.
 
Fix? What are you saying? South American football is never fixed! :)
 
Ah, that kind of fix.
 
They mean drugs.
 
Xeo
@Mysticial Did you know that Aldnoah came out yesterday? :P
 
@Blob Because "influenza" is italian.
 
1:09 PM
Spaghetti Influenza -- yupp, sounds Italian
 
user1804599
I should make Python functions perl, awk and sed that take and return strings.
 
Ban for linking family guy
 
The video is discriminatory - Not American dudes are fat!
 
user1804599
B******** is a great song.
 
1:15 PM
@райтфолд What is a great song?
@CatPlusPlus What's wrong with Family Guy?
 
user1804599
I'm ill.
 
What ails you?
 
Everything
 
user1804599
@FredOverflow B********
 
That's a weird name for a song.
 
user1804599
1:16 PM
It's a great song.
 
:( ... I am systematically having grammar errors
I suck :/
 
user1804599
@FredOverflow reminds me of this:
 
user1804599
Aug 23 '11 at 20:59, by FredOverflow
how does he look like?
 
@райтфолд Can you link to it?
user image
2
 
1:18 PM
That song does not seem to be called B******** after all?
@райтфолд classic James Gosling
 
user1804599
#if FIRST_MEANING
   template<bool B>
   class foo
   { };
#else
   static const int foo = 0;
   static const int bar = 15;
#endif
static int foobar(foo < 2 ? 1 < 1 : 0 > & bar);
 
user1804599
 
@райтфолд What does 0 > & bar mean?
 
user1804599
Depends on FIRST_MEANING.
 
Oh.. pantoona has gone pink. Must be Sunday.
 
user1804599
1:25 PM
It's either the end of a template parameter followed by & to indicate an lvalue reference type or comparing 0 to the address of bar.
 
Yes, but can you compare the null pointer to an address with operators other than == and !=
 
user1804599
Yes.
 
Why is there flagging again :/?
 
Somebody does not like that song, I guess?
 
user1804599
@FredOverflow If I searched for "B********" I wouldn't have found it.
 
user1804599
1:27 PM
Because Google is shit.
 
I still don't understand why you censor the word Buckstabu.
 
user1804599
It's the name of the song.
 
It obviously stands for "Buchstabe", doesn't it?
Or does it mean "Bucks-Tabu"? "Trouser taboo"?
 
user1804599
> According to Richard Z. Kruspe, "B********" does not stand for "Bastard", but for "Bückstabü", a word made up by the band to mean "whatever you want".
 
user1804599
I want to implement C++. It seems like a fun exercise.
 
1:31 PM
Clearly, you have gone demented.
 
@Shog9 since your decoy is here, could you please truthfully answer me if I ask the question 'was I ever hell banned' without me noticing it (although I suspected it from time to time)
 
Why don't you skip the exercise and jump straight into implementing D?
 
user1804599
D is much easier to implement.
 
user1804599
Its grammar is even context-free!
 
@chmod711telkitty Does chat SO even have that feature?
 
user1804599
1:33 PM
Or how about extending Go with exceptions and generics?
 
Why? Rob Pike doesn't like either feature.
 
user1804599
Rob Pike can suck my dick.
 
Software developer and Stack Overflow co-founder Jeff Atwood describes a theoretical use of hellbanning for Stack Overflow on his programming blog Coding Horror, explaining that when none of the hellbanned user's posts receives a response, he or she will be likely to become bored or frustrated and leave the site.[3][4]

Hellbanning is similar to the practice known as selective invisibility, in which individual comments are rendered invisible to everyone except the poster in order to eliminate disruption they might otherwise cause.[5] Hellbanning is sometimes also called "Coventry" or "ghost
 
> theoretical use of hellbanning
Anyway, it would be trivial to find out if you gave us some dates. chat SO has unlimited history.
 
user3010322
I don't think Telkitty was ever shadowbanned.
 
1:35 PM
inb4 dates:
 
user3010322
I've never plonked her and all of her messages get to me just fine.
 
How can you be certain whether you have received all messages?
The only thing you can be certain of is that you received the messages which you received. Duh.
3
 
I could have been plonked by everyone back then but it could be ... like ... otherwise ... you know ...
 
user3010322
I think that's mostly because you've been plonked bunches.
 
user3010322
1:39 PM
vOv
 
user3010322
Sorry!
 
user1804599
Haskell has a silly context-sensitive grammar.
 
user1804599
Custom operator precedence and associativity is overrated.
 
user1804599
I wonder how hard it is to implement AWK.
 
user1804599
 
1:59 PM
Ugh murkdown tables
 

« first day (1590 days earlier)      last day (3351 days later) »