« first day (1497 days earlier)      last day (3455 days later) » 

8:00 PM
on a more serious note, 1 day old pizza is still ok w/o any extra help
it will also be the QF that I'll keep for tomorrow
 
I have kept pizza for three days
 
because dried salami is more meh than... dried cheese
 
Xeo
wheee
I get the kitties on Monday evening \o/
 
0
Q: Why does std::aligned_union need a minimum size as a templat parameter?

rubenvbstd::aligned_union has a std::size_t "minimum length" parameter. Now, a usual union does not have this, so I wonder why this is necessary. Could someone explain to me why?

Friends don't let friends drive

by
 
I fixed the typo in the title
I can now eat my pizza in peace knowing that I have contributed to SO for today
 
8:07 PM
good job
what title
 
@AlexM. Well done. I approved that :)
@LightnessRacesinOrbit hehe.
 
36 secs ago, by Lightness Races in Orbit
good job
:)
Hi there Mr.
 
user1804599
yo
 
8:08 PM
0
Q: Is taking the address of std::vector::operator[](size) Undefined Behavior in C++11

hellcatvIs this undefined behavior? ptrdiff_t one() { std::vector<int> test(1); return &test[1] - &test[0]; } Is this undefined behavior? ptrdiff_t zero() { std::vector<int> test; int * end = &test[0]; int * begin = &test[0]; return end - begin; } If either of these are undefined ...

 
what do on a Friday night?
 
I thought this was explicitly defined
 
def is for strings
 
I remember that argument well, I lost
 
Ell
hmm I wonder how I can make an element visible when it's linked to when the stylesheet says it's invisible.
I guess javascript inspecting the window.location but that seems hacky
 
8:10 PM
although that was more for &str[str.size() +1]
 
@Mgetz which is totally different
 
@LightnessRacesinOrbit true, but related
 
&*invalid is a contentious point. because lots of retards think it's valid
anyway I can't remember std::vector::end is dereferencethenaddressable. I'm going to assume not, personally
 
@LightnessRacesinOrbit pretty sure it's not as well, as it's quite explicitly one past the end
 
@Mgetz string end is ok tho
 
Xeo
8:13 PM
squeee
I want it to be Monday now
squeeeee
 
> The types are inferred, though, so this is unnecessary unless you’d
> like to reuse the type later. Now, make a dog! Dogs are life-forms,
> but unlike men, they have masters. So, let’s build my dog:
 
@LightnessRacesinOrbit oh I know... remember I lost that argument? My whole contention was that the fact that &str[0] is safe to do should mean that &str[n+1] is safe. Most of the channel pointed out that the n+1 case is not required to be contiguous to the rest of the string and that only 0 -> N are guaranteed to be.
 
@Xeo You're weird :-p
The Cats have changed you.
 
@Mgetz the key point is that str[n+1] is not part of the string
so you might as well write &str[12354678459082398762348762342342]
 
@rubenvb cuteness is a valid survival mechanism. it saves cats when they shit on your pillow.
 
8:16 PM
oh, you're tlaking about the null end
yeah whateve r:)
 
Quick question: if you had to choose between an operating systems class and a compilers class which one would you take for your first semester
 
@LightnessRacesinOrbit didn't make that clear did I. But yes I was referring to that, practically speaking it's safe, but strictly speaking it's undefined behavior. As @Puppy pointed out just push back a 0 and it's all safe again
@RonaldMunodawafa intro
those are much more advanced courses
 
@Mgetz I did point that out?
 
@Puppy yep, stopped the argument cold.
 
I don't know what argument I stopped cold.
although I do tend to have that effect, as my side wins by default
 
8:19 PM
:/
 
I have to have my entire curriculum approved
 
@TonyTheLion hai tony, sup
 
@Puppy not much, Friday night, not sure what I should do
 
I just booted up VS to keep workin on Wide
 
Jul 30 at 19:14, by Puppy
then just push_back a 0 manually.
 
8:20 PM
@Mgetz that is for third year.
 
@Mgetz That's like, a billion years ago.
 
