« first day (1840 days earlier)      last day (3126 days later) » 

6:01 PM
AFL-CIO
Teamsters
 
MSVC is releasing a toolset SKU: compiler/libraries minus IDE. I predicted the Internet would anti-riot, sending us flowers and chocolates.
 
who would only use cl.exe
 
sadly no IDE minus compiler/libraries
 
@Rapptz masochists
 
Xeo
6:19 PM
@Rapptz STL
@Jefffrey availability?
and the green ones being the default
just a guess
 
How can I do these two steps, in one line?

A* a = new A();
thing->Add(shared_ptr<B>(a));

I tried:
shared_ptr<B> b = make_shared<A>();
'A' derives from 'B'
 
Xeo
missing context. also, Stack Overflow
 
> You've earned the "access 'trusted user' tools" privilege! Learn more about it in the help center.
@TrevorHickey A* a = new A(); thing->Add(shared_ptr<B>(a));
hope that helps
one line solution
 
don't do that
 
6:23 PM
@TrevorHickey MVCE.
 
Fuck, this is so not a good day. First, I get trapped by my evil cabling, now a splitter has failed after I've been writing/running a test script for an hour. I can still run the script, but I can only see the first 6 chars of each line. For now, to edit, I can copypasta the script into Notepad, edit it, copypasta it back in again:(
 
aren't shared_ptrs invariant
 
0/10 not puppy's dog
 
6:26 PM
@AlexM. fuck you
 
<3
 
so I'm getting my credit card
 
you're gonna buy a Cavalier King Charles Spaniel?
 
6:31 PM
no
why would I? Dogs are fun when they're big, small ones are aggressive and annoying
but I don't have a proper accomodation for a big dog
 
I'm gonna buy more beer. I've had enough of stupid software development for the w/e.
 
Daisy is not aggressive, unless you're carrying an umbrella.
 
@milleniumbug You can already do that - I believe C++ compiler and library stuff is unchecked in the 2015 installer by default :p
@Mgetz so...does this mean more frequent compiler updates? :p
 
@Puppy yeah perhaps not all of them but in general
like, to get a big dog to bark you'd need to really make him angry
most of the time they just don't give a shit.
 
Xeo
much generalization
 
6:34 PM
or pass by the area he's in
 
@BartekBanachewicz Cavaliers in general are literally bred for sociability for a thousand years or someshit like that. Our previous dog was so passive, you could literally take the food out of her mouth whilst she was eating it.
 
@BartekBanachewicz Yeah. Big dogs don't care 'cos you're no threat.
 
I've yet to pass by a fence with a dog on the other side that doesn't bark at me :A
 
Reinstalled GPU drivers, looks like everything back to normal
 
@AlexM. Dogs that bark are the friendly ones.
 
6:35 PM
@AlexM. ever think maybe you are the problem? :p
 
@melak47 hihih
 
@melak47 what?
@MartinJames that's what they say :P
 
maybe you're just not dog's best friend material :S
 
ok accepted the CC contract
 
@AlexM. If a dog does not run to you, does not move at all and does not bark, don't approach the dog.
 
6:37 PM
I guess that means I can buy all stuff of weird shit now
 
I can't not approach the dog lol I need to walk on the street
not my fault people build houses next to the street
 
then get ton of debts then commit suicide because I won't be able to pay them
seems to be working fine for people in the US from what I've heard
 
I've had a credit card for a long time and I only had a problem with debt when I had no income at all
 
FWIW people leave the dogs run free only after darkness sets
... so basically when I come back from work in autumn to spring
 
@AlexM. We let our dogs run free throughout our house and garden all the time.
it's only when my parents go to bed that we shut the dog in the much larger part of the house, and that's only because otherwise she'd insist on sleeping in or on my parent's bed
 
6:42 PM
hmm I think I'm going to start investing soon
my bank has all kinds of easy aggresive funds
the best one had like 22% last year
 
