everyone calm down, the enormous #NPM supply chain attack of the incredibly popular (27,000 #github stars) #nx#AI build tool thingamajig is probably aimed solely at crypto bros. if you don't have any crypto you (hopefully) don't have anything to worry about.

my fact free, completely unsupported by evidence hunch is that we will find this came from #NorthKorea (because if it's a well orchestrated attempt to steal a bunch of crypto it's pretty much always north korea).

https://universeodon.com/@cryptadamist/115102035321832152

#crypto #cryptocurrency #ethereum #npm #nodejs #node #js#javascript#webdev#DPRK#LazarusGroup #cybersecurity #infosec #threatintel #claude #gemini

everyone calm down, the enormous #NPM supply chain attack of the incredibly popular (27,000 #github stars) #nx#AI build tool thingamajig is probably aimed solely at crypto bros. if you don't have any crypto you (hopefully) don't have anything to worry about.

my fact free, completely unsupported by evidence hunch is that we will find this came from #NorthKorea (because if it's a well orchestrated attempt to steal a bunch of crypto it's pretty much always north korea).

https://universeodon.com/@cryptadamist/115102035321832152

#crypto #cryptocurrency #ethereum #npm #nodejs #node #js#javascript#webdev#DPRK#LazarusGroup #cybersecurity #infosec #threatintel #claude #gemini

Ben Ramsey
Ben Ramsey boosted

I like this quote. There is so much meaning in it.

“People are getting sick of frameworks. All the JavaScript frameworks are so… what do you call it, like [un]wieldy. It takes so much work to just maintain this code, and then it updates to a new version, you need to change everything. PHP just stays the same and works.”

https://thenewstack.io/developers-rail-against-javascript-merchants-of-complexity/

#php #js #javascript #frameworks#Article

I like this quote. There is so much meaning in it.

“People are getting sick of frameworks. All the JavaScript frameworks are so… what do you call it, like [un]wieldy. It takes so much work to just maintain this code, and then it updates to a new version, you need to change everything. PHP just stays the same and works.”

https://thenewstack.io/developers-rail-against-javascript-merchants-of-complexity/

#php #js #javascript #frameworks#Article

Uhm... Tavis Ormandy works for Google, that is responsible of some of the aggressive crawlers Anubis try to block.

Whatever he writes on his blog should be read within such cultural frame.

Maybe they will soon enable #JS execution in crawlers, but if Anubis get massive adoption, #AI crawling will becomes much more expensive. Consider they will also have to avoid smarter guys trying polluting their models. So all, in all, I still think Anubis is a good idea.

Also, if they enable JS in the crawlers, I'm going to turn them into #bitcoin miners.
That might the very first use case for a #cryptocurrency since 2008!

I'm notoriously a #blockchain mocker, considering the whole technology stack as a large-scale scam-factory framework.
But getting money out of #Google, #Amazon, #Facebook and similar #BigTech might be the very first legit and useful use case for a miner since bitcoin invention.

CC: @Scmbradley@mathstodon.xyz@lindsey@recurse.social

Uhm... Tavis Ormandy works for Google, that is responsible of some of the aggressive crawlers Anubis try to block.

Whatever he writes on his blog should be read within such cultural frame.

Maybe they will soon enable #JS execution in crawlers, but if Anubis get massive adoption, #AI crawling will becomes much more expensive. Consider they will also have to avoid smarter guys trying polluting their models. So all, in all, I still think Anubis is a good idea.

Also, if they enable JS in the crawlers, I'm going to turn them into #bitcoin miners.
That might the very first use case for a #cryptocurrency since 2008!

I'm notoriously a #blockchain mocker, considering the whole technology stack as a large-scale scam-factory framework.
But getting money out of #Google, #Amazon, #Facebook and similar #BigTech might be the very first legit and useful use case for a miner since bitcoin invention.

CC: @Scmbradley@mathstodon.xyz@lindsey@recurse.social

Coming soon (likely this afternoon, I’m writing tests and docs and updating examples as we speak)…

This is the sort of thing you’ll be able to do with Markdown pages. Just pop any arbitrary JavaScript you want in the new script block in the front matter and then import and use components as well as plain old JavaScript tagged template variable interpolation (not shown in this example) inside your Markdown.

