« first day (1820 days earlier)      last day (3121 days later) » 

10:01 PM
Why bookmark a message when you can star it and destroy the starboard for everybody?
 
@ʎǝɹɟɟɟǝſ why be clever when you can be lazy?
 
@FilipRoséen-refp That's only good for programming. Not outside.
 
@ʎǝɹɟɟɟǝſ as if talking here doesn't count as programming..
 
It doesn't :v
 
one minor grammatical error and LRiO comes out to yell; "I DON'T UNDERSTAND WHAT YOU ARE SAYING YOU STUPID FCUK"
 
10:03 PM
lol
that's actually accurate
it makes it funny
 
itt lrio is xml validating parser
 
LRiO is the c++ compiler of Lounge<C++>
 
WASHINGTON DC, USA PLEASE IT'S AMBIGUOUS BECAUSE THERE'S A COMET NAMED WASHINGTON 1000 LIGHT YEARS AWAY FROM US
I miss lori
 
Space scares me
 
10:04 PM
I do too
 
I don't
 
@Mr.kbok pic of model pls
 
@FilipRoséen-refp c++ -pedantic -flrio
 
Too much open space
I don't like too much open space
 
@AlexM. masochist
 
10:05 PM
@AlexM. want me to get her to show up on the cam?
 
user1804599
hmm, found a nice way to do imports
 
yes I want a pic pls
 
user1804599
foo.bar will just be an identifier named foo.bar
 
user1804599
and (use blah.foo) will bring all names in blah.foo in scope named foo.<name in foo>.
 
I don't understand why you are so eager to see her
 
user1804599
10:06 PM
because she's hot like you
 
user1804599
i have this friend
 
@elyse he's called operator<
 
user1804599
He's a guy in love with a lesbian girl. He told me she was lesbian. I said "YAY!" He got angry. :v
 
tough luck
 
this talk is.. what the fuck
 
user1804599
10:07 PM
Lesbians are great.
 
@elyse you think I'm hot with long hair or with short hair?
 
all he does is to throw out candy, and say misleading things
 
user1804599
@Mr.kbok yes
 
@FilipRoséen-refp I'm watching it now
I want candy
 
10:09 PM
it doesn't get better when the description on the screen says "constexpor: introduction"
 
@elyse it's not a boolean expression hth
 
user1804599
I think you're hot with 18cm+.
 
user1804599
starbait
 
Does void foo(nonmovable x) {} compile by itself? I mean without attempting to call it. On mobile, can't coliru
 
user1804599
@AndyProwl Yes.
 
10:09 PM
@AlexM. don't take what he says as fact
 
user1804599
It might be copyable, for example.
 
@elyse I'm at 10-12 atm (for realz) letting them grow
 
user1804599
And even if it isn't copyable, it'll still compile.
 
user1804599
@Mr.kbok yay
 
@elyse nonmovable impiles noncopyable
 
10:10 PM
@AndyProwl sure, why wouldn't it compile?
 
@elyse I'll show you pics once it looks good.
 
user1804599
yay
 
user1804599
@AndyProwl wrong
 
@Filip dunno, you can't call that function
 
surely an implementation could issue a diagnostic saying that the function could never be called if there is no way to call the function
 
10:11 PM
also yeah, no, the model is really hot but I don't think she'd want me to post her pics here
 
user1804599
oh wait
 
but afaik there is nothing in the standard that says that every declared function must be callable, that clause only applies to templates (in regards of that every template must have at least one valid instantiation - no diagnostic required (of course))
 
user1804599
if it's copyable but has no move ctor/assgn then a move will copy
 
@elyse nope. Copyable implies Movable
 
@AndyProwl That is right.
 
10:12 PM
sorry @AlexM. you'll have to wait for the pics to come out
 
always ready
 
user1804599
are your pics lesbian?
 
user1804599
> come out
 
not in a hurry
 
guyz... how do i compiler
i have an urge again
 
10:14 PM
@Filip can it be callable using direct init if the type has other constructors?
 
@Borgleader go to codewars.com
 
@AndyProwl consider
 
make account
 
@AndyProwl Yeah
 
@AndyProwl copy-list-initialization, you mean?
 
