« first day (1627 days earlier)      last day (3546 days later) » 

18:00
@LightnessRacesinOrbit Maybe you're right and I just haven't noticed. My health is probable cause. My stomach seems to be back to sickness after a few months of respite, and tinnitus annoyances are getting more frequent and of increased duration, which in turn it makes it harder to sleep well and enough... Thanks for saying it, anyway.
user1804599
Why is my JIT compiler never invoked?
@райтфолд BECAUSE YOU ARE DOING IT WRONG, DAMMIT! gosh
how can I get the ctrl+v event in c++
18:03
Tinnitus seems to be averaging at above background noise, so I constantly want to put on headphones to drown it out, which, even though I keep to a safe volume still makes me feel uneasy about having headphones on for so long during the day.
@Griwes so. much. undefined-behavior.
My rudimentary observations indicate that stress makes it worse, which turns it into a vicious cycle because it is a strong stress inducer :(
is there any way that I can handle paste event in c++
@Axeem ISO C++ doesn't know anything about "pasting", nor "pasta".
18:06
@Axeem no there's no such way
@David C. Rankin As I understand you are now more a lawyer than engineer that is your main task is to deal with the law. — Vlad from Moscow yesterday
warning C4512: 'GraphReader' : assignment operator could not be generated
wth is this shit
@Axeem error: undeclared identifier on line 0: 'paste event in c++'
OF COURSE YOU COULDN'T THIS CLASS HAS A REFERENCE DOGGAMMIT.
so delete it bruh
18:07
@milleniumbug MORE CAPS. THIS CHANNEL NEEDS MORE CAPS.
If you do not understand the difference between an interview and an exam you are a very bad programmer. You had no an interview. You had an exam. — Vlad from Moscow 2 days ago
like whenever user press ctrl+v then it show any message
ahaha
It is funny. I am the only one who showed the correct and the best approach instead of bla..bla.bla. And you entirely igonre the answer. — Vlad from Moscow yesterday
"polymorphic component for program state" and "stateful polymorphics component" are different damn it
18:08
I simply know a woman that names herself Frances. It is her real name. In Italian there are Francesco and Francesca. So i have thought that in French there are Francis and Frances. — Vlad from Moscow 2 days ago
@Kapil Arora If so then mark my answer as the best because it is the only answer.:) — Vlad from Moscow 2 days ago
To be continued.
seriously wtf he has like 1600 rep on SO
one question, if i don't use a specifier while inheriting what's the default?

