Ruby Network Programming

Do you want to create custom network clients & servers in Ruby? Or just understand how that works? Then you will have to deal with sockets. Join me on this tour of ruby network programming to learn the basics, and start talking to other servers and clients using Ruby! So what are sockets? Sockets are … Read more

How to Build a Parser With Ruby

Parsing is the art of making sense of a bunch of strings and converting them into something we can understand. You could use regular expressions, but they are not always suitable for the job. For example, it is common knowledge that parsing HTML with regular expressions is probably not a good idea. In Ruby we have … Read more

How to Write Your Own Caesar Cipher Encoder

Have you ever heard of the Caesar cipher? Julius Caesar used this technique to conceal secret messages from his enemies! The Caesar cipher is one of the most primitive encryption techniques. The main idea behind this system is to rotate the letters an x number of positions on the alphabet. For example, with x = 1, an … Read more