10:14 PM
search for katas, the ones with 1 kyu
there's one that makes you build a 3-pass compiler
do that and get points
 
@Luc yeah it just occurred to me
 
@AlexM. lol, at first i thought you were trolling
 
@Columbo yeah
 
@Borgleader no
 
Luc basically answered
 
10:15 PM
it's a nice site, the interpreter I'm doing in haskell now is also a kata there
 
@AlexM. you can have a look at those cutie pies in the meantime
 
Sorry to bother you guise but coliru on this mobile is horrible
 
unfortunately the two hardest katas available are the interpreter and compiler :<
 
@AndyProwl yes, of course.
 
@AndyProwl That being said, it’s not direct-init. It’s (non-direct) brace-init, historically speaking constructing the parameters has leaned towards copy-init.
 
10:16 PM
@Mr.kbok ... ?
 
@FilipRoséen-refp That talk seems like kindergarden crap. Why would you waste your time with that
 
@Mr.kbok it's just one :<
 
@AlexM. the three links are different.
@Borgleader what?
 
this is what you get for distributing software on linux in a way you'd do it on windows
fuck you, xilinx
 
10:17 PM
@Mr.kbok oooo
 
@Columbo because I have nothing better to do
 
there's also male models if you're into it
 
@Luc I lost my language lawyer powers. I meant it creates the parameters without constructing a temporary
 
@Columbo but it is very very bad indeed
 
@Mr.kbok /cc @FilipRoséen-refp
 
10:17 PM
Why is that not called direct, boy I need to read the standard again
 
@Mr.kbok okmidnight sounded like okcupid, but you have a gf do you not, so ithought it was weird youd link photos from there
is all
 
@FilipRoséen-refp Hey, you're from Sweden, right
 
Hey, I would like to know the difference between two ways to define a function in C++. 1) define as void function(T& object) and call it as function(object),,,, and 2) define as void function(T* object) and call it as function(&object).... whats the difference? I found this stackoverflow.com/questions/57483/… but nothing more similar to my situation
 
@Columbo yeah, why?
 
Any ideas where to look?
 
10:19 PM
@AlexM. Do I have to link to muh github?
 
@Borgleader oh, lol. yeah no it's just her site.
 
@FilipRoséen-refp Is there really shitloads of handsome people over there? :o)
 
@AndyProwl explicit and so on. It’s mostly syntactical in nature.
 
@user1002007 Hey, you should ask your question on SO - if it doesn't gather enough attention you can link it in here, but it will probably be frowned upon (just like asking directly in here).
 
@Columbo he's actually the only guy there.
 
10:19 PM
ok then ty
 
@Luc right
 
@Columbo I have to say yes. A lot of times when I return from a trip abroad I have that weird feeling that basically says "wait, why is everyone so beautiful?" and then baam; I realize that I'm home
 
@Borgleader I think you can log in with other services too
I just linked to gh
 
@FilipRoséen-refp And if I have an EU passport I can live there right
 
I just think Sweden has a higher average than.. well, normal
@Columbo if you have a EU passport you should be able to live in any country you want, as long as they are part of the EU so.. sure
 
10:22 PM
@FilipRoséen-refp How hard is it to learn Swedish?
 
@Borgleader the compiler kata is here: codewars.com/kata/tiny-three-pass-compiler
note that you'll only be able to use these languages for this kata
 
Why would you want to live in a country where you're the only ugly?
6
 
you'll probably want to use python, haskell or java
 
@Columbo they say it's quite hard because there are no real grammatical rules to a lot things, it's just a "feeling" how things are supposed to be - meaning that non natives have trouble picking up the subtle thingies
 
I wouldn't write anything in JS
I don't know what coffeescript is like
 
10:23 PM
@Mr.kbok lol
 
@Columbo but if you speak german it shouldn't be too difficult
 
@Mr.kbok yeah imagine being that guy and still not getting girls
is it worth the risk
 
Come to Czech Republic
 
@AlexM. are you still watching that talk?
 
Girls mostly hot guys mostly ugly
 
10:24 PM
@FilipRoséen-refp I context switch a lot, it's been paused for 30 mins now
 
Slovakia even better
 
