« first day (1356 days earlier)      last day (3575 days later) » 

9:00 PM
Terrible, of course.
@MohammadAliBaydoun Oh I can date that then.
 
Xeo
#define $(id) \
    [](auto&&... a) -> decltype(auto) \
    { return id(std::forward<decltype(a)>(a)...); }
 
Oh you're a different Mohammed.
I remember this one.
 
Xeo
hmpf didn't chat also have a long-line mode for code?
 
:(
Want
 
user1804599
9:01 PM
@Xeo Make it work with operators as well. :v
 
user1804599
I wonder if that’s possible.
 
user1804599
I think it is.
 
user1804599
I guess you can stringify the macro parameter and pass that to a template.
 
I am all the Mohammads
 
@Rapptz not really. Eric Niebler has made a case for names-space functor instances instead of functions to disable ADL and as such avoid unwanted interference with other libs
 
user3010322
9:03 PM
@rightfold You could just explicitly name the operator?
 
user3010322
::operator+ ?
 
user3010322
THat's s thing you can do, no?
 
user1804599
Right. :D
 
user1804599
Awesome.
 
Xeo
doesn't work properly
 
user3010322
9:04 PM
Tits.
 
Xeo
i.e., doesn't invoke member operators
 
user3010322
Oh.
 
std::plus<void>
 
user3010322
Maybe you can make a __VA_ARGS__ capture list?
 
user1804599
@Xeo Is it still possible with some_template<##id> when id is in the set of operators?
 
user3010322
9:05 PM
Oh, no, you're better off just making a second macro.
 
Why not just use the transparent function objects already provided?
 
wow
just wow
 
user1804599
@Rapptz Not pwetty!
 
user1804599
@sehe s/sehe/doge/
 
9:06 PM
Okay so I'm guessing my functions-as-functors isn't stupid/silly.
Gotcha.
 
user1804599
It would be nice if operator+ would just be what std::plus<void> is now.
 
Well you can do std::plus<> to shave off 4 characters :p
 
user3010322
All functions should just have some easy syntax to decay into functors.
 
user1804599
No, they should be functors.
 
user3010322
But nobody on the standard is fighting for that.
 
user1804599
9:08 PM
But that would break unary &. :[
 
user1804599
Uniformity is a great thing.
 
user3010322
I don't mind non-uniform stuff so long as the cases are covered.
 
user1804599
E.g. passing operator+ should just work.
 
user1804599
And decaying to pointer and shit is terrible edge-cases.
 
user1804599
Such edge-cases are horrible in generic programming, especially with templates.
 
9:10 PM
Why is this model the only one that doesn't cost 40 euros (it costs 2 euros) and has enough precision for what I want :(
It's like I'm being trolled.
 
market differentiation and/or decoy effect
In marketing, the decoy effect (or asymmetric dominance effect) is the phenomenon whereby consumers will tend to have a specific change in preference between two options when also presented with a third option that is asymmetrically dominated. An option is asymmetrically dominated when it is inferior in all respects to one option; but, in comparison to the other option, it is inferior in some respects and superior in others. In other words, in terms of specific attributes determining preferability, it is completely dominated by (i.e., inferior to) one option and only partially dominated b...
 
Nah.
It's just that this model is manufactured by the zillions in China and used everywhere.
 
user1804599
I also wish ADL were explicit rather than implicit.
 
std::operator<<(std::cout, "Hello World"); would be pretty fun to write.
 
@Chimera know any good site to buy steppers?
 
user3010322
9:15 PM
Stepper motors?
 
@Rapptz Thanks to ADL, operator<<(std::cout, "Hello World"); should be sufficient ;)
 
But rightfold wants explicit ADL.
 
Namespaces do not make sense on operators.
 
user3010322
> C# is a better Java basically.
 
@ThePhD Yes.
 
user3010322
9:17 PM
I'm trolling the shit out of this e-mail thread.
 
user3010322
... Professionally.
 
user1804599
C# is just as bad as Java.
 
user1804599
@Rapptz nono I mean adl foo(x).
 
user1804599
Instead of foo(x).
 
@foo(x)
 
9:18 PM
I feel retarded.
TeamCity will never build automatically for me
 
user1804599
You are retarded.
 
Xeo
@FredOverflow no
16 mins ago, by Xeo
i.e., doesn't invoke member operators
 
holy crap
so, I changed my yahoo email password... N days ago, on PC
I connect my phone to the internet, and I get a notification that I received new mail
 
old cookie still valid? :)
 
