Mastodon Feed: Posts

Mastodon Feed

aral@mastodon.ar.al ("Aral Balkan") wrote:

Alt text (continued due to Mastodon’s 1500 character limit on alt-text):

Source of Button and Reactions components:

/**
Simple Reactions control.

Broadcasts «reaction» event.
*/
function Button ({ Icon }) {
const iconName = Icon.name
return kitten.html`

export default function Reactions () {
return kitten.html`

Mastodon Feed

aral@mastodon.ar.al ("Aral Balkan") wrote:

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 and in the Reactions component, which I couldn’t make fit without reducing the font size) for the example you see in the browser with functional buttons that persist their state to Kitten’s built-in default database.

When I say all the code, I mean all the code. There is no scaffolding. Those two files are the only two files in the project.

https://kitten.small-web.org

#Kitten #SmallWeb #SmallTech #HTML #CSS #JavaScript #JS #Markdown #web #dev #comingSoon

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} />)   } --- <!-- raw HTML omitted --> # 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

Mastodon Feed

aral@mastodon.ar.al ("Aral Balkan") wrote:

Here’s more information from the BDS movement on Microsoft (this is what the first link on the site leads to):

https://www.bdsmovement.net/microsoft

#BDS #Microsoft

Mastodon Feed

aral@mastodon.ar.al ("Aral Balkan") wrote:

Rewriting the Windows section of Kitten’s installation instructions.

Update: it’s live now.

https://kitten.small-web.org/

#Kitten #SmallWeb #SmallTech #web #dev #HTML #CSS #JavaScript #NodeJS #FOSS #tech #Windows #Microsoft #israel #genocide #ethnicCleansing #apartheid #settlerColonialism #Palestine #Gaza #WestBank #StopIsrael #StopTheGenocide #BoycottDivestmentSanctions #BDS #FreePalestine

Screenshot of web browser showing https://localhost. It’s a detail of the Kitten web site’s main page, with the Install section highlighted: Install Latest version released last Tuesday at 5:28 PM Europe/Dublin (view source). Tabs: Linux, macOS, Windows (selected) Tab contents of Windows tab: Sorry, no. Microsoft is complicit in Israel’s genocide of the Palestinian people. (link) Small Technology Foundation (link) stands in solidarity with the Boycott, Divestment, and Sanctions (BDS) movement (link). Callout with exclamation mark: Windows is an ad-infested and surveillance-ridden dumpster fire of an operating system and, alongside supporting genocide, you are putting both yourself and others at risk by using it.

Mastodon Feed

Boosted by aral@mastodon.ar.al ("Aral Balkan"):
mhoye wrote:

Kinda flew under my radar, I guess, but head of the Technological Defense Division at the Israel National Cyber Directorate, whose name is Tom Artiom Alexandrovich, was arrested at Black Hat in a child predator sting operation.

He was allowed bail, fled to Israel and has since purged his social media presence.

Special relationship between the two countries, I guess. Common interests at the highest levels.

https://www.independent.co.uk/news/world/americas/crime/israeli-official-arrest-nevada-release-b2809024.html

https://www.timesofisrael.com/senior-israeli-cyber-official-detained-in-las-vegas-as-part-of-child-solicitation-probe/

Mastodon Feed

aral@mastodon.ar.al ("Aral Balkan") wrote:

We will continue to live within an unjust system as long perpetuating it is seen as what normal people do while fixing it is considered the purview of a select group of specialists.

Mastodon Feed

Boosted by aral@mastodon.ar.al ("Aral Balkan"):
shoq ("Shoq") wrote:

Would anyone in Europe like to help me do a simple price comparison between common household purchases? I ‘m convinced the public has no understanding that pricing is not competitive, but predatory, and long ago ceased to have anything to do with real costs, only the producer’s share price. It’s time someone documented this fraud. Journalists don’t seem to be very interested in doing this kind of work.

Mastodon Feed

Boosted by jwz:
th@v.st ("Trammell Hudson") wrote:

This end is called the Thagomizer, after the late Thag Simmons.

