Freitag, 24.08.2007
Dies ist ein Testeintrag, um das Kommentieren zu testen.
von normen.mueller um # 16:23 in Diary
Donnerstag, 23.08.2007
Traits or objects may not have parameters
von normen.mueller um # 17:13 in Scala
def foo () = […] vs. def foo () = { […] }
von normen.mueller um # 16:16 in Scala
Mittwoch, 22.08.2007
Class parameters
class Complex(real: double, imaginary: double) {
def re() = real
def im() = imaginary
}
This complex class takes two arguments, which are the real and imaginary part of the complex. These arguments must be passed when creating an instance of class Complex, as follows: new Complex(1.5, 2.3). The class contains two methods, called re and im, which give access to these two parts [taken form Scala tutorial].
Are these class parameters similar to constructor parameters in Java?
von normen.mueller um # 19:11 in Scala
Scala entries transfered from locutor's blog
[2007-08-19]
functional implementations require more transient memory than imperative one
Where imperative implementations operate in place, e.g. by modifying
an argument array, the functional implementation returns a new sorted
array and leaves the argument array unchanged.
/nm
[2007-08-19]def foo (
What is the difference between defining a function by
def foo (
) = […] versus def foo (
) = { […] } ? /nm
[2007-08-19]
Functions nested inside other functions.
One advantage of using this feature, for sure, is the accessibility of
parameters and local variables of the enclosing function, but what
about code readability and thus maintainability. As I am originally a
Java coder, I prefer to not to have nested functions, but to
externalize those ones.
I will keep on examining this issue and return to this post as soon as I have achieved more insights.
/nm
von normen.mueller um # 18:20 in Scala
Diary transfered from locutor's blog
[2007-08-22]
First draft of my DAAD application forms accomplished. Now, going back to mdiff...
Thanks to my supervisor Michael Kohlhase, today I got all my DAAD
application forms done and sent them to Rice for validation purpose.
Eventually I can keep on with my mdiff implementation. Though, today I
will only keep on learning scala and tomorrow morning I will continue
on my formalization tasks: I am currently formalizing the terms dependency, dependency type, change type, equivalence of document fragments, and propagation
of changes, w.r.t. the formerly mentioned types and their correlation
to induced equivalence class, in a change relation calculus. This
calculus will constitute the basis for my mdiff and locutor,
respectively.
[2007-08-20]
DAAD
Today no research
/nm
[2007-08-19]
mdiff kick-off
Today I seriously started to implement my first version of mdiff.
This is going to be a collection of modeled based diff-algorithms. In
the first step I am going to implement a mdiff for the following
document formats: ASCII, TeX, OMDoc. Therefore I am utilizing the
following design patterns: Strategy, Builder, Abstract Factory.
Currently I am giving Scala a shot! On the one hand, this thwarts me
bit, but on the other hand, as soon as I figured out how to write
things down in this new compact syntax it just looks awesome, i.e.
simple and straightforward! I accomplished so far: Simple command line
parsing, Suffix checking, Strategy infrastructure setup. So let’s see
what’s coming next…stay tuned!
/nm
von normen.mueller um # 18:00 in Diary
Donnerstag, 12.10.2006
LWA 2006
Just came back from the LWA workshop yesterday, and found out that there is a set of
pictures on Flickr (thanks to brunkhor): http://flickr.com/photos/34981199@N00/sets/72157594321365068/ It was really nice to meet so many friendly people and discussing arising
aspects on (web-based) knowledge management and some recent progresses in
learning. And well, it was of course really good to have some drinks with
Normen and Chrsitine again? :-)
von joba um # 11:20 in Conferences
Sonntag, 25.06.2006
Hackers and Painters
Some days ago I came back from the KI06 conference in Bremen - the weather at my return was very sunny and the highways were free... :-) However, my car caught a lot of flies and I had to clean it again. So, I stood at the car wash and watched all the guys mounting their "germany flags" again on their cleaned cars. Germany is quite funny these days because the world cup made lot of people crazy: it's not that bad, but it looks funny that "we" now have discovered the german flag on cars for expressing our happiness and proud regarding the soccer world cup in our land.
Whatever, I remembered a chat with Immanuel Normann after the match "Netherlands - Cote d'Ivoire" talking about Lisp and all the stuff on programming languages. Finally, I recommended the book "Hackers and Painters" by Paul Graham, which is a good-old-fashioned Lisp programmer but interestingly also a studied painter. I think he made some million dollars with selling the first-ever web-shop builder to Yahoo! (of course it was written in Lisp, but nobody should know...) and then got famous for his books "ANSI CommonLisp" and "On Lisp".
von joba um # 19:37 in Programming Languages
Samstag, 17.06.2006
Make others lurk around your Mac
Lately --- to be honest I don't why --- I started to google again for a virtual desktop manager and found the next generation of Desktop Manager: VirtueDesktop.
This gimmick is much more configurable and a lot of features have been added compared to Desktop Manager, e.g. now desktops are automatically switched to the chosen application. What I also like very much, already the default installation was fine for me. So actually you do not have to spent much time on setting this tool up, just start using it. Anyway, what the heck else shall I say, go ahead and check it out by yourself ...
von normen.mueller um # 10:34 in Mac OS X
Turn off annoying startup sound
So check this out: StartupSound
von normen.mueller um # 08:22 in Mac OS X