I touch it and I'm brought to yahoo's email app and I was able to read the email completely
I'm so sorry I didn't think about trying to see if I could also see the whole inbox
it only asked me to log in again when trying to download the attachment
 
9:23 PM
can ubuntu run on most commercial hardware?
 
@Rapptz it's not automatic. You have to define a build trigger (most likely, VCS commit)
 
I already have a VCS trigger
 
inb4 the repo is lagging, credentials are off, wrong branch or a combination
 
None that I'm aware of.
 
Also, as I remember there is a minimal delay in TC
 
9:25 PM
It works when I manually trigger it but that defeats the point
 
Why do C++-compilers still not provide an intrinsic for make_integer_list? All standard library implementations (i know of, that is GCC :p) have superlinear complexity (due to linear recursion).
 
I think g++ and clang++ have had it for years
 
Xeo
quasi-sections :D
 
@Xeo Not defined to work portably though is it? The PP doesn't need to know the character '$'
 
Xeo
ye
can be any other name, though
 
9:28 PM
@Xeo: Didn't know generic lambdas can use placeholder trailing return types - but then again, seems logical
So, the idea is to encapsulate expressions in lambdas and use those as functions
@Xeo: Why no default lambda-capture?
Or why no possibility to supply that (from the user side)?
 
Xeo
which one would you use?
because simplicity
heck. it's just some toy code
 
@Xeo &
Well...
 
Xeo
no matter the default, it's a bad idea
 
Not always good. I guess its not that simple.
 
Xeo
my []teehee proposal also doesn't capture anything (otoh, it also doesn't allow quasi-sections)
 
9:32 PM
How does the $ work in macros?
 
@Xeo proposal?
 
Xeo
@StackedCrooked normal character, if the compiler allows it
 
Fox News rips off BioShock Infinite logo, irony ensues avclub.com/article/…
 
user3010322
@Xeo The biggest problem I have with this, though, is that it doesn't match the function signature of the orignal id type. So you have to always specify arguments by casting if you need to use it in a non-templated scenario.
 
> It’s like rain on your wedding day. It’s a free ride when you’ve already paid. It’s a strongly conservative news network blatantly copying the logo of video game in which the villain is a strongly conservative evil mastermind who wants to destroy the world. Not only is one of those things actually ironic, but it also actually happened earlier this week. woot
 
9:34 PM
Just as another part of the identifier ... >> Each universal-character-name in an identifier shall designate a character whose encoding in ISO 10646 falls into one of the ranges specified
in E.1.
So i suppose $ falls into that range
 
Xeo
@ThePhD er
guy
how would it do that?
 
why would you want it to do that?
 
user3010322
You can't.
 
Xeo
Even my proposal doesn't do that
 
user3010322
@Rapptz If the function is non-overloaded, I can pass the function type through to something like sol and it would accurately deal with it.
 
user3010322
9:35 PM
Hm. I smell function_traits...
 
user1804599
Hmm, in C is void f(char const*); then later in another translation unit void f(char*) { … } UB?
 
user1804599
In C++ it wouldn’t link AFAIK.
 
user3010322
I don't think either would link.
 
user1804599
C compiler would just use the name f (or on some platforms _f) without name mangling.
 
in C that would violate the ODR afaik, since you are redeclaring the same f as a different type
 
9:39 PM
@FilipRoséen-refp different translation units
No common header
So hows your meningitis?
 
@Arcoth doesn't matter, you are still, potentially, referring to two different f from the linker
 
user1804599
ODR works across multiple translation units.
 
@FilipRoséen-refp Does the Standard now about the linker?
 
@Arcoth it knows enough to make sure something like that would be UB
 
user1804599
9:41 PM
@Rapptz That is the same translation unit.
 
I know of this quote from the standard
$14.6.4.2
If the call would be ill-formed or would find a better match had the lookup within the associated name-
spaces considered all the function declarations with external linkage introduced in those namespaces in all
translation units, not just considering those declarations found in the template definition and template
instantiation contexts, then the program has undefined behavior.
 
