Code and Bugs

Coding things

Tag: Haskell

Well, I’m back

Nearly an year has passed since I last wrote on this blog with a specific plan in mind. There were several articles in the meantime but very few and written because of a moment’s hunch.

I’m back now, even if for a short period of time.

This article is divided into two parts (I’ll try to make them be under 500 words each):

Each of the two parts has a separate page.

Pages: 1 2 3

Mazes (1)

As mentioned previously, I had an assignment which involved constructing a maze from code and letting a robot escape from it. This series won’t follow the second part, it will concentrate on maze specific topics. I will write about maze generation, maze drawing, maze counting and several other aspects. Maybe I’ll touch several properties of the mazes, possibly I’ll write about something like the moments in statistics. Will see where this series will end and what areas will be covered by it.

Read the rest of this entry »

Machine Learning

This semester, I took an introductory course to Machine Learning. I learned about id3, version space learning, neural networks, GAs, etc. And I had to some homework using several of those techniques.

Read the rest of this entry »

Java Type Signatures

This year, I had to do several assignments in Java. Some of them didn’t require me to use a specific IDE but there was one arguing that we should use Eclipse because it helps us in development better than any other tool.

Read the rest of this entry »

Solving XKCD’s Nerd Sniping problem

A while ago, during a period of free time, I implemented a solution in Haskell for the XKCD’s raptor problem. Now, I’ll try to solve another problem presented there, the one found in the Nerd Sniping comic. Of course, the implementation will still be in Haskell.

Read the rest of this entry »

Parsing text in Haskell with Alex

Recently I remembered that I’ve started HaCoTeB as a project in which to test text lexing and parsing with Alex and Happy. Things didn’t work so well and HaCoTeB died without a single Alex specification file written.

However, during this little free time I had this week, I tried again to parse a simple text file with Alex.

Read the rest of this entry »

A semester of coding

The last semester was a very busy one at my faculty. This is the main reason why I failed to update this blog. However, now that I have free time again, I’ll present some of the coding assignments that I’ve done during the last semester.

Read the rest of this entry »

HaCoTeB is dead

A while ago I started a project which promised to make posting code snippets on wordpress.com blogs easy as pie. However, things didn’t worked well in the end.

Read the rest of this entry »

Compiling GHC from sources

I’ve decided that the best way to learn about the internals of GHC is to actually look at it’s source code in parallel with some experiments. This is the first part of a series of articles related to some GHC experiments, maybe going towards a ghcd command. But, until then, we have much work to do.

Read the rest of this entry »

Enter HaCoTeB

I am dissatisfied with the WordPress.com code posting capabilities. All of the possible solutions (using the included <code> tag or the included [ code ] plug-in or posting the entire html generated from the code via vim’s TOhtml or via highlight) were incomplete.

Read the rest of this entry »

Follow

Get every new post delivered to your Inbox.