HN user

cxa

9 karma
Posts0
Comments11
View on HN
No posts found.

I have Xmonad running well on Ubuntu 24 with Gnome Flashback

The packages I install are: xmonad libghc-xmonad-extras-dev gnome-flashback gnome-panel

(plus suckless-tools and xmobar)

That should give you a login option for "GNOME Flashback (Xmonad)"

I recall there were a couple of hacks necessary to show the Gnome Panel:

gsettings set org.gnome.gnome-flashback root-background true

gsettings set org.gnome.gnome-flashback desktop false

and then the panels you can hide or remove per your preference

I've found an agreeable middle ground, which is to keep syntax highlighting on but to use a monochrome theme, where different types of tokens (like you mention) are distinguished by contrast instead of color. However, I don't personally favor pure blacks or whites (just ask any master printer).

I do make exceptions. For example, I color my cursor, as well as highlight matching parens if the cursor is on one of the pair (changing just the foreground color of the paren, not inverting it). The only color I use is red.

I don't make any objective claims that this is better, my aim is to make something "done well and tasteful", as you say.

When I read the title of the post, I wrongly assumed it linked to the "RESTful Web Services Cookbook", which is another O'Reilly classic on this topic. The advice I've heard is to read one or the other, depending on which prose style you prefer.

It's nice to see a CC-licensed effort to create a similar resource. It's unfortunate that the names are so similar.

I've been using Input as my default monospace font in both Mac and Linux for the past 5 months, and I have a very high opinion of it.

To anyone curious, I recommend trying the preview tool: http://input.fontbureau.com/preview/

One of its best feature is that after you select your preferences for style, width, weight, and alternates, you can bookmark the URL for later reference or sharing.

Kudos to the company for supporting Loïc Hoguin's work on Cowboy.

One of my favorite features of Cowboy is its REST handling[1], which models a resource as a state machine with callbacks for various behaviors. The API is similar to Webmachine (another great Erlang project); I find it's a much clearer abstraction than mapping each HTTP verb + route to a function, which is what most "REST" frameworks do.

[1] http://ninenines.eu/docs/en/cowboy/1.0/guide/rest_handlers/