Tootfinder

Opt-in global Mastodon full text search. Join the index!

No exact results. Similar results found.
@aral@mastodon.ar.al
2025-12-17 12:18:53

Little JavaScript tip:
You know you can comment out code to quickly disable it:
```js
/*
console.log(‘I won’t run’)
*/
```
But did you know you can also use a labelled block with a break statement to do the same thing in a more flexible manner?
```js
disable: {
break disable
console.log(‘I wont’t run’)
}
```
Then, you can quickly the move the `break disable` to different lines to execute different bits of code wit…

@rasterweb@mastodon.social
2026-02-17 02:41:30

It's been a while but I was reminded that Java is shit.
Python is better, but has issues, mostly because of macOS.
And macOS permissions for user-created applications are a nightmare!
But a big, big thanks goes out to tools like Platypus.
"Platypus is a developer tool that creates native Mac applications from command line scripts such as shell scripts or Python, Perl, Ruby, Tcl, JavaScript and PHP programs."

@bourgwick@heads.social
2025-11-17 00:57:03

utter respect to this absolute @…
legend. my sunday mornings will never be the same. ohai.social/@jbm/1155622596289

@mgorny@social.treehouse.systems
2025-12-06 17:32:10

Worked on some more #Gentoo global #jobserver goodies today.
Firstly, Portage jobserver support patch: #PyTest jobs will also be counted towards total job count.
Again, it's not a perfect solution, but it works reasonably. The plugin still starts -n jobs as specified by the arguments, but it acquired job tokens prior to executing every test, therefore delaying actual testing until tokens are available. It doesn't seem to cause noticeable overhead either.

@phpugmrn@phpc.social
2026-02-12 09:00:01

Save the date! Our first meetup in the Rhein-Neckar metropolitan region for 2026 is just around the corner, taking place on February 26th, only two weeks from now.
Sign up here meetup.com/phpug-rhein-neckar/

@kubikpixel@chaos.social
2026-01-05 06:35:07

JavaScript engines zoo
This is probably the reason why certain JavaScripts do not run everywhere, because they are "optimized" on their engine again. In my opinion, this is a tedious tinkering as it was back then.
:clippy: zoo.js.org

@fanf@mendeddrum.org
2026-01-12 18:42:01

from my link log —
Deno: a runtime for TypeScript built with V8, Rust, and Tokio.
deno.land/
saved 2019-07-07 dotat.at/:/C5839.html

@toxi@mastodon.thi.ng
2025-12-10 12:33:43

Aeolian dune simulation (made in 2017) for #MeerMittwoch:
The images show a screenshot of the JavaScript application to create the simulation and some Houdini renders of exported height fields. The sim itself had 5 macro params to control the behavior of the interactive deposit/erosion/transportation process. It supported tileable patterns, customizable seed terrain (images) and ran r…

Screenshot showing a 2D grayscale height map of the simulated dune formation process. Below it is a cross-section profile view of the map's center row...
3D render of a simulated dune (using the same heightmap shown in the 1st image)
3D render of a simulated dune, showing a more classic long ripple pattern...
3D render of a simulated dune with adjusted wind & deposition params to make the ripples wider and more sloped...
@adlerweb@social.adlerweb.info
2025-12-03 16:12:35

Uff. Wenn man #curl in #powershell nutzt (aka: nicht das echte curl, sondern ein Wrapper von #Microsoft), dann wird zurückgegebenes Javascript einfach ohne Rückfrage ausgeführt. Was kan…