Another Word For It Patrick Durusau on Topic Maps and Semantic Diversity

October 3, 2011

Parallel Haskell Tutorial: The Par Monad [Topic Map Profiling?]

Filed under: Haskell,Parallel Programming,Parallelism — Patrick Durusau @ 7:07 pm

Parallel Haskell Tutorial: The Par Monad

Parallel programming will become largely transparent at some point but not today. 😉

Walk through parallel processing of Sudoku and k-means, as well as measuring performance and debugging. Code is available.

I think the debugging aspects of this tutorial stand out the most for me. Understanding a performance issue as opposed to throwing resources at it seems like the better approach to me.

I know that a lot of time has been spent by the vendors of topic maps software profiling their code, but I wonder if anyone has profiled a topic map?

That is we make choices in terms of topic map construction, some of which may result in more or less processing demands, to reach the same ends.

As topic maps grow in size, the “how” a topic map is written may be as important as the “why” certain subjects were represented and merged.

Have you profiled the construction of your topic maps? Comments appreciated.

What resources & practices (teaching Haskell) [or learning n]

Filed under: Education,Haskell,Teaching — Patrick Durusau @ 7:04 pm

What resources & practices (teaching Haskell)

Clifford Beshers answers (in part, the most important part):

I have two recommendations: teach them the simplest definitions of the fundamentals; read programs with them, out loud, like children’s books, skipping nothing.

The second one, reading aloud, is one that I have advocated for standards editors. Mostly because it helps you slow down and not “skim” text that you already “know.”

And the same technique can be applied for self-study of any subject, whether it is Haskell, some other programming language, mathematics, or some other domain.

October 2, 2011

Let’s make an Elemental Type System in Haskell – Part I

Filed under: Games,Haskell — Patrick Durusau @ 6:35 pm

Let’s make an Elemental Type System in Haskell – Part I

From the post:

recently I falled in love (again) with Haskell, and I’ve decided to start a simple toy project just to stretch my Haskell muscles fibers.

Meanwhile, I’ve started Final Fantasy VII again, so I thought to realize a simple Elemental Type System. I dunno how much this project will be complex, but a lot of fun awaits.

By post three (3) the author changes the name to …Elemental Battle System….

Same series.

To put a topic map cast (shadow?) on this adventure think about the creatures, places, events and players as all having identities. Identities that we want to manage in a topic map. Their properties change during the game. So we need to update the topic map, but how often? Does a player “identity” change if they die?

Perhaps not from a system perspective but what about in the game? Or in the view of other players? Assume those differing “views” are also subjects that we want to represent. How do we manage game subjects as they move in and out of those “views?”


Other posts in this series are:

Let’s make an Elemental Type System in Haskell – Part II
Let’s make an Elemental Battle System in Haskell – Part III
Players are coming next.

September 26, 2011

The HasGP user manual

Filed under: Functional Programming,Guassian Processes,Haskell — Patrick Durusau @ 6:58 pm

The HasGP user manual (pdf)

Abstract:

HasGP is an experimental library implementing methods for supervised learning using Gaussian process (GP) inference, in both the regression and classification settings. It has been developed in the functional language Haskell as an investigation into whether the well known advantages of the functional paradigm can be exploited in the field of machine learning, which traditionally has been dominated by the procedural/object-oriented approach, particularly involving C/C++ and Matlab. HasGP is open-source software released under the GPL3 license. This manual provides a short introduction on how install the library, and how to apply it to supervised learning problems. It also provides some more in-depth information on the implementation of the library, which is aimed at developers. In the latter, we also show how some of the specific functional features of Haskell, in particular the ability to treat functions as first-class objects, and the use of typeclasses and monads, have informed the design of the library. This manual applies to HasGP version 0.1, which is the initial release of the library.

HasGP website

What a nice surprise for a Monday morning, something new and different (not the same thing). Just scanning the pages before a conference call I would say you need to both read and forward this to your Haskell/Gaussian friends.

Comes with demo programs. Release 0.1 so it will be interesting to see what the future holds.

The project does need a mailing list so users can easily discuss their experiences, suggestions, etc. (One may already exist but isn’t apparent from the project webpage. If so, apologies.)

June 11, 2011

Writing a Simple Keyword Search Engine Using Haskell and Redis

Filed under: Haskell,Redis — Patrick Durusau @ 12:42 pm

Writing a Simple Keyword Search Engine Using Haskell and Redis

Alex Popescu says this is a good guide to “…translat[ing] logical operators in Redis set commands” which is true, but it is also an entertaining post on writing a search engine.

April 30, 2011

Natural Language Processing for the Working Programmer

Filed under: Haskell,Natural Language Processing — Patrick Durusau @ 10:18 am

Natural Language Processing for the Working Programmer

Daniël de Kok and Harm Brouwer have started a book on natural language processing using Haskell.

Functional programming meets NLP!

A work in progress so I am sure the authors would appreciate comments, suggestions, etc.

BTW, there is a blog, ? Try ?t H?ske?? in ?inguistics with posts working through the book.

January 3, 2011

The Haskell Road to Logic, Math and Programming [pdf]

Filed under: Haskell,Logic — Patrick Durusau @ 3:18 pm

The Haskell Road to Logic, Math and Programming [pdf] Authors: Kees Doets and Jan van Eijck

A detailed review can be found at: Book review “The Haskell Road to Logic, Maths and Programming” by Ralf Laemmel.

There are so many “cell phone dead zones” as Newcomb puts it when dealing with semantics that any assistance in clear thinking is welcome.

This is a work the promotes clear thinking.

« Newer Posts

Powered by WordPress