I blog about #technology #gadgets #opensource #FOSS #greentech #traditionalwetshaving #LCHF #health #alternativeto #hamradio (ZS1OSS) #southafrica - see https://gadgeteer.co.za/blog. I also blog to various other social networks which I list at https://gadgeteer.co.za/social-networks-i-post-to.

  • 3 posts
  • 2 comments
Joined 4 years ago
Cake day: September 26th, 2022
  • The AI companies are apparently inundated with flags of all sorts of behaviour from criminal to oddly sexual etc prompts from 160+ countries around the world. I don’t think their terms of service guarantee anything around safety specifically. My point really though was, whilst these companies should put the guardrails in place, the primary blame still sits with the human who made the decision to act illegally. We should not be turning away from the actual actor. Humans are also using devious ways to get around the guardrails (like Tesla drivers who do hacks to bypass safeguards for autopilot), and these are deliberate actions.

  • Can’t remove or deflect blame from the actual perpetrator. AI is often used for good. My wife used it to learn how to start a business and the accounting system. AI is like a car, a public road, a kitchen knife, a gun, etc - it can be used for many purposes, but it is who uses it for what, which differs. Same goes for AI hacking other companies. The blame sits squarely with that AI’s owner who still had it connected to the Internet. AI is like a toddler, it is not intelligent, or even close to superintelligent, it is artificial.

Atuin replaces your existing shell history with a SQLite database, and records additional context for your commands. With this context, Atuin gives you faster and better search of your shell history!

Additionally, it provides optional and fully encrypted (E2EE) synchronisation of your history between machines, via an Atuin server, or you can self-host your own server. There is a single command to easily delete your data from the server too.

It supports zsh, bash, fish, and nushell shells right now.

The search is as easy as pressing the up arrow in the terminal and then scrolling back, or typing to search. But you could also type something like this to do a search [search for all successful make commands, recorded after 3pm yesterday atuin search --exit 0 --after “yesterday 3pm” make].

Atuin offers configurable full text or fuzzy search, filterable by host, directory, etc. As it has context around dates, times, exit code, and even the directory location form where a command was executed, you could use the -c flag to just search for commands run in a particular directory.

The sync function allows you to have the same history across terminals, across sessions, and across machines.

There is a quick start script that can be run to install it, otherwise you can also install from the various Linux repos. For manual installation, the steps I found to get going were:

  • Install Ble.sh and add it to your .bashrc (or other shell) file
  • Install Atuin and add it to your .bashrc (or other shell) file (after Ble.sh)
  • Restart your shell and run ‘atuin import bash’ to import my bash history into Atuin
  • Press up arrow to see if Atuin interactive search triggers

The link below has some good documentation as well a link to their source code.

See https://atuin.sh/

#technology #Linux #opensource

Value your health by keeping track on your training. It records as you go running or walking, and gives you a bike computer with a bigger screen for cycling. You can even mark interesting locations along your way with pictures. The app keeps recorded statistics in great detail for analysis.

It also has voice announcements, and supports Bluetooth LE sensors for heart rate (Polar, Wahoo Kicker/Ticker, moofit, Mi Band 3, Amazfit Neo, Garmin HRM, and more), speed and distance (running and cycling), cadence (cycling), and a power meter (cycling). It measures altitude gain/loss via the phone’s barometer sensor. You can export data without any restrictions, as tracks either as KMZ (incl. photos), KML, or GPX.

It requires no Internet access, or extra permissions, and there are no adverts nor in-app analytics. You share only the data you want others to have. It can be installed from the Google Play Store, but also from the F-Droid store, with all Google services excluded.

It is not aiming to be a direct competitor to Strava because there is no public website, and also no iOS app. Strava’s website does help create more of a social and peer pressure type motivation for many, across both Android and iOS users. But OpenTrack is focussing more on preserving privacy by not using such a service, although one can import the recording into other apps and share from there. Regarding iOS, well the app is fully open source, so maybe someone could consider compiling it for iOS if the dependencies are not an issue.

See https://opentracksapp.com/

#technology #fitnesstracker #health #OpenTracks #opensource

When you’re on the hunt for a new USB power adaptor, you may come across a few options with gallium nitride (GaN) technology. These charging bricks tend to be a bit expensive. But due to their reduced size and increased charging ability, a GaN charger may be your ideal purchase. It could even help you save money in the long run.

Most USB chargers use silicon semiconductors. Gallium nitride (GaN) is simply a power-efficient alternative to silicon. It allows a charger to achieve small size without a reduction in charging speed or thermal performance. A GaN charger is ideal for travelling or powering several high-wattage devices, such as laptops.

With more and more laptops charging through USB-C, and more phones making use of ultra-fast charging, you’ll start to notice that the silicon based chargers can get really hot during charging these devices.

Instead of buying a large silicon-based charger that only has two ports (with a shared throughput), you can buy a GaN charger with four, five, or even six high-speed charging ports.

#technology #chargers #GaN