@Griwes v0v
 
@AlexM. you can close the tab to be honest
 
@AndyProwl true dat
 
I feel kinda bad now though, what if the guy giving that talk shows up in here after googling for feedback regarding the talk?
 
10:25 PM
> Uh oh! Something went wrong! (500)
 
I mean, it certainly could be a good fit for some people, but it's very.. <not so good>
 
@Mr.kbok We have one mediocre looking Swedish guy over here. I think they exiled him
 
@Columbo lol
ugly swedish guy, went abroad for modelling
 
hello mr scott schurr, filip is a known constexpr and template hacker who hacks constexprs and templates but your talk helped me a lot because I don't know much about constexprs
please don't mind filip
 
lol
constexporn
 
10:27 PM
@AndyProwl the thing on the screen literally says "constexpor" (when watching the video)
 
Oh so I almost guessed the content
 
@AlexM. there, solved - thanks!
 
np
 
@Mr.kbok I heard Swedish girls love foreign guys.
 
Yeah the hot ones
 
10:28 PM
foreign ppl are usually attractive for some reason
they're more interesting at least
 
"it is impossible to look at the bits of variables declared constexpr" - anyone up for the challenge?
 
@AndyProwl I'll just cut off a handsome Swedish guy's face and use it as my own
@FilipRoséen-refp What's the scenario?
 
@Columbo well that's about the most reasonable thing to do
 
@Columbo ew
 
@FilipRoséen-refp constexpr int a = 0xaa; cout << hex << (a & 0xa0);
 
10:30 PM
@Columbo well you got one here what are you waiting for
 
I think there was a proposal for constexpr bitset wasn't there?
 
TemplateRex was working on it
 
@Mr.kbok I'm not black so it doesn't really fit me now does it
 
@Columbo looking at the bits that make up a float that is declared constexpr, he said it was impossible in the talk
and sure; it should not be possible to do such, but I'm not sure it really is impossible
 
Why should it be impossible
 
10:31 PM
@Columbo are you guys talking about snatching my face so that @Columbo can get laid?
 
@FilipRoséen-refp It is. I actually needed this for my printf implementation and couldn't think of any compliant way. If you find one, let me know.
 
@Columbo are you really going to write stuff like "it is [impossible]" to me?
 
@FilipRoséen-refp Yes.
 
:26214264 I saw that.
@Columbo really?
 
@FilipRoséen-refp :D
 
10:31 PM
too late saw it :)
 
given that you have said similar things in the past?
 
@AndyProwl The world of constant expression is somewhat less concrete than the word of objects, memory locations, etc. that is the runtime.
 
@FilipRoséen-refp I still do
Use the Stargazer extension
 
@FilipRoséen-refp yes?
 
@FilipRoséen-refp I'm very sure about it.
 
10:32 PM
@Filip Sorry your face is not hot enough to get @Columbo laid. There' still the rest of the body remember
 
@Mr.kbok just making sure, I don't mine.
@Columbo what will you get me if I crack it?
 
"stargazer chrome" gives me nail polish lol cc @elyse
 
@AndyProwl as well as the underlying bone structure, I'm not sure a snatched face (just the skin) would do too much to anyone
 
@FilipRoséen-refp You can't
 
@Luc hm, okay. Note taken
 
10:33 PM
What will you get me if I extinguish the sun?
 
@Columbo just as there wasn't a way to do non-constant constant-expressions without using templates?
 
@FilipRoséen-refp You can talk all you want, but aliasing is impossible in constant expressions.
 
go go filip
prove columbus wrong
 
@AlexM. I'm going to have a smoke and think about it, never thought about that particular thing before
 
"Installing: Microsoft VC Redist Package" Does anyone know who I can talk to about why this takes so long? Oh wait... http://t.co/aHBrJs32a0
top kek
 
10:35 PM
but if it's something that I've learned it is that one should never say "it is impossible to do X" when it comes to languages, an appropriate way to put it is; "I don't know any way to do such thing, and I have not seen anyone that has done it"
 
@Borgleader IDGI
 
@Borgleader AOE2!!!
 
I wonder if Filip would be even more brilliant if he didn't smoke that much, or if smoking is what gives him c++ superpowers
 
