« first day (1657 days earlier)      last day (3290 days later) » 

12:12 AM
@orlp you what
 
@sehe type in "ip address" on google
 
sigh still not done with C++11
at least they made "good" progress
 
I only go after STL's ramblings. :)
lmao
> Q. I want Expression SFINAE.
> A. That's not a question!
 
Ell
I am afraid
 
12:22 AM
@orlp That service is new for me :) Mine ends in :b717
 
Ell
I wonder if I'd hear the difference between 40 kbits/s AAC-HE and 128 kbits/s AAC
 
@Ell Buy the best headphones first.
 
Rust is running into growing pains, due to complicated interactions between memory safety guarantees and object lifetimes.
Or perhaps more simply: memory safety is very hard.
 
Ell
12:42 AM
Threading too
 
And marriage
I meant tax reports
 
@sehe That's also in marriages.
 
@MarkGarcia thought it said C++99 (and author meant 98) when i first read it
seemed believable
 
 
1 hour later…
1:55 AM
real unique people are all weird
 
2:20 AM
Oh good, coming home to find a spider swimming in your bedside water glass. That inspires confidence.
@MarkGarcia lol C99 support from one month of intern time? noob o'clock in the comments
 
I like how when you are very small, a lot more things can be potential swimming pools.
 
thanks yeah
RIP MESSENGER
NASA is pretty great I'll give 'em that
 
Is it possible to try-catch a heap invalid allocation size error? Or somehow handle the error manually rather than letting the debugger catch it?
 
2:36 AM
no
wot
user image
4
 
like straight men don't ...
 
nobody said they didn't mate
don't be so racist
 
drunk: yes/no?
 
abstain
I believe the shits call it "taking the fifth"
cos, y'know, proud of being able to count
understandable in a country where that's rare
nn kits
 
3:13 AM
If you uttered all these while sober I must say that I am a bit worried
I am in a bank, trying to robbing a pen, coz I need to write on the back of a cheque which account I am depositing to ...
 
The English being uttered here is top notch.
 
 
1 hour later…
4:24 AM
> VC's current lack of an AST makes constexpr and other major features (especially variadic templates) very difficult. As the compiler devs have explained to me, this was a clever way to save space and time decades ago when C++ was simpler to compile. Features like constexpr and variadic templates make C++ easier to use, but they demand much more from the compiler's data structures.
 
4:55 AM
@FatalSleep isn't that bad_alloc?
 
5:16 AM
 
5:52 AM
Thoughts about C++17. Bjarne's even put in a reddit link to the debate on his previous document..
 
6:08 AM
not a fan
@StackedCrooked paper gets worse
 
Morning
 
void g(Ref<X> x)
{
    X xx = x; // X xx = x.operator.();
    auto r = x; // auto r = x.operator.(); that is, r is a X
}
 
7:02 AM
> Those opinions can depart radically from the ones I hear in the committee and from reality.
lol
 
7:18 AM
I still don't understand why containers like std::set does not have some member function like exists that checks if a key is in the container and returns a boolean.
It's like they strive for your program to be ugly: set.find(key) != set.end()
 
Ven
@Jefffrey template<typename Cont, typename T> bool exists(Cont const& c, T const& t) { return c.find(t) != c.end(); } ?
 
Yes, but why not put it in the interface itself? The main thing you want to do with a std::set is check wether a value is in it or not.
 
Ven
because C++?
 
Also I've just noticed std::set::count. Wow. What the fuck is that?
> Returns the number of elements with key key, which is either 1 or 0 since this container does not allow duplicates
lol, genius
 
@Jefffrey Yes.
 
7:25 AM
I guess at that point I can just take advantage of the int to bool implicit conversion and use something like if (set.count(key1) && set.count(key2)).
 
That's what I do.
 
Ven
..is that really a thing? Well, guess I'm glad I know...
 
It's called count because for multiset it could return more than 1.
And they have the same API
 
Makes sense.
 
7:39 AM
hii
I kinda overslept here today
> Microsoft Launches Visual Studio Code, A Free Cross-Platform Code Editor For OS X, Linux And Windows
 
> here
Not your house/apartment.
@BartekBanachewicz Based on Atom I heard.
 
> We took one of the most shitty parts of Visual Studio, namely the text editor, slapped it on a web app platform and called it a day - says Microsoft executive.
6
 
lol
I like how the homepage is down.
 
woop woop 2015 RC is out! ...with as far as I can tell, no new vc++ features.
 
Their code completion is nice though
 
7:47 AM
@Jefffrey multiset also has that.
 
> However, we propose to suppress default generation of operations when an operator.() is declared.
 
@BartekBanachewicz Wut.
 
20 mins ago, by Rapptz
It's called count because for multiset it could return more than 1.
 
Yay for generality
 
Yes, because C++ needs more rules about default generation of constructors and assignment operators ;_;
 