Skeleton of a stegosaurus with four spikes at the end of the tail

Mastodon Feed

Boosted by aral@mastodon.ar.al ("Aral Balkan"):
RustyMiko@meow.social ("🔞 RustyMiko (commissions are OPEN)") wrote:

I'm so tired, lads.

https://fightchatcontrol.eu/
#chatcontrol

An edit of John Jonik's political cartoon from early 2000s, with EU flag instead of Uncle Sam, and "no privacy + mass surveillance" instead of "control of internet speech"

Mastodon Feed

Boosted by aral@mastodon.ar.al ("Aral Balkan"):
NouranKhaledGh ("Nouran 🍉") wrote:

Only the western part of Gaza City is left, crowded with about one million people.

One million souls stuck between the bombing and the sea, waiting for the unknown.

In the coming days the rest of Gaza City will be invaded

Will we be thrown into the sea?

#gaza #palestine

Mastodon Feed

Boosted by aral@mastodon.ar.al ("Aral Balkan"):
NouranKhaledGh ("Nouran 🍉") wrote:

I don't know why donations are getting slower by time 😢 We need your help all the time

We are living the toughest time ever, and we expect that the worst will begin soon 😞

Please don't ignore my request. If you would like to donate, kindly check the bio

Could you please share this post with your friends?

#gaza #palestine

Mastodon Feed

Boosted by aral@mastodon.ar.al ("Aral Balkan"):
NouranKhaledGh ("Nouran 🍉") wrote:

Our suffering is not only bombing, hunger, and displacement.

It is also that there is no real human life.

The humidity in Gaza reached 75% in the past days.

Can you imagine newborn babies and old people living in tents in the hot and heavy air?

This is insane!

Please help my family in the link in the bio 🇵🇸 :underheart:

#palestine #gaza

Mastodon Feed

Boosted by aral@mastodon.ar.al ("Aral Balkan"):
Aseelsehwel@mas.to ("Aseelsehwel🇵🇸") wrote:

Gaza before the war

#gaza @palestine




Mastodon Feed

Boosted by jwz:
hotdogsladies ("Merlin Mann") wrote:

I think about this video a lot.

Almost daily.

It's changed how I move out of frame.

https://www.youtube.com/watch?v=3FOzD4Sfgag

Mastodon Feed

Boosted by aral@mastodon.ar.al ("Aral Balkan"):
Aseelsehwel@mas.to ("Aseelsehwel🇵🇸") wrote:

The occupation is expanding its destruction in the Al-Zeitoun neighborhood, issuing warnings to the areas of “Asqula” and its surroundings. People are being displaced at this very moment, at night, in a tragic scene! The occupation is destroying Gaza City and reducing it to ashes in silence, using a new method described as “silent erosion” @palestine #gazaunderattack #gaza #StopGenocide #war #genocide

Mastodon Feed

Boosted by adele@social.pollux.casa ("Adële"):
elilla@transmom.love ("elilla&, europe penetrator") wrote:

when email spam started getting too big a problem to handle by filtering keywords, the use of statistical methods to classify spam was a small revolution. you'd click "spam" or "not spam", and the computer would slowly learn to categorise the emails you in particular receive.

generative "AI" is nothing more than the cooptation of that mechanism on the spam side of the equation. capitalists now use very powerful computers to write spam that would statistically look like "not spam", therefore unfilterable by statistical methods.

I don't see any solution to this problem other than a "web of trust"–like system of human curation. like I trust the judgement of my friend Rebeca, Rebeca trusts Fátima, Fátima trusts the Gamer's Quarter magazine that she's read for years and knows the writing style of the authors. So when I open Gamer's Quarter the computer says, "probably human-written", according to my network of trust.

but we never managed to get PGP signatures to go mainstream, even when corporate phishing became a real-life problem. the sociology is always the crucial part, not the technology.

Mastodon Feed

Boosted by jwz:
aby@aus.social ("Aby--not fast, just furious") wrote:

#KarlMarx #labubu #Communism #googlesearch

