News for hackers. Stuff that matters.

aterp

Anyone have recs for good Android equivalents?
Re:Xonsh – A Python-Powered Shell on Wednesday February 26, 2025 @04:59AM (#43182336)
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

Re:Xonsh – A Python-Powered Shell on Wednesday February 26, 2025 @03:06AM (#43181734)
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!
Re:Xonsh – A Python-Powered Shell on Tuesday February 25, 2025 @04:39PM (#43177836)
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/

Re:Nyxt: The Hacker's Browser on Sunday December 08, 2024 @04:45PM (#42360851)
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
Re:New Mac Mini with M4 on Wednesday October 30, 2024 @03:13AM (#41992509)
People have Mac mini server racks? What for?
Re:Show HN: Nuenki - Learn a language while you browse the web on Sunday September 22, 2024 @05:25AM (#41615799)
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!

Re:I Like Makefiles on Saturday September 21, 2024 @06:48PM (#41613231)
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!

Re:I Like Makefiles on Saturday September 21, 2024 @06:40PM (#41613190)
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.
Re:Sourcegraph Went Dark on Wednesday August 21, 2024 @01:32AM (#41307070)
What does cs command do?
Re:Polars on Monday January 08, 2024 @10:32PM (#38921952)
Had the exact same thought seeing this. Too many of these websites are missing a simple tldr of the thing actually is. Great, it's fast, but fast at what??
Re:I’m not a programmer, and I used AI to build my first bot on Thursday October 05, 2023 @10:55PM (#37786702)
> Before I joined Replit, I had never written a line of code.

> I [had] tried to learn to code to earn some money to support my training. At Boston Consulting Group, I attempted to learn Python to automate some basic data manipulation and scraping tasks we did.

Seems contradictory.