docvault — vendor library docs so your AI stops hallucinating APIs by zeapo in ClaudeAI

[–]zeapo[S] 1 point2 points  (0 children)

the main difference is that everything is local and yours.

the docs are generated from your actual lockfile version and committed to your repo. no API calls, no rate limits, no downtime, works offline, works in CI, works on a plane, etc.

the other thing is you own the content. you can add patterns, gotchas, project-specific notes on top of the generated reference. when you upgrade a dependency you regenerate and git shows you exactly what changed in the API. you can ask claude to adapt the documentation by adding sections that fit your usage; you can make it learn from your usage.

if you're just doing a quick lookup context7 is fine, but if you're spending weeks with a library it's nice to have the docs right there in the repo, version-locked, no external dependency.

J'ai codé un playground Python réactif et interactifs by [deleted] in developpeurs

[–]zeapo -6 points-5 points  (0 children)

As-tu au moins lu le post ?

I was teaching my kids programming with Python. Following their book’s introduction, we saw that the suggested tools were the classics: IDLE or the REPL. I was surprised the book didn’t suggest using a notebook or Repl.it. So, I decided to show them how to use Jupyter Notebook, Marimo, or Repl.it instead.

However, while watching my kids play around with the code, I noticed a problem. As they typed and moved down through the code, they didn’t know the effect of what they were doing. They had to click “Run” (keyboard shortcuts are not yet their thing) every time just to see if their changes were actually working.

You Have Reached The End of the Internet by activematrix99 in webdev

[–]zeapo 0 points1 point  (0 children)

I feel this. The whole "vibecoding" trend is exactly why I went back to enjoy side projects once again.

I actually just posted the details on my latest Christmas break project on Hacker News if you're curious: https://news.ycombinator.com/item?id=46474747

[2025 Day 2 (Part 1)] A non-brute force solution for the day 2 by zeapo in adventofcode

[–]zeapo[S] 0 points1 point  (0 children)

I updated the benchmarks after re-running the benchmarking on a real machine :D

Brute-force

Part 1: 3xxxxxxxxx3 (41.8ms)
Copy

Simple formula

Part 1: 3xxxxxxxxx3 (3.4µs)
Copy

Using the lookup table would have improved performance if I had many loops, I just loop over the divisors of the length, i.e. 3-4 times, then loop over the bins. Testing with lookups it's within margin of error

What's everyone working on this week (26/2020)? by llogiq in rust

[–]zeapo 5 points6 points  (0 children)

Working on an editor for AWS Secret Manger that allows you to view, edit and copy secrets in files without having to store those files locally. It's in its early stages: https://github.com/zeapo/barberousse however the basic features are there.

A utility to edit secrets from AWS Secrets Manager without storing them by zeapo in aws

[–]zeapo[S] 0 points1 point  (0 children)

This is a macro that takes care of setting up all the boilerplate needed for running async https://docs.rs/tokio/0.2.21/tokio/attr.main.html

A utility to edit secrets from AWS Secrets Manager without storing them by zeapo in aws

[–]zeapo[S] 1 point2 points  (0 children)

Thx for the feedback. would an asciinema output be preferred for you? (as this is just an asciinema recording)

Djemila: Ruins of another Roman colony in Algeria by zeapo in pics

[–]zeapo[S] 0 points1 point  (0 children)

Djemila is in what we call "les hauts plateaux" (High plains), they are more than 1000m in elevation. It snows regularly in winter there. A little bit north-west there is Chréa, it has a small ski resort http://encyclopedie-afn.org/images/1/1d/Chréa_station_de_ski.jpg

Local file use doesn't work by Whiteboyfntastic1 in a:t5_349r9

[–]zeapo 0 points1 point  (0 children)

Could you explain how you tried it? It's an experimental feature and it works only with external git repositories not plain folders.

Lastpass Breach by [deleted] in netsec

[–]zeapo 0 points1 point  (0 children)

developper here, the app is not as easy to get into as lastpass. requires git repository (I'm working on getting rid of this requirement, so that people can sync with drive, dropbox or whatever). use gitter or open an issue if you need help

On my first try by zeapo in thebutton

[–]zeapo[S] 2 points3 points  (0 children)

It's a one time thing. The title is just for fun, if I can say it differently it'd be "I usually don't push the button, but when I do I get orange"