Recent submissions

Comment · 1 year ago
Comment · 1 year ago
What do you think stack based languages like Factor miss in this regard?
Comment · 1 year ago
FWIW in Factor you can set dynamic variables with

  "coolvalue" thisisthevar set
or if you use the `variables` vocab, alternately:

  "coolvalue" set: thisisthevar
and lexical variables are set with

  "coolvalue" :> thisisthevar
Comment · 1 year ago
Thank you!

Because I love to practice and demonstrate Factor, this is working code for that example:

  "f1.txt" "f2.txt" [ utf8 file-lines [ string>number ] map ] bi@ vdot
Comment · 1 year ago
Do concatenative langs like Factor fit the bill?
Comment · 1 year ago
An alternative (like arrow keys) would be great, as I don't think I can right-click-drag with my touchpad.
Comment · 2 years ago
I tried pasting the CSS from https://cdn.jsdelivr.net/npm/water.css@2/out/water.css , which sets link color to #0076d1, but the links still render in black, which is hard to read when my browser is set to prefer the dark colors from that CSS.
Comment · 2 years ago
Comment · 2 years ago
1. That's a good looking Hugo theme!

2. Implicitly chain everything all the time!

In Factor, you might do it as:

    reverse [ sq ] [ even? ] map-filter [ . ] each
Or with a little less optimizing:

    reverse [ sq ] map [ even? ] filter [ . ] each
The least obvious thing is that the period is the pretty-print function.
Comment · 2 years ago
A major reason I stick with yadm, aside from that it works great and offers me no trouble, is that for basic usage I can just reuse my existing familiarity with the git interface, replacing "git" with "yadm" in the command.
Comment · 2 years ago
Comment · 2 years ago
I'll add that https://github.com/0xType/0xProto is worth checking out, if you haven't. What mono (and proportional) fonts do you find work best for you?
Comment · 2 years ago
Comment · 2 years ago
There's a font apparently based on Andika with some disambiguating improvements, called Cadman.
Comment · 2 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton