Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gabimtme
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
Show HN: Visualize the complexity of a Golang codebase with a 3D force graph
(dep-tree-explorer.vercel.app)
1 points
by
gabimtme
2y ago
|
1 comments
2.
▲
by
gabimtme
2y ago
The model has some limitations, for example: - it can only generate 30 seconds of audio - there's performance differences between music genres You can read more about the limitations here https://huggingface.co/facebook
3.
▲
by
gabimtme
2y ago
The limitation comes from the underlying model, which can only generate up to 30s, more info about that here: https://huggingface.co/docs/transformers/en/model_doc/musicg... There's a model version
4.
▲
by
gabimtme
2y ago
Hi HN! Author here, I wanted to show off the latest side hustle that I've been cooking for the past few months. This is a terminal application that runs the latest AI models for music generation locally, using the CPU or GPU of the dev
5.
▲
Show HN: MusicGPT – An Open Source App for Generating Music with Local LLMs
(github.com)
7 points
by
gabimtme
2y ago
|
5 comments
6.
▲
by
gabimtme
3y ago
That's taken into account while rendering the graph. The attraction force between two nodes is inversely proportional to the number of edges a node has. If a node is depended upon a lot, all the resulting edges induce weaker forces to
7.
▲
by
gabimtme
3y ago
Java is one of the top candidates for being implemented next actually
8.
▲
by
gabimtme
3y ago
It's a similar idea, but I often find myself very lost on 2d drawings if the codebase reaches a certain size
9.
▲
by
gabimtme
3y ago
definitely, that and Java sounds like two very good candidates.
10.
▲
by
gabimtme
3y ago
Yeah, unfortunately custom imports are only implemented if declared in the tsconfig.json as path overrides, but definitely something that should be looked at
11.
▲
by
gabimtme
3y ago
Thanks for the feedback y'all, I'll take this into account going forward
12.
▲
by
gabimtme
3y ago
Yeah, that's an option, it's not a perfect fit with the philosophy of the project, but definitely possible. But ideally it would just work between files in a package.
13.
▲
by
gabimtme
3y ago
Right now it only supports JavaScript, TypeScript, Python and Rust, but it's designed to be extended with any other language. Each language implementation is just some hundreds of lines of code, so it's "easy" to add new
14.
▲
by
gabimtme
3y ago
The visualization is actually inspired by Gource, but taken to the 3D space, it's a really cool project. Golang is very challenging to implement, because dependencies between files inside a package are not explicitly declared, you can
15.
▲
by
gabimtme
3y ago
Yeah, the web app is quite limited, it doesn't accept any kind of configuration. Implementing the Python absolute path resolution mechanism was actually quite challenging, as there is just too many ways you can handle absolute imports.
16.
▲
by
gabimtme
3y ago
That's because dep-tree doesn't know it needs to resolve names starting from `src/`, as your imports have that piece of information trimmed. You can solve this by setting the PYTHONPATH env variable like this: export PYTHONPA
17.
▲
by
gabimtme
3y ago
That's really interesting!
18.
▲
by
gabimtme
3y ago
And even with discipline, sometimes introducing tech debt in order to ship something fast is actually something desirable at the short term, specially in the startup world, so I don't think that anybody with deadlines is completely fre
19.
▲
by
gabimtme
3y ago
Well, that's one of the drawbacks of the smart color auto generation... it's not that smart. That's definitely is an improvement point, I have just calibrated things looking at my screen, which might have a high saturation&#x
20.
▲
by
gabimtme
3y ago
Nah, nothing like that, "entropy" in the colloquial meaning of level of disorder, it has proven to be a useful word for people to understand what it is about, even though it's strictly incorrect.
21.
▲
by
gabimtme
3y ago
The portion of the code in charge of rendering lives inside the `internal/entropy` ( https://github.com/gabotechs/dep-tree/tree/main/internal/ent... ). Force-directed is an algorithm for displayi
22.
▲
by
gabimtme
3y ago
> It sounds like the team could benefit from better stack technologies and a bit more discipline in how it is applied to solutioning. For our specific case it's actually pretty good, we've built a lot of discipline around maint
23.
▲
Show HN: Visualize the entropy of a codebase with a 3D force-directed graph
(github.com)
180 points
by
gabimtme
3y ago
|
59 comments
24.
▲
Show HN: I Made a Tool for Visualizing the Entropy of a Code Base in the Browser
(github.com)
4 points
by
gabimtme
3y ago
|
0 comments