Readit News logoReadit News
aterp commented on Show HN: My iOS app to practice sight reading (10 years in the App Store)   apps.apple.com/us/app/not... · Posted by u/rooster117
aterp · 9 months ago
Anyone have recs for good Android equivalents?
aterp commented on Xonsh – A Python-powered shell   xon.sh/... · Posted by u/GTP
ambivalence · 10 months ago
Work on what you want, so don't let me deter you. But in my personal case, what pushed me from fish to xonsh was that I could never quite internalize the way it wanted to do functions, if statements (and tests inside them) and loops.

Once you were reading code, it made sense for the most part. But when I had to write a new multiline command or a script, I had to look things up in documentation constantly. For my brain "similar but different" was torture, not an advantage.

With Xonsh you get real Python and this solves all my problems. As soon as you learn what $VAR, $(CMD), and @EXPR do, you're good to go!

aterp · 10 months ago
I hear you, real Python has its benefits :) The way I see it, these are different approaches to solving similar (but still quite different) problems. In the case of rad, it's just a language, it's not trying to replace your shell, but the fact that it's only Python-like might indeed deter some people. But - it also opens up some unique syntax that can be tailored really well to CLI scripts. For example, the syntax for args [1] or json "rad blocks" [2], as I've called them.

[1] https://amterp.github.io/rad/guide/args/#arg-declarations

[2] https://amterp.github.io/rad/guide/rad-blocks/#basic-example

aterp commented on Xonsh – A Python-powered shell   xon.sh/... · Posted by u/GTP
oguz-ismail · 10 months ago
Is composability not a goal of this language? Like how do you capture the output of an if block? Or how do you suppress one's output while retaining other side effects like variable assignments?
aterp · 10 months ago
Don't think I'm understanding what you mean - composability of what exactly? It's a very Python-like language, so if-blocks behave like they do in Python/C, etc. Suppressing one's output: are you referring to invoking shell commands? Each shell invocation (at the moment) happens in its own session, independent of others, so variable assignments really only matter if you're basically embedding a shell script in RSL as e.g. a multiline string, and then invoking it. But I might be misunderstanding what you mean!
aterp commented on Xonsh – A Python-powered shell   xon.sh/... · Posted by u/GTP
aterp · 10 months ago
Might be interesting to folks in this thread - I'm working on a CLI tool/language which aims to let people write better scripts, more easily. It integrates well with Bash if it's needed, but lets you to avoid writing whole scripts in Bash and particularly some of the more painful aspects like arg parsing.

This page gives a bit of a preview, plus there are some links at the bottom to additional features. Still under development tho!

https://amterp.github.io/rad/guide/getting-started/

aterp commented on Nyxt: The Hacker's Browser   nyxt.atlas.engineer/... · Posted by u/OuterVale
derN3rd · a year ago
There is also Homerow (homerow.app) for MacOS that does this on a system level
aterp · a year ago
Homerow looks very cool. Is it actively being supported? Looks like it still uses App Center despite that being sunset, plus the change log shows the last update in June 2024, and before that in April 2023
aterp commented on New Mac Mini with M4   apple.com/newsroom/2024/1... · Posted by u/victorbjorklund
Flux159 · a year ago
Time to update all the Mac Mini server racks for the new design
aterp · a year ago
People have Mac mini server racks? What for?
aterp commented on Show HN: Nuenki - Learn a language while you browse the web   nuenki.app... · Posted by u/Alex-Programs
aterp · a year ago
This is very very cool! I'm stoked about the idea but 18 AUD/month is a lot, subscriptions add up. I'm more willing to pay something below 10 AUD, plus a longer trial.

I understand if that cost range is just not feasible, though.

In any case, best of luck with this!

aterp commented on I Like Makefiles   switowski.com/blog/i-like... · Posted by u/thunderbong
OutOfHere · a year ago
Makefile enthusiasts may enjoy this audio episode on Makefile:

https://podcasters.spotify.com/pod/show/podgenai/episodes/Ma...

aterp · a year ago
I don't hate the idea of AI generated podcasts (quite the opposite), but I can't shake that I can't trust what they're saying. High quality podcasts have fact checking and a reputation to uphold. On this, they just slap a disclaimer on that it might contain inaccuracies.

Will give it a listen tho!

aterp commented on I Like Makefiles   switowski.com/blog/i-like... · Posted by u/thunderbong
OutOfHere · a year ago
It's true, although GPT has given Makefiles a second life by helping write them, delaying their demise.
aterp · a year ago
It's an interesting phenomenon. ChatGPT and other LLMs have really opened up previously "archaic" tooling like Make and Bash. I've "written" more Bash in the last year than my entire career previously, because LLMs are such good copilots for that.
aterp commented on Sourcegraph went dark   eric-fritz.com/articles/s... · Posted by u/kaycebasques
yablak · a year ago
Sourcegraph search is amazing. I can point to any hash in our repo and search by regex/path regex. Results are instant and in json format. I hacked together a 'cs' script in bash using the sg cli client and some git calls, as I missed Google's cs command since leaving. Works perfectly, faster than ctags/any local indexer.
aterp · a year ago
What does cs command do?

u/aterp

KarmaCake day45March 27, 2023View Original