aral, (edited ) to SmallWeb
@aral@mastodon.ar.al avatar

:kitten: Say hello to the new Kitten web site! šŸŽ‰

https://kitten.small-web.org

Like Kitten itself, itā€™s a baby but will be evolving quickly as they approach API version 1 together.

Enjoy!

šŸ’•

PS. Of course itā€™s written in Kitten itself. It doesnā€™t do anything fancy but hereā€™s the source code if youā€™re interested: https://codeberg.org/kitten/site

aral, to SmallWeb
@aral@mastodon.ar.al avatar

Quick heads up: Kittenā€™s installer/downloads will be offline for a few minutes as I recreate kittens.small-web.org (the site that new Kittens are deployed to when theyā€™re born) as it was originally on Ubuntu and sites deployed by Domain are now using AlmaLinux. Also, I am setting Kittenā€™s API version to 0 (it was initially set to 1) to signal that it is prerelease. When the version is back to 1 it will be because API version 1 is stable.

:kitten:šŸ’•

#Kitten #SmallWeb

aral,
@aral@mastodon.ar.al avatar

Well damn, that was a bit more than a few minutesā€¦

So tell me kids, what happens when you nuke the Kitten distribution site, itself powered by Kitten, then try to redeploy it using Domain, which installs Kitten fromā€¦ ah, yes, you guessed itā€¦ the Kitten distribution siteā€¦ the one you just nuked!

šŸ¤¦ā€ā™‚ļø

Then, you realise you hadnā€™t updated the site to run on the latest Kitten with breaking changesā€¦

šŸ¤¦ā€ā™‚ļøšŸ¤¦ā€ā™‚ļø

So one manual server setup + one app update later, everything is back up and running.

:awesome:šŸ‘

aral,
@aral@mastodon.ar.al avatar

PS. If youā€™re wondering what Kitten and Domain are:

Theyā€™re the little tools Iā€™m working on to make the Small WebĀ¹ a thing that exists.

Ā¹ https://ar.al/2020/08/07/what-is-the-small-web/

#SmallWeb #Kitten #Domain #web #dev #tools

aral, (edited ) to microsoft
@aral@mastodon.ar.al avatar

Oh, that? Thatā€™s just me writing the Windows section of the KittenĀ¹ installation instructions for the upcoming web site.

Ā¹ https://codeberg.org/kitten/app

aral, to SmallWeb
@aral@mastodon.ar.al avatar

šŸŽ‰ You can now use components and fragments in your Markdown pages in Kitten.

Following on from yesterdayā€™s Markdown pages feature, you can now import components and fragments and use them in your Markdown pages to add dynamic functionality (similar to how it works in mdx but without using JSX).

(The ā€œSCARYā€ text in the screencast is being randomly animated by a component.)

Enjoy!

:kitten:šŸ’•

#Kitten #SmallWeb #Markdown #components #fragments #mdx

Screencast: On the right, a browser with the Kitten Persistence tutorial page demonstrating the word Scary being animated by a component called Scary that is imported from the front matter of a Markdown page, an excerpt of which is shown in an editor on the left: --- layout: ../Tutorials.layout.js imports: - import Scary from './Scary.component.js' title: Persistence description: Learn how to persist information using Kittenā€™s build-in JavaScript Database (JSDB) topics: - Persistence. - JavaScript Database (JSDB). - The Kitten CLIā€™s

aral,
@aral@mastodon.ar.al avatar

Posting a screencast to notice a typo FTW! doh!

  • built-in, not build-in (in the tutorial body text, now fixed) :)
aral, to markdown
@aral@mastodon.ar.al avatar

šŸŽ‰ New Kitten feature: Markdown pages

You can now create .page.md files and use front matter to specify a layout template as well as any other props you want to pass to your layout.

(Iā€™m working on the Kitten web site with docs, etc., so I thought Iā€™d bite the bullet and add this feature this morning to make my life easier. Should make it easier to make this sort of site with Kitten in the future for everyone.)

https://codeberg.org/kitten/app

:kitten: šŸ’•

aral, to SmallWeb
@aral@mastodon.ar.al avatar

You can now connect to the interactive shell (REPL) of a Kitten daemon running in production by sshing into your machine and running:

telnet 127.0.0.1 1337

(Or nc 127.0.0.1 1337 if you prefer. Basically, it is available from port 1337 on the local loopback address.)

In development mode, you can press the s key to start up an interactive shell.

:kitten:šŸ’•

https://codeberg.org/kitten/app

flamed, to blogging
@flamed@social.lol avatar

šŸ“ New Post: The Miyoo Mini Plus

A quick review of the Miyoo Mini+

šŸ”„ https://flamedfury.com/posts/the-miyoo-mini-plus/

#weblogpomo2024 #blogging #smallweb

flamed,
@flamed@social.lol avatar

@daniel I regret it now. Too much crap in there

joel,
@joel@fosstodon.org avatar

@flamed @daniel hey the regular set is not bad xD you went for the full expansion

aral, to SmallWeb
@aral@mastodon.ar.al avatar

