« first day (1697 days earlier)      last day (3265 days later) » 

5:00 PM
Everything goes wrong so maybe that too. Dunno.
panics
 
Xeo
@BartekBanachewicz Eh, here you set them up when making the contract.
 
i was too busy
 
hi guyz how do i reverse string in c/c++?
must be fast?
 
user1804599
std::reverse(string.begin(), string.end());
 
That was fast...
 
5:05 PM
@rightfold tank, but plz tis not work coliru.stacked-crooked.com/a/ff7c08f44253e232
 
@Nooble are you still playing cs
 
@AlexM. lol thanks, probably my biggest professional achievement so far
 
add it to your CV
 
@AndyProwl I'll join the choir, nice work Andy :D
gave me a good laugh
 
"I made this funny hitler video it's pretty funny and with C++ in it xD"
 
5:08 PM
^ Will put on CV
 
@rene too fast
 
I ran out of ideas to receive a "f*ck you noob"
perhaps I should just show my real code and that would send it off right away
 
@MarcoA. Paste 30+ LOC of pure C
 
@AlexM. Didn't you know? Hitler gets you an instant star.
4
 
5:17 PM
C++ is literally Hitler
 
Xeo
Hey @Cat, where do you keep your chat userstyle again?
 
Xeo
thanks
 
omg finally got my 2nd screen back
feels so good
how was I able to live like a fucking animal for so long
 
lol
 
5:28 PM
now I can finally fit multiplayer piano and piano sheets
and lounge
 
okay, that is a reasonable argument
 
or lounge, terminal and text editor
 
@BartekBanachewicz My next paycheck hates you for what I will have to do after I get it. :D
terminal = text editor silly
 
@Griwes we jammed a bit with sehe yesterday and it was awesome
@Griwes I use raw ST :v
fuck plugins and bullshit
too much hassle to set up and maintain
 
why won't jQuery run on this?
 
5:34 PM
looks like Cat's workstation
 
Xeo
@Cat Any easy way to make the userlist expandable on demand?
 
@Xeo jQuery
woah
new ghcid is pretty damn fast
 
@Xeo make its div or whatever display:none and toggle it to whatever it was before when you demand it
 
Xeo
Well, it's the "demand" part that's the problem :P
 
add a button like <input> or sth that runs the javascript
tho if you ask me
I'd make a browser plugin that also adds functionality like plonking that isn't ignoring
and instead spoilerifies plonked user messages
 
5:39 PM
@AndyProwl This is absolutely beautiful and spot on.
 
Create a link node, bind click event, it's not really a problem
But who needs the userlist
 
call it PowerStuckOverflowChat
 
hmm so back to events
groupEventsByTime :: [Event] -> Time -> [[Event]]
not sure how to implement that
any haxxors that can hack a solution her3?
the point is to slice the array in parts
I could recursively takeWhile but eh
 
user1804599
why "eh"?
 
Xeo
groupBy?
 
5:42 PM
that assumes Eq
 
Xeo
No it doesn't
That'd be group
groupBy takes a predicate, like all _By functions
 
> similar to group, but it allows the programmers to supply their own equality test
@Xeo that predicate has a wrong sig for me I think
 
Xeo
Why?
Events contain the time, right?
 
(Time, EventData)
groupEventsByTime :: [Event] -> Time -> Time -> [[Event]]
groupEventsByTime evts lastTime span = takeWhile (((lastTime + span) >) . fst) ++ groupEventsByTime (lastTime+span) span $ dropWhile ...
I'm thinking about something like this
 
Very readable
 
5:44 PM
yeah well I'd need to slice first to avoid that dropWhile
 
Xeo
You just need to find the right predicate vOv
and then groupBy
 
@Mr.kbok Who needs a flowchart when you just need that chart?
 
@EtiennedeMartel Needs more JPEG
 
@Griwes thx u much sir
 
Seriously though, does anyone here knows about a good range library?
 
5:48 PM
groupEventsByTime :: [Event] -> Time -> Time -> [[Event]]
groupEventsByTime evts lastTime frameLength = current : groupEventsByTime (lastTime + frameLength) frameLength next
    where
        (current, next) = span inCurrentFrame evts
        inCurrentFrame = ((lastTime + frameLength) >) . fst
how about that
 
Ell
I guess erics library is probably alright vOv
 
user1804599
Use Control.Monad and tell.
 
Ell
I need a song identifying again :v
 
@Ell im purple xD
 
my flat is a total wreck, tee hee
 
6:03 PM
what did you do this time
 
Xeo
Meh, I don't get it. The kitties behave just fine without growling or hissing or anything for a while, just looking at each other and eating their treats, and then Taiga strikes without warning.
 
