HN user

ret

39 karma
Posts0
Comments14
View on HN
No posts found.

This intro is great, and the lighting is really, really nice.

But TBH I do not like accelerated intros/demos, because the most difficult part of the code, i.e. 3D graphics pipeline is implemented outside the demo, in a GPU driver. Many years ago, in a DOS, coders have to implement rasterization, clipping & lighting and fit everything in a 64kB. Watch for example Stash by TBL (http://www.pouet.net/prod.php?which=3), Jizz by TBL (http://www.pouet.net/prod.php?which=2), Photon by Purple (http://www.pouet.net/prod.php?which=502).

DC Circuits in F# 12 years ago

Looks interesting, but style of the program is terrible. Drawing function are mixed with model definition and sample circuit definition.

BTW resistance function do not handle division by zero.

Graph.tk 13 years ago

The sample plot is wrong. Domain of sin x + log(x+1) derivative is R - {-1}, so there must not be any vertical line at x = -1.

IMHO it's a matter of experience. When I was young I believed that programming is about writing a lot of code that "just work".

Now, after many private and commercial projects, I know that is about reading and understanding code. And about eliminating bugs. :)

Your project is great, Pascal is really underrated language.

I looked at parser (hand written are best), this part spotted my eyes https://github.com/lkesteloot/turbopascal/blob/master/Parser... - IMHO order of checking whatever node is identifier or not have to be reversed. Now, such simple program:

program Test;

procedure foo; begin end;

begin foo := 10; end.

produces error 'Error: can't cast from 70 to 76 ("10", line 8)' - whatever this means. :)

Donald Knuth Quotes 14 years ago

2 other quotes:

Q: "If you were young again, would you start writing TeX again or would you use Microsoft Word, or another word processor?" A: "I hope to die before I have to use Microsoft Word." —Harald Koenig asking Donald Knuth, Tübingen, 2001 Oct 2.

"The most important thing in the programming language is the name. A language will not succeed without a good name. I have recently invented a very good name and now I am looking for a suitable language."

Why Use Postgres 14 years ago

List of reasons is so short...

For example since 9.1 Postgres support foreign data tables - other data sources is available for user as regular table; there are many drivers: MySQL, Oracle, external pg server, and even plain files.

Since 9.0 there is support for per-column triggers.