Posts tagged Racket

The Big Switcheroo

:: Racket, Emacs

In my previous post I talked about how Racket Mode now will often want the back end command server, before actually needing a live REPL — but it has to start a REPL anyway. This was bothering me. So I went on to address that. Doing so entailed reversing the I/O model for the back end. As a bonus, that set up fairly short strokes to supporting multiple REPLs.

Using check-syntax in Racket Mode

:: Racket, Emacs

During most of January and into February, I’ve been working full-time to have Racket Mode make better use of drracket/check-syntax analysis of fully-expanded code. I’m pretty excited by it.

Future of Racket

:: Racket

For most of the last decade I’ve made things in Racket — including making tools and tutorials to support other people making things in Racket.

At RacketCon 2019, Aaron Turon gave the keynote about the Rust community.

That afternoon, I had a talk about Racket Mode for Emacs.

The next morning?

Supporting multi-in

:: Racket, Emacs

In racket-mode I improved support for the multi-in form provided by racket/require.

Exploding Frog

:: Racket, Frog

I’m writing and publishing this post using something other than Frog.

Having said that, I’m not planning to abandon maintaining Frog.

Thread names

:: Racket

Sometimes people want Racket threads to have useful names — for example to show in logger output. Here is one way to do it.

racket-mode

:: Racket, Emacs

Even though it’s been one of my most time-consuming projects, I’ve hardly blogged about racket-mode — an Emacs major mode for Racket. To change that, here’s a post giving an overview of how racket-mode works, as well as a look at how it might grow someday.

Extramaze LLC: Using system fonts (not Google fonts)

:: Racket, Extramaze

Update: Due to lack of interest/use, in June 2021 this site was shut down and user data (emails, names, search alerts) deleted from all systems and backups.

In my previous post I discussed what I’m doing with deals.extramaze.com — and what I’m intentionally not doing. Since then, I’m not-doing more. This improves performance and simplifies the content security policy.

Extramaze LLC: Using Racket, PostgreSQL, AWS (but no ads or JS)

:: Racket, Extramaze

Update: Due to lack of interest/use, in June 2021 this site was shut down and user data (emails, names, search alerts) deleted from all systems and backups.

For Extramaze LLC I’m using Racket in a commercial project — a search engine with email alerts for deals on music gear — deals.extramaze.com.

This blog post is a sort of whirlwind tour of the use case and business model, as well as how I use things like Racket, PostgreSQL, and AWS — but don’t use advertising or JavaScript.

Racket Makefiles

:: Racket

A few years ago I wrote about makefiles for Racket. Some things have changed.

  1. The old makefile built and pushed documentation to a GitHub Pages branch of the repo. That’s no longer necessary: The Racket package catalog builds and hosts documentation.

  2. The Racket package catalog puts a yellow badge of shame on packages with missing dependencies (deps and build-deps in the package’s info.rkt). I want the makefile to check this.

  3. In .travis.yml files for Travis CI, I think the script section ought to simply invoke targets in the makefile — delegating details to the latter.

  4. Likewise some details needn’t even be in the makefile — they can move to the collection’s info.rkt. Example: The list of directories to clean.

  5. The old makefile had separate PACKAGENAME and COLLECTS variables; for single-collection packages they were the same value. I wanted to simplify this to just the package name and use the appropriate package variants of raco commands.

In that spirit, here’s an updated Makefile, which I recently started using in the rackjure, markdown, and frog projects.

Please scroll

:: Racket, Emacs

At-expressions

:: Racket, racket-cookbook

Keyword structs, revisited

:: Racket, macros, software

GitHub dropped Pygments

:: Racket, software

Racket workflow

:: Racket

Why macros?

:: Racket, Clojure, Hacker School

Written in Racket

:: Racket

Destructuring lists with match

:: Racket

Does your Racket project need a makefile?

:: Racket, racket-cookbook

`__FILE__` and `__LINE__` in Racket

:: Racket, racket-cookbook

Fallback when required function not available

:: Racket, racket-cookbook

Racket cookbook

:: Racket, racket-cookbook

Using syntax/loc and unit test macros

:: Racket, racket-cookbook, macros

Using syntax/loc

:: Racket, macros

Racket package management

:: Racket

Markdown parser redesign

:: Racket

Using call/input-url

:: Racket, racket-cookbook

Skim or sink

:: software, Racket

Using Travis CI for Racket projects

:: Racket

A case with fall-through

:: Racket, macros

Chromebook Pixel

:: Google, Linux, Racket

The ~> Threading Macro

:: Racket, Clojure, macros

feeds2gmail

:: Google, Racket, Atom, RSS

A guide for infrequent contributors to Racket

:: Racket, Git

Planet vs. the new package system

:: Racket

Parameters in Racket

:: Racket

Serve static files

:: Racket

Keyword structs

:: Racket, macros, software

Frog overview

:: blog, Frog, Racket, software

Live with Frog

:: blog, Frog, Racket, software

Lull while I prepare to change tires

:: software, Racket, blog, Frog

Fear of Macros

:: macros, Racket, software