« first day (1651 days earlier)      last day (3288 days later) » 

5:00 PM
just when I thought this day couldn't get better
 
Paranoia involves feelings of persecution and an exaggerated sense of self-importance.
Paranoia involves an exaggerated sense of self-importance.
self-importance.
`import self;`
 
@sbi No real argument from me on that--I'm a lot less concerned with insulting or complimenting people than with pointing out basic ideas of why you might prefer one over the other. At least in my mind, there's no real room for question that gcc and clang have substantially better conformance in the compiler proper, but even so for a lot of what I do, I find them substantially less usable.
 
@sbi As does the author of the program ;)
 
Oh god Ansible is so much better than Salt
@rightfold If you're still looking for a better solution
 
user1804599
OK.
 
user1804599
5:05 PM
Thanks.
 
sbi
@fredoverflow Na dann, gute Nacht!
 
@chris One of the big things that affected the design was assuring that a compiler could know there would never be any aliasing to deal with. Unfortunately, I'm not at all sure any compiler actually does much to take advantage of that.
 
@rightfold What programming language are you excited about these day(s)?
 
user1804599
APL and Go.
 
@JerryCoffin I do know that GCC can in some circumstances see through expression templates, even without e.g. __restrict annotations.
 
5:10 PM
-2
A: What other IP addresses can/should I use for my home network?

user440527Wow. I must say I'm shocked. If this much thought and effort was put in your house it might just turn into a.loving home. From my view I would recommend you telling that woman you are better off as friends. Obviously with you hiding all social media, your internet surfing, and being on all those ...

@Mari-LouA Indians aren't special (in this regard). Every learner of English (as first literary language or later) wonders about why 'I' is capitalized ("Wow, English people are so conceited" or "Hmmm, how nice that English people want to give people a little extra self-esteem"). — Mitch yesterday
lol
that whole Q&A is funny actually
 
ty @LightningRacisinObrit brilliant
 
@chris On a Cray, it wasn't just a matter of vectorization. They load/store units that operated in parallel with computation, and three complete sets of vector registers, so what you normally wanted to do was (in each clock cycle) have the load unit loading data into one register set, the compute unit write results to the second, and the store unit write data from the third back to memory. Then you'd rotate the register sets, and repeat.
@LucDanton Yeah--it might be able to. At one time, I would have phrased that more like: "I'm pretty sure no compiler takes advantage of it." Now, I guess it wouldn't surprise me of they could, but I no longer care enough to do testing to verify.
 
user1804599
@fredoverflow Did you consider accepting one of the answers to your AST question?
 
haven't really looked at Go yet, are there any special use-cases?
 
5:25 PM
the new call of duty seems to borrow more things than expected from deus ex
 
AAAAAAAAAAAAAAAAAA
 
> "Hey @Treyarch, Adam Jensen says welcome on the bandwagon! The liquor bar is at the back ;)" he tweeted. A little while later, he added, "We lied guyz. Deus Ex: Mankind Divided actually takes place on the Eastern Front during World War 2. We felt inspired."
 
Why does boost::any require the value type to be copy constructible
sehe only knows
 
@AlexM. Well, it's standard cyberpunk issues.
 
lol this is from Jonathan Jacques-Belletete, the art director on Deus Ex: Human Revolution (and the new deus ex)
 
user1804599
5:27 PM
So that you can copy the boost::any.
 
user1804599
@Jefffrey No, Black Ops 3 is not an AAAAAAAAAAAAAAAAAA game.
 
@rightfold What if I don't need to copy it.
 
gotta love gdb tui
 
3 hours ago, by sehe
@LightningRacisinObrit dayum
 
Shouldn't that be a requirement only on copy construction?
 
user1804599
5:27 PM
@Jefffrey doomed.
 
it kinda sucks when it doesn't refresh the view (it's probably cursed)
 
Xeo
50
Q: Boys only club after work

gloomy.penguin I don't mean to be hurt, but I am. I'm a female who works in IT so aside from myself, it is almost entirely men all the time. I have never worked directly next to another female in any of my roles. This is entirely outside of work and is a new thing: it is not well established and hasn't ...

 
but aside from that it's great
 