sounds like a scam to me
 
@BartekBanachewicz "Umm.. what? The minus sign is missing? Musta bin a typo"
 
irta must bin a typo
quick bin tihs
 
Xeo
friggin squid rings. 1/5th squid, 4/5th batter
 
6:57 PM
Anyone feel like grabbing an expiring bounty?
10
Q: What is an LLVM virtual section in the context of object files?

OMGtechyWhilst looking at a bugfix in the LLVM source code, I came across the term, "virtual section" and wondered what it meant. I tried Googling a few different terms and browsing the source code further, but all I managed to find was that the implementations for each object file format's isSectionVir...

@AlexM. would you be interested in watching the summit videos online afterwards since you're not going?
@BartekBanachewicz cocker spaniels are awesome, if you want a bigger spaniel
 
@Xeo Musta bin a remould.
 
@OMGtechy I don't know, I've yet to watch even cppcon videos :P
keep in mind that I don't C++
but if my opinion helps others get to the videos then yes
 
Aha fair enough
You don't C++ anymore?
I like how C++ is a verb now.
 
C++ing.
 
nope, I'll try the modules thing when it gets released in VS but other than that there's probably nothing I'll use it for
 
7:01 PM
Notmoduling.
 
There's someone at Facebook who's trying to move their codebase to modules
Will be interesting to see how that works out for them
 
right now I'm enjoying haskell and racket very much
 
@Nooble I am notmoduling
 
and outside that I focus on getting better at C# for my job
so it's very hard to stick C++ for anything in there
 
Ah ... Haskell xD
not heard of racket though
googles racket
 
7:03 PM
it's PLT scheme rebranded
 
That means about as much to me as unicorn soup
 
it's a lisp dialect
 
@OMGtechy ..an investment fund at Bartek's bank.
 
ahahaha
 
@AlexM. shivers
 
7:10 PM
@Puppy um, no, it's just risky
 
(wave)
 
'Understanding Tailor Expansion in code'. Wots the problem? You just make yourself some bigger suits.
Oh.. 'I apologize if the question is stupid', well, TBH...
 
7:27 PM
@Johannes Hi
 
(tsunami)
 
(nuclear reactor)
 
^^
You can have whole conversations solely consisting out of pseudo emojis.
2
The other day someone wrote their local version of asdfkjlö.
How many variations of that exist? Could one run heuristics on that to guess where they are from?
 
looks like stuff's happening /cc @AlexM.
 
yes I've announced it here since two days ago :P
 
7:34 PM
oh k
 
^ live
grand finals on sunday
 
@Mr.kbok that would be true in my case
 
do you know who has esports teams
youporn
 
whut
 
how does one even want to play for team youporn
^ team youporn
 
7:41 PM
@AlexM. Must be all the money
 
@AlexM. how does one even not want to
 
lol
 
@peterh oh. Heh. Even more interestingly, why did you choose to comment on my answer and not that accepted one? Did you reckon I was so new to the site I needed the extra information o.O, — sehe 1 hour ago
lol - look at the accepted answer. It's the same mold. It got clarified though:
I found it in the VLQ queue. — peterh 1 hour ago
 
@AlexM. imagine being a single nerd who wasted his life playing video games
 
So, TIL some people actually look at the flag queues
 
7:47 PM
what do you do in your free time
 
@BartekBanachewicz and still not getting sex
even in team youporn
morale - 100
 
@AlexM. I'd say chances are higher there
 
yes
 
anyway I only need 79997 rep more which is a palindrome
 
I want to play CS but I can't stop watching these guys play CS
 
7:53 PM
@AlexM. multitask! learn to play CS crosseyed so you can keep an eye on the stream :p
 
@AlexM. Play CoD:UO
10000x more fun
 
8:07 PM
@BartekBanachewicz ouch. why are you ignoring the clearly more interesting fact that it's a palindromic prime!
 
