Clojure Connect Four – Part 1: Checking For A Winner
This post is part of the ongoing series about Connect four in Clojure: Clojure Connect Four – Part 1: Checking For A Winner GitHub: naeg/clj-connect-four Checking For A Winner Figure 1: Schema of sequences In order to win a Connect four game, one player has to connect four of his pieces in sequence. A sequence […]
Adventures In Declarative Programming: Conway’s Game Of Life
My first blog post about declarative programming explained how to write a Sudoku solver in the logic programming language Prolog. This time I’ll show you how to implement Conway’s Game of Life in the functional programming language Clojure. But before that, let me explain a few general things. The first three paragraphs are for readers who […]
Massive Open Online Classes With Udacity
One part of my first 30 day challenge was doing classes on Udacity. Now, after I finished CS101 and created a search engine, I decided to blog about Udacity and the experience I made. About Udacity Udacity is a kind of online university, where you can attend to classes and learn new things. The main […]
Prolog Sudoku Solver Explained
Note: This is a follow-up blog post on Adventures In Declarative Programming: Sudoku Solver. Prolog The main language used in logic programming is Prolog, which name is derived from “PROgramming in LOGic”. And that’s exactly what it does: It allows you to program in terms of logic. The funny thing is that it doesn’t actually […]
SWI-Prolog SyntaxHighlighter Brush
My last blog post about a Sudoku solver written in SWI-Prolog motivated me to create a custom brush for the JavaScript SyntaxHighlighter, which helps creating code blocks with syntax highlighting on any website (of course, Java Script has to be run though). So it does for Blogger and here’s how: Install SyntaxHighlighter On Blogger Go […]
Adventures In Declarative Programming: Sudoku Solver
Declarative Programming … in contrast to Imperative Programming (like C/C++, Python, Java, …) doesn’t care about the exact way of solving a problem. In Imperative Programming you define how a problem has to be solved. In Declarative Programming you simply describe what the problem is and ‘the language’ does the actual solving for you.Since this […]
Try Something New For 30 Days
My brother recently showed me this TED Talk from Matt Cutts in which he talks about trying out something new for 30 days. Matt Cutts inspired me to do my own 30 day challenge, which will start tomorrow. Instead of having just one habbit added/subtracted I decided to bring several new things to my life […]
Hello, World!
So, here I am now. I finished high school and I’m ready to start studying at a university. Only two more things are in my way: Summer holidays and military/civilian service. I spent the last few weeks watching TV, cooking and eating, playing Gothic I-III and League Of Legends, reading articles at HackerNews, occasional jogging, swimming […]