fsf, to javascript
@fsf@hostux.social avatar

Nonfree #JavaScript may be taking away your freedom without your realizing it! Many web sites require proprietary JavaScript. Nonfree JavaScript subjugates users in the same way as any piece of proprietary software. Learn more: https://u.fsf.org/freejs

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

Spent a bit of time early this morning to knock out the most basic vector editing features in my SCI0 pic editor. The SCI0 pic byte-code is very terse; it doesn't even have closed polygons, just lines that happen to touch each other when rendered to the frame-buffer.

I'm sure this whole UI layer will need a refactor soon, but its definitely another step in a "useful" direction. Just a few core features left before a "beta" is viable.

#JavaScript #Vue #RetroComputing #SierraOnLine

video/mp4

ricmac, to javascript
@ricmac@mastodon.social avatar

With frontend development, is it better to start simple and build on top of standard HTML, CSS and JavaScript? Or do you need a swiss army knife framework, like Next.js or Angular? I looked at recent Vue developments and found a lot to like about its "progressive framework" approach. https://thenewstack.io/want-out-of-react-complexity-try-vues-progressive-framework/ #vue #vuejs #javascript #frontend

hywan, to javascript
@hywan@fosstodon.org avatar

SpiderMonkey newsletter (Firefox 126-127), https://spidermonkey.dev/blog/2024/05/15/newsletter-firefox-126-127.html.

Improvements everywhere. Sometimes really great performance boosts, like Array.prototype.sort up to 4x faster, or general 8% speedup with a cache improvement.

NeussWave, to webdev German

Ich mag eine #Website machen, möglichst reines #HTML 4, möglichst ohne #Javascript. CSS 3 wenns sein muss, sonst eher 2.

Die Website soll möglichst auf Chrome genauso laufen wie auf Netscape (die Älteren werden sich erinnern...) und auch in Text-Browsern wie Lynx oder w3m.

tl;dr: Die Seite soll auch noch funktionieren, wenn javascript und css ausfallen.

Wie würde ich da denn "Tabs" machen? Oder was wären Alternativen zu tabs?

#Webdev #Programming

javedAB, to javascript

#people want fast-loading pages

one way to achieve this is by loading only the necessary #javascript initially

load the rest on hover or button click for a smoother experience

#webdesign #ux #coding #frontend #webdevelopment

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.)

m0rpk, to javascript
@m0rpk@mastodon.radio avatar

Looking for help from and / or Apple Mac people.

I have before me an old MacBook Pro running 10.13.6. It can't be upgraded because of hardware constraints.

No browser on this device will render the schedule here: https://www.emfcamp.org/schedule/2024

I see JS console errors like "TypeError: Object.groupBy is not a function"

I've tried , , and .

Is it possible a script on that page relies on an OS feature this machine lacks?

Natanox, to webdev
@Natanox@chaos.social avatar

I probably get flooded by asking this but welp, here I go:

I'm looking for a good, visual (!) for that focuses on Codium, Firefox and other Open-Source tools. My specific interests are to learn , , and . Perhaps some minor , however I'd like to primarily work without it.

I'm a visual learner, extended theory in text won't help me at all. As language is visual to me, so is .

Anyone knows something that checks these boxes?

fsf, to javascript
@fsf@hostux.social avatar

Nonfree #JavaScript may be taking away your freedom without your realizing it! Many web sites require proprietary JavaScript. Nonfree JavaScript subjugates users in the same way as any piece of proprietary software. Learn more: https://u.fsf.org/freejs

nogajun, to javascript Japanese
@nogajun@mastodon.social avatar

You can call me idol! 아님 어떤 다른 뭐라 해도って歌ったのかと思ったらもう一つの方だった

ユーザーが『アイドル』を歌うとサーバーが停止する - Qiita
https://qiita.com/laineus/items/7be14dac3eaac72a4cad

kubikpixel, to security
@kubikpixel@chaos.social avatar

Isn't RSA the current secure solution for the corresponding encryption/security on the browser with JavaScript?

»Galois/Counter Mode and random nonces:
It turns out you can encrypt more than 2^32 messages with AES-GCM with a random nonce under certain conditions. It’s still not a good idea, but you can just about do it.«

