frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Tiny C Compiler

https://bellard.org/tcc/
137•guerrilla•4h ago•60 comments

Show HN: LocalGPT – A local-first AI assistant in Rust with persistent memory

https://github.com/localgpt-app/localgpt
17•yi_wang•1h ago•3 comments

SectorC: A C Compiler in 512 bytes

https://xorvoid.com/sectorc.html
221•valyala•9h ago•41 comments

Speed up responses with fast mode

https://code.claude.com/docs/en/fast-mode
127•surprisetalk•8h ago•135 comments

Software factories and the agentic moment

https://factory.strongdm.ai/
154•mellosouls•11h ago•312 comments

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
893•klaussilveira•1d ago•272 comments

Brookhaven Lab's RHIC concludes 25-year run with final collisions

https://www.hpcwire.com/off-the-wire/brookhaven-labs-rhic-concludes-25-year-run-with-final-collis...
49•gnufx•7h ago•51 comments

Stories from 25 Years of Software Development

https://susam.net/twenty-five-years-of-computing.html
145•vinhnx•12h ago•16 comments

Show HN: Craftplan – Elixir-based micro-ERP for small-scale manufacturers

https://puemos.github.io/craftplan/
13•deofoo•4d ago•1 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
170•AlexeyBrin•14h ago•30 comments

FDA intends to take action against non-FDA-approved GLP-1 drugs

https://www.fda.gov/news-events/press-announcements/fda-intends-take-action-against-non-fda-appro...
82•randycupertino•4h ago•154 comments

First Proof

https://arxiv.org/abs/2602.05192
110•samasblack•11h ago•69 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
278•jesperordrup•19h ago•90 comments

Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version

https://github.com/Momciloo/fun-with-clip-path
61•momciloo•8h ago•11 comments

Al Lowe on model trains, funny deaths and working with Disney

https://spillhistorie.no/2026/02/06/interview-with-sierra-veteran-al-lowe/
91•thelok•10h ago•20 comments

Show HN: A luma dependent chroma compression algorithm (image compression)

https://www.bitsnbites.eu/a-spatial-domain-variable-block-size-luma-dependent-chroma-compression-...
31•mbitsnbites•3d ago•2 comments

The F Word

http://muratbuffalo.blogspot.com/2026/02/friction.html
103•zdw•3d ago•52 comments

IBM Beam Spring: The Ultimate Retro Keyboard

https://www.rs-online.com/designspark/ibm-beam-spring-the-ultimate-retro-keyboard
3•rbanffy•4d ago•0 comments

Start all of your commands with a comma (2009)

https://rhodesmill.org/brandon/2009/commands-with-comma/
559•theblazehen•3d ago•206 comments

Eigen: Building a Workspace

https://reindernijhoff.net/2025/10/eigen-building-a-workspace/
8•todsacerdoti•4d ago•2 comments

Selection rather than prediction

https://voratiq.com/blog/selection-rather-than-prediction/
28•languid-photic•4d ago•9 comments

Microsoft account bugs locked me out of Notepad – Are thin clients ruining PCs?

https://www.windowscentral.com/microsoft/windows-11/windows-locked-me-out-of-notepad-is-the-thin-...
106•josephcsible•6h ago•127 comments

The AI boom is causing shortages everywhere else

https://www.washingtonpost.com/technology/2026/02/07/ai-spending-economy-shortages/
263•1vuio0pswjnm7•15h ago•434 comments

I write games in C (yes, C) (2016)

https://jonathanwhiting.com/writing/blog/games_in_c/
175•valyala•8h ago•166 comments

Reinforcement Learning from Human Feedback

https://rlhfbook.com/
114•onurkanbkrc•13h ago•5 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
141•videotopia•4d ago•47 comments

Where did all the starships go?

https://www.datawrapper.de/blog/science-fiction-decline
133•speckx•4d ago•209 comments

Learning from context is harder than we thought

https://hy.tencent.com/research/100025?langVersion=en
222•limoce•4d ago•124 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
297•isitcontent•1d ago•39 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
578•todsacerdoti•1d ago•279 comments
Open in hackernews

Show HN: Empty Enter Expander – Type less in the terminal with this tool

https://github.com/waszabi/empty-enter-expander
48•waszabi•9mo ago
When you have a lot of aliases it can be difficult to remember how was the one you need named especially if you do not use it very often. You can also have files stored in a bin folder and look there to find the name. Another trick is to prepend your commands with a comma then type the comma and hit the Tab key to see only your own commands. There is an article about it somewhere on the Internet.

I needed something lightweight to always show me the available commands. Something to run with a few keystrokes. Something that stores commands in files and folder structures.

The idea was born at the time of using Linux Debian with the dwm (dynamic window manager). The first version was implemented in bash and it could do three things: start an application, expand text from a template and do a predefined automation on the selected application.

It was launched by a keyboard shortcut and opened the list of commands in a new terminal window. The commands were stored in nested folders and it was able to switch between the three modes (launcher, expander, automator). It also required only few keystrokes to do the desired action.

For instance, I was in the terminal and hit Ctrl+P. It opened a new terminal and listed applications to launch. I hit the Space to switch to the expander mode. Then I hit the g to enter the Git folder and s for the status. The result was that it put the git status to the terminal I was in before. This expander could be used in any application. It could insert the email template into the browser.

