techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

5.4K
active users

#javascript

240 posts210 participants33 posts today

🦖 Temporal.PlainDate.prototype.since()
🟧 Limited availability

developer.mozilla.org/en-US/do

The since() method of Temporal.PlainDate instances returns a new Temporal.Duration object representing the duration from another date (in a form convertible by Temporal.PlainDate.from()) to this date. The duration is positive if the other date is before this date, and negative if after.

The MDN Web Docs logo, featuring a blue accent color, displayed on a solid black background.
MDN Web DocsTemporal.PlainDate.prototype.since() - JavaScript | MDNThe since() method of Temporal.PlainDate instances returns a new Temporal.Duration object representing the duration from another date (in a form convertible by Temporal.PlainDate.from()) to this date. The duration is positive if the other date is before this date, and negative if after.
Replied to Daniel

@daniel Oh yes you did! We are generally hated, but we have found the real truth!

#JavaScript is even able to perform miracles like '1'+1='11' and many other cool wonders.

You will find other believers everywhere on the globe.
(But a small hint from me personally: Keep away from the react people. They are just pretending!)

Introducing `command` and `commandfor` - "Buttons can now perform actions on other elements declaratively. The browser handles the logic and accessibility for you. There's no need to manage `aria-expanded` or add any additional #JavaScript." developer.chrome.com/blog/comm

Chrome for DevelopersIntroducing command and commandfor  |  Blog  |  Chrome for DevelopersLearn about the new capabilities for declarative behavior on buttons.

With the changes brought by Svelte 5, I found myself wanting to take advantage of performance improvements and harness the power of runes. But converting my stores to something 'rune-based' proved more challenging than I had hoped since so much of my codebase relied on stores.

Migrating Svelte Stores to Runes
closingtags.com/svelte-stores-

www.closingtags.comMigrating Svelte Stores to Runes
More from Dylan </closingtags.com>

I am in urgent job search mode, so I'm gonna throw this out here and see if anything comes of it.

I am a #Canadian, fluent in both #English and #French. I have experience with several programming languages. My strongest proficiency is with #Haskell and #C. I also have a reasonable grasp of #HTML, #JavaScript, #SQL, #Python, #Lua, #Linux system administration, #bash scripting, #Perl, #AWK, some #Lisp (common, scheme, and emacs), and probably several others I've forgotten to mention.

I am not necessarily looking for something in tech. I just need something stable. I have done everything from software development, to customer support, to factory work, though my current circumstances make in-person work more difficult than remote work. I have been regarded as a hard worker in every job I have ever held.

Looking for a simple way to provide a compressed archive from a web application with the requirement to create the archive in the browser, not on the server.

- JSZip: 12 (transitive) dependencies
- tar-js: 0 dependencies

While zip may be more common, the 0-dependencies is a unique selling point for me!

#javascript#zip#tar