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
4•jghub•1h 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.

1•Indigo-Nx•14s ago

Taiko $1.7M Crypto Hack

https://twitter.com/QuillAudits_AI/status/2069041275211530673
1•maxrev17•49s ago•1 comments

Kunal Shah to Lead WhatsApp Globally

https://www.moneycontrol.com/europe/?url=https://www.moneycontrol.com/news/business/startup/cred-...
1•aspanda•2m ago•0 comments

Engineers create world-first 'super alloy'

https://www.monash.edu/news/articles/engineers-create-world-first-super-alloy
1•geox•2m ago•0 comments

Statistics that live in your SQL

https://kolistat.com/blog/the-stats-duck-v0-6-0/
1•caerbannogwhite•3m ago•0 comments

The Retweeting Class

https://berjon.com/rt/
1•dotcoma•5m ago•0 comments

Open Source Openrouter – Routatic

https://github.com/routatic/proxy
1•teezay•7m ago•0 comments

Sakana Fugu: orchestrator with Mythos capabilities

https://sakana.ai/fugu-release/
1•pama•7m ago•0 comments

Meta Taps New WhatsApp Boss as Part of $900M Investment

https://www.bloomberg.com/news/articles/2026-06-22/meta-taps-new-whatsapp-boss-as-part-of-900-mil...
1•ilreb•8m ago•0 comments

Detent: AI agent orchestration with worktrees and serialized merge train

https://github.com/digitaldrywood/detent
1•corylanou1•8m ago•1 comments

Irrational Intelligence: Using the Most Expensive Model for Everything

https://medium.com/@tobrien/ai-capability-theater-why-everyones-driving-a-ferrari-0dcfb33fc7cd
1•tmo9d•9m ago•1 comments

Your Next Back End Could Just Be a Google Sheet

https://akashrajpurohit.com/blog/your-next-backend-could-just-be-a-google-sheet/
1•ghostfoxgod•10m ago•0 comments

Agent-memory systems admit poisoned facts – a reproducible benchmark

https://github.com/arsenis-cmd/clai-benchmarks
2•areneu•10m ago•0 comments

85% of public Claude Code repos have a Claude.md, but only 25% use subagents

https://www.buildthisnow.com/blog/real-examples/state-of-claude-code-2026
2•speedy_devv•11m ago•0 comments

WhatsApp's "End-to-End Encryption" Is the Biggest Lie in Tech History

https://medium.com/%400xaxgb/whatsapps-e2e-encryption-is-the-biggest-lie-in-tech-history-and-i-ca...
3•dotcoma•11m ago•0 comments

Alan Greenspan, RIP

https://www.nytimes.com/2026/06/22/us/alan-greenspan-dead.html
2•A_D_E_P_T•12m ago•0 comments

The Lego Natural History Museum, and the Question of Scale

https://svpow.com/2026/05/05/the-lego-natural-history-museum-and-the-question-of-scale/
1•surprisetalk•12m ago•0 comments

Want a Better Credit Score? Don't Fall for This Common Scam

https://brothke.medium.com/want-a-better-credit-score-dont-fall-for-this-common-scam-eec6b6f968a3
1•benrothke•13m ago•0 comments

Show HN: CalendarPipe – programmable calendar sync via OAuth or email invites

https://www.calendarpipe.com
1•jukben•14m ago•1 comments

Quantum mechanics theory may work without imaginary numbers, analysis suggests

https://phys.org/news/2026-06-quantum-mechanics-theory-imaginary-analysis.html
1•pseudolus•15m ago•0 comments

Shiproof: Catch App Store rejections before you submit (free GitHub Action

https://github.com/BhaveshThapar/Shiproof
2•bthapar•15m ago•0 comments

The Leg That Feels the Ground Through Its Gears – Mobility and Field Robotics

https://atomsfrontier.substack.com/p/the-leg-that-feels-the-ground-through
1•jpatel3•16m ago•0 comments

The World Is Waiting for the Next Adam Smith

https://cacm.acm.org/blogcacm/the-world-is-waiting-for-the-next-adam-smith/
5•pseudolus•16m ago•0 comments

WordPress Debug.log Can Eat the Whole Disk

https://wpmultitool.com/blog/wordpress-debug-log-too-large/
2•taubek•18m ago•0 comments

Datastar: It's Pretty Good – With David Nolen [video]

https://www.youtube.com/watch?v=2ECucq-mTGg
1•andersmurphy•18m ago•0 comments

Benchmarking low latency, high concurrency analytics engines

https://medium.com/@dans_floor/red-vs-blue-vs-yellow-benchmarking-low-latency-high-concurrency-an...
2•karlmush•19m ago•0 comments

Microsoft considers DeepSeek as OpenAI costs mount

https://www.digitimes.com/news/a20260621PD202/microsoft-deepseek-openai-cost-copilot.html
4•dstala•21m ago•0 comments

GLM-5.2: Another open-source Chinese AI model has Silicon Valley's attention

https://www.businessinsider.com/what-is-glm-5-2-chinese-ai-coding-model-2026-6
1•dstala•23m ago•0 comments

Show HN: Core Rankings for DBLP Profiles

https://pubtier.com/
1•otrack•23m ago•0 comments

A Marinharia dos Descobrimentos: technology, method, and a hunger to know

https://emot.substack.com/p/a-marinharia-dos-descobrimentos-technology
1•emot•24m ago•0 comments