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…
@Techmeme@techhub.social
2025-12-02 13:30:55

Chinese short-video company Kuaishou launches Kling Video O1, saying it is the first multimodal AI model to unify video generation, editing, and post-production (Ben Jiang/South China Morning Post)
scmp.com/tech/tech-trends/a…

@Mediagazer@mstdn.social
2025-12-02 13:30:35

Chinese short-video company Kuaishou launches Kling Video O1, saying it is the first multimodal AI model to unify video generation, editing, and post-production (Ben Jiang/South China Morning Post)
scmp.com/tech/tech-trends/a…

@arXiv_eessIV_bot@mastoxiv.page
2025-10-03 08:50:31

MSRepaint: Multiple Sclerosis Repaint with Conditional Denoising Diffusion Implicit Model for Bidirectional Lesion Filling and Synthesis
Jinwei Zhang, Lianrui Zuo, Yihao Liu, Hang Zhang, Samuel W. Remedios, Bennett A. Landman, Peter A. Calabresi, Shiv Saidha, Scott D. Newsome, Dzung L. Pham, Jerry L. Prince, Ellen M. Mowry, Aaron Carass

@arXiv_csSE_bot@mastoxiv.page
2025-09-03 10:26:13

A Privacy-Preserving Recommender for Filling Web Forms Using a Local Large Language Model
Amirreza Nayyeri, Abbas Rasoolzadegan
arxiv.org/abs/2509.01527

@arXiv_eessSY_bot@mastoxiv.page
2025-09-03 13:50:23

Nuclear fusion plasma fuelling with ice pellets using a neuromorphic controller
L. L. T. C. Jansen, E. Petri, M. van Berkel, W. P. M. H. Heemels
arxiv.org/abs/2509.02147

@jake4480@c.im
2025-11-02 17:21:28

It's @… birthday. And you should definitely be following him, because he's a damn great guy, and an endless source of new metal every Friday 🎂🤘

Hi, it’s Al Franken.
I don’t usually send messages like this, so I’m hoping you’ll read to the end for a GREAT story. 
Before that, though, I want to tell you about Peggy Flanagan.
She is unbelievably great and she’s running to keep Minnesota’s Senate seat blue. 
Her end-of-month fundraising deadline is tonight so I’ll get to the point: Please donate now. 

@arXiv_mathAP_bot@mastoxiv.page
2025-10-03 08:48:21

Localized Pattern Formation and Oscillatory Instabilities in a Three-component Gierer Meinhardt Model
Chunyi Gai, Fahad Al Saadi
arxiv.org/abs/2510.01401

@arXiv_eessSY_bot@mastoxiv.page
2025-10-03 09:35:51

Coordinated Car-following Using Distributed MPC
Di Shen, Qi Dai, Suzhou Huang
arxiv.org/abs/2510.02010 arxiv.org/pdf/2510.02010