« first day (868 days earlier)      last day (4305 days later) » 

user142019
12:00
Instances of type classes are types (unlike OOP where instances are objects).
@DomagojPandža well, you hang around here, so chances are you have more then enough ego to take a beating to it :P
user142019
class Functor f where
    fmap :: (a -> b) -> f a -> f b
user142019
As you know, Maybe is an endofunctor, so Maybe is an instance of Functor:
user142019
instance Functor Maybe where
    fmap f (Just x) = f x
    fmap _ Nothing  = Nothing
user142019
IO is also an endofunctor, so it's also an instance of Functor:
user142019
12:04
instance Functor IO where
    fmap f x = x >>= return . f
user142019
So a type class may have multiple instances (types belonging to them) and a type may be an instance of many type classes. As you see, this enables overloading (here we defined fmap twice for different types).
We have an FP room, you know.
user142019
Whoops.
Nifty, yeah, that would've helped last year. I needed something more specialized for vectors. Unfortunately, I didn't care too much to do it. Might adapt it, if I ever get a wish to get back to it. :D
user142019
(Haskell has only endofunctors since there is only one category (ignoring subcategories).)
12:07
It would've taken a lot longer though had I not been previously familiar with category theory.
You don't need category theory
user142019
But category theory is fun! Hmm wait, maybe I should get out more.
@CatPlusPlus I have a certain obsession with mathematics and generalization of concepts within. Also more than an unhealthy love for abstract algebra.
Guys, I'm curious, what's your stance on indentation-based languages?
Python, Haskell and friends.
user142019
12:13
@StackedCrooked that thing is glithced.
user142019
@DomagojPandža love 'em.
user142019
Light syntax = good.
user142019
And you indent your code anyway, so yeah.
user142019
Though I don't like how Python allows inconsistent indentation. Haml errors if you mix levels of indentation
@Zoidberg Yeah, that's a pain in the ass. I'm mostly bothered by the way editors convert between tabs and spaces, it should be 4 spaces. And sometimes it just goes haywire.
@StackedCrooked Jesus Christ, that could kill someone.
And physically implausible.
12:15
If the helicopter flies upside down, does this require the direction of rotation to change?
Not only that, the fast changes, the stress tensor suggests it would crush in the plane of reflection.
user142019
@DomagojPandža It's just a bug in the universe.
user142019
The universe is written in PHP.
Not to mention the level of control and precision rivals military-grade equipment.
Rot-kill on the space shuttle with onboard computers wasn't that effective.
And I think I had something like that, it's petrol-based and too heavy for such stunts, several kilograms. Match that with the acceleration at some points, you get immense energy.
It has a battery.
user142019
12:29
No shit.
user142019
I thought it ran on air.
user142019
@Zoidberg Love it.
user142019
Pope is an idiot and he must be skewered.
user142019
And please let there be no new pope.
12:36
I wouldn't mind an asteroid fucking up Vatican.
user142019
Or one who's homosexual, proud of it and expresses it in public.
user142019
Also, there should be condom dispensers during pope's talks.
1) Notice too many tabs.
2) Close those to the right. Ah, that's better.
3) Five minutes later, 1)