So Kittenā€™s build process (i.e., the time it takes to build Kitten itself) takes ~0.7 seconds on my ~1 year old desktop (Ryzen 7 5700G 3.8Ghz) vs ~1.4 seconds on my ~3-year-old Starlabs LabTop (renamed to the Starbook thanks to a suggestion by yours truly but sadly, not quickly enough).

So, in summary, itā€™s bloody fast for something that results in a ~9MB bundle.

(And thatā€™s all thanks to esbuild.)

https://codeberg.org/kitten/app

#Kitten #SmallWeb #build #performance #web #dev #esbuild #NodeJS #JS

ryanprior,
@ryanprior@mastodon.social avatar

@aral where does the 9MB live? What's the payload size delivered to the client?

aral,
@aral@mastodon.ar.al avatar

@ryanprior Nope, thatā€™s the app server. It lives on your server.

aral, (edited ) to SmallWeb
@aral@mastodon.ar.al avatar

A little detail in the latest #Kitten:

I find #NodeJS deprecation warnings hit the sweet spot between jarring enough to be annoying and not informative enough to be useful.

So, in Kitten, the first time you hit a deprecation warning, you get a message telling you there are deprecation warnings.

If you care, you can open the interactive shell and view the kitten.deprecationWarnings list, which will show you full details including the stack trace.

:kitten:šŸ’•

#SmallWeb #design #layering

thylacoleo,
@thylacoleo@mas.to avatar

@aral

Apologies. I let out my inner redditor for a moment.

aral,
@aral@mastodon.ar.al avatar
aral, to SmallWeb
@aral@mastodon.ar.al avatar

Looking forward to presenting my computer science colloquium on Small Web at the University of Groningen, Netherlands, on 11th of June, 2024 at 4PM.

https://www.rug.nl/research/bernoulli/calendar/colloquia/computer-science-oriented/2024/20240611-aral-balkan

There might be space for a few people from outside the university to attend so if you want to drop by, make some noise and Iā€™ll have a chat with the university.

Thanking @mirela for organising this and looking forward to hopefully meeting some of you in the Netherlands soon.

#SmallWeb #groningen #netherlands #web #dev

aral, to SmallWeb
@aral@mastodon.ar.al avatar

:kitten: šŸ’•

New Kitten update!

Mostly housekeeping:

ā€¢ Runtime is now Node 22 (22.1.0 as 22.2.0 has a bug that can crash on deprecation warnings). This might be a breaking change for your code (e.g., importā€¦assert is now importā€¦with, etc.) Remember, Kitten is pre-release/not API-versioned yet.

ā€¢ Applied all semver-compatible dependency version upgrades.

ā€¢ Fixed tests & coverage. Tests are still woefully inadequate but will improve.

https://codeberg.org/kitten/app

flamed, to web
@flamed@social.lol avatar

For those posting about the demise of ICQ recently, XMPP exists to give you that old school IM feeling...

I've been enjoying it heaps the past month.

Check it out: https://flamedfury.com/posts/instant-messaging-on-xmpp/

#web #blogging #SmallWeb

robb,
@robb@social.lol avatar
flamed,
@flamed@social.lol avatar

@robb way better than discord DMs šŸ˜‚ and omg.lol has you covered with a server

weirdwriter, to SmallWeb
jscholes,
@jscholes@dragonscave.space avatar

@miki A few months back, a British broadcaster trialed a more descriptive, blind-friendly audio stream for a televised rugby match[1]. Of course, they only had the mono, low-bitrate AD channel to use, and presumably couldn't manage the fade values in realtime. So we ended up with US-SAP-style, crappy stadium audio.

[1] https://www.itvmedia.co.uk/news-and-resources/guinness-and-itv-make-sporting-history-by-trialling-live-descriptive-audio-commentary-for-the-guinness-six-nations

@jackf723 @vick21 @weirdwriter

miki,
@miki@dragonscave.space avatar

@jscholes @jackf723 @vick21 @weirdwriter Poland does this somewhat regularly. We get audio description for quite a few football (soccer) matches here. It's quite surprising really, considering the fact that we barely get it for anything else. Soccer is the only thing that gets somewhat regular and consistent AD. The quality is quite crappy, I can't tell you the exact stream parameters but I know who to ask.

mms, to SmallWeb
@mms@emacs.ch avatar
mms,
@mms@emacs.ch avatar

@dekkzz76 I agree.

dekkzz76,
@dekkzz76@emacs.ch avatar

@mms

plus even if you downsize your orange cat knows how to rest your phone to raw image size

flamed, to SmallWeb
@flamed@social.lol avatar

Playing around with a new homepage layout.

This was always the intention going between my 2022-23 design but for reasons it never eventuated...

It feels good to have a graphical element right there in your face as the page loads again.

Anyway, it's here now, check it out https://flamedfury.com/

#smallweb #webmastery #homepages #blogging

joel,
@joel@fosstodon.org avatar

@flamed the little quote is barely visible, maybe give it a background and make the letters transparent?

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