struct Derived : Base{

};
?
@androidplusios.design public, because you wrote struct
how the hell does he think that means he is competent to edit my question titles
18:09
Lightness Races in Orbit; Vlad's biggest fan.
@FilipRoséen-refp I'm the producer for his upcoming TV chat show
@BartekBanachewicz But... But... 60k on CodeReview!
That must mean something!
@LightnessRacesinOrbit what the heck is a "TV chat show"?
@FilipRoséen-refp A chat show. On TV.
and public in case of class as well ?
18:09
@FilipRoséen-refp Sorry, I'm just slightly annoyed at MSVC.
@Griwes I don't even how
@androidplusios.design private, if you write class
@androidplusios.design: What prevented you from performing basic research?
@LightnessRacesinOrbit I googled it, you UK chap.
@BartekBanachewicz Protip: that wasn't serious.
> A talk show or chat show (as it is known in the UK [!!!]) is a television programming or radio programming genre in which one person (or group of people) discusses various topics put forth by a talk show host
18:10
I'm dead serious because I still can't get this code to work
@FilipRoséen-refp chattshowen in Swedish. such difference. wow
@LightnessRacesinOrbit ease of getting answer from you here...i knew you would be online
@LightnessRacesinOrbit that's not a word
A talk show or chat show (as it is known in the UK) is a television programming or radio programming genre in which one person (or group of people) discusses various topics put forth by a talk show host. Usually, guests consist of a group of people who are learned or who have great experience in relation to whatever issue is being discussed on the show for that episode. Other times, a single guest discusses their work or area of expertise with a host or co-hosts. A call-in show takes live phone calls from callers listening at home, in their cars, etc. Sometimes, guests are already seated but are...
> A talk show or chat show (as it is known in the UK)
18:10
@LightnessRacesinOrbit exactly, "as it is known in the UK"
fuck you, Wikipedia
you UK people are weird
yes
there, I said it. now buy me a nullptr
It's called a "chat show" in many countries. As far as I'm aware, the US is the only one that calls it a "talk show".
People in the UK pronounce nullptr 'null puh uhr'
18:11
But, sure, make the UK out to be the exception to the rule. God Bless America!
Twats.
@LightnessRacesinOrbit here too
@LightnessRacesinOrbit in swedish we refer to such as either "talk show" or "pratshow" (where the latter is very uncommon these days)
@Pris haha probably true
@BartekBanachewicz shhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
> but 'merica is a big country!
18:12
oh ffs someone write this code for me
ok
show me the code and I'll write it for you
I'm just so tired with this bullshit
@BartekBanachewicz *reinterpret_cast<int*> (nullptr) = 0 <- there you go, fingers crossed for undefined-behavior to fix whatever you are working on
4
I mean.. it could happen
@BartekBanachewicz Are you at the anger phase in Haskell?
18:13
@Jefffrey I'm at the anger phase at this fucking particular thing
You've been in an anger phase for the last two years, Brotax
> code awesome stuff like emulators and scripts
@Pris How would you pronounce it?
"null pointer"?
"nuhll" "putter"
18:14
@Puppy "null-putter"
@LightnessRacesinOrbit Here too
I was tempted to upvote this for pure comedy value. But then I decided, no. — Lightness Races in Orbit 5 secs ago
You're all terrible.
putter rhymes with (herb) sutter
fucking god.
18:14
Puttists.
everything I try here comes out as broken and impossible
@BartekBanachewicz what are you working on?
"null pointer"
The fuck is wrong with you all?
when I say nullptr it rhymes with "Andrei Alexandrescu"
"null pointer" is not the same as "nullptr"
18:15
I keep bringing more and more extensions and the problem is still there
4
@FilipRoséen-refp yes it is
at least not in my book
@FilipRoséen-refp exactly
@BartekBanachewicz Stop. It's only impossible if you know it's impossible. :D
nhaa, a "null pointer" is a pointer that is pointing to a value that would compare equal to nullptr
erhm
that has a value that would compare equal to nullptr
18:16
alright alright, how do yall pronounce "std", as in "std::vector". "stud"? "stid"? "sted"?
@Pris About halfway between "stood" and "stud".
Just like "raise" is not the same as "raze".
"standard"
@JerryCoffin how awful
18:16
or just "the vector in the standard library"
@Pris ess-tee-dee
@Pris I'm not sure I've ever said it out loud. In my head, it's not easy to render in terms that make sense in our physical reality, but "standard" would probably be a fair enough approximation.
@Griwes I've no idea if it's possible or not
@Pris "standard"
but I'm kinda out of ideas as of where to look for ideas
18:17
I spent half an hour thinking about how to pronounce things before heading into my first lecture (as a teacher)
It fits well with "standard vector".
did you teach them how to wear funny clothes and pout
@BartekBanachewicz Can you state the problem in a way that a non-Haskeller could understand easily and potentially help? :P
or well, I planned to spend half an hour.. got it down in five minutes due to the fact that - heck, people don't care
and how to pronounce "dogg"?
18:17
"doggie"
@Griwes I want runtime polymorphism.
@Griwes i.e. No
@LightnessRacesinOrbit not really.. maybe I should have added that as an extra assignment
@BartekBanachewicz ...okay?
@FilipRoséen-refp inb4 they all come onto SO in droves asking us to do it for them -.-
18:18
class Renderer {
    virtual void render(Thing t) = 0;
}

