Introducing Deep Sea Adventure's Scoring App

This website is a scoring tool dedicated to the board game Deep Sea Adventure edited by Oink Games.

Its goal is to provide players a reliable way to compute the oxygen decrease during a round. It’s meant to be used side by side with the board game, either on a mobile or computer.

After 6 months of learning, this project is my first big, entirely personal project, and I’m very proud of it.

Visit the website See on Github
More …

How does the Internet work?

Being born in the 90s, I’ve lived most of my life in a post-Internet world. I do remember the sweet sound of 56 kb/s modem, but most of my browsing time has been after the dial-up era.

Internet, for my generation, is just an inherent part of life. It’s kind of hard to imagine what it was like before (did people actually read books?), and we never pause to think:

Wait, how does the Internet even work?

So that’s exactly the subject of this post. Buckle up your seatbelt, we’re going deep into networking!

More …

What's up with the & (ampersand) in Ruby closures?

Quite surprisingly, the following Ruby program is correct:

def first_method(&block)
  second_method(block)
end

def second_method(block)
  third_method(&block)
end

def third_method(&block)
  block.call
end

first_method { puts "hello!" }
# "hello!"

You might therefore notice that the & (ampersand) pops up and disappears pretty randomly in the above program. As it’s pretty hard to wrap one’s head around all this & madness, let’s dive into this!

More …