1,241 karma · joined Mar 21, 2011 (15y ago) · 285 submissions
PhD in automatic memory optimizations for GPUs, focusing on Futhark.
philip@munksgaard.me
https://munksgaard.me
comment 13y ago · link · parent
comment 13y ago · link · parent
With regards to the rest of your post: macros and data-as-code.
Have you read this http://www.paulgraham.com/diff.html ?
comment 13y ago · link · parent
There's no doubt that lisp has its problems, because if not, it would be a lot more popular today than is the case. Do note however, that a lot has changed since Steve posted that blog entry, most notably is the rise of clojure, which offers solutions to a lot of the problems mentioned.
comment 13y ago · link · parent
(defun foo ()
(progn (format t "~a~%" (read-line))
(foo)))
and then, while it is recursing, change the function to (defun foo ()
(progn (format t "~a and john~%" (read-line))
(foo)))
recompile it, and have the behavior of your program change, while it is running. This is part of what makes lisp excellent for rapid prototyping. I'd give more examples, but I'm lazy, and it's been properly described elsewhere.comment 13y ago · link · parent
The main point is that Valve is trying to push for something different from Windows for gaming, and they're progressing nicely, which i think is commendable. Next time i get tired of waiting for my Windows 7 desktop to boot, I'll probably install some Linux distribution instead; Steam for linux can now satisfy most, if not all, of my gaming needs.
But sure, it'd be nice to have _all_ of my steam games working natively on linux, but why stop there? I demand that someone makes _every game ever developed_ natively compatible with linux.
comment 13y ago · link · parent
comment 13y ago · link · parent
comment 13y ago · link · parent
Here is the paper for anyone interested http://www.google.dk/url?sa=t&source=web&cd=1&ve...
comment 14y ago · link · parent
I love coding. For me, there is nothing more satisfying than sitting down with a project, identifying problems and trying to solve them, and emerging victorious some time later. It can be something as small as writing a parser for a fictive language (with the hopes of writing a compiler eventually): The rush when I can finally run "parse sampleProgram.prog" and I get the desired AST is amazing.
However, coding is something that takes considerable time, not to mention the large amounts of mental energy needed to work on even small projects, and sometimes I simply don't feel like I would be able to complete anything of significance. How many times haven't I sat in front of my computer at 10pm, knowing that I should head to bed in an hour or two, with plenty of coding projects I want to work on, but knowing that starting probably wouldn't lead very far, simply because of the investment of time and energy needed to produce anything.
Those are the times where I resort to games, movies, TV-shows, books or similar. Lately I've been trying to focus more on reading books, since they almost always leave me with a more lasting feeling of satisfaction, but in the past most of this time has been spent playing games.
I want to get better at coding and I want to work more on some of my projects (I am notoriously bad at finishing stuff, something else grabs me and I lose interest, or maybe it's because I get demotivated every time I encounter something hard), so I wish that I could get more stuff done in those late hours.
Have others experienced the same, and how have you dealt with it? I realize that sometimes your brain needs to unwind, but I feel like I'm not getting enough out of my evenings. Does anyone have any suggestions for cool programming projects or exercises that could be worked on when you're a little bit tired at the end of the day? How do you motivate yourself to work on those little pet projects when all you want is to kick back and watch a silly movie?
comment 14y ago · link · parent
Edit: Aha, the article links to http://https//bitpay.com/ instead of https://bitpay.com
Edit2: Aaaand it's fixed. Disregard this post.