News for hackers. Stuff that matters.
Re:Arcane Algorithm Archive by eezurr on Sunday November 07, 2021 @03:53PM (#29143414)
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"

Re:Arcane Algorithm Archive by anitil on Sunday November 07, 2021 @08:03PM (#29145189)
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

Re:Arcane Algorithm Archive by ntindle on Sunday November 07, 2021 @09:22AM (#29139640)
Howdy! I’m a maintainer (for DevOps) on this project! Glad to see it get noticed!
Re:Arcane Algorithm Archive by dang on Sunday November 07, 2021 @01:39PM (#29142162)
One past thread:

The Arcane Algorithm Archive - https://news.ycombinator.com/item?id=18575316 - Dec 2018 (7 comments)

Re:Arcane Algorithm Archive by hulahoof on Sunday November 07, 2021 @03:35PM (#29143267)
What's the difference in goals between this and Rosetta code

http://www.rosettacode.org/

Re:Arcane Algorithm Archive by ShadowMitia on Sunday November 07, 2021 @04:11PM (#29143541)
Re:Arcane Algorithm Archive by hulahoof on Sunday November 07, 2021 @05:21PM (#29144108)
Completely missed that thanks!
Re:Arcane Algorithm Archive by dunefox on Sunday November 07, 2021 @09:23AM (#29139647)
This looks really good. I might even contribute. Is it actively developed?
Re:Arcane Algorithm Archive by ShadowMitia on Sunday November 07, 2021 @09:30AM (#29139696)
It is being developed, it's also part of open research done by https://twitter.com/LeiosOS.
Re:Arcane Algorithm Archive by keskadale on Sunday November 07, 2021 @10:56AM (#29140485)
Yes! The community is quite active right now.
Re:Arcane Algorithm Archive by tokamak on Sunday November 07, 2021 @10:01AM (#29139959)
Re:Arcane Algorithm Archive by camtarn on Sunday November 07, 2021 @02:14PM (#29142500)
That was my first thought too, but it seems to be addressed in the FAQ:

https://github.com/algorithm-archivists/algorithm-archive/wi...

Re:Arcane Algorithm Archive by marcodiego on Sunday November 07, 2021 @10:05AM (#29139991)
Feels like Wikipedia for algorithms.
Re:Arcane Algorithm Archive by MikeDelta on Sunday November 07, 2021 @12:31PM (#29141486)
Looks good, but there is a typo in the title: Alogorithm Archive.
Re:Arcane Algorithm Archive by dang on Sunday November 07, 2021 @01:39PM (#29142154)
Fixed now. Thanks!