helvede.net is one of the many independent Mastodon servers you can use to participate in the fediverse.
Velkommen til Helvede, fediversets hotteste instance! Vi er en queerfeministisk server, der shitposter i den 9. cirkel. Welcome to Hell, We’re a DK-based queerfeminist server. Read our server rules!

Server stats:

158
active users

#vector

0 posts0 participants0 posts today

Thanks to @made I recently learned that dynamic code generation doesn't play nice with certain Content Security Policies (CSP). This has a major impact on a few core packages in #ThingUmbrella, like the thi.ng/vectors package which contains ~900 vector functions, most of them code generated and optimized for different vector sizes/dimensions (incl. n-dimensional versions). This package (and some others using a similar approach) are key dependencies for dozens of other geometry/visualization related packages... However, I found code generation the only way to practically manage & maintain the sheer amount of functionality provided.

Because of this (CSP impact), I've been working on a new code generator, which converts the dynamically generated code into statically generated source code files. This will make the overall initial package size bigger, but this shouldn't be a major problem in practice, since there're also very positive effects, including:

- The new format allows for doc strings for _all_ generated vector ops (with the dynamic approach there was no way to properly attach those in TypeScript)
- The new file structure (single function per source file) massively helps with dead code elimination when using a bundler, resulting in smaller final file/bundle sizes. When NOT using a bundler, similar filesize savings can be had by using direct imports (to individual functions) rather than full package imports
- None of the unused versions need to be code generated at runtime anymore, so also improving startup time

The new codegen is already covering around more than a third of the 900 ops. If you want to keep an eye on progress & discussion, follow this issue:

github.com/thi-ng/umbrella/iss

thi.ng/vectorsOptimized 2d/3d/4d and arbitrary length vector operations, support for memory mapping/layouts
Continued thread

Made three #Pride variations!
- freesvg.org/black-trans-pride-
- freesvg.org/pride-cripplepunk
- freesvg.org/trans-pride-crippl

and its a good day to remember us Aldercones are all #trans and Aldercone one of the ways we are visible! And that like many trans folks of color, are struggling mastodon.art/@aldercone/114230

-- :gay_cactus:

Illustrator vs. Inkscape
Image tracing match

I had to vectorize an illustration I have made for a client, and first tried Illustrator, with really poor results (as you can see below), and this despite trying every possible combination of settings. I just never looked even halfway decent.
Then I tried #inkscape and to my surprise it produced an excellent result, even with the default settings!
Ok… I shouldn't be surprised actually 😀

Hmmm, advice please.

So; say you're a #opensource #vector image editor and a volunteer pops in to help write a new compatibility to some proprietary #fileformat.

Say the volunteer makes progress and one day a brand new account claiming to be the founder at the #proprietary company of said format offering the volunteer a job.

To me; this is clearly a way to foreclose work on compatibility. The #foss equiv of buying out a competitor.

But how should the project moderate this kind of message?