Tootfinder

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

@aral@mastodon.ar.al
2024-02-29 15:31:34

I’ve always wanted someone to tell me I autocomplete them.
:awesome:
npmjs.com/package/aral
(That feeling when someone makes a Node package with your name. Hey, at least it’s not a German petroleum company…)

Screenshot of a package called aral on npmjs.com:

aral autocomplete [SHELL]
display autocomplete installation instructions

USAGE
  $ aral autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ aral autocomplete
  $ aral autocomplete bash
  $ aral autocomplete zsh
  $ aral autocomplete --refresh-cache
See code: @oclif/plugin-autocomplete

aral config
USAGE
  $ aral config
See code: src/commands/config.ts…
@aral@mastodon.ar.al
2024-04-30 14:23:17

Just wrote a note about a little gotcha with default values for destructured properties of parameter objects in JavaScript that has gotten me a few times:
codeberg.org/aral/gists/src/br

@aral@mastodon.ar.al
2024-02-29 16:59:18

On my way from Bray to Dublin for this evening’s Codú meetup.
Pop by and say hi if you’re around :)
#bray

Photo of a railroad by the sea with blue skies.
@aral@mastodon.ar.al
2024-04-30 13:56:03

Folks, this is a deceptive design pattern. There is a very clear third option here (keep me updated on this campaign’s progress only) that is not implemented for marketing reasons.
I expect better from a platform that exists to effect ‘progressive change across Ireland’.
#ireland #uplift

Screenshot of web page (detail):

I'd like to be emailed to let me know how taking this action is having a positive impact on people’s lives and how | can support more people-powered campaigns at Uplift.

Radio button: Yes, | want to get updates on this campaign and other campaigns at Uplift.

Radio button: No, | don't want to hear about this campaign's progress or other actions at Uplift.

Are you sure? This will unsubscribe you from updates about this campaign and all other Upl…
@aral@mastodon.ar.al
2024-03-31 21:33:54

Loving all the cool CGA art on this weekend’s Draw Together :)
#DrawTogether

Is it My Little Pony or a unicorn? Either way, it’s very cute. A 20x20 Draw Together pixel sketch in CGA Palette 1 (cyan, magenta, white, and black) captured at 22:26 Irish Time on March 31, 2024.
@aral@mastodon.ar.al
2024-04-30 18:22:15

JSDB 5.0.0 published 🎉
• Custom classes must have a `constructor` that accepts a parameter object as its only argument. Constructors are run during deserialisation.

• Custom classes can now safely extend other classes (e.g., `EventEmitter`).
• Properties that begin with an underscore (`_`) are treated as private and ignored.
• Objects with null prototypes are supported. i.e., objects created with `Object.create(null, …)`.
Full details:

@aral@mastodon.ar.al
2024-04-30 18:13:50

100% test coverage doesn’t mean your code’s bug free but it did just lead me to find and fix an issue in JavaScript Database (JSDB)¹ with a code path that wasn’t being hit that I would have otherwise missed because it was causing the relevant test to pass.
¹ JSDB is a zero-dependency, transparent, in-memory, streaming write-on-update JavaScript database for the Small Web that persists to a JavaScript transaction log (an append-only log).

@aral@mastodon.ar.al
2024-04-30 12:58:28

“…as well as promoting an open human-centered search engine market.”
Why does everything have to be a fucking market for fuck’s sake?! suma-ev.social/@openwebsearche

@aral@mastodon.ar.al
2024-05-01 10:35:38

