a-nickels-worth.blogspot.com
A Nickel's Worth: June 2007
https://a-nickels-worth.blogspot.com/2007_06_01_archive.html
Sunday, June 17, 2007. Over the last six months I have been porting the 1981 version. My intention was to learn the basics of CL; it's a straight port of the game. I wish I had thought of porting something sooner (especially Rogue, which I once ported to PC/GEOS. In the case of C and CL, porting was a good way to learn all the side-effect-y features of CL that are often glossed over in CL books (which focus more on functional programming). Was until I realized it's equivalent to make. Links to this post.
a-nickels-worth.blogspot.com
A Nickel's Worth: August 2007
https://a-nickels-worth.blogspot.com/2007_08_01_archive.html
Saturday, August 25, 2007. For all I care. Maybe blog, will I, about it, some day. So macros, in fact, cannot really get in the way of readability. In fact, they have the potential to greatly enhance readability, used judiciously (and as pointed out earlier, if your company is not run judiciously, you have larger issues to work out first). How many of you out there have worked somewhere that had some kind of coding guidelines? I could go on and on about this, but it's getting late so I'll just wrap it up...
a-nickels-worth.blogspot.com
A Nickel's Worth: CL-ROGUE
https://a-nickels-worth.blogspot.com/2007/06/cl-rogue.html
Sunday, June 17, 2007. Over the last six months I have been porting the 1981 version. My intention was to learn the basics of CL; it's a straight port of the game. I wish I had thought of porting something sooner (especially Rogue, which I once ported to PC/GEOS. In the case of C and CL, porting was a good way to learn all the side-effect-y features of CL that are often glossed over in CL books (which focus more on functional programming). Was until I realized it's equivalent to make. New Ways to Discove...
a-nickels-worth.blogspot.com
A Nickel's Worth: September 2007
https://a-nickels-worth.blogspot.com/2007_09_01_archive.html
Sunday, September 2, 2007. It is unlikely that every. Programmer is familiar with Icarus. But I bet that almost all programmers have something in common with him. Programmers are saturated with advice not. To do things, similar to the advice Icarus' dad gave him about aviation. Don't use threads unless you really know what you're doing (and then don't use them anyway.) Don't use new language features (they're too dangerous.) Use the "right tool for the right job" (i.e., not the one you. How cool is that?
a-nickels-worth.blogspot.com
A Nickel's Worth: Everything in Moderation
https://a-nickels-worth.blogspot.com/2007/02/pl2.html
Monday, March 12, 2007. Operation code (which was a real b* *h to write, by all accounts). C's other statement types translated readily into DEA, too. For example, the "for" loop reduced 30 lines of DEA (on average) down to about 10 lines (on average) of C: a big savings in those days, when one had to write code by hand, telegraph it to a computing facility (at a penny a word! And wait patiently for the results. I commend heartily the intentionally. Tall to ride The Bombaster. Have changed since 1849....
a-nickels-worth.blogspot.com
A Nickel's Worth: Scripting in CL
https://a-nickels-worth.blogspot.com/2008/02/scripting-in-cl.html
Tuesday, February 12, 2008. Has been overlooked as a scripting language, even though scripting in CL is faster than it is in traditional scripting languages. CL's interactivity and macro system make it ideal for quick-and-dirty hacking. For one thing, its syntax is so simple that almost anything can be typed in at the CL command-line:. Sure enough, it doesn't return a float! This interactivity isn't just useful for exploring (or remembering) basic language features. It's also how you script in CL. If you...
a-nickels-worth.blogspot.com
A Nickel's Worth: March 2008
https://a-nickels-worth.blogspot.com/2008_03_01_archive.html
Sunday, March 23, 2008. This blog is about mechanically optimizing CL. Code We will not discuss optimizing algorithms; instead we'll transform the code in rote ways to improve performance. To illustrate these techniques, we'll re-implement Perl's core Text: Soundex. Function in CL. Let's start with the Perl code, straight from the 5.8.8 distribution. Handle no args as a single empty string. S / $fc /. S / ({4}).*/$1/. Operator, so we implement a crude version:. Table (make-array '(256) :element-type.
a-nickels-worth.blogspot.com
A Nickel's Worth: November 2007
https://a-nickels-worth.blogspot.com/2007_11_01_archive.html
Tuesday, November 6, 2007. Tip #0: Use Emacs 22. Emacs 22 is super stable. About half of my .emacs file (before I cleaned it up) was loading stuff that's now part of Emacs 22 and has autoloads. Tip #1: Never quit Emacs. Okay, this has nothing to do with your .emacs file, but I have to put it in here. Just because your .emacs file should load quickly doesn't imply that you should quit and restart all the time. Figure it out! Tip #2: (require 'cl). Tip #3: Never LOAD, never REQUIRE. The only call to LOAD.
a-nickels-worth.blogspot.com
A Nickel's Worth: Ulrich Drepper's Memory Paper and CL
https://a-nickels-worth.blogspot.com/2008/05/ulrich-dreppers-memory-paper-and-cl.html
Wednesday, May 21, 2008. Ulrich Drepper's Memory Paper and CL. I recently came across Ulrich Drepper's excellent paper, What Every Programmer Should Know About Memory. There is a lot of fascinating stuff in there about an important class of things you sometimes. Need to do to achieve excellent performance. While the paper concentrates on C, I was wondering if some of the same effects could be observed in a high-level language like CL. For the record, I think CL is both. Optimize (speed 3) (safety 0) ).
SOCIAL ENGAGEMENT