Tootfinder

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

No exact results. Similar results found.
@UP8@mastodon.social
2025-09-05 20:09:38

📰 Newspaper boycott made people in UK city more left wing, study shows
#politics

@Techmeme@techhub.social
2025-08-04 18:20:41

OpenAI says ChatGPT now offers "gentle reminders" to take breaks during long sessions, and it is building tools to better detect signs of emotional distress (Ian Carlos Campbell/Engadget)
engadget.com/ai/chatgpt-will-n

@simon_brooke@mastodon.scot
2025-09-05 11:20:45

CAD model of the #tricycle subframe. The chain ring is very nearly as big as the front wheel (80 teeth!). It drives an epicyclic gearbox mounted in the nose of the vehicle, which also has a disc brake. The epicyclic will drive a secondary chain via a sprocket mounted to the left hand spoke flange, but this is not yet shown. There will be no ratchet on the secondary chain, so the disk brake on the…

A CAD visualisation as described in the body of the post. Most of the structure is coloured grey, to represent aluminium tubes. The cranks and pedals, and the tyre on the wheel, are coloured black. The epicyclic body is coloured red to represent a Rohloff, although for budgetary reasons it will probably end up being a Shimano Nexus 11.
@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…
@benrosstransit@mastodon.social
2025-08-06 13:13:48

Car culture at its absolute worst meets an unjust legal system. Parents lose a son and are then convicted of a felony because they let him walk across the street. Gift link nytimes.com/2025/08/06/opinion

@jdrm@social.linux.pizza
2025-08-06 09:04:05

Nos reíamos de que Reagan preguntara a una vidente decisiones de política durante su presidencia. Pues en Suecia estšn con la versión 3.0 de consultar a un oršculo: theguardian.com/technology/202

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

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

@scott@carfree.city
2025-07-04 02:01:45

reading this anthology about #StopCopCity and one of the most interesting chapters talks about how the movement handled having a diversity of tactics. some people were writing op-eds, filing lawsuits, and pursuing a ballot measure. others were occupying the forest, burning bulldozers, and setting traps for the cops raiding them. the aboveground parts of the movement refused to condemn the under…

@benrosstransit@mastodon.social
2025-08-06 13:08:12

Car culture at its absolute worst meets an unjust legal system. Parents lose a son and are then convicted of a felony because they let him walk across the street. Gift link nytimes.com/2025/08/06/opinion

@Techmeme@techhub.social
2025-08-06 00:56:01

Sources: AI video startup Runway is looking to raise ~$500M at a $5B pre-money valuation; rival Luma AI aims to raise $1.1B at a $3.2B pre-money valuation (The Information)
theinformation.com/articles/ru