3.5 months ago
not quite a billion years
 
@Mgetz Only valid against humanity, which is admittedly, pretty much all that counts now.
 
user1804599
Yay automated labs.
 
I've never known a cat to shit my pillow
 
8:22 PM
Elastic Search Maintenance Sat, November 22nd - 1:00PM (18:00 UTC) - 3PM (21:00 UTC) We will be upgrading... http://tmblr.co/Z7Lcqt1W8Y4Aq
 
I've had a dog barf on my bed
 
Sorry mate
 
No need to be sorry
 
Ell
@TonyTheLion that's grim
 
yea, it was kind of grim
 
8:23 PM
the difference is that a dog is around in both the good times and the bad, instead of just the bad.
 
oh puppy, you gave it a nice twist to make the cat look bad
good try
 
eh
all animals, even humans, make an unpleasant mess in places they shouldn't from time to time.
 
Hi friends
 
at least with a dog you actually get something back for that.
no.
 
Speaking of dogs
My mum always chases the dog out of the house yet he is so friendly and wouldn't do anything to harm anyone and that harshness is now reflecting in his behaviour towards other dogs
 
8:26 PM
Barbie knows it's best to avoid office romance AND weighing in on vim or emacs. #FeministHackerBarbie http://t.co/ROHnzMT0sw
 
I wonder how I can retrain him
Probably to learn otherwise
We should use EMACS because Richard Stallman wrote it
 
@RonaldMunodawafa No
 
when you say "We should do X", it's traditional to follow up with an argument in favour of X.
 
not at all, you can leave it at that
 
@avestal @bitmOO but I mean, why would you not use tabs?
 
8:29 PM
Richard Stallman gave us a public lecture and he convinced us to use only software that respects your freedoms
 
yeah, your freedom to sign over all your rights
 
@RonaldMunodawafa Also, unicorns
 
not to sound like I'm trolling or spoiling for an argument or anything, but I honestly still don't get how anyone can be against tab indentation
 
@LightnessRacesinOrbit I use tabs
 
good boy person /cc @hichris123
 
8:30 PM
Tabs are nice
 
nothing wrong with tabs
 
If all a function is doing is returning something then it can go without indentation
 
74
Q: Is there a way to automatically generate getters and setters in Eclipse?

PhilI am working on a new Android project (Java), and created an Object with a large number of variables. Since I am planning to add getters and setters for all of them, I was wondering: is there a shortcut in Eclipse for automatically generating the getters and setters in a given class?

 
what?
 
Much like Stroustrup's style
 
8:31 PM
Not a single word of advice against getters and setters for all variables? O_o
 
Java
urgh
 
Java makes me sick
Even more than C#
 
C# is fine
 
C#'s pretty cool.
Java's a bit outdated, but it gets stuff done.
 
thanks
 
8:34 PM
btw
3
A: Is taking the address of std::vector::operator[](size) Undefined Behavior in C++11

Lightness Races in OrbitYes, those program fragments have undefined behaviour. Table 101 defines test[0] as *(test.begin() + 0), which is invalid if you have no elements: [C++11: 24.2.1/5]: Just as a regular pointer to an array guarantees that there is a pointer value pointing past the last element of the array, so...

 
Every time I read about a language to replace C++ I become resistant towards it and wonder what it is removing
 
C# wasn't intended to replace C++
 
C# is fine
Linguistically
The community is meh
It feels undeserving of such a good language
 
@LightnessRacesinOrbit I would upvote, but that's a duplicate, and I don't vote on answers to duplicates.
@RonaldMunodawafa What do you mean?
 
Oh ffs is Ronald like an alternative universe Bartek?
6
 
8:37 PM
Who is Bartek?
6
 
@EtiennedeMartel :)
@R.MartinhoFernandes ahaha
those two starred messages go TOGETHER ok>?
 
@R.MartinhoFernandes kek
 
@R.MartinhoFernandes Southern Hemisphere Bartek.
 
INT LOUNGE, DAY
Camera pans to MIRROR BARTEK, who is introduced to the audience by his new name RONALD.
 
