Andy

joined 2 years ago
MODERATOR OF
[–] Andy 3 points 1 month ago

If you choose to give Fedora a try, I recommend Ultramarine, which has more set up from the start, including their "Terrs" repository with more updated packages.

2
Emit | Re: Factor (re.factorcode.org)
submitted 1 month ago by Andy to c/concatenative
5
submitted 1 month ago by Andy to c/concatenative
 

Discussion on HackerNews

 

Slint is a GUI toolkit, and is largely not relevant to concatenative programming. But the latest release adds a touch of postfix to the mix, which is nice to see.

From the blog post:

Math Gains Postfix Support

A subtle but profound change to the language. Traditional syntax:

Math.max(20, Math.abs(value.x))

New postfix syntax:

value.x.abs().max(20)

The new syntax improves readability by making the transformation steps more explicit. It works well for many operations but has limitations:

Effective for simple transformations (e.g., abs, max) Less intuitive for operations like clamp or atan2.

pos.y.atan2(pos.x) // Less clear than atan2(pos.y, pos.x)

So for now you cannot use postfix for all functions in the Math namespace. We may revisit these cases later, so give them a try and let us know your thoughts.

6
Roc, Exercism, Forth! (isaacvando.com)
submitted 2 months ago by Andy to c/concatenative
[–] Andy 3 points 2 months ago

In no particular order.

2
Battlesnake | Re: Factor (re.factorcode.org)
submitted 2 months ago by Andy to c/concatenative
[–] Andy 7 points 2 months ago

Ah yes you can tell by the post title:

best linux terminal emulator

[–] Andy 2 points 2 months ago (1 children)
[–] Andy 17 points 2 months ago (4 children)

For me: Wezterm. It does pretty much everything. I don't think Alacritty/Kitty etc. offer anything over it for my usage, and the developer is a pleasure to engage with.

Second place is Konsole -- it does a lot, is easy to configure, and obviously integrates nicely with KDE apps.

Honorable mention is Extraterm, which has been working on cool features for a long time, and is now Qt based.

[–] Andy 3 points 3 months ago

Just note that the comment was inaccurate, in that their weird encryption is indeed open source at least.

5
Cash Register | Re: Factor (re.factorcode.org)
submitted 3 months ago by Andy to c/concatenative
[–] Andy 1 points 4 months ago

I'd say an important part of this calculator's interaction model is doing something, getting a result, then doing something else to that result. That's not too bad in the regular Python interpreter either.

For example, in Python:

>>> 5
5
>>> 4 + _
9
>>> 2 * _
18

In Stacker:

>>> 5
[5]
>>> 4 +
[9]
>>> 2 *
[18]

Does Hy have something like the Python interpreter's _?

[–] Andy 1 points 4 months ago (2 children)

So it looks like a totally different data flow style, and (I think) geared toward writing then running programs, whereas Stacker is more for interactive stack-oriented calculator tasks.

[–] Andy 1 points 4 months ago (4 children)

I've never used Hy. Does it offer any concatenative-style interaction?

view more: ‹ prev next ›