« first day (1136 days earlier)      last day (3823 days later) » 

10:03 AM
@rightfold Just add it
 
@FredOverflow I want to know what he did to Bartek ! he has been gone since he showed up
 
@A.H. We switch. Two Barteks is too much.
 
Guess what's the official response to meta.stackoverflow.com/questions/203346/… is!
The usual one, i.e. none
Fuck SO
 
Did I hear someone complaining that the lounge has no trolls? Are you missing me already?
 
lol
 
10:06 AM
@Telkitty what? who are you?
 
user1804599
Ugh.
 
user1804599
Fuck Wikidot and its keyboard shortcuts.
 
You can start porting content to loungecpp.net :v
 
user1804599
> If you leave this page, all the unsaved changes will be lost.
 
user1804599
I clicked the fucking save button. :V
 
10:08 AM
You can never leave
 
user1804599
@CatPlusPlus No account is what I have.
 
Wear your flame-proof underwear when you go into that room. — Robert Harvey Oct 28 at 21:52
lol
 
My friend sent me the pics he took imgur.com/a/wPLGS
15
 
@rightfold Registration is open for now
 
user1804599
Ok. :3
 
10:09 AM
Also you should be able to edit without account
I haven't done LDAP auth yet
 
user1804599
lol the double escape in the title bar.
 
@R.MartinhoFernandes Wow you actually look portuguese.
 
Erm, thanks?
 
10:10 AM
:DD
 
@R.MartinhoFernandes Np. You look good.
 
user3010322
o.0
 
@Rapptz lol
 
user3010322
Whoa. The room was put into a...
 
user3010322
special mode?
 
10:11 AM
@R.MartinhoFernandes Cool. Wish I could have been there.
 
user3010322
While I was out cold?
 
@Telkitty dunno what that means, but anyways, are you going to change your avatar? IIRC you was going to put a sexy pic of yours on it.
 
this turtle not sexy enough for you?
 
@Telkitty no, not for me
maybe it's too green
 
@Telkitty hell yeah :p
 
user3010322
10:13 AM
I think that turtle is way sexy.
 
user3010322
Mmm, look at that nice, strong shell.
 
The turtle is too sexy for its shell.
2
 
user3010322
Mmmm, yeah, you work that big, strong shell.
 
@Abyx I think you might be in the minority there :p
 
@jalf yeah I see
 
JBL
10:14 AM
Okay so I don't understand extern. Fuck
 
What's there to understand?
It changes linkage to external
 
Does he get linkage?
 
and sets mangling
 
@R.MartinhoFernandes omg robor ... this is an public chat room, how could you request my sexy turtle to disrobe like that >_<
 
JBL
Well, what's "published", what "can be accessed" and such. I thought you just have to declare a variable to be extern to tell the compiler "this is defined somewhere else".
 
10:16 AM
Yes
 
JBL
Yet I get an "Unresolved external symbol".
 
@JBL you should define it.
 
@JBL In the end, it has to be defined somewhere else.
 
JBL
It is defined somewhere else. :/
 
You can't just promise it is defined somewhere and then not put out.
 
10:17 AM
@JBL you: it's not here". The compiler: "ok, fine.". The linker: "so where is it?"
 
JBL
@jalf yes, I get that (obv.). The other variable should also be specified as extern ?
 
// a.c++
#include <iostream>
extern int foo;
int main() {
    std::cout << foo;
}
// b.c++
int foo = 42;
// g++ a.c++ b.c++ -o test
 
JBL
I thought this would be simple ;_;
 
Oh, pups is suspended.
 
JBL
@CatPlusPlus I have exactly that.
 
10:18 AM
@R.MartinhoFernandes hah, what for?
 
Dunno.
I got here after the fact.
 
@JBL are you linking to both files? :)
 
He said "fuck off"
 
Xeo
32 mins ago, by DeadMG
now you can definitely fuck off
 
user3010322
Wat
 
user3010322
10:19 AM
The admins are cracking down on swear words again?
 
@JBL You're doing something wrong
 
@ThePhD no. Some noob flagged him after he told him to gtfo
Flag got validated
 
@TonyTheLion Was it the listbox guy?
 
possibly by people in other rooms
 
JBL
@CatPlusPlus Well, obviously, the linker said that.
 