7:48 AM
yup
 
Ven
@Griwes This absolutely shattered my newbie brain
 
> Open Sourcing Visual Studio’s GDB/LLDB Debug Engine
What are they doing
 
Still, I think that std::set, std::multiset, std::map, std::multimap, std::unordered_set and std::unordered_map should all have an exists like member function, with x.count(key) != 0 as semantic.
 
Guys, remember the operator whitespace April Fools "proposal"? This operator. is getting dangerously close to that one ;_;
 
@sehe who's open sourcing what now?
 
7:50 AM
@sehe wot
 
Ven
@Griwes I remember kotlin's april fools dot operator
 
@Ven :D
 
Plot twist: it was not an april fool joke
 
And this too:
> With the release of Visual Studio 2015 RC, we wanted to provide an update on the progress of resumable functions support in Visual C++. Since last time, we have made some changes to our experimental implementation that tracks the latest proposal (with the exception that resumable_traits and resumable_handle are called coroutine_traits and coroutine_handle as in earlier proposal)
 
Ven
7:53 AM
can we actually say m$ has been doing good these days?
 
I think MSVC is gaining momentum
@Ven no (unless you mean either MSFT or Microsoft)
 
Ven
@sehe too many still-painful points?
msft? m$ is supposed to be microsoft, yes
 
Xeo
@Ven s/$/s/ and we can talk
 
Ven
@Xeo ... m$s? :)
 
m$ fanboys
 
7:54 AM
@Ven So, there you go.
 
Ven
people won't don't know regex metachars
 
Xeo
If you write "M$", I consider you stupid.
So there.
 
Maybe I'm not actually.
 
> C++11 Constant Expressions in Visual Studio 2015 RC
Not bad (iff it works)
 
Ven
:23013063 $ is "end of line" (or end of string in multiline mode)
@Xeo ok
 
7:56 AM
@sehe wasn't the same limited support also in the CTPs already?
 
@Xeo Thank God I wrote "m$", then.
 
@sehe haha, big iff
 
@melak47 Not in the ones I used
@Jefffrey millidollars
 
µsoft
 
8:00 AM
:D
So you mean, they should use clang as the backend and frontend :)
 
Linu$ should catch on.
It's cool and I just made it.
 
łinuχ
 
Ven
operator dot really scares me. seems like the complexity level will explode once more
 
