News for hackers. Stuff that matters.

lummm

Show HN: Codecrush – AI Documentation Generator

https://crushmycode.com

Hi, sharing something I've been working on for a while. CodeCrush runs locally and points to an LLM of your choice - so self-hosted, OpenAI, whatever you're comfortable with. It uses the LLM to extract the information it needs to build a knowledge graph over a codebase, and leverages that knowledge graph to build documentation over important sections of the codebase it identifies. You can also...

( Read More... | no comments | 2 points | on HN )

Show HN: Codebase Knowledge Graph Builder

https://github.com/Black-Tusk-Data/crushmycode

I've been working on tools for 'understanding' software code for a couple years now. I have yet to find a better way to model actual concepts than with knowledge graphs. To that end, I present to you here you a tool to automatically construct a knowledge graph over a codebase, which can serve as the foundation for a wide range of downstream tools. Point it at a codebase, give it your OpenAI API...

( Read More... | no comments | 3 points | on HN )
I actually have created something very similar here: https://github.com/Black-Tusk-Data/crushmycode, although with a greater focus on 'pulling apart' the codebase for onboarding. So many potential applications of the resultant knowledge graph.
Re:How productive will GitHub Copilot make me? on Monday February 24, 2025 @10:38PM (#43167881)
This my most honest take on how effective Copilot can be if it's given an honest shake. Do you agree with my assessment?
Re:Late Chunking and better RAG chunking on Wednesday December 18, 2024 @10:44AM (#42451377)
Late chunking is a promising approach to computing text embeddings that incorporates more of the actual document into each chunk's embedding. I think it's pretty promising.
Re:A Barebones GraphRAG Implementation on Wednesday November 27, 2024 @11:05AM (#42257103)
Mostly as an academic exercise, I built a much simpler implementation of the Microsoft GraphRAG implementation laid out in this paper: https://arxiv.org/abs/2404.16130. I find it to be nevertheless pretty functional, and certainly more hackable than the de-facto implementation.
Re:A Developer's Guide to Large Language Models on Friday November 01, 2024 @12:23PM (#42018573)
This is a small book / guide I've written with the goal of demystifying the details of language models for developers without any ML / neural network experience. From my perspective, there is a level of understanding within the grasp of most developers that will enable them to build software with drastically new capabilities. This guide is my attempt at bridging that gap in education. Please share if you find it helpful!
Re:The extensible vi layer for Emacs on Friday March 03, 2023 @09:44AM (#35010223)
I've always had view-mode come on by default, and I have a bunch of custom keybindings for view mode which are nicer on the hands when you're just reading text.

So (add-hook 'find-file-hook 'start-view-mode) to turn it on automatically.

(defun view-mode-background () (if (bound-and-true-p view-mode) (face-remap-add-relative 'mode-line '((:background "#9400D3"))) (face-remap-add-relative 'mode-line '((:background "red"))))) ^ this helps a lot to know whether or not you're in view mode

And then: (defun view-mode-keybindings () (define-key view-mode-map (kbd "j") 'View-scroll-line-forward) .. etc

Ask HN: Where to engage with Vancouver tech scene?

I've been working in the Vancouver tech industry for 6 years this January, but have yet to feel as if I've 'connected' in any way with tech professionals outside of my coworkers. Is anyone aware of a canonical watering hole or really anything that brings together tech professionals in the city?

( Read More... | no comments | on HN )
I think I'd have to say NextJS with SQLite. Every DB table would just be 'id' and 'data', where 'data' is JSON-encoded and the schema is only enforced in code. This lets you write a 30-line ORM. Foreign-key relationships are just modelled as lists. If speed is the major concern, I find this the fastest way to build. You can bring structure to the DB as things are nailed down.
Re:Things your manager might not know on Monday October 31, 2022 @12:00PM (#33407680)
What about GCP?
Re:Developers can't fix bad management (2020) on Thursday June 10, 2021 @10:07AM (#27460945)
I think below a certain threshold of competence, a manager will negatively impact the productivity of a team mostly by eroding any ability to focus on a single task at a time. A good manager should shield the team until it is appropriate from the very things a poor manager would be dumping on the team as they arise.
I don't understand the lamentation over a culture of overwork. What other method is there to get ahead as an individual other than out-competing your peers? My understanding of life as a young professional in China or Korea is that the competition is almost unbelievable to someone from North America.
Re:Overwork kills more than 7,450,000 people per year on Monday May 17, 2021 @10:05PM (#27190570)
So what are we supposed to do about it? Work less? Lol.
I think the use of government surveillance is less likely to be used to conduct drone strikes and far more likely to prompt a Tiananmen square esque response to dissent. Thus I would firmly disagree with this sentiment.