home.social

#swiftly — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #swiftly, aggregated by home.social.

fetched live
  1. Swift Toolchain Manager

    I recently ordered a Raspberry Pi 5 with 16GB of RAM to develop my universal remote control on the target platform. Developing directly on the Raspberry Pi has the advantage that I can debug on it while accessing some hardware attached to GPIO pins.

    I chose an architecture where different services that run on the Raspberry Pi are communicating asynchronously using MQTT. I have two services that I develop using Swift, and another one I develop using Python.

    Swift is also available for Linux and for the Raspberry Pi. After some research, I found the Swiftly toolchain manager. Using this small utility, it is possible to manage several Swift versions and switch between them. It doesn't support Raspberry Pi OS directly but Ubuntu. Since Ubuntu 22.04 and Raspberry Pi OS are both based on Debian Bookworm, I was able to install it. Everything is running smoothly, and with some VSCode extensions, I can also debug the Swift code.

    #swift #swiftlang #swiftly #swiftlytoolchainmanager #linux #raspberrypi #raspberrypios

  2. U.S. must raise debt limit by as early as June 1 to avoid default, Treasury says

    The U.S. government could default “as early as June 1” unless Congress raises or suspends the #debt #ceiling, according to the #Treasury #Department, which implored lawmakers again on Monday to #act #swiftly to avert a fiscal crisis.

    The new estimate followed less than a week after House Republicans delivered on their pledge to try to leverage the looming deadline to secure spending cuts, defying President Biden and officially touching off a political #stalemate that could tip the fragile economy into another #recession.

    washingtonpost.com/business/20