64 karma · joined Jul 21, 2024 (2y ago) · 26 submissions
comment 1y ago · link · parent
In my opinion we need a multi-modal model that is great at both tabular datasets and text analysis. Most analytical work in economics, policy, public health, medicine etc requires a combination of crosschecking between both. Current gen LLMs are not good enough at generating novel insights by looking at tables and text at the same time. I also haven’t have found any data on this so please serve it to be on a plate if I’m wrong.
2.
Show HN: AI chat client that can run on SharePoint and regulated environments(github.com ↗)
4 points · by aerugo_ · 1y ago · discuss
comment 1y ago · link · parent
9.
Show HN: Ultra-portable Gantt chart tool for very regulated environments(github.com ↗)
115 points · by aerugo_ · 1y ago · 29 comments
11.
Looking for Ideas for Impact Entrepreneurship
2 points · by aerugo_ · 2y ago · 2 comments
comment 2y ago · link · parent
New release https://github.com/aerugo/prelude/releases/tag/v0.3 and pushed to the Homebrew formula
comment 2y ago · link · parent
However, I just had a go at using Aider, and WOW - I have tried a bunch of these auto-commit tools before (GPT Engineer, Fume, etc) but I found them to be clunky and unintuitive. Aider has fixed a lot of these problems, and I absolutely love it. Can't believe I hadn't heard of it until now. Thanks! I see myself using this quite a bit, and using Prelude when I need to debug something where the Aider workflow gets stuck.
comment 2y ago · link · parent
——
I want to add a feature to my Content.js component. In the table that displays names of animals, I want to add an Edit button in a new column on each row. When clicked, it should bring up a modal that allows me to edit the name and emoji of the animal.
Review my codebase to see how CRUD actions are implemented for other features. Make sure you follow the established code patterns in the project.
Before starting to code, consider best practices for UX of a feature like this and make sure the implementation is user friendly and follows best practices.
After reviewing the code, describe how you will implement the feature make a plan for how to implement. After that, write the complete code for the implementation.
comment 2y ago · link · parent
As for multiple stages, it means the tool itself is doing a few calls to the model. What do the code summaries look like? Just function and class doctrings? Getting the model to write summaries that are comprehensive enough to guide development but still more compact than the code itself seems like it may not be a trivial problem.
comment 2y ago · link · parent
Prelude is rather meant for when you are pair-programming with a chat model and find yourself pasting a lot of context to remind the model of the state of your code. I always have terminals open anyway, so having it as a CLI tool rather than needing to make requests to a server, makes sense for me.
comment 2y ago · link · parent
Prelude is meant to really just do a single thing. I haven’t felt the need for things like templates, but I will give code2prompt a spin if I need more fancy things.
comment 2y ago · link · parent
With the large context windows of OpenAI and Anthropic models, you can keep entire code repositories in context. But copy-pasting the file-tree and code from lots of places is annoying. Prelude is a tiny CLI tool that creates a context prompt from files in your directory and its subdirectories, then copies it to your clipboard or saves it to a text file. Prelude creates a prompt containing the file tree of your specified directory, minus the files you ignored in .gitignore and .preludeignore, followed by the content of each file. It adds a bit of context prompting at the end, and that's it. Ready to copy-paste into a new chat with your favorite AI-chat. Nothing more, nothing less. Here’s how it works:
Install Prelude with Homebrew:
brew tap aerugo/prelude brew install prelude
Simply run prelude in your working directory. Need files from a specific subdirectory? Use prelude -p dir. Want to specify a filename to save the prompt? Use prelude -f prompt.txt. Lots of files you don't want in the prompt? Put them in a .preludeignore file in the root folder where you run Prelude
Say that you know the names of the files you want to include, for example FooBar.py and BarFoo.md and they are somewhere in your file hierarchy.
Just run
prelude -M "foobar|barfoo"
and you will get a prompt with only those files. It also works with * wildcards.
Of course, it also works with the -P option, so you can also run something like
prelude -P backend/src -M "*.py"
To get all python files in the src directory of your backend.
PS. I'm sure this already exists. Lots of people must have done this. But nevertheless, I couldn't find a simple CLI tool to do just this, so I wrote one for myself, and then thought to share it.
22.
Prelude – a tiny CLI tool building context prompts from your code(github.com ↗)
57 points · by aerugo_ · 2y ago · 27 comments