dthompson.us
Jump to Jasmine Specs with Rinari — dthompson
https://dthompson.us/jump-to-jasmine-specs-with-rinari.html
Jump to Jasmine Specs with Rinari. December 17, 2013. I use the rinari. Emacs mode to assist me when working on rails projects. One of rinari’s most useful features is the ability to quickly jump from one file to another related file. I use this feature almost exclusively for jumping between a ruby class file and its associated rspec file, but lately I’ve been spending most of my time writing javascript. At VHL, we use jasmine. For our unit testing framework and the jasmine ruby gem. Now I can press.
dthompson.us
First GNU Guile Patch and More Guix Packages — dthompson
https://dthompson.us/first-gnu-guile-patch-and-more-guix-packages.html
First GNU Guile Patch and More Guix Packages. November 22, 2013. I have spent some of the last month working on contributing to GNU Guile and now I can finally say that I have contributed code to the project. Guile has several hash table implementations: a Guile native one, SRFI-69, and R6RS. SRFI-69 contains a handy procedure,. Which allows for a sort of hash literal-like syntax:. However, I prefer to use Guile’s native hash implementation, and SRFI-69 is incompatible with it, so I decided to port.
dthompson.us
Live Asset Reloading with guile-2d — dthompson
https://dthompson.us/live-asset-reloading-with-guile-2d.html
Live Asset Reloading with guile-2d. May 04, 2014. Guile-2d provides a dynamic environment in which a developer can build a game incrementally as it runs via the Guile REPL. It’s nice to be able to hot-swap code and have the running game reflect the changes made, but what about the game data files? If an image file or other game asset is modified, it would be nice if the game engine took notice and reloaded it automatically. This is what guile-2d’s live asset reloading feature does. Takes a procedure like.
dthompson.us
Reproducible Development Environments with GNU Guix — dthompson
https://dthompson.us/reproducible-development-environments-with-gnu-guix.html
Reproducible Development Environments with GNU Guix. November 08, 2014. A purely functional package manager and GNU/Linux distribution. Using Guix, you can easily create a development environment for any software project using the. Is a new utility added in Guix 0.8, which should be released in a few weeks. It accepts one or more packages as input and produces a new shell environment in which all of the dependencies for those packages are made available. For example,. At your option) any later version.
dthompson.us
Syncing Required Packages in Emacs — dthompson
https://dthompson.us/syncing-required-packages-in-emacs.html
Syncing Required Packages in Emacs. December 30, 2013. I use Emacs on several different computers. To keep my configuration consistent across all of them, I do what many people do and made the. Directory a git repository. I don’t like to keep copies of all of the Elisp extensions that I use, such as paredit and geiser, in this repository. Instead, I prefer to use package.el (introduced in Emacs 24) with the MELPA. There’s a project called Pallet. Now, it’s as easy as typing. Function. This approach d...
dthompson.us
Rendering HTML with SXML and GNU Guile — dthompson
https://dthompson.us/rendering-html-with-sxml-and-gnu-guile.html
Rendering HTML with SXML and GNU Guile. April 10, 2015. GNU Guile provides modules for working with XML documents called SXML. SXML provides an elegant way of writing XML documents as s-expressions that can be easily manipulated in Scheme. Here’s an example:. I don’t know about you, but I work with HTML documents much more often than XML. Since HTML is very similar to XML, we should be able to represent it with SXML, too! Html head title Hello, world! Title script src=foo.js /! Head body h1 Hello! Or ren...
dthompson.us
A Cooperative REPL Server for Guile 2.0.10 — dthompson
https://dthompson.us/a-cooperative-repl-server-for-guile-2010.html
A Cooperative REPL Server for Guile 2.0.10. January 24, 2014. The next release of GNU Guile, 2.0.10, is to be released real soon now . My contribution to this release is the new. Module. This module introduces a useful variant of the REPL server that I’ve named the cooperative REPL server. It is cooperative because it can be integrated with single-threaded programs without the thread synchronization issues present in the ordinary REPL server. Here’s an example of how to use it:. When the server is spawne...
dthompson.us
My First GNU Guix Patch — dthompson
https://dthompson.us/my-first-gnu-guix-patch.html
My First GNU Guix Patch. October 16, 2013. Over the weekend, I decided to try out GNU Guix: A fully functional package manager based on Nix and a distribution of the GNU system. I’m a big proponent of GNU Guile, thus I was excited to see a DSL for package management written with Guile. I was told that libtheora would be pretty easy to package, and it was. Here’s what the package definition looks like:. Http:/ downloads.xiph.org/releases/theora/libtheora-. The pc files refer to libogg. Pretty slick, eh?
dthompson.us
Functional Reactive Programming in Scheme with guile-2d — dthompson
https://dthompson.us/functional-reactive-programming-in-scheme-with-guile-2d.html
Functional Reactive Programming in Scheme with guile-2d. March 09, 2014. Last month, the GNU Guile. Project celebrated the 3rd anniversary of its 2.0 release with a hacker potluck. Guilers were encouraged to bring a tasty hack to the mailing list to share with everyone. My dish was a simple functional reactive programming. Define c ( a b). To be the sum of variables. At the time of evaluation. If. Is assigned a new value,. To react to changes in. So, here’s a real-world example of guile-2d’s FRP API:.