32bitkid, to genart
@32bitkid@mstdn.social avatar

Ooooh, the edge-weights (even if just totally randomly generated) seem to help the cohesion of the wash layer quite a bit!

#GenerativeArt #TypeScript #SierraOnLine

image/png

toxi, to typescript
@toxi@mastodon.thi.ng avatar

Added a convolution kernel filtering operator for polygons/polylines to https://thi.ng/geom, incl. some useful preset kernels: box filter, triangle, gaussian, all with configurable size...

The image shows effects of various kernel sizes & iterations. Unlike with subdivision smoothing, here each version has the exact same number of vertices, only their positions are impacted: orange = box, magenta = triangle, blue = gaussian

(For now the operator is only implemented for polygons (also w/ holes) & polylines, but can be extended to other shape types...)

levlaz, to python
@levlaz@hachyderm.io avatar

pro tip: learning this the hard way, if you're trying to fix linter issues based on ouput with or start fixing from the bottom of the output because if you start on the top then all of your changes will effect the downstream line number references.

toxi, (edited ) to generative
@toxi@mastodon.thi.ng avatar

Added a new[1] configurable curve subdivision kernel for https://thi.ng/geom to (iteratively) subdivide polygons/polylines with displacement, allowing for super compact code, infinite variation, and beautiful results like shown...

[1] Actually been using this approach since 2010, initially for 3D mesh subdivisions (3rd image)

daishi, to reactjs
@daishi@fosstodon.org avatar

🤩 Celebrating Waku (waku.gg) ⛩️ reaching 4k stars on GitHub! 🥳

voxpelli, to programming
@voxpelli@mastodon.social avatar
sonny, to GNOME
@sonny@floss.social avatar

Workbench News 🛠️

Now available in the GNOME nightly repository

Welcoming 2 GSoC students

@vixalientoots and @atbrat

https://blog.sonny.re/workbench-news

daishi, to reactjs
@daishi@fosstodon.org avatar

We are excited about React Compiler, aren't we? I just remembered that my first OSS library in JavaScript was a JS-to-JS compiler! Funny how things come around.

https://github.com/dai-shi/continuation.js

(The source code is hardly readable, even for me now... but feel free to try.)

toxi, to genart
@toxi@mastodon.thi.ng avatar