@AnalPhabet More like 10000x more of you dying.
 
user1804599
sup G
 
user1804599
 
@sehe whoa
 
nerd
 
8:17 PM
@Elyse oh cool
also the last item i need to put my bike together shipped
it's on its way
FASTER
4
 
user1804599
8:35 PM
fucktober
 
user1804599
October y u no 8th month.
 
it used to be
 
user1804599
:O:O:OI
 
user1804599
> From Middle English, from Old French octobre, from Latin octōber ‎(“eighth month”), from Latin octō ‎(“eight”), from Proto-Indo-European *oḱtṓw ‎(“twice four”). October was the eighth month in the Roman calendar.
 
Ell
scarecrow vs cat manlady
@Elyse they added august and others for emperors/resses
too late I'm a slutty cat
 
9:02 PM
> TIL With 25 billion hours (2.85 million years) of total game playtime, people have played call of duty for longer than the course of human existence.
 
Guys I found pictures I took with my Nintendo DSi.
In 2009.
 
What are you guys going to do tomorrow?
 
Found the picture that was probably the start of my obsession with computers.
:D
@Jefffrey Scare people.
 
user406009
@Jefffrey Nothing. Sweet sweet nothing.
 
user406009
Except troll people on this chat of course.
 
9:11 PM
Thank God not everybody is doing something awesome tomorrow
I would have felt lonely otherwise
 
@Jefffrey Do uni project
 
@Jefffrey watch dreamhack
and eat
 
user406009
It's OK. We are all actually alone in our own minds. These words, these messages are merely limited shots in the dark. We try to convey meaning, but are limited by the fact that other people interpret our words through the smoky glass of their own selves. We are all truly alone.
 
Lounge<Asylum>
 
@Lalaland :c
 
9:18 PM
@Lalaland That's all bullshit, but sounds deep nonetheless
 
@Lalaland All we experience is illusion, and ...oh yeah, Buddhism isn't quite new, is it?
 
