Better HN
topnewbestaskshowjobs
Log inSign up

razetime

121 karma · joined Jun 11, 2021 (5y ago) · 36 submissions

Submissions

comment 3y ago · link · parent

array languages are used by several companies for their work. K for example is pretty popular in fintech. Some present companies provide services for array languages as well.

https://www.dyalog.com/case-studies/index.htm https://github.com/interregna/arraylanguage-companies

2.

Delta Chat is a messaging app that works over email(delta.chat ↗)

3 points · by razetime · 3y ago · discuss

3.

Advocacy for Patches(helloboi.osmarks.net ↗)

1 points · by razetime · 3y ago · discuss

4.

The Prolog Toplevel(youtube.com ↗)

3 points · by razetime · 4y ago · discuss

5.

System for booting multiple diskless machines with a central root FS(github.com ↗)

2 points · by razetime · 4y ago · discuss

6.

The Godot Game Engine Now Has Its Own Foundation(phoronix.com ↗)

4 points · by razetime · 4y ago · discuss

comment 4y ago · link · parent

I don't remember twitter having a serious vibe. It's a mess of vibes. Tumblr is also a big mess, but more on the goofy side. I don't think it would change much even with a twitter diaspora.

8.

Markus Triska Interview on Prolog(youtube.com ↗)

3 points · by razetime · 4y ago · discuss

9.

Bzip3 is available for Debian Sid(tracker.debian.org ↗)

7 points · by razetime · 4y ago · 2 comments

comment 4y ago · link · parent

It's a pretty ordinary position to take right now, I believe.

comment 4y ago · link · parent

a site doesn't have to justify its existence by being an alternative to anything.

12.

Lil: A Scripting Language(beyondloom.com ↗)

104 points · by razetime · 4y ago · 28 comments

comment 4y ago · link · parent

Seeing this snide and shallow comment, I think you could benefit from expanding your mind by learning J: http://www.jsoftware.com/help/learning/contents.htm

comment 4y ago · link · parent

Let's change the first line:

> One misconception is that languages like J are in the same caliber as less practical languages (esoteric languages like brainf*k) that use symbols more than words. The assumption is that these are mostly for recreational programming.

Making some crude assumptions here, I believe you've already invested a lot of time into studying python, or some other well known language. Understanding python or C gives you an idea of hundreds of other languages because they use similar keywords and structures to represent their code. English also helps a great deal in understanding these languages.

Now, looking at this, giving a language like APL or J a chance means that you have to spend time learning their kind of notation. If you spend your time looking at APL without making an effort to understand it, then you cannot be surprised that it looks like regex to you.

comment 4y ago · link · parent

The event was based on the esoteric language Nuova, defined by its implementation.

16.

Solutions to the Nuova reverse engineering contest(github.com ↗)

1 points · by razetime · 4y ago · 1 comment

comment 4y ago · link · parent

J has much easier access to graphics with bindings to a window driver and OpenGL .

APL also has support for GUI apps (Windows only) using .NET, but graphics takes some additional effort: https://www.youtube.com/watch?v=iC9floP7POU

comment 4y ago · link · parent

Here's some links relating to this style of code that you may find useful:

https://docs.google.com/document/d/1W83ME5JecI2hd5hAUqQ1BVF3...

https://github.com/tlack/b-decoded

https://chat.stackexchange.com/rooms/90748/conversation/ngn-...

They're not 1.5 paragraphs per line, but enough to give a taste of the implementation style.

comment 4y ago · link · parent

Well, yes, there's other languages like Julia, MATLAB and such if you want familiar, approachable syntax for array programming. Nial (https://nial-array-language.org/), which is inspired by APL, mostly uses words instead of symbols, which you may find more intuitive.

In K, terseness is part of the package, and it is considered good, because you can see the innards of your code at a glance, there's lesser text to change if you mess up, so on, so forth. Some time investment in the language may or may not help with this.

comment 4y ago · link · parent

I hope you have taken some time to understand K's philosophy and goals before making this comment. A tutorial exists here: https://github.com/razetime/ngn-k-tutorial if you'd like to understand why this solution is good.

21.

Zzxcz: Choose your own adventure with user-generated, fictional content(zzcxz.citrons.xyz ↗)

2 points · by razetime · 4y ago · discuss

comment 4y ago · link · parent

J isn't really made to be pretty. It's made to be terse and simple to read once given enough learning effort, and it's made to be a consistent keyboard typable notation.

comment 4y ago · link · parent

is this what the new Zed editor is planning on using?

comment 5y ago · link · parent

K is the easiest popular array language due to its array model and its commitment to simplicity. Gets you into the habit of writing out strings of symbols instead of names, and although it holds your hand less, I'd say it's great as a beginner language. With the existence of new docs like the oK docs(https://github.com/JohnEarnest/ok/blob/gh-pages/docs/) and the wiki(https://k.miraheze.org/), it is getting much easier to learn K.

comment 5y ago · link · parent

ngn/k is the most active in development. You can meet the developer and people who use ngn/k in the chatrooms listed here: https://k.miraheze.org/wiki/Online_Communities

comment 5y ago · link · parent

Hello, one of the maintainers of the wiki here. The major changes are generally divided into:

K2-K4

K5-K6

K7-K9

From my knowledge. Each group has the same general primitives and syntax, and major changes happen between those eras. Since K's design allows removal and addition of features, this is very hard to document. This, combined with Arthur Whitney's rocky relationship with documentation makes most sources of changes anecdotal. Most changes to primitives have been documented in the wiki's primitive pages. I'll have to summarize them in the history pages.

K4 has good docs, and K6 has a well-written manual on oK's repository. The rest are a fill-in-the-blanks game which have to be fished from archive pages and a lot of trial and error. K9, the latest one is still undergoing changes, but there are ongoing efforts to make tutorials in kparc/kcc and estradajke/k9-simples on github.

comment 5y ago · link · parent

There are many, many array programmers who choose to write in a literate style. Popular code examples written for toy challenges often tend to be smart one liners whose algorithms cannot be easily put in multiple lines, so they may look unreadable for people unfamiliar with the languages. A terse compact code style often works well with the language's design.

If you'd like some examples of traditionally literate array programming, you can see:

- tangentstorm's J streams: https://www.twitch.tv/tangentstorm

- tangentstorm's J repositories: https://github.com/tangentstorm?tab=repositories&q=&type=&la...

- Dyalog's APL repositories: https://github.com/orgs/Dyalog/repositories?q=&type=&languag...

comment 5y ago · link · parent

Some array programmers inspired by Arthur Whitney write code like this. I wouldn't call it an abomination per se, it's a specific style meant for a specific person. They find that way of writing C to be nice. It's somewhat popular among people who implement K-like array languages.

A usual result of using array languages is a want to have that same terseness in other languages. Array languages usually deviate from the style and aesthetic of general programming languages. It may be jarring to look at, but as with anything, a little experience with using them can go a long way with understanding why many people work with something so "unreadable".

comment 5y ago · link · parent

It's all up to preference, really. It took me a while to get around my muscle memory from general imperative programming by the time I started using languages like K competently. Getting that motivation is definitely hard.

comment 5y ago · link · parent

This website has a few companies which use K: https://github.com/interregna/arraylanguage-companies
12