« first day (2025 days earlier)      last day (3149 days later) » 

18:01
@BartekBanachewicz k
Ven
Ven
@milleniumbug thanks <3
> Why am I wasting time satisfying the type constraints of Java when my unit tests are already checking everything
LOL
@fredoverflow he's a fucking idiot
let's say it plainly and openly
bartek are you done coding now ;p
18:09
@BartekBanachewicz He has 40+ years of real industry experience, doesn't he?
@fredoverflow so what
he can come up to me with his 40 years of experience and I will say that he's wrong in his face
Well, when push comes to shove, I tend to believe the industry veteran rather than the Haskell fanatic.
and that clearly he hasn't learnt much during those 40 years
@fredoverflow well fuck you're doing here instead of wanking to his blog like the majority of idiots that agrees with you then?
I'm simply asking: Can somebody really have decades of industry experience and be a total nutjob? I'm not saying it's impossible.
18:12
Anyway, I like his talks, but I have no experience with dynamic languages.
40 years of experience might well be 40 years of prejudice and ignorance
@fredoverflow I'm inclined to believe that nobody has 40+ years of real industry experience. The industry as we know it today did not exist 40 years ago, and I might be inclined to suggest even 20 years ago.
heck this new js framework released last week means we all have less than a week of experience
eh, it's not quite that extreme.
I have never used JavaScript for anything serious. I'm practically an IT virgin.
18:15
@fredoverflow He may be a bit of a crackpot, but he's got some interesting talks. I don't think he talks to Python people much because Python already does a good job of internalizing (both in the language and the community) the ideas he has.
Well here comes temptation to switch to the management position.
and pursue MBA after all!
do it do it do it do it
ok. gonna do MBA. fuck it
Management? ew
user1804599
18:20
@fredoverflow fail
@fredoverflow It does? TIL
Is there a Java binding for clang? clanj or something? :)
Coding is fun..but only in the evening.
18:25
having a Java library called "Dang" would be like having a C++ library called "SlowCompilationTimes"
"We've spent over a year engineering this app for you."
Hi lover boys <3
Ni hao
and it's the end of chat -_
18:47
HOLY FUCK IT WORKS
PROGRESS
actually I used unsafeCoerce though
@Puppy so
user406009
@BartekBanachewicz Want to share the code?
@Lalaland but it has unsafeCoerce in it :/
18:48
@BartekBanachewicz yesssssssss?
@Puppy ssssscccc
user406009
user406009
Easy.
yeah sure
@Lalaland this is just a tiny little existential problem
so the thing I've changed now is that the effects are returned as a pair
I stopped using state for a while because using plain functions makes inference simpler I think
18:52
@ProblemSlover I did my MBA - not gonna pretend I'm not glad I did, but you get out of it what you put into it, I'm not sure I'd tell a lot of people on this site to do the same. If you want to ask me about it, I'll try to answer.
user406009
@BartekBanachewicz Do you have an example usage?
user406009
Just a simple button with a counter would be good.
@BartekBanachewicz Speaking of existential problems, you still owe me that 6-pack... (oh look the Uncon is coming)
@Lalaland it's right there, in the main
@Griwes true
user406009
@BartekBanachewicz Oops. My bad.
Ven
Ven
19:03
> omglolwut
user1804599
Nice.
that pretty much summarizes it
user406009
@BartekBanachewicz So it looks like you only support one root state?
user1804599
19:06
press praise
Ven
Ven
@Griwes ..yeah. I don't know if I should be impressed, or scared shitless
..gonna go with the latter
@Lalaland why would I need more?
user1804599
> jwatzman added [probably easy] label 2 hours ago
user1804599
doomed to never be fixed
user1804599
> You don't need static type checking if you have 100% unit test coverage
user1804599
19:12
You don't need 100% unit test coverage if you have static typing
user406009
@BartekBanachewicz Sometimes it's useful for components to have their individual states.
user1804599
And achieving static typing is as easy as running a static type checker, whereas achieving 100% unit test coverage is shittons harder.
user406009
Like one example might be a textbox. It needs state for the current text.
@Lalaland well sure, and they can have that? That was kinda the point of having Self-effects
@Zoidberg And indeed is compiler dependent...
user406009
19:14
@BartekBanachewicz Where do the self-effects get stored?
@Lalaland look at Button : data Button s = Button Vec2 Vec2 (Label s) (s -> s). You can put anything here, and its click will allow you to update both the s and the Button itself.
you could make its click make the button bigger for example
in fact let's try
user1804599
TRIGGERED
user1804599
> Trigger warnings are unnecessary 100% of the time due to the fact that people who are easily offended have no business randomly browsing the internet anyways.
user406009
@Zoidberg I think the idea behind "triggers" is at least somewhat valid in that people should not be forced to revisit traumatic events.
user406009
Like if someone is a rape victim, I think they should be allowed to be excused from watching a rape documentary for class.
user406009
19:23
I don't think it's a good excuse for preventing such videos from being shone, but I do think it is a decent excuse for letting the student not participate.
Ven
Ven
@Zoidberg and meaningless
I myself think the idea behind "triggers" is to indirectly cause the firing pin to be stroked, causing the propellant in the cartridge to explode and allow for the gasses created thereduring to carry the projectile towards the muzzle at a high velocity.
19:44
sup lounge
No, everything you wrote is wrong, visit the link again and read it all over again, and follow it exactly step by step.. it starts like this 1. Click Start, click Run, type gpedit.msc, and then click OK.Khaled.K 2 mins ago
Good afternoon
I'm currently doing a personal project in C++ which depends on a library, which then depends on other libraries. I have imported all and grouped them in a single file. But during the runtime, i get Faulting application name error (from Event viewer).
Does someone know a reliable way to find out which module causes this?
nwp
nwp
use a debugger
Well, that debugger doesn't tell me (i'm using VS 2015 CE )
19:55
keh Exception thrown: read access violation.
Ok, thanks.
nwp
nwp
No matter how often "Any sufficiently advanced technology is indistinguishable from magic." is quoted, it is still incorrect. "Magic" and "I don't know how it works" is not the same thing. — nwp 1 min ago
I think I just made a lot of world builders unhappy
Ven
Ven
@nwp no, you just proved you were a pedantic asshole for no other reason than to feel superior to others
might be why you fit in the lounge so well.
nwp
nwp
I don't get it. Care to explain?
the part where stating what I believe to be a fact makes me a pedantic asshole
Ven
Ven
I'm just saying you must be fun at parties.
The beginning of your sentence also suggests you feel like you need to correct everyone who uses that sentence.
Doesn't matter anyways. So long you feel superior to people using that quote, who am I to judge.
nwp
nwp
so you are saying enjoying a witty quote and deriving ideas from it is the right move and pointing out a flaw in it is not?
I don't care about feeling superior, I care about being right, and I think there is a possibility that I'm wrong here, I just don't know how.
Ven
Ven
20:10
Yes, that's exactly what I said, as you can read from the messages I just posted.
It's a question about "how to make magic happen in my daughter's imagination by changing physics". Of course you care about being right.
nwp
nwp
ok, then I misunderstood the question. I thought it was about changing physics to make magic happen
Ven
Ven
that's not contradictory
20:23
@AaronHall I believe it's not the right place to discuss advantages of MBA . though Im' sincerely glad you got an MBA.
nwp
nwp
@Ven any suggestions for future behavior? The rule "If people do things wrong but have fun doing so leave them alone" doesn't seem right. At parties sure, but at worldbuilding and SO not so much. Especially since there is a chance I'm wrong and would like someone to correct me.
What is the key above the "enter" key?
The one to go back I mean
Ven
Ven
1) Worldbuilding is for imaginary world settings. No need to spew hate for little stuff 2) "No matter how often blabla is quoted, it's wrong" is a phrasing that just makes you look like an ass. You can be right, explain stuff to people, and still not appear smug about it.
@Shoe backspace
user1804599
Alex and Happy are so much better than Parsec.
Ven
Ven
you said that already
user1804599
20:30
Oh.
Ven
Ven
@nwp 3) You're still being pedantic and full of yourself over people talking about magic. "how to integrate magic in our physics", maybe, but still magic.
@Ven danke
Ven
Ven
I'll leave it off at that. If you can make your mesages not sound like "I'm better than you guys, the pleb" then it'd be much better.
nwp
nwp
I seem to lack something to recognize the difference between a "I'm better than you guys" sounding message and a regular message
Ven
Ven
work on that then
20:51
@ProblemSlover well let me know if you want to talk. :)
user1804599
@Ven lol started working on another compiler again
user1804599
generates Hack code
Ven
Ven
adds macros?
user1804599
fn f(x: bool): void is x;