@Jefffrey If it makes you feel any better, I have work for all w/e :((
 
Nice
 
@Jefffrey Get into the Halloween spirit.
 
Is that some alcoholic beverage?
 
user406009
9:24 PM
@Jefffrey Pretty much all poetry is like that.
 
@Jefffrey Yes.
@Lalaland O me! so sad, recurring—What good amid these, O me, O life?
 
9:40 PM
@Jefffrey Make a plushie.
 
@Lalaland You don't actually exist
Happy halloween or whatever
 
@nick I'm so done.
You called it layr.
 
I'm bored
 
@CatPlusPlus Hi bored.
 
Your week presented by Nicolas Cage reactions. http://vine.co/v/eQ92PWWPFAA
Evening
 
9:45 PM
@CatPlusPlus None of us does. The universe is a figment of its own imagination.
 
@Nooble I tried my hardest
 
@nick Should've called it nickr.
 
yup I'm sure that would fly
my latest project is called potato mail
 
@nick What is that.
 
garbage
 
9:47 PM
@Nooble It's what snail mail eats for breakfast.
 
Today's C lol, the 20MB expression: stackoverflow.com/questions/33443626/…
 
user1804599
I want to make a video game.
 
@JerryCoffin :P
@Elyse Do it.
 
user1804599
Tomorrow.
 
user1804599
In Haskell. :3 :3 :3
:3 :3
:3
 
9:49 PM
@Borgleader <3 <3 Had a good Friday, thanks :) How is yours going?
 
user1804599
 
> clickhole.com
 
user1804599
It's part of Onion.
 
not sure I would click, but I clicked it anyway and it was lol
 
@Elyse Yesterday, you said tomorrow
 
9:50 PM
clickhole is a prime target of keming
 
user1804599
I'll just go with text-based graphics.
 
user1804599
Like, text.
 
user1804599
ASCII art.
 
lol: 'I am annoyed by cmake. i dont get how to supposed it makes my job better and faster.'
 
Best text-based game of all time. If time exists.
 
user1804599
9:53 PM
What is that?
 
user1804599
DNS lookup fails.
 
user1804599
Oh now it works.
 
Also, you've commented on it before: github.com/Skorezore/Gaem/issues/2
Build failing because @AnalPhabet sucks.
 
user1804599
data AbstractItem = ...
data Enchantment = ...
data ConcreteItem = ConcreteItem AbstractItem (MultiSet Enchantment)
type Inventory = Map ConcreteItem Positive
 
> A plushie is someone with an interest in stuffed animals. In some cases, this is manifested in a sexual attraction, although this is more the exception to the norm.
@Elyse lol haskell
 
user1804599
10:00 PM
?????
 
user1804599
Haskell is great.
 
Suuure
 
user1804599
???????????
 
? :
 
operator?:
 
user1804599
 
What's its purpose?
 
user1804599
Restrict values to positive integers.
 
user1804599
Any operation that would result in a non-positive number fails.
 
lol
 
user1804599
I.e. the invariant is "always positive".
 
10:08 PM
"unless not"
 
user1804599
You should use this type when your value must always be positive, as is the case with inventory item counts.
 
"in that case I'll throw an exception"
"which as we all know in haskell is very nice"
or better yet
"i'll use error and terminate the program"
 
user1804599
Exception in Haskell pretty much means the program should terminate, except for I/O exceptions which are a terrible idea and Either should be used instead but c'est la vie.
 
instance Num Positive where
  Positive n + Positive m = Positive (n + m)
  Positive n * Positive m = Positive (n * m)
  Positive n - Positive m
    | r <  0 = error "Positive.(-): negative result"
    | r == 0 = error "Positive.(-): result zero"
    | otherwise   = Positive r
    where
      r = n - m
lol
 
user1804599
positive 1 - positive 1 immediately terminating the program is good. You want this to happen. An invariant has been violated.
 
user1804599
10:10 PM
Invariant violations are bugs and buggy programs should terminate themselves ASAP. There is no excuse.
 
user1804599
Ideal would be subtraction returning Maybe Positive but they chose to instantiate Num.
 
newtype Positive = Positive { getPositive :: Natural }
lol x 2
 
user1804599
Why lol?
 
user1804599
Can you tell the exact problems you have with this API, instead of just "lol"?
 
Why isn't this data Positive a = { getPositive :: a } with possibly a restriction on a being only an instance of Num?
 
10:12 PM
lol
 
user1804599
What would you suggest instead?
 
@Elyse lol
 
user1804599
@Jefffrey No idea.
 
user1804599
But doesn't matter in my case.
 
Oh well, as long as it doesn't matter in rightfold's case then we are all good
 
user1804599
10:14 PM
The API does what I need, so I'll use it.
 
> This API is certified good in rightfold's use case
 
user1804599
If it lacked a feature I needed, then I wouldn't use it.
 
user1804599
If it lacks a feature you need, then don't use it.
 
How you use it, why you use it and whether you use it or not is irrelevant here
 
user1804599
If it doesn't, great!
 
10:14 PM
We are talking about API quality
And that's not dependent on mine or your use cases
 
user1804599
I agree that parameterising Positive would be better.
 
Great let's talk about sex
 
user1804599
No, let's not.
 
parametrised sex?
 
Ok, did you talked to your mum?
 
user1804599
10:16 PM
Parameterised tax.
 
user1804599
Cumtax.
 
Have you called your mum rightfold?
Oh god please reply i'm so bored
I want to write a game
In C++ :3 :3 :3
:3 :3
:3
 
ban for cat faces
 
cat smiles are the best
just don't overuse them
 
Just like anything
Except cocaine
 
10:20 PM
@Jefffrey So write it. As Nike says, "Just Do it!"
 
I'm sorry for bringing in your mum @Elyse
 
user1804599
??????
 
10:32 PM
your mom
 
@Jefffrey You only thought you brought her in. That was actually her gravity well bringing you in.
 
lol
 
10:57 PM
@Jefffrey Snaek
 
11:07 PM
@AndyProwl not again! :p
 
haha
 
@Jefffrey you're slowly turning into rightfold
 
terrible, don't dump code
 
sorry, that didn't format well.
 
put it on ideone or coliru first
 
11:17 PM
4 messages moved to bin
Please read the rules, second from the top post on the starboard
 
sorry
hope that is better
 
first guess, you're writing beyond the end of some array into var6
 
We don't generally answer questions that could easily be asked on Stack Overflow
Oh okay. https://t.co/CPh0UZYgTE
 
Added the equivalent program in 26 lines of c++14 code: Live On Coliru as a bonus — sehe 37 secs ago
 
Crazy ^ about C++ STL implementation of std::get_temporary_buffer
 
11:25 PM
Yeah. Retwote that nice little gem of history
 
sorry, i'll post next time. I think I'll do some digging into what's being written. thanks
 
"like color 1f would" ? That requires explanation. Are you referring to POKE &H3d8, &H1f? That's sooo 1986 — sehe 5 secs ago
 
user406009
Arg, this is really stupid. I hate people too devoted to "architecture purity".
 
Ah, the smell of Saturday. <3
 
user406009
Sometimes, a little special casing is well worth a lot of pain.
 
user406009
11:36 PM
> Who cares about the potential race conditions it introduces? My design allows Unlimited™ flexibility and is thus better.
 
user406009
Sorry for the rant, it's been a long day.
 
101010, Outer Eastern Rim
11.3k 3 19 53
 
user406009
Time to finally relax.
 
lol dat bio
 
user406009
twitch that's not a complete byte in the user name ...
 
11:44 PM
@ElimGarak <3
 
Programming, Motherfucker.
 
damn almost 200 rep today
 
nice
3
Q: {someArray, wrongSize} -> array_view ... can it detect that error at compile time?

ᐅ Johannes Schaub - litb ᐊAt https://www.youtube.com/watch?v=hEx5DNLWGgA&feature=youtu.be&t=1129 , Herb Sutter in his talk "Writing Good C++14... By Default" shows on his slide that he can detect this error and throws an error at compile time, without special static analysis support. I am wondering what sort of language f...

brb drowning self in bathtub. I am so embarrassed.
 
@jaggedSpire nah, if I don't hit cap it's kinda meh
also SO introduced job descriptions as a field in profile
 
@jaggedSpire Oh shit, Herb is in trouble.
If Johannes doesn't know how it can be done then it probably can't be done.
 
11:55 PM
@NeilKirk next step is to acually format your stuff instead of just including a thousand semi-polite "thank you"s that actually mean "I pray you do my homework. And swiftly!" — sehe 7 secs ago
 
I am confused about why it would be the 30 that's the runtime calculation. The length of the array is encoded in the type system, so that's known at compile time, but since the array itself is a local variable, it's going to trigger the non-constexpr version of the constructor. And then there's the fact that the actual construction of the array_view isn't going to be const-initialized because it's neither static nor thread-local, AFAIK
 
It looks clear to me that you can't get a compiler error. (Unless as a constexpr evaluated in constant expression as mentioned in the comments.)
Maybe a compiler warning, but that would be a form of SA.
And the slides explicitly mention "No SA required".
 
I suppose you could use a static assert, but I'm not sure how you'd trigger it only when the two sizes are known at compile-time. A noexcept specifier wouldn't work, because then it wouldn't apply when the array has a compile-time known size, but is a runtime initialized variable.
 
@Ktks I don't appreciate you undoing my work at formatting your question properly. Rest assured, your question is not going to be answered. Because it's not, in fact, a question. It's a request/order for work — sehe 48 secs ago
 

« first day (1840 days earlier)      last day (3126 days later) »