user1804599
warning lol
 
lol
 
user1804599
@BenVoigt, Actually, it's interesting because it fits into the answer gramatically, but the object to which "this" refers to would be unknown. And what is this? We have a Beer site? — chris 1 min ago
 
user1804599
9:42 PM
Oh my god this is funny.
 
@Arcoth [basic.link]p10 and relevant sections
 
@FilipRoséen-refp cheers
@FilipRoséen-refp You didn't answer my other question though, about your Meningitis
 
@Arcoth I'll have to google "Meningitis"
ah well, it's all better now
the term in swedish is so much different that I didn't relate the two, thought it was something clever regarding what we were talking about now
 
Apparently asking what fluid ounces are is on-topic for Beer.SE.
 
@FilipRoséen-refp ... the name of the illness you had? You have to google it? :)
@FilipRoséen-refp ahh, pardon me
 
9:45 PM
@Arcoth I went to see the doctor, got put on antibiotics and now I feel mostly fine
@Arcoth in swedish it's "hjärnhinneinflammation", doctors might refer to it as "meningitis", but in layman terms the former is much more common
thanks for asking!
 
@FilipRoséen-refp Haha, that actually sounds kind of german - i translate it as brain-infection, is that correct?
hjärn = Hirn, hineinflammation sounds like an 'infection into the interior'
 
@Arcoth it's actually an inflammation, ie. what the body does when there's an infection running around
 
@FilipRoséen-refp The more you know stars run across the screen in a gay manner
 
@Arcoth indeed, "hjärn" = "brain", "hine" = "the thing around it, the outer part"
 
ty! A little swedish lesson is never wrong. :D
 
9:50 PM
hjärna is actually brain though
anyhow, what are you up to @Arcoth?
 
> I am New pie in programming with C/C++. also i love Motion graphics design.
 
@FilipRoséen-refp Got moderator in the forum im in all day long :D
 
@Arcoth I assume that's a good thing, congratulations. What forum is that?
 
@FilipRoséen-refp Largest german C++-forum, one of the largest in the world. I got mod in the main board, the one for C++ itself. www.c-plusplus.de/forum/f15
 
user1804599
inb4 terrible website
 
9:54 PM
@rightfold It's old, that doesn't make it terrible though
 
@Arcoth oh, sounds nice; there aren't that many good c++ boards any longer. sure we got and a few really big/nice IRC-channels - but besides that the c++ fora era seems kinda dead
 
@Arcoth Reality contradicts this, often
 
@sehe Why? I like its interface more than the one SO uses. Its static. I like static interfaces.
 
@Arcoth the [std-discussion] mailing list is however my personal recommendation
 
@FilipRoséen-refp Wheres that? Sounds just like what you'd love :D
 
9:55 PM
but I guess it's only "good" because most novice programmers don't find their way there, which could be both a good and a bad thing
 
@FilipRoséen-refp wow, thanks a lot - sounds terrific
 
@Arcoth and if you are interested in the future of c++, check out [std-proposals]
 
@FilipRoséen-refp Will
 
@Arcoth I don't see why you bring that "argument". I just observed that old sites tend to be crappy, quite often.
 
@FilipRoséen-refp Forums leave room for discussion. SO is basically just about answering.
 
9:59 PM
(much like new sites)
 
@Arcoth yeah, check out the mailing lists - they will suit you perfectly
anyhow, I'm off... talk to you guys later
*ploff*
 
@sehe Just because you observed that, doesn't mean thats the general case. "Reality contradicts this, often." Doesn't include the fact that this is your personal observation. I found old sites to be useful more often than they weren't (provided their intended functionality is preserved throughout the years).
Just saying, my experience tells otherwise. And i like the interface. So, meh. :S
@sehe lol :D
 
user3010322
@EtiennedeMartel You can only have 1 child in the Grid in XAML, right?
 
@ThePhD You can have as many as you want. It's a Panel after all.
 
user3010322
... Huh. These errors are being mean to me, then.
 
user3010322
10:10 PM
Oh, it was an error for the border's internals... but why did it highlight the things directly under grid...?
 
user3010322
Whatever, XAML is weird.
 
