food, for all originally from the NY tristate area
Get yo self some shipped bagels
brought to you by someone suggesting vim replace hjkl with wasd
the shortcomings of the unix philosophy
I've been thinking about "evidence" that the unix philosophy was either a lie or not fully realized enough to be useful.
I'd need to find more, but there's one that stands out:
What's the standard way to turn a unix timestamp into a readable date/time, in the shell?
(hint: there isn't one)
This is one of the core tenants of the lang I'm sorta designing.
Perl tried to do this, but looked at the strange syntax of these tools and said "let's make it even stranger".
There's some overlap of "make programs that do one thing, work with text streams, and we'll give you a tool to compose them" and functional programming.
One simple syntax, and terseness accomplished only through the power of composition is the solution.
Now, I'm not a unix zealot. Far from it. I've been in it long enough to understand its warts, and how inaccurate the purity of its ideology was.
I think you ought to solve _both_ pain points:
- make integrating with external programs _easier_ than using the shell
- embed text processing capabilities that are _easier_ than using sed/awk/grep, so you won't shell out unless absolutely necessary.
programming thoughts I'll elaborate on someday
I'm still thinking about "powerful", because... you can recreate those programs in any turing complete langauge, sure. But there's a power to their terseness and composability that's missing from most langs.
What would typeclasses for rust look like?
Not the syntax or semantics, so much as: how would Category Theory concepts be adapted into a world of safe mutability? e.g. fmap definitely returns a "new" object, but an applicative concat might modify the original (list extending, result chaining)
compooters and the outdoors please
Cybrespace is an instance of Mastodon, a social network based on open web protocols and free, open-source software. It is decentralized like e-mail.