Xeo
I'm not quite sure what to think of some of the answers...
I mean, it's personal life, so "fuck off"?
 
> I'm a female who works in IT so aside from myself, it is almost entirely men all the time.
I stopped reading there
 
user1804599
5:29 PM
I'm a female who works in IT. They just don't know yet. :P
 
@MarcoA. which one
 
@Jefffrey They can't know that ahead of time, since it's dynamic.
 
@rightfold you can switch depending on the situation
 
@rightfold I don't care about having a 100% accept rate anymore.
 
user1804599
:O
 
5:30 PM
@sehe are there multiple ones? I'm a newbie with it, just using the one out-of-the-box with ubuntu
 
I do mass accepts every couple of months.
 
user1804599
nice
 
@Puppy You can just have an std::enable_if on the copy construction of std::any. There's nothing dynamic there. Just don't compile a cop.... Oh. I see.
Fuck me then.
 
user1804599
You could have a template flag on boost::any, like boost::any<Copyable::No>.
 
5:31 PM
sure.
when you coming over?
 
user1804599
But they didn't do that.
 
@MarcoA. so, what is it called
 
@JerryCoffin I see. It sounds similar to pipelining.
 
user1804599
@Jefffrey What do you need boost::any for anyway?
 
@fredoverflow do you ask so many questions?
 
5:32 PM
@sehe don't get it sehe.. what what is it called?
 
@MarcoA. the text ui to gdb?
 
@Xeo So much to cringe.
 
@sehe tui
 
pyos.github.io/dg is pretty funny
 
user1804599
Mill has something similar to boost::any, except with operations that are available on all values: github.com/mill-lang/mill/blob/develop/mill/src/…
 
5:33 PM
it compiles to Python bytecode
 
@sehe Currently, I have 19 "open" questions.
 
it's basically Python with haskell syntax
 
@fredoverflow wow
 
Xeo
@R.MartinhoFernandes ye
 
5:33 PM
@orlp where's the wow
 
@MarcoA. oh. So, that was not so hard after all right :) Never heard of it. I hope it's better than cgdb
 
where's the such
 
user1804599
@orlp So you take a language which has a terrible syntax, and you derive from that language a language which has even more terrible syntax taken from another language?
 
@sehe neither did I, but it's kinda nice after you spend some time figuring out how it works
 
Xeo
> With Haskell's syntax but none of its type system, dg is the best way to make fans of static typing shut up already.
wow
 
5:34 PM
@MarcoA. tui doesn't launch on ubuntu for me (also, no package suggestions)
 
@rightfold and then you name it dogelang
 
gdb -tui
@sehe uhm.. not sure why
 
user1804599
I don't see why you would do static typing but no other static bug detection.
 
@MarcoA. jeesus. Why didn't you just say so when I asked :)
 
@rightfold it doesn't do typing AFAIK
 
5:35 PM
@sehe forgive me sir, I worked all day and right now I'm slow
 
user1804599
You need types if you want Python interop, since Python has types.
 
I stopped working after a couple of idiot mistakes
that was the sign I needed to unplug
 
@rightfold static* typing
of course values have types
 
user1804599
I wasn't talking about dg.
 
@MarcoA. it looks nice. I don't know how nobody told me that (I don't usually debug much though)
 
5:36 PM
i think I enjoy debugging more than programming
 
No responsibility :)
 
user1804599
Just in general.
 
@Prismatic we can make a deal
@Prismatic I give you errors, you give me working code
 
I especially like how repeat commands ("just Enter") doesn't introduce command line noise
 
user1804599
Similarly, if you make half your static bug finder a separate tool (not the compiler), why not the other half (the static type checker) as well?
 
user1804599
5:38 PM
Unless, of course, the behaviour depends on types that can only be known statically, such as with return type overloading in Haskell and Rust.
 
0
Q: Order of constructor and destructor calling?

Moiz SajidI cannot understand the order of constructor and destructor calls? What will execute first in this statement A b=f(a)? Can someone please help me out? #include<iostream> using namespace std; class A { int x; public: A(int val = 0) :x(val) { cout << "A " << x <<

 
OMG RUN 4 REP
 
Designing is harder than debugging imo
 
