frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Iran's IRGC warns it may cut undersea internet cables in Persian Gulf

https://timesofindia.indiatimes.com/technology/tech-news/irans-irgc-warns-it-may-cut-undersea-int...
1•us321•2m ago•0 comments

Google Search to classify 'back button hijacking' as spam

https://9to5google.com/2026/04/13/google-search-back-button-hijacking/
1•thunderbong•6m ago•0 comments

Don't invert that matrix (2010)

https://www.johndcook.com/blog/2010/01/19/dont-invert-that-matrix/
1•downbad_•7m ago•1 comments

AI Will Have the Biggest Impact on Photography Since the Digital Camera (2018)

https://www.artsy.net/article/artsy-editorial-ai-will-forever-change-create-find-truth-images
1•binauralskys•8m ago•0 comments

Discord group says it accessed Claude Mythos by guessing location

https://mashable.com/article/discord-group-accesses-claude-mythos-claims
2•kocial•10m ago•0 comments

Outerloop – A persistent world where AI agents live alongside humans

https://outerloop.ai
1•organizaciones•14m ago•1 comments

DeepSeek V4 with Strix: a quick test

https://theaq.blog/2026/04/25/deepseek-v4-with-strix-a-quick-test.html
1•TheArtificialQ•15m ago•0 comments

Tiny 1000bhp 13Kg Motor Cuts 200kg From EVs [video]

https://www.youtube.com/watch?v=B2Hl4c1iZK0
1•CharlesW•18m ago•0 comments

Stop Posting About Claude Getting Worse, You're Embarrassing Yourselves

https://mdelcaro.substack.com/p/stop-posting-about-claude-getting
2•fathermarz•20m ago•1 comments

OpenAI CEO apologizes to Tumbler Ridge community

https://techcrunch.com/2026/04/25/openai-ceo-apologizes-to-tumbler-ridge-community/
1•latein•22m ago•0 comments

North American Millets Alliance(2023)

https://milletsalliance.org/
1•num42•22m ago•0 comments

Architecture of Honesty, Why Claude Swept Seven Rounds

https://sso.accounts.dowjones.com/login-page?scope=openid+profile+email+pib+is_dowjones_employee&...
2•Paodim•23m ago•0 comments

Research Topics in AI and ML in 2026 and Their Philosophical Connections

https://omseeth.github.io/blog/2026/philosophy_2026/
1•philoai•24m ago•0 comments

Mine, an IDE for Coalton and Common Lisp

https://coalton-lang.github.io/mine/
1•varjag•25m ago•0 comments

After 5000 applications, 1000s of rejections got an offer – tech UK

https://www.youtube.com/watch?v=RRGOAj2dEX4
1•shaanuknow•26m ago•1 comments

The longest train journey in the EU

https://jonworth.eu/the-longest-train-journey-in-the-eu/
4•fanf2•30m ago•0 comments

Claude Mythos: The first AI-native cyberweapon?

https://en.landingfymax.com.br/cybersecurity/claude-mythos-ai-cyber-weapon-2026
1•EvCarvalho•30m ago•0 comments

An amateur just solved a 60-year-old math problem–by asking AI

https://www.scientificamerican.com/article/amateur-armed-with-chatgpt-vibe-maths-a-60-year-old-pr...
2•pr337h4m•31m ago•0 comments

Count tokens, model compatibility, and estimated costs

https://howmanytokens.app/
1•walidio•31m ago•0 comments

Swift-bridge facilitates Rust and Swift interop

https://github.com/chinedufn/swift-bridge
2•dlahoda•33m ago•0 comments

Ask HN: How to think in terms of parallel Claude agents

2•gndp•36m ago•0 comments

Why Maine's Governor Just Killed a Pioneering Data Center Moratorium

https://www.motherjones.com/politics/2026/04/maine-data-center-janet-mills-veto/
1•cdrnsf•37m ago•1 comments

Sense, local code intelligence for AI coding agents

https://luuuc.github.io/sense/
1•luuuc•38m ago•0 comments

I found an old telephone and made it control Spotify

https://natya.is-a.dev/the-beetel/
2•birdculture•38m ago•0 comments

FSF Position on "Ethical" AI

https://www.fsf.org/blogs/licensing/rail-are-nonfree-and-unethical
1•j_m_b•38m ago•0 comments

