« first day (1860 days earlier)      last day (3313 days later) » 

18:00
some Id, who cares
pub type Id = i64;
Anyway get() takes a reference because why on earth would it take a moved value
fn get<Q: ?Sized>(&self, k: &Q) -> Option<&V>
where K: Borrow<Q>, Q: Hash + Eq
@CatPlusPlus but I have to convert to a reference explicitely and it's annoying
Explicit is better than implicit
It's literally one character
Quick question: I have a C++ library that's ported(?) to node.js via swig. It has classes and functions to run for each class (ex. someclass.start(stuff);). How would I communicate a warning or an error to node? Currently, all errors are outputted to the command line stdout.
It doesn't matter
18:02
except in the cases where implicit is better than explicit
Not really, no
this sentence is pure retarded
Ell
Ell
Not really
@CatPlusPlus is explicit destruction in C better than implicit constructor calls in C++
Introducing complicated language features to save on typing one character is retarded :v
18:03
is explicit type signature always better than the implicit inferred one
It favours writing code over reading code and that's just wrong way to go
is filling every single parameter every time better than providing implicit default
1 min ago, by HelpingHand
Quick question: I have a C++ library that's ported(?) to node.js via swig. It has classes and functions to run for each class (ex. someclass.start(stuff);). How would I communicate a warning or an error to node? Currently, all errors are outputted to the command line stdout.
@HelpingHand we've read that and clearly don't give a fuck
@Ell so are your answers to all 3 above "yes"
18:04
@BartekBanachewicz Oh... that's pleasurating.
Ell
Ell
@BartekBanachewicz I was going to say that a retard wouldn't know what implicit or explicit means :P
absolutes like "Explicit is better than implicit" make absolutely 0 sense
Ell
Ell
also I didn't see any questions
:ironicat:
2 mins ago, by Bartek Banachewicz
@CatPlusPlus is explicit destruction in C better than implicit constructor calls in C++
1 min ago, by Bartek Banachewicz
is explicit type signature always better than the implicit inferred one
1 min ago, by Bartek Banachewicz
is filling every single parameter every time better than providing implicit default
18:04
It's a proverb not an absolute
@BartekBanachewicz What if I simplified it to say, where do you output errors in C++?
Ell
Ell
you need to use question marks man
@HelpingHand log? throw an exception?
Ell
Ell
@HelpingHand std::cerr
now, read the rules
blast them in the face of the user
too broad
18:05
@CatPlusPlus equally unhelpful\
good eve @all!
Implicitness needs to carry an actual benefit
Rust doesn't have default arguments btw
@CatPlusPlus "explicit is better than implicit unless it's not"
wow
18:07
@HelpingHand Redirect stdout
ITT now explaining proverbs
god
THE PROVERB IS SHITTY
gf bought me scotch
fuck me im going home
No it's not
18:07
your mom
It points at preferred way of doing things
It's Best Practice
And really it all comes down to "all new features and proposals start with negative amount of points"
The benefits definitely do not outweigh drawbacks with this & skipping nonsense so it doesn't have a chance of getting above 0
Never favour writing code over reading code
MVCE plz. ~425 lines is a lot, narrow it down. — Borgleader 16 secs ago
> I need to submit it in two hours or I won't be able to enter my exam.
@milleniumbug may he get thoroughly rekt
:| I'm starting to regret not paying that bit extra when I got my keyboard to have a fabric sleeved cable
I really shouldn't by another one
good job
@CatPlusPlus awe bless them, they tried
@CatPlusPlus what does that e parameter mean? whatever, 1 seems to work fine.
read the first sentence of the blog entry
It says what is means
And also the second sentence
18:32
Read the second sentence of his message, guys.
don't read anything
@CatPlusPlus wow, that takes some special smarts
It's awesome
@BartekBanachewicz You cannot always infer whether the compiler should use a reference or a copy.
Ell
Ell
18:42
lol I saw that lamp thing
Consider if branches for example. In if (/* runtime value */) { /* infers reference */ } else { /* infers copy */ } the compiler doesn't know what to infer here.
funny thing is, I remember there being an adapter thing floating around the house when I was young, it had all the possible plug things you's want, all arranged so that you can only put the pins out for one at a time.
And you can see that for any non-trivial function body, the way this ambiguity propagates is awful.
I don't know why you'd ever want that over just simple one for one
@CatPlusPlus well if you travel all over the place, it'd be nice to have one small compact adapter that can work in any country
18:44
There's some parallels to overgeneralisation in programming there
@BartekBanachewicz Yes :P
well, sure if you only ever travel say, from EU to UK, then just one of those adapters would do.
Ell
Ell
Dammit I haven't achieved 3d fractals at all :V
I just wrote an animation for 2d fractals
I'm nub
I knew that tho. Idk how I can do fractals in 3d..
18:57
Why do you like the game industry?
I would probably shoot myself in the first month.
Ell
Ell
gamers are almost 50/50 gender split, interesting
Take that feminazi
user3790646
I was going to make a sodium joke, but Na
@Ell that's the dev split, no?
yes, "Canadian game programmers" is a particular subset of "game programmers"
19:01
oh no, the gamers themselves
@Andrey K
@milleniumbug sorry about that
@Ell That's the case pretty much everywhere in the Western world, actually.
Ell
Ell
I wasn't aware
And every single time somebody brings it up, there's always gonna be a damn sea lion who springs up from the bushes and says "Yeah but girls only play casual games hurr durr" as if that was fucking relevant.
19:03
@EtiennedeMartel well, it could be relevant, depend what type of game you want to make or your target market
no point making a hardcore game for girls, if there are basically no hardcore gaming girls
I'm a filthy casual. Sue me
@thecoshman Yeah but that just reinforces that feedback loop.
There are no hardcore gaming girls, so there are no hardcore games for girls, so there are no hardcore gaming girls, etc.
@EtiennedeMartel sure. But it is a risk.
@thecoshman Not if you just set out to make a game anybody can like regardless of gender.
In the case of hardcore games, all you probably need to do is just stomp on online toxicity.
You cold equally say that, there are no such games, so whilst not a huge return, it's an easy market to break into.
19:05
@EtiennedeMartel no they are not; it takes forever to load the pdf
ʜᴀʀᴅᴄᴏʀᴇ ɢᴀᴍᴇs ᴀʀᴇ ᴅᴜᴍʙ
Or just have no voice chat.
Don't play with pubbies
@ScarletAmaranth lol, true that
Ever
In anything
19:06
In fact I'm fairly sure that having no method of communication in a competitive game would probably make it more welcoming for women.
That way the assholes can keep their mouths shut and stop insulting every girl that pwns their sorry ass.
esports are also dumb
Ell
Ell
@EtiennedeMartel can't the affected parties just disable voice chat?
...this works just as well as plonking here
@Ell also this punishes the victim, not the perpetrator
@EtiennedeMartel I just don't understand why it's so hard to turn that noise off though
@Ell Depends on how you do it. If it's "always on but you can mute people", then it's bad, because by the time you have to mute, the damage has already been done; you have already been harassed.
Now, you might think that "it's not so bad", but if you get continually harassed over and over, then all those little things add up and it becomes intolerable.
19:08
yeah, should be some sort of opt-in system
And research shows that women get harassed more than men when playing online.
Ell
Ell
But I mean, you can disable the chat entirely I thought in most games
idk really
I've never tried
It's a complex issue.
You want people to be able to talk to each other, especially if it's a team game
What you can do is spot assholes and ban them or silence them.
So that they stop ruining other people's games.
@ScottW Feature
Hi again fellows
19:09
People ruin everything
It's like comments on the internet
@EtiennedeMartel "your mic has peaked more than 25% of the time in the last minute, you are now banned from voice chat"
just dont
But then there's always gonna be that guy who says that "thrashtalking is part of the game"
Xeo
Xeo
@EtiennedeMartel want a great team game? "keep talking and nobody explodes" (totally off-topic)
Don't play with pubbies
19:11
And maybe it is, but then why does thrashtalking against women always seems to focus heavily on how that person is a woman?
I wonder how people would take to voice chat going through a central server, and kept for some time, so it can be reviewed if people complain about it
Can't it be neutral?
Because it's nerds and nerds are the worst
And if I want to play for fun, why would I have to endure thrashtalking?
@Xeo such a clever idea
19:11
I'd get it if it was somewhat competitive
Xeo
Xeo
@thecoshman it's fun
Anyway. Online toxicity is a pain.
1 min ago, by Cat Plus Plus
Don't play with pubbies
@ScottW Does it involve mums, cancer and sexual interactions?
That's pretty sweet, relatively speaking ^^
I've been told to go kill myself several times.
Nerds are angry.
19:15
"I hope your family gets cancer and dies"
Got this
19:35
@EtiennedeMartel What did you do?
@Borgleader Kick Protoss ass.
Ell
Ell
Finding matrix determinants takes an age
I just got done answering a bunch of screening questions over the phone
It was all on C++ and C
I got rekt
if you're terrible enough to use the term "rekt" it's no surprise
Fair enough
19:43
Wow my neighbors are having an argument
About what?
@Borgleader He's a right dick, ofc :P
Trying to figure it out
@Rerito shout at them "worst porn ever!"
Does someone want to play Heartstone?
user406009
19:45
Eh, I find Heartstone sorta boring.
@thecoshman Or "let's skip to the bj part shall we?"
user406009
The main problem with the game is the lack of user action.
@Jefery I do :)
Let's play
Give me 5 minutes
19:47
There's a black woman shouting, with her accent I can't even get a word of what she's saying
@Lalaland it's a card game, played over the net, ofc it's gonna be slow
@Rerito What's your BattleTag?
rerito
@Lalaland Lack of user action?
user406009
@Jefery More like "lack of user influence". The game is too highly based on randomness.
user406009
19:50
And there is very little choice on what you can do during a turn.
not from what I've heard
You can make a fairly long sequence of combos. But yeah, it's very much based on randomness.
Apparently it uses randomness very well. there are ofc some cards that are just silly, but for the most part, it's like any normal card game
Actually it's too much based on how many adventures (and therefore special cards) you have completed.
@Ell: Which method?
19:52
It's "Ell" or "Elyse"
Nobody named "Eli" lives here
user406009
@thecoshman Have you ever tried Prismata?
@Rerito Tell them to pass their argument to a unary function!
user1804599
@Ven implement let polymorphism for me. :(
@Lalaland nope
user406009
@thecoshman It's a "card game" designed to minimize the influence of randomness.
user406009
19:53
Your game play choices are the only things which determine victory.
user406009
(Well, other than the coin flip for who goes first)
user406009
It's an interesting game.
so the deck is in the order you want?
@Lalaland Unfortunately that's not true
The cards that you are given at the beginning are pretty much random
Which has a great impact over the game
user406009
@thecoshman It doesn't really have a deck per se.
user406009
19:54
@Jefery Yes, but both players are equally influenced by the random cards.
I like randomness in games, else you may as well just play something like chess
that would be greatly superior to many games, yes.
For example if you are given 3 cards from 6+ manas, and your opponent is given 3, 4, 5, 6 your opponent is very likely to win the turn.
@Jefery sounds like the names for siblings :p
Board control is basically 90% of the game
user406009
19:55
@Jefery Oh, Jefery I was talking to cosh about Prismata, a different game.
If you have board control at the beginning you have very likely to keep it and win
@Lalaland Oh, sorry.
Nevermind then.
guise, I'm home. <3
@TonyTheLion where were you?
(that took some thinking)
away, as in, not home, because I took a day off
@Jefery Waiting for you :)
19:57
@Rerito I need your name
Ell
Ell
@decltype_auto the one where you get the determinants of all the minors
told you: rerito juste like here
Do you need the numbers?
Oh wow
No no nevermind. I missed that.
(Full lowercase, dunno if it's case sensitive though)
Weird
It says "You must enter an email address or BattleTag"
Oh maybe it means the number
19:58
ok try the full shit then: rerito #2331
Sent
Just the number was enough

« first day (1860 days earlier)      last day (3313 days later) »