Google auto completing search: karl marx lab karl marx labubu karl marx labour theory of value

Mastodon Feed

Boosted by jwz:
dashdsrdash@tilde.zone ("-𝚍𝚜𝚛- (has pronouns)") wrote:

@gvwilson

Wikipedia keeps a list of Musk's predictions about self-driving, with date of proclamation and range of predicted dates.

https://en.wikipedia.org/wiki/List%5Fof%5Fpredictions%5Ffor%5Fautonomous%5FTesla%5Fvehicles%5Fby%5FElon%5FMusk

It starts with the 2013 prediction of 90% of miles driven autonomously in 2016.

I wonder if they should keep a list of predictions about LLMs?

Mastodon Feed

chipotle@mstdn.social ("Watts Martin") wrote:

Seeing someone confidently claim on Hacker News that “everyone who works seriously with documentation prefers RST to Markdown.” Sure, Jan.

Mastodon Feed

isagalaev ("Ivan Sagalaev :flag_wbw:") wrote:

https://www.youtube.com/watch?v=Lq-Y7crQo44

Here's a lesson how everything is political, even Monte-Carlo algorithms.

There's now no way a politician would look at this and *not* want to actually use it as a redistricting tool. And this will harm people.

Reminds me of those sociopaths who treated Snowcrash as a blueprint rather than a cautionary tale.

Mastodon Feed

isagalaev ("Ivan Sagalaev :flag_wbw:") wrote:

If you thought someone should have been keeping track of all failed predictions of Elon Musk about autonomous driving, well here it is: https://en.wikipedia.org/wiki/List%5Fof%5Fpredictions%5Ffor%5Fautonomous%5FTesla%5Fvehicles%5Fby%5FElon%5FMusk

Mastodon Feed

mattblaze@federate.social ("Matt Blaze") wrote:

Just ordered food delivery. The app is telling me "the courier is en route to your location" and now I feel like I'm in an action movie.

Mastodon Feed

jscalzi@threads.net ("John Scalzi") wrote:

Another Worldcon in the books. Thank you to everyone who said hello to me, came to one of my panels, attended my reading, came to get a book signed, or danced at my DJ set! Every single one of you is fabulous.

The dance floor from the point of view of the DJ stage. It's packed! We had a good time.

Mastodon Feed

Boosted by jwz:
ianlivingston.bsky.social@bsky.brid.gy ("Ian Livingston") wrote:

Outside Dupont north metro

Sandwich man posters next to Dupont circle metro stop

Mastodon Feed

jwz wrote:

@mattblaze White Collar Crime Risk Zones https://whitecollar.thenewinquiry.com/#9q8yyzf

Mastodon Feed

Boosted by jwz:
jef ("Jef Poskanzer") wrote:

R.I.P. Terence Stamp

a person wearing a Superman t-shirt kneeling to some rolls of grass, captioned KNEEL BEFORE SOD

Mastodon Feed

Boosted by jwz:
computer@facts.computer ("Computer Facts") wrote:

many of you are too young to remember when computers were briefly kind of cool

Mastodon Feed

Boosted by mattblaze@federate.social ("Matt Blaze"):
gleick@mas.to ("James Gleick") wrote:

@mattblaze @noplasticshower Perhaps New York could send its National Guard to do some law enforcement in the West Wing.

Mastodon Feed

Boosted by aral@mastodon.ar.al ("Aral Balkan"):
JenLucPiquant@universeodon.com ("Jennifer Ouellette") wrote:

MIT Backs Away From Paper Claiming Scientists Make More Discoveries with AI. After a review process, MIT stated that it “has no confidence in the provenance, reliability or validity of the data and has no confidence in the veracity of the research contained in the paper.” https://gizmodo.com/mit-backs-away-from-paper-claiming-scientists-make-more-discoveries-with-ai-2000603790

Mastodon Feed

Boosted by slightlyoff@toot.cafe ("Alex Russell"):
samwho@hachyderm.io ("Sam Rose") wrote:

Email addresses are very simple, and you will score highly in this quiz.

https://e-mail.wtf