kvardek-du.kerno.org
Kvardek Du: SLIME officially available via MELPA
http://kvardek-du.kerno.org/2014/12/slime-officially-available-via-melpa.html
SLIME officially available via MELPA. SLIME has been available from MELPA. For a while, but only recently did we iron out some annoying bugs. Notably, upgrading the SLIME package no longer results in confusion about where SWANK is. So, as of SLIME 2.11, once you have the melpa. Repository set up, installing and updating SLIME from within Emacs is pretty easy:. M-x package-install RET slime RET. Oh, if you want to switch to MELPA, make sure you remove your old SLIME location from Emacs's. Lastfm (en, pt).
kvardek-du.kerno.org
Kvardek Du: 2011-12
http://kvardek-du.kerno.org/2011_12_01_archive.html
Setting up CommonQt on OSX. Can be tricky to setup due to its dependencies from C land. Tricky enough to warrant writing down the steps I went through to get it running on Mac OS 10.7:. If you don't already have Xcode. Install it because you'll need. Grab and install the Qt Libraries. The Qt SDK). I used version 4.7.4. Download, compile and install the SMOKE. At this point,. Failed to build so I had to manually install the two modules I actually needed:. Make -C qtcore install $ make -C qtgui install.
kvardek-du.kerno.org
Kvardek Du: 2013-06
http://kvardek-du.kerno.org/2013_06_01_archive.html
Another odd year, another ECLM. This time around in sunny Madrid at the posh TRYP Ambassador. Within walking distance from Teatro Real and Plaza Mayor. 63 people from 20 countries turned up. Started off with a visibly jet lagged Wes Henderson. A Lisp-to-C compiler with two backends tailored for the iPhone and Android environments. Despite the jet lag, he was quite eloquent! Mocl makes it trivial to call Lisp from Java/ObjC:. I guess it means that there are plenty of implementations around that show how i...
kvardek-du.kerno.org
Kvardek Du: paredit
http://kvardek-du.kerno.org/2014/12/paredit.html
Recently, I've come across these two introductions to paredit:. The Animated Guide to Paredit. So, if you're still not using paredit, have a look at those and give it a try. At first you might feel like the karate kid doing frustrating chores — you can always take a break with. Mdash; but I promise it'll soon pay off! Sítio de Sons (pt). Lastfm (en, pt).
kvardek-du.kerno.org
Kvardek Du: 2012-06
http://kvardek-du.kerno.org/2012_06_01_archive.html
Augmenting bordeaux-threads with atomic operations. Is a portability layer that defines a low-level API for programming shared-state concurrency: basic thread management, locks, timeouts, and condition variables. It has been ported to plenty of CL implementations: ABCL, Allegro CL, CLISP, Clozure CL, CMUCL, Corman Lisp, ECL, Lispworks, MCL, SBCL, and SCL. As such, it's an ubiquitous building block for useful higher-level libraries such as lparallel. I'll start with compare-and-swap (CAS), which is the mo...
kvardek-du.kerno.org
Kvardek Du: Pretty printer puzzle
http://kvardek-du.kerno.org/2015/05/pretty-printer-puzzle.html
This past week, I came across a Lisp challenge that turned out to be trickier than one might expect at first. I needed to pretty-print a Lisp form to a string and identify the positions of certain subforms. Here's an example:. CL-USER (with-output-to-string (*standard-output*) (pprint '(defun factorial (x) (if (zerop x) 1 (* x (factorial (1- x) ) ) ) " (DEFUN FACTORIAL (X) (IF (ZEROP X) 1 (* X (FACTORIAL (1- X) ) )". In this, output the bounding indices. Form are 24 and 77. In other words:. My solution d...
kvardek-du.kerno.org
Kvardek Du: SLIME 2.4
http://kvardek-du.kerno.org/2014/03/slime-24.html
SLIME 2.4 has been released. Without any exciting release management. But with extensive release notes. Sítio de Sons (pt). Lastfm (en, pt).
kvardek-du.kerno.org
Kvardek Du: 2014-11
http://kvardek-du.kerno.org/2014_11_01_archive.html
Cons cat (cons cat nil). I thought this tweet. Was pretty funny, despite the diagrammatic inaccuracy that twitterers were quick to point out. :-) Reminds me of my second cat. Whom I named CADR, of course. Sítio de Sons (pt). Lastfm (en, pt).
kvardek-du.kerno.org
Kvardek Du: LOOP quiz
http://kvardek-du.kerno.org/2014/12/loop-quiz.html
Loop for i below 10 finally (return i). Return 9 or 10? Loop for i upto 10 finally (return i). Return 10 or 11? Loop for i below 10 for j upto 10 finally (return (list i j) ). Loop for i below 10 and. J upto 10 finally (return (list i j) ). I stumbled upon the semantics of this last example in a recent bugfix. And thought it was worth sharing. (Reminded me of the joke about what's hard in CS. Which ones, if any, did you get wrong? PS: LOOP for Black Belts. Is my favorite LOOP tutorial. Sítio de Sons (pt).
kvardek-du.kerno.org
Kvardek Du: 2013-11
http://kvardek-du.kerno.org/2013_11_01_archive.html
SISCOG's ECLM 2013 slides (finally) up. It took a while, but our ECLM 2013. Slides “ SISCOG: a story written in Lisp. Rdquo; have been published. Incidentally, they are also featured in Franz's ACL Success Stories. On a related note, Vsevolod Dyomkin published his video recordings. Of the meeting. Sadly, we didn't get permission to publish our video. Finally, SISCOG is hiring. Sítio de Sons (pt). Lastfm (en, pt).