!XJDNsebemKJcnziHRw:matrix.org

NextWM

170 Members
Dynamic/Manual tiling wayland compositor written with wlroots8 Servers

Load older messages


SenderMessageTime
18 Dec 2023
@_discord_297656178358616064:t2bot.ioAngelofdollars * go ask aakash about the protocol, i know nothing about wayland dev so 😭 16:50:35
@_discord_633967275090771971:t2bot.ioshinyzenith Nextwm currently uses a protocol for config setters 17:01:53
@_discord_633967275090771971:t2bot.ioshinyzenith Maybe my protocol design is bad but I think I'd prefer an embeddable dsls 17:02:13
@_discord_633967275090771971:t2bot.ioshinyzenith You can also write your own 17:02:26
@_discord_633967275090771971:t2bot.ioshinyzenith * You can also write your own impl of the protocol which is definitely awesome 17:03:03
@_discord_633967275090771971:t2bot.ioshinyzenith Ah that's cool, will and I are working on the swayfx scene transition 17:03:24
@_discord_633967275090771971:t2bot.ioshinyzenith That includes the animation ticker work 17:03:34
@_discord_633967275090771971:t2bot.ioshinyzenith I'd say there's still a few months left before it's ready 17:03:53
@_discord_633967275090771971:t2bot.ioshinyzenith Also thanks for the setup details! 17:04:21
@_discord_633967275090771971:t2bot.ioshinyzenith River performs the bar to comp protocol you're envisioning 17:06:24
@_discord_633967275090771971:t2bot.ioshinyzenith I believe it's river seat status something 17:06:34
@_discord_633967275090771971:t2bot.ioshinyzenith Can confirm once I'm on my pc 17:06:39
@_discord_633967275090771971:t2bot.ioshinyzenith You can write custom tilers for river too 17:06:49
@_discord_633967275090771971:t2bot.ioshinyzenith To get sway like behavior 17:07:03
@_discord_633967275090771971:t2bot.ioshinyzenith I guess that does already exist too 17:07:10
19 Dec 2023
@_discord_1148317595552993430:t2bot.iokolunmi 03:06:47
@_discord_886588197562363944:t2bot.ioPerigord changed their display name from Kenough to Perigord.12:10:08
@_discord_362039402047733760:t2bot.io.eater. joined the room.15:05:09
@_discord_362039402047733760:t2bot.io.eater. 15:06:46
@_discord_801240007511507024:t2bot.iofishyfishfish 16:37:00
@_discord_801240007511507024:t2bot.iofishyfishfish 16:38:54
20 Dec 2023
@_discord_837172604291907645:t2bot.iochiyu_desu joined the room.01:00:36
@_discord_837172604291907645:t2bot.iochiyu_desu 01:14:27
@chiyu_desu:matrix.org@chiyu_desu:matrix.org joined the room.06:35:01
@_discord_297656178358616064:t2bot.ioAngelofdollars andreasbackx which syntax do you prefer?
A:
add = fun(a, b)
  return a + b
end

B:
add = |a, b|
  return a + b
end
08:18:42
@_discord_244233599849725963:t2bot.ioandreasbackx Neither really but if I was forced to choose, then be. Though why not use Python or another language and have bindings/a library? 10:33:06
@_discord_244233599849725963:t2bot.ioandreasbackx * Neither really but if I was forced to choose, then B. Though why not use Python or another language and have bindings/a library? 10:33:15
@_discord_297656178358616064:t2bot.ioAngelofdollars https://discord.com/channels/925817758334201937/1172148384807784539/1184352633599832074 10:33:31
@_discord_297656178358616064:t2bot.ioAngelofdollars But for reference, this is how the current syntax looks like:
# Return the nth Fibonacci number that corresponds to 'count'
fibonacci = fun(count)
    first = 1
    second = 0
    i = 0
    while i < count do
        tmp = second
        second = first
        first = tmp + first
        i = i + 1
    end
    return second
end

# Return 'num' raised to the 'power'
pow = fun(num, power)
    acc = 1
    i = 0
    while i < power do
        acc = acc * num
        i = i + 1
    end
    return acc
end

print(pow(25, 2)) # 625
print(pow(2, 10)) # 1024

i = 0
while i < 10 do
    print(fibonacci(i))
    i = i + 1
end
10:34:19
@_discord_297656178358616064:t2bot.ioAngelofdollars Does it look readable to you? 10:34:31

Show newer messages


Back to Room ListRoom Version: 9