News for hackers. Stuff that matters.

vivekkalyan

Show HN: Provide LLMs markdown documentation of libraries and frameworks

https://github.com/CartographAI/atlas-docs-mcp

Hey HN!We realised that LLMs are great at generating code for super popular libraries like React. But they kinda suck at using less popular/newly released libraries, forcing us to stick to established tools and hindering innovation.There is already a standard for creating documentation for LLMs (llmstxt.org), but in my experience the implementations have not been great so far. `llms.txt` works...

( Read More... | no comments | 2 points | on HN )
Yes definitely, adding database schemas and queries is on our roadmap for capturing "indirect links" across codebases. We are thinking of something similar to Supabase studio's schema visualizer [1], but integrated with the map of the codebase so that which parts of the code read/writes to different tables. Is that what you have in mind? Or do you mean something else by database access patterns?

1: https://supabase.com/blog/supabase-studio-3-0#schema-visuali...

Show HN: Cartograph – AI-generated code documentation and architecture diagrams

https://cartograph.app/

Hey there HN! We're Vivek and Si-Yan from Cartograph (https://cartograph.app). We've built an AI-powered code documentation platform that automatically generates reference documentation and creates a visual interactive map of the codebase that serves as both high level architecture diagram and allows you to zoom in to specific implementations.How it works: We use static analysis to read a...

( Read More... | 2 comments | 4 points | on HN )
This is great work! Mechanistic interpretability has tons of use cases, it's great to see open research in that field.

You mentioned you spent your own time and money on it, would you be willing to share how much you spent? It would help others who might be considering independent research.

Re:Using Microsoft Word with Git on Friday August 28, 2020 @12:21PM (#24306742)
My solution is inspired by this blog post but creates a global attributes file. I documented it here:

https://www.vivekkalyan.com/using-git-for-word

I tend to prefer markdown for most things, but find it hard to beat Word in terms of simplicity of elegant designs for, say, resumes.

Re:Are we in an AI Overhang? on Monday July 27, 2020 @11:14PM (#23971931)
> We aren't sure, but the speculation is that in the process of training, GPT-3 found that the best strategy to correctly predicting the continuation of arithmetic expressions was to figure out the rules of basic arithmetic and encode them in some portion of its neural network, then apply them whenever the prompt suggested to do so.

I strongly disagree. GPT-3 has 100% accuracy on 2-digit addition, 80% on 3-digit addition, 25% on 4-digit addition and 9% on 5-digit addition. If it could indeed "understand arithmetic" the increase in number of digits should not affect its accuracy.

My perspective as an ML practitioner is that the cool part of GPT-3 is storing information effectively and it is able to decode queries easier than before to get the information that is required. Yet with things like arithmetic, the most efficient way would be to understand the rules of addition but the internal structure is too rigid to encode those rules atm.

The rules seem pretty clear that consent is required from any persons appearing in any external datasets that are required. The winners scraped data from Youtube videos so I am not not sure the issue is.

The more worrying takeaway is that the winners scraped videos from people who clearly had no intention of their videos being used for a deepfake detection algorithm. Yet they did not think of the ethical considerations of using that data (did everyone in the video even have a say in the video being uploaded?). I think Kaggle disqualifying the team is the right move (even if it's a painful one for the winners).

I prefer the emacs bindings for the command line such as C-A, C-U (mostly due to muscle memory), but have set up my $EDITOR as vim. This allows me to do C-X C-E, which opens the current command in vim to be edited.

If you are using zsh, you need to add this to ur .zshrc

  autoload -z edit-command-line
  zle -N edit-command-line
  bindkey "^X^E" edit-command-line
Re:What is the business model for DuckDuckGo? (2017) on Thursday May 28, 2020 @12:00PM (#23338819)
Can we please stop this meme? Every thread about DDG invariably seems to bring up this (false) statement.
Re:Ask HN: Do you still use MongoDB? on Friday May 22, 2020 @10:28AM (#23272450)
Anyone has thoughts about cassandra and how it compares to mongodb? There seems to be a big enterprise push with azure's cosmosdb, but I've not heard much about it from people who have actually used it.

Ask HN: Resources on Computer Instructions Optimization?

I recently learnt that a CPU optimizes instructions by doing things like predicting the results of conditionals. Where can I read more about this kind of stuff? I know basic computer architecture things like transistors, assembly code, compilers etc but I am more interested in this kind of specific problems and ways people improve computers.

( Read More... | no comments | on HN )
Re:Hey Dropbox, why can't I compare file versions like this? on Monday February 03, 2020 @04:27AM (#22222681)
my solution is to use pandoc to generate the diffs. Combines the benefits of word formatting but allows me to see the changes in git. (I use it mainly for my resume)

I wrote up about it here for the curious: https://www.vivekkalyan.com/using-git-for-word

Re:Ask HN: Show Us Your Personal Website/Blog? on Tuesday February 19, 2019 @07:15AM (#19198391)
created an account after lurking here for 3(!) years now. happy for this to be my first post, as the HN community has definitely been an inspiration towards starting my own website/blog (and I have in turn convinced a few others)

https://www.vivekkalyan.com/

my website is built with gatsbyJS and hosted with netlify. i plan to blog regularly about NLP/deep learning topics and eventually add projects + photog but thats for another day.