lummm
lummm on Hacker News
Posted by
lummm on Saturday May 03, 2025 @12:16PM
from the show-hn dept.
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...
Posted by
lummm on Monday April 21, 2025 @09:56PM
from the show-hn dept.
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...
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.
This my most honest take on how effective Copilot can be if it's given an honest shake.
Do you agree with my assessment?
Posted by
lummm on Monday February 24, 2025 @10:38PM
from the blacktuskdata.com dept.
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.
Posted by
lummm on Wednesday December 18, 2024 @10:44AM
from the blacktuskdata.com dept.
Posted by
lummm on Wednesday November 27, 2024 @11:05AM
from the github.com dept.
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.
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!
Posted by
lummm on Friday November 01, 2024 @12:23PM
from the devs-ai-guide.blacktuskdata.com dept.
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
Posted by
lummm on Thursday January 26, 2023 @11:57AM
from the ask-hn dept.
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?
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.
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.
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.