Little Friday night gift for a friend (& example #163 in #ThingUmbrella): How to generate & then recursively tessellate a hex grid and visualize as SVG, all via just https://thi.ng/geom & https://thi.ng/transducers...

Demo:
https://demo.thi.ng/umbrella/geom-hexgrid/

Source code:
https://github.com/thi-ng/umbrella/blob/develop/examples/geom-hexgrid/src/index.ts

(cc @nkint)

#Geometry #Hexagon #Grid #Tessellation #Recursion #GenerativeArt #SVG #TypeScript #Javascript

michabbb, to UI German
@michabbb@vivaldi.net avatar

for Engineers
20+ free and animated built with , , , and Motion. 100% open-source, and customizable.

https://magicui.design

jbzfn, to typescript
@jbzfn@mastodon.social avatar

🦾 Functional TypeScript #1: Algebraic Data Types | Injuly

"In functional programming, algebraic types are so ubiquitous that you would be hard pressed to find a language that doesn't support them. Strangely though, nothing about them demands that a language be functional by paradigm. That imperative languages have avoided ADTs for decades seems almost an accident."

https://injuly.in/blog/ts-adt/

erinc, to python
@erinc@mastodon.social avatar

After an 8-year break from web development, I evaluated modern tech stacks to build my personal projects in 2024. This post chronicles my journey in selecting the perfect combination of backend, frontend, database, and hosting.

https://erinc.ca/tech-stack-2024

chipx86, to Discord
@chipx86@mastodon.online avatar

Hey, developers: The @reviewboard team's starting a new for devs to hang out, chat, and share what you're building.

https://discord.gg/saMCqHEZ

We have channels for , , / , , , and more.

You don't need to use or contribute to Review Board to hang out. (But you can follow development there, if you want.)

We hope to see people come in and hang out. The aim is a friendly, diverse community of devs.

Feel free to pass along the invite!

henrikjernevad, to javascript
@henrikjernevad@mastodon.social avatar

Another leak in the JavaScript single-threaded facade (or a bug in Jest, really).

Asserting expect(...).toStrictEqual(...) fails with two structurally identical objects created by two different Node worker threads because their prototypes are not the same (though identical). Asserting expect(structuredClone(...)).toStrictEqual(structuredClone(...)) works.

#javascript #typescript #jest

sonny, to GNOME
@sonny@floss.social avatar

GSoC didn't even officially started @vixalientoots already made Workbench able to compile and run TypeScript code 🤯 🎩

#GNOME #TypeScript #GTK

smallcircles, to loom
@smallcircles@social.coop avatar

Cap. An #AGPL-licensed self-hostable alternative to #Loom:

https://github.com/CapSoftware/Cap

Implemented in #Typescript and #Rust.

ohmrun, to typescript
@ohmrun@hachyderm.io avatar

still has a better type system than , soz.

ShopwareDevs, to Symfony
@ShopwareDevs@phpc.social avatar

#Shopware 6.6.2.0 released containing 44 bug fixes and cool improvements, especially for developers, for example #typescript support for extensions, automatic compiling of JS/SCSS of plugin sub-bundles, #meteor component library in administration etc.

https://developer.shopware.com/release-notes/6.6/6.6.2.0.html

chriskrycho, to typescript
@chriskrycho@mastodon.social avatar

The first of my two talks—this one, born out of my experiences with versioning and and over the past 7 years. Script and slides now, video once it’s up! https://v5.chriskrycho.com/elsewhere/cutting-edge-of-versioning/

nick_tune, to programming
@nick_tune@hachyderm.io avatar

One thing I liked about Scala was the ability to work fairly seamlessly with possible nulls using map, flatMap, orElse, getOrElse and so on....

My first impressions are that it's not so smooth in typescript out of the box to work with optionals.

Hopefully I'm just missing a few key concepts.

ryan, to web
@ryan@hachyderm.io avatar

Hey Fediverse, I'm looking for my next role as a #web engineer!

What I'm looking for:

  • a collaborative, kind team
  • at a company with noble goals, or that knows what problems it has to solve

I'm the Lead "Frontend" engineer who creates table indexes because "the UI is slow".

Point me to a mountain and I'll climb it.

Prior experience with #react #typescript #node #NextJS #postgres. I've dabbled with #rust for fun, and #dotnet in a past life.

Appreciate any advice or connections!

dave, to Excel
@dave@autisticnomad.social avatar

I built (and, more importantly, released!) a thing!

It's very early stages but it's actually functional.

It's a Vue.js plugin for building Excel Add-ins. Such broad appeal, I know.

https://github.com/demsullivan/vue-excel

This project is actually a byproduct of another big thing I'm working on.

Currently, I use YNAB for budgeting, but I've been putting sustained effort into getting my data out of the cloud and self-hosting everything.

I started researching options for budgeting software, and I really couldn't find anything I liked or that felt like it had enough features.

I decided, then, to just whip up something in Excel... which led me to the discovery of Office.js and the ability to build Add-ins for Excel using web tech.

Thus, vue-excel was born.

I may eventually release my budgeting tool for Excel, when it's feeling a little more mature and stable. Stay tuned... ❤️

#Excel #OpenSource #Vue #Javascript #Typescript #Budgeting

toxi, to typescript
@toxi@mastodon.thi.ng avatar

Still only on a feature branch, but over the past few days I've been working on updating https://thi.ng/geom to add support for polygons with holes and paths with holes (or more generally support for sub-paths, e.g. multiple curves). Since both of these shape types are containers of multiple geometries and therefore require in some situations (e.g. shape conversions) different handling than the other shapes with a single boundary/geometry, adding support for these also includes updating a dozen or so polymorphic shape operators/functions and unfortunately will involve a few of breaking changes. For instance, some of these functions are returning an array of shapes now, instead of just a single one. Also related, some of the other geom support packages (e.g. https://thi.ng/geom-axidraw, https://thi.ng/geom-sdf) will have to be refactored more and partially have been already (likely only internally, though)...

As part of this work, I've also just added example #160(!!!) to demonstrate & test out some of this new functionality:

Demo:
https://demo.thi.ng/umbrella/geom-complex-poly/

Source:
https://github.com/thi-ng/umbrella/blob/feature/geom-complex-paths/examples/geom-complex-poly/src/index.ts

Commits:
https://github.com/thi-ng/umbrella/compare/feature/geom-complex-paths

I will of course send another update once this all has been merged & released...

#ThingUmbrella #Geometry #Polygons #Shapes #PoissonDisk #TypeScript #JavaScript #OpenSource

casraf, to typescript
@casraf@fosstodon.org avatar
sonny, to GNOME
@sonny@floss.social avatar

Congrats to the 9 applicants who got accepted into GSoC with GNOME! 🧑‍🎓

They'll be working on

• Rework Bustle's Diagram
• Add TypeScript Support to Workbench
• Port Workbench demos to Vala, new library
• Create a web IDE for Tracker SPARQL (2x)
• Mobile/touch support for Papers
• More durable synching for FlatSync
• Port libipuz to Rust
• Add support for the latest GIR attributes and gi-docgen formatting to Valadoc

And thanks to mentors!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines