Wednesday, October 29, 2014

Yaban - Yakup Kadri Karaosmanoğlu [Bam Teli]

Uzun bir süredir aklımda olan fakat hayata geçiremediğim bir başka eylemi bu yazı ile gerçekleştiriyorum. Yeni dizinin adı "Bam Teli". Okuduğunuz kitaplarda kimi bölümler vardır hani, onları okuduğunuz vakit o kitaptan daha fazlasını alamayacağınızı bildiğiniz noktalar. Hem büyük bir sevinç hem de büyük bir hüzündür okuyucu için. Büyük bir sevinçtir çünkü merakla okumaya başladığınız o kitaptan istediğinizi almışsınızdır, büyük bir hüzündür çünkü kitabın geri kalanını okuyacak iştahınızı söndürebilir. İşte bu noktalar o eserin bam telidir. Bu ilk yazıda Yakup Kadri Karaosmanoğlu'nun yazdığı Türk edebiyatında aydın-halk arasındaki uçurumu açık ve kaygıdan uzak şekilde ele alan nadir romanlardan biridir. Bu romanın bam teli olduğunu düşündüğüm noktaları aşağıdaki pasajlar:

Wednesday, October 22, 2014

"Light's Out" Game and Its Solution with Linear Algebra

Hi reader, this is my first article that is written in English here. Why I am writing in English? Actually, I want to share my reports and projects that I found interesting during the master. All reports and projects are of course in English. So, I don't want to translate these subject to Turkish. If you don't know English but want to learn more about. You can ask everything about the related subject. Today, I am going to talk about "Light's Out" game and its solution with "Linear Algebra". If you know Linear Algebra and how to apply it to the game, then it is just 10-15 lines of code. I am also going to share the MATLAB solution end of the article.

Chapter 1: Abstract

1. Preliminary

Light out is a game introduced by tiger electronics, an American toy manufacturer, on a 5 by grid matrix, where each matrix can have either on or off status? The game begins with some of the matrices turned on randomly. Pressing a single buttons will affect the status of itself and its neighbors. The game of the game is to systematically press as much as possible less number of times and making every matrices become off.[1][2]


The goal of the game is to turn all of the lights off. The goal of the puzzle is to switch all the lights off, preferably in as few button presses as possible. Every time a button is pressed, the state of that button as well as the state of the buttons above, below and to the left and right are changed. For example, if all buttons are turned off and a button is pressed, the resulting outcome could result in three, four, or five buttons lighting up depending upon where the original button was located on the game board.[4]