Tootfinder

Opt-in global Mastodon full text search. Join the index!

No exact results. Similar results found.
@aral@mastodon.ar.al
2025-09-03 10:53:54

I haven’t added an example of how you implement migrations with Kitten’s¹ built-in JSDB database² yet but here’s one that I just used when renaming a field (property) in a table (JavaScript object) from “account” to “data” that illustrates the general granular approach you should take within persisted instances of JavaScript classes.
This is, of course, an advanced use case of the built-in JavaScript database that all Kitten apps have.
Kitten is simple for simple use cases. So ch…

Screenshot of code (detail) in Helix Editor on macOS, showing the source for app_modules/database/database.js. The following code is highlighted with a pink border:

initialise () {
    // Migration.
    if (this.account !== undefined) {
      this.data = this.account
      delete this.account
    }
  }

Full listing

texport class VerifiedAccount extends Model {
  url = this.url || ''
  /**
    This is the object returned from the accounts/lookup
    method of the Mastodon API.

    …
Screenshot of code for app_modules/database/Model.js.

The following code is highlighted with a pink border:

  /**
    Optional hook: override this to perform initialisation
    at constructor time. (Do not override the constructor
    or the automatic property assignment will fail.)
  */
  initialise () {}

Full code listing:

/**
  Base model class.

  (To use, extend this with your own model classes.)

  When adding properties in subclasses, make sure you
  only set values after checking if…
@leftsidestory@mstdn.social
2025-09-02 00:30:04

On The Road - To Xi’An 🪭
在路上 - 去西安 🪭
📷 Minolta Hi-Matic AF
🎞️Kentmere Pan 200
#filmphotography #Photography #blackandwhite

Kentmere Pan 200 (FF)

English Alt Text:
This grayscale image shows a large traditional Chinese building with a tiered roof and ornate eaves. It stands behind a wide stone plaza with a rectangular water feature in the center. People walk and gather around the open space. A low wall surrounds the plaza, lined with flagpoles flying various flags. Trees peek over the wall, and the overcast sky adds a quiet, formal mood. The building may be a cultural or government site.

中文替代文本:
灰度图展示一座大型中式建筑,屋顶层层…
Kentmere Pan 200 (FF)

English Alt Text:
A black-and-white photo of a Chinese sidewalk with a metal food cart in the foreground. The cart has a canopy and displays Chinese signs with images of street food. Scooters and a car are parked along the curb behind it. Trees line the sidewalk, casting shade. Further down, pedestrians walk past shuttered storefronts with Chinese signage. The scene feels local and lived-in, capturing the rhythm of everyday life.

中文替代文本:
黑白照片中,一辆金属小吃车停在人行道上,车顶有遮阳棚,挂着中文招牌…
Kentmere Pan 200 (FF)

English Alt Text:
A black-and-white street scene shows a person pushing a tricycle cart across a crosswalk. The cart has a large front container, likely used for deliveries or goods. A black SUV waits nearby. The street is lined with scooters, cars, and a multi-story building covered in air conditioners and Chinese shop signs. Trees and pedestrians fill the background, creating a busy, everyday urban atmosphere.

中文替代文本:
黑白街景中,一人推着三轮车穿过斑马线,车前载物箱可能用于送货。旁边一辆黑色 SUV 停在路口。街道两侧…
Kentmere Pan 200 (FF)

English Alt Text:
Two people stand side by side at the edge of a multi-lane road, viewed from behind. One wears a dark traditional outfit and holds a bag; the other wears a t-shirt and holds a bouquet of flowers. The road is quiet, with trees, parked cars, and a building in the background. The mood is intimate and reflective.

中文替代文本:
两人并肩站在多车道马路边,背对镜头。一人穿深色传统服饰,手提袋子;另一人穿 T 恤,手持一束鲜花。道路空旷,背景有树木、停靠车辆和建筑。画面静谧,氛围亲密而略带沉思。
@davidaugust@mastodon.online
2025-08-04 00:53:05

Just added 18 new names to my 45 Names bot that posts a nickname of potus every hour:
@…
Follow the bot on Mastodon:
mastodon.social/@45names
An…

@inthehands@hachyderm.io
2025-11-02 17:16:35

Wise words from @….
Reflecting now on how often I find myself saying “Just show up, over and over, and do some work. Don’t worry about whether it’s enough, about whether you’re going to get an A. Just show up. Do some work.”
Wanting to get really good at [software dev skill]?
Worried about passing the class?
Not sure if you’re a Real Programmer yet?
Impostor feelings?
Horrified at politics?
Wanting to saving democracy?
Feeling powerless?
Anxious? Depressed? Panicking?
Show up. Work. mastodon.social/@grimalkina/11

@midtsveen@social.linux.pizza
2025-09-02 17:27:30

Yes, you can follow me on #Pixelfed:
#Fediverse

@Techmeme@techhub.social
2025-10-03 21:21:01

Chipmaker Cerebras withdraws its IPO, a little over a year after filing its IPO prospectus; it announced a $1.1B raise at a $8.1B valuation on September 30 (Jordan Novet/CNBC)
cnbc.com/2025/10/03/cerebras-w

@anildash@me.dm
2025-10-04 16:06:25

One first step people should do to respond to this is start using the “report a speed trap” function in Apple Maps to report where ICE is operating. Make Apple party to the attempt to protect people. theverge.com/news/791533/googl

@kexpmusicbot@mastodonapp.uk
2025-10-03 18:12:26

🇺🇦 #NowPlaying on KEXP's #MiddayShow
Film School:
🎵 11:11
#FilmSchool
filmschoolmusic.bandcamp.com/a
open.spotify.com/track/5uIGgu1

@timbray@cosocial.ca
2025-09-03 23:27:59

Made me smile (gift link): nytimes.com/2025/09/02/busines

@Techmeme@techhub.social
2025-10-03 17:30:50

Moonlake AI, which creates tools to "vibe code virtual worlds", including for gaming, animation, and filmmaking, comes out of stealth with a $28M seed (Rashi Shrivastava/Forbes)
forbes.com/sites/rashishrivast