Advertisement · 728 × 90
#
Hashtag
#varlink
Advertisement · 728 × 90
Me interacting with this Varlink service:

pojntfx@node-1w7jr9qswe5jsmcgqsxbjtnc4:~/Projects/sessions$ varlinkctl info unix:$XDG_RUNTIME_DIR/com.pojtinger.felicitas.Sessions
    Vendor: Felicitas Pojtinger
   Product: Sessions
   Version: 0.1.12
       URL: https://github.com/pojntfx/sessions
Interfaces: com.pojtinger.felicitas.Sessions
            org.varlink.service
pojntfx@node-1w7jr9qswe5jsmcgqsxbjtnc4:~/Projects/sessions$ varlinkctl introspect unix:$XDG_RUNTIME_DIR/com.pojtinger.felicitas.Sessions com.pojtinger.felicitas.Sessions
interface com.pojtinger.felicitas.Sessions

method ToggleTimer() -> ()

method StartTimer() -> ()

method StopTimer() -> ()

method AddTime() -> ()

method RemoveTime() -> ()

method SetTime(
        seconds: int
) -> ()

method GetStatus() -> (
        running: bool,
        total_seconds: int,
        remaining_seconds: int
)

method StopAlarmPlayback() -> ()

Me interacting with this Varlink service: pojntfx@node-1w7jr9qswe5jsmcgqsxbjtnc4:~/Projects/sessions$ varlinkctl info unix:$XDG_RUNTIME_DIR/com.pojtinger.felicitas.Sessions Vendor: Felicitas Pojtinger Product: Sessions Version: 0.1.12 URL: https://github.com/pojntfx/sessions Interfaces: com.pojtinger.felicitas.Sessions org.varlink.service pojntfx@node-1w7jr9qswe5jsmcgqsxbjtnc4:~/Projects/sessions$ varlinkctl introspect unix:$XDG_RUNTIME_DIR/com.pojtinger.felicitas.Sessions com.pojtinger.felicitas.Sessions interface com.pojtinger.felicitas.Sessions method ToggleTimer() -> () method StartTimer() -> () method StopTimer() -> () method AddTime() -> () method RemoveTime() -> () method SetTime( seconds: int ) -> () method GetStatus() -> ( running: bool, total_seconds: int, remaining_seconds: int ) method StopAlarmPlayback() -> ()

Obviously not going to push this to `main`, but damn I love #varlink .

0 0 1 0
Me interacting with this Varlink service:

pojntfx@node-1w7jr9qswe5jsmcgqsxbjtnc4:~/Projects/sessions$ varlinkctl info unix:$XDG_RUNTIME_DIR/com.pojtinger.felicitas.Sessions
    Vendor: Felicitas Pojtinger
   Product: Sessions
   Version: 0.1.12
       URL: https://github.com/pojntfx/sessions
Interfaces: com.pojtinger.felicitas.Sessions
            org.varlink.service
pojntfx@node-1w7jr9qswe5jsmcgqsxbjtnc4:~/Projects/sessions$ varlinkctl introspect unix:$XDG_RUNTIME_DIR/com.pojtinger.felicitas.Sessions com.pojtinger.felicitas.Sessions
interface com.pojtinger.felicitas.Sessions

method ToggleTimer() -> ()

method StartTimer() -> ()

method StopTimer() -> ()

method AddTime() -> ()

method RemoveTime() -> ()

method SetTime(
        seconds: int
) -> ()

method GetStatus() -> (
        running: bool,
        total_seconds: int,
        remaining_seconds: int
)

method StopAlarmPlayback() -> ()

Me interacting with this Varlink service: pojntfx@node-1w7jr9qswe5jsmcgqsxbjtnc4:~/Projects/sessions$ varlinkctl info unix:$XDG_RUNTIME_DIR/com.pojtinger.felicitas.Sessions Vendor: Felicitas Pojtinger Product: Sessions Version: 0.1.12 URL: https://github.com/pojntfx/sessions Interfaces: com.pojtinger.felicitas.Sessions org.varlink.service pojntfx@node-1w7jr9qswe5jsmcgqsxbjtnc4:~/Projects/sessions$ varlinkctl introspect unix:$XDG_RUNTIME_DIR/com.pojtinger.felicitas.Sessions com.pojtinger.felicitas.Sessions interface com.pojtinger.felicitas.Sessions method ToggleTimer() -> () method StartTimer() -> () method StopTimer() -> () method AddTime() -> () method RemoveTime() -> () method SetTime( seconds: int ) -> () method GetStatus() -> ( running: bool, total_seconds: int, remaining_seconds: int ) method StopAlarmPlayback() -> ()

Obviously not going to push this to `main`, but damn I love #varlink. I was playing around with how I could allow other apps to do things like "start timer in Sessions" or "query timer state from Sessions", and it literally took 5 minutes to expose _every […]

[Original post on mastodon.social]

0 0 0 0

Hi @backslash
Thank you for covering Varlink in your blog! I've been looking for dbus alternatives and found your post. :)

#varlink #ipc

0 0 0 0
Preview
“Protocol: All messages are encoded as JSON objects and terminated with a single NUL byte” “What could possibly go wrong?”

“Protocol: All messages are encoded as JSON objects and terminated with a single NUL byte”
https://alecmuffett.com/article/110436
#systemd #varlink

0 0 0 0
Preview
Systemd Looking At A Future With More Varlink & Less D-Bus For IPC Taking place this week in Berlin was systemd's annual 'All Systems Go' developer conference

Oh man. I long assumed it was for reasons & that #varlink would be available but only for some subsystems. But systemd seems intent on pulling us off the most popular bus on the planet.
www.phoronix.com/news/Systemd...

2 0 0 0

just had a "@bsdphk told us so" moment when @pid_eins said in his #varlink talk something along the lines of "now that they are JSON, i can finally understand what my bus calls do when looking at strace output"
#allsystemsgo #ASG2024

0 0 0 0
VARLINK The Varlink Website

Oh, #varlink est dispo dans Ubuntu 24.04

Moins chiant que #corba, moins relou que #openapi, moins snob que #grpc, ça permet de déclarer des rpc, utilisable par humains & machines (sans libs envahissantes), pour causer, entre autres, avec le kernel.

https://varlink.org/

0 0 0 0