Moss's BlogletMoss's BlogletThe thing that makes Lisp-style function calls...- March 31, 2008 The thing that makes Lisp-style function calls harder to understand than C-style function calls is not the fact that the function name goes inside the parentheses. In itself, (print "Hello") is no more obscure than print("Hello"). But it does lead to something hard, namely, that you can no longer use parentheses for grouping: (x) or ((x)) are no longer equal to x. (x) is a call to the function x, and ((x)) is a call to the function returned by that call. In a C-style...http://www.m14m.net/bloglet-archive-2008026234119.php#2008090182608 This is probably also a sign that I should really...- March 30, 2008 This is probably also a sign that I should really get a local testing environment running. I have unit tests, which is nice, but I don't have an apache server running bloglet where I can post stuff like this and test it without everyone else seeing. That's getting to be a problem. Also, Selenium tests sure would be helpful for all this JavaScript stuff.Commenthttp://www.m14m.net/bloglet-archive-2008026234119.php#2008089224643 ...especially if I manage to get it right.- March 30, 2008 ...especially if I manage to get it right.Commenthttp://www.m14m.net/bloglet-archive-2008026234119.php#2008089223903 Interesting...- March 30, 2008 Interesting. Some of the work I'm doing on the saved entry stuff might also help with some of the weirdness we see in commenter name cookies from time to time.Commenthttp://www.m14m.net/bloglet-archive-2008026234119.php#2008089223544 Don't mind me--just testing some stuff out.- March 30, 2008 Don't mind me--just testing some stuff out.Commenthttp://www.m14m.net/bloglet-archive-2008026234119.php#2008089223057 Three days and some much needed rest later, it's...- March 27, 2008 Three days and some much needed rest later, it's tomorrow! So, here's the more detailed update, and the plan for the final week (and by "week" I mean from now through Monday). Time spent blogfixing: 12 hours and 30 minutes (Planned: maybe 13.) Blank page bug: tentatively, since it was impossible to reproduce, fixed! The entry posting code now checks that the new page has been saved successfully before replacing the old page. Also, it's now written entirely in Python, rather...http://www.m14m.net/bloglet-archive-2008026234119.php#2008086221700 This is a test.- March 27, 2008 This is a test.Commenthttp://www.m14m.net/bloglet-archive-2008026234119.php#2008086214347 It's late, so the full update comes tomorrow. For...- March 24, 2008 It's late, so the full update comes tomorrow. For now: items 1-3 done, as predicted, though one part of that isn't deployed yet. The Blog Tracker will recognize responses to your comments, as long as you use the same name when commenting that you do when reading the tracker. One slight display quirk that I'll let people discover for themselves. Everyone is encouraged to vote on what I should do next in the comments--I'm not sure I have enough input to put together next weeks work, so far.Commenthttp://www.m14m.net/bloglet-archive-2008026234119.php#2008083235131 Doing all this work on bloglet has been a great...- March 22, 2008 Doing all this work on bloglet has been a great opportunity to get back into using Python. A few years ago, it was my language of choice for anything I did on my own. Then I started playing with Ruby (and especially Rails) and started using it wherever I would have used Python before. Ruby's blocks are such a great feature that I couldn't imagine doing without them. On the other hand, Python has its own virtues (in particular, it's got the cleanest syntax I've ever seen, even with its handful...http://www.m14m.net/bloglet-archive-2008026234119.php#2008082175528 Just finished implementing most of the new blog p...- March 22, 2008 Just finished implementing most of the new blog posting code. It's passing all the tests I have, but I still need to make posts ping BLT. In my experience, this is one of the riskiest points in the software development process: you've got something that passes all its tests and that appears to work, but there are a handful of requirements that still aren't tested and that could easily be forgotten. I'm not sure how to deal with this risk. I suspect having better acceptance tests would be a good.http://www.m14m.net/bloglet-archive-2008026234119.php#2008082155449 |