function f(bool $x): void { return $x; }
user1804599
@Ven no but do notation :)
user1804599
20:56
crappy perl preprocessors suck
Ven
Ven
give us macro.
user1804599
no :(
user1804599
too dificile
Ven
Ven
mate
you've worked out type-checking in that c# compiler.
user1804599
XD
Ven
Ven
20:58
now, use this compiler to learn how to implement macros
: )
user1804599
I've implemented variance.
user1804599
In one compiler.
Ven
Ven
good, good, let the variance flow through you.
user1804599
So happy Hack has variance.
user1804599
... except for function types :<
Ven
Ven
20:59
add macrooooos
user1804599
I'll add |>.
Ven
Ven
ew specialcases.
Goodnight lounge!
user1804599
bye
user1804599
FOOL
user1804599
> ASCII-code order is also called ASCIIbetical order.
user1804599
21:06
TIL
love u bjarne <3
Ell
Ell
@Zoidberg Do you know how to use unshare?
user1804599
@Ell I don't know what that is.
Ell
Ell
it's how one creates a linux namespace I think
unshare and clone
21:21
Excuse me folks
hahaahha
finally got my unsafeCoerce right
I can now change the button size by clicking on it!
Ell
Ell
why do you need unsafeCoerce for that?
user406009
21:43
@BartekBanachewicz Can you change the structure of the GUI as well now? Say, clicking the button turns it into two buttons or something.
@Ell because I need to lift the (Element -> Element) into (AnyElement -> AnyElement)
@Lalaland hmm let me think
@Lalaland well if you were the owner of the controls, so like made a window that houses the button and the button was the actual event receiver, you could manipulate your children obviously
but this version focused on getting self-references to work, and parents are a different thing
I've figured I'd rather do it incrementally anyway
but say it's entirely possible for the Window to actually utilize the mechanism I have to change their own state
user406009
How do you handle the state of the children when they get replaced/moved around?
@Lalaland it's the parent's job
I don't have any like supervisor or anything
the core idea is that an element can be put anywhere on the tree because every element is parametrized on the type of transformation it's providing
I'm actually thinking that restricting that to (a -> a) could be too harsh for some things, and (a -> b) could be useful for nested elements
but as you can see controls being parents is really natural:
buttonBnd :: forall s. Vec2 -> Vec2 -> Binding s String -> (s -> s) -> AnyElement s
buttonBnd pos sz bnd action = AnyElement $ (Button pos sz (Label (Vec2 1 1) bnd :: Label s) action :: Button s)
in this case the Label is entirely contained within the button.
it won't say receive any click events unless I forward them to it
user406009
Aren't you going to have a lot of duplication between the render and event passing code?
user406009
One of the nice things about React is that everything is all in one place.
21:52
@Lalaland do you mean React's render or Hate's render?
user406009
Hate's render.
Hoppitidy
@Lalaland well I suppose you're also gonna have to render children manually if I don't construct some wrappers
user1804599
WTB Brexit
user1804599
22:07
Also there's another referendum petition going on again. About TTIP
@Zoidberg I'm voting In.
user1804599
-1
@Puppy you mean as in not leaving EU?
yes
user1804599
Always leave the EU.
22:15
@Zoidberg and then what?
22:43
> Barack Obama prompted heated discussion on both sides of the debate, following a letter he authored, published in The Telegraph, which urged Britons not to leave the EU, and warned that "Britain would be 'in the back of the queue' for forging a new trade deal with the US if the country votes to leave the EU."
Ouch
Sounds like Brexit is a bad idea
@Shoe ...except to people who think a trade deal with the US is a poor idea (which could be a fair number of people). At least in the US, many such trade deals have replaced lots of medium-paying jobs with jobs that pay more--but fewer of them, so a few people have gotten rich, and a lot have lost their jobs completely.
That's probably not as obvious a result in a trade deal between the US and GB as many of the others though.
user406009
@BartekBanachewicz Well, theoretically have more control over things like immigration policy and border control.
23:07
does 'straw-man concept' make sense (modelled after 'straw-man proposal')? i.e. I want to introduce a deliberately simple concept (in the C++ concepts sense) for the purpose of illustration, so simple it's not practical
I wanna see that proposal
Also hi
@BartekBanachewicz You there babes?
user406009
@LucDanton I don't think so. Usually people just use "simple example" or "counter-example".
yeah I'm not entirely satisfied with the phrasing. I really want to convey that it's not a serious definition of an iterator concept though
user406009
"simplified example"?
23:20
I think I'll be using 'deliberately dumbed-down' or something similar
Ell
Ell
you could try "illustration"?
@Ell I do say that, yeah
mmh I don’t know off the top of my head if e.g. std::iterator_traits<It const>::reference is supposed to work (if It is an iterator), there is no partial spec for it but a quick glance at the spec suggests it's alright
23:40
I'm trying not to be petty, but I got some downvotes that I think were totally unwarranted, and would like to request someone else's opinion, if just to make me feel better. Anybody up to the task?
@Jfevold This is something most users go through, but the short of it is, it happens all the time, might as well learn to get over it now.
@Borgleader That's why I didn't rant in the comments, or call people names, but rather came here to see if anybody wanted to do me this favor. If not I'll certainly get over it, but I was particularly proud of this answer
also, I'm new to stackoverflow membership, is this a general C++ chat room, or is it really specific to race conditions?
2
23:57
This a C++ chat room dedicated to emotional support for those who work with C++
16
stay strong

« first day (2025 days earlier)      last day (3149 days later) »