Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. San Francisco Onion Futures Company(onionfutures.com ↗)
    21comments
  2. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    340comments
  3. Science Is Open Software(jepedersen.dk ↗)
    16comments
  4. SDCC – Small Device C Compiler(sourceforge.net ↗)
    8comments
  5. Typesafe-computer-use drives a Mac toward a goal for 1/50th of a cent per step(github.com/awlevin ↗)
    3comments
  6. Cloudflare Quick Tunnels(cloudflare.com ↗)
    268comments
  7. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    71comments
  8. Saving another 100TB of RAM(cloudflare.com ↗)
    58comments
  9. How to Write with an LLM(sockpuppet.org ↗)
    305comments
  10. Why building a Rust LSP is hard(rust-glancer.github.io ↗)
    13comments
  11. NASA-IBM Lunar Foundation open-Source Geospatial AI Model(usra.edu ↗)
    discuss
  12. Xcode 27.1 Beta Release Notes(developer.apple.com ↗)
    75comments
  13. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    83comments
  14. Goroutine Leak Profiles(go.dev ↗)
    1comments
  15. Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash(cactuscompute.com ↗)
    82comments
  16. Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug(ledger.com ↗)
    61comments
  17. OpenJev(openjev.com ↗)
    250comments
  18. The Farnese letter(simonklee.dk ↗)
    6comments
  19. Harm Laundering in GPT Models: Gender Discrimination Transformed Rather Than(arxiv.org ↗)
    discuss
  20. Cache-to-Cache: Direct Semantic Communication Between LLMs (2025)(arxiv.org ↗)
    12comments
  21. Minimal Phone 2(minimalcompany.com ↗)
    200comments
  22. Claude Code now reads AGENTS.md if there is no Claude.md(claude.com ↗)
    209comments
  23. Cyclomatic Complexity in C#(ndepend.com ↗)
    16comments
  24. LispBM is a concurrent Lisp for microcontrollers with message passing(lispbm.com ↗)
    3comments
  25. Alibaba open-sources AI model that can detect cancer and nearly 150 conditions(scmp.com ↗)
    10comments
  26. Inside ZCode: Silently uploading your Git history to the cloud(ferstar.org ↗)
    95comments
  27. Show HN: LiveWorld – Every 24/7 YouTube live camera on one globe(liveworld.info ↗)
    32comments
  28. Warez: The Infrastructure and Aesthetics of Piracy (2021)(archive.org ↗)
    40comments
  29. How SpaceX streamlined the Raptor engine(construction-physics.com ↗)
    59comments
  30. Flock Offers Employees Buyouts as Customers Flee(wired.com ↗)
    4comments

Instant +100% command line productivity boost

44 pointsby 9y agodev.to
16 comments
9y agoHN ↗

Somehow adding a theme adds 15% to my productivity? Bollocks. I laughed at the "I travel inside my directories a lot" - midnight commander will blow this guys mind. I installed midnight commander, and increased my productivity 132.45%!

9y agoHN ↗

Better delete this and go write your dev.to article to rake in the points before someone else does.

9y agoHN ↗

....points? They are giving away POINTS?!? Just like that, I can HAVE MORE POINTS?!?! What can I buy with those points?

9y agoHN ↗

Yeah, man! You haven't been cashing in your internet points??

9y agoHN ↗

15% might be a stretch, but having your current git branch, rvm/node version etc displayed saves a lot of pointless command typing if you're jumping around between a lot of different projects, branches and libraries in the shell all day

9y agoHN ↗

Wow. Learning grep and sed would apparently improve this guys speed by 100000% according to these metrics.

9y agoHN ↗

I'm constantly surprised how most people settle with single-line autocompletion (or no autocompletion) in the shell. _The_ plugin that helped me learn shell and be super productive is Auto-fu: https://github.com/HerringtonDarkholme/auto-fu.zsh (forked from https://github.com/hchbaw/auto-fu.zsh)

BAM, autocomplete menu in your shell.

The setup isn't straightforward; I've written a small guide here: https://gist.github.com/chenglou/03505022bc4598fcb80e523f868...

I struggled with git when I first used it. But when you have an autocomplete menu giving you the right commands and sub-commands at each turn it's pretty hard _not_ to learn git (the default porcelain anyway).

Seriously, why am I defending a good autocomplete in the shell, go try it =)

9y agoHN ↗

I'm still a bit angry that all shell development (as glacial as it is) seems to focus on the blinkenlights, not on the language features. ksh93 is still superior to all the contemporary linux shells in this aspect.

(And Plan9 fandom, I'm aware of rc)

9y agoHN ↗

I might be the first to say it, but this is very useful. I use zsh now, but put up with bash for years because I thought (entirely incorrectly) that a new shell meant new syntax and a drop in productivity while I learned it - and I've just been too time poor to make that perceived investment over the past few years. Turns out zsh was a five minute install with oh-my-zsh and it's autocomplete beats the pants off bash with no compatibility issues that I've run into yet. This has somewhat opened my eyes to how much I can optimise day to day workflow with a small effort. I've switched to i3 for window management and use zsh regularly, and can't believe how much better it is for my day to day use. I am now very much looking forward to sitting down this morning and installing syntax highlighting!

9y agoHN ↗

I find having your current dir on the prompt wastes way too much space since it is duplicated on every line. Just put it in the window title bar.

9y agoHN ↗

I don't have particularly strong feelings about this, but I like having the current working directory listed just so that I can see what it was was when any older commands were executed at a glance.

9y agoHN ↗

Is there any way to configure line spacing in zsh on linux? I am using gnome terminal if that matters.

9y agoHN ↗

That's a gnome-terminal feature, not at the level of ZSH. There may be a css handle for lib-vte, but I'm not aware of that being an option otherwise. The KDE terminal emulator Konsole does support line spacing, opacity, and many other things gnome-terminal is missing.

9y agoHN ↗

fish shell with fisherman are better.

I just start it manually out of bash because occasionally commands don't work when pasted so I just temporarily exit for that.

9y agoHN ↗

The only problem I have with zsh is it is sloooooow. Using prezto for a powerline with git repo status.

Trying to enter a huge repo like Emacs source.... it crawls to a halt.

9y agoHN ↗

I like The Silver Searcher a lot, but recently I've replaced it with Ripgrep. It's much, much faster.