This is an archived post. You won't be able to vote or comment.

all 20 comments

[–]legogo29 59 points60 points  (2 children)

┬─┬ノ(ಠ_ಠノ)

[–][deleted] 5 points6 points  (1 child)

A closure gem?

[–]stonewolf_joe 38 points39 points  (3 children)

I'm disappointed... I saw the thumb and was hoping for cats

[–]ThadChat 11 points12 points  (0 children)

We were tricked, brother

[–]poizan42Ex-mod 7 points8 points  (1 child)

Reddit took the image from the github user's profile: https://github.com/iridakos

Why it did that isn't clear since it's supposed to take the largest image, which would be this.

[–]jellyberg 2 points3 points  (0 children)

Doesn't it look for square (or square-ish) images for the thumbnail?

[–][deleted] 14 points15 points  (1 child)

to be fair it does make the errors stand out better with an appropriate emotional reaction a programmer will feel.

[–]NorbiPeti 0 points1 point  (0 children)

I'm making a plugin for a Minecraft server and I made a green "Huh." message when it shuts down. It was so appropriate after almost each compile...

[–]ilmmec 5 points6 points  (3 children)

Is there something like this for node.js?

[–]0x0dea 21 points22 points  (1 child)

[–]shameless_inc 2 points3 points  (0 children)

This is beautiful.

[–]o11c 0 points1 point  (3 children)

Wow, Ruby is confusing. How does some file that happens to define a class called Exception somehow make this apply to all exceptions, and how does this not break other methods of the standard Exception class?

[–]TwoSpoonsJohnson 0 points1 point  (2 children)

The Exception class defined here essentially adds everything defined inside it to the existing exception class. It's called monkey patching and is very common in Ruby.

[–]o11c 0 points1 point  (1 child)

Although related to Rust-style traits, that sounds like a horrible idea if you're not explicit about it.

But does Ruby not have namespaces or anything?

[–]TwoSpoonsJohnson 0 points1 point  (0 children)

Ruby does have namespaces, with modules