> You've earned the "Notable Question" badge (Asked a question with 2,500 views) for "Why should I buy a barrel of blood?".
@Xeo We had a guy in our gaming group that was repeatedly complaining about the fact that some girls organised a girls-only game night at the house of one of them. He somehow felt he had the right to take part in it and that it was completely unfair that they didn't let him take part in their game in their own house. It escalated so bad we had to ban him.
 
Also its a pretty sweet feeling when you find out why a bug is happening... like the 'a-ha' moment
 
Xeo
5:42 PM
@Feeds Gotta love that feed.
 
(Plus, he was a really sore loser and AP'd a lot)
 
Xeo
@R.MartinhoFernandes ow
@R.MartinhoFernandes AP?
 
Analysis Paralysis.
 
Xeo
ah
I have a tendency to do that too. :/
I like over-analysing stuff
 
@Prismatic yes, that's why managers usually choose the design and engineers have to fix it afterwards
 
5:44 PM
Though we have some people much worse at AP, I don't think that's as bad as being a sore loser, or as being an annoying entitled prick.
There's this guy that can fucking AP Diner.
 
ah sorry..
"Analysis Paralysis"
 
Xeo
apropos gaming. new Pathfinder campaign tomorrow. Gonna go for a Scarred Witch Doctor (Witch archetype that uses Con for casting n stuff) that slumbers and coup de graces people.
 
> Diner is a fast-paced game about waiters in a friendly competition to make the most money in tips.
> fast-paced
Played a few games with him and GOSH THAT WAS SO BORING.
 
@Xeo I am also taking part in a new Pathfinder campaign.
 
> Diner features a pseudo-real time mechanic that has players passing action tokens whenever they take an action; if a player does not have a token, that player can't take an action. At times, action tokens may accumulate in front of a player, allowing them to take multiple actions at once.
 
5:46 PM
where playing a rogue is shit because you can't roll Diplomacy on people, you have to roleplay all of your smalltalk.
 
Xeo
You should come visit us every 2 weeks, we need a fourth player
@Puppy ew
 
@MarcoA. When I said design I meant more like planning out the general software architecture, and implementing it. Not the overall design where someone says "Oh yeah I want a web server that can handle xxxxx, now go do it"
 
I wasn't very amused.
and the GM also tried to tell me how to play my character, at which I was doubly not amused.
 
Xeo
also, rogues suck :p
 
Since he kept APing the fuckign game, he basically hoarded all the action tokens and no one else could take actions. So everyone just spent the game staring at him waiting for an action token that would quickly do a rounds around the table and be back to him, for another minute of staring.
 
5:46 PM
well
I went for more of an assassin style than a charming style.
 
Xeo
even with that
 
@Prismatic I referred to that as well unfortunately. I had managers (who were also programmers) who entirely decided the design to be used
 
inorite
so it's gonna be kinda awkward
 
Xeo
oh shit, I should go do my groceries
 
i.e. the classes and stuff
 
Xeo
5:47 PM
brb
 
all I wanted to do is sneak attack someone with a greatsword in steampunk London.
IS THAT TOO MUCH TO ASK?!
 
wtf..
 
Xeo
@Puppy yes
Try sneak-attacking them with a portable ballista
 
@Puppy So, you played as Ezio, then.
 
@Xeo jimmies rustled after reading beginning of second paragraph...in before feminism rant?
 
5:48 PM
@EtiennedeMartel Never heard of him.
anyway I have to go and beat my Paranoia GM at some other games.
 
Right, forgot about that boulder above your house.
 
goodbye
 
> Should I take this personally?
 
@MarcoA. That actually sounds like its kind of a relief to me. For me the hardest part of programming is making those kinds of design decisions; which classes, what does the API look like, etc
 
wooooooooooooow
 
5:49 PM
@Prismatic eheh not if they do it wrong :D
 
@Puppy I run most of my games like that, but I have a tendency to prefer systems where rolls are few and far between. (Yay for Paranoia)
 
@MarcoA. Yeah I was just about to say, if I don't have to implement anything its a lot less stressful :p
 
I agree with Martinho when he writes (IIRC) "I'll hate you if you call all your classes Manager because you think it's clear what their responsibilities are"
 
@Puppy That's horrible, though.
 
@Puppy Okay, so at least play it on an Eizo.
 
5:51 PM
we had a terrible design once.. all managers and not a single class which actually did the job
I wanted to call it "Italian Parliament Pattern"
 
@JerryCoffin nice one
 
they rejected the proposal though
time to go and buy some food, later guys
 
@Borgleader As it damned well should be, with a (projected) price tag around $4500 US. (Yes, I know that's not what you meant...)
 
@sehe I can't accept them all though, because some are closed as duplicates, and others don't have any answers.
 
5:57 PM
@MarcoA. Too long of a name. I nominate "Java" instead.
 
1
Q: Why is the root of an RB tree black?

fredoverflowIf, after insertion of a new element, the root of an RB tree becomes red, its color is changed to black. Why is that? It appears to me that red roots would work just as fine. Is this color change simply done so that subsequent operations can be done more efficiently, or is there more to it?

^ for example
 
@MarcoA. lol
 
@JerryCoffin JAVA is an acronym for "Java Ain't Very Appealing".
6
 
6:19 PM
> I'm an English teacher with a student who seems to have lost almost all motivation and joy in his life, but I've sleuthed out that one thing that makes him happy is Counter-Strike. I know basically nothing about it, but was wondering if you folks know of anything I could suggest to him to support this one happy thing in his life.
> Hey, I'm the community manager for SteelSeries. We make gaming gear for professional gamers and we sponsor two of the best CS-teams in the world. I'd be more than happy to try and facilitate either some gear, autographs or something along those lines if you think it could help him.
aww
steelseries is nice
 
I think it's going to rain.
 
@AlexM. that's fucking awesome
I wish SteelSeries would have given me free shit when I played CS.
 
user1804599
hey losers
 
@rightfold sup
 
Any way to make this work? I want a recursive cowsay, in case it's not obvious :)
 
6:32 PM
First, you have to change your locale to the only true one...
:D
 
I can confirm, I have over 3 years of experience in recursive cowsay
that's needed
 
user1804599
% echo 'Lounge<C++>' | cowsay | cowsay -n
 ______________________________
/  _____________               \
| < Lounge<C++> >              |
|  -------------               |
|         \   ^__^             |
|          \  (oo)\_______     |
|             (__)\       )\/\ |
|                 ||----w |    |
\                 ||     ||    /
 ------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
 
user1804599
@fredoverflow -n disables word wrapping.
 
pantoona the cowsay master
 
user1804599
MISTRESS
 
6:34 PM
can we just use "individual" and not lead to confusions all the time?
 
user1804599
!!!!!!
 
pantoona the cowsay individual
wait that doesn't make sense
 
you know that moment of relief when you think you're out of underwear but then find one more pair under a pile of clean clothes
 
pantoona the manpage master
 
6:36 PM
so great, I thought I was out of pantsus
 
user1804599
just wait till somebody steals them
 
I stopped drying them outside
I just get them hung somewhere inside
 
user1804599
What software shall I make?
 
Xeo
@R.MartinhoFernandes I'd tend to agree. I'm hogging the time of all the other players (the "action tokens" from diner make that especially clear). I can't do anything about it though, really. I tend to focus on what other players do in their turn, and then seem to get stuck when my turn comes (in whatever game, really). :/
 
@rightfold hi
 
6:44 PM
@rightfold hello, winner
 
user1804599
Yay! I won!
 
Xeo
Does anyone know if the ACCU talks are being filmed and put online at a later date?
 
user1804599
Not if the camera ran out of battery power.
2
 
@Xeo I think one or two of them are
but most definitely aren't
 
Xeo
@jalf damn
that sucks
 
6:47 PM
Yeah
Well, you could just have come here! :p
 
Xeo
yeah right
I would have, if I could have
 
:)
 