Then I migrated to macOS and really missed that tool. So I quickly wrote a zsh vesrion that consists only the expander mode and supports only the terminal. It is activated by hitting Enter on empty command and then it inserts the desired command right into the prompt. For example, when you hit Enter, g and s you will get the git status command to the prompt and you can then execute it with Enter. Of course, those commands and keys are defined by you. There are various and lenghty commands that I use on a daily basis like this and it saves a lot of typing.

The tool is called Empty Enter Expander. It is implemented for the zsh as of now. Please check it out at https://github.com/waszabi/empty-enter-expander and let me know what you like or dislike about it.

Comments

pseudo_meta•9mo ago
Is it possible to trigger the expander differently?

I already have zsh-magic-dashboard running on empty enter.

waszabi•9mo ago
Yes, when you configure the expander based on the readme change the ^M (enter key) on the following line to any key you wish:

bindkey "^M" empty-enter-expander

^E represents Ctrl + E M-e represents Alt + E ...

tomoviktor•9mo ago
> When you have a lot of aliases it can be difficult to remember how was the one you need named especially if you do not use it very often.

I use tmux and I use this small keybind to launch a place where I can search my aliases: bind-key a run-shell 'tmux neww -n "aliases" "source ~/.zshrc && alias | fzf"'

I like this workflow because it's quick. I always thought that if I want to shorten something I will just make and learn and alias for it and that's it.

mrlambchop•9mo ago
I don't know about anyone else, but when transitioning back to a shell, I HAVE to hit a bunch of enters on any prompt to clear the last output away a few lines before I can summon up the powers to enter a new command - blow away the cobwebs and all that. I love the empty enter command line :)
AlecSchueler•9mo ago
Sounds like a good use case for `clear`.
hk__2•9mo ago
Or ^L, faster.
samf•9mo ago
I'm the same way, and "clear" or ^L isn't what I'm after. I want the history to still be on my screen, but I want the vertical separation too.
piranha•9mo ago
That's a fantastic idea! I've made it a bit simpler for myself — basically just `source file`, so that I don't need to press enter to execute it, but also added one cute detail in the loop:

    if [[ -f "$target/.exec" ]]; then
        zsh "$target/.exec"
    fi
sudahtigabulan•9mo ago
Aliases as a feature are meant to save you typing in the first place.

The more you use aliases, the more you save in typing, over time.

If you can't remember a particular alias, that means you have a use for it very rarely (spaced repetition and all that), and the benefit of having it around is very low anyway.

I generally try to prune my bashrc from aliases that turned out not as useful as I thought. I have about 50 atm, and don't feel the need for a helper tool.

Maybe if one's aliases skew towards a particular pattern this tool could be useful, I don't know.

drcongo•9mo ago
I keep those rarely used ones in there as a useful record of the syntax that I created the alias to get around in the first place. Fish shell's abbreviations are even more useful in this respect as they expand to the full command.
yjftsjthsd-h•9mo ago
Also bash will happily tab complete aliases and any scripts in your path. That requires some skill in naming them, but it's certainly helpful.
sudahtigabulan•9mo ago
Also, if one is not sure what's behind an alias, M-C-e will expand it inline. If it turns out to be not the one you hoped for, C-/ (undo) is one keypress away.
laktak•9mo ago
I think there are a lot of different takes on this. Mine uses playbooks, if you are interested https://github.com/laktak/tome
flexagoon•9mo ago
Fish shell has abbreviations, which expand into the full command, support regex patterns, and can expand arguments to a different command

https://fishshell.com/docs/current/cmds/abbr.html#examples

sponno•9mo ago
man I love fish. Have been using it for years, and it pretty much knows what I want to type after the first letter. Haven't really felt the need for other tools
gitroom•9mo ago
Tbh having tons of aliases always messes me up, half the time I forget them and just end up typing full commands anyway lol
jinnko•9mo ago
I've been using https://github.com/denisidoro/navi for this kind of scenario.
waszabi•9mo ago
Thanks for sharing. The navi looks to work nicely with the Docker and Git commands. I like their way of selecting the Docker container you want to connect to.

I use this wrapper to achieve that as of now: https://github.com/diagnoseme/docker/blob/master/bin/connect...

hk__2•9mo ago
I used to have a lot of aliases, but in the end I pruned most of them because the more you rely on aliases the more time you lose each time you open a terminal on a server. 99% of my usage is `g` for Git, `l` for `ls -lh` and the `autocd` option in Bash.
hbogert•9mo ago
i am somewhere different in my search for something like this. I'd like this idea for a single command. More like a command builder.

I've started to make one for kubectl. Sure, the standard completion for kubectl is okay, but it could be so much better if not confined to the restrictions and archaic zsh-fuu to make it interesting.

For example, the default completion does not allow completion for a pod in a different namespace, unless you choose the namespace first. Why not tab complete all pods in all namespaces with a fuzzy finder? Why not allow completion for labels? Why not tab complete more complex outputs with custom columns? Etc etc.

skydhash•9mo ago
Yesterday I was checking out Transient in Emacs and it looked like what you’re describing (Transient is what makes magit possible). But I’m not sure the UX is a boost over expansive tab-completion. It may be interesting to explore, though
hbogert•9mo ago
Oh yeah, avid user of magit, probably where my desire came from. Though doing this in emacs is a deterrent for colleagues