@AlexM. he works at microsoft
on Visual studio
 
@FilipRoséen-refp Yeah, unless you can prove shit, which I'm fairly sure I could.
 
10:36 PM
@AlexM. he's basically responsible for it
 
@Borgleader oooooooh
makes sense now
 
@Columbo alright, let me write something up (I just thought of something)
damn, this is going to require loads of code
I will smoke first
should be possible to do it in an easier manner though
ploff
@Columbo I'm not saying I'm going to crack it, I'm just saying that one should never say that things are impossible
and now I will try to prove that
 
@FilipRoséen-refp .. unless them being impossible can be established as a proven fact.
But alright, let's see what you thought of.
 
you're going to formally prove that something's impossible, and then he'll still make something by moving slightly the goalposts
 
@Mr.kbok Yeah I'm going to prove somethings impossible and he will do it anyway because fuck logic
 
10:43 PM
@Mr.kbok or by relying on compiler specific tricks
 
@AlexM. ... which is not satisfying my standard compliance condition.
 
were you happy with his state at compile time solution?
 
@Columbo by moving the goalposts
 
@Mr.kbok What one obviously could do is, by arithmetic itself, decompose a floating point into exponent, mantissa and bit. That still fails. E.g. You cannot distinguish negative and positive zero, and you might have trouble with denormals
And that's still far from actual bit access.
 
user1804599
10:49 PM
parseStmt :: MonadDiagnostic m => Sexpr -> m (Maybe Stmt)
parseStmt (List pos [Symbol _ "let", Symbol _ name, valueSexpr]) = do
    value <- parseExpr valueSexpr
    return $ LetStmt pos name <$> value
parseStmt expr = (ExprStmt <$>) <$> parseExpr expr
 
user1804599
Pattern matching is supreme.
 
Does sscanf have a version that takes the size of the format?
Or, er, of the input string?
Not even sscanf_s takes the size of the input string.
 
user1804599
(defsub f ((x T) (y T)) ...) or (defsub f (x T y T) ...)? Cannot choose.
 
i dont think theres a standard one no, maybe microsoft has a custom one that does
 
You can write one yourself by setting the last byte to zero always.
Is there something like std::uniform_real_distribution<T> distribution(min, max);that works for both integer and floating point types (real doesn't work for ints)
 
user1804599
11:00 PM
commas are treated as whitespace, so (defsub f (x T, y T) ...) would also work
 
user1804599
yeah I'll go with flattened
 
@ThePhD It can get it itself
@elyse Less parens is better
 
user1804599
Yeah.
 
user1804599
And just as easy to preprocess given functions to treat (a 1 b 2 c 3) as ((a 1) (b 2) (c 3)) and vice versa.
 
11:09 PM
Guys.
 
Nooble.
 
@Nooble no
 
user1804599
parseParams :: MonadDiagnostic m => [Sexpr] -> m (Maybe [(String, TypeExpr)])
parseParams [] = return $ Just []
parseParams (Symbol _ name : typeExprSexpr : restSexprs) = do
    typeExpr <- parseTypeExpr typeExprSexpr
    rest <- parseParams restSexprs
    return $ (:) <$> ((,) <$> pure name <*> typeExpr) <*> rest
parseParams (other : _) = Nothing <$ emitDiagnostic (NotAParam other)
 
user1804599
this works great
 
@AlexM. Are you today's date?
'cause you're 10/10
Hahaha.
 
11:10 PM
-_-
 
are you 10
don't answer
 
10/10 = 1
 
please use adult jokes with me
 
@AlexM. I'm 11.5, mom!
 
I'm an adult
still waiting for someone to say "your life"
 
user3790646
11:12 PM
Your hand
 
Your what
 
lol
 
my code
 
@CatPlusPlus q_q
 
@ThePhD What
This is a non-issue
Why do you think you need that
 
11:27 PM
Because my input string isn't terminated with \0.
 
Well then don't use it with libc
 
Sob.
 
user406009
Wait, why would you want to provide user input as a format string to sscanf?
 
Guess I'll just spin up a std::{x}stream then and extract things that way.
@Lalaland When I say user I meant me.
E.g.: sscanf( next.data(), " %f", primaries[ 0 ] ) != 1
 
all those spaces
 
11:29 PM
I could just do a rolling regex or something.
 
ries[ 0 ] )
 