@EtiennedeMartel the community feels like it is too reliant on Microsoft for everything
Who is Bartek?
 
8:38 PM
Do you want The Gif?
 
Post it
 
@RonaldMunodawafa Your counterpart from the prime universe
@TonyTheLion ok
 
@RonaldMunodawafa Of course, considering they're the one making .NET.
(Even then you'd have to define "reliant" in this case)
 
I hardly see anything interesting done in the C# community outside of the Redmond campus
 
8:40 PM
Do you think as yourself as the one from the "prime universe"?
 
@R.MartinhoFernandes I am indeed the "prime universe".
Y'all just livin' in me.
 
If something is not for them by Microsoft they do not do it for themselves
They wait to be spoonfed
The F# community is different though
 
And what is the issue?
 
8:41 PM
@LightnessRacesinOrbit I knew you were fat.
 
R.Martinho ofc I do
 
@R.MartinhoFernandes By definition "prime" is a POV term and always refers to oneself, no?
 
@R.MartinhoFernandes Define "prime". There's nothing particularly prime about any known universe.
 
that's why the ST mirror universe characters always say "the other side" instead of either "the main universe" (wrong) or "the mirror universe" (confusing to viewers)
 
Skype should consider a JavaScript frontend
 
8:42 PM
@Puppy Well given that we only know of one universe I'd say that's pretty damn prime
 
Imagine if we could just have Skype embedded on a webpage
 
already did.
 
Btw as the official SF short story recommendator, All The Myriad Ways is an interesting (relevant) read.
 
it doesn't work terribly well because nobody can agree on Web communication standards.
also fuck Skype.
 
@R.MartinhoFernandes how was last night?
 
8:43 PM
No. **** Hangouts
 
@TonyTheLion I am minding it. I minded it directly into "Fuck Skype".
 
no flags
 
also fuck hangouts too.
that shit does not work and doesn't want to download for non-Chrome.
 
> "Man of Steel, Woman of Kleenex"
o.O
 
Hangouts is worse than Skype
 
8:44 PM
someone took that too seriously
 
in fact just fuck everything Google has done in like, the last five years.
 
Excluding Go
 
Ahaha, that one is good too.
 
@TonyTheLion Probably "I'm too young and scared to use the word "Fuck"" over there.
 
@RonaldMunodawafa So. Here, we don't censor swearing. And we don't flag them either.
 
8:44 PM
But I meant the titular story not the collection.
 
@EtiennedeMartel someone does
@EtiennedeMartel so, y'know, speak for yourself
 
@LightnessRacesinOrbit not you again
 
@Puppy what? Android 4 is excellent.
 
@LightnessRacesinOrbit I mean "we" as "people who think like me".
 
@TonyTheLion hm?
 
8:45 PM
I am a religious puppet so it is not naural for me to swear
 
@EtiennedeMartel so, "I"? :)
 
@LightnessRacesinOrbit Still a set.
 
@LightnessRacesinOrbit Stross seems like a really nice chap.
 
Ell
Hmm. Parameter list description before or after method description...
 
@EtiennedeMartel We don't write plurals for singularisms
 
8:45 PM
In terms of smartphone operating systems I was fond of Symbian vs Windows Phone
 
Talked about his writing process, economy, politics, and unicorn bukkake.
 
@LightnessRacesinOrbit Oh vous.
 
@R.MartinhoFernandes he didn't get stross with you at all?
 
Fuck smartphone operating systems
 
> unicorn bukkake
wot
 
8:46 PM
They all suck
 
@milleniumbug the unicorn bukkake?
 
To see how good a company Samsung is look at what used to happened during the period prior to Android's adoption. In the face of the N95 they had the guts to deliver an E250
 
N95 was mint
 
oh man, dat phone
 
8:47 PM
still got mine here in a drawer
 
I still have mine too
 
needs a new battery cover but otherwise in perfect condition
 
He told the story of how this story came about: tor.com/stories/2013/09/equoid. It involves the mention of unicorn bukkake.
 
