Announcing chief

I made a new Racket thing today! chief is a port of a subset of foreman‘s functionality to Racket. It lets you run sets of processes together based on a Procfile. If that sounds useful to you, do check it out!

Generators from Scratch

Generators in Python One of the nice things about Python is that it comes with in-built support for “generators”, functions that can suspend themselves and be resumed in the middle of processing. Here’s a generator that produces the fibonacci series: 1 2 3 4 5 6 def fib(): x = 0 y = 1 while True: y, x = x + y, y yield x A generator is instantiated every time you call the fib function.

Racket for e-commerce

I had originally shared a version of this post with a small, private mailing list, but then I figured there’d be no harm in sharing it with a larger audience so here it is. My girlfriend and I recently launched, a small e-commerce site selling Japanese green tea here in Romania (the site defaults to Romanian, but you can change the language by scrolling to the bottom – we don’t ship outside of Romania, though, sorry!

Announcing deta

I just released the first version of deta, a Racket library for mapping between database tables and structs. A bit like Elixir’s Ecto.

You can install it from the package server with:

raco pkg install deta

Check it out!

racket/gui saves the day

Yesterday, I bought an icon pack containing over 3,000 (!) SVG files and macOS utterly failed me when I tried to search the unarchived folder.

empty search screen

So I did what any self-respecting Racketeer would do. I used this as an excuse to play around with Racket’s built-in GUI library!

the final product