« first day (1127 days earlier)      last day (4046 days later) » 

18:05
Yay.
My volume sliders work.
@Ell also, thanks for introducing me to VLC. Worked well so far.
Ell
Ell
@Pawnguy7 Ah no problem :)
It seems to support most formats
Yes.
a whole plugin for that?
Why not allow arbitrary substitutions?
(or does if? )
@R.MartinhoFernandes in Sublime Text there is a plugin for everything
18:15
Oh I didn't write it.
user1804599
> Why…?
> To get my hands dirty with the Sublime Text API.
I just thought it was funny since it was pretty useless
I'm bored.
I don't get people who want to pursue open relationships.
14 hours of sleep, wee
@R.MartinhoFernandes How you doin
18:27
@Borgleader Twist: Life's boring.
What is an open relationship?
Ell
Ell
@Rapptz I do
@Rapptz Open relationships sound like a recipe for disaster
Ell
Ell
Open relationships seem like a good idea
imho
@Pawnguy7 When your girlfriend or boyfriend can sleep with anyone they want while you're still technically in a relationship.
Ell
Ell
18:28
Ahh that isn't waht I thought it was
I thought it was a relationship with more than 2 parties
That's polygamy
no thats polygamy
@Rapptz I don't imagine that working very well.
It doesn't.
Depends on people
18:30
Some people have a cuckold fetish, which is weird too imo but whatever.
Anyway, I only mentioned it because I was reading this dumb story
It kinda reminded me of tumblr.
@CatPlusPlus a day well spent
simple_move. Does the standard library have something like this?
"Lemme ask internet instead of talking with her about it!"
It's handy in the rare case I need to implement a move-constructor and move-assignment operator. (For example to "move" a ref-count, length field or non-owning pointer.)
> We're both really interested in critiquing power structures, and she's trying to defy the monogamous structure that is essentially false and imposed for the purpose of ensuring male dominance.
see, this like reeks of tumblr
18:34
> Move on and find a woman who will not want to fuck your best friend. You are lucky she is telling you this already, so you can get out before she cheats on you.
:cripes:
Seriously, the internet has got to be the worst place to ask for relationship advice
It's just usual reddit bullshit
@Borgleader I don't see why.
@Stacked swap with T()?
> Tell her to drop the topic or pack her shit.
I'm sure this is how relationships work!
18:36
@Jefffrey?
Honest question, have you ever been in a relationship?
@R.MartinhoFernandes it's convenient in initialization list. E.g: obj() : a(simple_move(rhs.a)) {}
@Rapptz Me or Cat?.
@CatPlusPlus No it actually isn't (it's actually illegal)
@Borgleader Cat.
Other than that I guess it doesn't have much merit.
18:37
Can I ask question in this chat about C++ or NO?
@Rapptz I... know?
@Sunrise Nope.
if it's a POD why even bother moving it instead of copying it.
Do I have to mark sarcasm
18:38
No.
I'm concurring with you.
@DeadMG It is a copy which sets the original to T(). (T may be a refcount or length field for example.)
Ok, Thanks
@Rapptz Ahaha what do you think
To be honest I'd be mad at my best friend for flirting and doing things like that with my girlfriend.
@StackedCrooked Setting the original to T() is worthless.
18:40
Omitting it could lead to bugs.
I guess it's not always the case that T() indicates the "empty" state. But in that case don't use this then.
What icon should a snake game have...
@StackedCrooked Not at all.
I thought of the game board, but if I scale this it will not be recognizable.
A snake shaped as a flat S
Could work.
Food somewhere?
Xeo
Xeo
18:41
@StackedCrooked Rule of Zero, Rule of Zero...
@Rapptz yeah, something like that - noscript.net/noscript/logo.png
Xeo
Xeo
(optional works particularly well for when T() isn't good enough to indicate an empty state)
optional or unique_ptr
I'm not violating Rule of Zero I think. If I have a small object which exclusively deals with ownership (e.g a refcount wrapper.), then this "simple_move" function could be used when implementing move-construction and move-assignment.
It won't make a big difference.
But little difference can be nice.
no.
because it's not a generic tool.
but it masquerades as one.
18:45
Its simply requires T() to indicate empty state. That's a precondition.
it's a dumb precondition.
A for pod-types that's usually the case.
@Pawnguy7 Oh about the sounds, I'm not sure what you are talking about.
it's like saying, "Hey guise, this program only works if adl-found f() does all the work of the program magically".
@Jefffrey Have you seen mine?
18:47
Okay, setting up the server, day two
@StackedCrooked Instead, you should simply copy the pods, then assign the other object to T().
You could define a traits<T>::empty_state; which the user can specialize.
or delegate to default-constructor and swap.
@Cat I'm fine. I think. Yesterday's episode got me thinking about things.
@Pawnguy7 snake?
18:49
@Jefffrey my sound code design
@Pawnguy7 oh no, not yet
Xeo
Xeo
> It's not just you! haskell.org looks down from here.
aw crap.
I feel it is bad.
Also, want to build it? :D
18:52
> When I first started dating, I didn't know you were only supposed to have one girlfriend at a time, so I invited both my girlfriends to the same skating rink ine night and left having zero girlfriends.
Fucking seriously?
Maybe he was 14.
@DeadMG I just happen to have a very convenient wrapper which does just that! :P
> That stuff gets blurrier the further away it is. It seemed to make sense -- It's further away, so I can't see it as well. It wasn't until I was 18 and sitting in the back of massive lecture halls, when I noticed that the people sitting next to me could read the board just fine, that I realized I needed glasses.
18:55
@StackedCrooked No, you assign each individual member to their type, which is bad.
you should do something like T(T&& t) : T() { t.swap(*this); }, perhaps.
By not doing it?
No.
"How to avoid jumping off a building" "uh"
user1804599
@DeadMG you want to destruct t afterwards.
Also fuck Facebook-sourced avatars
@rightfold No I don't.
Go away.
user1804599
What if it’s a static?
user1804599
You want the resource to be there forever?
what?
There's no resource there afterwards
Only default initialised Sir
18:58
Ah yeah. The blank avatars.
user1804599
lol “Sir”
Still on mobile? :v
user1804599
Oh, right.
Picking up a package now
user1804599
18:58
I was thinking about assignment operator. :D
You're addicted sir
even then, I wouldn't want to destruct either side.
Ugh.
of course you do.
Otherwise just drop any pretense and call swap directly yourself
@Rapptz have you ever set the icon with SFML?
@R.MartinhoFernandes I don't suppose you have a clue why your multi EnableIf fails in vc12? :E
19:02
@Pawnguy7 It's a bit strange to do, but yes
I haven't used VS12 yet sp no
I really hope I wrote that correctly.
It seems to have gotten the one next to the window title, but not in the taskbar.
Strange to do?
Yeah you need an array of pixel data.
19:03
True.
Currently I just made a png, loaded it via sf::Image, then image.getPixelPtr.
@Stacked you can write a wrapper that has that behaviour on moves
then ro0
Ah, something like SimpleMove<int>?
with a better name, yes
That's indeed even more rule-of-zeroy.
lol ro0, reads very strangely.
19:06
and strangely hard to type
Oops
I locked myself out of SSH
That's a good excuse to stop working.
I must've mistyped the shell path
can any one tell me how to add a node at last position in a linked list?
19:09
@StackedCrooked rule_of_zero<int>
always test new ssh settings in a new shell without logging out
I learned that lesson the hard way
you too, it seems.
I blame idiots who can't decide whether shells go into /bin or /usr/bin
Can you do "ssh hostname /bin/bash"?
19:12
PAM won't let you log in without a valid shell
Not if he disabled that too
lol
@CatPlusPlus But the second argument replaces the default login iirc.
No, it's a command that's executed in the shell after you log in
I just rebooted into rescue mode, it's not like it's a horrible unsolvable problem
19:14
I see, by delegating to Array() create the empty state, which is then valid for swapping.
That's not much better
Yup I set it to /usr/bin/zsh, and it's in /bin
@R.MartinhoFernandes Ignoring the whole, "You really should just have used unique_ptr" thing.
even then
writing ctor and op= boilerplate? Not much better
yeah yeah, I know.
wait, how is that not "You really should just have used unique_ptr"?
19:18
you should have written it :P
lol
eh, if you are implementing something like vector it's not really possible to delegate to unique_ptr.
unique_ptr doesn't have deep copy
I still think it's worth to separate the storage out.
no, but it's pretty easy to default all non-copy operations, and then do a deep copy.
@DeadMG Can't you use to store the storage safely in case on copying a constructor throws?
19:21
@bamboon Nope.
because you have to handle destructing all the elements which have already been successfully copied.
so the reality is, unique_ptr can't clean up for you.
Sure, but that's just another step.
Ah, home again.
the whole point of delegating to unique_ptr is to not have to manually clean up.
But yeah, it's not a 100% solution.
if using it does not avoid that, then there's not actually that much benefit.
not to mention the whole deleter thing, where you'd be storing a pointer to your own internal allocator to call destruct and deallocate and... mess.
19:23
@R.MartinhoFernandes Did you get your bike? And/or wallet?
@R.MartinhoFernandes I tried and failed
For some reason the compiler needs copy constructor for the wrapper.
@Borgleader My wallet was at home. I had forgotten to bring it to the supermarket.
no implicit move constructor if you define Array(int) I'm pretty sure.
@DeadMG Nah, no problem there.
maybe ~Array() then, but I remember that the rules for implicitly generating them are seriously restricting.
19:27
No implicit move ctor if you have ~Array though.
explicitly defaulting them works fine though
That's not as nice as it was supposed to be.
That's because you wrote wrapper<char*> when you wanted unique_ptr<char[]>.
Won't unique_ptr do delete instead of delete []?
19:30
no
Not for char[].
it's specialized
Oh, right, I didn't read correctly.
> How about when you're an adult and having a dream about using the bathroom, only to wake up in a puddle of your piss?? Asking for a friend of mine.
@FredOverflow Editable art sounds like a great idea.
19:31
Perhaps the wrapper<int> can be replaced with just int.
Not sure if valid object state after move is a requirement.
Not if you want empty arrays to report size 0.
that's probably preferred
@R.MartinhoFernandes Editable art sounds like a Photoshop file. Edible art sounds better about now though. Actually, edible anything sounds pretty good about now (at least to me).
Do you think they'd be annoyed if I went there and took a bit of the chocolate off?
yes.
19:34
Hmm, pity.
I just had another small piece of chocolate cake.
But not Brandenburger Tor-shaped.
probably not.
and here's to hoping that seven hours since the previous piece will be enough for me to dodge horrible sickness
You're eating cake and you're still alive.
19:39
guess you'll be on a strict cake diet for the rest of your life :)
well
we'll see.
you could find lists of easily digestible foods online
never had any luck with external food recommendations before.
how bout internal food recommendations?
what I've been doing
19:44
Why makes artists think these look good at all? I'm not trying to be racist, but I can only imagine the characters only being white.
Some people can be racist without trying.
@DeadMG !!SCIENCE!!
what race is that supposed to be
oh, that is just his own avatar
@StackedCrooked It's Rainbow Dash in Equestria Girls.
Heh, my vimrc is probably my most successful project to date
for me it's probably coliru
19:49
@CatPlusPlus Ow
And I switched tabs in the wrong time again.
Well get your act together then.
And stop complaining to us.
In any case, why would any sane person make 7 nested if/for statements using 2 spaces for indentation. I have no idea what else matches what if statement.
:(
I think the indentation space and level of nesting are orthogonal issues..
Regardless of that his code sucks.
Deep nesting is something I avoid like the plague.
Well, I don't really avoid the plague because it no longer exists here.
19:52
@Nican When code's nested 7 deep, the number of spaces used for the indentation is not the real problem.
But you know what I mean.
Code complete tells you how to avoid this.
@JerryCoffin True. It just driving me nuts. Half of the code has the pattern of having a bunch of if statements on top of the function, and on the bottom a bunch of "else{ error_message="x" }".
I bet here are some bugs hidden in hidden branches as well.
@Nican What I think of as "COM format" (reams of COM examples are written that way). Yeah, it sucks, big-time.
I not sure if game software, or robotics engineers software are farther down the list on code quality.
@StackedCrooked "Code complete" the book? Or something else?
19:57
Individuals can be good or bad.
Yes, the book.

« first day (1127 days earlier)      last day (4046 days later) »