HN user

knutae

55 karma
Posts1
Comments12
View on HN

And the old(er) building right next to it is named after Kristen Nygaard.

Simula was used as the first programming language for informatics students at the University of Bergen until the mid 1990s, when they switched to Java. I was among the last batch of Simula students there.

L-systems 7 years ago

Aristid Lindenmayer used it originally as a model to study the growth of algae, so it has some scientific applications. While computer graphics is the most common use case, L-systems have also been used for generating music.

http://algorithmicbotany.org/papers/ has a list of papers and other related texts, including the classic book The Algorithmic Beauty of Plants.

L-systems 7 years ago

I wrote an L-systems implementation in Common Lisp as part of a thesis around 2002. The software, thesis and some raytraced images are still available at my old university home page: http://www.ii.uib.no/~knute/lsystems/llisp.html

If anyone plans to test the software: I haven't run it in ages, and I suspect that the OpenGL bindings will be tricky to get working today. The rest of the code hopefully still works.

After using Delphi professionally for some years, I pretty much hated it. Some of my least favorite features are automatic and locale-dependent string/WideString conversions, and that there are multiple memory models: interfaces (IUnknown) uses reference counting, TComponent is owner-based, and lots of other classes require manual memory management.

On the other hand, the object system has some nice features. I miss AfterConstruction and BeforeDestruction in other languages, and I like virtual constructors.

I don't know... why should I worry about Dropbox security in this context? The risk that someone could steal my Dropbox data is of course there, but that they then would be able to decrypt the password database (or bother to spend resources on trying) seems very unlikely.

The only thing I'm a bit worried about is accidentally deleting or corrupting the password file, as Dropbox could then synchronize this change across all devices. I guess I should back it up regularly to non-Dropbox folders to avoid losing all my passwords.

I use KeePass and synchronize the database file through Dropbox. I can recommend this combination, it works well both on my computers and (Android) phone.

The downside is that I sometimes have to enter the master password on my phone's on-screen keyboard, so it is probably shorter than it should be.

I find the CIE Standard Observer graph enlightening: http://en.wikipedia.org/wiki/CIE_1931_color_space#Color_matc...

As far as I understand this, the red function, which corresponds to the red receptors in a typical human eye, reacts mostly to high wavelengths, but also has a small spike in the lower end of the spectrum. This explains why the violet end of the spectrum looks similar to red to human eyes, and this is probably why color wheels seem so natural. After all, a color wheel is almost the same as rainbow that wraps around.

I also find it fascinating that the CIE color space was defined as early as 1931.