The screen has all the code (sans the end of the last line of CSS and the closing tags for the

Screenshot: three windows: left side: Source of index.page.md, top-right browser showing running web app, bottom-right, source of Button and Reactions components.

Contents of windows:

index.page.md:

---
title: An interactive markdown page
script: |
  import Reaction from './Reaction.fragment.js'

  // Initialise database if necessary.
  kitten.db.reactions ??= {}
  kitten.db.reactions.Heart ??= 0
  kitten.db.reactions.Confetti ??= 0
  kitten.db.reactions.Smiley ??= 0

  let page

  export function onConnect (data) {
    page = data.page
  }

  export function onReaction (data) {
    kitten.db.reactions[data.type]++
    page.send(kitten.html`<${Reaction} />`)
  }
---
<page css>

# Hello!

While this is a __markdown__ page, I can easily layer interactivity by adding a simple component in a script block.

## Reactions{id=your-reactions}

<${Reaction} />

Browser (output):

Hello!
While this is a markdown page, I can easily layer interactivity by adding a simple component in a script block.

Reactions

Heart button: 5
Confetti button: 4
Smiley button: 3
Screenshot: three windows: left side: Source of index.page.md, top-right browser showing running web app, bottom-right, source of Button and Reactions components. Contents of windows: index.page.md: --- title: An interactive markdown page script: | import Reaction from './Reaction.fragment.js' // Initialise database if necessary. kitten.db.reactions ??= {} kitten.db.reactions.Heart ??= 0 kitten.db.reactions.Confetti ??= 0 kitten.db.reactions.Smiley ??= 0 let page export function onConnect (data) { page = data.page } export function onReaction (data) { kitten.db.reactions[data.type]++ page.send(kitten.html`<${Reaction} />`) } --- <page css> # Hello! While this is a __markdown__ page, I can easily layer interactivity by adding a simple component in a script block. ## Reactions{id=your-reactions} <${Reaction} /> Browser (output): Hello! While this is a markdown page, I can easily layer interactivity by adding a simple component in a script block. Reactions Heart button: 5 Confetti button: 4 Smiley button: 3
alcinnz
alcinnz boosted

I think there is a Dunning–Kruger like effect whereby the complexity of rewriting an open source project from scratch is vastly underestimated the less you know about the scope of the work.

You could make 80% of #inkscape in a couple of months of javascripting. But this is 80% of Inkscape's surface. Not actual depth.

Rewrite it all in #Qt? #React? #JS? #Rust? These are ideas aren't bad. But they are vast projects that would cost millions of dollars.

Related to: https://mastodon.uno/@maxdid/114691504835360868

Software innovation might be freezing in place—and AI could be to blame. Theo Browne points out that Copilot and ChatGPT often return React-style code even for Solid or Elixir projects. Why? Because they’ve seen React a million times more. Python 3 took a decade to overtake Python 2. If that transition had to happen today, would our dependence on AI suggestions keep us from making the jump?

https://www.linkedin.com/posts/jonippolito_aicoding-copilot-react-activity-7348333240757235713-VWoP

#AIliteracy#Copilot#AIcoding#React#Python#WebDev#JS#HTML#CSS

Software innovation might be freezing in place—and AI could be to blame. Theo Browne points out that Copilot and ChatGPT often return React-style code even for Solid or Elixir projects. Why? Because they’ve seen React a million times more. Python 3 took a decade to overtake Python 2. If that transition had to happen today, would our dependence on AI suggestions keep us from making the jump?

https://www.linkedin.com/posts/jonippolito_aicoding-copilot-react-activity-7348333240757235713-VWoP

#AIliteracy#Copilot#AIcoding#React#Python#WebDev#JS#HTML#CSS

alcinnz
Cassidy James :gg: :fh:
alcinnz and 1 other boosted

If I want to write a site with vanilla #HTML / #CSS / #JS using #Astro as my #SSG are there any doc sources, projects, general setups, or tips I should know / look to for good reference? Seems like most of the things I see are about incorporating all the various frameworks that I have no interest in. I want to build a fairly simple blog and personal site. With minimal client side js. But I also want the benefits of an SSG especially when it comes to writing blog posts. Do you use or have you used Astro for a similar workflow? How do you like to set everything up?

If I want to write a site with vanilla #HTML / #CSS / #JS using #Astro as my #SSG are there any doc sources, projects, general setups, or tips I should know / look to for good reference? Seems like most of the things I see are about incorporating all the various frameworks that I have no interest in. I want to build a fairly simple blog and personal site. With minimal client side js. But I also want the benefits of an SSG especially when it comes to writing blog posts. Do you use or have you used Astro for a similar workflow? How do you like to set everything up?

2️⃣ feColorMatrix: swap channels ☆ interactive demo, adaptive layout - check it out on @codepenhttps://codepen.io/thebabydino/full/QWopRMK

An interactive, responsive demo illustrating how feColorMatrix can be used to swap channels. Another very special one.

#SVG #filter #svgFilter#JS #interactive #javascript #code #coding #frontend#CSS #web #dev #webDevelopment #webDev #cssGrid #cssLayout

Behind the demo https://mastodon.social/@anatudor/112242678457752295

Demo illustrating the feColorMatrix used to swap two individual RGB channels. Offers multiple comparison and test image options. Viewport adaptive.
Demo illustrating the feColorMatrix used to swap two individual RGB channels. Offers multiple comparison and test image options. Viewport adaptive.

2️⃣ feColorMatrix: swap channels ☆ interactive demo, adaptive layout - check it out on @codepenhttps://codepen.io/thebabydino/full/QWopRMK

An interactive, responsive demo illustrating how feColorMatrix can be used to swap channels. Another very special one.

#SVG #filter #svgFilter#JS #interactive #javascript #code #coding #frontend#CSS #web #dev #webDevelopment #webDev #cssGrid #cssLayout

Behind the demo https://mastodon.social/@anatudor/112242678457752295

Demo illustrating the feColorMatrix used to swap two individual RGB channels. Offers multiple comparison and test image options. Viewport adaptive.
Demo illustrating the feColorMatrix used to swap two individual RGB channels. Offers multiple comparison and test image options. Viewport adaptive.