10:20 AM
@jalf no
 
JBL
@jalf Well yes.
 
If it doesn't work, then you don't have exactly that
 
The linker said ''fuck off' too? I think all linkers should be permabanned.
 
user1804599
 
10:21 AM
@CatPlusPlus ... erm, yes?
 
@rightfold Try to not use spaces in names!
 
user1804599
There are some dead links but it’s a start. :D
 
user1804599
@CatPlusPlus Oh. :v
 
I mean it's ugly
@MartinJames Ban linkers free puppy
 
room topic changed to Lounge<C++>: BAN LINKERS FREE PUPPY [c++] [c++11] [c++1y] [no-monday] [no-questions]
 
10:21 AM
I've renamed it
 
JBL
@R.MartinhoFernandes Lol
 
@rightfold it should be __newbie_hints__
 
this UB bug is driving me insane :'(
 
@Telkitty UB is a feature
 
@CatPlusPlus ew, can you not have the URI 'NewbieHints' but the tab in the page 'Newbie Hints'?
 
10:22 AM
Dunno
 
user1804599
@CatPlusPlus I’ve fixed the internal links.
 
@Abyx yes, I am writing a random bug generator :D
 
JBL
> const object must be initialized if not extern
Gnn, yes ! I did it ffs !
/flip
 
@Telkitty uhm are you trying to copy yourself?
 
@R.MartinhoFernandes Wow, quite the human-looking robot!
 
10:24 AM
R. Daneel Olivaw is a fictional robot created by Isaac Asimov. The "R" initial in his name stands for "Robot," a naming convention in Asimov's future society. Olivaw appears in Asimov's Robot and Foundation series, most notably in the novels The Caves of Steel, The Naked Sun, The Robots of Dawn, Robots and Empire, Prelude to Foundation, Forward the Foundation, Foundation and Earth as well as the short story Mirror Image. Since he also appears in all of the books of the Second Foundation Trilogy, Daneel is the most commonly appearing Asimov character. He was constructed immediately prior t...
> He is the first humanoid, or "humaniform," robot ever constructed and is virtually indistinguishable from a human being.
 
user1804599
@CatPlusPlus Added acronyms too.
 
user1804599
> Thank you for your changes. Your attention to detail is appreciated.
 
user1804599
lol
 
JBL
Ok, found why. I have a const variable, and didn't know it implies internal linkage, apparently.
 
See, you didn't have exactly that
 
