2600

The New Yorker has a nice article about the 2600 magazine. If you’re familiar with 2600, you’ll enjoy reading about the history of magazine and its editor. If you’re not familiar with it, here’s your chance to see why it’s been so influential (at least among a certain segment)for so long.

Posted in General | Tagged | Comments Off on 2600

Compiling aspell with OS X Yosemite

While I was setting up my new machine, I had to rebuild aspell. The last time I did that it built without any problems. This time, despite the fact that it was the same version as before, there were several fatal errors. I asked DuckDuckGo what it knew about the matter and it referred me to this stackoverflow question.

The answer is correct but it’s not very clear where you have to apply the fixes. For the record, the error is in interfaces/cc/aspell.h in the section marked “errors” that starts on line 237. Just comment out the entire section with #ifndef __cplusplus#endif as lotsoffreetime suggests in the stackoverflow post.

Posted in General | Tagged , | Comments Off on Compiling aspell with OS X Yosemite

Common Lisp Notes and Tips on Symbols

Jean-Philippe Paradis has updated hit notes and tips on Common Lisp symbols. He’s added cross references and polished it up a bit more. It’s still a work in progress but is useful in its current form.

Posted in Programming | Tagged , | Comments Off on Common Lisp Notes and Tips on Symbols

vc-annotate Video

I’ve written about this before but Aaron Schumacher tweeted a reminder

Avdi’s video really is great and worth mentioning again for anyone who might have missed it. It’s not clear from the video but Avdi is using vc-annotate, which works out of the box for Git even if you usually use Magit.

Posted in General | Tagged | Comments Off on vc-annotate Video

Sorry

This morning I updated the .htacess file for Irreal in my seemingly never ending efforts to get spam under control. Sadly, while editing the file I hit 【Shift+x o】instead of【Ctrl+x o】and ended up blocking the site.

If you tried and failed to access the site on Tuesday, please accept my apologies.

Posted in Administrivia | Tagged | Comments Off on Sorry

Xah Lee on EWW

Speaking of eww, Xah Lee has a nice introduction to using EWW. There’s not much to know, really, but Lee has a short FAQ on how to do some of the things that aren’t obvious if you hate to RTFM.

I’ve kicked the tires of EWW but haven’t used it extensively. Some knowledgeable folks, such as Nic Ferrier, think it needs more work but it’s still loads better than what we had before. It’s hard to see how Emacs can ever have a good embedded browser until someone embeds WebKit, or something like it, in Emacs core. There’s been some discussion about that but I’d guess it’s still pretty far off.

In the mean time, EWW is good enough and will probably be an excellent solution for looking up documentation on the Web. I’ve got a lot of that bookmarked in my browser but I can easily see adding a bit of Elisp to bring it up in Emacs instead of having to switch over to the browser.

Posted in General | Tagged | Comments Off on Xah Lee on EWW

Duplicating a Line in Emacs

I don’t need to duplicate a line often enough to make this worthwhile for me but it’s a nice solution and worth considering if you find yourself duplicating lines a lot.

Posted in General | Tagged | Comments Off on Duplicating a Line in Emacs

Compiling Emacs with eww on OS X

I’m old school and like to compile applications myself rather than use something like Homebrew. I have nothing against Homebrew and its brethren, it’s just that compiling things myself helps me stay connected to the development process. Besides, it’s what real geeks do. One consequence of this is that I compile Emacs from source rather than downloading the prebuilt binaries.

I compiled Emacs 24.4 recently and didn’t experience any problems until I tried to use eww. Emacs told me that it had to be compiled with libxml2 to use eww. After a bit of investigation, I discovered that libxml2 was not installed with OS X so I downloaded and compiled it and rebuilt Emacs. Sadly, it still didn’t compile with libxml2. I could see from config.log that configure wasn’t finding the include files for the library. That’s because they installed in /usr/local/include rather than in /usr/include.

After a bit more fumbling around, I discovered the proper spell. If you’re trying to compile Emacs on a Mac and want it to build with libxml2, here it is.

configure --with-ns CFLAGS="-I /usr/local/include/libxml2"
make
make install
Posted in General | Tagged | Comments Off on Compiling Emacs with eww on OS X

Comments

The spammers are hammering on the Irreal site again trying to post spam in the comments. They aren’t getting through but they are consuming resources to the point that my hosting provider is complaining.

Therefore, rather than risk having the site suspended or closed down entirely, I’m going to try turning off comments for a while to see if that helps. I’m really sorry about doing this because I enjoy interacting with and learning from Irreal readers but this is better than not having an Irreal site at all.

If you need to get in touch with me, just mail me at my posting name at the domain name of this site. Again, sorry for the inconvenience.

Posted in Administrivia | Tagged | Comments Off on Comments

Installing Yosemite

Just in case any Apple users out there haven’t already installed the new OS X, Yosemite, beware of an anomaly in the installation process. Apparently, the installation moves /usr/local out of the way during installation and when everything is installed, it moves the contents back file by file.

This happens right at the end. Everyone I’ve talked to says it happens when the installation says it has 2 minutes remaining. If you’re installing on a new machine the whole thing goes pretty quickly. On a machine that’s already seen some use it can take longer. I imagine that would be particularly true for development machines.

In my case, I started the installation of my iMac, aineko, in the early morning and it hadn’t completed when I went to bed. I almost restarted everything but DuckDuckGo advised me to wait. Happily, I did that and in the morning it was ready to go. I don’t know how long it took but it was easily over 12 hours.

So the takeaway is that you should just wait if the Yosemite installation appears to hang.

Posted in General | Tagged | Comments Off on Installing Yosemite