Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Google Pixel phones pwned in zero-click attacks(theregister.com ↗)
    1comments
  2. Show HN: Fluentry – local voice-to-text dictation for Linux, Wayland included(fluentry.github.io ↗)
    discuss
  3. A.I. Gone Rogue? Trump Proposes Not New Rules but an 'A.I. Force.'(nytimes.com ↗)
    discuss
  4. Show HN: Vyne, a 205MB on-device decision model with typed, calibrated outputs(toolchain.studio ↗)
    discuss
  5. Show HN: Will Jev pull the lever in the trolley problem?(gpu.studio ↗)
    discuss
  6. AI CLI Insights for popular CLI products(libraries.io ↗)
    1comments
  7. Lollipop camera to HomeKit: RTSP extraction and setup(changologs.site ↗)
    discuss
  8. Tapa Shotor (Camel Hill), Afghanistan(wikipedia.org ↗)
    discuss
  9. Pluto AI is top ranked in StarCraft BroodWar competitive scene(youtube.com ↗)
    1comments
  10. Navier–Stokes Priority Controversy(wikipedia.org ↗)
    discuss
  11. It's finally here: Porsche puts wireless EV charging into production(electrek.co ↗)
    discuss
  12. Electrif-AI Everything(energyandstuff.substack.com ↗)
    discuss
  13. OpenAI and Microsoft knew they were starting a 'doom loop' for the web(theverge.com ↗)
    discuss
  14. Show HN: ManifestGo – AI tuned for MV3 extension boilerplate and edge case(manifestgo.app ↗)
    discuss
  15. Teleoperated Humans(jefftk.com ↗)
    discuss
  16. Japan Opens the Door to Acquiring Nuclear-Powered Submarines(twz.com ↗)
    discuss
  17. Analysis: Global fossil-fuel emissions set to fall in 2026 amid Hormuz crisis(carbonbrief.org ↗)
    discuss
  18. Show HN: Hush – GitHub issue triage that abstains when it isn't confident(github.com/emreozyoruk ↗)
    discuss
  19. Show HN: How to Vibe Code Hardware(charlesazam.com ↗)
    discuss
  20. Van Der Waals Force(wikipedia.org ↗)
    discuss
  21. AI on Top of a Dysfunctional System: The Product Backlog(age-of-product.com ↗)
    discuss
  22. Every Nvidia GPU has 10 to 30 RISC-V cores inside it(xda-developers.com ↗)
    discuss
  23. Are global stock markets heading for a crash?(theguardian.com ↗)
    2comments
  24. KDE turns 30 and someone's brought an AI-native desktop proposal(theregister.com ↗)
    5comments
  25. Parth Anand – Projectsadak.in Hacked
    discuss
  26. HTMLPipe and how to archive archive.is pages on archive.org manually(mataroa.blog ↗)
    discuss
  27. Show HN: WideMelon - Nintendo DS games in widescreen and a phone touchscreen(github.com/pruefsumme ↗)
    discuss
  28. Google/ax: Google's open agentic orchestrator(github.com/google ↗)
    discuss
  29. What Is Arc?(opensea.io ↗)
    discuss
  30. When docs become performance art, everybody loses (2025)(passo.uno ↗)
    discuss

Telling a Computer to Do Things

24 pointsby 3h agowill-keleher.com
7 comments
1h agoHN ↗

Nice article about actually learning stuff and putting this knowledge to use together. Not with AI but with one’s own brain.

46m agoHN ↗

Good advice. I've gotten a ton of utility out of my shell without learning very many tools particularly well.

If you take nothing else away from this, memorize the syntax of one-liner for loops, it has saved me so many times.

33m agoHN ↗

Why are we assuming using the terminal is the only way of "telling a computer to do things"? Every way you interact with a machine, you are telling it to do things in theory.

For example

At a fundamental level, I wasn’t able to tell my computer to accomplish anything that involved logic or stitching together multiple programs

How can that be true if you are telling it to boot on into a os? It doesn't involve logic? Or stiching together multiple programs?

Using a shell =\= telling a machine what to do on a broad level. You are just using the abstractions provided by the os. If you mean get better at shell so you can use it more efficiently than okay cool but that doesn't someone who uses a GUI doesn't "tell" the machine what to do as much as you.

27m agoHN ↗

I was sure this article would be about how we tell computers to do things now (writing prompts to an AI in plain English). I was wrong. Interesting nonetheless.

14m agoHN ↗

I was pretty close in guessing what they believe was "wrong" (or really, superfluous) with their initial shell script example.

I'd actually even drop the "if" from their footnotes, and go with simply

  npm install || (echo "boom" && exit)

(Not exactly equivalent because there won't be an "exit" if echo fails, but it's my preferred instict over ";") Also, "(" starts a subshell, if we are being pedantic.

10m agoHN ↗

On the higher level question in the article of why do people not use their main languages for basic file and command management?

I believe the answer is the same as to why Python remains hugely popular despite all the well-documented shortcomings: batteries included.

Shell languages include so many neat and concise ways to execute commands, deal with their input, output and exit codes, allow simple traversal of deep directory structures with globs and advanced tools like 'find' or 'xargs', that everything else is very unergonomic.

And niche by default (until it gets used widely enough), so even your LANG-OF-CHOICE-expert you recruit, they will not know a thing about that shell-focused library in LANG-OF-CHOICE.