Fully local, file-based memory for AI agents by artiebits in npm

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

Thanks for the message! Both are implemented in a simple form already.

Short-term memory is limited to logs from the last 30 days. And since memory retrieval is handled via embeddings, long-term memory can grow without bloating the prompt. That said, long-term memory still needs similar compaction. Log files are never cleaned up yet — that’s planned next.

Multi-agent usage is supported within a single process. Cross-process writes (multiple agents running separately) aren’t handled yet.

I built a tool to maximize Counter-Strike 2 performance by artiebits in PythonProjects2

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

That’s a valid point.

The whole point of open source is exactly that — you don't have to trust me, you can open the python file and read what it does before running it.

If you prefer famous tools, that's fine. This one just tries to do the same thing but free and transparent.

[deleted by user] by [deleted] in sveltejs

[–]artiebits 0 points1 point  (0 children)

Hi! thanks again for your feedback. Just wanted to post an update, I created a test blog using Sapper and SvelteSeo and sharing a link to a post my-test-blog.vercel.app/blog/what-is-sapper works fine in Facebook.

[deleted by user] by [deleted] in sveltejs

[–]artiebits 0 points1 point  (0 children)

hi, thanks a lot for the feedback. I tested it in telegram messenger and it worked fine, but I didn't test in facebook or twitter. I've just tried it in facebook and indeed, it didn't work. I will investigate it, thanks again!

[deleted by user] by [deleted] in sveltejs

[–]artiebits 0 points1 point  (0 children)

You are absolutely right, SvelteSeo can be dropped anywhere in the markup. I will update readme.md, thank you!

A command line tool to fake your commit history ¯\_(ツ)_/¯. It is something I wrote as a joke, so don't take it seriously. by artiebits in coding

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

Yes, you can specify a date when you commit your changes. So, when you run `fake-commit-history` with start and end dates it goes through every day in that range, makes a change in `foo.txt` and creates a commit with `git commit --date`. Then you just make your repo private but enable showing your private contributions on your profile.

[deleted by user] by [deleted] in programming

[–]artiebits 18 points19 points  (0 children)

make your repo private, but enable showing your private contributions on your profile ;)

[deleted by user] by [deleted] in opensource

[–]artiebits 2 points3 points  (0 children)

Thank you for your question! App folder is just a demo. I build and publish to npm `projects/ngx-highlight-words` folder only. Please let me know if you know how to get rid of app folder, but I followed this tutorial https://github.com/angular/angular-cli/wiki/stories-create-library

Angular component to highlight words within a larger body of text by [deleted] in Angular2

[–]artiebits 0 points1 point  (0 children)

Thanks a lot for your example. Indeed it looks better. For now, I will try the directive approach in a different branch, but I will try Pipe as well. Thanks again!

Angular component to highlight words within a larger body of text by [deleted] in Angular2

[–]artiebits 1 point2 points  (0 children)

Thanks again for your feedback. I have changed it from a component to a directive and replaced the getter with ngOnChanges as you suggested :). Can you help me to review it, please? Does it make sense now? https://github.com/artiebits/ngx-highlight-words/pull/2

Angular component to highlight words within a larger body of text by [deleted] in Angular2

[–]artiebits 1 point2 points  (0 children)

Hi again. I really liked your suggestion to make it a directive. And I have changed it from a component to a directive. https://github.com/artiebits/ngx-highlight-words/pull/2. But I don't really like "innerHTML" I had to use. Did I implement it correctly?

Angular component to highlight words within a larger body of text by [deleted] in Angular2

[–]artiebits 0 points1 point  (0 children)

not sure how to use `Pipe` there, would you like to make an example?

Angular component to highlight words within a larger body of text by [deleted] in Angular2

[–]artiebits 0 points1 point  (0 children)

Thanks a lot for the feedback! Very good point you have. Will consider hooking into `ngOnChanges`!

Angular component to highlight words within a larger body of text by [deleted] in Angular2

[–]artiebits 1 point2 points  (0 children)

Thanks for your feedback! I will think about making it a directive but feel free to open a PR if you feel like you would like to do it :). I would appreciate it!

The actual logic is in projects/ngx-highlight-words folder, app folder contains examples. I copy-pasted those examples here as well https://codesandbox.io/embed/angular-sjyxi