Search

Items tagged with: SmallTech





Hey folks, can you help me out with a little something: trying to come up with a good number of files limit for a file scan (for Kitten so you don’t hit heap memory limits if you run it from the wrong directory by mistake) and I’d love some statistics from real JavaScript/TypeScript Node.js projects of the number of files in them (excluding .git and node_modules).

Would you be kind enough to run the following command in Terminal in your largest projects and let me know what number your get (along with a short description of the project):

find . \( -name "node_modules" -o -name ".git" \) -prune -o -print | wc -l

Thank you :)

#Kitten #SmallWeb #SmallTech #NodeJS #web #dev #stats #helpWanted


If I do say so myself, I do love expressive I can be with Kitten.

This is me injecting raw HTML markup into a Markdown code block in a Kitten Markdown page to highlight specific lines in a code block¹.

(The string interpolation of the HTML as an array is a hack that bypasses Kitten’s default sanitisation and should only be used with trusted content.)

PS. I’m going through all the tutorials on the site to update them to reflect the current state of Kitten after the three-month breaking-change update I’ve been working on.

¹ kitten.small-web.org/reference…

#Kitten #SmallWeb #SmallTech #web #dev #Markdown #HTML #JavaScript #JS #stringInterpolation



So I’m updating the Kitten documentation, tutorials, videos, etc., in preparation for the major (breaking change) release I’ve been working on for the past few months and, as part of that, I had to set up my streaming/recording setup again as the layout of my room changed and I recorded an updated Kitten Counter video yesterday in which I made every mistake I could in 12 minutes (so I’ll be recording it again). But here it is a a preview (and also to show that no, none of us gets it right the first time. Any polished video you see is the result of meticulous planning and multiple iterations) :)

(This video doesn’t show the new stateful components. I will be recording new videos about that.)

vimeo.com/1212264139

#Kitten #SmallWeb #SmallTech #web #dev #HTML #CSS #JavaScript


THERE IS AN ANSWER! #Invidious

THE ANSWER is using #Invidious filtered links in your posts. (Add the YouTube link as 2nd link / backup) - e.g.

1/ redirect.invidious.io/watch?v=…

2/ youtube.com/watch?v=yHoLopZSYJ… (original

#SmallTech and the #SmallWeb.
#AralBlakan

-----------------------------

1/ Invidious loads AND #filters out the #bad from the page

2/ youtube.com google has all the #tracking and #harvesting - so it's good to filter it out with invidious links first / main method of defence.


🥳 New release: Tap Monkey version 2.0

I just released version 2 of Tap Monkey (a TAP formatter that’s also a monkey), reworked for node:test.

(TAP is meant to be a standard and all but node:test and Tape spit out very different diagnostics, etc., so I thought it best to keep the Tape version at 1.x – it’s basically been done for years now anyway – and have a separate 2.x branch for modern node:test, which is clearly based on Tape and has huge advantages like concurrent tests – which just sped up my unit tests on Kitten by 8× after I refactored them so they could run concurrently.)

codeberg.org/small-tech/tap-mo…

Enjoy!

🍌🐒

#tapMonkey #SmallTech #TAP #testing #NodeJS #web #dev



🥳 JSDB¹ 7.1.0 release

Added:

• `JSTable.CHANGE` event. Fires when a value is changed (set) in memory. Guaranteed to fire before the `JSTable.PERSIST` event.

Full change log: codeberg.org/small-tech/jsdb/s…

To install: npm install @small-tech/jsdb@latest

Enjoy!

💕

¹ JSDB is a free and open source, zero-dependency, transparent, in-memory, streaming write-on-update JavaScript database for the Small Web that persists to a JavaScript transaction log.

Find out more and grab the source at codeberg.org/small-tech/jsdb

#JavaScriptDatabase #JSDB #SmallWeb #SmallTech


This sounds compatible with what I was suggesting at the EU Parliament and what we’re working towards with Small Tech and Small Web.

Thoughts?

ar.al/2019/11/29/the-future-of…

small-tech.org/about/#small-te…

ar.al/2019/05/02/slavery-2.0-a…

#SmallTech #SmallWeb #EU


- The power of openness is v limited: Digital power is too concentrated for openness to reduce it, building alternatives is not enough. Alternatives have to compete under the paradigms shaped by VC money + big tech: in social media, that means choosing between shouting at each other in a digital supermarket or in a digital Nazi bar.
- We need more collective narratives, e.g. solidarity clearly transcends national borders. Let's take platforms out of private hands into democratic governance.✊
3/3


Quite happy with how the page/component lifecycle log messages are coming along as part of my push to get the new stateful components over the line in Kitten¹.

This should make it very easy to ensure that things are happening as you think they are and to conceptualise the behaviour of your stateful component hierarchies. (You can also use stateless components, of course, as is the currently documented workflow.)

¹ kitten.small-web.org

#Kitten #devNotes #SmallWeb #SmallTech



🥳 New Kitten¹ release!

Implemented workaround:

There is a bug in the CommonMark spec that results in preformatted code with empty lines nested in an HTML node not rendering correctly.²

In Kitten, this previously threw an error (see #294³ and also #318⁴).

Kitten now works around the issue in its own parser.

Full change log: codeberg.org/kitten/app/src/br…

Enjoy!

:kitten:💕

¹ kitten.small-web.org
² github.com/commonmark/commonma…
³ codeberg.org/kitten/app/issues…
codeberg.org/kitten/app/issues…

#Kitten #KittenRelease #SmallWeb #SmallTech #CommonMark #spec #bug #workaround #Markdown #web #dev #NodeJS


Screw #bigtech
Support #smalltech or #localtech

Most people in #tech don't support what bigtech is doing. Blaming all of us for the #techbros is like blaming Amazon workers for what Bezos does.

We're also the people creating solutions, from #SelfHosting to anti #surveillance tools.

We ARE fighting back. We are the people who contact politicians and educate them, we are the front line.

Stop blaming everyone in tech for everything that tech billionares do.


Speaking of @thepeoplestech, well, we've had lots of interest from potential service users, but are finding it tough to find people who'd like to be core UK members of the worker cooperative, functioning at an anti-"A.I.," anti-Covid intersection of privacy, security, sustainability, and inclusivity. But whether you're in England, Britain as a whole - or in other parts of the world! - if you're interested in a slow #solarpunk #SmallTech #cooperative helping deliver public workshops and private consultation to enable people, campaign groups, non-profits and more ethical small businesses to move away from #BigTech, let us know! #CovidIsNotOver #Fuck_ai #permacomputing #TransRights #BlackLivesMatter #FreePalestine




🥳 New Kitten¹ Release

Fixes:

• Actually fixes the plain HTMX connection state handlers. They’re now stable and exactly match the behaviour of the Alpine.js handlers in plain HTMX (this was not trivial codeberg.org/kitten/app/commit… due to a limitation in HTMX github.com/bigskysoftware/htmx…).

Enjoy!

:kitten:💕

¹ kitten.small-web.org

#Kitten #KittenReleases #SmallWeb #SmallTech #bugfix