@BartekBanachewicz I took apart my GPU instead of cleaning up
 
why did you do that?
 
it was the brokens and I've never taken a GPU apart before
 
Ell
everyone left
 
6:04 PM
@Puppy when is your new pc coming in?
 
saturdya
 
@Puppy And you (almost) glued your CPU to the heatsink
 
coolios
 
I didn't nearly do it
I didn't even take the heatsink off
 
i should get my workstation up to speed
 
6:05 PM
I was merely looking for the TIM and found the superglue and got confused for a moment
 
but I'm wating for windows 10
fuckers could release it early really
 
Ell
@Xeo the other cat?
 
@BartekBanachewicz /me wats furiously
 
Xeo
@Ell Taiga is my first cat
 
@nabijaczleweli you do what furiously
 
Ell
6:06 PM
Sorry, I mean, did taiga attack the other cat?
 
@BartekBanachewicz Whatever you were doing
 
@Ell seems so
 
Ell
That is a shame
 
Xeo
@Ell ye
 
Ell
I hope they are both okay
 
Xeo
6:07 PM
It's without any obvious aggression even :<
@Ell It's a quick paw strike
 
Ell
could it be that they are playing? :S
 
Xeo
not like full-blown bodies-on-the-floor brawl
@Ell lolno
 
Ell
I have no idea about cat behaviour
 
@Xeo Err, so like... normal cat behavior.
:D
 
user1804599
6:08 PM
Don't do musical instruments.
 
We're picking up Ginger on friday anyhow
hopefully.
 
just wait until they attack you xeo
you won't be able to escape
 
So that we can stay with him during the weekend
 
Xeo
@Griwes Without warnings? I always thought they first growl, then hiss, then lift the paw, and then strike.
 
not really no
can be totes random
 
6:09 PM
@Xeo lol
 
Xeo
Meh. She used to hiss at least.
 
Of course, they have to train their stealth skills.
 
Xeo
Whatevs. Point is, they still don't like each other very much.
@Griwes Not much stealthin' if they are in plain view of each other
 
They'll grow to.
 
Ell
6:09 PM
I'm sure over time they will grow used to each other
 
@Xeo they're both young right?
young cats can be crazy
 
Xeo
11 and 12 months
 
user1804599
@Ell no :(
 
Xeo
@Griwes Well, I'm just trying to encourage that.
 
Ell
I thought you sang that song I linked
 
Xeo
6:11 PM
Treats when they're together.
 
user1804599
Amon Amarth album cover art is great.
 
woo it built
p much the last version I made
I wonder whether it works
oh well infinite loop
 
Ell
I love it when cats do a standing jump like 2 metres
 
user1804599
why is mmHg still a thing
 
user1804599
is this america
 
6:30 PM
@Ell Bailey enjoys making them do that. He sneaks up on them while they're napping and he's got a really loud bark.
 
woof woof
 
What is preferred, making a vector of items or making a vector of unique_ptrs to items? I want every item to be unique and the usual way I've been going at it before is just making a vector of unique ptrs and use std::move on them. But can't I accomplish the same functionality by just using std::move directly on the "items" in the vector?
 
@Puppy OK, not as loud as yours:)
@HalfEvil Yeah, if they are actually moveable/copyable.
 
Xeo
@HalfEvil That makes no sense. What do you mean with "be unique"?
 
@MartinJames Aren't most, if not close to all, classes moveable?
 
6:33 PM
@HalfEvil They might be in your world:)
 
wouldnt it just hold pointers anyway?
 
@Xeo Well the objects (items in this case) can't be copied, so each item is "unique"
 
Xeo
sure, just std::move the item directly then
 
@Xeo Okay I'll try doing that then. Just that I don't think I've ever seen it :S Most people use a vector of unique ptrs instead, even though it seems like just using std::move on the items directly would work as well.
 
@HalfEvil That... is really not what "unique" means.
non-copyable items are not "unique", they are simply non-copyable.
"unique" happens to be the name of the pointer.
@HalfEvil Most people are complete morons.
 
6:39 PM
@Puppy i take highly offense to that
 
you resemble that accusation?
 
@nick good
 
@Puppy So what is the practical difference between an object that can't be copied and a unique object?
 
You posted a duplicate question, and answered it yourself with a link only answer... If I were you, I'd delete this before I lose too much rep. — Borgleader 11 secs ago
 
@HalfEvil There is no such concept as a "unique object", generally speaking. It's just a random name that some type happened to use.
 
6:43 PM
@Puppy Okay I see. Thanks
 
@Puppy well there are singletons
if you "copy" a singleton, you can only really get the same thing back
 
I prefer to think of them as dumbtons really
 
