frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: A shell-native cd-compatible directory jumper using power-law frecency

https://github.com/jghub/sd-switchdir
12•jghub•14h ago
I have used this tool privately since 2011 to manage directory jumping. While it is conceptually similar to tools like z or zoxide, the underlying ranking model is different. It uses a power-law convolution with the time series of cd actions to calculate a history-aware "frecency" metric instead of the standard heuristic counters and multipliers.

This approach moves away from point-estimates for recency. Most tools look only at the timestamp of the last visit, which can allow a "one-off" burst of activity to clobber long-term habits. By convolving a configurable history window (typically the last 1,000+ events), the score balances consistent habits against recent flukes.

On performance: Despite the O(N) complexity of calculating decay for 1,000+ events, query time is ~20-30ms (Real Time) in ksh/bash, which is well below the threshold of perceived lag.

I intentionally chose a Logical Path (pwd -L) model. Preserving symlink names ensures that the "Name" remains the primary searchable key. Resolving to physical paths often strips away the very keyword the user intends to use for searching.

Show HN: Vertex.js – A 1kloc SPA Framework

https://lukeb42.github.io/vertex-manual.html
35•LukeB42•3d ago•22 comments

Show HN: A shell-native cd-compatible directory jumper using power-law frecency

https://github.com/jghub/sd-switchdir
13•jghub•14h ago•0 comments

Show HN: Stacked Game of Life

https://stacked-game-of-life.koenvangilst.nl/
170•vnglst•4d ago•26 comments

Show HN: I built CLI for developer docs locally working with any Coding Agent

https://github.com/lifez/docsearch
2•lifez•1h ago•1 comments

Show HN: Potatoverse, home for your vibecoded apps

https://github.com/blue-monads/potatoverse
5•born-jre•1h ago•1 comments

Show HN: A universal protocol for AI agents to interact with any desktop UI

https://github.com/computeruseprotocol/computeruseprotocol
3•k4cper-g•1h ago•0 comments

Show HN: Paste a URL and watch multiple AI models redesign it side-by-side

https://shuffle.dev/ai-website-redesign
2•kemyd•2h ago•0 comments

Show HN: Qlog – grep for logs, but 100x faster

https://github.com/Cosm00/qlog
8•cosm00•4h ago•12 comments

Show HN: I built a browser game where you compete against OpenAI, Anthropic, etc

https://thefrontier.pages.dev
3•adityapatni•2h ago•0 comments

Show HN: Rust compiler in PHP emitting x86-64 executables

https://github.com/mrconter1/rustc-php
57•mrconter11•3d ago•49 comments

Show HN: Athena Flow – a workflow runtime for Claude Code with a terminal UI

2•nadeem1•3h ago•0 comments

Show HN: I made a zero-copy coroutine tracer to find my scheduler's lost wakeups

https://github.com/lixiasky-back/coroTracer
40•lixiasky•1d ago•1 comments

Show HN: Gobble – Yet Another OSS Alternative to Google Analytics/PostHog, etc.

https://github.com/inventhq/Gobble
2•vishinvents•3h ago•1 comments

Show HN: I built a tamper-evident evidence system for AI agents

https://guardianreplay.pages.dev/
2•Slaine•4h ago•0 comments

Show HN: WooTTY - browser terminal in a single Go binary

https://github.com/icoretech/wootty
3•masterkain•5h ago•1 comments

Show HN: I put HN discussions next to the article where it belongs

https://cool-link-web-production.up.railway.app/l/blogabout
5•krenerd•8h ago•0 comments

Show HN: Open-sourced a web client that lets any device use Apple's on-device AI

https://github.com/Techopolis/perspective-intelligence-web-community
9•tayarndt•10h ago•1 comments

Show HN: Bashd – Helper scripts for bulk CLI file management

https://github.com/terpinedream/Bashd
2•terpinedream•7h ago•0 comments

Show HN: I built a sub-500ms latency voice agent from scratch

https://www.ntik.me/posts/voice-agent
562•nicktikhonov•2d ago•153 comments

Show HN: Effective Git

https://github.com/nolasoft/okgit
35•nola-a•3d ago•6 comments

Show HN: Timber – Ollama for classical ML models, 336x faster than Python

https://github.com/kossisoroyce/timber
203•kossisoroyce•3d ago•34 comments

Show HN: Omni – Open-source workplace search and chat, built on Postgres

https://github.com/getomnico/omni
172•prvnsmpth•2d ago•43 comments

Show HN: Recite – I built an Skill and MCP so my AI agent does my bookkeeping

https://github.com/rivradev/recite-agent-skill
3•rivradev•9h ago•0 comments

Show HN: Glyph, a local-first Markdown notes app for macOS built with Rust

https://glyphformac.com/
6•skarat•14h ago•2 comments

Show HN: O4DB – Intent-based M2M protocol without centralized APIs

https://github.com/dannythecountok/O4DB-protocol
2•dannythecount•10h ago•3 comments

Show HN: AI Code Review CLI

https://github.com/kodustech/cli
5•eddelgado•10h ago•0 comments

Show HN: I built a browser-based 3D modeler because I'm scared of Blender

https://app.topomaker.com/
5•whothatcodeguy•10h ago•0 comments

Show HN: GitPulse – stop buying dead software (and a timeline for your dev life)

https://www.gitpulse.dev/
2•bombashell•10h ago•1 comments

Show HN: Zsh plugin to switch macOS Terminal.app profiles

https://github.com/sfcodes/zsh-terminal-profile
3•sfcodes•10h ago•1 comments

Show HN: P0 – Yes, AI can ship complex features into real codebases

https://www.bepurple.ai/
63•arndt•10h ago•37 comments