:(
user142019
WHY DO PEOPLE ALWAYS HAVE SO MANY TABS OPEN I ONLY HAVE TWO OR THREE. Do you guys also forget to flush the toilet or something.
I don't know, I open shit I intend to read and forget about it because someone distracts me here. :(
12:39
he's looking at you, ZOIDBERG
Why not Zoidberg?
user142019
Because Zoidberg is just an incompetent asshole, that's why not Zoidberg.
Starbait
Perfect for a pope.
Why close them if you may well have to reference them later? Plus soccer stream, plus lounge, plus news stream, plusRyanair offers, plus Chelsea FC implosion news.
user142019
12:40
I'd be the perfect pope.
user142019
An atheist pope.
PHP would be a great pope.
user142019
@NikiC for pope.
Think about it, it sucks. It's inconsistent. Does shit which nobody approves.
PHoPe.
user142019
Stop redditing.
I love online people. You can love 'em, but you can't hate 'em. You can ignore/block them way before you start hating them.
Hence, no anxiety.
Ell
Ell
Haskell has significant whitespace?
user142019
The pope was almost as bad as Stalin.
user142019
12:43
@Ell of course.
I don't hate anyone, (except that fat parking enforcement officer in Newcastle).
user142019
I hate a lot of people. The pope, for example, and Tomalak.
user1357851
@DomagojPandža not true. I once blacklisted some people who were mediocre hackers, they broke some website which I frequent and hacked my server
user142019
Not to mention Wouter Struijs, an asshole from elementary school.
@Telkitty How did they do it?
user1357851
12:45
you can make enemy with some semi not too newbish hackers
user142019
@StackedCrooked inb4 torshammer
Who cares if thye're no longer about, dead or skippled office just before allegations of ...stuff. I don't hate anyone today, (except that fat parking enforcement officer in Newcastle, who I will hate forever).
user142019
I only molest yo momma.
denial of service is not hacking imo
user1357851
12:46
@StackedCrooked style sheet (some 6-8 years ago) then used sql injection to hack my site
user142019
Torshammer is a great tool.
user142019
I occasionally use it to take down the website of somebody who always bullied me.
user142019
(He's a noob using Apache so yeah he kinda deserves it.)
@Telkitty Your SQL is worse than mine. I wasn't sure that was possible.
@Zoidberg I broke the guy's nose in primary school after he tried. Never got shit again. Ended up at the principal's office, got shit for defending myself. Yay, society.
user1357851
12:47
that was some 5-7 years ago
user142019
@Telkitty SQL injection? You deserve your site to be hacked, period.
user1357851
I was newbish back then
I wonder if coliru has vulnerabilities. Apart from the ability to run arbitrary C++ code on it :)
user142019
@StackedCrooked Out of disk space.
user142019
@StackedCrooked And probably some obscure chroot jailbreak.
user142019
12:49
$ killall chroot
/proc lacks process entries (not mounted ?)
user142019
:(
@Zoidberg I guess you could start creating really big files. I should check if I have a limit set for that.
@StackedCrooked Hopefully it's running in a sandbox.
lol
of course
The sand sometimes gets into fans but what you gonna do, needs security
user142019
12:51
@StackedCrooked is GDB or Valgrind installed on Coliru? Might be handy.
It's a sad world where you try to give it a gift and they throw feces at you.
The sun is out. I have to wash cars :( I wish I could killall dirt.
@Zoidberg Valgrind could be handy.
@MartinJames It's already dead.
@DomagojPandža You mean the monkeys at the zoo?
@StackedCrooked Not on my car - it's moving around in places :(
@Zoidberg Well, this is just an inconvenience, not really what would classify as circumventing security. It's the same as denial of service, as @StackedCrooked said - can't really be considered hacking. Just a lot of FUUUUUUU, but that's it. :D
user142019
12:53
@StackedCrooked I wouldn't mind redesigning the front-end. Frames are so 1994 B.C.
Go ahead.
user142019
I'll get up first. :P
lol
@Zoidberg Oh dear - I seem to be prehistoric
12:56
@DeadMG Oh, puppy. howudoin? :P
user142019
@StackedCrooked it will require some minor changes to the back-end w.r.t. the edit button but that's not very important.
Coliru is basically webservice. The HTML pages are just client applications.
Why would you need a backend change?
user142019
Ohh I see.
user142019
You use AJAX?
user142019
13:00
Ohh then no problem. :P
"/view&id=123" gives you an empty page and then ajax loads the content.
user142019
I see, cool.
Yeah, waits for an all clear 200 from the initial response, wraps the data in JSON and passes it along to the server backend. On first glance, no security holes.
If we ignore the 1994 B.C. frames approach, it's solid. :D
Justin Bieber's birthday. I've almost passed out from all the fucks I don't give.
Apparently you care enough for mentioning it :)
My little cousin linked it all over my homepage. I'm thinking about drowning him in a river.
13:10
@DomagojPandža I have a large bowl of strawberries, grapes, and banana which I'm stuffing down my face with a spoon.
@DeadMG As they would say in my country, našao si nešto za srknut' kašikom. :P
user142019
@StackedCrooked do you have API docs somewhere?
Err, the code?
user142019
Oh right. :P
Hahahah :D
13:16
@DomagojPandža I assume that's "Bon appetit" in Croatian, give or take.
wat?
user1357851
Have anyone seen this:
user1357851
many many times
13:23
Poor cat.
Ell
Ell
does anyone watch university challenge?
user1357851
@sehe didn't know you have a fetish for flying dead cat :p
sehe does that with live cats.
I've just found the perfect woman. Well, she was forwarded to me, but still. My eyes detected her.
user1357851
@DomagojPandža this: t2.gstatic.com/… ?
She has spoiled the female part of our species for me. :(
13:36
spoiled?
Just referred someone on the mailing list to this excellent answer. I hope it will give you the well-deserved karma (hah - dat pun)! — sehe 4 secs ago
user1357851
this is the perfect woman IMO:
God. That's awful
Looks like an alien species.
13:38
^
And not the asari kind. :D
@Telkitty next time will be flagged.
@DomagojPandža I'd rather date an asari >.>
user1357851
@sehe that's why I deleted it
@Telkitty Next time, delete it before you post it. My daughter was just standing here and I haven't yet found the delete button on her visual memory. Thank you very much.
13:40
@sehe How old is she? :D
@Telkitty Why do you care? You can simply adhere to the common sense rules
@Telkitty I don't want to have to tell her anything. You get my point, right.
user1357851
It is claimed that she has the barbie proportion
Doesn't matter. she isnt one
@DomagojPandža Speaking of mass effect species:
user1357851
I don't know why barbie is so popular if she looks like an alien
Volus cook! :) (That thing on his back is a big ass frying pan)
13:43
@Borgleader Ahahah, for a moment I thought someone mishmashed a quarian with a volus. :D
I found this on http://www.polycount.com the other day ^.^
Polycount is cool, very active. Always some nice feedback there. :D
user1357851
The other thing I really do not get is that why we are born naked yet we are so ashame for being seen naked
CGHub is also awesome, although CGSociety is the more active one.
user1357851
it is like naked = porn
user1357851
13:45
almost every other specie is naked
The Universe was also born in a massive detonation, yet we are so afraid of massive detonations now. :P
user1357851
well that can not be proved
@Telkitty Yes because I'm sure the people who came up with those social norms took that into consideration
Besides I'm glad people dont walk around naked because there are a lot of them I wouldn't want to see naked
@Telkitty We're all born thick, but it seems that you're not ashamed of being seen to be thick ^^
If everyone were built like a greek god, I wouldn't mind people walking around naked.
But the current situation is far from it.
13:47
That's a big if, but I agree
Clothes basically hide shit we don't want to see. Also, suits are nice.
user1357851
@Borgleader if you see them naked all the times you probably won't mind seeing them naked.
And I don't want to explain to my future daughter what's that dangling thing on that man over there.
@Telkitty Oh believe me, I would mind.
I see stupid people all the time and I still mind seeing them.
user1357851
13:49
@DeadMG what do you mean?
@Borgleader Precisely. :D
user1357851
@DomagojPandža will you take her to the zoo then
user1357851
your daughter probably will ask her about the dangling bit on a male monkey
I see we ran out of interesting topics and had to resort to sociology
@Telkitty I mean that just because babies are some way does not mean I would want to be that way at all.
for example, babies are thicker than two short planks.
13:53
@CatPlusPlus No that's Telkitty's favorite subject.
user1357851
@DeadMG babies are and so are every other specie on earth
@Telkitty Which is equally irrelevant.
also, there's no such thing as a "specie".
user1357851
@Borgleader I have many favourite subjects :p
even one species is still a species.
People like to invent weird rules and rituals and it has nothing to do with what's natural
Basically we're all retarded
6
Get over it
user1357851
13:55
true
@CatPlusPlus Speak for yourself.
user1357851
then we invent dumb reasons to go with it
user1357851
humans are like ants
user1357851
the only advantage is that we can communicate and write things down
You know, when a rational human makes such a statement (which is like - never), he usually qualifies it.
13:56
yeah
cause all those scientists and all those artificial constructs, we totally invented random dumb reasons for them to exist, and discovered them by chance.
and we completely pretend that they're totally natural.
Usually that argument:

a) doesn't involve logical fallacies
b) doesn't show up on DeadMG's thickness™ scale
c) isn't dumb.
@DeadMG like aspartame?
So it does show up on DeadMG's thickness scale?
@StackedCrooked What about it?
And is dumb?
user1357851
13:58
@DeadMG fat used to be standard of beauty, now skinny is
I find your misuse of double negatives disturbing
user1357851
fair used to be a standard of beauty, now tanned is
@Telkitty And the relevance of that is?
People are dumb, society is dumber (TM)
My bad, Cat. :D
user1357851
13:59
people invented dumb reasons to go with why skinny is beautiful
user1357851
just like they invented reasons why fat was beautiful
What I don't know is why we're talking about this, because it's really neither funny nor interesting

« first day (868 days earlier)      last day (4305 days later) »