The AI Compute Crunch Is Here (and It's Affecting the Economy)

https://www.404media.co/the-ai-compute-crunch-is-here-and-its-affecting-the-entire-economy/
1•Brajeshwar•38m ago•0 comments

Scientists are worried about Atlantic Meridional Overturning Circulation slowing

https://www.cbc.ca/news/science/amoc-slowdown-9.7176387
6•pseudolus•39m ago•0 comments

"Wealth inflation" has led to "elite overproduction"

https://greyenlightenment.com/2026/02/07/wealth-inflation-leads-to-elite-overproduction/
2•paulpauper•41m ago•0 comments

Claude OAuth

https://developer.puter.com/tutorials/claude-oauth/
1•ent101•41m ago•0 comments

Ada Palmer's "Inventing the Renaissance"

https://pluralistic.net/2026/04/25/machiavellian/
1•hn_acker•44m ago•0 comments
Open in hackernews

Show HN: Zev – Remember (or discover) terminal commands

https://github.com/dtnewman/zev
87•dtnewman•1y ago

Comments

0x696C6961•1y ago
I really like how it gives you multiple options to choose from. I've been using https://github.com/simonw/llm-cmd
dtnewman•1y ago
Thanks! My main issue is that i'm lazy and although i often know approximately what i want i don't want to type a lot of words to describe it exactly. For example writing `zev 'show disk usage'` is somewhat ambiguous. Am i talking about my current folder or the harddrive? My idea was that rather than typing out what I want explicitly, i want to type the minimum amount and then just select the best of available options.
submeta•1y ago
Nice! I use a combination of an endless bash (zsh) history with timestamps that I navigate via fzf and ctr+r and comments I occasionally add to commands via # at the end followed by my annotation so that I can rediscover the command.

I do this ever since I switched to a Mac in 2015 and my history has over 60,000 lines. So that’s basically my knowledge base :)

But your project looks nice. Will check out.

afefers•1y ago
Can you explain how you achieve this?
import•1y ago
Not op but you need fzf and you need to increase the history size of your bash/ssh whatever

https://github.com/junegunn/fzf

WalterGR•1y ago
Shells that use readline (such as bash) may have a history search feature built-in and on by default. Try pressing Ctrl-r or Cmd-r and see if a prompt pops up.

You can build your own workflow by hand by doing something like:

1. Turn on your shell’s feature to record command history.

2. Look into its feature set to control things such as how many entries it remembers, whether it remembers duplicate entries, and whether it timestamps each entry. (Don’t forget to restart each instance of your shell, if needed, for changes to take effect.)

3. Install a tool such as fzf that allows interactive filtering of arbitrary text. (Via Homebrew it’s `brew install fzf`. It’s likely something similar for other package managers.) These tools usually: read lines of input, prompt the user to optionally filter but eventually select a line, then just print that line.

4. Write the necessary shell script(s) / functions / aliases to do things like:

+ invoke the fuzzy-finder on the shell’s history file or a modified version of that file (for example, a modified version that excludes bash’s timestamp lines, or that joins them - perhaps in a human-readable format - with the command it timestamps.)

+ process the output of the fuzzy-finder tool (for example, to copy the command to the clipboard, paste it into the shell, or execute it immediately - which will necessitate things like removing any timestamps or additional notation added in the previous step.)

Step 4 can be easy as something approximating (I’m on mobile right now):

   fzf “$HOME/.bash_history” | copy-to-clipboard
porridgeraisin•12mo ago
Fzf installs hooks automatically for ctrl+r and a bunch of other stuff

Search for `fzf --bash`. Note that the version in the ubuntu repos is too old to have this feature (I think)

reddit_clone•1y ago
Exactly my setup including the #tag's. It is my second brain.

What I love about this is the fzf's fuzzy narrow down. You don't have to start at the beginning of command, you don't have to worry about exact spelling. Just a few snippets you remember, it will narrow it down really fast.

I use the same fuzzy search narrow downs in Emacs.

I miss it everywhere else.

aldanor•12mo ago
Fish has built in fuzzy search on ctrl-r as well, with no extra config needed
chrisco23•1y ago
I'm trying to get this to work with ollama. I'm on Arch Linux, fish shell, new to ollama, and only very rarely used pipx. I get:

raise ValueError("OPENAI_BASE_URL and OPENAI_API_KEY must be set. Try running `zev --setup`.") ValueError: OPENAI_BASE_URL and OPENAI_API_KEY must be set. Try running `zev --setup`

even when I run (for example) set -x ZEV_USE_OLLAMA 1; zev 'show all files and all permissions'

