Linked article (which makes good points about too much centralisation) says:

> Frankly, this distribution is closer to the Dirac delta function than a power law.

This may be a throwaway line and I may be showing excess pedantry, but here goes:

My analysis shows that it actually *is* quite close to a power law, very approximately:
active_users = 30000 * x ** -1.3
where x is the rank of the instance (x=1 is the largest instance)

data from:
instances.social/api/1.0/insta (with my API token, retrieved tonight)

piped through:
`tr "," "\n" |
grep active_users |
sed "s/.*://g" |
sed "s/}.*//g" |
sort -nr |
grep -v null > instances.dat

log-log plotted with gnuplot, the line of fit is guesstimated by hand because I still haven't figured out how to get to do with (in?)appropriate weighting of data

brexit Show more

@320x200 github.com/zfigura/wine/blob/e ESYNC looks interesting! early versions of Kalles Fraktaler had horrendous slowdowns due to every synchronisation going through wineserver. I adapted the offending code to use busy-waiting barriers and its performance (in WINE on Linux at least) was much improved.

technology, bad Show more

technology, bad Show more

technology, bad Show more

technology, bad Show more

hacky solution: delete `/usr/share/xsessions/lightdm-xsession.desktop` (or move it somewhere else for safe-keeping). the file belongs to the `lightdm` package.

cleaner solution: copy the `/usr/share/xsessions/fluxbox.desktop` file to a different directory (where this will be the only file), and configure `/etc/lightdm/lightdm.conf` to look only in that directory for session files.

on login screen of laptop, there are two session options:

- default X session

- Fluxbox

Need to figure out how to disable "default X session" and make it so "Fluxbox" is the only option, because the default X session is just a background image with no interaction possible. Alternatively making default X session be the same as Fluxbox would be just as good.

I switched a laptop from (my usual choice for personal use) to (I used to use this back in the day). Very much easier to lock Fluxbox down (no menus, no keyboard commands) to make that hopefully can't be broken by visitors.

The laptop runs a patch with the plugin, to browse the code but not be able to edit it or interact with certain parts (graph-on-parent subpatches are unopenable when kiosk mode is active, so I can hide things that are not safe to click inside them).

I use iemguts closebang to make Pd quit when top-level patches are closed: the kiosk mode quit-on-close feature quits when *any* window is closed (including subpatches), which is undesirable.

A shell script started by Fluxbox initialization relaunches Pd when it exits.

I installed the `acpid` package too, which gives graceful shutdown when the power button is pressed.

simple script to play a video loop on boot (use `crontab -e` to edit, make sure `chmod +x video.sh` too)

pi@raspberrypi:~ $ cat video.sh
while true
omxplayer --loop /home/pi/video.mkv
sleep 1
pi@raspberrypi:~ $ crontab -l | tail -n 1
@reboot /home/pi/video.sh &

yagrebu.net/unix/rpi-overlay.m hopefully this overlay filesystem technique will keep my RPI SD card from getting corrupted on abrupt powerdown

@rjt not what you are asking, but I copy/pasted a small utility from stackoverflow, that moves the mouse pointer (using XWarpPointer) by a specified relative delta_x/delta_y: code.mathr.co.uk/puzzle/blob/d

Warning: no error checking, if less than two arguments are provided then it may crash with out of bounds memory read. The fix is one line, something like ```if (! (argc > 2)) return 1;``` at the start of `main()`.

You can move the mouse cursor to the corners of the screen by specifying +/- huge numbers. From the top left corner you can move to the center of the screen by parsing the resolution from the output of `xrandr` (or you could hardcode values if you know your screen).

This solves the problem of "put mouse cursor in known position", not "find position of mouse cursor".

claude boosted

Going to Neukölln to listen to a woman perform music on an amplified loom. Should be wild.

backing up my 64bit image to revert to 32bit (minimal flavour).

need to do this so that I can run for more performant video playback.

```mpv --vo drm --fullscreen video.mkv```
worked to some extent (image visible) but complained about no accelerated yuv420p to bgra conversion, hence super slow, and I couldn't convince it to decode as grayscale (the video in question is monochrome anyway)

anyway after last updates the X GUI on the debian buster install was completely broken:

```[ 65.658776] vc4_v3d 3fc00000.v3d: Failed to allocate memory for tile binning: -12. You may need to enable CMA or give it more memory.```

@k0nto I know a bit of OpenGL. open.gl/ is a good tutorial to modern OpenGL. I don't know the nuklear library.

claude boosted

Sonic Electronics Festival

check out OPEN CALL
Sound Media Theory / Live AV Performance / 4.1 Live Music


claude boosted

More on the livestreaming dilemma...

I need to have the option of multiple participants AT THE SAME TIME - like playing in a band. So maybe the keyboard and drums are in one place (live) and the sax player joins from another country via a link.

Does anyone know of a platform that lets you do that - instead of like skype/zoom/hangouts where it changes to whoever is talking and features their image & sound?

...and the concert will be 24 hrs. long.

#AmAsking #Tech #Question #advice please

claude boosted

I know Raspberry-Pis are the go-tos for easy TV emulation boxes, but if I wanted something similarly simple but more powerful, what are my options?

Show more

Welcome to post.lurk.org, an instance for discussions around cultural freedom, experimental, new media art, net and computational culture, and things like that. This is part of a family of services that include mailing lists, group chat, and XMPP.