If you use a parameter object in JavaScript, even if you specify its shape using JSDoc, you’ll only get errors if required properties are missing; not if there are extra properties provided.
e.g.,
```js
class A {
/**
@param {{
id:string
}} params
*/
constructor (params) {
Object.assign(this, params)
}
}
// Error:
new A({})
// No error:
new A({id: 'x', foo:'bar'})

@aral@mastodon.ar.al
2024-03-31 19:23:07

“In Dublin city last year, 94 per cent of all new housing was apartments, 98 per cent of which were for rent. First-time buyers there bought just 75 new houses. In Cork city just 3.5 per cent of all new housing was sold with first-time buyers buying 17 new houses.”

@aral@mastodon.ar.al
2024-04-01 15:58:17

@… Hey Sonny, do you know of anything like Watson for GTK 4/Vanilla GNOME?
github.com/small-tech/watson
(A starter template that creates app scaffoldin…

@aral@mastodon.ar.al
2024-02-29 15:37:40

Fuck Israel.
Fuck anyone who supports or defends this genocide.
#israel

@aral@mastodon.ar.al
2024-02-29 12:33:00

“Exxon CEO blames public for failure to fix climate change.”
There isn’t a fuck you big enough to do this guy justice.
#ExxonMobil #climateChange

@aral@mastodon.ar.al
2024-02-01 14:58:47

You’d think folks writing the HTML spec would know the difference between an HTML attribute and inline JavaScript but you’d be mistaken and that’s why we can’t open a modal dialog without client-side JavaScript in 2024.
🤷
PS. What would be great to have is:
<dialog modal open></dialog>
So that a modally-open dialog can be streamed from the server without requiring client-side JavaScript to trigger it open when it loads.

@aral@mastodon.ar.al
2024-02-01 07:14:48

“‘I would absolutely not fly a Max airplane,’ said Ed Pierson, a former Boeing senior manager. ‘I’ve worked in the factory where they were built, and I saw the pressure employees were under to rush the planes out the door. I tried to get them to shut down before the first crash.’
‘I would tell my family to avoid the Max. I would tell everyone, really,’ said Joe Jacobsen, a former engineer at Boeing and the Federal Aviation Administration.”

@aral@mastodon.ar.al
2024-05-01 10:55:03

Heads up anyone playing with Kitten at the moment (yes, both of you):
I’m in the process of upgrading Kitten’s version of JSDB from 4 to 5.
*This is a breaking change.*
This will affect you if you’re persisting custom objects (instances of your custom model classes) in your databases.
Please see the details in this JSDB announcement post and the linked-to details page to prepare:

@aral@mastodon.ar.al
2024-04-30 19:14:54

I might have formed an unhealthy obsession for chocolate-covered raisins.
🍇 🍫 = 🤤
(Specifically, the milk chocolate Bare Pantry ones with the jumbo raisins.)
#ireland

@aral@mastodon.ar.al
2024-05-01 10:39:49

May I just say that not being able to set your own fucking character limit on your own fucking Mastodon instance without having to fucking fork fucking Mastodon is a fucking pain in the fucking arse.
Thank you for listening and here’s wishing you a lovely day.
#mastodon

@aral@mastodon.ar.al
2024-04-29 19:40:00

Had knives in my throat (not Covid, probably… at least tests were/are negative) so went to see my new GP and we ended up chatting about the OneWheel I rode in on (he took up skating later on in life and tried one in France apparently), the shit factory that is Silicon Valley (he used to be a software dev there before he became a doctor), the Small Web (he digs the idea), and, yes even my sore throat (I’m on antibiotics now). Needless to say, I like my new GP :)

@aral@mastodon.ar.al
2024-03-31 08:24:32

Personally, I’d rather celebrate a day about real living people than a fictitious magic zombie.

@aral@mastodon.ar.al
2024-04-01 17:22:11

The nerve of some people.
*smh*

@aral@mastodon.ar.al
2024-04-01 09:16:43

Capitalism, you’re doing amazing, sweetie. c.im/@heysannidhi/112195096654

@aral@mastodon.ar.al
2024-04-01 08:58:29

I hope humankind doesn’t learn the hard way that you can’t eat, drink, or breathe shares of ExxonMobil.

@aral@mastodon.ar.al
2024-02-29 17:22:03

Starting to think I was a bit too optimistic bringing my Onewheel along instead of a raincoat.
Ffs the weather here…
#dublin #rain

@aral@mastodon.ar.al
2024-02-29 12:39:08

I miss the days when blockchain was the latest bullshit. Anyone remember NFTs? Ah, simpler times.

@aral@mastodon.ar.al
2024-02-29 08:59:18

@… Hey there, just saw that I can no longer see how many characters I’m over in a post. Can we please at least have a way to bring that feature back. I find it invaluable when posting as I don’t want my post to be automatically split into two or more. Thanks :)

@aral@mastodon.ar.al
2024-02-29 08:54:48

“There are no more words to speak about what’s going on in Gaza. There are no more laws to break. No more appeals… The hypocrisy is obvious. Our collective [humanity] has failed. Human rights have a skin colour and the darker you are the less human rights you have. [They have tried to silence us], they have tried to make us look like antisemites…all of that to make it possible to kill more Palestinians.”
– Abir Al-Sahlani MEP

@aral@mastodon.ar.al
2024-03-01 08:18:52

Trickle down theory is when the rich piss on your head and tell you it’s raining and you manage a coy smile while it drips down your back because deep inside you want to believe it’s true.

@aral@mastodon.ar.al
2024-03-01 08:10:24

Palestinians are not getting killed. They are being murdered. By Israel. In a genocide. With the complicity of the US, UK, Germany and others.
Use the right words.
Blame the right people.
Stop the genocide.
#ceasefireNOW

@aral@mastodon.ar.al
2024-03-30 15:55:41

Draw Together Weekend Special: CGA 4-colour palette 1
Have fun! :)
#DrawTogether #CGA

Screenshot of Draw Together pixel sketch in CGA palette 1 magenta and cyan.
@aral@mastodon.ar.al
2024-03-30 15:36:57

Aww, a puppy dog!
🦴 🐕
#DrawTogether #SmallWeb

Black and white Draw Together pixel sketch of a cute puppy’s head and a bone.
@aral@mastodon.ar.al
2024-02-28 10:51:43

If you’re a web developer using Vivaldi, first thing you should do is go to Menu − Settings − Appearance and, under the Menu section, select Page from the Menu Customization dropdown then right-click on [Developer Tools] under Content and deselect Show as Subfolder.
You’re welcome 🤓👍
Update: You have to do this manually for *every item* in the Menu section. That’s Audio and Video, Image, Link, Selection, and Text Field in order to have the Inspect item top-level.

Screenshot of Vivaldi Settings showing the interface in the state described in the post.
@aral@mastodon.ar.al
2024-04-28 20:40:45

Ooh, @… just updated to @… version 7 and… *ta daa*, the spurious warnings in the code listings for proper curly quotes and other correct – but sadly underutilised – typographical elements in comments and strings are gone!
e.g.…

@aral@mastodon.ar.al
2024-04-29 07:49:53

Realised last night that JavaScript Database (JSDB) doesn’t run the constructor on persisted custom objects (codeberg.org/small-tech/jsdb#c) when deserialising them because I didn’t know that you apparently have to define your constructor manual…

@aral@mastodon.ar.al
2024-03-30 15:18:02

Meta (Facebook, Instagram, #Threads, etc.):
1. Doesn’t moderate anti-transgender hate on its platforms.
glaad.org/smsi/report-meta-fa…

@aral@mastodon.ar.al
2024-03-30 09:31:39

“The GMB estimates that paying 1,300 additional workers costs Amazon over £300,000 a week.”
Amazon would rather do this at one warehouse than have its workers form a union.
This is how much they fear unions. If this doesn’t convince you how important unions are, nothing will.

@aral@mastodon.ar.al
2024-03-29 21:51:53

It is Friday, March 29th, 2024. The United States and Israel are commiting genocide in Gaza.
To arm genocide is to commit genocide.
This is a shame you cannot erase. This is a shame a country lives with forever.
washingtonpost.com/national-se

@aral@mastodon.ar.al
2024-03-29 18:46:29

“CEO Jim McNerney…repeatedly invoked a slur…Those who cared too much about the integrity of the planes and not enough about the stock price were “phenomenally talented assholes,” and he encouraged his deputies to ostracize them into leaving…He initially refused to let nearly any of these talented assholes work on the 787 Dreamliner, instead outsourcing…development…The plan would save money while busting unions, a win-win, he promised investors.”

@aral@mastodon.ar.al
2024-03-29 21:51:53

It is Friday, March 29th, 2024. The United States and Israel are commiting genocide in Gaza.
To arm genocide is to commit genocide.
This is a shame you cannot erase. This is a shame a country lives with forever.
washingtonpost.com/national-se

@aral@mastodon.ar.al
2024-03-29 18:46:29

“CEO Jim McNerney…repeatedly invoked a slur…Those who cared too much about the integrity of the planes and not enough about the stock price were “phenomenally talented assholes,” and he encouraged his deputies to ostracize them into leaving…He initially refused to let nearly any of these talented assholes work on the 787 Dreamliner, instead outsourcing…development…The plan would save money while busting unions, a win-win, he promised investors.”

@aral@mastodon.ar.al
2024-02-27 18:47:17

“In its current genocidal war on the Gaza Strip, Israel has destroyed every single Palestinian university in the enclave with aerial bombardment or controlled detonation. Medical and engineering laboratories, training courtrooms of faculties of law, assembly and graduation halls, rich collections of books, art pieces, archival and archaeological artifacts, all completely decimated. Decades of Palestinian student academic and political life instantly wiped out.”

@aral@mastodon.ar.al
2024-04-29 10:17:39

It’s amazing to me that folks have such a hard time with the very basic concept of “follow the money.”
This isn’t rocket science, people. Where/who you get your money from matters. The people who you surround yourself with matters. The success criteria you adopt matters.

@aral@mastodon.ar.al
2024-04-29 08:26:57

Mastodon becoming a US entity with a neoliberal board of directors and the goal of growth über alles is the issue here folks, not whether Eugen and company are compensated for their work. Of course they should be and well too. Or is that a privilege reserved only for the mediocre yes-people at the Googles and the Facebooks of the world?
Here’s a longer thread I wrote elsewhere. (1/7)

@aral@mastodon.ar.al
2024-03-30 09:03:22

“If the International Criminal Court is serious about investigating what Israel has done in Gaza as of the 7th of October – only as of the 7th of October – it will be busy for decades.”
– UN Special Rapporteur Francesca Albanese
youtube.com/shorts/0ZhGCHnEfuQ

@aral@mastodon.ar.al
2024-02-28 13:41:15

It’s bloody 2024, think we can agree on either wget or curl being installed by default on every freaking operating system by now so shell scripts can have a guaranteed way of carrying out http requests?
I mean it’s been about 35 years. I think it’s about time.
#http #shell

@aral@mastodon.ar.al
2024-02-28 11:42:26

As long as the middle is more concerned with keeping the left out than about having the right in, the right will remain in power. And at some point the middle will cease to be relevant.
🤷‍♂️
#neoliberalism

@aral@mastodon.ar.al
2024-02-28 08:46:09

When I first started calling Silicon Valley’s business model “people farming” I was told I was being hyperbolic and alarmist.
I don’t get told that much anymore.
#SiliconValley #BigTech #AI

@aral@mastodon.ar.al
2024-02-27 21:29:51

Folks in tech need to have a long, hard think about who else used to monetise people.

@aral@mastodon.ar.al
2024-02-27 21:28:08

Nice! Now do Google. eupolicy.social/@euwatchers/11

@aral@mastodon.ar.al
2024-02-27 21:19:14

Oh yeah, well monetise you too, buddy!

@aral@mastodon.ar.al
2024-02-27 19:18:15

Don’t you just love getting monetised? I know I do.

@aral@mastodon.ar.al
2024-02-27 18:50:33

Apologies for hating genocide, I must be antisemitic.

@aral@mastodon.ar.al
2024-04-28 12:07:15

@… Hey folks, quick question: any idea why the embed of my video at the European Parliament from your PeerTube instance is showing a password field and lock. (I’m on my phone and haven’t had a chance to view source.) Would appreciate it if you could take a look. Thank you :)

Screenshot of the issue described in the post.
@aral@mastodon.ar.al
2024-02-26 22:39:57

Made a bunch of performance improvements to Kitten’s startup time. It now launches in under half a second on my machine vs a couple of seconds previously.
Feels even snappier now.
codeberg.org/kitten/app
:kitten: 💕

Performance statistics of a basic Kitte command:

~/Projects/kitten/app ❯ hyperfine 'kitten version'

Benchmark 1: kitten version
  Time (mean ± σ):     463.2 ms ±   4.5 ms    [User: 426.0 ms, System: 123.7 ms]
  Range (min … max):   457.5 ms … 473.0 ms    10 runs
@aral@mastodon.ar.al
2024-02-26 22:39:57

Made a bunch of performance improvements to Kitten’s startup time. It now launches in under half a second on my machine vs a couple of seconds previously.
Feels even snappier now.
codeberg.org/kitten/app
:kitten: 💕

Performance statistics of a basic Kitte command:

~/Projects/kitten/app ❯ hyperfine 'kitten version'

Benchmark 1: kitten version
  Time (mean ± σ):     463.2 ms ±   4.5 ms    [User: 426.0 ms, System: 123.7 ms]
  Range (min … max):   457.5 ms … 473.0 ms    10 runs
@aral@mastodon.ar.al
2024-02-26 19:01:44

Update: I’m apparently not.
See: mastodon.ar.al/@aral/111999407
(Not deleting this so we don’t lose the conversation in the comments. Just don’t want new folks getting tripped up by it.)
* * *
Sounds like I’m shadow-banned on mastodon.…

@aral@mastodon.ar.al
2024-02-27 15:19:36

I’m in ur git tools, crashing them with emoji.
🤭
github.com/newren/git-filter-r

@aral@mastodon.ar.al
2024-04-27 13:32:45

@… @… Bug report: GNOME Web cannot display emoji in the URL bar. The URL shown in the video below contains 💕.
[Bug report: @…

@aral@mastodon.ar.al
2024-04-27 13:26:47

@… Bug report:
OS: Fedora Linux 40.20240424.0 (Silverblue) x86_64
DE: GNOME 46.1 (Wayland)
Vivaldi Open dialogue after clicking Choose file on a file input: flickering tooltip.
CC @…

Video of flicking tooltip on icon in open dialogue in Vivaldi.
@aral@mastodon.ar.al
2024-04-27 12:57:34

@… Bug report:
- OS: Fedora Linux 40.20240424.0 (Silverblue) x86_64
- DE: GNOME 46.1 (Wayland)
After signing in after sleep, Vivaldi renders at @1x even though my screen is set to @2x.
(Moving the window around or resizing it, etc., re-renders it at the correct resolution.)

Screenshot of Vivaldi on one half of the screen at @1x resolution and WezTerm on the other at the correct @2x resolution.
@aral@mastodon.ar.al
2024-04-28 13:50:41

Extension Manager is the app GNOME Extensions should be. It not only lets you see already-installed extensions and disable/enable them and access their settings like GNOME Extensions does but, get this… (are you sitting down?) it even lets you browse and install new extensions. I mean, I don’t know why you’d ever want to do that but, hey, I guess this is for all the freaks out there… :)

@aral@mastodon.ar.al
2024-02-26 19:47:21

So, quick show of hands… are you:
* Israel’s genocide of the Palestinian people counts.
#israel #palestine #genocide

@aral@mastodon.ar.al
2024-02-26 19:08:03

We don’t want to be ruled by kings like Zuckerberg and Musk. So let’s create fiefdoms ruled by mini-Zuckerbergs and mini-Musks instead.
Gosh darnit something tells me there’s a better solution to this but I’ll be damned if I can put my finger on it…
🤔

@aral@mastodon.ar.al
2024-02-26 18:40:30

Dear mastodon.social, why are you hiding/limiting @…’s account?
Is it policy on mastodon.social to hide/limit pro-Palestinian / anti-genocide accounts?
(Someone there wanna check my account also, just in case?)
CC @…

@aral@mastodon.ar.al
2024-02-26 20:50:20

Israel’s tactic in a nutshell: never play defence.
“Committing genocide? What’s that? Are you an antisemite?!”
#israel #palestine #genocide

@aral@mastodon.ar.al
2024-02-26 20:50:20

Israel’s tactic in a nutshell: never play defence.
“Committing genocide? What’s that? Are you an antisemite?!”
#israel #palestine #genocide

@aral@mastodon.ar.al
2024-04-27 14:50:54

Co-founder of Twitter joins new Mastodon board of directors. Right, so federating with Threads wasn’t a mistake. This is just the direction Mastodon is going. Oh, well. Another Mozilla emerges.
blog.joinmastodon.org/2024/04/

@aral@mastodon.ar.al
2024-02-26 15:04:20

Heads up: if you were playing with Kitten¹ on macOS, you might have noticed that some of the commands were exiting with a truncated header.
This has now been fixed and all commands should look and work exactly the same on macOS as they do on Linux.
:kitten: 💕
¹ codeberg.org/kitten/app

@aral@mastodon.ar.al
2024-02-26 14:30:27

Hey folks,
@… is looking for a new gig after three years at Stately. She’s a designer and front-end developer who writes, gives talks, makes videos, and has been doing a fair bit of dev/design advocacy recently.
Her approach is best summed up in her book, Accessibility for Everyone (

@aral@mastodon.ar.al
2024-03-27 12:43:02

I love that (a) Draw Together is so easy to embed (see ar.al/2024/03/26/draw-together) and (b) it makes me laugh every time I see what folks have made while I was away :)
Looks like we have a glass of something or other?

A Draw Together black and white pixel sketch of what looks like a beaker with some sort of liquid in it, embedded on my personal site in a post about how to build Draw Together from scratch using Kitten.
@aral@mastodon.ar.al
2024-02-24 09:51:17

In four months, Israel has murdered 100 journalists.
“On Monday 26 February join the special day to #SupportPalestinianJournalists.
The needs of our colleagues working in Gaza have become critical. In the middle of winter, they lack the essentials of clothes, blankets, tents, food and water. Basic goods, where they are available, are no longer affordable.”

Black text on white background that reads:

Download the campaign visual

Take part in a minute’s silence at noon on 26 February to commemorate journalists killed since 7 October

Post your photos, videos, documents, solidarity messages on social media using #SupportPalestinianJournalists and tag @nujofficial and @IFJGlobal

Send solidarity messages to campaigns@nuj.org.uk

Donate to the IF]J Safety Fund to support colleagues in Gaza and provide them with food, warm clothes, power banks and wor…
Campaign visual for Monday 26th Feb - photo shows a crowd scene with symbolic coffins and press uniforms. Over the photo is red and white text reading ISRAEL: STOP KILLING PALESTINIAN JOURNALISTS IN GAZA and then #SupportPalestinianJournalists.
@aral@mastodon.ar.al
2024-02-25 08:43:24

G’morning from my sleepy morning face to yours.
💕
#sleepyMorningFace #sendCoffee

Selfie of generic sleepy white-passing guy with short brown hair and stubble in bed with head resting on white and blue pillows on a dark wooden headboard.
@aral@mastodon.ar.al
2024-03-28 07:56:18

Sam Bankman-Fried will grow old in jail. But don’t forget those who basked in his orbit
theguardian.com/commentisfree/

@aral@mastodon.ar.al
2024-04-25 20:19:35

Oh no, no more tech-bro land-snorkles?
#Apple

@aral@mastodon.ar.al
2024-04-26 06:24:09

“When Bangladesh’s Minimum Wage Board met in November 2023 to decide wages for garment workers, trade unions called for a monthly Living Wage of 23,000 taka (approx £172), given that the previous wage of 8,000 taka (£60) was a poverty wage that made fruit a luxury item. Protests erupted when the Board announced a new wage of just 12,500 taka (£90). The state cracked down on the protests—killing four workers and arresting thousands more including trade union organisers.”

@aral@mastodon.ar.al
2024-03-27 16:58:14

Dear @…,
A fediverse server called Threads is violating mastodon.social’s second server rule:
“2. No racism, sexism, homophobia, transphobia…
Transphobic behavior such as intentional misgendering and deadnaming is strictly prohibited.”

@aral@mastodon.ar.al
2024-03-27 14:41:04

Oh, they have a point, do they, you hypocritical son of a bitch?
If they have a point why did you veto every UN call for a ceasefire apart from the current one and then call the one you abstained on non-binding and stress that nothing has changed and you will continue to sell arms to Israel to continue the ongoing genocide of the Palestinian people?
They do have a point, yes.
The point is you’re complicit in genocide.

@aral@mastodon.ar.al
2024-03-27 13:56:38

“Francesca Albanese, the UN special rapporteur on human rights in the occupied Palestinian territories, opened the detailed 25-page report, Anatomy of a Genocide, by stating: ‘After five months of military operations, Israel has destroyed Gaza.’”

@aral@mastodon.ar.al
2024-02-22 21:14:04

Spare a thought for this poor little one tonight. He had a lump removed from his leg today. It’s breaking my heart to see him like this.

A brown and white husky malamute cross in a cone with a bandaged leg.
Close up of the bandage. The vets were lovely and made him a blue band with a red heart on it.
@aral@mastodon.ar.al
2024-04-24 19:14:08

🤔 mastodon.ar.al/@aral/112327500

@aral@mastodon.ar.al
2024-02-21 18:23:50

There’s a special circle of hell for the “This file contains ambigious Unicode characters” overlay on @…
No, it doesn’t, it uses proper curly quotes and other typographically-correct punctuation in comments and strings.
Thought we’d fixed this in Forgejo but apparently not?
Really making me not want to link to my source code on Codeberg an…

Screenshot of source code with ugly yellow banner on top:

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Screenshot of source code with ugly yellow warning sign emojis littered throughout wherever proper typographical punctuation has been used in comments.
@aral@mastodon.ar.al
2024-04-24 21:37:22

It’s good to know most people will choose the option no one chooses :) mastodon.ar.al/@aral/112327500

@aral@mastodon.ar.al
2024-02-23 16:48:05

Kitten breaking change: Route handlers, etc., now take parameter objects
Just pushed the API updates I’d posted about earlier to main and to the latest Kitten release.
This change affects:
- Route handlers (all types of routes)
- `onConnect()` handlers
- The default export on main.script.js files
I’ve updated all the examples, documentation, etc., on Kitten to use the new API but if you see anything I’ve missed, please let me know.

Screenshot of the ubiquitous counter example (Kitten version) in Kitten’s readme on https://codeberg.org/kitten/app:

1. Create a directory for the example and enter it:

mkdir counter
cd counter

2. Create a file called index.page.js and add the following content to it:

if (kitten.db.counter === undefined) kitten.db.counter = { count: 0 }

export default () => kitten.html`
  <page css>
  <h1>Counter</h1>
  <${Count} />
  <button name='update' connect data='{value: -1}' aria-label='decrement'>…