Xaml is nice until it is not.
 
Even as a C standard library function, atoi sucks ass.
 
Hopefully, I saved OP by mentioning std::stoi
 
user1804599
10:13 PM
lol low-level languages
 
YOU'RE a low-level language :C
 
@Puciek, No, please no. And why on bloody earth does that documentation not mention that failure to convert it returns 0? — chris 2 mins ago
 
user1804599
(.).(.) pseudo-operator is so nice.
 
user1804599
No porn intended.
 
Let me fondle your pseudo-operator
 
10:16 PM
ow.
why did I allow that surgeon guy to poke holes in me
 
@chris Fourth paragraph, actually. Sucky documentation, it should also be mentioned in the "Return value" section.
 
@milleniumbug Ah, thank you.
I looked and even ctrl-F'd for "0"
 
> Integer value corresponding to the contents of str on success. If the converted value falls out of range of corresponding return type, the return value is undefined. If no conversion can be performed, ​0​ is returned.
cppreference.com's version is waaaaay more superior
 
Yeah, already checked.
 
That reminds me that I should banish cplusplus.com from Google's search results
hmmm, "way more superior" sounds wrong to me.
 
10:24 PM
Posting this here so I don't randomly want to see it one day and can't find it
 
this screen from a CoD Ghosts DLC brought back some memories
 
We should DDoS cplusplus.com for the good of the entire C++ community.
It does more harm than good
 
I blocked it from my Google search results.
And w3schools
I don't think the former is that bad, but really, cppreference is definitely better.
 
ack
why did I let that guy cut holes in me
 
Ell
@puppy are you sending these messages at 15 minute intervals? :P
 
10:35 PM
mostly whenever the question arises in my mind
 
he's a numbers station but with holes instead of numbers
 
user3010322
Guys, I'm making a really simple mistake here but I can't see it: coliru.stacked-crooked.com/a/87d75afd7aed9ad5
 
user3010322
Anyone's eyes quickly catch what I'm doing wrong?
 
no ::type on remove_reference.
> T = std::remove_reference<int (&)[100]>
 
user3010322
Ooh.
 
user3010322
10:39 PM
Got it. Whew. Thanks.
 
I love you guys ;~;
 
awh, I love me more!
 
user3010322
size_t arr1[100];
foo<100>(arr1);  // compiles

size_t arr2[200];
foo<100>(arr2); // doesn’t compile
 
user3010322
These people trying to tell me this si good C++
 
user3010322
Fuck them. :v
 
10:42 PM
It compiles if the size matches?
 
user3010322
And only if the size matches.
 
user3010322
I would rather shotgun myself in the mouth.
 
Ell
What is foo?
 
I doubt that very much
 
Stop right there.
What problem are you trying to solve?
 
10:43 PM
halting problem
 
;)
 
@AlexM. Oh golly~
 
10:59 PM
Alright, time to watch Inception again
 
After watching this a few weeks ago.
 
Xeo
aw fuckles, 1am
sleeeeep
 
user3010322
Wait @Xeo !
 
user3010322
Did you buy your computer yet?
 
11:03 PM
evening
 
> Number of instances of game-related profanity during this review: 48
They sure do not fuck around with the stats.
 
If there's something I've learned in my whole life is to never be between two drama queens you care about. Never.
If you think I'm vaguebooking: I've just experienced being with two drama queens that know me and tried to create drama around me. Nothing special.
 
Ell
Drama queens are terrible
If you want drama, watch made in Chelsea
 
sweet, ubuntu install worked... does anyone know if there is a way to auto-hide the left bar?
 
Ell
Right click on it? Or look for unity settings
 
user1804599
11:15 PM
Chelsea reminds me of that song.
 
user1804599
 
user1804599
It’s terrible.
 
also, would this show up when updates are downloading on ubuntu? E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
 
Ell
Yes
When apt-get is already running
Can't run two concurrent instances
 
@Ell why do you even know that show?
 
Ell
11:18 PM
Because I watch it :D
 
okay cool. I'm trying to do sudo apt-get install git but I think the updates are in the way
 
Ell
Yeah they will be, you'll just have to wait for the other process to end
 
@milleniumbug hm?
 
