News for hackers. Stuff that matters.
Re:GitHub releases an ImageNet for code and a CodeSearchNet ... by Dowwie on Friday September 27, 2019 @05:50AM (#21090098)
I've been experimenting with my own custom markup for annotating code blocks. I want to document code use cases and automatically generate an index of independent sandbox examples. This approach doesn't require AI but rather manual effort remembering to annotate novel uses in code and a standard convention for doing so. One problem this solved is that I've written so much code that I lose track of where I experienced certain patterns and this would help me track that better. This also helps to facilitate knowledge sharing across teams with access to the source.

Has anyone worked on something such as this and can comment or share ideas?

Re:GitHub releases an ImageNet for code and a CodeSearchNet ... by lifeisstillgood on Friday September 27, 2019 @06:16AM (#21090250)
sort of ...

I am playing with `todoinator` - it is a way of finding all the "todos" I leave scattered around my code, but also gives me ways to rank my code - its not quite where you are but I think the principle of having almost everythin derived from code is the guiding light here.

[#] https://github.com/mikadosoftware/todoinator/blob/master/tod...

Re:GitHub releases an ImageNet for code and a CodeSearchNet ... by kstenerud on Friday September 27, 2019 @06:10AM (#21090207)
What about some sort of code URI? Maybe something like:

    code:github.com/kstenerud/bit-tricks/absolute_value.h/absolute_value