Hacker Newsnew | past | comments | ask | show | jobs | submit | aquarin's commentslogin

As I already stated the reason is "bindings to large C/C++ libraries with numerous dependencies" for other libraries and "it is not intended to compete with large commercial solvers". I didn't do comparison, but it will be helpfull to compare and tell us.


"The library is now deprecated and has been archived in this repository" "Graphite has moved to Kurbo as of 2025,"


"Sorry! The URL you requested was not found on our server."


Very nice. Are there any test covering the functionality?


unfortunately, there are no tests in it


There is one thing that AI can't do. Because you can't punish the AI instance, AI cannot take responsibility.


this boils down to the definition of pain. what is pain? i doubt you know even if you have experienced it. theres no reason to think that even llms are not guided by something that resembles pain.


Some links unfortunately are broken.


> "Am I talking to real person?" >> "Yes, you are talking to a real person..."


I am curious, what exactly "feq" is calculating?

> return !((x < y) | (x > y));

Is it supposed to avoid x == y. If yes, why?


Also, "length" may have better be implemented using: https://en.cppreference.com/w/c/numeric/math/hypot

It will be helpful, if you add comments discussing why certain functions are implemented in that way, and what algorithms (references) is used. For example, there are some magic numbers without explanation: if (cap < 1000) {

Have you looked at: https://github.com/davideberly/GeometricTools Each algorithm is well documented and explained. There is even a short pdf papers for some of the algorithms explainimg why some decisions are taken and what numerical issues may be expected.


It implements x==y, but it's also true when one of them is a NaN


I understand. You want to work with NaN-s for some reason.


Is the "Natural structure" described in some paper?


It’s a new structure I came up with as described in the docs/POLYGON_INDEXING.md document. https://github.com/tidwall/tg/blob/main/docs/POLYGON_INDEXIN...


I think this might handle NaN differently than == does, I believe the comparisons would always be false with NaN. I’m not sure if that is the intent though.


I use straws to drink diluted apple cider vinegar.


"Copy answer" does not copy the citations.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: