This is nice. I had an idea to create a website for a "coders toolbox" for myself and others to contribute general functionality with brief documentation. Not a library; I need to copy and paste code and then modify it for my needs.
I've been learning SFML and the lack of direct code examples has been infuriating. Resources are explained in English (so paragraphs when a few lines of code would suffice), and the forums are 2/3 full of arrogant "we're not going to help you, just read the reference" posts, and are mostly outdated.
All I want(ed) to see is small code snippets for e.g. "get mouse position in map coordinates", "display text on the screen", "zoom on mouse position", "get mouse position in window/view coordinates", "create a gui box and determine size by text and center the text", "how to zoom without graphical glitches"
I've needed this for myself. I have hundreds, possibly thousands, of snippets of code scattered around my machines, all doing small bits of something. But instead of being able to find the snippet I end up googling around for 10 minutes an re-writing the snippets.
Part of the issue is that some are a snippet, but some are a few folders with a Makefile and some input data etc etc. So maybe I need a meta-snippet format for managing all of this
eezurr|4 years ago
I've been learning SFML and the lack of direct code examples has been infuriating. Resources are explained in English (so paragraphs when a few lines of code would suffice), and the forums are 2/3 full of arrogant "we're not going to help you, just read the reference" posts, and are mostly outdated.
All I want(ed) to see is small code snippets for e.g. "get mouse position in map coordinates", "display text on the screen", "zoom on mouse position", "get mouse position in window/view coordinates", "create a gui box and determine size by text and center the text", "how to zoom without graphical glitches"
anitil|4 years ago
Part of the issue is that some are a snippet, but some are a few folders with a Makefile and some input data etc etc. So maybe I need a meta-snippet format for managing all of this
ntindle|4 years ago
bumpersstickers|4 years ago
[deleted]
dang|4 years ago
The Arcane Algorithm Archive - https://news.ycombinator.com/item?id=18575316 - Dec 2018 (7 comments)
hulahoof|4 years ago
http://www.rosettacode.org/
ShadowMitia|4 years ago
dunefox|4 years ago
ShadowMitia|4 years ago
keskadale|4 years ago
tokamak|4 years ago
camtarn|4 years ago
https://github.com/algorithm-archivists/algorithm-archive/wi...
marcodiego|4 years ago
MikeDelta|4 years ago
dang|4 years ago