Microsoft should have let Nokia do what it has been doing for years
Writing operating systems for mobile devices
Windows is great but not their vision of it on the smartphone
 
> Windows is great
lol
 
8:49 PM
Yes it is
 
Ell
man I'm bad at css
I never know when to write a class or when to use child selectors and thing
 
@Ell why are you trying to be good at it?
 
Ell
@TonyTheLion It's a useful skill
 
he is probably considering a career is a web coder
 
Ell
also I want this c++ documentation example to look killer
 
8:50 PM
@RonaldMunodawafa That's cause they only just open-sourced (are in the process of open sourcing) the only decent implementation.
 
@Ell I'm sorry
 
Man of Steel, Women of Kleenex is an essay about the feasibility of Superman and Lois having a child.
 
@R.MartinhoFernandes tl;dr
 
Windows is becoming legacy software
Microsoft is doing some more interesting stuff in its R & D division
 
Ell
there seems to be an editorial issue on en.cppreference.com/w/cpp/container/unordered_multiset/…
2nd ctor has an unmatched parenthesis
 
8:53 PM
yep
fix it den yea
 
When do you say you know C++
Because calling oneself a C++ programmer is like calling oneself a Haskell programmer
 
inb4 Barket
 
all this since C++11 until C++14 stuff is messy. it's not the wiki's fault, it's the committee's fault. get your shit together guys people /cc @hichris123
 
It is a somewhat heavy title that comes with many expectations
 
@Ell Yeah, saw that a couple of days ago.
 
8:54 PM
depends who you are, @Ronald
most people say it when they know next to nothing because they don't know better
 
Ell
@LightnessRacesinOrbit yeah I was thinking this. Not sure of a graceful way to do it though
 
a select few never say it because they've read too many pithy memes on SO and don't want to come across as arrogant, or they're too "passionate about learning and teaching and discussing C++ every day!!!!11"
others lie somewhere in between
 
Ell
I don't say I'm a c++ programmer because I don't do it professionally
 
In ten years I would be comfortable calling myself a C and C# programmer who can learn C++ for the job
 
Ell
also I'm not good enough
 
8:55 PM
@LightnessRacesinOrbit flags Or not. Anyway: I don't care about that. At all. It's chat. It's informal. But as I said, the post characterized the whole forum as male.
 
ahahahahahhahaha
 
What?
 
you realise I didn't /cc you out of seriousness, right?
 
Even if I can write non-trivial stuff in C++ I would never call myself a C++ programmer
 
Ell
@LightnessRacesinOrbit I would if I knew how
 
8:56 PM
that seems daft
@Ell the "Edit" button might be a good start
 
@LightnessRacesinOrbit Considering I just got home from school... eh, context went out the window. :P
 
woah wtf
@hichris123 context is "this is the Lounge" bruh :D
 
I feel as though they would expect you to master a language in a day
 
user1804599
huh
 
Ell
@LightnessRacesinOrbit yah but then I don't know wiki syntax
and it's including a template or something
 
user1804599
8:56 PM
why do you need only iron to make steel and no coal?
 
user1804599
oh wait nevermind
 
@Ell I take it back wtf have they done there
 
@LightnessRacesinOrbit hah. true.
 
Ell
maybe localisation stuff
 
@rightføld wrongfold
ohai
 
Ell
8:57 PM
fun times, the fun fun times
 
TMI really
 
then i have a great idea Tony
take a fucking shit
 
I am sure there is a way to mastering C++ that is not knowing the entire language but believing in its philosophy
 
remember, even Jesus needed to go to the toilet.
 
user1804599
> even
 
8:59 PM
No he didn't
 
@LightnessRacesinOrbit ZERMAGHERD, lightness-so-great-ideas
 
What did he shit for 40 days
 
Jesus lived for more than 40 days
 
8:59 PM
stop flagging rightfold's vagina
 
He wasn't born at Christmas then killed at Easter the same fucking year
and even if he was, that would make no sense cos there are more than 40 days between Christmas and Easter
 

« first day (1497 days earlier)      last day (3455 days later) »