JBL
10:28 AM
(So, yeah, that was the part where it wasn't exactly that)
 
You can do extern const though
But you have to explicitly mark the definition as extern
 
JBL
You mean extern int const a = 20 ?
 
aright, so
 
Xeo
wb
 
10:29 AM
do I permit stuff like #define EPIC_FAIL(x, y) x + y to be used from Wide?
 
user3010322
No.
 
user3010322
Don't propogate the bad.
 
JBL
When I did that, I got "already defined in xxxx.obj"...
 
user3010322
Instead, make proper codegen apart of the language.
 
support mixins like D
 
JBL
10:30 AM
Meh. That feels so noobish.
 
@Rapptz That does not serve the purpose of supporting C++ macros.
 
I was commenting on the codegen part
 
// a
#include <iostream>
extern const int foo;
int main() {
    std::cout << foo;
}
// b
extern const int foo = 42;
 
JBL
I was going to say "That's exactly what I have" but I'll double check that before saying shit.
 
user3010322
Lol...
 
10:32 AM
Works fine, so
 
Interestingly, MSVC12 (VS2013RTM) deduces +"charliteral" into char const(&)[12], instead of char const*. I always thought that should decay?
 
user1804599
Why is the variable extern in b?
 
Because const implies internal linkage
 
user3010322
@sehe It always does in GCC, which throws me for a loop.
 
JBL
I still think I have pretty much the above and it tells me "one or more multiply defined symbols found".
 
user3010322
10:33 AM
I think it does in clang too.
 
user1804599
Ah, I see.
 
user1804599
Thanks Cat!
 
JBL
Oh well, I'm gonna try putting extern everywhere until it works.
 
@ThePhD wut. It... throws you for a loop.
 
@JBL Then show us exactly what you have
 
10:34 AM
@ThePhD Yup. I've used this quite a few times on gcc/clang
 
user1804599
It throws him a for loop.
 
Yeah. Pity
 
@ThePhD Why would it... why the fuck are you writing +"charliteral" if you don't want to force decay?
 
So, robot, do you know what the standard specifies? Should +"charlit" have forced decay?
 
JBL
//FeedbackPlot.h
extern const int ScaleMax = 65000;
...
//ThumbnailDialog.h
extern const int ScaleMax;
 
10:35 AM
You have multiple symbols error, because you define multiple symbols
 
JBL
> "int const ScaleMax" (?ScaleMax@@3HB) already defined in FeedbackPlot.obj
 
Don't define extern variables in headers
It only works with const because of the implied internal linkage
 
JBL
Well, don't include guards prevent that ?
 
Include guards prevent including the same file in the same TU twice
 
JBL
Oh fuck !
Right.
 
10:36 AM
Hmm, I want whisky.
5
 
JBL
Nothing prevents two TU from including it, thus the multiple symbols.
 
Xeo
@R.MartinhoFernandes meh
 
JBL
Thanks !
 
My favourite whisky joint is all the way across the city, though.
:(
 
user1804599
Whisky joint?
A joint soaked in whiskey?
 
10:38 AM
@R.MartinhoFernandes lord! you jumped right to the strong stuff didn't you :P
 
There's some here at work, but I don't think I should go and get it without a reason for us as a team to celebrate.
 
Burns your throat and your face
 
user3010322
Sounds hazardous.
 
in Functional Programming, Oct 14 at 16:40, by Johan Larsson
I don't like whiskey much.
2
@R.MartinhoFernandes You could celebrate the fact that you found whisky at work.
 
@rightfold A bar that specialises in whisky and stuff like that.
@FredOverflow That would have been the first day.
 
10:40 AM
@R.MartinhoFernandes I have some right here! :p
 
@BartoszKP Yeah, I can see it on the starboard.
 
@R.MartinhoFernandes o_0 you brought whisky to work on your first day? Are you sure you are not Irish?
 
@R.MartinhoFernandes oh right, it disappeared in my view
 
@thecoshman It was here already!
 
@R.MartinhoFernandes sure it was alchy
 
10:45 AM
He doesn't look Irish though
 
@CatPlusPlus that's because he was sober when the picture was taken
 
you look like you had a scruffy beard going on :P
 
@Rapptz Yeah, a bit. I shaved this Saturday, though.
 
JBL
@rightfold Don't let Torvalds see this.
 
10:51 AM
@rightfold omg :D D
 
user3010322
That's a lot of downvotes.
 
user3010322
Granted the question is simplistic and mega-broad, but that's a lot of downvotes. xD
 
lol, look at the answer : D
BRILLIANT! pure genius ;0
 
user3010322
Must've forgotten how to do local includes...
 
lol nsfw
 
11:01 AM
@BartoszKP It's OK in MY office:)
 
@MartinJames :D yeah, in mine it's also ok
 
@BartoszKP I remember this video.
 
@BartoszKP Its' better than the usual github/pastebin links to template gunge:)
 
@MartinJames at least until the balls part ; 0
 
is there a way to pass a const char* to a constexpr function in c++1y? they can do a lot of stuff but it seems that char literals are not constexpr :(
 
11:14 AM
anyone got some code where they use multiple VAOs with different array buffers for drawing multiple objects that I can peek at?
 
hmm
if I upgrade to VS2013, I'd have to rebuild LLVM/Clang and Boost too.
 
@gnzlbg Sounds like you're doing it wrong. It already worked in C++11. Show your stuff :P
 
hmm, so there's this API that takes a (member)function pointer, and instance pointer (or nullptr if it's a free function)... can I wrap this into anything ...better? just take a std::function, and always give it the pointer to operator(), and pointer to the function object? :/
 
user3010322
@DeadMG Boost is fine, LLVM/CLang will not work.
 
@R.MartinhoFernandes He's probably referring to indexing and taking the elements, which isn't.
 
user3010322
11:16 AM
Stay with 2012.
 
@DeadMG Yes, it is.
 
Man, I'm so tired today
 
@ThePhD I'd still have to recompile Boost.
 
user3010322
That's fine.
 
11:17 AM
@R.MartinhoFernandes O rly? Last I checked, you can't index into a constexpr array and get the elements like that.
 
user3010322
It's Clang / LLVM and their "it's a compiler bug" nonsense you'll have to worry about.
 
meh
 
@DeadMG boost 1.54 works...with some minor adjustments, I think. boost 1.55 has some tiny issues, according to the boost page
 
@DeadMG Yes, you can.
 
if LLVM/Clang really don't work with 2013, I will just badger them on #llvm until they fix it :P
@melak47 O really? Last I checked, it was 1.54 that won't compile, and 1.55 that was fixed.
 
11:17 AM
@DeadMG You can!
 
@DeadMG # emerge boost is so great.
 
@R.MartinhoFernandes No, it isn't.
 
Yes it is
 
@TonyTheLion I'm tired of tiredness
 
Mondays are terrible
 
11:18 AM
@R.MartinhoFernandes if I do:
constexpr const char* foo = "asadsadasda";
f(foo);
it works,
but if I call f("asdasda"); it doesn't :/
 
I'm stuck with Ubuntu Server :(
 
Let's roll a dice.
 
user1804599
@CatPlusPlus Run Gentoo in a VM.
 
@CatPlusPlus Ugh.
 
@rightfold Tried, didn't work out very well
 
11:19 AM
> Known Bugs with VS 2013: Serialization can't compile because of a missing include.
Using has_member_function_callable_with from Boost.Container's allocator_traits causes a compile error (#9332).
 
Also tried installing it from rescue on bare metal, wouldn't boot
 
user1804599
I have a POD with thirty fields.
 
user1804599
So fun to initialise.
 
although I did have to add some includes and adjust MSVC version numbers in workaround #ifdefs to get 1.54 to compile, too.
 
@CatPlusPlus EFI or someshit like that?
 
11:20 AM
@melak47 Yeah, but I don't use any of those, whereas in 1.54 it's something basically everybody depends on, like MPL or something, that doesn't compile.
 
@R.MartinhoFernandes Dunno
 
@DeadMG huh, really? all I didn't build was the python thing..I think
 
@gnzlbg Hmm, weird.
 
KVM-over-IP costs like 40€/mo and 150€ setup so
I have no idea
 
@melak47 Yeah, but you did adjust the version numbers- IOW you didn't use 1.54.
 
11:21 AM
(And it booted when virtualised)
 
user1804599
Hmm.
 
@DeadMG and for some reason my compiled libs are all called whatever_1_55.lib
 
user1804599
I’m confused about units of measure and int-to-decimal conversion.
 
so...
 
@gnzlbg Seems like a bug (ask an SO question about it!)
 
11:22 AM
lol
 
> This site is currently in read-only mode; we’ll return with full functionality soon.
SO
meh
 
I'm pretty sure array-to-pointer decay is a core constant expression.
How would constexpr R operator"" _whatever(char const*, size_t) work otherwise?
 
8 mins ago, by melak47
hmm, so there's this API that takes a (member)function pointer, and instance pointer (or nullptr if it's a free function)... can I wrap this into anything ...better? just take a std::function, and always give it the pointer to operator(), and pointer to the function object? :/
^any better option that this? or just leave it as function and object pointers :E
 
let me tell you what doesn't work: my fucking guts.
 
I don't really understand constexpr
but I don't understand C++
 
11:24 AM
@gnzlbg No, wait, not a bug.
You're doing something wrong.
 
@DeadMG I'm gutted
 
@TonyTheLion It's nothing else than a marker for "this function can be used where a constant expression is expected".
 
@R.MartinhoFernandes ohhh I see
 
user3010322
SourceTree updates so often. ._.
 
@R.MartinhoFernandes you don't look much like a robot!
@ThePhD I always tell it to "ask me again tomorrow", but I never let it update ._.
 
11:29 AM
@melak47 so much cruel ;0
 
@melak47 Scroll down to R. Daneel link.
 
@R.MartinhoFernandes what, where?
 
@melak47 A couple of screens down from the message with the pics.
 
slapd is so fucking arcane
 
> A description for this result is not available because of this site's robots.txt – learn more.
 
11:33 AM
2arcane4google
 
user3010322
First templates, now google: Robot's hunger never ceases.
 
@R.MartinhoFernandes ah. chat search didn't find that >_>
 
user3010322
Lol
 
user3010322
I haven't coded
 
user3010322
any functionality
 
user3010322
11:34 AM
for my snake game
 
user3010322
Just been fighting with borderless window
 
user3010322
Progres++ <___>
 
I wonder if we could scrape the transcript and get our own search going
 
@ThePhD jeez man, I even have an example borderless window there, it's not that hard :D
 
user3010322
:c Dont make fun of me, it's hard. ;~;
 
11:35 AM
shouldn't you be better at this WinAPI thing than me? you love it so much you are starting to design your code after it :D
 
user3010322
What would you call a free function that gets the first set bit?
 
@CatPlusPlus If you ever get that rolling, I own loungeipsum.com wink wink
 
I have loungecpp.net :v
 
user3010322
Lol
 
@ThePhD find_first_of_set_bits :p
 
11:36 AM
btw who wants to be plugged into the CI
 
@ThePhD ffs
@CatPlusPlus Me! Me! I just unplugged Travis a few minutes ago.
 
user3010322
ffs_bits
 
You're already plugged in, I even pinged you!
 
user3010322
I LIKE IT.
 
user3010322
11:37 AM
Uh
 
What is TeamCity?
 
@ThePhD Don't/
 
user3010322
I guess I could try being plugged into CI.
 
It's horrible.
Who cares about tradition.
 
user3010322
It's wonderful and you know it. <3
 
11:38 AM
@CatPlusPlus Do I have an account?
 
user3010322
ffs_bits, ffus_bit
 
Also I'm not done with LDAP stuffs yet, so local accounts are temporary!
 
@ThePhD What is the second?
 
11:38 AM
@CatPlusPlus what can I do when/if plugged in :o
 
@melak47 Charge
 
user3010322
@R.MartinhoFernandes find first un set bits
 
@R.MartinhoFernandes VCS username is set to be email
 
@CatPlusPlus come to think of it, I've been feeling a bit drained lately...
 
fyi
Email notifier works, I'll get Jabber up later
 
11:39 AM
@CatPlusPlus Hmm? What does that mean? I already have VCS on GitHub.
 
@R.MartinhoFernandes I mean set your VCS username in TC profile to email used in commits
So it knows which commits are yours
 
@TonyTheLion CI system, very nice imho, even though written in java
 
@CatPlusPlus what are you writing?
 
@CatPlusPlus K, done. What did you set for the build trigger? (Can I get admin privs on my project?)
 
11:42 AM
Right now it's just VCS polling
I'm gonna do a webhook receiver one of these days
You can use GitHub's, if you don't mind it using wrong branch names
 
@CatPlusPlus ? GitHub's allows selecting branches.
 
TeamCity uses refs/heads/XXX as branch names, and GitHub reports only XXX, which makes duplicates!
I might've forgotten the build trigger after all
And you have admin rights now
 
@BartoszKP Nothing, I'm setting up loungecpp dot net
 
11:49 AM
Ugh fuck slapd
 
@BartoszKP how does it compare with jenkins? (more or less all I know)
@CatPlusPlus why didn't you drop the 'cpp' part?
 
@thecoshman BRAND IDENTITY
Also lounge.net is probably taken
 
user1804599
@CatPlusPlus I want CI be plugged into me!
 
Domain Name: LOUNGE.NET
Creation Date: 1999-11-27 12:14:23Z
Registrar Registration Expiration Date: 2018-11-27 12:14:00Z
 
@CatPlusPlus parked
 
11:58 AM
@thecoshman well, I had TeamCity in my work on one project, then I used Jenkins a bit, and now we have Hudson, and the comparison is clear to me: TeamCity is a mature product that you use with ease and convenience, and Jenkins&Hudson are fucking garbage
 
It's too common name
@thecoshman Yeah, that means it's taken
 
@CatPlusPlus but obtainable :P
 
Tech Organization: DOMAINGRABBER.COM
Right, for 1000$ or so
 
user1804599
Ugh.
 
user1804599
> purchace_price
 
11:59 AM
crap on a cracker they are asking a lot for domains!
 

« first day (1136 days earlier)      last day (3823 days later) »