HackerTrans
TopNewTrendsCommentsPastAskShowJobs

tamnd

no profile record

Submissions

The Hitchhiker's Guide to Agentic AI: From Foundations to Systems

arxiv.org
3 points·by tamnd·12 days ago·0 comments

Mitchell Hashimoto: Defining Taste

xcancel.com
3 points·by tamnd·14 days ago·0 comments

Show HN: Yomi – Read any web page, or a whole website, into clean Markdown

github.com
3 points·by tamnd·24 days ago·4 comments

Show HN: Kage – Shadow any website to a single binary for offline viewing

github.com
712 points·by tamnd·27 days ago·141 comments

[untitled]

1 points·by tamnd·last month·0 comments

Please remove mole.fit references and original UI design from this project

github.com
6 points·by tamnd·last month·0 comments

The Paint.net Domain Has Been Secured

blog.getpaint.net
5 points·by tamnd·last month·0 comments

Monumental Proof Settles Geometric Langlands Conjecture

quantamagazine.org
2 points·by tamnd·2 months ago·0 comments

Advancing Mathematics Research with AI-Driven Formal Proof Search

arxiv.org
3 points·by tamnd·2 months ago·0 comments

Bun support is now limited and deprecated

github.com
594 points·by tamnd·2 months ago·608 comments

Think Linear Algebra (2023)

allendowney.github.io
225 points·by tamnd·2 months ago·35 comments

The Programmer After AI

gist.github.com
2 points·by tamnd·2 months ago·0 comments

DeepSeek 4 Flash local inference engine for Metal

github.com
499 points·by tamnd·2 months ago·159 comments

Redmine

redmine.org
3 points·by tamnd·2 months ago·0 comments

Show HN: Historical Python source documentation, from 1.0.1 through 2.0c1

github.com
2 points·by tamnd·3 months ago·1 comments

Show HN: Python 0.9.1 from 1991, Guido van Rossum's first public release

github.com
5 points·by tamnd·3 months ago·0 comments

Show HN: Goempy – Ship a CPython interpreter inside your Go binary

github.com
4 points·by tamnd·3 months ago·0 comments

Hermes Agent Self-Evolution System: A Detailed Similarity Analysis with Evolver

evomap.ai
2 points·by tamnd·3 months ago·0 comments

GitHub's Fake Star Economy

awesomeagents.ai
2 points·by tamnd·3 months ago·0 comments

CC v2.1.100 inflates cache_creation by ~20K tokens vs. v2.1.98

github.com
2 points·by tamnd·3 months ago·0 comments

comments

tamnd
·24 days ago·discuss
I built these tools because I'm tired of recent tools being built for AI rather than for humans. More are coming soon!
tamnd
·24 days ago·discuss
It is a sibling project of https://github.com/tamnd/kage, in case you missed it.
tamnd
·24 days ago·discuss
Sorry, the docs come first, and I will set up Brew and Scoop later. In the meantime, you can use the pre-built images from the releases or use Go to build from source.
tamnd
·26 days ago·discuss
Possible, but currently I disable all large files, including videos.

For video downloading, I suggest wrapping around yt-dlp. It's an awesome tool.
tamnd
·26 days ago·discuss
If there's more demand for that, maybe I will implement a more relaxed version.
tamnd
·26 days ago·discuss
Currently, all of that is broken. At one point, I had a traumatic experience where an archived HTML file kept redirecting to the live site, even though I already had all the content rendered, so I ended up disabling all JavaScript entirely.
tamnd
·26 days ago·discuss
Good news for you: here is the command to clone Apple Docs:

```bash bin/kage clone https://developer.apple.com/documentation/ \ --scope-prefix /documentation/ \ --out /Users/apple/data/apple-docs \ --chrome "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \ --max-pages 0 --max-depth 0 \ --workers 3 --browser-pages 3 --asset-workers 6 \ --render-timeout 60s --settle 2s --timeout 30s \ 2>&1 | tee -a /Users/apple/apple-docs.log ```

Adjust it to your needs :)

I smoke-tested it, and all the content and CSS work, but I stripped all the JS, so the sidebar won't work.

If you run into any problems, feel free to create new issues in the repo. It helps me prioritize and know what should be fixed.
tamnd
·26 days ago·discuss
It should be fixed by https://github.com/tamnd/kage/pull/12

Thanks for nice trick.
tamnd
·26 days ago·discuss
Not yet supporting cookies, since I created this tool for shadowing public websites first. I will add options to pass cookies later. It will pass them to the underlying Chrome/Chromium process, so it should not be hard to do.
tamnd
·26 days ago·discuss
This could be a nice code golf project. It only needs a webview, a ZIM reader, and a way to append data to an existing binary and read it back.

I did something like that a very long time ago (Of course, I have forgotten)
tamnd
·26 days ago·discuss
For sharing, better use the html folder or zim format, Kage supports both of them.
tamnd
·26 days ago·discuss
I have a project for creating and archiving RSS feeds, keeping the full history from the time the crawler starts. I need to clean up a bit, then will open source it soon.
tamnd
·26 days ago·discuss
Exactly. For downloading, Kage requires Chrome or Chromium. Running it inside Docker makes setup easier and keeps cleanup simple:

https://github.com/tamnd/kage/blob/main/Dockerfile

Btw, let me think the way to only enable this when running inside Docker.
tamnd
·26 days ago·discuss
Making docs available offline was one of my main motivations for building this tool. I will try Apple Docs too.

I previously downloaded the Snowflake docs, and it was something like tens or even hundreds of thousands of pages, I do not remember exactly. The output ended up being very large.

By the way, I forgot to add zstd compression support to my ZIM reader/writer. I will implement that in the next version.
tamnd
·26 days ago·discuss
Thanks ;)
tamnd
·26 days ago·discuss
Kiwix has readers for almost every platform, Android, desktop, iPhone. That's why I made Kage produce ZIM file.

The executable file is mostly for people who don't have Kiwix installed yet, or just want to run the archive directly.
tamnd
·26 days ago·discuss
This brings back memories. Around twenty years ago, internet was still expensive dial-up, so I used to go to an internet cafe, run HTTrack to download websites and manga, copy everything onto my tiny 128MB USB stick (felt very large at that time), then bring it home and read offline ;))
tamnd
·26 days ago·discuss
You could use python -m http.server instead. I haven't tried it yet, but it should work.

Actually, Kage has two parts: a crawler that crawls pages and converts them to clean HTML by capturing the DOM after rendering in Chrome/Chromium, and a pack/serve component that packages the result as either a ZIM file for Kiwix or an executable file.
tamnd
·26 days ago·discuss
I have a bunch of opinionated/personal-use binaries like this in my $HOME/bin/, like delete-all-npm, clean-rust-cache, download-youtube-playlist, and get-markdown <url>. It feels good, and I don't need to remember any commands. Sometimes my coding agent can figure out how to call some of those tools too ;))
tamnd
·27 days ago·discuss
I tried to follow well-known formats first, such as WARC and ZIM from Kiwix, so we could benefit from existing tooling support.

For my own custom data format, I have a lot of private code that I plan to release soon. It is optimized for compression, fast lookups, and more. I have been working on it for two years. This is part of a larger, ambitious umbrella project: I am building Google from scratch (all open source), something that anyone can host, including the crawler, indexer, storage, and serving layers. Stay tuned!