Andy

joined 2 years ago
MODERATOR OF
 

I'm posting this mostly for the new hacker news discussion: https://news.ycombinator.com/item?id=40736174

4
F: Functional False (www.nsl.com)
submitted 1 year ago* (last edited 1 year ago) by Andy@programming.dev to c/concatenative@programming.dev
 

F is a pure functional concatenative language originally designed as an extension of False. F contains the list-operations of K3 and the dip combinator of Joy. Floating-point and symbolic datatypes are supported. One-time assignment is enforced in syntax. A theory of function-valence and -charge is outlined. F also contains a general continuation primitive $, and the pattern sublanguage of XY. G is a variant of F in which the K3 adverbs are implemented as primitives.

Discussion on lobsters: https://lobste.rs/s/m9xv5y/f_functional_false

 

This is not my own content!

 

This is not my own content!

 

Factor gains a quit function (and preserves history)!

 

This is already in the sidebar, but now there's a fresh post on Lobsters, so maybe some good discussion will come of it.

[–] Andy@programming.dev 1 points 1 year ago

Thanks, I have, but it's not a replacement for me. I'll try it again once a year though.

[–] Andy@programming.dev 1 points 1 year ago (2 children)

Some combination of things like performance, non distracting presentation, the minimap, multi cursor that works how I like, some plugins I like, no web browser, the way every open buffer is always safe and saved in some cache without necessarily saving to the edited file, the UX for split view across tabs, minimal fuss to get UI text and colors legible for my bad eyesight, etc.

[–] Andy@programming.dev 7 points 1 year ago (6 children)

Sublime Text, Google Photos, Google Maps (partially)

[–] Andy@programming.dev 1 points 1 year ago

Thanks so much!

[–] Andy@programming.dev 1 points 1 year ago

Thanks, I had tried with a live system that uses a Wayland session and couldn't do it, and didn't know what live system uses Plasma 6 with X11.

[–] Andy@programming.dev 1 points 1 year ago

Can the designer generate or import QML these days?

[–] Andy@programming.dev 3 points 1 year ago

Two books that may be helpful:

  • Fluent Python by Luciano Ramalho
  • Python Distilled by David M. Beazley

I'm more familiar with the former, and think it's very good, but it may not give you the basic introduction to object oriented programming (classes and all that) you're looking for; the latter should.

[–] Andy@programming.dev 1 points 1 year ago (1 children)

I've never had a Statamic site myself, didn't know about it till this thread. I like site generators but don't want to invest energy in ones that don't handle colors very well. I don't want to have to override colors, either as a user or developer, though I often do. For a an SSG anyway I want to be able to trust the tool to handle legibility.

I'm also terrible with HTML and CSS.

[–] Andy@programming.dev 2 points 1 year ago (3 children)

No. In addition to browsers' prefers-dark-mode setting, there is also the fallback foreground and background color choice, used whenever a website does not specify a foreground or background color. One common case is when viewing a plain unstyled site or txt file.

A dark-mode preferring user might choose for these fallbacks a light foreground and dark background. The problem is then that some designers will carelessly specify either the foreground or background color (and not both), assuming that their choice will happen to have good contrast with every user's browser preferences.

More low contrast examples from the Statamic docs:

Statamic search field

Statamic adspace

In Firefox's preferences page those settings are accessed with the "Manage Colors" button just below dark-mode selection, and look like this:

Firefox Preferences -- Manage Colors

Notice that I am not overriding any colors specified by the page.

[–] Andy@programming.dev 1 points 1 year ago (5 children)

The main site isn't made with Statamic?

Anyway the docs pages fail in certain parts, too, anyway:

Screenshot of a suggestion box in Statamic docs

view more: ‹ prev next ›