-
Converting the ASP.NET MVC project into OpenID
When you create an ASP.NET MVC project it comes with a controller called AccountController that manages logging in, logging out, registering, changing password and so on. Since usernames and passwords are dead I converted it into OpenID and I’m just pasting it here for everybody to use. I’m using the DotNetOpenAuth library which you have…
-
How to create a Clojure application
Update: this is not my preferred way to create a Clojure application and shouldn’t be yours either, check out Leiningen This is one of those posts that I publish partly for myself. And partly so people can criticize my way, which is also for myself, and only incidentally for others to learn from it. It…
-
Printing emails in Django
When developing applications in Django, it may be nice to print emails instead of sending them. If you send them you have to be careful which addresses you use. Just being on the safe side and always using @example.{com,org,net} is not enough, you have to use an address you can actually retrieve emails for. And…
-
Pylons or Django?
I am trying to decide whether to use Pylons or Django. Both are frameworks for building Python web applications, but with opposing philosophies. Django tries to be everything. It comes with its own ORM, its own template engine, its own everything. That gives you a nice developing experience because everything fits together and because very…
-
“Programming Languages: Application and Interpretation” now in paperback
Programming Languages: Application and Interpretation, the best book I’ve found on creating your own programming language is now available in paperback. You can still get a free-of-cost copy of Programming Languages: Application and Interpretation at its original site. Actually, the book is now released under a Creative Common license, thank you Shriram! This is, actually,…
-
Quick and dirty continuous testing with Ruby on Rails
I like the idea of continuous testing: seeing that you broke it, the moment you broke it and the same for fixing. There are some tools to do it, but since they are not packaged, yet, for my operating system of choice I went through the quick and dirty route: watch -n 5 rake test…
-
Another simplistic solution, with SCons
SCons is a program designed to replace make and autotools. SCons being a new tool is built with all the knowledge of what problem really this kind of tool should be solving, while make and autotools were built while discovering the real problem. It is natural to expect SCons to have a better design that…
-
Solving Lisp’s problem: a simplistic solution with make
I recently stated what I believe is the biggest problem with Lisp, you can’t make programs with it. In my quest, my first solution is a very simplistic Makefile that does the job using cl-launch, a very interesting program that can turn a Common Lisp program into a Bash script. Other solutions are likely to…
-
The problem with Lisp
I’m not really going to talk about the problem with Lisp, but only a problem. And I’m not really going to talk about Lisp, but Common Lisp. So this post should be called “A problem with Common Lisp”, but the current title is more catchy, isn’t it? You are still with me? nice. Because I…