frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

News.Y Combinator.com

1•molchanovartem•54m ago
Hi HN, author here.

I built this because I was tired of VS Code freezing or crashing whenever I accidentally opened a multi-gigabyte log file. While less or tail -f are great, I wanted the IDE features (regex search, copy-paste, highlighting) without the context switch.

This is a VS Code extension that spawns a Rust sidecar to handle the heavy lifting.

How it works:

1. I/O: It uses memmap2 to map the file into memory. This lets the OS manage paging, so opening a 10GB file consumes virtually no heap memory in the process.

2. Indexing: On load, it does a single pass to build a line index (Vec<u64> offsets). This allows O(1) access to any specific line range.

3. Frontend: The UI is a Webview with aggressive virtualization. Since browsers have a limit on element height (often around ~10M pixels), I implemented a coordinate scaling system to support scrolling through files with millions of lines.

4. Search: It runs in the Rust backend using the regex crate, streaming results back to the UI in chunks to avoid blocking the thread.

5. IPC: Communication happens via Stdin/Stdout JSON streaming.

Features:

- Instant open for large files (tested up to ~10GB).

- Follow mode (tail -f implementation with 500ms polling).

- Filtering that keeps real line numbers (useful for correlating with stack traces).

- Cross-platform binaries included (Mac/Linux/Win).

The code is open source, and I'd love to hear your thoughts on the Rust implementation, especially regarding the mmap safety or potential optimizations for the search logic.

Repo: https://gitlab.com/molchanov.artem.1994/log-analyzer-pro Marketplace: https://marketplace.visualstudio.com/items?itemName=molchanovartem1994.log-analyzer-pro

Show HN: Alter – Switch Git username and email and credential in one line

https://github.com/AmaseCocoa/alter
1•amase•1m ago•0 comments

Ask HN: What're the most annoying repo setup stories you have?

1•kamesstory•1m ago•0 comments

Show HN: WhatsApp Backup Reader – Browse exports offline, data stays local

https://rodrigogs.github.io/whats-reader/
1•rodrigogs•2m ago•0 comments

Qobuz: 100M tracks in the best sound quality available for streaming

https://www.qobuz.com/us-en/discover
1•doener•2m ago•0 comments

Show HN: RepoSquirrel – Identify Code Ownership and Subsystem Contributors

https://github.com/reposquirrel/reposquirrel
1•reposquirrel•4m ago•0 comments

Half of people arrested in London may have undiagnosed ADHD, study finds

https://www.cam.ac.uk/research/news/half-of-people-arrested-in-london-may-have-undiagnosed-adhd-s...
2•gnabgib•6m ago•0 comments

YouTube CEO says more AI moderation is coming despite creator backlash

https://www.dexerto.com/youtube/youtube-ceo-says-more-ai-moderation-is-coming-despite-creator-bac...
3•not4uffin•7m ago•0 comments

After Microsoft's $17.5B commitment, Amazon announces a $35B investment by 2030

https://timesofindia.indiatimes.com/business/india-business/amazon-doubles-down-on-india-announce...
1•whoknowsidont•7m ago•1 comments

India proposes charging OpenAI, Google for AI training; lobbying group protests

https://techcrunch.com/2025/12/09/india-proposes-charging-openai-google-for-training-ai-on-copyri...
1•ilamont•8m ago•0 comments

EPA website removes fossil fuels as cause of global warming

https://www.euronews.com/green/2025/12/10/we-look-ridiculous-us-government-website-removes-fossil...
3•OutOfHere•9m ago•2 comments

Ode to My Office Lethargy

http://andersource.dev/2025/02/02/ode-to-my-office-lethargy.html
1•andersource•12m ago•0 comments

Solving Boggle (2021)

https://benknoble.github.io/scribblings/2021-10-27-boggle/2021-10-27-boggle.html
1•bariumbitmap•12m ago•0 comments

Code agents does not handles Jupyter well, so I build a special AI agent for it

https://www.youtube.com/watch?v=DNDVSAUAMsc
2•loa_observer•15m ago•0 comments

PowerWash Simulator

https://store.steampowered.com/app/1290000/PowerWash_Simulator/
1•doener•16m ago•0 comments

US seizes oil tanker off coast of Venezuela

https://www.usatoday.com/story/news/politics/2025/12/10/us-venezuela-oil-tanker/87704943007/
6•geox•17m ago•0 comments

macOS Music Players

https://andreyor.st/posts/2025-12-10-macos-music-players/
2•ibobev•18m ago•1 comments

Show HN: Clearquran.ai – Multi-agent LLMs translate the Quran

https://clearquran.ai
2•talal-itani•19m ago•1 comments

Reproductive risk of Neonicotinoids: A review of male rodent studies

https://www.sciencedirect.com/science/article/pii/S0013935125021553?via%3Dihub
2•PaulHoule•19m ago•0 comments

Lithium-ion battery pack prices fall to $108/kWh

https://www.ess-news.com/2025/12/09/bnef-lithium-ion-battery-pack-prices-fall-to-108-kwh-stationa...
3•toomuchtodo•21m ago•2 comments

51% attack simulator for PoW blockchain

https://fifty-one-attack.fmiras.com
1•fmiras•22m ago•0 comments

The Bubble Is Labor

https://danielmiessler.com/blog/the-real-bubble-is-human-labor
2•janpio•27m ago•2 comments

Parkinson's Might Be in the Water

https://www.wired.com/story/scientists-thought-parkinsons-was-in-our-genes-it-might-be-in-the-water/
6•wjb3•28m ago•0 comments

Renormalization: Gemini AI helped me see sense and beauty in two turbulent years

https://renormalize.substack.com/p/on-renormalization
1•getnormality•28m ago•0 comments

Show HN: A non-encrypted password manager

https://www.bloodless.ai/
1•shayarma•35m ago•1 comments

AI-Generated Misstatement Risk:A Framework for Enterprise Organisations

https://zenodo.org/records/17885472
1•businessmate•36m ago•1 comments

Pg_ClickHouse: ClickHouse-Speed Analytics from Postgres

https://github.com/ClickHouse/pg_clickhouse
1•saisrirampur•37m ago•0 comments

DuckGPT – agent for solving complex coding problems

https://duckgpt.vercel.app
2•mrdw•38m ago•0 comments

AI will probably force you to gate your content

https://www.niemanlab.org/2025/12/ai-will-probably-force-you-to-gate-your-content/
3•coloneltcb•40m ago•0 comments

Trump's SAVE tool looks for noncitizen voters. It's flagging U.S. citizens too

https://www.npr.org/2025/12/10/nx-s1-5588384/save-voting-data-us-citizens
4•starkparker•40m ago•0 comments

Maybe we don't need a server

https://lecaro.me/20251203-maybe-we-do-not-need-a-server.html
2•todsacerdoti•41m ago•0 comments