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…
@inthehands@hachyderm.io
2025-12-02 19:47:33

Many of us are in @… and @… ’s situation here: plastics are collected for recycling, but few/none enter the recycling stream. In that situation:
- Robin’s response is the first and best one: use less.
- In addition, I’d advocate for (1) continuing to recycle what you can’t avoid using and (2) give that city gov endless headaches about their failure to recycle. Show there’s demand for recyclability, get whatever tiny fraction does get recycled out of the waste stream, •and• make headaches for people in positions of power for plastic failing to live up to that demand.
I would •not• just stop recycling. Don’t just give up. My 2¢.
mastodon.social/@Robo105/11565
kolektiva.social/@Fishercat/11

@Techmeme@techhub.social
2025-12-02 18:55:52

Bending Spoons acquires Eventbrite for ~$500M in an all-cash deal, following its $1.38B purchase of Vimeo and a pending acquisition of AOL (Cate Lawrence/Tech.eu)
tech.eu/2025/12/02/bending-spo

@anildash@me.dm
2025-12-02 22:33:14

I sat for a long while with my complicated feelings about "vibe coding". It is _genuinely_ empowering for many — opening a door to creating with code that otherwise would never exist. Also? It enables a dangerous dependency that could be a path to serfdom for coders.

@leftsidestory@mstdn.social
2025-09-27 00:30:03

Concrete Jungle 🏗️
水泥丛林 🏗️
📷 Pentax MX
🎞️ Ilford HP5 Plus, expired 1993
#filmphotography #Photography #blackandwhite

Ilford HP5 Plus 400 (FF)

English Alt Text:
A grainy black-and-white photo of a staircase leading upward. At the top, two sharing bikes rest side by side near a brick wall. Handrails border both sides of the stairs. A tree is visible beyond the wall. The composition suggests a contrast between mobility and stillness.

中文替代文字:
一张黑白颗粒感照片,画面是一段通向上方的楼梯。楼梯顶端靠墙放着两辆共享单车彼此并列。楼梯两侧有扶手,墙外可见一棵树。画面构图富有行动与静止的对比。
Ilford HP5 Plus 400 (FF)

English Alt Text:
A black-and-white image of an outdoor construction or storage site. Stacks of bricks and concrete blocks dominate the foreground, some covered with tarps. Behind them, a fence encloses the area, with trees and a partially visible vehicle beyond. The grainy texture and muted tones give the scene a raw, industrial, and slightly nostalgic atmosphere.

中文替代文字:
一张黑白照片,展示一个户外施工或储存场地。前景是堆叠的砖块和混凝土块,有些覆盖着防水布。背景中有围栏,围栏外是树木和一辆部分可见的车辆。颗粒感和灰暗色调营造出粗犷的工业氛围,略带怀旧气息。
Ilford HP5 Plus 400 (FF)

English Alt Text:
A tranquil garden scene in black and white. In the foreground, blooming roses with soft petals are surrounded by leafy bushes and dense plants. A lone path runs behind the garden, separating it from a backdrop of tall, shadowy trees. The trees form a natural curtain, adding depth and serenity. The monochrome tone evokes nostalgia and quiet beauty, with soft contrasts between light and shade.

中文替代文字:
一幅黑白花园景象。前景中盛开的玫瑰花瓣柔美,四周环绕着茂密的灌木和植物。花园后方是一条幽闭的小径,背后…
Ilford HP5 Plus 400 (FF)

English Alt Text:
A bustling urban walkway flanked by tall office buildings with grid-like glass facades. People walk or sit along the path, some near bollards that separate the walkway from the road. In the distance, a skyscraper with a crown-like top rises prominently. Signs in English and Asian characters are visible. The black-and-white palette gives the scene a timeless, documentary feel.

中文替代文字:
一条繁忙的城市步道,两侧是高大的办公楼,玻璃幕墙呈网格状。行人沿路行走或坐在路边,有些靠近分隔道路的柱墩。远处一座顶部如皇冠般的摩天大…
@lightweight@mastodon.nzoss.nz
2025-12-02 20:16:18

Running my own full-service, multi-tenanted & multi-domain email service gives me a remarkable feeling of power. It's is seriously cool (been running 4 of them for a bunch of years). In other news, Mailcow is superb - . mailcow.email/ (I run their Dockerized install)

@midtsveen@social.linux.pizza
2025-10-02 15:18:10

#Anarchism #Syndicalism

Alt text: "Powerpuff Girls flying over a bright cityscape. Text: 'No hero is coming to save you. Now is the time to organize. NSF-IAA.org.'
@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

@leftsidestory@mstdn.social
2025-10-29 00:35:19

Moody Urbanity - Literally 📄
情绪化城市 - 字面上 📄
📷 Pentax MX
🎞️ Ilford HP5 Plus 400,expired 1993
#filmphotography #Photography #blackandwhite

Ilford HP5 Plus 400 (FF)

English Alt Text:
A black-and-white image showing a person walking across a tiled pavement. Only the lower legs and feet are visible; the person wears dark pants and white shoes. The pavement features geometric patterns, including arrows and diamond shapes, embedded into the tiles. The image has a grainy texture, giving it an artistic, vintage appearance. The scene captures motion and design in an urban setting.

中文替代文本:
一张黑白照片,展示一个人走在铺有几何图案的地砖上。画面中只看到其腿部和脚部,穿着深色裤子和白色鞋…
Ilford HP5 Plus 400 (FF)

English Alt Text:
A close-up view of a large metal pipe, likely part of a water or gas pipeline system. The pipe is joined by a flange with several bolts and has a handwritten label attached. The label reads “招租 不做饭者优先 1361302812”. The background shows a landscape with rows of trees, suggesting the pipe is part of a infrastructure. The scene is outdoors, with natural light and a clear sky.

中文替代文本:
这是一张大型金属管道的特写图像,可能属于供水或天然气管道系统。管道通过法兰和多个螺栓连接,顶部贴有手写标签,内容为“招租 不做饭者优先 136…
Ilford HP5 Plus 400 (FF)

English Alt Text:
Three safety signs mounted on a tiled wall. Each sign features a red prohibition symbol and bilingual text in Chinese and English. From left to right: “No Burning” with a flame and matchstick icon; “No Entry” with a person walking through a doorway; and “No Climbing” with a person climbing a ladder. The signs are clear and bold, designed to prevent fire hazards, unauthorized access, and unsafe climbing in a restricted area.

中文替代文本:
三块安全警示牌安装在瓷砖墙上。每块牌…
Ilford HP5 Plus 400 (FF)

English Alt Text:
A storefront entrance with glass doors and signage above. The sign includes Chinese text and an image of a bowl, suggesting a food establishment. The text reads “随便外卖 外卖盲盒 吃出惊喜,” promoting takeout meals with a surprise element. A unit number “0412b” is visible above the door. The setting is urban, with reflections of buildings in the glass. The image is in black and white, giving it a stylized, vintage feel.

中文替代文本:
一家餐饮店的入口,设有玻璃门和上方招牌。招牌上有中文文字和一个碗的图…
@inthehands@hachyderm.io
2025-12-02 17:09:39

I am once again begging, begging everyone to hold these 3 thoughts in their head at once:
1. Plastics recycling is not very effective. It’s far, far better to not use plastic at all in the first place, and that failing, far better to reuse.
2. Plastics recycling is not worthless or pointless. Don’t just throw it all away because “iT dOEsn’T matTeR.” A miserable 5% reclaimed is still better than 0% reclaimed.
3. Plastics recycling is nonetheless part of a petrochemical greenwashing campaign, per @…’s post below. mastodon.social/@CelloMomOnCar