@HalfEvil If you want a pathological counter-example, you can write an std::shared_ptr<X>-like type that is move-only but can still 'share' an X.
 
I meant real singletons
 
... like
 
6:45 PM
A singleton is a type that has one value.
 
meh
would not be inclined to go with that
 
nullptr_t is a singleton
 
in fact pretty much by definition a value of that type is extremely not unique.
 
@Puppy is value of Pi unique?
 
not really
I could name literally countlessly infinite numbers that also have a real value.
well, I suppose I could not literally name them, but you know what I mean.
 
6:47 PM
@Puppy I could construct an infinite number of singletons that way
I didn't get your point here, really
 
which just goes to show that they're really not unique at all.
 
@HalfEvil like that
 
the value of pi is unique
it is written
 
@BartekBanachewicz There's a thousand ways of considering whether or not a type or value is unique. C++ does not have any standardised or communal notion of uniqueness of a type and any naming for uniqueness is completely specific to any individual type.
 
@Puppy certainly more than one person can hold a nullptr. Doesn't change the fact that nullptr_t is asingleton
C++ doesn't have uniqueness typing
 
@BartekBanachewicz There's a large difference between "The type only has one value" and "er mah gerd the uniqueness"
namely that one of them is a real sentence and the other is just random English words slung together that don't mean anything
before you can claim that nullptr or nullptr_t is unique, you would have to actually define what unique means, and there is no such definition in this context.
 
@Puppy wait where did the latter appear?
 
9 mins ago, by HalfEvil
@Puppy So what is the practical difference between an object that can't be copied and a unique object?
 
well, you can obtain that object from the source or a factory
it can still be the same object
but you might not be able to copy it directly
 
no.
 
6:51 PM
elaborate
 
well, here's a simple example
if you have a type with no operator== defined, are the values unique or not?
I mean, the idea of "No other value compares equal to this one" doesn't even make sense since there is no comparison op.
and furthermore, it's completely meaningless in terms of copyability or not, since equality and copyability are totally orthogonal things really.
and even furthermore than that, uniquity isn't even defined to mean anything of the sort in C++ (or defined at all) so you're basically just making it up as you go along
 
To me std::unique_ptr makes sense as a name what with linear/affine types (if you only take into account the 'owning' path, not the results of operator*/get()).
 
kind of tired, can someone confirm that this is right? marcodiiga.github.io/kbase/?node=16
 
holy fuck that took forever to load
 
yeah I'm sorry. Openshift is slow
 
6:57 PM
oh gwad
"design patterns"? really? gtfo
 
you wouldn't say so if you had been interviewed like me
"code me your favorite design pattern"
I usually get away with the visitor
 
@MarcoA. that would be a resign pattern
8
 
@LucDanton Thanks! Something like that might work well actually. Not really sure if it's needed for items though
 
@BartekBanachewicz Are you rightfolding again
 
[stopping cartridges, offline for 3 mins]
 
7:03 PM
I'm hating
I think timed events branch is p much done
 
@MarcoA. 'Open*' is slow. Openshift, Openview, Openoffice.. whatever, they're all piss-slow. I'm surprised that the hated, dynamic, reflective, object-oriented programming language was not called 'Openruby'.
5
 
lol
good thing I'm open minded
wait..
 
@MartinJames Good thing they named the fork "LibreOffice" then
 
@milleniumbug lol, also I forgot 'Openreach' - the main UK telco service business arm. They're pretty well piss-slow too. The only way you can get quick repairs is to get in touch with the service engineers directly and offer a bottle of whisky to the first team to turn up and fix your phone.
 
7:10 PM
Can I make a generic lambda that takes two arguments of the same type?
Like a begin and end iterator.
 
no
 
Xeo
yes
:P
 
quiet you
I'm trying to re-train my fingers to type "no" super quickly
 
Xeo
[](auto a, decltype(a) b){}
 
@Jefffrey Try [](auto b, decltype(b) e) {}
 
7:13 PM
I see
 
lol
 
Can you define operators as lambdas?
 
Xeo
what
 
no
 
@Jefffrey No
 
7:13 PM
fuck I hit that extra ]
 
The special magic in an operator is in the name
 
Like operator* = [](...) { ... }
 
Xeo
no
 
screams with rage
 
I really wanted to overuse lambdas everywhere
 
Xeo
7:14 PM
A lambda is a shortcut for a local functor
It's nothing special.
 
You can't even use a lambda for main :c
 
@Jefffrey Well, duh
 
It makes sense to me v0v
 
there's nothing "duh" about it, it should be supported
I think that you could probably do that in Wide, actually.
 
I thought wide was dead
 
