Posts

Showing posts from September, 2016

My thoughts on "Pattern on the Stone"

Image
  While reading the book "Pattern on the stone", I was very engaged and interested. This level of computing has always interested me. There were parts where I felt like it was rambling on, but that could’ve been because I was hungry and those were few and far between. For being a book about technical things, it keeps your interest while learning at the same time. I found quite a few interesting things, but the most interesting thing I learned in this  book was about recursion. I had seen this video (2) I didn’t really understand it until I read this book. The book describes this "This kind of recursive definition with a changing parameter is useful for producing anything with a self-similar structure. A picture that contains a picture of itself is an example of a recursive, self similar structure."(4) That brings my mind back to the home depot buckets (take a look at the bucket that the guy is holding). (3) Both seem like very powerful tools that are used to day in ...

A look into seam carving

Image
Good day readers, I’ve been thinking about algorithms recently due to some reading from “The Pattern on the Stone.” It’s interesting how algorithms make logical ways of doing a task. It’s really cool how it can be applied to theoretically any programming language. It’s not operating specific, not programming language specific, not hardware specific. It’s how it’s done on a more basic logical level. Even technically algorithms can be done manually without a computer (albeit most would be a little slow, tedious, and boring). The book describes what an algorithm is this way. “an algorithm is a fail-safe procedure, guaranteed to achieve a specific goal.” (2) I have been doing a bit of research on various algorithms in studying for this post and happened upon this algorithm. It’s called seam carving. Before delving into what it does, I’ll present the problem first. imagine you have an image that will be displayed on many different screens with many different resolutions and aspect ratios: ...