Xeo
The talks sounded really interesting :/
 
Which one?
oh, talks plural
A few of them were a complete waste of time, if it helps. ;)
but yeah, there's been a lot of good ones
 
Xeo
lightning talks look very interesting too
 
6:51 PM
Yeah, they've been great
 
`bye
 
Xeo
Lemme guess, the ??! one was about trigraphs?
 
@Xeo Umm, sure that wasn't just a placeholder? Haven't seen any ??!'s in the schedule
 
Xeo
Tonight's Lightning Talks #accu2015 http://t.co/jAdZsJFfna
going by that image
 
oh right
 
user1804599
6:53 PM
Hmm.
 
I... forgot what that one was about :D
but it wasn't trigraphs
 
Xeo
lol
 
user1804599
APL must be beautiful in non-monospace font.
 
Xeo
very memorable then, eh
 
Well, there were a lot of them
with zero time in between, and 4:30 minutes for each
so they kind of flow together a bit :p
 
Xeo
6:54 PM
heh
 
at least when you don't have a title to remember it by
 
Xeo
Do you remember the Rust one?
 
so my monitor that is in the process of dying emits the tell-tale smell of grilled electronic components
 
Real talk Lounge, what is the best programming font
 
Xeo
@LucDanton uh-oh
 
6:56 PM
@LucDanton Yum, magic blue smoke
 
it still 'works' though (well it did before I unplugged it)
 
@rightfold you suck¹: this is how cowsay is done (¹ and apparently so does chat rendering)
 
Xeo
I remember one of my old monitors starting to spark and smoke in the midst of a WoW raid. :D
 
@Xeo Yeah, that was pretty interesting. Nothing in depth, obviously
 
user1804599
lol
 
user1804599
6:56 PM
I need alternatives to Jekyll.
 
try Hyde
 
Basically just a quick example of how it handles ownership and avoids returning pointers to temporaries
Also a link to a series of blog posts with more details.
Ok, off I go again! Conference dinner in 3 minutes!
 
Xeo
o/
 
@jalf enjoy!
jealous
 
@LucDanton Maybe soon the little package of smoke that all electronics ship with will open up.
 
user1804599
6:57 PM
 
user1804599
Terrible.
 
user1804599
Maybe I'll blog PDFs.
 
user1804599
And use LaTeX.
 
So this is how chat renders today on my laptop, no idea why
 
7:02 PM
Your laptop sucks. :)
 
totally
 
any sort of proxy setup @AndyProwl
 
@NathanOliver nope
 
Same thing. I tried restarting the browser, nothing; restarting the laptop, nothing
 
7:14 PM
Ctrl + F5
NoScript active?
 
wow, that worked
what does Ctrl+F5 do?
 
Xeo
caching ehehe
 
clears the cache^^
 
Xeo
@AndyProwl clear cache
 
oh
makes sense
 
7:16 PM
@Moiz If you're tagging this as c++-faq you obviously realize it's fequently asked. Why don't you close it as a duplicate too? See the side bar for candidates: i.imgur.com/DadFylj.pngsehe 16 secs ago
 
@deW1 I owe you a beer
 
careful I might collect ;)
 
oh that would ruin me :D
 
@sehe and yet you didn't close it as a dupe...
 
It's already answered. And I'm not reading that question to see whether it is.
@Mgetz Annoying passive-aggressive "..." by the way.
I was responding to his abuse of the tag, not the question
 
7:21 PM
@sehe bad habits die hard
 
:D
 
0
Q: Trying to understand [class.qual]/2 in the C++14 Standard

Leon Trotski[class.qual]/2: In a lookup in which function names are not ignored33 and the nested-name-specifier nominates a class C: if the name specified after the nested-name-specifier, when looked up in C, is the injected-class-name of C (Clause 9), or in a using-declaration (7.3.3) that i...

 
Ow
I just realized I can't use std::unique_ptr<void>. :c
 
dat moment when you take a shower after haircut
and your hair dries in less than 30 secs
 
Ok, so std::unique_ptr<void> is a no-go, boost::any is a no-go, boost::variant neither, std::shared_ptr<void> nope...
Am I really considering void* and new and delete?
That would actually be UB.
 
7:34 PM
@AlexM. My hair has been two feet long for a while now, I don't know what that feeling is.
 
Great. I'm out of options.
Am I forgetting some other way to do type erasure?
@rightfold ECS implementation
 
@Jefffrey Why doesn't boost::any work?
 
@EtiennedeMartel Because it requires the type to be copy constructible, while some of the types I would use it for are not copy constructible.
 
@EtiennedeMartel reminds me of a 10yo girl I saw on the street today, after her mum showed her some guy with dreadlocks
 
@Jefffrey Your components should be copyable.
 
7:36 PM
IS THAT REALLY A BOY?
 
Components are values, not entities.
 
@EtiennedeMartel Some values are not copiable.
 
user1804599
@Jefffrey If you need boost::any for that then we can conclude that ECS sucks.
 
@R.MartinhoFernandes I relate to that. I'm prone to "AP"; I "AP" my life! I think it's a brain config thing. A.k.a. neuro-diversity (which invariably is the euphemism for autism spectrum phenomena)
I think the presenters are missing a rather largish point for an awkward amount of time. They almost run into it headlong at 21'15" into the podcast when they have been mutually one-upping their bewilderment for some time (and supposedly are looking for solutions, which ironically makes them start the laundry list of complaints about what doesn't work):
> This is it you see "[...] oh, chess clock, something like that [...]" - I've tried it. Doesn't work. If anything it makes them take longer because they then feel pressured and they can't focus on what they're doing
This ^ . Some people can't effortlessly gauge a situation. That whole "the game has this general narrative going on, you might want to go in that direction" doesn't work for them. If anything it makes them "bad" at the game. But they still enjoy it.
To me playing such games is an exercise in context-awareness, nicely isolated from the real world. E.g. I love playing chess. But the most frustrating thing in the world would be playing blitz games. It would just not get anywhere.
So, put them together. Have a fast league and a leisurely paced league. Don't generally paint slow players (or "AP-ers") as selfish or "trying to look good". They might just be suffering their handicap, scrambling for some overview. (Trust me, these people are feeling the social pressure with that. They're just having to partially ignore it in order to participate at all.)
 
Maybe I should ask a question on SO
@sehe Holy shit
 
7:38 PM
:D
Took me "a while"
 
@Jefffrey I thought you can so long as you provide a deleter or something
 
Me too
 
pasta or steak?
 
pizza
 
7:44 PM
just had a pizza
 
if you can't do pizza then I guess QF pasta also works
 
@AlexM. No no no. No pizza for you
 
well I do wanna make a pasta sauce tonight. but I feel like I want a meal first. therefore steak.
wtf is QF tho
 
quattro formaggi
this
QF tagliatele best pasta
 
What is that crunchy looking thing on the top
 
7:46 PM
I'm not sure, I didn't take the pic but it looks like cheese that stuck to something and got fried
then taken off
 
Hi everyone
 
it's the best looking pic I found but in reality I'd definitely ask why the hell there's no gorgonzola on them
gorgonzola is needed to complement the soft texture of the other cheeses
and contribute with bitterness among the salty + sweet stuff
 
@Prismatic don't you have a memory leak there?
 
@Jefffrey yeah
 
Is that a feature?
 
7:50 PM
I don't mind typing the std:: in std::set or std::map but for some reason I hate it if I have to do it for the integers (std::uint32_t) and chrono types.
I'm so weird.
 
@Jefffrey I doubt it, looks like I just forgot to add a real deleter
Wait no, I add in a real deleter when I create an ImageData object for the image
im_data.data.get_deleter() = [](void * data) {
                std::vector<Pixel> * p = static_cast<std::vector<Pixel>*>(data);
                delete p;
            };
It would have made more sense to not let ImageData be constructed without passing in the deleter as an argument
 
Now we can assign functions like this?
I think I'm back in past
 
depends on the type
@LucasHenrique yesh
 
praise lambdas
 
I knew lambdas
 
7:56 PM
@Prismatic lambdas cannot be assigned
 
But I thought it could be like a function pointer
 
user1804599
I constructed a blog post.
 
Xeo
@StackedCrooked Namespaces for "fundamental" types and double namespaces are annoying
 
@rightfold Monad tutorial, part 2?
 
user1804599
No.
 
user1804599
7:59 PM
About async APIs.
 
@sehe Can you elaborate?
 
@rightfold Nice. Is it online?
 
Is the following not valid:

std::function<void(int)> f = [](int x){ std::cout << x << std::endl; };
 

« first day (1651 days earlier)      last day (3288 days later) »