class MyRenderer {
    MyRendererCache cache;
public:
    void render(Thing t) override { ... }
}
@BartekBanachewicz Oh there was a way to do that
@BartekBanachewicz WOW, isn't saying that like pure anathema to functional programmers
Let me think
@FilipRoséen-refp No. One LRiO is (at least) enough.
You need virtual. And a semicolon. And keywords that exist. And = 0. And a tab for indentation.
18:18
@LightnessRacesinOrbit I actually encouraged my students to ask questions on stackoverflow, though I also said that interesting questions could just as well be sent to my email.. the latter was far more popular, sadly
@FilipRoséen-refp "Ask questions on SO"
yesterday, by Bartek Banachewicz
rest assured I'll follow the OOP principles from now on
"If they're bad, I'll make fun of you in the Lounge"
@FilipRoséen-refp so it's your bloody fault
18:19
@LightnessRacesinOrbit I haven't found a single question that has anything to do with the course, so I doubt it
btw speaking of email @Jefffrey I never heard back from Static Analysis dude :(
@FilipRoséen-refp
@LightnessRacesinOrbit I'm interested in this; /cc me whenever you get a reply
@FilipRoséen-refp ok
btw speaking of email @FilipRoséen-refp I never heard back from Static Analysis dude :(
@LightnessRacesinOrbit if you could stop writing shit that I'll have to google to know what they actually mean, that'd be great.
@BartekBanachewicz So you need... existential variables?
18:20
@FilipRoséen-refp great for you, maybe
@LightnessRacesinOrbit ... so you got a reply?
@FilipRoséen-refp no
I mussed have missed the "and only when" in your command
@LightnessRacesinOrbit great for you too.. wouldn't you like to optimize our communication protocol?
on a second though, inb4: no.
18:21
I'm not even going to edit that out; that's awesome
@BartekBanachewicz Here
@FilipRoséen-refp nah this is funner :)
@LightnessRacesinOrbit Er
@LightnessRacesinOrbit you so much coolar
@FilipRoséen-refp ta duckie
18:22
@Griwes seriously if anyone says "existential" around me without working code again I'll fucking kill them
4
@BartekBanachewicz lolol
@BartekBanachewicz lol
schooler, or "cooler" - you decide
Britex so angry
@BartekBanachewicz Give us a minimal testcase. :D
18:22
britex so weird.. "chat show"
user1804599
@BartekBanachewicz Your worries are existential.
@Jefffrey YOU FUCKER
I wish SO chat search were good enough to give me a way to track the evolution of Bartek's name over time
speak propah dammit
What?
18:22
why would you link me to a page that's called "existential type"
GOD
RAAAWWWRRRRRGGHHH
yeah GOD
pahahaha
RAAAAAAAAAAWR
Because that's the solution to your problems
what the fuck is up with the Lounge<C++> today? are people on bath salt or something?
2
18:23
@Bartek giiiiive uuuuus a teeeeestcaaaaaase
Or at least the one I know
@Jefffrey then show me how to use it
@FilipRoséen-refp this is hilarious. i love u guise
@Griwes a testcase of what?
@BartekBanachewicz There's an example, right there
18:23
@BartekBanachewicz A minimal sample of code that reproduces your problem.
@Griwes That would be in Haskell... obviously.
His code is too minimal to exist yet; that is the problem
@Griwes of what problem? I can't write that code.
SHUT UP
breathe
18:24
His code is .... wait for it ... not existential!
7
How can I show you the problem in the code I can't write?
@Jefffrey Yes. I can read minimal amounts of Haskell. And write it. You know.
@LightnessRacesinOrbit ahahahahahhahha
How dare you instruct me to breathe. If I don't want to breathe I don't have to! Damn you all to hell!
I literally cracked a laugh just a second ago, that has never happened before - at least not in the longest of time
I have no idea how this happen, but I'd want it to continue
@BartekBanachewicz I guess Bartek's having an existential crisis
8
user1804599
18:25
I need a data structure like std::unordered_map except that at returns the value belonging to the largest key smaller than or equal to the key given to at. Does that exist?
oooh
@райтфолд the what
@райтфолд std::lower_bound or maybe std::upper_bound, I never remember which is which
@райтфолд Why are you using unordered_map for that bro? Totes wrong.
Pantoona has a condition that is affecting his brain
user1804599
Cool.
18:26
Also having at do that would be wronger
oh, std::unordered_map
@Jefffrey I suspect he's largely trolling
trolling it large
It's called "crazy programmer disease"
CPD
it's like a phd, but different
user1804599
With std::map that is.
18:26
they've Cut off Pantoona's D
You can diagnose it with certainly by asking a simple question: "Do you like Perl?" if the answer is in any way positive, then he has it.
@Jefffrey Please translate this example to fit my problem because that's what I've been trying to do over past month
2 hours ago, by райтфолд
Perl 6 regexen are fucking nice.
It affects other areas of the brain though.
@Jefffrey Don't forget to invoice his place of work
18:27
@BartekBanachewicz What's your problem?
what's that syndrome from Pandorum again? if it's called "pandorum".. well, sucks to be me
Pandoro is nice
ODS: Orbital Dysfunctional Syndrome
"The film's title is a nickname of a fictional psychosis called "Orbital Dysfunctional Syndrome" (ODS for short) caused by deep space and triggered by emotional stress leading to severe paranoia, delirium, and nosebleeding. "
@Bartek I'll try to craft something - I think I still remember some scraps of Haskell syntax knowledge lol.
18:28
I don't remember any nosebleed in the movie
Hmmm
Heck, I even hecking implemented it once /cc @Griwes @Jefffrey
@Jefffrey those cakes try to convince you they're good, but they're not
It's not a cake
It's Pandoro. You eat it at Christmas.
user1804599
18:28
@FilipRoséen-refp neither.
@BartekBanachewicz and they say haskell is beautiful.. yuck
but that implementation still exposes the state
user1804599
Unless I pass reverse iterators.
@райтфолд unless you make it work
@BartekBanachewicz What are you trying to express?
18:29
@Jefffrey cake or no cake, it's a lie and we all know it
@Jefffrey I want what that code does without exposing the inner state to Common.hs
@FilipRoséen-refp What lie?
@Jefffrey what cake?
.hs, is that short for BOOM Head Shot? It would make sense given the amount of headache you get from writing haskell
@BartekBanachewicz I mean, in english, what is the problem? Put as simple as possible.
@FilipRoséen-refp HaSkell?
@Jefffrey troll-in
18:31
That's not trolling. You simply made a bad joke.
though I wish for a haskell programmer to come in here and write something like: "if you can't express it in haskell, how do you think he can express it in an inferior language such as English?"
Sorry.
@Jefffrey bad joke or not I'm sad that you think that I actually couldn't see the relation between .hs and haskell
That's pretty sad indeed.
@Jefffrey I want to make Graphics module that is an opaque abstraction. It needs to be able to expose some operations. I want it to hold some private cache not exposed to the user. I might want different implementations of such module, each with a different cache type.
18:33
Hmm
How would you control which implementation type is used?
Use monads? (j/k, my Haskell education ended on fold/map/filter)
@Jefffrey I'd like each of implementations to provide an initialization function for each of them that would get exposed
wait.
@BartekBanachewicz How about you define that type in the class instance for said implementation?
something clicked in my brain
@Jefffrey as a data family?
No, just a type
18:35
a type family?
I don't know if that's called x family.
Let me show you
is it @BartekBanachewicz or @LightnessRacesinOrbit that keeps popping up having talks related to type theory?
@райтфолд Since you're doing a query that depends upon order ("smaller than or equal to") you want a normal (ordered) map instead of unordered_map. Getting to the position less than or equal to the specified value is slightly tricky--lower_bound will give you the first point with that value, or the next larger one, if the map doesn't contain the specified value, so you'll need to check its return and decrement if necessary.
if it resides inside of the class it's a family
that's a syntactic extensions of type/data families
user1804599
@JerryCoffin It always exists.
user1804599
18:36
If it doesn't, the compiler generated invalid code.
@FilipRoséen-refp it's not fucking me mate
user1804599
In which case I'm just going with UB for now.
@BartekBanachewicz So what's the problem exactly? xD
@LightnessRacesinOrbit I'm beginning to doubt it's @BartekBanachewicz, but there's someone in here who does that
18:37
@FilipRoséen-refp posts videos on it you mean?
I haven't actually watched the talks (not really my cup of tea), but still
@LightnessRacesinOrbit I'll try to find some
@FilipRoséen-refp chat.stackoverflow.com/…
he just can't help himself
@BartekBanachewicz I guess it's type families: coliru.stacked-crooked.com/a/5958a32652f04561
@райтфолд In that case you'll get an iterator to the value (and the "smaller than or equal to" doesn't really apply--it'll always be equal to, and since you only want that value, std::unordered_map will work after all).
ok it's hard to find a good page in those results but you get what I mean
18:38
oh snap, maybe it's not someone from in here.. bartoszmilewski.com/category/homotopy-type-theory
it's that guy
9 mins ago, by Bartek Banachewicz
@Jefffrey I want what that code does without exposing the inner state to Common.hs
Bartek vs Bartosz
@Jefffrey yes, that's implicitly type family. Please show example usage
a first name beginning with "Bart", and then some wierd last name (is how I remember it)
2
@BartekBanachewicz Why doesn't that solve the problem?
@BartekBanachewicz I don't know what you are trying to do.
18:39
@Jefffrey just show me how to use it
@FilipRoséen-refp At least compare the first letters of their surnames lol
@FilipRoséen-refp I always remember Bartosz as "that guy who looks like Weird Al".
@Griwes heck.. I was having a great time in my little world of delusion until now
@FilipRoséen-refp :D
@JerryCoffin lol
@Jefffrey I want (MonadState CacheType m, Monad IO m) => a -> m b in that class
18:40
@Griwes IRTA "at least compare the fuck out of their surnames lol"
I have no idea what that is, nor do I know why I watched it.. youtube in a nutshell
@Jefffrey oh, made the change in the code and it became obvious
I think
or
wait
gears turning
@BartekBanachewicz what would b be again?
() in most cases
It says "`Monad' is applied to too many type arguments"
You probably meant MonadIO
18:43
yeah
lol
bbl
@Jefffrey that means to run that function I need a state monad holding its cache
how do I obtain it?
Stars are stupid
2
user1804599
Ugh, this is so difficult.
user1804599
WHAT THE FUUUCK
@Jefffrey in this case they were really justified
All together now
> 'ej HumtaH 'ej DechtaH 'Iw
> 'ej Doq SoDtaH ghoSpa' Sqral bIQtIq
> 'e' pa' jaj law' mo' jaj puS
> jaj qeylIS molar mIgh HoHchu'qu'
@BartekBanachewicz How so?
@Jefffrey I am not sure how you are to understand my needs WRT MonadState here if you don't understand how State works

« first day (1627 days earlier)      last day (3546 days later) »