🤔 https://neilmadden.blog/2024/05/23/galois-counter-mode-and-random-nonces/
👨‍💻 https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/encrypt#rsa-oaep_2


#cryptography #security #itsecurity #rsa #encryption #webdev #javascript #aead

kubikpixel, to webdev German
@kubikpixel@chaos.social avatar

DomainFilter

A fully-typed class for filtering a list of domain names in various ways

📝 https://crock.github.io/DomainFilter/


#webdev #typescript #javascript #domain #domainfilter #typedoc #devtools #web #js #ts #webfrontend #domainname

penginn, to javascript

好きなだけおちんちん祭りを続けることができてしまったのです。

目に見えない文字を悪用してサイトを好き放題荒らされた話 [ - Qiita ]
https://qiita.com/laineus/items/2d168a57fdbf7cd7c9c3

fsf, to javascript
@fsf@hostux.social avatar

Nonfree #JavaScript may be taking away your freedom without your realizing it! Many web sites require proprietary JavaScript. Nonfree JavaScript subjugates users in the same way as any piece of proprietary software. Learn more: https://u.fsf.org/freejs

rauschma, to javascript
@rauschma@fosstodon.org avatar

:

This is legal syntax:
{3:3}

Why? You can use numbers as keys in object literals. That can be useful for destructuring [1]:

> const {0:a, 2:c} = ['zero', 'one', 'two'];
> a
'zero'
> c
'two'

However, this is not legal syntax:
> const x = {3};
SyntaxError: Unexpected number

Why? This is called a property value shorthand [2] and only works with names of variables.

[1] https://exploringjs.com/impatient-js/ch_destructuring.html
[2] https://exploringjs.com/impatient-js/ch_objects.html#object-literals-property-value-shorthands

jbzfn, to javascript
@jbzfn@mastodon.social avatar

⌛ The End of an Era: Microsoft Phases Out VBScript for JavaScript and PowerShell | @thehackernews

"Both NTLM and VBScript are known to be abused by threat actors to conduct malicious activities, prompting Redmond to remove features in an attempt to minimize the attack surface"

https://thehackernews.com/2024/05/the-end-of-era-microsoft-phases-out.html

ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar
croc, to webdev
@croc@mastodon.social avatar

🤓 This is gonna be a extremely nerdy toot, but my most favorite piece of code I ever wrote is a small TypeScript library complete with unit tests that makes it super simple to filter a list of domain names by various criteria.

https://github.com/crock/domainfilter
https://www.npmjs.com/package/domainfilter

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

toxi,
@toxi@mastodon.thi.ng avatar

(Almost) same code, alternative tessellation (swapped order: first quad fan, then edge split). Also using 4 colors (vs two) to tint result polys...

toxi,
@toxi@mastodon.thi.ng avatar
toxi,
@toxi@mastodon.thi.ng avatar
aral, to SmallWeb
@aral@mastodon.ar.al avatar

Kitten bugfix release:

Please upgrade to the latest release that fixes a regression introduced into sessions object with the latest JSDB¹/JSDF² upgrade:

https://codeberg.org/kitten/app/issues/177

Persisting arbitrary objects to sessions is a supported workflow and this regression broke that.

e.g., See the Kitten Count Sessions example: https://codeberg.org/kitten/app/src/branch/main/examples/kitten-count-sessions/index.page.js

:kitten:💕

¹ https://codeberg.org/small-tech/jsdb#javascript-database-jsdb
² https://codeberg.org/small-tech/jsdb#javascript-data-format-jsdf

#Kitten #SmallWeb #web #dev #sessions #JSDB #JavaScript #database #regression

kubikpixel, (edited ) to web
@kubikpixel@chaos.social avatar
kubikpixel, (edited )
@kubikpixel@chaos.social avatar

🧵 …the above-mentioned error in the PDF viewer in the Firefox browser has been fixed in the current version – Update it to the current version!

»Security Vulnerabilities fixed in Firefox 126«

🦊 https://www.mozilla.org/en-US/security/advisories/mfsa2024-21/


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