dtnewman•1y ago
creator here. It pulls env variables from a file in your appstorage directory. I need to change this in a future release to make it cleaner, since I don't think i like it intermingling with env variables.

That said, did you run `zev --setup`?

dtnewman•1y ago
btw, feel free to open an issue on github :)
lionkor•1y ago
Why are you using env variables when you don't pull them primarily from the process env?
dtnewman•1y ago
I’m debating changing it. I do pull in env vars to use as default values (e.g. you already have an API key set). But I might transition way from env variables.
regnull•1y ago
Somewhat related, here's a little project I've done with LLM: https://github.com/regnull/how.sh

It uses locally hosted (or remote) LLMs to create and execute shell commands that you describe. You can go as far as writing "shell scripts" in natural language.

arjie•1y ago
I don't like most of these commands because they just execute. This one is nice because it will be in your history. The current trick I use is to use copilot.vim at the command line. It naturally fits into my flow.

Recently some of my friends reported that it just wants to do comments and I've noticed that it actually biases towards that nowadays, so I start it with something to get it kicked off.

I've been managing to try to figure out what in the prompt makes it like that, but for the moment that little workaround gives me both the comment and the command in my history so it's easier to r-i-search for it.

https://x.com/arjie/status/1575201117595926530

You just set up copilot for neovim normally and set it as your EDITOR. https://wiki.roshangeorge.dev/index.php/AI_Completion_In_The...

wapxmas•1y ago
how do I install it with pip? It requires to be in virtual environment. (
trallnag•1y ago
Use something like pipx or uv
dtnewman•1y ago
it should run outside of a virtual env and is intended to be installed locally. That said, it currently has too many dependencies (IMO) and i'm working on cutting them down to avoid conflicts.
AvieDeckard•1y ago
Your gif in your README features a prompt asking to "show all files in this directory" but the 'ls -lh' returned and selected in the demo gif does not show all files, just the ones that aren't hidden. I'd have chosen a more accurate interaction for the demo.
rco8786•12mo ago
Kind of a good example of how AI gets it "almost" right.
imzadi•1y ago
Hi Zev!
latchkey•1y ago
Why not https://docs.atuin.sh/?
dtnewman•1y ago
different use case. atuin is for past commands, whereas this uses an LLM to give you options for commands.
latchkey•1y ago
Feels like this should be an extension to atuin instead of a separate tool.
anamexis•1y ago
Why? Besides both involving terminal commands, they serve very different purposes.
latchkey•12mo ago
atuin is a collection of the past, which can be training data for a collection in the future. If I'm asking AI to essentially generate commands, my previous inputs ideally would be part of the basis.
arp242•1y ago
Named after Zev from the film Remember? A few years back I wrote a Vim plugin to remember things with the same name :-)
dtnewman•1y ago
ha, no, just a coincidence. Named after someone i know named Zev. But chose it because it's short and not taken on Pypi
CGamesPlay•1y ago
You may be interested in copying some of the usage patterns from my similar project: https://github.com/CGamesPlay/llm-cmd-comp

Instead of being a separate command, I released a set of key bindings you can push that start the LLM prompt with your current command line, and if you successfully accept the suggestion, replace your command line with the result, bypassing the manual clipboard step, and making it so that the result goes into your shell history as a normal command.

tzury•1y ago
Newman!
badmonster•1y ago
Since it's generating terminal commands dynamically, what safeguards (if any) are in place to avoid generating destructive or insecure commands (like rm -rf /, etc.)?
sathishvj•1y ago
Yes, this is a concern. When I built something similar (gencmd.com), I avoided the auto-run option even though it was easy to implement. imho, it's better to have a human in the loop for these.
dtnewman•1y ago
1) When you are selecting a command you get a little description at the bottom telling you what it does.

2) this doesn’t run anything. It goes to your clipboard and you have to run it yourself

3) this a good callout… what do u think? I’m thinking maybe ask the models to return a Boolean is_dangerous plus a small explanation and then I can display dangerous commands in red and show the warning when you select one.

badmonster•12mo ago
sounds like a solid plan
dtnewman•12mo ago
Just fyi, this is now implemented
sathishvj•1y ago
Nice! Little plug for what I did too, in a similar vein - it has a web version https://gencmd.com/ and also a cmd line version.
Bishonen88•1y ago
https://docs.aws.amazon.com/codewhisperer/latest/userguide/c...

Looks like cw from aws