m5l.eu is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Site description
Yet another single-user instance
Admin account
@marek@m5l.eu

Search results for tag #lua

[?]Eugene :freebsd: :emacslogo: Β» 🌐
@evgandr@mastodon.bsd.cafe

The Awesome WM is awesome :drgn_aww:

Often, it is described as "tiling WM for beginners". But inside it is powerful enough β€” it uses Lua scripting language inside it's configuration file. In the same manner, like StumpWM uses Common Lisp inside it's configuration file. So almost everything, almost any action, could be programmed with Lua.

Looks like Lua is simple enough β€” with the help of language manual I recreated my StumpWM configuration in one evening. And much more:

- Main (task) bar on the left.
- Widgets with menus: "wifi widget" with menu to call wpa_gui or call dhclient for some interfaces. And the battery widget with menu to setup the charging threshold.
- SVG icons (from Haiku) almost everywhere β€” in menus, in main bar, etc.

Clear desktop with wallpaper (Adine from "Angels with scaly wings") and the main panel on the left.

On the panel, from top to bottom:
1) Iconified list of workspaces. Red kettle for workspace with Emacs, XTerm, etc. Globe for workspace with Librewolf or Dillo. Video tape icon for workspace with Librewolf's "Picture in Picture" window and for mpv windows.. And the desk icon for VNC client.
2) Vertical list of opened windows on the current workspace.
3) State of "wlan0" interface β€” the SSID of current WiFi network. It has the yellow background and the icon of the radio tower on the left.
4) Battery state β€” the battery percentage. It has the purple background and the icon of the battery on the left.
5) The current week day and the date. The calendar opens by click in this area.
6) The current time.

Alt...Clear desktop with wallpaper (Adine from "Angels with scaly wings") and the main panel on the left. On the panel, from top to bottom: 1) Iconified list of workspaces. Red kettle for workspace with Emacs, XTerm, etc. Globe for workspace with Librewolf or Dillo. Video tape icon for workspace with Librewolf's "Picture in Picture" window and for mpv windows.. And the desk icon for VNC client. 2) Vertical list of opened windows on the current workspace. 3) State of "wlan0" interface β€” the SSID of current WiFi network. It has the yellow background and the icon of the radio tower on the left. 4) Battery state β€” the battery percentage. It has the purple background and the icon of the battery on the left. 5) The current week day and the date. The calendar opens by click in this area. 6) The current time.

The Emacs window opened in the Awesome WM. The main bar are on the left.

Alt...The Emacs window opened in the Awesome WM. The main bar are on the left.

The Emacs window in the Awesome WM. On the left bar, the battery and WiFi widget were clicked, so they display the extended information.

The WiFi widget displays not only the SSID, but also the used frequency and SNR (in dB). The battery widget displays the state of battery and used power (currently it is zero because battery neither charging, not discharging).

The battery widget has the "right-click" menu opened. There are two items in this menu: to set charging threshold to the 80% and to the 100%.

Alt...The Emacs window in the Awesome WM. On the left bar, the battery and WiFi widget were clicked, so they display the extended information. The WiFi widget displays not only the SSID, but also the used frequency and SNR (in dB). The battery widget displays the state of battery and used power (currently it is zero because battery neither charging, not discharging). The battery widget has the "right-click" menu opened. There are two items in this menu: to set charging threshold to the 80% and to the 100%.

    AodeRelay boosted

    [?]Zef Hemel Β» 🌐
    @zef@hachyderm.io

    is becoming more and more of a fully featured programming platform.

    It already had its own programming language (Space ) for a while. Infrastructure wise there is a data store (with query language), event bus, message queue and I’m currently designing a service discovery and invocation system, as well as a package manager.

    Things have escalated slightly from β€œhey, let’s build a little notes app.”

      0 ★ 1 ↺

      [?]Marek S. Ł. Β» 🌐
      @marek@m5l.eu

      It's been only four weeks and I really love using mise-en-place by @jdx@fosstodon.org So far I've used it for (chronologically):

      - switching between versions, I liked it more than the dedicated anyzig
      - venv activation – it's silly but feels so good, and collaborates with uv
      - ensuring I have the right language server and formatter for a project, be it , , and trying out various options for Python
      - setting LANG="C.UTF-8" only in the specific project folder because refused to work with Polish...

      The final boss was getting a really comfortable Tree-sitter setup: get the CLI, write grammar in , re-generate and run tests on source change as a mise Task. And then I only cloned the repo on another machine and was ready to go!

      This post was written as a more cultured outlet for my excitement instead of aggresively committing mise.toml into every repository I touch

        1 ★ 1 ↺
        SilverBullet boosted

        [?]Marek S. Ł. Β» 🌐
        @marek@m5l.eu

        Today I was playing with in @silverbulletmd@fosstodon.org, and while upstreaming a fix for a dependency, I landed PR number 1 there.

        This is what promises to be, and it does feel nice to actually do it.