user1804599
@Xeo In Scala object M compiles to a class named M$. :(
 
It's an awful proposal.
 
8:07 AM
 
user1804599
All proposals other than "deprecate everything" are awful.
 
BRB
 
I thought it was an April Fool's Joke but the date is April 9th.
 
@Jefffrey meh
 
The proposal is essentially trying too hard for a specific use case and that bugs me.
 
8:08 AM
@sehe well, no: they shouldn't use LLVM as the code generator IMHO. Or they should, which would mean they contribute a bunch of support of cool APIs to it.
 
It's not general case at all, it seems to be a glued on design for just "smart references" and it's silly.
 
the number of gaters that assume less lines of code means better code is astounding. guys, this is perl. you don't want that, believe me.
 
@sehe Still not even close to what they're doing on the .NET side: see those Build announcements.
 
@Griwes he he he
 
@MarkGarcia ~effort~ (inb4 I've seen them)
 
8:14 AM
@rubenvb if they don't hurry with that, they'll be too late :p
 
@Griwes what are "gaters" in this context?
 
@sehe I mean, the resources MS puts into MSVC. Also how they're fore-fronting .NET in their new tech.
Of course this I say because I'm a C++ guy.
 
@Griwes this is perl. you don't want that would be enough
 
I do not necessarily not-like .NET.
 
@sehe TBH I'm not exactly sure, but I don't think that's really important for the tweet. :P
 
8:21 AM
@rubenvb clang is almost ready as a drop-in replacement for cl.exe - binary compatible x86 builds are already mostly working, minus debug info being recognized by VS
 
@sehe GamerGate'rs?
 
@MarkGarcia Me too. I love .NET. Especially via C#. I like C++ a lot more though. It's like "I love driving an Audi. Especially the twin turbo. I like my formula 1 car much better though"
@wilx I don't see how they could be debating code style. But hey, I don't care about gamergeddon
@melak47 No need as gdb/lldb support for VS is open source now (or soon)
 
@sehe yeah, that's what I'm hoping. stop trying to make PDBs that VS understands, just use lldb :D
 
Or use a standard
 
I guess they might still do it anyway, if the goal is binary compatibility
not being able to debug library A linked to project B because it was built with clang would be crappy :/
 
8:26 AM
@Griwes The code does not seem too bad.
 
@melak47 minux OpenMP, minus the Managed C++ thingie (whatever it's called currently), minus C++ AMP, minus....
There's a lot of stuff still missing from Clang to make it a complete drop-in replacement.
 
... I think I am seeing someone having used a map as a pair like construct...
 
@wilx what code where?
 
@freebsdgirl but I heard you could do everything with "clever one line tricks" (tm) in perl!
Also, I suppose that Haskell, lisp etc. are worse at clever oneliners. But they get redeemed by the lack of syntactical "overkill"
 
8:33 AM
oh, if you flag to close, you auto cast a vote to close... nice :D
@sehe I don't know... Haskell permits some pretty funky looking syntax
 
:D
 
@sehe it's another stick to harass female devs with, that's all they care about
 
Ven
also, RIP rachel byrk.
 
@StackedCrooked Yep, found it yesterday and thought of you :D So it turns out you were right. Thanks!
 
Ven
8:36 AM
people using foreach in perl5 in 2015 :(
 
@TheForestAndTheTrees interesting
 
0
Q: where is variables?where is their value?

zention shonI know variable is a storage location paired with an associated symbolic name,now I write down this int a=8; My question is: Where is 8? Is the address of 8 same with the address of a ?

Whoa someone is confused.
 
could someone finally explain what gg is about pls
 
gg = good game?
I used to say it after good Internet card games.
 
If you can't afford one, a pro-deo language-lawyer will probably be assigned to you — sehe 7 secs ago
 
8:39 AM
@fredoverflow Answer with the box image leads to more confusion.
 
@Mr.kbok Jerry had a summary the other day.
 
will search
@fredoverflow gamer gate, in this context
 
@Mr.kbok Mmm couldn't find it quick. good luck
 
@Mr.kbok Is that a steam ripoff?
 
8:42 AM
I don't care about the game industry, so... but thanks for the link, sounds interesting.
> The harassment included doxing, threats of rape, death threats and the threat of a mass shooting at a university speaking event.
The fuck?
 
user1804599
client wanted feature
 
user1804599
apparently we already implemented the feature but for some reason never made it visible in the UI
 
user1804599
great success!
 
@fredoverflow The controversy is complex and those lines are overly simplifying. IMHO. People trolling people, etc.
 
you know... it might be nice in Java if you could say something like (InterfaceA, InterfaceB) foo = new Foo_doesA_doesB(); and then you the compiler knows you can call functions from either interface... It would just be syntatic sugar. Basically, 'Foo_doesA_doesB()` would have to actually implment both interfaces (obviously) and then the compiler can basically create an ad-hoc interface that combines to two...
 
8:45 AM
@thecoshman do you want type classes again
 
user1804599
@thecoshman use Scala.
 
user1804599
val foo: InterfaceA with InterfaceB = new Foo with InterfaceA with InterfaceB.
 
user1804599
It's called type intersection.
 
@rightfold vOv I would settle for Java 8
@BartekBanachewicz huh?
 
class A f where
    a :: ...

class B f where
    b :: ...

data D = D ....
instance A D where
    a x = ...
instance B D where
    b x = ...

foo :: (A f, B f) => f -> ...
foo x = ...
 
user1804599
8:47 AM
Type classes are irrelevant.
 
user1804599
They don't create a subtyping relationship.
 
user1804599
Which is what is wanted here.
 
@rightfold u sure?
 
user1804599
It's about interfaces.
 
Sexist peer review elicits furious Twitter response @FionaIngleby http://news.sciencemag.org/scientific-community/2015/04/sexist-peer-review-elicits-furious-twitter-response http://t.co/EMjLPseKu4
This one seems far more relevant and quite... loaded
 
8:50 AM
@rightfold so basically the JVM does support what I want? Scala does just use the normal jvm right?
 
@fredoverflow: I have never read the GG wikipedia article before. I just skimmed through it and it seems rather biased against the GG side of things. Personally, I think the GG side is the more rational one...
 
just to be clear, the class I am actually instantiating would have both interfaces already. It's just that 'normally' I would only be able to create a variable with one of those interfaces, and have to cast to the other, or manually create my own combined interface.
 
user1804599
@thecoshman it erases the types.
 
user1804599
a.isInstanceOf[T with U] compiles to a.isInstanceOf[T] && a.isInstanceOf[U]
 
user1804599
etc
 
8:56 AM
@wilx yeah the folks harassing and sending death threats is the rational side :rolleyes: that's all I'm going to say on that matter because I'd rather not argue on this.
 
Not sure this is the right room, but I've been reading about the Build conference yesterday and about how they are making porting iOS apps and Android apps much easier. It sounds like a pretty complex accomplishment - how hard technically would it have been to get those 'subsystems' as they call them, working.
 
@rightfold How is all that not what @Bartek has shown? The exact implementation and basic approach might be different, but in the essence it looks to be the exact same thing.
 
@rightfold JVM does that, or Scala?
 
user1804599
Scala.
 

« first day (1657 days earlier)      last day (3290 days later) »