Discussion
Loading...

#Tag

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Mark Gardner
@mjg@mastodon.phoenixtrap.com  ·  activity timestamp 2 months ago

TIL that software (especially #scripting runtimes like #Python, #Perl, and #NodeJS) running in #Alpine#Linux containers is often slower than in other distros like #Ubuntu. This is despite Alpine being faster on startup and often vastly more efficient with CPU, memory, and storage.

It mostly comes down to Alpine’s use of musl libc rather than #GNU’s glibc. musl is optimized for minimalism, not raw performance. Also, the Alpine packages are often not compiled with as many optimizations.

  • Copy link
  • Flag this post
  • Block
Alfonso Siciliano
@alfonsosiciliano@mastodon.bsd.cafe  ·  activity timestamp 4 months ago

Weekend goal: a #Lua chunk (script) to help sighted users review #Braille. It's a great way to understand how visually impaired users interact with a computer using a screen reader and a Braille display. The script is simple and easy to configure. Currently, it offers a learning mode; in the future, a challenge mode will be added, along with a blog post explaining how to set it up.

Link: https://gitlab.com/-/snippets/4858299

On #FreeBSD it should be executable via flua:
% flua learnbraille.lua

after installing liblouis:
# pkg install liblouis

[edit] % /usr/libexec/flua learnbraille.lua

#UNIX #script #scripting #accessibility #inclusion

Terminal screenshot of a Lua script called learnbraille.lua running on FreeBSD. The script is titled "LearnBraille 0.0.1" and uses a Braille conversion table. It quizzes the user with Braille character patterns and expects input of the corresponding character. The session shows a sequence of questions with user responses and feedback indicating whether the answer was correct or not. The script is launched using the command lua54 learnbraille.lua.
Terminal screenshot of a Lua script called learnbraille.lua running on FreeBSD. The script is titled "LearnBraille 0.0.1" and uses a Braille conversion table. It quizzes the user with Braille character patterns and expects input of the corresponding character. The session shows a sequence of questions with user responses and feedback indicating whether the answer was correct or not. The script is launched using the command lua54 learnbraille.lua.
Terminal screenshot of a Lua script called learnbraille.lua running on FreeBSD. The script is titled "LearnBraille 0.0.1" and uses a Braille conversion table. It quizzes the user with Braille character patterns and expects input of the corresponding character. The session shows a sequence of questions with user responses and feedback indicating whether the answer was correct or not. The script is launched using the command lua54 learnbraille.lua.
  • Copy link
  • Flag this post
  • Block
Eva Winterschön
@winterschon@mastodon.bsd.cafe  ·  activity timestamp 6 months ago

💡 Idea for a debugging script 💡

This might already exist for FreeBSD, and if so.. let me know!

- 1) keeps record of OS core/default settings: loader.conf, rc.conf, sysctl.conf, devfs.rules, login.conf etc
- 2) keeps record of file checksum on those OS core files (similar to the app, tripwire)
- 3) mode which shows divergence on current state vs known-default state in configs (1) and checksums (2)
-4) mode which tracks the files and their change-sets over time, similar to a zfs snapshot but at a single file-level

#freebsd #scripting #programming

  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.1 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login