Or just a stringtream
 
eyes bleed
 
Why do I keep thinking stringstream was deprecated..
 
that's strstream
 
11:29 PM
Oh.
Why was this deprecated?
 
Who watches Rick & Morty?
 
I need to make basic_source_stream<Source> I guess.
 
@ThePhD Where does it say it was deprecated?
 
Or maybe basic_view_stream
 
can't you just turn your strings into something good then turn them back again
 
11:37 PM
I guess I can. Just write a bunch of functions that mutate the given source and then mutate it back...
Makes it entirely thread unsafe, but eh.
 
> (for any reasonable definition of Matrix)
 
user1804599
main.klog:10:1: error: unexpected end of input
expecting "(", "\"" or ")"
 
user1804599
:D :D :D
 
What's klog?
 
user1804599
main.klog:4:1: error: not a definition: '(usr std.io)'
main.klog:5:1: error: not a definition: '(foo)'
main.klog:9:3: error: not an expression: '()'
main.klog:12:10: error: not an expression: '()'
 
user1804599
11:46 PM
This is my first compiler that actually emits useful diagnostics.
 
user1804599
Instead of dumping compiler stack traces.
 
@ThePhD because it sucks eggs
 
user406009
@elyse What did your old compilers do?
 
user406009
Print "You suck cocks" whenever there was an error?
 
@ThePhD many opportunities for UB and manual locking requirements
 
user1804599
11:51 PM
Dump compiler stack traces.
 
@sehe I can see that: it has funky internal requirements for reallocation.
 
So, just use an array_sink (Boost) or similar
 
Do they have a similar interface to iostreams?
 
I think Boost Interprocess has a stringstream that allows zero-copy too
 
Kinky!
 
11:52 PM
@ThePhD you can use the stream<> adaptor or the streambuf<> with it
 
@sehe Kinky!
 
I'd use the one in Boost Iostreams (much more flexible) but it has a compiled component.
Just grep my answers for array_sink or array_source.
Alternatively stream to a boost::iostreams::back_insert_device
 
I'm also debating on whether I want to make iostream from std:: the base that all my classes take to do their loading, or use some other third partly solution.
 
Hehe
 
Right now I have a Stream abstraction I made myself that's pretty good for just getting bytes but the interface isn't ideal to me.
 
11:53 PM
@ThePhD watcha working on?
 
@Borgleader This bullshit, and then I'm going to do Linear Algebra and Physics work.
Later in the week I'm going to be working on Fundamentals of Computer Systems (and maybe beg jaggedSpire to help me, but don't tell her that as I haven't decided) and Statistics / Probability Theory.
 
2
Q: How to provide the definition of a friend operator in a nested class of a template class?

Neil KirkThis works: template<class Tim> struct Bob { struct Dave { Tim t{}; friend bool operator < (const Dave& a, const Dave& b) { return a.t < b.t; } } d; }; This does not work: template<class Tim> struct Bob { struct Dave { Ti...

help pl0x
 
I also need to schedule time to sit down with sehe and discuss some music stuff so I can be less of a music scrub.
 
@ThePhD I see
@ThePhD HOW ABOUT TALKING TO THAT GIRL D:
 
@sehe I love boost::iostreams::back_insert_device
 
11:58 PM
@Borgleader There's literally no way I can ever see her again without going @AndyProwl stalker mode and sitting in one of her classes.
 
@AnalPhabet thats what she said
 
@AnalPhabet cough. fishing for stars are we
 
Or just by pure serendipity.
 
@ThePhD /cc @ja
 
@ThePhD :)
 
11:58 PM
@ThePhD if it helps
remember that the fallback is rightfold
 
@AlexM. ... Welp, time to go sit in on that class!
 
attaboy
 
@sehe It's better than std::back_inserter
 
@AnalPhabet plsno.
 
@ThePhD don't just follow the crowd
 
11:59 PM
@ThePhD Too late! evil laff
 

« first day (1820 days earlier)      last day (3121 days later) »