Andy

joined 2 years ago
MODERATOR OF
 

I don't have the OS to play with this, but it looks fun!

From Wikipedia:

Prograph is a visual, object-oriented, dataflow, multiparadigm programming language that uses iconic symbols to represent actions to be taken on data. Commercial Prograph software development environments such as Prograph Classic and Prograph CPX were available for the Apple Macintosh and Windows platforms for many years but were eventually withdrawn from the market in the late 1990s. Support for the Prograph language on macOS has recently reappeared with the release of the Marten software development environment.

link

 

I think pipeline-oriented tooling is relevant enough for this community (is this thing on?).

A PRQL query is a linear pipeline of transformations

It compiles to plain SQL, but queries generally start with a table.

Each line of the query is a transformation of the previous line’s result. This makes it easy to read, and simple to write.

PRQL consists of a curated set of orthogonal transformations, which are combined together to form a pipeline. That makes it easy to compose and extend queries. The language also benefits from modern features, such syntax for dates, ranges and f-strings as well as functions, type checking and better null handling.

link

 

I'm adding it to the sidebar under practice.

I was alerted to it via this nice blog post with a solution in Factor.

I'll put up at least a few Factor solutions of my own at a tiny repo, and am happy to answer any questions or take any advice about them.

Here's another link to the challenges

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

Only responding to the IRV portion of your comment, and repeating myself from elsewhere in this thread:

Instant runoff voting is terrible and more complicated than people think, and I will never support it. It's a false improvement whose adoption will discourage meaningful change.

If it's a single winner election and you want a simple improvement, use approval voting. If you want to take on a little complexity for some further improvement, use delegable yes/no voting. I have one idea for further improvement, if anyone is really interested in voting methods.

Link to my anti-IRV rant

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

Instant runoff voting is terrible and more complicated than people think, and I will never support it. It's a false improvement whose adoption will discourage meaningful change.

If it's a single winner election and you want a simple improvement, use approval voting. If you want to take on a little complexity for some further improvement, use delegable yes/no voting. I have one idea for further improvement, if anyone is really interested in voting methods.

Link to my anti-IRV rant

[–] Andy@programming.dev 2 points 2 years ago* (last edited 2 years ago) (2 children)

In 2020 I paid a one time fee for a lifetime of Pro. Is that definitely not still an option?

[–] Andy@programming.dev 1 points 2 years ago

I'm not really recommending it over Arch, but my favorite rolling Debian distro is Siduction.

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

Haha it's all good, but it sounds like selling the house to avoid cleaning a table.

[–] Andy@programming.dev 2 points 2 years ago

Honestly that sounds good to me, but not everyone configures their own preferred fonts, so it may not be a crowd pleaser. It's not too bad for me to just override the style on my side.

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

I had a look and it can be set by setting font-family inside the .hljs block within the theme (e.g. atom-one-dark.css).

[–] Andy@programming.dev 10 points 2 years ago (5 children)

Woohoo! You didn't even mention: code blocks no longer mangle ampersands and less-than symbols!

  • Is there any way to force it to be recognized as a specific programming language?
  • What library does it use? I'd like to see which langs are supported.
  • Might it become possible to have it use our system/browser-preferred mono font?

Anyway it looks great and is a much appreciated feature, thank you!

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

I searched and found the project. If you're having the same issue described here, it's been known for a few weeks and

will be fixed with the next release.

[–] Andy@programming.dev 3 points 2 years ago (5 children)

I don't know SP or how its shortcuts work, but did you check if you already have those shortcuts assigned in plasma's global shortcuts? The easiest way is to assign them to any plasma global shortcut and see if it tells you there's a conflict.

If that's not it, can you trigger those SP actions with an external command? Then you could do it through plasma global shortcuts.

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

Thanks!

I know how stupid this sounds, but I have trouble using or even remembering software until I know how it's spelled and pronounced. Same with human names, really. Does this rhyme with the English word "eyes," or "ice," or neither? Or does it sound exactly like "breeze?"

 
 

...

Factor ... scales horribly both with respect to lines of code per word (function) and the amount of local state (number of variables). This is because local state is manipulated on a stack which you have to keep track of in your head. ...

So instead you're constantly having to come up with neat composable abstractions to fold up the state. This is the sort of thing that makes code elegant, loosely coupled and small in any language. ...

...

 

It's just about time! Huzzah!

I'll collect links and resources here:

I'll probably only last the first few days, optimistically a week, but plan on submitting my solutions in Factor to the AoC community, and I'll link any of those here in the comments.

silly dino picture 1

silly dino picture 2

silly dino picture 3

silly dino picture 4

view more: ‹ prev next ›