7:15 PM
oddly enough, it's begun to show signs of life now that I can't play games
 
top kek
 
Xeo
hah
 
Easy on the swears guys, there are children in the room. :P
 
Xeo
Man, I want it to be June 30th now.
@AaronHall Fuck children... no, wait.
 
@AaronHall fuck diddly squat fucking shitballs
won't somebody think of the motherfucking children?!
 
Xeo
7:18 PM
Those damn perverts!
 
lol
indeed, they seem to be curiously perverted children, and perhaps our thoughts should be around locking them up rather than helping them, but still
 
@AaronHall Hitler
7
 
> Scary, right? Well, even if your not used to RDF it’s not that bad at all.
> your not used
GOD DAMNIT MOZILLA
 
@Xeo What's happening then?
 
Xeo
Terraria 1.3 release
 
7:24 PM
oic
 
is terraria still a thing
 
Xeo
uh yes?
 
man I wish microsoft's xml stuff was a bit prettier
 
@Xeo Or rather, without fucking, there would be no children.
 
"Ouch my freaking ears!"
 
Ell
7:27 PM
I was first on agar.io for a split
 
@nick no
stabround is the thing
 
@AlexM. xml and pretty in the same sentence, lol
 
hmm
how about "I wish XML was a bit prettier"
 
hmmm
@Puppy impossibru
 
or hell, "I think the world would be prettier without XML"
 
7:30 PM
@Puppy I can deal with that :)
 
or possibly
"It will be prettier once I have stabbed the creator of XML"
"XML will be prettier with Microsoft's blood all over it"?
 
yikes
 
"The XML describing the inevitable death and decay of everybody who ever suggested using it is rather pretty"
 
everybody stay calm and use JSON
 
NOOOOOOPE
 
7:32 PM
we do use JSON
 
I don't
 
but holy fuck, some complete fuckwad wrote some code that automatically converts property names into camelCase
 
7:33 PM
just so that everything completely breaks for funsies
 
@MartinJames Ruby is hated?
 
dumb programmers
 
@TonyTheLion Apparently, this is actually common.
 
there's a few of them
@Puppy wut
thats the first time I hear that
 
didn't rain for 2 weeks
 
7:33 PM
it's not something I thought of either
 
I take out the laundry to dry
it starts raining 30 mins after
 
@caps Sure, mostly by users waiting for their apps to finish:)
 
I imagined that anybody so tremendously stupid would not survive childbirth
 
what the hell
 
@Puppy sadly stupidity is not that uncommon
 
@AlexM. i guess you get a second free wash for your laundry
 
@TonyTheLion This I have observed
 
> Ruby is dynamically typed, rather than statically typed
 
@AlexM. The universe wishes to piss on you, personally.
 
Oh, that explains it.
 
7:35 PM
Ya'll know if a fortran compiler comes standard in cygwin? (I have a borked corporate version of cygwin)
 
> You are invited to a special advance screening: Jurassic World
Well, out about that.
 
Ugggghhh...
> The runtime discovers at runtime if that method call actually works.
So gross.
 
I'm reading that stuff and there's nothing about an embargo or an NDA or keeping my mouth shut.
So I'll be able to tell you all how much that film sucks before it's even out!
 
@caps it's pretty bad in general
 
> There’s no need of C++ templates (since you can assign any kind of object to a given variable, and types get figured out at runtime anyway).
I feel like this is a misunderstanding of the purpose of templates.
 
7:37 PM
@caps /me screams /me dies
 
mmmmmmmmmmkay?
shuffled his feet, and glanced around at them
 
According to Ruby, a lot of that is true about Python, too, and I like Python for little things sometimes.
 
guys
anyone Factorio?
 
@BartekBanachewicz S'cool, haven't played it myself
 
7:49 PM
I meant right now
 
@caps ................................................................................‌​.........
> types get figured out at runtime
uh huh.
 
@rightfold Why is this pinned... ?
 
user1804599
Because many people here use clang and it's useful to upgrade.
 
@rightfold Right?
 
mmm
The Martian looks cool
 
7:52 PM
@rightfold ...
 
lol
Hitler totally takes it
I'm... I'm going to post this to reddit
It deserves this
 
@VermillionAzure Poor thing. What did it do to deserve such a punishment?
 
@BartekBanachewicz Online?
 
@Jefffrey well that's kinda the point no?
 
user1804599
I'm trying to think up a Haskell joke about "lazy evacuation" but I'll postpone it.
 
7:59 PM
ummmm, whenever I turn the lights on or off windows make a usb-detached sound, what the heck is happening? :o
 
@Gizmo Minimal power flicker?
 

« first day (1697 days earlier)      last day (3265 days later) »