@mahadevank

101 Followers
110 Following
1.9K Posts

global citizen,polyglot coder,flight sim, steam on linux, debian, open-source++,commons++

Building Tinkr - Quick Deployments for OSS as well as your projects. 3 person co-op. 100% customer funded. Ethics first. Privacy-focussed.

Social media engagement rules - connect more, promote less - learn, don't win - respond to factual/thoughtful/beautiful posts - ignore emotional bait - be open-minded to opposing views

Feel like talking? pick a slot - https://calendar.app.google/6DDJ5m2WzaQR8wf99

Another week, another tiny utility.

I was in a Zoom call last week with very poor video quality, which we figured out was because I was also running a long compile which wasn't leaving Zoom enough CPU to work with. So I paused the compile with ^Z and things improved.

Three hours after the call, I found the compile job, still suspended, in a window hidden behind something else. Oops. If only I'd been able to arrange to _automatically_ resume the job when the Zoom call terminated, instead of relying on my own memory!

I already have a tool 'after' which waits for a specified Unix process to terminate. But Zoom stays running even when not on a call, and there's no reason to suppose it puts the call in an easy-to-identify subprocess.

But it does put it in a separate _window_. So I wrote a tool 'xafter', which waits for a specified X window to close. Completely trivial – X11 makes it easy to ask for StructureNotify events on a window whether it's your own or not. Now if I suspend a job that's interfering with my meeting, I can immediately type 'xafter;fg' and select the meeting window, and then it'll restart automatically.

I have no idea if it would be easy to write analogues of this for Wayland, or Windows, or Mac.

Hello #WordPress friends.
I've made a plugin that converts all your HTML headings to a Table of Contents at the start of your posts.

https://shkspr.mobi/blog/2025/03/create-a-table-of-contents-based-on-html-heading-elements/

Create a Table of Contents based on HTML Heading Elements

Some of my blog posts are long. They have lots of HTML headings like <h2> and <h3>. Say, wouldn't it be super-awesome to have something magically generate a Table of Contents? I've built a utility which runs server-side using PHP. Give it some HTML and it will construct a Table of Contents. Let's dive in! Table of ContentsBackgroundHeading ExampleWhat is the purpose of a table of…

Terence Eden’s Blog
Most people don’t want to be rich, they just want enough not to worry anymore

If you're feeling angry and upset - don't worry.

As Gabor Mate puts it, its a perfectly natural response to the current state of the world.

You're normal, its the majority that refuses to accept it or see it who are deranged.

Why should any political donations other than a standard annual party membership fee (say £25) be permitted? All other options allow wealthy people disproportionate political influence.

call to action 👇

« … We urge you to recognise Palestine as a sovereign state and reaffirm the rights of the Palestinian people. It is time to turn the tide on decades of suffering and failed peace talks, end the occupation, and move towards lasting peace. … »

🔗 · https://secure.avaaz.org/campaign/en/palestine_recognition_now_loc/

#Palestine #ceasefire #FreePalestine @palestine

🕊️ 🇵🇸 🍉 🙏🏻 ✌️ ☮️

Join the 1.9 million for the recognition of Palestine

Sign for lasting peace in the Middle East

Avaaz

RE: https://newsie.social/@ZhiZhu/116286455854932217

since Trump has bankrupted the USA, the new moderate position should be to seize all the assets of the billionaires and millionaires who scammed the country into bankruptcy, no?

Ah fuck it. I'll just put it in the most blunt language possible.

The Harry Potter franchise is a money funnel that sends wealth and resources to a fascist who wants people like me to suffer and perish.

If you consume products of that franchise, you are sending money to someone who wants me dead and who uses her wealth to accomplish that end.

That's it. That's the bottom line.

If you can live with that, well, that's a fucking problem.

BlackRock boss Larry Fink: Oil at $150 will trigger global recession

https://archive.ph/FsqLh

Turkish President Erdogan on the US-Israel war on Iran:

'Israel’s uncompromising, maximalist, and radical stance must not be allowed to sabotage diplomatic solutions.'

Erdogan added: 'The massacre network led by Netanyahu must be stopped immediately,' calling the war one in which 'although it is Israel’s war, the whole world is paying the price.'

#Israel #Palestine #Gaza #Netanyahu #Iran