frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Ze.sh – a z.sh-derived directory jumper that uses an event clock

https://github.com/jghub/ze
5•jghub•3h ago
z.sh and zoxide (and other frecency-based directory jumpers) couple score decay to wall-clock time. After any extended period of inactivity (e.g. holidays) the first directories visited on return dominate the ranking regardless of prior history, and the tool effectively has to relearn ranking from subsequent navigation.

The underlying issue is that wall-clock time during shell inactivity carries no information about directory relevance. ze.sh replaces wall-clock time with an event clock that advances one tick per cd action. Scores decay only while navigation is occurring. Inactive periods leave scores unchanged.

ze.sh also replaces the traditional frecency heuristic ([visit count] * recency) with an exponential moving sum over the event series (mathematically closely related to the exponential smoothing used for Unix load averages). This avoids a separate ranking artifact where a long-dormant directory with a large historical visit count jumps to the top on first revisit.

The implementation is a single shell file, compatible with bash, zsh, ksh93, and mksh. The database format extends z.sh's format with one additional field, the timestamp field is repurposed to hold the event clock counter.

A related project of mine, SD, also uses the event clock and exponential moving sum paradigms but stores the full event history rather than aggregate state. ze.sh explores how far the same ideas can be pushed while remaining close to the original z.sh design.

I would be interested in hearing whether others have run into the "inactivity-cliff" behaviour, and whether there are solutions to the problem that I have not considered.

Show HN: Got sick of ads, so I made my own logic puzzle site

https://puzzlelair.com/
44•HaxleRose•2h ago•33 comments

Show HN: Revenant – automatic LLM powered reverse engineering and reimplement

4•sylwester•1h ago•0 comments

Show HN: Teach your kids perfect pitch

https://github.com/paytonjjones/bsharp
183•paytonjjones•1d ago•129 comments

Show HN: Criterion Closet as a website – pull any of 1,247 films off the shelf

https://the-criterion-closet.vercel.app
158•olievans•2d ago•49 comments

Show HN: Recall – Local project memory for Claude Code

https://github.com/raiyanyahya/recall
123•mateenah•18h ago•74 comments

Show HN: A site where people pay me money for no reason

https://payfornoreason.com
9•qane•4h ago•21 comments

Show HN: I rebuilt the only parts of my IDE I use, in Rust, over a weekend

https://github.com/kyle-ssg/kyde
7•kyle-ssg•2h ago•2 comments

Show HN: I rebuilt Jobs To Be Done on scientific foundations and open-sourced it

https://github.com/zamesin/Next-Move-Theory-Canon-and-Skills
13•zamesin•2h ago•0 comments

Show HN: KeyGhost – Keyboard app launcher for macOS

https://keyghost.dev/
6•3stacks•4h ago•3 comments

Show HN: SindriKit – A C framework applying dependency injection to exploit dev

https://sibouzitoun.tech/articles/sindrkit
4•sibouzitoun•3h ago•0 comments

Show HN: PauseRead – hosted read-later with Pocket HTML import

https://pauseread.com/pocket-alternative
4•YuriiKholodkov•3h ago•0 comments

Show HN: MiniPCs.zip – Charting the Pareto frontier of Mini PCs

https://minipcs.zip
41•yathern•1d ago•21 comments

Show HN: Bowora – A launchpad for build-in-public founders

https://bowora.com
5•Nimaaksoy•3h ago•0 comments

Show HN: Ze.sh – a z.sh-derived directory jumper that uses an event clock

https://github.com/jghub/ze
5•jghub•3h ago•0 comments

Show HN: Prismag – Per-block model routing for the terminal and any IDE

https://github.com/rufus-SD/prismag
4•arthur-G•6h ago•0 comments

Show HN: Duckle a drag-and-drop visual pipeline designer

https://github.com/slothflowlabs/duckle
4•souravroy78•4h ago•4 comments

Show HN: CleverCrow: give tokens to your favorite projects

https://clevercrow.io
39•zhubert•20h ago•57 comments

Show HN: Crespo – Tree-sitter AST blueprints instead of raw code for LLMs

https://github.com/hrudulmmn/crespo
10•ByteJoseph•11h ago•1 comments

Show HN: Pulse – Dashboard for Claude Code, approve tool calls from your phone

https://github.com/nikitadoudikov/claude-pulse
38•nikitadvd•1d ago•14 comments

Show HN: TownSquare, a tiny presence layer for websites

https://townsquare.cauenapier.com/
260•cauenapier•2d ago•148 comments

Show HN: StartupsBR – A map of Brazilian startups

https://www.startupsbr.com/sao-paulo
16•leonagano•2d ago•7 comments

Show HN: StartupWiki – A Free Alternative to Crunchbase

https://startupwiki.tech/
227•shpran•1d ago•69 comments

Show HN: Make PDFs look scanned (CLI or in the browser via WASM)

https://github.com/overflowy/make-look-scanned
151•overflowy•1d ago•63 comments

Show HN: Brain Frog – Can you be random enough for 11 lines of JavaScript?

https://brainfrog.lol
15•AlexanderZ•3d ago•10 comments

Show HN: Microcrad – Micrograd Reimplemented in C

https://github.com/oraziorillo/microcrad
78•oraziorillo•5d ago•28 comments

Show HN: Talos – Open-source WASM interpreter for Lean

https://github.com/cajal-technologies/talos
105•mfornet•4d ago•28 comments

Show HN: NagMeLater – Reminders and to-do list, inside your WhatsApp

https://nagmelater.com
2•mehulfanawala•9h ago•0 comments

Show HN: MemoryOps – governed memory infrastructure for AI assistants

https://github.com/patibandlavenkatamanideep/memoryops-ai
5•pvmanideep20•9h ago•0 comments

Show HN: We post-trained a model that pen tests instead of refusing

https://www.argusred.com/cli
91•dk189•2d ago•40 comments

Show HN: My Windows XP portfolio with working Game Boy and iPod

https://mitchivin.com/
70•mitchivin•1d ago•34 comments