@aral@mastodon.ar.al
2024-04-26 16:34:52

If a democracy can be destroyed by an election that democracy will be destroyed by an election. How do we make our democracies resilient so they aren’t at existential risk every four years? Is it already too late for some? If not, what’s the way forward? Or do we plan for what comes after and a path back?
#democracy

@aral@mastodon.ar.al
2024-04-01 14:56:34

Cool and normal democracy.
#israel #gaza #palestine #genocide

@aral@mastodon.ar.al
2024-03-26 19:31:51

Let’s build Draw Together… umm, together.
Video: vimeo.com/927628184
Blog post: ar.al/2024/03/26/draw-toge…

@aral@mastodon.ar.al
2024-03-26 10:08:16

Just updated the video on my Streaming HTML article so it’s no longer using Vimeo’s video player (which has tracking) but a simple video tag.
ar.al/2024/03/08/streaming-htm
(Sorry it took a little while, it involves a bit more work – but not much more – than si…

@aral@mastodon.ar.al
2024-02-25 08:21:34

“You can’t wait until life isn’t hard anymore before you decide to be happy.”
– Jane Kristen Marczewski (Nightbirde)

@aral@mastodon.ar.al
2024-02-24 17:09:48

If you were playing with Kitten¹ on macOS and noticed that live reloads were broken², they’ve now been fixed.
(Thanks to @… running into the issue today.)
Run:
kitten update
To update to the latest version.
¹

@aral@mastodon.ar.al
2024-02-01 11:56:48

Today is Thursday, February 1st, 2024 and Israel is committing genocide in Palestine.
#israel #genocide #gaza #palestine

@aral@mastodon.ar.al
2024-04-24 09:38:10

There’s a long-standing bug in Fedora (also in Fedora 40), where the sign-in screen is displayed at the wrong resolution (it doesn’t use the settings you have set in the Settings app).
So, for example, if you have 4K@2x set in your settings for your monitor, the sign-in screen will still display at a tiny 4K@1x.
To fix, download an app called GDM Settings from the Software app and press Display − Apply current display settings − Apply.

Screenshot of GDM Settings app showing the Display section active.
@aral@mastodon.ar.al
2024-03-24 20:09:45

I have a feeling it starts with Silicon and ends with Valley. Or maybe it starts with Venture and ends with Capital? Or perhaps simply starts with capital and ends with ism.
draw-together.small-web.org

A pixel sketch in Draw Together: “Who broke the web?”
@aral@mastodon.ar.al
2024-02-23 11:00:27

Anyone know why #GNOME exposes a list of applications on the lock screen?
It’s not even the correct list of running applications, you can’t do anything with them, and I’m not sure I understand the logic behind this design decision at all.
#design

Screenshot of GNOME’s lock screen showing a list of  applications (multiple copies of Screenshot, Console, Vivaldi, extensions. The time is 10:55, the date is Friday, February 23rd. The blurred wallpaper in the background is of a kitten on a green hill in front of a blue sky and yellow sun.
@aral@mastodon.ar.al
2024-03-25 10:57:55

Quick heads up, highlight.js now correctly highlights code in namespaced tagged template strings (e.g., kitten.html``, kitten.css``, etc.)
github.com/highlightjs/highlig
(And Kitten comes with highlight.js baked in. See it in use in t…

@aral@mastodon.ar.al
2024-04-24 08:00:47

“UX pretends that capitalism can be coaxed into giving a shit. It chugs along as if UX designers and researchers are the ones who are going to cause a revolution of socialist CEOs who consider users beyond their money and their data.
But the inside secret of commercial UX is that the empathy is just a posture and the businesses benefit from the aura of care without having to entertain it.”
@…

@aral@mastodon.ar.al
2024-03-25 11:16:11

Just learned from @… that the text-wrap property in #CSS has two new(ish) values: balance and pretty.
“The balance value is good for headings, and tries to balance the number of characters on each line so that each line of the heading is about the same lengt…

@aral@mastodon.ar.al
2024-02-23 15:48:19

In case you’re using Node’s `fs.watch()` directly instead of using a library*, take heed that it doesn’t give you atomic events for file changes.
If a file is being saved, you’ll get one event for every time a chunk is written to the file system. So you have to debounce your event handler.
e.g.,

@aral@mastodon.ar.al
2024-03-23 22:25:32

So given it’s Saturday night, I thought I’d have a little fun with Kitten and make a tiny collaborative drawing toy.
You have a 20×20 grid and only black and white to draw with and everyone shares the same canvas.
draw-together.small-web.org
Have fun looking forward …

The initial canvas at https://draw-together.small-web.org showing a black and white pixel rendering of what looks like the two hearts emoji.
@aral@mastodon.ar.al
2024-04-24 18:10:15

PS. Free and open source folks? Listen up! This is how you make your tools better:
mastodon.ar.al/@xeenon@mastodo
To wit, how you don’t make your tools better:
- This is the wrong repository for this bug r…

@aral@mastodon.ar.al
2024-04-24 18:00:34

Which option are you more likely to choose?