wait... Netflix doesn't run on ubuntu? That makes this whole operating system lame
 
Ell
Where does netflix run? In the browser?
 
user1804599
11:24 PM
lol netflix
 
yep. I guess they're still using silverlight? I don't really get why. Can't they just use HTML5?
 
and that makes ubuntu lame
oooooookay
 
the only things I use my computer for are making dumb little programs, and netflix :|
 
Ell
Are you sure they are using silverlight?
And not flash? Also there is moonlight
 
Pretty sure Netflix is still using Silverlight.
Although they keep talking about switching over to HTML5...
The main problem is that Netflix has a lot of tricks within siverlight to make it more reliable, dynamic bandwidth, congestion metering, etc.. etc...
 
11:29 PM
:D
 
user3010322
@Borgleader Megakinky.
 
user3010322
But they're using 2x 680s
 
user3010322
That's hardly fair.
 
You missed the point
it got almost twice as fast in 2 years
 
user3010322
I said "Megakinky" over that.
 
user3010322
11:31 PM
Also, time to go home!
 
can you make the background of ubuntu's terminal more transparent, like mac does?
 
@AlexM. Political debate on Romanian TV - a woman "accidentally" knocks glass of water, which splashes on a guy, who splashes the water on her in response.
 
yeah that I saw
not sure what you were trying to tell me
 
There is some context missing here.
 
11:33 PM
I don't follow politics
 
Don't worry, neither do I.
 
man the mclaren f1 was a beautiful car
no street legal car managed to beat it in terms of beauty for me
 
I quite like the Audi R8
 
Tesla roadster best car
 
whoa
the R8 is neat too
I also like SUVs
if I were to buy a car right now, it would be the VW Touareg
dat beauty
 
11:38 PM
@AlexM. ewwwwwwww :(
 
it's beautiful, gtfo
 
It's ugly as shit.
 
^ this
 
so there's a eula on my terminal that won;t go away... how am I supposed to even agree to it?
 
press y
 
11:40 PM
tried that -- not working
 
another SUV that I like is the audi q7
 
 
it's a bit big though
 
@AlexM. thats kindof the definition of an SUV >.>
 
11:42 PM
it's big compared to other SUVs then
like the touareg
or freelander 2
 
hummer for scale
 
I saw one of those in my city a couple of days ago
it was advertising some event
 
Fuck SUVs. They're big and gas hungry and they suck at off-road.
 
I want a fucking Tesla :(
 
Do not fuck SUVs. I do not want them reproducing. o.o
 
11:44 PM
talk about class :D
 
lol my dad's boss only drives SUVs
and after a level, all of the work cars he gives to employees are SUVs
 
thats dumb =/
 
Very dumb.
 
dad first received a hyundai santa fe and then a freelander 2
he says they were both just as driveable as the VW passat in our garage
the only complaints I've heard were related to how the freelander 2 is more stable than the santa fe at high speeds
 
"more stable"?
Oh, right.
SUVs can topple over.
So ridiculously shitty.
 
11:48 PM
shrug
I can't drive so I can't speak for myself
 
Get a tank.
Those are cool.
 
takes keyboard and types in panzer
 
Ell
SUVs are great
For towing boats or caravans and the like
Especially putting a boat into the water on a slip, 4 wheel drive is useful
 
A pickup will do a better job at it.
 
Ell
But that can't seat as many people
What if you're going for a family day out on the river?
 
11:54 PM
the bmw m3 is seriously awesome too
 
Ell
I think BMWs have pretentious connotations
 
they're negatively viewed in Romania because gypsies use them as a way to show off their wealth
there is also a "bmw is the best car in the world" mentality which makes people buy half-broken 1980 models and try to repair them for lots of money
instead of just buying a less BMW car in a better state
 
Ell
I think they are negatively viewed here in the uk too
 
their design is still amazing
the first time I saw a bmw m3 was when I played NFS pro street
I immediately liked it
screen from the game
 
Ell
Yeah, I think I prefer designs with creases than without
 
11:58 PM
wow now my displays are seriously screwed up, and not sure why...
 
@Crow why did you install ubuntu?
 
@AlexM. find it too annoying to develop without some kind of linux-y terminal
 

« first day (1356 days earlier)      last day (3575 days later) »